Tizen 2.1 release
[platform/core/uifw/e17.git] / data / themes / default.edc
1 // TODO:
2 //   Formatting review.
3 //   Formatting Process: 1. http://tools.arantius.com/tabifier in C mode
4 //                       2. sed 's/\t/   /g' default.edc > formatted.edc
5 //                       3. Fix up defines, script{}, comments and other nicknacks.
6 //                       4. Replace ":    " with ": " and "//      " with "// " and so on.
7 //
8 //   Icons:
9 //      EFM - All popup icons ... eg, paste copy delete properties
10 //      Icons for Menus modules
11 //      Icon for Edge Bindings
12 //      Icon for Modes?
13 //      Replace all (well, most) instances of icon_dummy.png
14 //
15 /*
16  * So how do themes work?
17  *
18  * Themes DECLARE objects (groups of parts) inside a 'collections' section.
19  * Each of these groups are an element of a theme - much like an image in a
20  * web page with <img src=blah.jpg>, but MUCH more powerful. They can scale
21  * without just being stretched or tiled, they can react to all sorts of events
22  * from the user (mouse for example) or other logical events (like being shown
23  * or hidden, etc.) or synthetic signals from enlightenment itself indicating
24  * some new state.
25  *
26  * Each group is split into a parts section that contains all the elements
27  * that make up that group, and how they are laid out. Each part can have
28  * multiple states - described in description sections. There must always be
29  * at least a default description of value 0.0. After this there may possibly
30  * be a programs section. This defines behavior and how the group will react
31  * to events/signals.
32  *
33  * A theme is simply made up of a LOT of these. If a group is not provided in
34  * the theme you are using, it will fall back to the default theme to get the
35  * element. It is assumed the default theme is 100% complete and provides
36  * everything E needs. If this is not the case, there will be problems, so
37  * replace the default theme with great care. As long as the theme you make is
38  * just a normal "overlay" (and falls back to the default where things are
39  * missing) Things will be fairly safe. If you want to make a full default
40  * replacement you will need to methodically go through all of this file
41  * and make sure you have replaced/provided everything here.
42  */
43
44 /* Spectrum used in all the gradient icons
45  * This needs to be defined outside of the collections
46  *
47  * FIXME: this is bad. namespacing! FIXME!
48  */
49 #if 0
50 spectra {
51    spectrum {
52       name: "black_to_trans";
53       color: 0 0 0 255 1;
54       color: 0 0 0 0 1;
55    }
56 }
57 #endif
58 /* color classes are used to control the colors of text and also apply
59  * tints to images. These can be controlled with the colors dialog. Below
60  * are the standard color_class names that the module looks for in a
61  * theme. Consider color classes as a style that can be applied to many
62  * different items without tinkering with the theme.
63  *
64  * color: Font color     (Defaults to black)
65  * color2: Outline color  (Defaults to transparent)
66  * color3: Shadow color   (Defaults to transparent)
67  *
68  */
69
70 color_classes {
71    color_class {
72       name: "border_top";
73       color: 255 255 255 255;
74    }
75    color_class {
76       name: "border_top_hilight";
77       color: 255 255 255 255;
78    }
79    color_class {
80       name: "border_bottom";
81       color: 255 255 255 255;
82    }
83    color_class {
84       name: "border_title";
85       color: 0 0 0 255;
86    }
87    color_class {
88       name: "border_title_active";
89       color: 224 224 224 255;
90       color3: 0 0 0 64;
91    }
92    color_class {
93       name: "menu_base";
94       color: 255 255 255 255;
95    }
96    color_class {
97       name: "menu_title";
98       color: 224 224 224 255;
99       color3: 0 0 0 64;
100    }
101    color_class {
102       name: "menu_title_active";
103       color: 224 224 224 255;
104       color3: 0 0 0 64;
105    }
106    color_class {
107       name: "menu_item";
108       color: 0 0 0 255;
109       color3: 0 0 0 0;
110    }
111    color_class {
112       name: "menu_item_active";
113       color: 255 255 255 255;
114       color3: 0 0 0 64;
115    }
116    color_class {
117       name: "menu_item_disabled";
118       color: 110 110 110 255;
119       color3: 0 0 0 0;
120    }
121    color_class {
122       name: "shelf_base";
123       color: 255 255 255 255;
124    }
125    color_class {
126       name: "scrollframe_base";
127       color: 255 255 255 255;
128    }
129    // this seems totaly bogus, should be per module or really used as
130    // a unique color for all modules!
131    //    color_class {
132    //       name: "module_label";
133    //       color: 0 0 0 0;
134    //    }
135    color_class {
136       name: "winlist_label";
137       color: 0 0 0 255;
138    }
139    color_class {
140       name: "winlist_item";
141       color: 0 0 0 255;
142       color3: 0 0 0 0;
143    }
144    color_class {
145       name: "winlist_item_active";
146       color: 224 224 224 255;
147       color3: 0 0 0 64;
148    }
149    color_class {
150       name: "button_text";
151       color: 224 224 224 255;
152       color3: 0 0 0 64;
153    }
154    color_class {
155       name: "button_text_disabled";
156       color: 0 0 0 128;
157       color3: 0 0 0 0;
158    }
159    color_class {
160       name: "fileman_base";
161       color: 255 255 255 255;
162    }
163    color_class {
164       name: "ilist_item_base";
165       color: 255 255 255 255;
166    }
167    color_class {
168       name: "ilist_item_odd_base";
169       color: 255 255 255 255;
170    }
171    color_class {
172       name: "ilist_item_header_base";
173       color: 255 255 255 255;
174    }
175    color_class {
176       name: "ilist_item_header_odd_base";
177       color: 255 255 255 255;
178    }
179    color_class {
180       name: "ilist_item";
181       color: 0 0 0 255;
182       color3: 0 0 0 0;
183    }
184    color_class {
185       name: "ilist_item_odd";
186       color: 0 0 0 255;
187       color3: 0 0 0 0;
188    }
189    color_class {
190       name: "ilist_item_selected";
191       color: 255 255 255 255;
192       color3: 0 0 0 64;
193    }
194    color_class {
195       name: "ilist_item_header";
196       color: 224 224 224 255;
197       color3: 0 0 0 32;
198    }
199    color_class {
200       name: "ilist_item_header_odd";
201       color: 224 224 224 255;
202       color3: 0 0 0 32;
203    }
204    color_class {
205       name: "dialog_base";
206       color: 255 255 255 255;
207    }
208    color_class {
209       name: "move_text";
210       color: 0 0 0 255;
211    }
212    color_class {
213       name: "resize_text";
214       color: 0 0 0 255;
215    }
216    color_class {
217       name: "check_text";
218       color: 0 0 0 255;
219    }
220    color_class {
221       name: "check_text_disabled";
222       color: 0 0 0 128;
223    }
224    color_class {
225       name: "radio_text";
226       color: 0 0 0 255;
227    }
228    color_class {
229       name: "radio_text_disabled";
230       color: 0 0 0 128;
231    }
232    color_class {
233       name: "entry_text";
234       color: 0 0 0 255;
235    }
236    color_class {
237       name: "entry_text_disabled";
238       color: 128 128 128 255;
239    }
240    color_class {
241       name: "slider_text";
242       color: 0 0 0 255;
243    }
244    color_class {
245       name: "slider_text_disabled";
246       color: 0 0 0 128;
247    }
248    color_class {
249       name: "frame_base";
250       color: 255 255 255 255;
251    }
252    color_class {
253       name: "label_text";
254       color: 0 0 0 255;
255    }
256    color_class {
257       name: "label_text_disabled";
258       color: 0 0 0 128;
259    }
260    color_class {
261       name: "comp_focus-out_color";
262       color: 255 255 255 220;
263    }
264    color_class {
265       name: "tasks_text";
266       color: 0 0 0 255;
267       color3: 0 0 0 0;
268    }
269    color_class {
270       name: "tasks_text_focused";
271       color: 224 224 224 255;
272       color3: 0 0 0 64;
273    }
274 }
275
276 /*
277  * this section defines all the theme elements (a collection of groupings of
278  * parts (images, text, rects etc.))
279  */
280
281 data.item: "gtk-theme" "B_and_W";
282 collections {
283 /* begin the collection of edje groups that are in this file */
284
285 /////////////////////////////////////////////////////////////////////////////
286 /*** DEFAULT WALLPAPER ***/
287    group {
288       name: "e/desktop/background";
289       /* the name of the group */
290       /* this section defines that images are to be included and how to
291        * encode them */
292       images {
293          image: "bg_radgrad.png" COMP;
294          image: "bg_pattern.png" COMP;
295       }
296       /* this section actually contains the list of parts from bottom to top
297        * (defining the layering/stacking order) */
298       parts {
299          part { name: "bg";
300             mouse_events: 0;
301             /* this is the base background */
302             description { state: "default" 0.0;
303                image {
304                   normal: "bg_radgrad.png";
305                   scale_hint: STATIC;
306                }
307                fill.smooth: 0;
308                aspect: (1024/653) (1024/653);
309                aspect_preference: NONE;
310             }
311          }
312          part { name: "pat";
313             mouse_events: 0;
314             /* this is the base background */
315             description { state: "default" 0.0;
316                image.normal: "bg_pattern.png";
317                fill.size.relative: 0.0 0.0;
318                fill.size.offset: 256 256;
319             }
320          }
321       }
322    }
323
324 /////////////////////////////////////////////////////////////////////////////
325 /*** DEFAULT WINDOW BORDER ***/
326    group {
327       name: "e/widgets/border/default/border";
328       /* more images - for the border specifically. remember each images {}
329        * section fills a global images namespace, so if you re-use an image
330        * between sections, only 1 copy is kept, so names here are unique. if
331        * different image {} sections specify the same image but use different
332        * compression specifications, the compression scheme is undefined and
333        * may use any one of the schemes requested, so make sure you use the
334        * same compression scheme */
335       images {
336          image: "bd_top.png" COMP;
337          image: "bd_top_hilight.png" COMP;
338          image: "bd_bottom.png" COMP;
339          image: "bd_title_bg.png" COMP;
340          image: "bd_title_over.png" COMP;
341          image: "bd_resize_b.png" COMP;
342          image: "busy-1.png" COMP;
343          image: "busy-2.png" COMP;
344          image: "busy-3.png" COMP;
345          image: "busy-4.png" COMP;
346          image: "busy-5.png" COMP;
347          image: "busy-6.png" COMP;
348          image: "busy-7.png" COMP;
349          image: "busy-8.png" COMP;
350          image: "busy-9.png" COMP;
351          image: "exclam.png" COMP;
352          image: "bd_button_close_shadow.png" COMP;
353          image: "bd_button_close_focused.png" COMP;
354          image: "bd_button_close_unfocused.png" COMP;
355          image: "bd_button_max_shadow.png" COMP;
356          image: "bd_button_max_focused.png" COMP;
357          image: "bd_button_max_unfocused.png" COMP;
358          image: "bd_button_min_shadow.png" COMP;
359          image: "bd_button_min_focused.png" COMP;
360          image: "bd_button_min_unfocused.png" COMP;
361       }
362       /* this would tell E that the border is not a solid rectanle, but is
363        * shaped (has transparent sections) and so would follow a different
364        * code path for such borders. the default is not shaped, so this is
365        * not enabled here, but left commented out for illustration purposes */
366       //      data.item: "shaped" "1";
367       parts {
368          part {
369             name: "top";
370             mouse_events: 0;
371             /* accept no mouse events here */
372             description {
373                state: "default" 0.0;
374                rel1 {
375                   /* this defines the top-left (rel1) point of the part
376                    * and where it is placed. the below values are
377                    * actually the default values, so there is no need
378                    * to actually declare them. */
379                   relative: 0.0 0.0;
380                   /* make this point relative to the top
381                    * left of the whole eje object (there
382                    * is no to: section so it's the whole
383                    * object). note that the point is
384                    * calculated as:
385                    *   p.x = obj.width * relative.x
386                    *   p.y = obj.height * relative.y
387                    * (as the to item is the whole object)
388                    */
389                   offset: 0 0;
390                   /* and from the relative point, have an offset
391                    * of 0 pixels - i.e. - none */
392                }
393                rel2 {
394                   relative: 1.0 1.0;
395                   /* the bottom-right is relative to the
396                    * base of the title - this way the
397                    * title region will scale based on font
398                    * size */
399                   offset: -1 -1;
400                   /* relative to the bottom right */
401                   to_y: "title_base";
402                   /* only y is relative to title_base. the
403                    * rest is relative to the whole object
404                    * (because its not specified) */
405                }
406                color_class: "border_top";
407                image {
408                   /* define the image to use */
409                   normal: "bd_top.png";
410                   /* the image */
411                   border: 2 2 2 2;
412                   /* border scaling attributes. this is the
413                    * number of pixels NOT to scale on the
414                    * left, right, top and bottom edges of the
415                    * image. this allows "bevelled" effects
416                    * or anything similar to look correct and
417                    * not scale/blur etc. along with the image
418                    * when it needs resizing */
419                }
420             }
421          }
422          part {
423             name: "bottom";
424             /* this is the bottom of the window */
425             mouse_events: 0;
426             description {
427                state: "default" 0.0;
428                rel1 {
429                   relative: 0.0 1.0;
430                   /* relative to the bottom-left of the edje
431                    * but 4 pixels up */
432                   offset: 0 -4;
433                }
434                rel2 {
435                   relative: 1.0 1.0;
436                   offset: -1 -1;
437                }
438                color_class: "border_bottom";
439                image {
440                   normal: "bd_bottom.png";
441                   border: 2 2 0 0;
442                   /* the left and right pixels are not to
443                    * be scaled when stretching */
444                }
445             }
446             description {
447                state: "shaded" 0.0;
448                /* when in a shaded state then
449                 * don't display this part */
450                inherit: "default" 0.0;
451                visible: 0;
452             }
453             description {
454                state: "max" 0.0;
455                /* whem maximised too */
456                inherit: "default" 0.0;
457                visible: 0;
458             }
459          }
460          part {
461             name: "icon_area";
462             /* this is an invisible rectangle that we
463              * use to place icons within. we use this
464              * to keep it fixed as the "icone area" so
465              * the actual swallow part that swallows
466              * the icon can be moved/resized for
467              * animations */
468             type: RECT;
469             description {
470                state: "default" 0.0;
471                visible: 0;
472                align: 0.0 0.5;
473                /* alignt to the left, but center vertically */
474                aspect: 1.0 1.0;
475                /* prefer ans aspect of 1.0 (ie width / height
476                 * is 1.0 - i.e. - square. aspect here is
477                 * min and max aspect that will be "allowed"
478                 * (since both min and max are 1.0 respectively
479                 * in order). */
480                aspect_preference: VERTICAL;
481                /* this means that the vertical
482                 * axis controls aspect and the
483                 * icon_area part size will be
484                 * governed by the height of the
485                 * part (the width simply following
486                 * along behind) */
487                rel1 {
488                   /* rel1 - top-left corner of this part */
489                   relative: 0.0 0.0;
490                   offset: 2 2;
491                   /* 2 pixels in from the top-left of the border
492                    * corner */
493                }
494                rel2 {
495                   relative: 0.0 1.0;
496                   /* bottom-right of this part is also 2
497                    * pixels in from the left (but align will
498                    * mean it goes to the right) and be 2
499                    * pixels in from the bottom edge of
500                    * "title_base" (remember rel2 is the
501                    * pixel immediately OUTSIDE the part.
502                    * i.e. x + width & y + height). */
503                   offset: 2 -3;
504                   to_y: "title_base";
505                }
506             }
507             description {
508                state: "active" 0.0;
509                /* and an active state */
510                inherit: "default" 0.0;
511                rel1 {
512                   offset: 2 3;
513                   /* 1 pixel down from default so it looks like it
514                    * is pressed down a bit */
515                }
516                rel2 {
517                   offset: 2 -2;
518                   /* same here - down 1 pixel from "default" */
519                }
520             }
521          }
522          part {
523             name: "icon_area2";
524             /* this area is another invisible rect
525              * that is used for shuffling around parts
526              * that are relative to it. the states
527              * below are just a few "random" offsets
528              * to make it look like whatever is
529              * relative to icon_area2 is "jiggling"
530              * around */
531             type: RECT;
532             description {
533                state: "default" 0.0;
534                visible: 0;
535                rel1.to: "icon_area";
536                rel2.to: "icon_area";
537             }
538             description {
539                state: "uw0" 0.0;
540                /* jiggle */
541                inherit: "default" 0.0;
542                rel1.offset: -3 -2;
543                rel2.offset: -4 -3;
544             }
545             description {
546                state: "uw1" 0.0;
547                /* jiggle some more */
548                inherit: "default" 0.0;
549                rel1.offset: 5 -2;
550                rel2.offset: 4 -3;
551             }
552             description {
553                state: "uw2" 0.0;
554                /* look at me - jiggling! */
555                inherit: "default" 0.0;
556                rel1.offset: -1 4;
557                rel2.offset: -2 3;
558             }
559             description {
560                state: "uw3" 0.0;
561                /* jiggling about */
562                inherit: "default" 0.0;
563                rel1.offset: -2 -1;
564                rel2.offset: -3 -2;
565             }
566             description {
567                state: "uw4" 0.0;
568                /* one more jiggle for the dummies */
569                inherit: "default" 0.0;
570                rel1.offset: -4 1;
571                rel2.offset: -5 0;
572             }
573          }
574          part {
575             name: "busy";
576             /* this is an animation to spin a wheel when the app
577              * seems too busy to respond to pings */
578             mouse_events: 0;
579             description {
580                state: "default" 0.0;
581                visible: 0;
582                /* nomrally the busy part is not visible */
583                color: 255 255 255 0;
584                /* and its alpha is 0 - se will fade it
585                 * inm later so alpha to 0 (but 255 255
586                 * 255 for white so we dont also go from
587                 * dark to white while fading) */
588                max: 32 32;
589                /* no bigger than 32x32 - but allow it to be
590                 * smaller if needed */
591                aspect: 1.0 1.0;
592                /* square aspect */
593                aspect_preference: BOTH;
594                /* both axes determine aspect. that
595                 * means that the icon area may
596                 * be 100x50, but the aspect is 1.0
597                 * so therefore it will be 50x50 as the
598                 * max size. if the area is 50x100 it
599                 * will still be 50x50 as it must fit
600                 * WITHIN the bounds of BOTH axes */
601                rel1.to: "icon_area";
602                rel2.to: "icon_area";
603                image {
604                   tween: "busy-1.png";
605                   tween: "busy-2.png";
606                   tween: "busy-3.png";
607                   tween: "busy-4.png";
608                   tween: "busy-5.png";
609                   tween: "busy-6.png";
610                   tween: "busy-7.png";
611                   tween: "busy-8.png";
612                   normal: "busy-9.png";
613                   /* and we use image tweening. that
614                    * means that we flip through a series
615                    * of images when moving TO this state
616                    * over the transition time. it's like
617                    * specifying multiple frames of an
618                    * animatin sequence. the "final"
619                    * state is "normal". the images
620                    * between are the "tween" images
621                    * listed in order working towards
622                    * the "normal" image */
623                }
624             }
625             description {
626                state: "visible" 0.0;
627                /* the visible state - inherit the
628                 * default one as its all the same, but
629                 * its visible and faded in */
630                inherit: "default" 0.0;
631                visible: 1;
632                color: 255 255 255 255;
633             }
634          }
635          part {
636             name: "e.swallow.icon";
637             /* finally a swallow part - this is
638              * just a placeholder to SWALLOW
639              * other external evas objects into
640              * this region and edje will control
641              * any object swallowed as if it were
642              * this part itself (move, resize,
643              * etc.) */
644             type: SWALLOW;
645             description {
646                state: "default" 0.0;
647                aspect: 1.0 1.0;
648                aspect_preference: BOTH;
649                rel1.to: "icon_area2";
650                rel2.to: "icon_area2";
651             }
652             description {
653                state: "shrunk" 0.0;
654                inherit: "default" 0.0;
655                rel1.relative: 0.3 0.3;
656                rel2.relative: 0.7 0.7;
657             }
658          }
659          part {
660             name: "urgent";
661             /* this is the urgnt part it is normally not
662              * visible, but when the window is in an
663              * urgent state (the app has set the urgency
664              * hint) then we go to the visible state */
665             mouse_events: 0;
666             description {
667                state: "default" 0.0;
668                visible: 0;
669                color: 255 255 255 0;
670                aspect: 1.0 1.0;
671                aspect_preference: BOTH;
672                rel1.to: "icon_area";
673                rel2.to: "icon_area";
674                image.normal: "exclam.png";
675             }
676             description {
677                state: "visible" 0.0;
678                /* and in the visible state put the
679                 * exlamation image on top of the icon */
680                inherit: "default" 0.0;
681                visible: 1;
682                color: 255 255 255 255;
683             }
684          }
685          part {
686             name: "urgent2";
687             /* this is another urgent element. it is actually
688              * zoomed out to be larger and faded out at the
689              * same time to give a "pulsating" look to the
690              * exclamation mark to bring attention to it */
691             mouse_events: 0;
692             description {
693                state: "default" 0.0;
694                visible: 0;
695                color: 255 255 255 0;
696                aspect: 1.0 1.0;
697                aspect_preference: BOTH;
698                rel1.to: "icon_area";
699                rel2.to: "icon_area";
700                image.normal: "exclam.png";
701             }
702             description {
703                state: "visible" 0.0;
704                inherit: "default" 0.0;
705                visible: 1;
706                color: 255 255 255 255;
707             }
708             description {
709                state: "faded" 0.0;
710                inherit: "default" 0.0;
711                rel1.relative: -1.0 -1.0;
712                rel2.relative: 2.0 2.0;
713                visible: 1;
714                color: 255 255 255 0;
715             }
716          }
717          part {
718             name: "e.text.title";
719             /* this is a text part - the black
720              * text on the white title top image */
721             type: TEXT;
722             mouse_events: 0;
723             scale: 1;
724             /* allow this part to scale by a scale factor (dpi) */
725             description {
726                state: "default" 0.0;
727                visible: 1;
728                align: 0.0 0.0;
729                /* align top and left */
730                rel1 {
731                   relative: 1.0 0.0;
732                   offset: 9 2;
733                   to_x: "icon_area";
734                   /* relative to the right side of the icon
735                    * area but 9 pixels away */
736                }
737                rel2 {
738                   relative: 1.0 0.0;
739                   /* and the bottom right is inset by 8
740                    * pixels from the right of "title_base"
741                    * but as its aligned to the top we can
742                    * keep this at 2 pixels from the top of
743                    * the whole edje object and let alignment
744                    * make it extend downward from that point
745                    * with the text size defining the min size
746                    * vertically below */
747                   offset: -8 2;
748                   to_x: "title_base";
749                }
750                color_class: "border_title";
751                /* give it a color class so people
752                 * can re-color it if they want */
753                text {
754                   font: "Sans:style=Bold";
755                   /* Use the Bold style
756                    * of the Sans font from
757                    * fontconfig */
758                   size: 10;
759                   /* size in pixels - 10 */
760                   min: 0 1;
761                   /* the text will not determine minimum horizontal
762                    * size but WILL determine minimal vertical size
763                    * (thus 0 1 - horiz then vert flags) */
764                   align: 0.0 0.0;
765                   /* align text to top-left of the region
766                    * given */
767                   text_class: "title_bar";
768                   /* text class - so font and size
769                    * can be changed by users */
770                }
771             }
772             description {
773                state: "focused" 0.0;
774                /* when the border is focused
775                 * then make the text fade out
776                 * and vanish */
777                inherit: "default" 0.0;
778                visible: 0;
779                color: 0 0 0 0;
780             }
781          }
782          part {
783             name: "bt_close";
784             /* the close button shadow */
785             mouse_events: 0;
786             description {
787                state: "default" 0.0;
788                align: 1.0 0.5;
789                min: 22 22;
790                /* min and max size are the same, so never
791                 * resize this */
792                max: 22 22;
793                aspect: 1.0 1.0;
794                /* square - always */
795                aspect_preference: VERTICAL;
796                /* the vetical axis controls size
797                 * when applying the aspect ratio
798                 * hint above */
799                rel1 {
800                   relative: 1.0 0.0;
801                   offset: -2 1;
802                   to_x: "top";
803                   to_y: "top";
804                }
805                rel2 {
806                   relative: 1.0 1.0;
807                   offset: -2 -2;
808                   to_x: "top";
809                   to_y: "top";
810                }
811                image.normal: "bd_button_close_shadow.png";
812             }
813          }
814          part {
815             name: "bt_max";
816             /* maximize button shadow */
817             mouse_events: 0;
818             description {
819                state: "default" 0.0;
820                align: 1.0 0.5;
821                min: 22 22;
822                max: 22 22;
823                aspect: 1.0 1.0;
824                aspect_preference: VERTICAL;
825                rel1 {
826                   relative: 0.0 0.0;
827                   offset: -2 1;
828                   to_x: "bt_close";
829                   /* left of the close button */
830                   to_y: "top";
831                }
832                rel2 {
833                   relative: 0.0 1.0;
834                   offset: -2 -2;
835                   to_x: "bt_close";
836                   /* left of the close button */
837                   to_y: "top";
838                }
839                image.normal: "bd_button_max_shadow.png";
840             }
841          }
842          part {
843             name: "bt_min";
844             /* minimize button shadow */
845             mouse_events: 0;
846             description {
847                state: "default" 0.0;
848                align: 1.0 0.5;
849                min: 22 22;
850                max: 22 22;
851                aspect: 1.0 1.0;
852                aspect_preference: VERTICAL;
853                rel1 {
854                   relative: 0.0 0.0;
855                   offset: -2 1;
856                   to_x: "bt_max";
857                   /* left of the maximize button */
858                   to_y: "top";
859                }
860                rel2 {
861                   relative: 0.0 1.0;
862                   offset: -2 -2;
863                   to_x: "bt_max";
864                   /* left of the maximize button */
865                   to_y: "top";
866                }
867                image.normal: "bd_button_min_shadow.png";
868             }
869          }
870          part {
871             name: "top_hilight";
872             /* an overlayed image to give the top of
873              * a border a shiny look - very subtle */
874             mouse_events: 0;
875             description {
876                state: "default" 0.0;
877                rel1 {
878                   relative: 0.0 0.0;
879                   offset: 0 0;
880                   to: "top";
881                }
882                rel2 {
883                   relative: 1.0 0.5;
884                   offset: -1 0;
885                   to: "top";
886                }
887                color_class: "border_top_hilight";
888                image {
889                   normal: "bd_top_hilight.png";
890                }
891                fill.smooth: 0;
892             }
893          }
894          part {
895             name: "buttons_unfoc";
896             /* this is a rect part used to clip &
897              * thus control the visibility of a group
898              * of other parts (the images for the
899              * buttons themselves) with just 1 part
900              * doing the control as it acts as a
901              * master switch for all things clipped
902              * to this part */
903             type: RECT;
904             description {
905                state: "default" 0.0;
906                visible: 1;
907                color: 255 255 255 255;
908                /* visible and solid */
909             }
910             description {
911                state: "focused" 0.0;
912                inherit: "default" 0.0;
913                visible: 0;
914                color: 255 255 255 0;
915                /* invisible and transparent */
916             }
917          }
918          part {
919             name: "bt_close_unfoc";
920             mouse_events: 0;
921             clip_to: "buttons_unfoc";
922             /* clipping (thus visible region and
923              * color + alpah is controlled by the
924              * clip object */
925             description {
926                state: "default" 0.0;
927                rel1.to: "bt_close";
928                rel2.to: "bt_close";
929                image.normal: "bd_button_close_unfocused.png";
930             }
931             description {
932                state: "active" 0.0;
933                inherit: "default" 0.0;
934                rel1.offset: 0 1;
935                rel2.offset: -1 0;
936             }
937          }
938          part {
939             name: "bt_max_unfoc";
940             mouse_events: 0;
941             clip_to: "buttons_unfoc";
942             description {
943                state: "default" 0.0;
944                rel1.to: "bt_max";
945                rel2.to: "bt_max";
946                image.normal: "bd_button_max_unfocused.png";
947             }
948             description {
949                state: "active" 0.0;
950                inherit: "default" 0.0;
951                rel1.offset: 0 1;
952                rel2.offset: -1 0;
953             }
954          }
955          part {
956             name: "bt_min_unfoc";
957             mouse_events: 0;
958             clip_to: "buttons_unfoc";
959             description {
960                state: "default" 0.0;
961                rel1.to: "bt_min";
962                rel2.to: "bt_min";
963                image.normal: "bd_button_min_unfocused.png";
964             }
965             description {
966                state: "active" 0.0;
967                inherit: "default" 0.0;
968                rel1.offset: 0 1;
969                rel2.offset: -1 0;
970             }
971          }
972          part {
973             name: "buttons_foc";
974             /* another rect object for clipping */
975             type: RECT;
976             description {
977                state: "default" 0.0;
978                visible: 0;
979                color: 255 255 255 0;
980             }
981             description {
982                state: "focused" 0.0;
983                inherit: "default" 0.0;
984                visible: 1;
985                color: 255 255 255 255;
986             }
987          }
988          part {
989             name: "bt_close_foc";
990             mouse_events: 0;
991             clip_to: "buttons_foc";
992             /* controlled by the other clip object */
993             description {
994                state: "default" 0.0;
995                rel1.to: "bt_close";
996                rel2.to: "bt_close";
997                image.normal: "bd_button_close_focused.png";
998             }
999             description {
1000                state: "active" 0.0;
1001                inherit: "default" 0.0;
1002                rel1.offset: 0 1;
1003                rel2.offset: -1 0;
1004             }
1005          }
1006          part {
1007             name: "bt_max_foc";
1008             mouse_events: 0;
1009             clip_to: "buttons_foc";
1010             description {
1011                state: "default" 0.0;
1012                rel1.to: "bt_max";
1013                rel2.to: "bt_max";
1014                image.normal: "bd_button_max_focused.png";
1015             }
1016             description {
1017                state: "active" 0.0;
1018                inherit: "default" 0.0;
1019                rel1.offset: 0 1;
1020                rel2.offset: -1 0;
1021             }
1022          }
1023          part {
1024             name: "bt_min_foc";
1025             mouse_events: 0;
1026             clip_to: "buttons_foc";
1027             description {
1028                state: "default" 0.0;
1029                rel1.to: "bt_min";
1030                rel2.to: "bt_min";
1031                image.normal: "bd_button_min_focused.png";
1032             }
1033             description {
1034                state: "active" 0.0;
1035                inherit: "default" 0.0;
1036                rel1.offset: 0 1;
1037                rel2.offset: -1 0;
1038             }
1039          }
1040          part {
1041             name: "title_base";
1042             /* an invisible rect part/object used for
1043              * layout purposes */
1044             type: RECT;
1045             mouse_events: 0;
1046             description {
1047                state: "default" 0.0;
1048                visible: 0;
1049                rel1 {
1050                   relative: 1.0 0.0;
1051                   offset: 0 0;
1052                   to_x: "icon_area";
1053                }
1054                rel2 {
1055                   relative: 0.0 1.0;
1056                   offset: -3 4;
1057                   to_y: "e.text.title";
1058                   to_x: "bt_min";
1059                }
1060             }
1061          }
1062          part {
1063             name: "title_back";
1064             mouse_events: 0;
1065             description {
1066                state: "default" 0.0;
1067                visible: 0;
1068                rel1 {
1069                   to: "title_base";
1070                }
1071                rel2 {
1072                   to: "title_base";
1073                   relative: 1.0 0.0;
1074                }
1075                image {
1076                   normal: "bd_title_bg.png";
1077                   border: 7 7 2 7;
1078                }
1079                fill.smooth: 0;
1080             }
1081             description {
1082                state: "focused" 0.0;
1083                inherit: "default" 0.0;
1084                visible: 1;
1085                rel2 {
1086                   to: "title_base";
1087                   relative: 1.0 1.0;
1088                }
1089             }
1090          }
1091          part {
1092             name: "title2";
1093             /* this is interesting. it's another text part
1094              * that also displays the title text, but
1095              * normally is not visible. it is only made
1096              * visibile when the window becomes focused.
1097              * what is interesting is we tell it to source
1098              * the text content from another part - i.e.
1099              * the master "title" part which E sets the
1100              * text of. when that changes this part also
1101              * changes its text. this is a good way to
1102              * use multiple text objects for effects and
1103              * other things that can copy/mimic the content
1104              * of another part */
1105             type: TEXT;
1106             mouse_events: 0;
1107             scale: 1;
1108             effect: SOFT_SHADOW;
1109             /* different style to before - because its
1110              * focused */
1111             description {
1112                state: "default" 0.0;
1113                visible: 0;
1114                align: 0.0 1.0;
1115                rel1 {
1116                   to_x: "e.text.title";
1117                   to_y: "title_back";
1118                   relative: 0.0 1.0;
1119                   offset: -1 0;
1120                }
1121                rel2 {
1122                   to_x: "e.text.title";
1123                   to_y: "title_back";
1124                   relative: 1.0 1.0;
1125                   offset: 0 0;
1126                }
1127                color_class: "border_title_active";
1128                text {
1129                   text_source: "e.text.title";
1130                   /* and here is the magic. tell
1131                    * the text to be sourced from
1132                    * another part */
1133                   font: "Sans:style=Bold";
1134                   size: 10;
1135                   align: 0.0 0.0;
1136                   min: 0 1;
1137                   text_class: "title_bar";
1138                }
1139             }
1140             description {
1141                state: "focused" 0.0;
1142                inherit: "default" 0.0;
1143                visible: 1;
1144             }
1145          }
1146          part {
1147             name: "title_over";
1148             mouse_events: 0;
1149             description {
1150                state: "default" 0.0;
1151                visible: 0;
1152                rel1.to: "title_back";
1153                rel2.to: "title_back";
1154                image {
1155                   normal: "bd_title_over.png";
1156                   border: 7 7 2 7;
1157                }
1158                fill.smooth: 0;
1159             }
1160             description {
1161                state: "focused" 0.0;
1162                inherit: "default" 0.0;
1163                visible: 1;
1164             }
1165          }
1166          part {
1167             name: "bottom_clip";
1168             type: RECT;
1169             description {
1170                state: "default" 0.0;
1171                rel1.to: "bottom";
1172                rel2.to: "bottom";
1173                color: 255 255 255 255;
1174             }
1175          }
1176          part {
1177             name: "resize_b";
1178             mouse_events: 0;
1179             clip_to: "bottom_clip";
1180             description {
1181                state: "default" 0.0;
1182                min: 20 10;
1183                max: 20 10;
1184                rel1 {
1185                   to: "bottom";
1186                   relative: 0.5 0.0;
1187                   offset: 0 -10;
1188                }
1189                rel2 {
1190                   to: "bottom";
1191                   relative: 0.5 0.0;
1192                   offset: 0 -1;
1193                }
1194                image {
1195                   normal: "bd_resize_b.png";
1196                }
1197             }
1198             description {
1199                state: "past" 0.0;
1200                inherit: "default" 0.0;
1201                rel1 {
1202                   relative: 0.5 1.0;
1203                   offset: 0 0;
1204                }
1205                rel2 {
1206                   relative: 0.5 1.0;
1207                   offset: 0 9;
1208                }
1209             }
1210          }
1211          part {
1212             name: "e.swallow.client";
1213             /* this determines where the actual
1214              * client window will be placed in
1215              * the border design */
1216             type: SWALLOW;
1217             description {
1218                state: "default" 0.0;
1219                rel1 {
1220                   relative: 0.0 1.0;
1221                   offset: 0 0;
1222                   to_y: "top";
1223                }
1224                rel2 {
1225                   relative: 1.0 0.0;
1226                   offset: -1 -1;
1227                   to_y: "bottom";
1228                }
1229             }
1230             description {
1231                state: "shaded" 0.0;
1232                inherit: "default" 0.0;
1233                rel2 {
1234                   relative: 1.0 1.0;
1235                   offset: -1 -1;
1236                   to_y: "bottom";
1237                }
1238             }
1239             description {
1240                state: "max" 0.0;
1241                inherit: "default" 0.0;
1242                rel1 {
1243                   relative: 0.0 1.0;
1244                   offset: 0 0;
1245                   to_y: "top";
1246                }
1247                rel2 {
1248                   relative: 1.0 1.0;
1249                   offset: -1 -1;
1250                   to_y: "bottom";
1251                }
1252             }
1253          }
1254          /* these transparent rect parts are used for catching events in a way
1255           * here objects for design don't affect the events. these parts
1256           * are named speciifcally because E has config listening for specific
1257           * signals (events) coming from these named parts and based on those
1258           * will perform certain actions. these are actually all configurable
1259           * by the user, so if they want, clicking the logical "titlebar" could
1260           * close the window, not move it, and so on. the user decides this.
1261           * the theme designer simply indicates the "logcal" use of the theme
1262           * elements they have created */
1263          part {
1264             name: "e.event.titlebar";
1265             type: RECT;
1266             description {
1267                state: "default" 0.0;
1268                rel1.to: "title_base";
1269                rel2.to: "title_base";
1270                color: 0 0 0 0;
1271             }
1272          }
1273          part {
1274             name: "e.event.resize.t";
1275             type: RECT;
1276             description {
1277                state: "default" 0.0;
1278                rel1 {
1279                   relative: 0.0 0.0;
1280                   offset: 0 0;
1281                }
1282                rel2 {
1283                   relative: 1.0 0.0;
1284                   offset: -1 3;
1285                }
1286                color: 0 0 0 0;
1287             }
1288             description {
1289                state: "shaded" 0.0;
1290                inherit: "default" 0.0;
1291                visible: 0;
1292             }
1293          }
1294          part {
1295             name: "e.event.resize.b";
1296             type: RECT;
1297             description {
1298                state: "default" 0.0;
1299                rel1 {
1300                   relative: 0.0 1.0;
1301                   offset: 0 -4;
1302                }
1303                rel2 {
1304                   relative: 1.0 1.0;
1305                   offset: -1 -1;
1306                }
1307                color: 0 0 0 0;
1308             }
1309             description {
1310                state: "shaded" 0.0;
1311                inherit: "default" 0.0;
1312                visible: 0;
1313             }
1314          }
1315          part {
1316             name: "e.event.resize.tl";
1317             type: RECT;
1318             description {
1319                state: "default" 0.0;
1320                rel1 {
1321                   relative: 0.0 0.0;
1322                   offset: 0 0;
1323                }
1324                rel2 {
1325                   relative: 0.0 0.0;
1326                   offset: 15 15;
1327                }
1328                color: 0 0 0 0;
1329             }
1330             description {
1331                state: "shaded" 0.0;
1332                inherit: "default" 0.0;
1333                visible: 0;
1334             }
1335          }
1336          part {
1337             name: "e.event.resize.tr";
1338             type: RECT;
1339             description {
1340                state: "default" 0.0;
1341                rel1 {
1342                   relative: 1.0 0.0;
1343                   offset: -16 0;
1344                }
1345                rel2 {
1346                   relative: 1.0 0.0;
1347                   offset: -1 15;
1348                }
1349                color: 0 0 0 0;
1350             }
1351             description {
1352                state: "shaded" 0.0;
1353                inherit: "default" 0.0;
1354                visible: 0;
1355             }
1356          }
1357          part {
1358             name: "e.event.resize.bl";
1359             type: RECT;
1360             description {
1361                state: "default" 0.0;
1362                rel1 {
1363                   relative: 0.0 1.0;
1364                   offset: 0 -16;
1365                }
1366                rel2 {
1367                   relative: 0.0 1.0;
1368                   offset: 15 -1;
1369                }
1370                color: 0 0 0 0;
1371             }
1372             description {
1373                state: "shaded" 0.0;
1374                inherit: "default" 0.0;
1375                visible: 0;
1376             }
1377          }
1378          part {
1379             name: "e.event.resize.br";
1380             type: RECT;
1381             description {
1382                state: "default" 0.0;
1383                rel1 {
1384                   relative: 1.0 1.0;
1385                   offset: -16 -16;
1386                }
1387                rel2 {
1388                   relative: 1.0 1.0;
1389                   offset: -1 -1;
1390                }
1391                color: 0 0 0 0;
1392             }
1393             description {
1394                state: "shaded" 0.0;
1395                inherit: "default" 0.0;
1396                visible: 0;
1397             }
1398          }
1399          part {
1400             name: "e.event.icon";
1401             type: RECT;
1402             description {
1403                state: "default" 0.0;
1404                rel1.to: "icon_area";
1405                rel2.to: "icon_area";
1406                color: 0 0 0 0;
1407             }
1408          }
1409          part {
1410             name: "e.event.close";
1411             type: RECT;
1412             description {
1413                state: "default" 0.0;
1414                rel1.to: "bt_close";
1415                rel2.to: "bt_close";
1416                color: 0 0 0 0;
1417             }
1418          }
1419          part {
1420             name: "e.event.minimize";
1421             type: RECT;
1422             description {
1423                state: "default" 0.0;
1424                rel1.to: "bt_min";
1425                rel2.to: "bt_min";
1426                color: 0 0 0 0;
1427             }
1428          }
1429          part {
1430             name: "e.event.maximize";
1431             type: RECT;
1432             description {
1433                state: "default" 0.0;
1434                rel1.to: "bt_max";
1435                rel2.to: "bt_max";
1436                color: 0 0 0 0;
1437             }
1438          }
1439       }
1440       /* programs - these are basically snippets of simple logic to respond to
1441        * incoming signals (generated by signal emisions by code or events) */
1442       programs {
1443          program {
1444             name: "focus_in";
1445             /* name of the program. must be unique
1446              * within the list of programs attached
1447              * to a group of parts */
1448             signal: "e,state,focused";
1449             /* what signal triggers this program,
1450              * if any. this can also be a glob like
1451              * "mouse,down,*" for example. note
1452              * that globs are slower to match
1453              * and empty strings are literal matches
1454              * too */
1455             source: "e";
1456             /* the source of the signal - this must also match for
1457              * the program to be run */
1458             action: STATE_SET "focused" 0.0;
1459             /* the action the program will
1460              * perform. in this case
1461              * it will set the state to
1462              * "focused" @ value 0.0 */
1463             transition: LINEAR 0.2;
1464             /* the time for the transition of the
1465              * action - it's a linear interpolation
1466              * of states here over 0.2 seconds */
1467             target: "title_back";
1468             /* these are the targets for the action.
1469              * i.e. which parts will have their state
1470              * set to "focused" over 0.2 seconds */
1471             target: "title2";
1472             target: "title_over";
1473             target: "buttons_foc";
1474             target: "buttons_unfoc";
1475             target: "e.text.title";
1476          }
1477          program {
1478             name: "focus_out";
1479             /* this program is run when focus is
1480              * removed from a window border */
1481             signal: "e,state,unfocused";
1482             source: "e";
1483             action: STATE_SET "default" 0.0;
1484             transition: LINEAR 0.2;
1485             target: "title_back";
1486             target: "title2";
1487             target: "title_over";
1488             target: "buttons_foc";
1489             target: "buttons_unfoc";
1490             target: "e.text.title";
1491          }
1492          program {
1493             name: "urgent";
1494             /* this program is run when the border is
1495              * meant to display an "urgent" state
1496              * (the application has something
1497              * important to show the user) */
1498             signal: "e,state,urgent";
1499             source: "e";
1500             action: STATE_SET "visible" 0.0;
1501             transition: DECELERATE 0.5;
1502             /* instead of a linear transition
1503              * this will vary from state A to B
1504              * but slow down towards the end */
1505             target: "urgent";
1506             target: "urgent2";
1507             after: "urgent2";
1508             /* when this program and its transition are
1509              * finished then chain (run) the "urgent2"
1510              * program below. this way a series of actions
1511              * and trnasitions can be chained together one
1512              * after the other */
1513          }
1514          program {
1515             name: "urgent2";
1516             action: STATE_SET "faded" 0.0;
1517             transition: LINEAR 0.5;
1518             target: "urgent2";
1519             after: "urgent3";
1520          }
1521          program {
1522             name: "urgent3";
1523             action: STATE_SET "visible" 0.0;
1524             target: "urgent2";
1525             /* notice - no transition. when not specified
1526              * it is assumed that the action should happen
1527              * immediately with no transition over time */
1528             after: "urgent2";
1529          }
1530          program {
1531             name: "urgentw0";
1532             /* these ae a list of icon "wobble"
1533              * programs to indicate urgency */
1534             signal: "e,state,urgent";
1535             source: "e";
1536             action: STATE_SET "default" 0.0;
1537             transition: DECELERATE 0.1;
1538             target: "icon_area2";
1539             after: "urgentw1";
1540          }
1541          program {
1542             name: "urgentw1";
1543             action: STATE_SET "uw1" 0.0;
1544             transition: DECELERATE 0.1;
1545             target: "icon_area2";
1546             after: "urgentw2";
1547          }
1548          program {
1549             name: "urgentw2";
1550             action: STATE_SET "uw2" 0.0;
1551             target: "icon_area2";
1552             transition: DECELERATE 0.1;
1553             after: "urgentw3";
1554          }
1555          program {
1556             name: "urgentw3";
1557             action: STATE_SET "uw3" 0.0;
1558             transition: DECELERATE 0.1;
1559             target: "icon_area2";
1560             after: "urgentw4";
1561          }
1562          program {
1563             name: "urgentw4";
1564             action: STATE_SET "uw4" 0.0;
1565             transition: DECELERATE 0.1;
1566             target: "icon_area2";
1567             after: "urgentw0";
1568          }
1569          program {
1570             name: "not_urgent";
1571             /* run when the window stops being
1572              * urgent */
1573             signal: "e,state,not_urgent";
1574             source: "e";
1575             action: ACTION_STOP;
1576             /* this action will stop other running programs
1577              * that are currently active. the programs to
1578              * stop are named in the targets below */
1579             target: "urgentw0";
1580             target: "urgentw1";
1581             target: "urgentw2";
1582             target: "urgentw3";
1583             target: "urgentw4";
1584             target: "urgent";
1585             target: "urgent2";
1586             target: "urgent3";
1587             after: "not_urgent2";
1588          }
1589          program {
1590             name: "not_urgent2";
1591             action: STATE_SET "default" 0.0;
1592             target: "urgent";
1593             target: "urgent2";
1594             target: "icon_area2";
1595          }
1596          program {
1597             name: "hung";
1598             /* run when an app is known to be hung/not
1599              * responding to ping requests */
1600             signal: "e,state,hung";
1601             source: "e";
1602             action: STATE_SET "shrunk" 0.0;
1603             target: "e.swallow.icon";
1604             transition: DECELERATE 0.5;
1605          }
1606          program {
1607             name: "unhung";
1608             /* when an app was hung but has started to
1609              * respond again, this is run */
1610             signal: "e,state,unhung";
1611             source: "e";
1612             action: ACTION_STOP;
1613             target: "busy_anim";
1614          }
1615          program {
1616             name: "unhung2";
1617             signal: "e,state,unhung";
1618             source: "e";
1619             action: STATE_SET "default" 0.0;
1620             target: "e.swallow.icon";
1621             target: "busy";
1622             transition: ACCELERATE 0.5;
1623          }
1624          program {
1625             name: "busy_anim";
1626             /* multiple programs can be triggered
1627              * from the same signals so this is
1628              * also run when an app becomes "hung" */
1629             signal: "e,state,hung";
1630             source: "e";
1631             action: STATE_SET "visible" 0.0;
1632             transition: LINEAR 0.3333;
1633             target: "busy";
1634             after: "busy_anim";
1635          }
1636          // don't have states/anim for a generic iconify action
1637          //    program { name: "xx";
1638          //       signal: "e,action,iconify";
1639          //       source: "e";
1640          //    }
1641          // don't have states/anim for a generic uniconify action
1642          //    program { name: "xx";
1643          //       signal: "e,action,uniconify";
1644          //       source: "e";
1645          //    }
1646          // don't have states/anim for a generic maximize action
1647          //    program { name: "xx";
1648          //       signal: "e,action,maximize";
1649          //       source: "e";
1650          //    }
1651          // don't have states/anim for a generic unmaximize action
1652          //    program { name: "xx";
1653          //       signal: "e,action,unmaximize";
1654          //       source: "e";
1655          //    }
1656          program {
1657             name: "max_full";
1658             /* run on fullscreen maximize */
1659             signal: "e,action,maximize,fullscreen";
1660             source: "e";
1661             action: STATE_SET "max" 0.0;
1662             target: "bottom";
1663             target: "e.swallow.client";
1664          }
1665          program {
1666             name: "unmax_full";
1667             /* run on unmaximize from fullscreen */
1668             signal: "e,action,unmaximize,fullscreen";
1669             source: "e";
1670             action: STATE_SET "default" 0.0;
1671             target: "bottom";
1672             target: "e.swallow.client";
1673          }
1674          program {
1675             name: "shade_end";
1676             /* run when the window finishes its
1677              * shading animation */
1678             signal: "e,state,shaded";
1679             signal: "e,state,shading";
1680             source: "e";
1681             action: STATE_SET "shaded" 0.0;
1682             target: "bottom";
1683             target: "e.swallow.client";
1684             target: "e.event.resize.tl";
1685             target: "e.event.resize.tr";
1686             target: "e.event.resize.bl";
1687             target: "e.event.resize.br";
1688             target: "e.event.resize.t";
1689             target: "e.event.resize.b";
1690          }
1691          program {
1692             name: "unshade_start";
1693             /* run when the window starts
1694              * unshading itself */
1695             signal: "e,state,unshaded";
1696             signal: "e,state,unshading";
1697             source: "e";
1698             action: STATE_SET "default" 0.0;
1699             target: "bottom";
1700             target: "e.swallow.client";
1701             target: "e.event.resize.tl";
1702             target: "e.event.resize.tr";
1703             target: "e.event.resize.bl";
1704             target: "e.event.resize.br";
1705             target: "e.event.resize.t";
1706             target: "e.event.resize.b";
1707          }
1708          program {
1709             name: "resize_b_on";
1710             signal: "mouse,in";
1711             /* on mouse enter... */
1712             source: "e.event.resize.b";
1713             /* in this named part */
1714             action: ACTION_STOP;
1715             /* stop the following programs */
1716             target: "resize_b_on2";
1717             target: "resize_b_on3";
1718             after: "resize_b_on2";
1719             /* then run... */
1720          }
1721          program {
1722             name: "resize_b_on2";
1723             action: STATE_SET "default" 0.0;
1724             target: "resize_b";
1725             after: "resize_b_on3";
1726          }
1727          program {
1728             name: "resize_b_on3";
1729             action: STATE_SET "past" 0.0;
1730             transition: LINEAR 0.5;
1731             target: "resize_b";
1732             after: "resize_b_on2";
1733          }
1734          program {
1735             name: "resize_b_off";
1736             signal: "mouse,out";
1737             /* on mouse leave... */
1738             source: "e.event.resize.b";
1739             action: ACTION_STOP;
1740             target: "resize_b_on";
1741             target: "resize_b_on2";
1742             target: "resize_b_on3";
1743          }
1744          program {
1745             name: "icon_down";
1746             signal: "mouse,down,*";
1747             /* if any mouse button is pressed... */
1748             source: "e.event.icon";
1749             action: STATE_SET "active" 0.0;
1750             target: "icon_area";
1751          }
1752          program {
1753             name: "icon_up";
1754             signal: "mouse,up,*";
1755             /* if any mouse button is released... */
1756             source: "e.event.icon";
1757             action: STATE_SET "default" 0.0;
1758             target: "icon_area";
1759          }
1760          program {
1761             name: "bt_close_down";
1762             signal: "mouse,down,*";
1763             source: "e.event.close";
1764             action: STATE_SET "active" 0.0;
1765             target: "bt_close_unfoc";
1766             target: "bt_close_foc";
1767          }
1768          program {
1769             name: "bt_close_up";
1770             signal: "mouse,up,*";
1771             source: "e.event.close";
1772             action: STATE_SET "default" 0.0;
1773             target: "bt_close_unfoc";
1774             target: "bt_close_foc";
1775          }
1776          program {
1777             name: "bt_max_down";
1778             signal: "mouse,down,*";
1779             source: "e.event.maximize";
1780             action: STATE_SET "active" 0.0;
1781             target: "bt_max_unfoc";
1782             target: "bt_max_foc";
1783          }
1784          program {
1785             name: "bt_max_up";
1786             signal: "mouse,up,*";
1787             source: "e.event.maximize";
1788             action: STATE_SET "default" 0.0;
1789             target: "bt_max_unfoc";
1790             target: "bt_max_foc";
1791          }
1792          program {
1793             name: "bt_min_down";
1794             signal: "mouse,down,*";
1795             source: "e.event.minimize";
1796             action: STATE_SET "active" 0.0;
1797             target: "bt_min_unfoc";
1798             target: "bt_min_foc";
1799          }
1800          program {
1801             name: "bt_min_up";
1802             signal: "mouse,up,*";
1803             source: "e.event.minimize";
1804             action: STATE_SET "default" 0.0;
1805             target: "bt_min_unfoc";
1806             target: "bt_min_foc";
1807          }
1808       }
1809    }
1810    /* more border types - see comments in the default border for information */
1811    /*** SHAPED WINDOW BORDER ***/
1812    group {
1813       name: "e/widgets/border/shaped/border";
1814       images {
1815          image: "bd_top.png" COMP;
1816          image: "bd_top_hilight.png" COMP;
1817          image: "bd_bottom.png" COMP;
1818          image: "bd_title_bg.png" COMP;
1819          image: "bd_title_over.png" COMP;
1820          image: "bd_resize_b.png" COMP;
1821          image: "busy-1.png" COMP;
1822          image: "busy-2.png" COMP;
1823          image: "busy-3.png" COMP;
1824          image: "busy-4.png" COMP;
1825          image: "busy-5.png" COMP;
1826          image: "busy-6.png" COMP;
1827          image: "busy-7.png" COMP;
1828          image: "busy-8.png" COMP;
1829          image: "busy-9.png" COMP;
1830          image: "exclam.png" COMP;
1831          image: "bd_button_close_shadow.png" COMP;
1832          image: "bd_button_close_focused.png" COMP;
1833          image: "bd_button_close_unfocused.png" COMP;
1834          image: "bd_button_max_shadow.png" COMP;
1835          image: "bd_button_max_focused.png" COMP;
1836          image: "bd_button_max_unfocused.png" COMP;
1837          image: "bd_button_min_shadow.png" COMP;
1838          image: "bd_button_min_focused.png" COMP;
1839          image: "bd_button_min_unfocused.png" COMP;
1840       }
1841       data.item: "shaped" "1";
1842       parts {
1843          part {
1844             name: "top";
1845             mouse_events: 0;
1846             description {
1847                state: "default" 0.0;
1848                rel1 {
1849                   relative: 0.0 0.0;
1850                   offset: 0 0;
1851                }
1852                rel2 {
1853                   relative: 1.0 1.0;
1854                   offset: -1 -1;
1855                   to_y: "title_base";
1856                }
1857                color_class: "border_top";
1858                image {
1859                   normal: "bd_top.png";
1860                   border: 2 2 2 2;
1861                }
1862             }
1863          }
1864          part {
1865             name: "bottom";
1866             mouse_events: 0;
1867             description {
1868                state: "default" 0.0;
1869                rel1 {
1870                   relative: 0.0 1.0;
1871                   offset: 0 -4;
1872                }
1873                rel2 {
1874                   relative: 1.0 1.0;
1875                   offset: -1 -1;
1876                }
1877                color_class: "border_bottom";
1878                image {
1879                   normal: "bd_bottom.png";
1880                   border: 2 2 0 0;
1881                }
1882             }
1883             description {
1884                state: "shaded" 0.0;
1885                inherit: "default" 0.0;
1886                visible: 0;
1887             }
1888             description {
1889                state: "max" 0.0;
1890                inherit: "default" 0.0;
1891                visible: 0;
1892             }
1893          }
1894          part {
1895             name: "icon_area";
1896             type: RECT;
1897             description {
1898                state: "default" 0.0;
1899                visible: 0;
1900                align: 0.0 0.5;
1901                aspect: 1.0 1.0;
1902                aspect_preference: VERTICAL;
1903                rel1 {
1904                   relative: 0.0 0.0;
1905                   offset: 2 2;
1906                }
1907                rel2 {
1908                   relative: 0.0 1.0;
1909                   offset: 2 -3;
1910                   to_y: "title_base";
1911                }
1912             }
1913             description {
1914                state: "active" 0.0;
1915                inherit: "default" 0.0;
1916                rel1 {
1917                   offset: 2 3;
1918                }
1919                rel2 {
1920                   offset: 2 -2;
1921                }
1922             }
1923          }
1924          part {
1925             name: "icon_area2";
1926             type: RECT;
1927             description {
1928                state: "default" 0.0;
1929                visible: 0;
1930                rel1.to: "icon_area";
1931                rel2.to: "icon_area";
1932             }
1933             description {
1934                state: "uw0" 0.0;
1935                inherit: "default" 0.0;
1936                rel1.offset: -3 -2;
1937                rel2.offset: -4 -3;
1938             }
1939             description {
1940                state: "uw1" 0.0;
1941                inherit: "default" 0.0;
1942                rel1.offset: 5 -2;
1943                rel2.offset: 4 -3;
1944             }
1945             description {
1946                state: "uw2" 0.0;
1947                inherit: "default" 0.0;
1948                rel1.offset: -1 4;
1949                rel2.offset: -2 3;
1950             }
1951             description {
1952                state: "uw3" 0.0;
1953                inherit: "default" 0.0;
1954                rel1.offset: -2 -1;
1955                rel2.offset: -3 -2;
1956             }
1957             description {
1958                state: "uw4" 0.0;
1959                inherit: "default" 0.0;
1960                rel1.offset: -4 1;
1961                rel2.offset: -5 0;
1962             }
1963          }
1964          part {
1965             name: "busy";
1966             mouse_events: 0;
1967             description {
1968                state: "default" 0.0;
1969                visible: 0;
1970                color: 255 255 255 0;
1971                max: 32 32;
1972                aspect: 1.0 1.0;
1973                aspect_preference: BOTH;
1974                rel1.to: "icon_area";
1975                rel2.to: "icon_area";
1976                image {
1977                   tween: "busy-1.png";
1978                   tween: "busy-2.png";
1979                   tween: "busy-3.png";
1980                   tween: "busy-4.png";
1981                   tween: "busy-5.png";
1982                   tween: "busy-6.png";
1983                   tween: "busy-7.png";
1984                   tween: "busy-8.png";
1985                   normal: "busy-9.png";
1986                }
1987             }
1988             description {
1989                state: "visible" 0.0;
1990                inherit: "default" 0.0;
1991                visible: 1;
1992                color: 255 255 255 255;
1993             }
1994          }
1995          part {
1996             name: "e.swallow.icon";
1997             type: SWALLOW;
1998             description {
1999                state: "default" 0.0;
2000                aspect: 1.0 1.0;
2001                aspect_preference: BOTH;
2002                rel1.to: "icon_area2";
2003                rel2.to: "icon_area2";
2004             }
2005             description {
2006                state: "shrunk" 0.0;
2007                inherit: "default" 0.0;
2008                rel1.relative: 0.3 0.3;
2009                rel2.relative: 0.7 0.7;
2010             }
2011          }
2012          part {
2013             name: "urgent";
2014             mouse_events: 0;
2015             description {
2016                state: "default" 0.0;
2017                visible: 0;
2018                color: 255 255 255 0;
2019                aspect: 1.0 1.0;
2020                aspect_preference: BOTH;
2021                rel1.to: "icon_area";
2022                rel2.to: "icon_area";
2023                image.normal: "exclam.png";
2024             }
2025             description {
2026                state: "visible" 0.0;
2027                inherit: "default" 0.0;
2028                visible: 1;
2029                color: 255 255 255 255;
2030             }
2031          }
2032          part {
2033             name: "urgent2";
2034             mouse_events: 0;
2035             description {
2036                state: "default" 0.0;
2037                visible: 0;
2038                color: 255 255 255 0;
2039                aspect: 1.0 1.0;
2040                aspect_preference: BOTH;
2041                rel1.to: "icon_area";
2042                rel2.to: "icon_area";
2043                image.normal: "exclam.png";
2044             }
2045             description {
2046                state: "visible" 0.0;
2047                inherit: "default" 0.0;
2048                visible: 1;
2049                color: 255 255 255 255;
2050             }
2051             description {
2052                state: "faded" 0.0;
2053                inherit: "default" 0.0;
2054                rel1.relative: -1.0 -1.0;
2055                rel2.relative: 2.0 2.0;
2056                visible: 1;
2057                color: 255 255 255 0;
2058             }
2059          }
2060          part {
2061             name: "e.text.title";
2062             type: TEXT;
2063             mouse_events: 0;
2064             scale: 1;
2065             description {
2066                state: "default" 0.0;
2067                visible: 1;
2068                align: 0.0 0.0;
2069                rel1 {
2070                   relative: 1.0 0.0;
2071                   offset: 9 2;
2072                   to_x: "icon_area";
2073                }
2074                rel2 {
2075                   relative: 1.0 0.0;
2076                   offset: -8 2;
2077                   to_x: "title_base";
2078                }
2079                color_class: "border_title";
2080                text {
2081                   font: "Sans:style=Bold";
2082                   size: 10;
2083                   min: 0 1;
2084                   align: 0.0 0.0;
2085                   text_class: "title_bar";
2086                }
2087             }
2088             description {
2089                state: "focused" 0.0;
2090                inherit: "default" 0.0;
2091                visible: 0;
2092                color: 0 0 0 0;
2093             }
2094          }
2095          part {
2096             name: "bt_close";
2097             mouse_events: 0;
2098             description {
2099                state: "default" 0.0;
2100                align: 1.0 0.5;
2101                min: 22 22;
2102                max: 22 22;
2103                aspect: 1.0 1.0;
2104                aspect_preference: VERTICAL;
2105                rel1 {
2106                   relative: 1.0 0.0;
2107                   offset: -2 1;
2108                   to_x: "top";
2109                   to_y: "top";
2110                }
2111                rel2 {
2112                   relative: 1.0 1.0;
2113                   offset: -2 -2;
2114                   to_x: "top";
2115                   to_y: "top";
2116                }
2117                image.normal: "bd_button_close_shadow.png";
2118             }
2119          }
2120          part {
2121             name: "bt_max";
2122             mouse_events: 0;
2123             description {
2124                state: "default" 0.0;
2125                align: 1.0 0.5;
2126                min: 22 22;
2127                max: 22 22;
2128                aspect: 1.0 1.0;
2129                aspect_preference: VERTICAL;
2130                rel1 {
2131                   relative: 0.0 0.0;
2132                   offset: -2 1;
2133                   to_x: "bt_close";
2134                   to_y: "top";
2135                }
2136                rel2 {
2137                   relative: 0.0 1.0;
2138                   offset: -2 -2;
2139                   to_x: "bt_close";
2140                   to_y: "top";
2141                }
2142                image.normal: "bd_button_max_shadow.png";
2143             }
2144          }
2145          part {
2146             name: "bt_min";
2147             mouse_events: 0;
2148             description {
2149                state: "default" 0.0;
2150                align: 1.0 0.5;
2151                min: 22 22;
2152                max: 22 22;
2153                aspect: 1.0 1.0;
2154                aspect_preference: VERTICAL;
2155                rel1 {
2156                   relative: 0.0 0.0;
2157                   offset: -2 1;
2158                   to_x: "bt_max";
2159                   to_y: "top";
2160                }
2161                rel2 {
2162                   relative: 0.0 1.0;
2163                   offset: -2 -2;
2164                   to_x: "bt_max";
2165                   to_y: "top";
2166                }
2167                image.normal: "bd_button_min_shadow.png";
2168             }
2169          }
2170          part {
2171             name: "top_hilight";
2172             mouse_events: 0;
2173             description {
2174                state: "default" 0.0;
2175                rel1 {
2176                   relative: 0.0 0.0;
2177                   offset: 0 0;
2178                   to: "top";
2179                }
2180                rel2 {
2181                   relative: 1.0 0.5;
2182                   offset: -1 0;
2183                   to: "top";
2184                }
2185                color_class: "border_top_hilight";
2186                image {
2187                   normal: "bd_top_hilight.png";
2188                }
2189                fill.smooth: 0;
2190             }
2191          }
2192          part {
2193             name: "buttons_unfoc";
2194             type: RECT;
2195             description {
2196                state: "default" 0.0;
2197                visible: 1;
2198                color: 255 255 255 255;
2199             }
2200             description {
2201                state: "focused" 0.0;
2202                inherit: "default" 0.0;
2203                visible: 0;
2204                color: 255 255 255 0;
2205             }
2206          }
2207          part {
2208             name: "bt_close_unfoc";
2209             mouse_events: 0;
2210             clip_to: "buttons_unfoc";
2211             description {
2212                state: "default" 0.0;
2213                rel1.to: "bt_close";
2214                rel2.to: "bt_close";
2215                image.normal: "bd_button_close_unfocused.png";
2216             }
2217             description {
2218                state: "active" 0.0;
2219                inherit: "default" 0.0;
2220                rel1.offset: 0 1;
2221                rel2.offset: -1 0;
2222             }
2223          }
2224          part {
2225             name: "bt_max_unfoc";
2226             mouse_events: 0;
2227             clip_to: "buttons_unfoc";
2228             description {
2229                state: "default" 0.0;
2230                rel1.to: "bt_max";
2231                rel2.to: "bt_max";
2232                image.normal: "bd_button_max_unfocused.png";
2233             }
2234             description {
2235                state: "active" 0.0;
2236                inherit: "default" 0.0;
2237                rel1.offset: 0 1;
2238                rel2.offset: -1 0;
2239             }
2240          }
2241          part {
2242             name: "bt_min_unfoc";
2243             mouse_events: 0;
2244             clip_to: "buttons_unfoc";
2245             description {
2246                state: "default" 0.0;
2247                rel1.to: "bt_min";
2248                rel2.to: "bt_min";
2249                image.normal: "bd_button_min_unfocused.png";
2250             }
2251             description {
2252                state: "active" 0.0;
2253                inherit: "default" 0.0;
2254                rel1.offset: 0 1;
2255                rel2.offset: -1 0;
2256             }
2257          }
2258          part {
2259             name: "buttons_foc";
2260             type: RECT;
2261             description {
2262                state: "default" 0.0;
2263                visible: 0;
2264                color: 255 255 255 0;
2265             }
2266             description {
2267                state: "focused" 0.0;
2268                inherit: "default" 0.0;
2269                visible: 1;
2270                color: 255 255 255 255;
2271             }
2272          }
2273          part {
2274             name: "bt_close_foc";
2275             mouse_events: 0;
2276             clip_to: "buttons_foc";
2277             description {
2278                state: "default" 0.0;
2279                rel1.to: "bt_close";
2280                rel2.to: "bt_close";
2281                image.normal: "bd_button_close_focused.png";
2282             }
2283             description {
2284                state: "active" 0.0;
2285                inherit: "default" 0.0;
2286                rel1.offset: 0 1;
2287                rel2.offset: -1 0;
2288             }
2289          }
2290          part {
2291             name: "bt_max_foc";
2292             mouse_events: 0;
2293             clip_to: "buttons_foc";
2294             description {
2295                state: "default" 0.0;
2296                rel1.to: "bt_max";
2297                rel2.to: "bt_max";
2298                image.normal: "bd_button_max_focused.png";
2299             }
2300             description {
2301                state: "active" 0.0;
2302                inherit: "default" 0.0;
2303                rel1.offset: 0 1;
2304                rel2.offset: -1 0;
2305             }
2306          }
2307          part {
2308             name: "bt_min_foc";
2309             mouse_events: 0;
2310             clip_to: "buttons_foc";
2311             description {
2312                state: "default" 0.0;
2313                rel1.to: "bt_min";
2314                rel2.to: "bt_min";
2315                image.normal: "bd_button_min_focused.png";
2316             }
2317             description {
2318                state: "active" 0.0;
2319                inherit: "default" 0.0;
2320                rel1.offset: 0 1;
2321                rel2.offset: -1 0;
2322             }
2323          }
2324          part {
2325             name: "title_base";
2326             type: RECT;
2327             mouse_events: 0;
2328             description {
2329                state: "default" 0.0;
2330                visible: 0;
2331                rel1 {
2332                   relative: 1.0 0.0;
2333                   offset: 0 0;
2334                   to_x: "icon_area";
2335                }
2336                rel2 {
2337                   relative: 0.0 1.0;
2338                   offset: -3 4;
2339                   to_y: "e.text.title";
2340                   to_x: "bt_min";
2341                }
2342             }
2343          }
2344          part {
2345             name: "title_back";
2346             mouse_events: 0;
2347             description {
2348                state: "default" 0.0;
2349                visible: 0;
2350                rel1 {
2351                   to: "title_base";
2352                }
2353                rel2 {
2354                   to: "title_base";
2355                   relative: 1.0 0.0;
2356                }
2357                image {
2358                   normal: "bd_title_bg.png";
2359                   border: 7 7 2 7;
2360                }
2361                fill.smooth: 0;
2362             }
2363             description {
2364                state: "focused" 0.0;
2365                inherit: "default" 0.0;
2366                visible: 1;
2367                rel2 {
2368                   to: "title_base";
2369                   relative: 1.0 1.0;
2370                }
2371             }
2372          }
2373          part {
2374             name: "title2";
2375             type: TEXT;
2376             mouse_events: 0;
2377             scale: 1;
2378             effect: SOFT_SHADOW;
2379             description {
2380                state: "default" 0.0;
2381                visible: 0;
2382                align: 0.0 1.0;
2383                rel1 {
2384                   to_x: "e.text.title";
2385                   to_y: "title_back";
2386                   relative: 0.0 1.0;
2387                   offset: -1 0;
2388                }
2389                rel2 {
2390                   to_x: "e.text.title";
2391                   to_y: "title_back";
2392                   relative: 1.0 1.0;
2393                   offset: 0 1;
2394                }
2395                color_class: "border_title_active";
2396                text {
2397                   text_source: "e.text.title";
2398                   font: "Sans:style=Bold";
2399                   size: 10;
2400                   align: 0.0 0.0;
2401                   min: 0 1;
2402                   text_class: "title_bar";
2403                }
2404             }
2405             description {
2406                state: "focused" 0.0;
2407                inherit: "default" 0.0;
2408                visible: 1;
2409             }
2410          }
2411          part {
2412             name: "title_over";
2413             mouse_events: 0;
2414             description {
2415                state: "default" 0.0;
2416                visible: 0;
2417                rel1.to: "title_back";
2418                rel2.to: "title_back";
2419                image {
2420                   normal: "bd_title_over.png";
2421                   border: 7 7 2 7;
2422                }
2423                fill.smooth: 0;
2424             }
2425             description {
2426                state: "focused" 0.0;
2427                inherit: "default" 0.0;
2428                visible: 1;
2429             }
2430          }
2431          part {
2432             name: "bottom_clip";
2433             type: RECT;
2434             description {
2435                state: "default" 0.0;
2436                rel1.to: "bottom";
2437                rel2.to: "bottom";
2438                color: 255 255 255 255;
2439             }
2440          }
2441          part {
2442             name: "resize_b";
2443             mouse_events: 0;
2444             clip_to: "bottom_clip";
2445             description {
2446                state: "default" 0.0;
2447                min: 20 10;
2448                max: 20 10;
2449                rel1 {
2450                   to: "bottom";
2451                   relative: 0.5 0.0;
2452                   offset: 0 -10;
2453                }
2454                rel2 {
2455                   to: "bottom";
2456                   relative: 0.5 0.0;
2457                   offset: 0 -1;
2458                }
2459                image {
2460                   normal: "bd_resize_b.png";
2461                }
2462             }
2463             description {
2464                state: "past" 0.0;
2465                inherit: "default" 0.0;
2466                rel1 {
2467                   relative: 0.5 1.0;
2468                   offset: 0 0;
2469                }
2470                rel2 {
2471                   relative: 0.5 1.0;
2472                   offset: 0 9;
2473                }
2474             }
2475          }
2476          part {
2477             name: "e.swallow.client";
2478             type: SWALLOW;
2479             description {
2480                state: "default" 0.0;
2481                rel1 {
2482                   relative: 0.0 1.0;
2483                   offset: 0 0;
2484                   to_y: "top";
2485                }
2486                rel2 {
2487                   relative: 1.0 0.0;
2488                   offset: -1 -1;
2489                   to_y: "bottom";
2490                }
2491             }
2492             description {
2493                state: "shaded" 0.0;
2494                inherit: "default" 0.0;
2495                rel2 {
2496                   relative: 1.0 1.0;
2497                   offset: -1 -1;
2498                   to_y: "bottom";
2499                }
2500             }
2501             description {
2502                state: "max" 0.0;
2503                inherit: "default" 0.0;
2504                rel1 {
2505                   relative: 0.0 1.0;
2506                   offset: 0 0;
2507                   to_y: "top";
2508                }
2509                rel2 {
2510                   relative: 1.0 1.0;
2511                   offset: -1 -1;
2512                   to_y: "bottom";
2513                }
2514             }
2515          }
2516          part {
2517             name: "e.event.titlebar";
2518             type: RECT;
2519             description {
2520                state: "default" 0.0;
2521                rel1.to: "title_base";
2522                rel2.to: "title_base";
2523                color: 0 0 0 0;
2524             }
2525          }
2526          part {
2527             name: "e.event.resize.t";
2528             type: RECT;
2529             description {
2530                state: "default" 0.0;
2531                rel1 {
2532                   relative: 0.0 0.0;
2533                   offset: 0 0;
2534                }
2535                rel2 {
2536                   relative: 1.0 0.0;
2537                   offset: -1 3;
2538                }
2539                color: 0 0 0 0;
2540             }
2541             description {
2542                state: "shaded" 0.0;
2543                inherit: "default" 0.0;
2544                visible: 0;
2545             }
2546          }
2547          part {
2548             name: "e.event.resize.b";
2549             type: RECT;
2550             description {
2551                state: "default" 0.0;
2552                rel1 {
2553                   relative: 0.0 1.0;
2554                   offset: 0 -4;
2555                }
2556                rel2 {
2557                   relative: 1.0 1.0;
2558                   offset: -1 -1;
2559                }
2560                color: 0 0 0 0;
2561             }
2562             description {
2563                state: "shaded" 0.0;
2564                inherit: "default" 0.0;
2565                visible: 0;
2566             }
2567          }
2568          part {
2569             name: "e.event.resize.tl";
2570             type: RECT;
2571             description {
2572                state: "default" 0.0;
2573                rel1 {
2574                   relative: 0.0 0.0;
2575                   offset: 0 0;
2576                }
2577                rel2 {
2578                   relative: 0.0 0.0;
2579                   offset: 15 15;
2580                }
2581                color: 0 0 0 0;
2582             }
2583             description {
2584                state: "shaded" 0.0;
2585                inherit: "default" 0.0;
2586                visible: 0;
2587             }
2588          }
2589          part {
2590             name: "e.event.resize.tr";
2591             type: RECT;
2592             description {
2593                state: "default" 0.0;
2594                rel1 {
2595                   relative: 1.0 0.0;
2596                   offset: -16 0;
2597                }
2598                rel2 {
2599                   relative: 1.0 0.0;
2600                   offset: -1 15;
2601                }
2602                color: 0 0 0 0;
2603             }
2604             description {
2605                state: "shaded" 0.0;
2606                inherit: "default" 0.0;
2607                visible: 0;
2608             }
2609          }
2610          part {
2611             name: "e.event.resize.bl";
2612             type: RECT;
2613             description {
2614                state: "default" 0.0;
2615                rel1 {
2616                   relative: 0.0 1.0;
2617                   offset: 0 -16;
2618                }
2619                rel2 {
2620                   relative: 0.0 1.0;
2621                   offset: 15 -1;
2622                }
2623                color: 0 0 0 0;
2624             }
2625             description {
2626                state: "shaded" 0.0;
2627                inherit: "default" 0.0;
2628                visible: 0;
2629             }
2630          }
2631          part {
2632             name: "e.event.resize.br";
2633             type: RECT;
2634             description {
2635                state: "default" 0.0;
2636                rel1 {
2637                   relative: 1.0 1.0;
2638                   offset: -16 -16;
2639                }
2640                rel2 {
2641                   relative: 1.0 1.0;
2642                   offset: -1 -1;
2643                }
2644                color: 0 0 0 0;
2645             }
2646             description {
2647                state: "shaded" 0.0;
2648                inherit: "default" 0.0;
2649                visible: 0;
2650             }
2651          }
2652          part {
2653             name: "e.event.icon";
2654             type: RECT;
2655             description {
2656                state: "default" 0.0;
2657                rel1.to: "icon_area";
2658                rel2.to: "icon_area";
2659                color: 0 0 0 0;
2660             }
2661          }
2662          part {
2663             name: "e.event.close";
2664             type: RECT;
2665             description {
2666                state: "default" 0.0;
2667                rel1.to: "bt_close";
2668                rel2.to: "bt_close";
2669                color: 0 0 0 0;
2670             }
2671          }
2672          part {
2673             name: "e.event.minimize";
2674             type: RECT;
2675             description {
2676                state: "default" 0.0;
2677                rel1.to: "bt_min";
2678                rel2.to: "bt_min";
2679                color: 0 0 0 0;
2680             }
2681          }
2682          part {
2683             name: "e.event.maximize";
2684             type: RECT;
2685             description {
2686                state: "default" 0.0;
2687                rel1.to: "bt_max";
2688                rel2.to: "bt_max";
2689                color: 0 0 0 0;
2690             }
2691          }
2692       }
2693       programs {
2694          program {
2695             name: "focus_in";
2696             signal: "e,state,focused";
2697             source: "e";
2698             action: STATE_SET "focused" 0.0;
2699             transition: LINEAR 0.2;
2700             target: "title_back";
2701             target: "title2";
2702             target: "title_over";
2703             target: "buttons_foc";
2704             target: "buttons_unfoc";
2705             target: "e.text.title";
2706          }
2707          program {
2708             name: "focus_out";
2709             signal: "e,state,unfocused";
2710             source: "e";
2711             action: STATE_SET "default" 0.0;
2712             transition: LINEAR 0.2;
2713             target: "title_back";
2714             target: "title2";
2715             target: "title_over";
2716             target: "buttons_foc";
2717             target: "buttons_unfoc";
2718             target: "e.text.title";
2719          }
2720          program {
2721             name: "urgent";
2722             signal: "e,state,urgent";
2723             source: "e";
2724             action: STATE_SET "visible" 0.0;
2725             target: "urgent";
2726             target: "urgent2";
2727             transition: DECELERATE 0.5;
2728             after: "urgent2";
2729          }
2730          program {
2731             name: "urgent2";
2732             action: STATE_SET "faded" 0.0;
2733             target: "urgent2";
2734             transition: LINEAR 0.5;
2735             after: "urgent3";
2736          }
2737          program {
2738             name: "urgent3";
2739             action: STATE_SET "visible" 0.0;
2740             target: "urgent2";
2741             after: "urgent2";
2742          }
2743          program {
2744             name: "urgentw0";
2745             signal: "e,state,urgent";
2746             source: "e";
2747             action: STATE_SET "default" 0.0;
2748             target: "icon_area2";
2749             transition: DECELERATE 0.1;
2750             after: "urgentw1";
2751          }
2752          program {
2753             name: "urgentw1";
2754             action: STATE_SET "uw1" 0.0;
2755             target: "icon_area2";
2756             transition: DECELERATE 0.1;
2757             after: "urgentw2";
2758          }
2759          program {
2760             name: "urgentw2";
2761             action: STATE_SET "uw2" 0.0;
2762             target: "icon_area2";
2763             transition: DECELERATE 0.1;
2764             after: "urgentw3";
2765          }
2766          program {
2767             name: "urgentw3";
2768             action: STATE_SET "uw3" 0.0;
2769             target: "icon_area2";
2770             transition: DECELERATE 0.1;
2771             after: "urgentw4";
2772          }
2773          program {
2774             name: "urgentw4";
2775             action: STATE_SET "uw4" 0.0;
2776             target: "icon_area2";
2777             transition: DECELERATE 0.1;
2778             after: "urgentw0";
2779          }
2780          program {
2781             name: "not_urgent";
2782             signal: "e,state,not_urgent";
2783             source: "e";
2784             action: ACTION_STOP;
2785             target: "urgentw0";
2786             target: "urgentw1";
2787             target: "urgentw2";
2788             target: "urgentw3";
2789             target: "urgentw4";
2790             target: "urgent";
2791             target: "urgent2";
2792             target: "urgent3";
2793             after: "not_urgent2";
2794          }
2795          program {
2796             name: "not_urgent2";
2797             action: STATE_SET "default" 0.0;
2798             target: "urgent";
2799             target: "urgent2";
2800             target: "icon_area2";
2801          }
2802          program {
2803             name: "hung";
2804             signal: "e,state,hung";
2805             source: "e";
2806             /* FIXME: */
2807             action: STATE_SET "shrunk" 0.0;
2808             target: "e.swallow.icon";
2809             transition: DECELERATE 0.5;
2810          }
2811          program {
2812             name: "unhung";
2813             signal: "e,state,unhung";
2814             source: "e";
2815             /* FIXME: */
2816             action: ACTION_STOP;
2817             target: "busy_anim";
2818          }
2819          program {
2820             name: "unhung2";
2821             signal: "e,state,unhung";
2822             source: "e";
2823             /* FIXME: */
2824             action: STATE_SET "default" 0.0;
2825             target: "e.swallow.icon";
2826             target: "busy";
2827             transition: ACCELERATE 0.5;
2828          }
2829          program {
2830             name: "busy_anim";
2831             signal: "e,state,hung";
2832             source: "e";
2833             action: STATE_SET "visible" 0.0;
2834             transition: LINEAR 0.3333;
2835             target: "busy";
2836             after: "busy_anim";
2837          }
2838          program {
2839             name: "max_full";
2840             signal: "e,action,maximize,fullscreen";
2841             source: "e";
2842             action: STATE_SET "max" 0.0;
2843             target: "bottom";
2844             target: "e.swallow.client";
2845          }
2846          program {
2847             name: "unmax_full";
2848             signal: "e,action,unmaximize,fullscreen";
2849             source: "e";
2850             action: STATE_SET "default" 0.0;
2851             target: "bottom";
2852             target: "e.swallow.client";
2853          }
2854          program {
2855             name: "shade_end";
2856             signal: "e,state,shaded";
2857             source: "e";
2858             action: STATE_SET "shaded" 0.0;
2859             target: "bottom";
2860             target: "e.swallow.client";
2861             target: "e.event.resize.tl";
2862             target: "e.event.resize.tr";
2863             target: "e.event.resize.bl";
2864             target: "e.event.resize.br";
2865             target: "e.event.resize.t";
2866             target: "e.event.resize.b";
2867          }
2868          program {
2869             name: "unshade_start";
2870             signal: "e,state,unshading";
2871             source: "e";
2872             action: STATE_SET "default" 0.0;
2873             target: "bottom";
2874             target: "e.swallow.client";
2875             target: "e.event.resize.tl";
2876             target: "e.event.resize.tr";
2877             target: "e.event.resize.bl";
2878             target: "e.event.resize.br";
2879             target: "e.event.resize.t";
2880             target: "e.event.resize.b";
2881          }
2882          program {
2883             name: "resize_b_on";
2884             signal: "mouse,in";
2885             source: "e.event.resize.b";
2886             action: ACTION_STOP;
2887             target: "resize_b_on2";
2888             target: "resize_b_on3";
2889             after: "resize_b_on2";
2890          }
2891          program {
2892             name: "resize_b_on2";
2893             action: STATE_SET "default" 0.0;
2894             target: "resize_b";
2895             after: "resize_b_on3";
2896          }
2897          program {
2898             name: "resize_b_on3";
2899             action: STATE_SET "past" 0.0;
2900             transition: LINEAR 0.5;
2901             target: "resize_b";
2902             after: "resize_b_on2";
2903          }
2904          program {
2905             name: "resize_b_off";
2906             signal: "mouse,out";
2907             source: "e.event.resize.b";
2908             action: ACTION_STOP;
2909             target: "resize_b_on";
2910             target: "resize_b_on2";
2911             target: "resize_b_on3";
2912          }
2913          program {
2914             name: "icon_down";
2915             signal: "mouse,down,*";
2916             source: "e.event.icon";
2917             action: STATE_SET "active" 0.0;
2918             target: "icon_area";
2919          }
2920          program {
2921             name: "icon_up";
2922             signal: "mouse,up,*";
2923             source: "e.event.icon";
2924             action: STATE_SET "default" 0.0;
2925             target: "icon_area";
2926          }
2927          program {
2928             name: "bt_close_down";
2929             signal: "mouse,down,*";
2930             source: "e.event.close";
2931             action: STATE_SET "active" 0.0;
2932             target: "bt_close_unfoc";
2933             target: "bt_close_foc";
2934          }
2935          program {
2936             name: "bt_close_up";
2937             signal: "mouse,up,*";
2938             source: "e.event.close";
2939             action: STATE_SET "default" 0.0;
2940             target: "bt_close_unfoc";
2941             target: "bt_close_foc";
2942          }
2943          program {
2944             name: "bt_max_down";
2945             signal: "mouse,down,*";
2946             source: "e.event.maximize";
2947             action: STATE_SET "active" 0.0;
2948             target: "bt_max_unfoc";
2949             target: "bt_max_foc";
2950          }
2951          program {
2952             name: "bt_max_up";
2953             signal: "mouse,up,*";
2954             source: "e.event.maximize";
2955             action: STATE_SET "default" 0.0;
2956             target: "bt_max_unfoc";
2957             target: "bt_max_foc";
2958          }
2959          program {
2960             name: "bt_min_down";
2961             signal: "mouse,down,*";
2962             source: "e.event.minimize";
2963             action: STATE_SET "active" 0.0;
2964             target: "bt_min_unfoc";
2965             target: "bt_min_foc";
2966          }
2967          program {
2968             name: "bt_min_up";
2969             signal: "mouse,up,*";
2970             source: "e.event.minimize";
2971             action: STATE_SET "default" 0.0;
2972             target: "bt_min_unfoc";
2973             target: "bt_min_foc";
2974          }
2975       }
2976    }
2977    /*** NORESIZE WINDOW BORDER ***/
2978    group {
2979       name: "e/widgets/border/noresize/border";
2980       images {
2981          image: "bd_top.png" COMP;
2982          image: "bd_top_hilight.png" COMP;
2983          image: "bd_title_bg.png" COMP;
2984          image: "bd_title_over.png" COMP;
2985          image: "busy-1.png" COMP;
2986          image: "busy-2.png" COMP;
2987          image: "busy-3.png" COMP;
2988          image: "busy-4.png" COMP;
2989          image: "busy-5.png" COMP;
2990          image: "busy-6.png" COMP;
2991          image: "busy-7.png" COMP;
2992          image: "busy-8.png" COMP;
2993          image: "busy-9.png" COMP;
2994          image: "exclam.png" COMP;
2995          image: "bd_button_close_shadow.png" COMP;
2996          image: "bd_button_close_focused.png" COMP;
2997          image: "bd_button_close_unfocused.png" COMP;
2998          image: "bd_button_max_shadow.png" COMP;
2999          image: "bd_button_max_focused.png" COMP;
3000          image: "bd_button_max_unfocused.png" COMP;
3001          image: "bd_button_min_shadow.png" COMP;
3002          image: "bd_button_min_focused.png" COMP;
3003          image: "bd_button_min_unfocused.png" COMP;
3004       }
3005       parts {
3006          part {
3007             name: "top";
3008             mouse_events: 0;
3009             description {
3010                state: "default" 0.0;
3011                rel1 {
3012                   relative: 0.0 0.0;
3013                   offset: 0 0;
3014                }
3015                rel2 {
3016                   relative: 1.0 1.0;
3017                   offset: -1 -1;
3018                   to_y: "title_base";
3019                }
3020                color_class: "border_top";
3021                image {
3022                   normal: "bd_top.png";
3023                   border: 2 2 2 2;
3024                }
3025             }
3026          }
3027          part {
3028             name: "icon_area";
3029             type: RECT;
3030             description {
3031                state: "default" 0.0;
3032                visible: 0;
3033                align: 0.0 0.5;
3034                aspect: 1.0 1.0;
3035                aspect_preference: VERTICAL;
3036                rel1 {
3037                   relative: 0.0 0.0;
3038                   offset: 2 2;
3039                }
3040                rel2 {
3041                   relative: 0.0 1.0;
3042                   offset: 2 -3;
3043                   to_y: "title_base";
3044                }
3045             }
3046             description {
3047                state: "active" 0.0;
3048                inherit: "default" 0.0;
3049                rel1 {
3050                   offset: 2 3;
3051                }
3052                rel2 {
3053                   offset: 2 -2;
3054                }
3055             }
3056          }
3057          part {
3058             name: "icon_area2";
3059             type: RECT;
3060             description {
3061                state: "default" 0.0;
3062                visible: 0;
3063                rel1.to: "icon_area";
3064                rel2.to: "icon_area";
3065             }
3066             description {
3067                state: "uw0" 0.0;
3068                inherit: "default" 0.0;
3069                rel1.offset: -3 -2;
3070                rel2.offset: -4 -3;
3071             }
3072             description {
3073                state: "uw1" 0.0;
3074                inherit: "default" 0.0;
3075                rel1.offset: 5 -2;
3076                rel2.offset: 4 -3;
3077             }
3078             description {
3079                state: "uw2" 0.0;
3080                inherit: "default" 0.0;
3081                rel1.offset: -1 4;
3082                rel2.offset: -2 3;
3083             }
3084             description {
3085                state: "uw3" 0.0;
3086                inherit: "default" 0.0;
3087                rel1.offset: -2 -1;
3088                rel2.offset: -3 -2;
3089             }
3090             description {
3091                state: "uw4" 0.0;
3092                inherit: "default" 0.0;
3093                rel1.offset: -4 1;
3094                rel2.offset: -5 0;
3095             }
3096          }
3097          part {
3098             name: "busy";
3099             mouse_events: 0;
3100             description {
3101                state: "default" 0.0;
3102                visible: 0;
3103                color: 255 255 255 0;
3104                max: 32 32;
3105                aspect: 1.0 1.0;
3106                aspect_preference: BOTH;
3107                rel1.to: "icon_area";
3108                rel2.to: "icon_area";
3109                image {
3110                   tween: "busy-1.png";
3111                   tween: "busy-2.png";
3112                   tween: "busy-3.png";
3113                   tween: "busy-4.png";
3114                   tween: "busy-5.png";
3115                   tween: "busy-6.png";
3116                   tween: "busy-7.png";
3117                   tween: "busy-8.png";
3118                   normal: "busy-9.png";
3119                }
3120             }
3121             description {
3122                state: "visible" 0.0;
3123                inherit: "default" 0.0;
3124                visible: 1;
3125                color: 255 255 255 255;
3126             }
3127          }
3128          part {
3129             name: "e.swallow.icon";
3130             type: SWALLOW;
3131             description {
3132                state: "default" 0.0;
3133                aspect: 1.0 1.0;
3134                aspect_preference: BOTH;
3135                rel1.to: "icon_area2";
3136                rel2.to: "icon_area2";
3137             }
3138             description {
3139                state: "shrunk" 0.0;
3140                inherit: "default" 0.0;
3141                rel1.relative: 0.3 0.3;
3142                rel2.relative: 0.7 0.7;
3143             }
3144          }
3145          part {
3146             name: "urgent";
3147             mouse_events: 0;
3148             description {
3149                state: "default" 0.0;
3150                visible: 0;
3151                color: 255 255 255 0;
3152                aspect: 1.0 1.0;
3153                aspect_preference: BOTH;
3154                rel1.to: "icon_area";
3155                rel2.to: "icon_area";
3156                image.normal: "exclam.png";
3157             }
3158             description {
3159                state: "visible" 0.0;
3160                inherit: "default" 0.0;
3161                visible: 1;
3162                color: 255 255 255 255;
3163             }
3164          }
3165          part {
3166             name: "urgent2";
3167             mouse_events: 0;
3168             description {
3169                state: "default" 0.0;
3170                visible: 0;
3171                color: 255 255 255 0;
3172                aspect: 1.0 1.0;
3173                aspect_preference: BOTH;
3174                rel1.to: "icon_area";
3175                rel2.to: "icon_area";
3176                image.normal: "exclam.png";
3177             }
3178             description {
3179                state: "visible" 0.0;
3180                inherit: "default" 0.0;
3181                visible: 1;
3182                color: 255 255 255 255;
3183             }
3184             description {
3185                state: "faded" 0.0;
3186                inherit: "default" 0.0;
3187                rel1.relative: -1.0 -1.0;
3188                rel2.relative: 2.0 2.0;
3189                visible: 1;
3190                color: 255 255 255 0;
3191             }
3192          }
3193          part {
3194             name: "e.text.title";
3195             type: TEXT;
3196             mouse_events: 0;
3197             scale: 1;
3198             description {
3199                state: "default" 0.0;
3200                visible: 1;
3201                align: 0.0 0.0;
3202                rel1 {
3203                   relative: 1.0 0.0;
3204                   offset: 9 2;
3205                   to_x: "icon_area";
3206                }
3207                rel2 {
3208                   relative: 1.0 0.0;
3209                   offset: -8 2;
3210                   to_x: "title_base";
3211                }
3212                color_class: "border_title";
3213                text {
3214                   font: "Sans:style=Bold";
3215                   size: 10;
3216                   min: 0 1;
3217                   align: 0.0 0.0;
3218                   text_class: "title_bar";
3219                }
3220             }
3221             description {
3222                state: "focused" 0.0;
3223                inherit: "default" 0.0;
3224                visible: 0;
3225                color: 0 0 0 0;
3226             }
3227          }
3228          part {
3229             name: "bt_close";
3230             mouse_events: 0;
3231             description {
3232                state: "default" 0.0;
3233                align: 1.0 0.5;
3234                min: 22 22;
3235                max: 22 22;
3236                aspect: 1.0 1.0;
3237                aspect_preference: VERTICAL;
3238                rel1 {
3239                   relative: 1.0 0.0;
3240                   offset: -2 1;
3241                   to_x: "top";
3242                   to_y: "top";
3243                }
3244                rel2 {
3245                   relative: 1.0 1.0;
3246                   offset: -2 -2;
3247                   to_x: "top";
3248                   to_y: "top";
3249                }
3250                image.normal: "bd_button_close_shadow.png";
3251             }
3252          }
3253          part {
3254             name: "bt_max";
3255             mouse_events: 0;
3256             description {
3257                state: "default" 0.0;
3258                align: 1.0 0.5;
3259                min: 22 22;
3260                max: 22 22;
3261                aspect: 1.0 1.0;
3262                aspect_preference: VERTICAL;
3263                rel1 {
3264                   relative: 0.0 0.0;
3265                   offset: -2 1;
3266                   to_x: "bt_close";
3267                   to_y: "top";
3268                }
3269                rel2 {
3270                   relative: 0.0 1.0;
3271                   offset: -2 -2;
3272                   to_x: "bt_close";
3273                   to_y: "top";
3274                }
3275                image.normal: "bd_button_max_shadow.png";
3276             }
3277          }
3278          part {
3279             name: "bt_min";
3280             mouse_events: 0;
3281             description {
3282                state: "default" 0.0;
3283                align: 1.0 0.5;
3284                min: 22 22;
3285                max: 22 22;
3286                aspect: 1.0 1.0;
3287                aspect_preference: VERTICAL;
3288                rel1 {
3289                   relative: 0.0 0.0;
3290                   offset: -2 1;
3291                   to_x: "bt_max";
3292                   to_y: "top";
3293                }
3294                rel2 {
3295                   relative: 0.0 1.0;
3296                   offset: -2 -2;
3297                   to_x: "bt_max";
3298                   to_y: "top";
3299                }
3300                image.normal: "bd_button_min_shadow.png";
3301             }
3302          }
3303          part {
3304             name: "top_hilight";
3305             mouse_events: 0;
3306             description {
3307                state: "default" 0.0;
3308                rel1 {
3309                   relative: 0.0 0.0;
3310                   offset: 0 0;
3311                   to: "top";
3312                }
3313                rel2 {
3314                   relative: 1.0 0.5;
3315                   offset: -1 0;
3316                   to: "top";
3317                }
3318                color_class: "border_top_hilight";
3319                image {
3320                   normal: "bd_top_hilight.png";
3321                }
3322                fill.smooth: 0;
3323             }
3324          }
3325          part {
3326             name: "buttons_unfoc";
3327             type: RECT;
3328             description {
3329                state: "default" 0.0;
3330                visible: 1;
3331                color: 255 255 255 255;
3332             }
3333             description {
3334                state: "focused" 0.0;
3335                inherit: "default" 0.0;
3336                visible: 0;
3337                color: 255 255 255 0;
3338             }
3339          }
3340          part {
3341             name: "bt_close_unfoc";
3342             mouse_events: 0;
3343             clip_to: "buttons_unfoc";
3344             description {
3345                state: "default" 0.0;
3346                rel1.to: "bt_close";
3347                rel2.to: "bt_close";
3348                image.normal: "bd_button_close_unfocused.png";
3349             }
3350             description {
3351                state: "active" 0.0;
3352                inherit: "default" 0.0;
3353                rel1.offset: 0 1;
3354                rel2.offset: -1 0;
3355             }
3356          }
3357          part {
3358             name: "bt_max_unfoc";
3359             mouse_events: 0;
3360             clip_to: "buttons_unfoc";
3361             description {
3362                state: "default" 0.0;
3363                rel1.to: "bt_max";
3364                rel2.to: "bt_max";
3365                image.normal: "bd_button_max_unfocused.png";
3366             }
3367             description {
3368                state: "active" 0.0;
3369                inherit: "default" 0.0;
3370                rel1.offset: 0 1;
3371                rel2.offset: -1 0;
3372             }
3373          }
3374          part {
3375             name: "bt_min_unfoc";
3376             mouse_events: 0;
3377             clip_to: "buttons_unfoc";
3378             description {
3379                state: "default" 0.0;
3380                rel1.to: "bt_min";
3381                rel2.to: "bt_min";
3382                image.normal: "bd_button_min_unfocused.png";
3383             }
3384             description {
3385                state: "active" 0.0;
3386                inherit: "default" 0.0;
3387                rel1.offset: 0 1;
3388                rel2.offset: -1 0;
3389             }
3390          }
3391          part {
3392             name: "buttons_foc";
3393             type: RECT;
3394             description {
3395                state: "default" 0.0;
3396                visible: 0;
3397                color: 255 255 255 0;
3398             }
3399             description {
3400                state: "focused" 0.0;
3401                inherit: "default" 0.0;
3402                visible: 1;
3403                color: 255 255 255 255;
3404             }
3405          }
3406          part {
3407             name: "bt_close_foc";
3408             mouse_events: 0;
3409             clip_to: "buttons_foc";
3410             description {
3411                state: "default" 0.0;
3412                rel1.to: "bt_close";
3413                rel2.to: "bt_close";
3414                image.normal: "bd_button_close_focused.png";
3415             }
3416             description {
3417                state: "active" 0.0;
3418                inherit: "default" 0.0;
3419                rel1.offset: 0 1;
3420                rel2.offset: -1 0;
3421             }
3422          }
3423          part {
3424             name: "bt_max_foc";
3425             mouse_events: 0;
3426             clip_to: "buttons_foc";
3427             description {
3428                state: "default" 0.0;
3429                rel1.to: "bt_max";
3430                rel2.to: "bt_max";
3431                image.normal: "bd_button_max_focused.png";
3432             }
3433             description {
3434                state: "active" 0.0;
3435                inherit: "default" 0.0;
3436                rel1.offset: 0 1;
3437                rel2.offset: -1 0;
3438             }
3439          }
3440          part {
3441             name: "bt_min_foc";
3442             mouse_events: 0;
3443             clip_to: "buttons_foc";
3444             description {
3445                state: "default" 0.0;
3446                rel1.to: "bt_min";
3447                rel2.to: "bt_min";
3448                image.normal: "bd_button_min_focused.png";
3449             }
3450             description {
3451                state: "active" 0.0;
3452                inherit: "default" 0.0;
3453                rel1.offset: 0 1;
3454                rel2.offset: -1 0;
3455             }
3456          }
3457          part {
3458             name: "title_base";
3459             type: RECT;
3460             mouse_events: 0;
3461             description {
3462                state: "default" 0.0;
3463                visible: 0;
3464                rel1 {
3465                   relative: 1.0 0.0;
3466                   offset: 0 0;
3467                   to_x: "icon_area";
3468                }
3469                rel2 {
3470                   relative: 0.0 1.0;
3471                   offset: -3 4;
3472                   to_y: "e.text.title";
3473                   to_x: "bt_min";
3474                }
3475             }
3476          }
3477          part {
3478             name: "title_back";
3479             mouse_events: 0;
3480             description {
3481                state: "default" 0.0;
3482                visible: 0;
3483                rel1 {
3484                   to: "title_base";
3485                }
3486                rel2 {
3487                   to: "title_base";
3488                   relative: 1.0 0.0;
3489                }
3490                image {
3491                   normal: "bd_title_bg.png";
3492                   border: 7 7 2 7;
3493                }
3494                fill.smooth: 0;
3495             }
3496             description {
3497                state: "focused" 0.0;
3498                inherit: "default" 0.0;
3499                visible: 1;
3500                rel2 {
3501                   to: "title_base";
3502                   relative: 1.0 1.0;
3503                }
3504             }
3505          }
3506          part {
3507             name: "title2";
3508             type: TEXT;
3509             mouse_events: 0;
3510             scale: 1;
3511             effect: SOFT_SHADOW;
3512             description {
3513                state: "default" 0.0;
3514                visible: 0;
3515                align: 0.0 1.0;
3516                rel1 {
3517                   to_x: "e.text.title";
3518                   to_y: "title_back";
3519                   relative: 0.0 1.0;
3520                   offset: -1 0;
3521                }
3522                rel2 {
3523                   to_x: "e.text.title";
3524                   to_y: "title_back";
3525                   relative: 1.0 1.0;
3526                   offset: 0 1;
3527                }
3528                color_class: "border_title_active";
3529                text {
3530                   text_source: "e.text.title";
3531                   font: "Sans:style=Bold";
3532                   size: 10;
3533                   align: 0.0 0.0;
3534                   min: 0 1;
3535                   text_class: "title_bar";
3536                }
3537             }
3538             description {
3539                state: "focused" 0.0;
3540                inherit: "default" 0.0;
3541                visible: 1;
3542             }
3543          }
3544          part {
3545             name: "title_over";
3546             mouse_events: 0;
3547             description {
3548                state: "default" 0.0;
3549                visible: 0;
3550                rel1.to: "title_back";
3551                rel2.to: "title_back";
3552                image {
3553                   normal: "bd_title_over.png";
3554                   border: 7 7 2 7;
3555                }
3556                fill.smooth: 0;
3557             }
3558             description {
3559                state: "focused" 0.0;
3560                inherit: "default" 0.0;
3561                visible: 1;
3562             }
3563          }
3564          part {
3565             name: "e.swallow.client";
3566             type: SWALLOW;
3567             description {
3568                state: "default" 0.0;
3569                rel1 {
3570                   relative: 0.0 1.0;
3571                   offset: 0 0;
3572                   to_y: "top";
3573                }
3574                rel2 {
3575                   relative: 1.0 1.0;
3576                   offset: -1 -1;
3577                }
3578             }
3579             description {
3580                state: "shaded" 0.0;
3581                inherit: "default" 0.0;
3582                rel2 {
3583                   relative: 1.0 1.0;
3584                   offset: -1 -1;
3585                }
3586             }
3587             description {
3588                state: "max" 0.0;
3589                inherit: "default" 0.0;
3590                rel1 {
3591                   relative: 0.0 1.0;
3592                   offset: 0 0;
3593                   to_y: "top";
3594                }
3595                rel2 {
3596                   relative: 1.0 1.0;
3597                   offset: -1 -1;
3598                }
3599             }
3600          }
3601          part {
3602             name: "e.event.titlebar";
3603             type: RECT;
3604             description {
3605                state: "default" 0.0;
3606                rel1.to: "title_base";
3607                rel2.to: "title_base";
3608                color: 0 0 0 0;
3609             }
3610          }
3611          part {
3612             name: "e.event.icon";
3613             type: RECT;
3614             description {
3615                state: "default" 0.0;
3616                rel1.to: "icon_area";
3617                rel2.to: "icon_area";
3618                color: 0 0 0 0;
3619             }
3620          }
3621          part {
3622             name: "e.event.close";
3623             type: RECT;
3624             description {
3625                state: "default" 0.0;
3626                rel1.to: "bt_close";
3627                rel2.to: "bt_close";
3628                color: 0 0 0 0;
3629             }
3630          }
3631          part {
3632             name: "e.event.minimize";
3633             type: RECT;
3634             description {
3635                state: "default" 0.0;
3636                rel1.to: "bt_min";
3637                rel2.to: "bt_min";
3638                color: 0 0 0 0;
3639             }
3640          }
3641          part {
3642             name: "e.event.maximize";
3643             type: RECT;
3644             description {
3645                state: "default" 0.0;
3646                rel1.to: "bt_max";
3647                rel2.to: "bt_max";
3648                color: 0 0 0 0;
3649             }
3650          }
3651       }
3652       programs {
3653          program {
3654             name: "focus_in";
3655             signal: "e,state,focused";
3656             source: "e";
3657             action: STATE_SET "focused" 0.0;
3658             transition: LINEAR 0.2;
3659             target: "title_back";
3660             target: "title2";
3661             target: "title_over";
3662             target: "buttons_foc";
3663             target: "buttons_unfoc";
3664             target: "e.text.title";
3665          }
3666          program {
3667             name: "focus_out";
3668             signal: "e,state,unfocused";
3669             source: "e";
3670             action: STATE_SET "default" 0.0;
3671             transition: LINEAR 0.2;
3672             target: "title_back";
3673             target: "title2";
3674             target: "title_over";
3675             target: "buttons_foc";
3676             target: "buttons_unfoc";
3677             target: "e.text.title";
3678          }
3679          program {
3680             name: "urgent";
3681             signal: "e,state,urgent";
3682             source: "e";
3683             action: STATE_SET "visible" 0.0;
3684             target: "urgent";
3685             target: "urgent2";
3686             transition: DECELERATE 0.5;
3687             after: "urgent2";
3688          }
3689          program {
3690             name: "urgent2";
3691             action: STATE_SET "faded" 0.0;
3692             target: "urgent2";
3693             transition: LINEAR 0.5;
3694             after: "urgent3";
3695          }
3696          program {
3697             name: "urgent3";
3698             action: STATE_SET "visible" 0.0;
3699             target: "urgent2";
3700             after: "urgent2";
3701          }
3702          program {
3703             name: "urgentw0";
3704             signal: "e,state,urgent";
3705             source: "e";
3706             action: STATE_SET "default" 0.0;
3707             target: "icon_area2";
3708             transition: DECELERATE 0.1;
3709             after: "urgentw1";
3710          }
3711          program {
3712             name: "urgentw1";
3713             action: STATE_SET "uw1" 0.0;
3714             target: "icon_area2";
3715             transition: DECELERATE 0.1;
3716             after: "urgentw2";
3717          }
3718          program {
3719             name: "urgentw2";
3720             action: STATE_SET "uw2" 0.0;
3721             target: "icon_area2";
3722             transition: DECELERATE 0.1;
3723             after: "urgentw3";
3724          }
3725          program {
3726             name: "urgentw3";
3727             action: STATE_SET "uw3" 0.0;
3728             target: "icon_area2";
3729             transition: DECELERATE 0.1;
3730             after: "urgentw4";
3731          }
3732          program {
3733             name: "urgentw4";
3734             action: STATE_SET "uw4" 0.0;
3735             target: "icon_area2";
3736             transition: DECELERATE 0.1;
3737             after: "urgentw0";
3738          }
3739          program {
3740             name: "not_urgent";
3741             signal: "e,state,not_urgent";
3742             source: "e";
3743             action: ACTION_STOP;
3744             target: "urgentw0";
3745             target: "urgentw1";
3746             target: "urgentw2";
3747             target: "urgentw3";
3748             target: "urgentw4";
3749             target: "urgent";
3750             target: "urgent2";
3751             target: "urgent3";
3752             after: "not_urgent2";
3753          }
3754          program {
3755             name: "not_urgent2";
3756             action: STATE_SET "default" 0.0;
3757             target: "urgent";
3758             target: "urgent2";
3759             target: "icon_area2";
3760          }
3761          program {
3762             name: "hung";
3763             signal: "e,state,hung";
3764             source: "e";
3765             /* FIXME: */
3766             action: STATE_SET "shrunk" 0.0;
3767             target: "e.swallow.icon";
3768             transition: DECELERATE 0.5;
3769          }
3770          program {
3771             name: "unhung";
3772             signal: "e,state,unhung";
3773             source: "e";
3774             /* FIXME: */
3775             action: ACTION_STOP;
3776             target: "busy_anim";
3777          }
3778          program {
3779             name: "unhung2";
3780             signal: "e,state,unhung";
3781             source: "e";
3782             /* FIXME: */
3783             action: STATE_SET "default" 0.0;
3784             target: "e.swallow.icon";
3785             target: "busy";
3786             transition: ACCELERATE 0.5;
3787          }
3788          program {
3789             name: "busy_anim";
3790             signal: "e,state,hung";
3791             source: "e";
3792             action: STATE_SET "visible" 0.0;
3793             transition: LINEAR 0.3333;
3794             target: "busy";
3795             after: "busy_anim";
3796          }
3797          program {
3798             name: "max_full";
3799             signal: "e,action,maximize,fullscreen";
3800             source: "e";
3801             action: STATE_SET "max" 0.0;
3802             target: "e.swallow.client";
3803          }
3804          program {
3805             name: "unmax_full";
3806             signal: "e,action,unmaximize,fullscreen";
3807             source: "e";
3808             action: STATE_SET "default" 0.0;
3809             target: "e.swallow.client";
3810          }
3811          program {
3812             name: "shade_end";
3813             signal: "e,state,shaded";
3814             source: "e";
3815             action: STATE_SET "shaded" 0.0;
3816             target: "e.swallow.client";
3817          }
3818          program {
3819             name: "unshade_start";
3820             signal: "e,state,unshading";
3821             source: "e";
3822             action: STATE_SET "default" 0.0;
3823             target: "e.swallow.client";
3824          }
3825          program {
3826             name: "icon_down";
3827             signal: "mouse,down,*";
3828             source: "e.event.icon";
3829             action: STATE_SET "active" 0.0;
3830             target: "icon_area";
3831          }
3832          program {
3833             name: "icon_up";
3834             signal: "mouse,up,*";
3835             source: "e.event.icon";
3836             action: STATE_SET "default" 0.0;
3837             target: "icon_area";
3838          }
3839          program {
3840             name: "bt_close_down";
3841             signal: "mouse,down,*";
3842             source: "e.event.close";
3843             action: STATE_SET "active" 0.0;
3844             target: "bt_close_unfoc";
3845             target: "bt_close_foc";
3846          }
3847          program {
3848             name: "bt_close_up";
3849             signal: "mouse,up,*";
3850             source: "e.event.close";
3851             action: STATE_SET "default" 0.0;
3852             target: "bt_close_unfoc";
3853             target: "bt_close_foc";
3854          }
3855          program {
3856             name: "bt_max_down";
3857             signal: "mouse,down,*";
3858             source: "e.event.maximize";
3859             action: STATE_SET "active" 0.0;
3860             target: "bt_max_unfoc";
3861             target: "bt_max_foc";
3862          }
3863          program {
3864             name: "bt_max_up";
3865             signal: "mouse,up,*";
3866             source: "e.event.maximize";
3867             action: STATE_SET "default" 0.0;
3868             target: "bt_max_unfoc";
3869             target: "bt_max_foc";
3870          }
3871          program {
3872             name: "bt_min_down";
3873             signal: "mouse,down,*";
3874             source: "e.event.minimize";
3875             action: STATE_SET "active" 0.0;
3876             target: "bt_min_unfoc";
3877             target: "bt_min_foc";
3878          }
3879          program {
3880             name: "bt_min_up";
3881             signal: "mouse,up,*";
3882             source: "e.event.minimize";
3883             action: STATE_SET "default" 0.0;
3884             target: "bt_min_unfoc";
3885             target: "bt_min_foc";
3886          }
3887       }
3888    }
3889    /*** DIALOG WINDOW BORDER ***/
3890    group {
3891       name: "e/widgets/border/dialog/border";
3892       images {
3893          image: "bd_top.png" COMP;
3894          image: "bd_top_hilight.png" COMP;
3895          image: "bd_bottom.png" COMP;
3896          image: "bd_title_bg.png" COMP;
3897          image: "bd_title_over.png" COMP;
3898          image: "bd_resize_b.png" COMP;
3899          image: "busy-1.png" COMP;
3900          image: "busy-2.png" COMP;
3901          image: "busy-3.png" COMP;
3902          image: "busy-4.png" COMP;
3903          image: "busy-5.png" COMP;
3904          image: "busy-6.png" COMP;
3905          image: "busy-7.png" COMP;
3906          image: "busy-8.png" COMP;
3907          image: "busy-9.png" COMP;
3908          image: "exclam.png" COMP;
3909          image: "bd_button_close_shadow.png" COMP;
3910          image: "bd_button_close_focused.png" COMP;
3911          image: "bd_button_close_unfocused.png" COMP;
3912       }
3913       parts {
3914          part {
3915             name: "top";
3916             mouse_events: 0;
3917             description {
3918                state: "default" 0.0;
3919                rel1 {
3920                   relative: 0.0 0.0;
3921                   offset: 0 0;
3922                }
3923                rel2 {
3924                   relative: 1.0 1.0;
3925                   offset: -1 -1;
3926                   to_y: "title_base";
3927                }
3928                color_class: "border_top";
3929                image {
3930                   normal: "bd_top.png";
3931                   border: 2 2 2 2;
3932                }
3933             }
3934          }
3935          part {
3936             name: "bottom";
3937             mouse_events: 0;
3938             description {
3939                state: "default" 0.0;
3940                rel1 {
3941                   relative: 0.0 1.0;
3942                   offset: 0 -4;
3943                }
3944                rel2 {
3945                   relative: 1.0 1.0;
3946                   offset: -1 -1;
3947                }
3948                color_class: "border_bottom";
3949                image {
3950                   normal: "bd_bottom.png";
3951                   border: 2 2 0 0;
3952                }
3953             }
3954             description {
3955                state: "shaded" 0.0;
3956                inherit: "default" 0.0;
3957                visible: 0;
3958             }
3959             description {
3960                state: "max" 0.0;
3961                inherit: "default" 0.0;
3962                visible: 0;
3963             }
3964          }
3965          part {
3966             name: "icon_area";
3967             type: RECT;
3968             description {
3969                state: "default" 0.0;
3970                visible: 0;
3971                align: 0.0 0.5;
3972                aspect: 1.0 1.0;
3973                aspect_preference: VERTICAL;
3974                rel1 {
3975                   relative: 0.0 0.0;
3976                   offset: 2 2;
3977                }
3978                rel2 {
3979                   relative: 0.0 1.0;
3980                   offset: 2 -3;
3981                   to_y: "title_base";
3982                }
3983             }
3984             description {
3985                state: "active" 0.0;
3986                inherit: "default" 0.0;
3987                rel1 {
3988                   offset: 2 3;
3989                }
3990                rel2 {
3991                   offset: 2 -2;
3992                }
3993             }
3994          }
3995          part {
3996             name: "icon_area2";
3997             type: RECT;
3998             description {
3999                state: "default" 0.0;
4000                visible: 0;
4001                rel1.to: "icon_area";
4002                rel2.to: "icon_area";
4003             }
4004             description {
4005                state: "uw0" 0.0;
4006                inherit: "default" 0.0;
4007                rel1.offset: -3 -2;
4008                rel2.offset: -4 -3;
4009             }
4010             description {
4011                state: "uw1" 0.0;
4012                inherit: "default" 0.0;
4013                rel1.offset: 5 -2;
4014                rel2.offset: 4 -3;
4015             }
4016             description {
4017                state: "uw2" 0.0;
4018                inherit: "default" 0.0;
4019                rel1.offset: -1 4;
4020                rel2.offset: -2 3;
4021             }
4022             description {
4023                state: "uw3" 0.0;
4024                inherit: "default" 0.0;
4025                rel1.offset: -2 -1;
4026                rel2.offset: -3 -2;
4027             }
4028             description {
4029                state: "uw4" 0.0;
4030                inherit: "default" 0.0;
4031                rel1.offset: -4 1;
4032                rel2.offset: -5 0;
4033             }
4034          }
4035          part {
4036             name: "busy";
4037             mouse_events: 0;
4038             description {
4039                state: "default" 0.0;
4040                visible: 0;
4041                color: 255 255 255 0;
4042                max: 32 32;
4043                aspect: 1.0 1.0;
4044                aspect_preference: BOTH;
4045                rel1.to: "icon_area";
4046                rel2.to: "icon_area";
4047                image {
4048                   tween: "busy-1.png";
4049                   tween: "busy-2.png";
4050                   tween: "busy-3.png";
4051                   tween: "busy-4.png";
4052                   tween: "busy-5.png";
4053                   tween: "busy-6.png";
4054                   tween: "busy-7.png";
4055                   tween: "busy-8.png";
4056                   normal: "busy-9.png";
4057                }
4058             }
4059             description {
4060                state: "visible" 0.0;
4061                inherit: "default" 0.0;
4062                visible: 1;
4063                color: 255 255 255 255;
4064             }
4065          }
4066          part {
4067             name: "e.swallow.icon";
4068             type: SWALLOW;
4069             description {
4070                state: "default" 0.0;
4071                aspect: 1.0 1.0;
4072                aspect_preference: BOTH;
4073                rel1.to: "icon_area2";
4074                rel2.to: "icon_area2";
4075             }
4076             description {
4077                state: "shrunk" 0.0;
4078                inherit: "default" 0.0;
4079                rel1.relative: 0.3 0.3;
4080                rel2.relative: 0.7 0.7;
4081             }
4082          }
4083          part {
4084             name: "urgent";
4085             mouse_events: 0;
4086             description {
4087                state: "default" 0.0;
4088                visible: 0;
4089                color: 255 255 255 0;
4090                aspect: 1.0 1.0;
4091                aspect_preference: BOTH;
4092                rel1.to: "icon_area";
4093                rel2.to: "icon_area";
4094                image.normal: "exclam.png";
4095             }
4096             description {
4097                state: "visible" 0.0;
4098                inherit: "default" 0.0;
4099                visible: 1;
4100                color: 255 255 255 255;
4101             }
4102          }
4103          part {
4104             name: "urgent2";
4105             mouse_events: 0;
4106             description {
4107                state: "default" 0.0;
4108                visible: 0;
4109                color: 255 255 255 0;
4110                aspect: 1.0 1.0;
4111                aspect_preference: BOTH;
4112                rel1.to: "icon_area";
4113                rel2.to: "icon_area";
4114                image.normal: "exclam.png";
4115             }
4116             description {
4117                state: "visible" 0.0;
4118                inherit: "default" 0.0;
4119                visible: 1;
4120                color: 255 255 255 255;
4121             }
4122             description {
4123                state: "faded" 0.0;
4124                inherit: "default" 0.0;
4125                rel1.relative: -1.0 -1.0;
4126                rel2.relative: 2.0 2.0;
4127                visible: 1;
4128                color: 255 255 255 0;
4129             }
4130          }
4131          part {
4132             name: "e.text.title";
4133             type: TEXT;
4134             mouse_events: 0;
4135             scale: 1;
4136             description {
4137                state: "default" 0.0;
4138                visible: 1;
4139                align: 0.0 0.0;
4140                rel1 {
4141                   relative: 1.0 0.0;
4142                   offset: 9 2;
4143                   to_x: "icon_area";
4144                }
4145                rel2 {
4146                   relative: 1.0 0.0;
4147                   offset: -8 2;
4148                   to_x: "title_base";
4149                }
4150                color_class: "border_title";
4151                text {
4152                   font: "Sans:style=Bold";
4153                   size: 10;
4154                   min: 0 1;
4155                   align: 0.0 0.0;
4156                   text_class: "title_bar";
4157                }
4158             }
4159             description {
4160                state: "focused" 0.0;
4161                inherit: "default" 0.0;
4162                visible: 0;
4163                color: 0 0 0 0;
4164             }
4165          }
4166          part {
4167             name: "bt_close";
4168             mouse_events: 0;
4169             description {
4170                state: "default" 0.0;
4171                align: 1.0 0.5;
4172                min: 22 22;
4173                max: 22 22;
4174                aspect: 1.0 1.0;
4175                aspect_preference: VERTICAL;
4176                rel1 {
4177                   relative: 1.0 0.0;
4178                   offset: -2 1;
4179                   to_x: "top";
4180                   to_y: "top";
4181                }
4182                rel2 {
4183                   relative: 1.0 1.0;
4184                   offset: -2 -2;
4185                   to_x: "top";
4186                   to_y: "top";
4187                }
4188                image.normal: "bd_button_close_shadow.png";
4189             }
4190          }
4191          part {
4192             name: "top_hilight";
4193             mouse_events: 0;
4194             description {
4195                state: "default" 0.0;
4196                rel1 {
4197                   relative: 0.0 0.0;
4198                   offset: 0 0;
4199                   to: "top";
4200                }
4201                rel2 {
4202                   relative: 1.0 0.5;
4203                   offset: -1 0;
4204                   to: "top";
4205                }
4206                color_class: "border_top_hilight";
4207                image {
4208                   normal: "bd_top_hilight.png";
4209                }
4210                fill.smooth: 0;
4211             }
4212          }
4213          part {
4214             name: "buttons_unfoc";
4215             type: RECT;
4216             description {
4217                state: "default" 0.0;
4218                visible: 1;
4219                color: 255 255 255 255;
4220             }
4221             description {
4222                state: "focused" 0.0;
4223                inherit: "default" 0.0;
4224                visible: 0;
4225                color: 255 255 255 0;
4226             }
4227          }
4228          part {
4229             name: "bt_close_unfoc";
4230             mouse_events: 0;
4231             clip_to: "buttons_unfoc";
4232             description {
4233                state: "default" 0.0;
4234                rel1.to: "bt_close";
4235                rel2.to: "bt_close";
4236                image.normal: "bd_button_close_unfocused.png";
4237             }
4238             description {
4239                state: "active" 0.0;
4240                inherit: "default" 0.0;
4241                rel1.offset: 0 1;
4242                rel2.offset: -1 0;
4243             }
4244          }
4245          part {
4246             name: "buttons_foc";
4247             type: RECT;
4248             description {
4249                state: "default" 0.0;
4250                visible: 0;
4251                color: 255 255 255 0;
4252             }
4253             description {
4254                state: "focused" 0.0;
4255                inherit: "default" 0.0;
4256                visible: 1;
4257                color: 255 255 255 255;
4258             }
4259          }
4260          part {
4261             name: "bt_close_foc";
4262             mouse_events: 0;
4263             clip_to: "buttons_foc";
4264             description {
4265                state: "default" 0.0;
4266                rel1.to: "bt_close";
4267                rel2.to: "bt_close";
4268                image.normal: "bd_button_close_focused.png";
4269             }
4270             description {
4271                state: "active" 0.0;
4272                inherit: "default" 0.0;
4273                rel1.offset: 0 1;
4274                rel2.offset: -1 0;
4275             }
4276          }
4277          part {
4278             name: "title_base";
4279             type: RECT;
4280             mouse_events: 0;
4281             description {
4282                state: "default" 0.0;
4283                visible: 0;
4284                rel1 {
4285                   relative: 1.0 0.0;
4286                   offset: 0 0;
4287                   to_x: "icon_area";
4288                }
4289                rel2 {
4290                   relative: 0.0 1.0;
4291                   offset: -3 4;
4292                   to_y: "e.text.title";
4293                   to_x: "bt_close";
4294                }
4295             }
4296          }
4297          part {
4298             name: "title_back";
4299             mouse_events: 0;
4300             description {
4301                state: "default" 0.0;
4302                visible: 0;
4303                rel1 {
4304                   to: "title_base";
4305                }
4306                rel2 {
4307                   to: "title_base";
4308                   relative: 1.0 0.0;
4309                }
4310                image {
4311                   normal: "bd_title_bg.png";
4312                   border: 7 7 2 7;
4313                }
4314                fill.smooth: 0;
4315             }
4316             description {
4317                state: "focused" 0.0;
4318                inherit: "default" 0.0;
4319                visible: 1;
4320                rel2 {
4321                   to: "title_base";
4322                   relative: 1.0 1.0;
4323                }
4324             }
4325          }
4326          part {
4327             name: "title2";
4328             type: TEXT;
4329             mouse_events: 0;
4330             scale: 1;
4331             effect: SOFT_SHADOW;
4332             description {
4333                state: "default" 0.0;
4334                visible: 0;
4335                align: 0.0 1.0;
4336                rel1 {
4337                   to_x: "e.text.title";
4338                   to_y: "title_back";
4339                   relative: 0.0 1.0;
4340                   offset: -1 0;
4341                }
4342                rel2 {
4343                   to_x: "e.text.title";
4344                   to_y: "title_back";
4345                   relative: 1.0 1.0;
4346                   offset: 0 1;
4347                }
4348                color_class: "border_title_active";
4349                text {
4350                   text_source: "e.text.title";
4351                   font: "Sans:style=Bold";
4352                   size: 10;
4353                   align: 0.0 0.0;
4354                   min: 0 1;
4355                   text_class: "title_bar";
4356                }
4357             }
4358             description {
4359                state: "focused" 0.0;
4360                inherit: "default" 0.0;
4361                visible: 1;
4362             }
4363          }
4364          part {
4365             name: "title_over";
4366             mouse_events: 0;
4367             description {
4368                state: "default" 0.0;
4369                visible: 0;
4370                rel1.to: "title_back";
4371                rel2.to: "title_back";
4372                image {
4373                   normal: "bd_title_over.png";
4374                   border: 7 7 2 7;
4375                }
4376                fill.smooth: 0;
4377             }
4378             description {
4379                state: "focused" 0.0;
4380                inherit: "default" 0.0;
4381                visible: 1;
4382             }
4383          }
4384          part {
4385             name: "bottom_clip";
4386             type: RECT;
4387             description {
4388                state: "default" 0.0;
4389                rel1.to: "bottom";
4390                rel2.to: "bottom";
4391                color: 255 255 255 255;
4392             }
4393          }
4394          part {
4395             name: "resize_b";
4396             mouse_events: 0;
4397             clip_to: "bottom_clip";
4398             description {
4399                state: "default" 0.0;
4400                min: 20 10;
4401                max: 20 10;
4402                rel1 {
4403                   to: "bottom";
4404                   relative: 0.5 0.0;
4405                   offset: 0 -10;
4406                }
4407                rel2 {
4408                   to: "bottom";
4409                   relative: 0.5 0.0;
4410                   offset: 0 -1;
4411                }
4412                image {
4413                   normal: "bd_resize_b.png";
4414                }
4415             }
4416             description {
4417                state: "past" 0.0;
4418                inherit: "default" 0.0;
4419                rel1 {
4420                   relative: 0.5 1.0;
4421                   offset: 0 0;
4422                }
4423                rel2 {
4424                   relative: 0.5 1.0;
4425                   offset: 0 9;
4426                }
4427             }
4428          }
4429          part {
4430             name: "e.swallow.client";
4431             type: SWALLOW;
4432             description {
4433                state: "default" 0.0;
4434                rel1 {
4435                   relative: 0.0 1.0;
4436                   offset: 0 0;
4437                   to_y: "top";
4438                }
4439                rel2 {
4440                   relative: 1.0 0.0;
4441                   offset: -1 -1;
4442                   to_y: "bottom";
4443                }
4444             }
4445             description {
4446                state: "shaded" 0.0;
4447                inherit: "default" 0.0;
4448                rel2 {
4449                   relative: 1.0 1.0;
4450                   offset: -1 -1;
4451                   to_y: "bottom";
4452                }
4453             }
4454             description {
4455                state: "max" 0.0;
4456                inherit: "default" 0.0;
4457                rel1 {
4458                   relative: 0.0 1.0;
4459                   offset: 0 0;
4460                   to_y: "top";
4461                }
4462                rel2 {
4463                   relative: 1.0 1.0;
4464                   offset: -1 -1;
4465                   to_y: "bottom";
4466                }
4467             }
4468          }
4469          part {
4470             name: "e.event.titlebar";
4471             type: RECT;
4472             description {
4473                state: "default" 0.0;
4474                rel1.to: "title_base";
4475                rel2.to: "title_base";
4476                color: 0 0 0 0;
4477             }
4478          }
4479          part {
4480             name: "e.event.resize.t";
4481             type: RECT;
4482             description {
4483                state: "default" 0.0;
4484                rel1 {
4485                   relative: 0.0 0.0;
4486                   offset: 0 0;
4487                }
4488                rel2 {
4489                   relative: 1.0 0.0;
4490                   offset: -1 3;
4491                }
4492                color: 0 0 0 0;
4493             }
4494             description {
4495                state: "shaded" 0.0;
4496                inherit: "default" 0.0;
4497                visible: 0;
4498             }
4499          }
4500          part {
4501             name: "e.event.resize.b";
4502             type: RECT;
4503             description {
4504                state: "default" 0.0;
4505                rel1 {
4506                   relative: 0.0 1.0;
4507                   offset: 0 -4;
4508                }
4509                rel2 {
4510                   relative: 1.0 1.0;
4511                   offset: -1 -1;
4512                }
4513                color: 0 0 0 0;
4514             }
4515             description {
4516                state: "shaded" 0.0;
4517                inherit: "default" 0.0;
4518                visible: 0;
4519             }
4520          }
4521          part {
4522             name: "e.event.resize.tl";
4523             type: RECT;
4524             description {
4525                state: "default" 0.0;
4526                rel1 {
4527                   relative: 0.0 0.0;
4528                   offset: 0 0;
4529                }
4530                rel2 {
4531                   relative: 0.0 0.0;
4532                   offset: 15 15;
4533                }
4534                color: 0 0 0 0;
4535             }
4536             description {
4537                state: "shaded" 0.0;
4538                inherit: "default" 0.0;
4539                visible: 0;
4540             }
4541          }
4542          part {
4543             name: "e.event.resize.tr";
4544             type: RECT;
4545             description {
4546                state: "default" 0.0;
4547                rel1 {
4548                   relative: 1.0 0.0;
4549                   offset: -16 0;
4550                }
4551                rel2 {
4552                   relative: 1.0 0.0;
4553                   offset: -1 15;
4554                }
4555                color: 0 0 0 0;
4556             }
4557             description {
4558                state: "shaded" 0.0;
4559                inherit: "default" 0.0;
4560                visible: 0;
4561             }
4562          }
4563          part {
4564             name: "e.event.resize.bl";
4565             type: RECT;
4566             description {
4567                state: "default" 0.0;
4568                rel1 {
4569                   relative: 0.0 1.0;
4570                   offset: 0 -16;
4571                }
4572                rel2 {
4573                   relative: 0.0 1.0;
4574                   offset: 15 -1;
4575                }
4576                color: 0 0 0 0;
4577             }
4578             description {
4579                state: "shaded" 0.0;
4580                inherit: "default" 0.0;
4581                visible: 0;
4582             }
4583          }
4584          part {
4585             name: "e.event.resize.br";
4586             type: RECT;
4587             description {
4588                state: "default" 0.0;
4589                rel1 {
4590                   relative: 1.0 1.0;
4591                   offset: -16 -16;
4592                }
4593                rel2 {
4594                   relative: 1.0 1.0;
4595                   offset: -1 -1;
4596                }
4597                color: 0 0 0 0;
4598             }
4599             description {
4600                state: "shaded" 0.0;
4601                inherit: "default" 0.0;
4602                visible: 0;
4603             }
4604          }
4605          part {
4606             name: "e.event.icon";
4607             type: RECT;
4608             description {
4609                state: "default" 0.0;
4610                rel1.to: "icon_area";
4611                rel2.to: "icon_area";
4612                color: 0 0 0 0;
4613             }
4614          }
4615          part {
4616             name: "e.event.close";
4617             type: RECT;
4618             description {
4619                state: "default" 0.0;
4620                rel1.to: "bt_close";
4621                rel2.to: "bt_close";
4622                color: 0 0 0 0;
4623             }
4624          }
4625       }
4626       programs {
4627          program {
4628             name: "focus_in";
4629             signal: "e,state,focused";
4630             source: "e";
4631             action: STATE_SET "focused" 0.0;
4632             transition: LINEAR 0.2;
4633             target: "title_back";
4634             target: "title2";
4635             target: "title_over";
4636             target: "buttons_foc";
4637             target: "buttons_unfoc";
4638             target: "e.text.title";
4639          }
4640          program {
4641             name: "focus_out";
4642             signal: "e,state,unfocused";
4643             source: "e";
4644             action: STATE_SET "default" 0.0;
4645             transition: LINEAR 0.2;
4646             target: "title_back";
4647             target: "title2";
4648             target: "title_over";
4649             target: "buttons_foc";
4650             target: "buttons_unfoc";
4651             target: "e.text.title";
4652          }
4653          program {
4654             name: "urgent";
4655             signal: "e,state,urgent";
4656             source: "e";
4657             action: STATE_SET "visible" 0.0;
4658             target: "urgent";
4659             target: "urgent2";
4660             transition: DECELERATE 0.5;
4661             after: "urgent2";
4662          }
4663          program {
4664             name: "urgent2";
4665             action: STATE_SET "faded" 0.0;
4666             target: "urgent2";
4667             transition: LINEAR 0.5;
4668             after: "urgent3";
4669          }
4670          program {
4671             name: "urgent3";
4672             action: STATE_SET "visible" 0.0;
4673             target: "urgent2";
4674             after: "urgent2";
4675          }
4676          program {
4677             name: "urgentw0";
4678             signal: "e,state,urgent";
4679             source: "e";
4680             action: STATE_SET "default" 0.0;
4681             target: "icon_area2";
4682             transition: DECELERATE 0.1;
4683             after: "urgentw1";
4684          }
4685          program {
4686             name: "urgentw1";
4687             action: STATE_SET "uw1" 0.0;
4688             target: "icon_area2";
4689             transition: DECELERATE 0.1;
4690             after: "urgentw2";
4691          }
4692          program {
4693             name: "urgentw2";
4694             action: STATE_SET "uw2" 0.0;
4695             target: "icon_area2";
4696             transition: DECELERATE 0.1;
4697             after: "urgentw3";
4698          }
4699          program {
4700             name: "urgentw3";
4701             action: STATE_SET "uw3" 0.0;
4702             target: "icon_area2";
4703             transition: DECELERATE 0.1;
4704             after: "urgentw4";
4705          }
4706          program {
4707             name: "urgentw4";
4708             action: STATE_SET "uw4" 0.0;
4709             target: "icon_area2";
4710             transition: DECELERATE 0.1;
4711             after: "urgentw0";
4712          }
4713          program {
4714             name: "not_urgent";
4715             signal: "e,state,not_urgent";
4716             source: "e";
4717             action: ACTION_STOP;
4718             target: "urgentw0";
4719             target: "urgentw1";
4720             target: "urgentw2";
4721             target: "urgentw3";
4722             target: "urgentw4";
4723             target: "urgent";
4724             target: "urgent2";
4725             target: "urgent3";
4726             after: "not_urgent2";
4727          }
4728          program {
4729             name: "not_urgent2";
4730             action: STATE_SET "default" 0.0;
4731             target: "urgent";
4732             target: "urgent2";
4733             target: "icon_area2";
4734          }
4735          program {
4736             name: "hung";
4737             signal: "e,state,hung";
4738             source: "e";
4739             /* FIXME: */
4740             action: STATE_SET "shrunk" 0.0;
4741             target: "e.swallow.icon";
4742             transition: DECELERATE 0.5;
4743          }
4744          program {
4745             name: "unhung";
4746             signal: "e,state,unhung";
4747             source: "e";
4748             /* FIXME: */
4749             action: ACTION_STOP;
4750             target: "busy_anim";
4751          }
4752          program {
4753             name: "unhung2";
4754             signal: "e,state,unhung";
4755             source: "e";
4756             /* FIXME: */
4757             action: STATE_SET "default" 0.0;
4758             target: "e.swallow.icon";
4759             target: "busy";
4760             transition: ACCELERATE 0.5;
4761          }
4762          program {
4763             name: "busy_anim";
4764             signal: "e,state,hung";
4765             source: "e";
4766             action: STATE_SET "visible" 0.0;
4767             transition: LINEAR 0.3333;
4768             target: "busy";
4769             after: "busy_anim";
4770          }
4771          program {
4772             name: "max_full";
4773             signal: "e,action,maximize,fullscreen";
4774             source: "e";
4775             action: STATE_SET "max" 0.0;
4776             target: "bottom";
4777             target: "e.swallow.client";
4778          }
4779          program {
4780             name: "unmax_full";
4781             signal: "e,action,unmaximize,fullscreen";
4782             source: "e";
4783             action: STATE_SET "default" 0.0;
4784             target: "bottom";
4785             target: "e.swallow.client";
4786          }
4787          program {
4788             name: "shade_end";
4789             signal: "e,state,shaded";
4790             source: "e";
4791             action: STATE_SET "shaded" 0.0;
4792             target: "bottom";
4793             target: "e.swallow.client";
4794             target: "e.event.resize.tl";
4795             target: "e.event.resize.tr";
4796             target: "e.event.resize.bl";
4797             target: "e.event.resize.br";
4798             target: "e.event.resize.t";
4799             target: "e.event.resize.b";
4800          }
4801          program {
4802             name: "unshade_start";
4803             signal: "e,state,unshading";
4804             source: "e";
4805             action: STATE_SET "default" 0.0;
4806             target: "bottom";
4807             target: "e.swallow.client";
4808             target: "e.event.resize.tl";
4809             target: "e.event.resize.tr";
4810             target: "e.event.resize.bl";
4811             target: "e.event.resize.br";
4812             target: "e.event.resize.t";
4813             target: "e.event.resize.b";
4814          }
4815          program {
4816             name: "resize_b_on";
4817             signal: "mouse,in";
4818             source: "e.event.resize.b";
4819             action: ACTION_STOP;
4820             target: "resize_b_on2";
4821             target: "resize_b_on3";
4822             after: "resize_b_on2";
4823          }
4824          program {
4825             name: "resize_b_on2";
4826             action: STATE_SET "default" 0.0;
4827             target: "resize_b";
4828             after: "resize_b_on3";
4829          }
4830          program {
4831             name: "resize_b_on3";
4832             action: STATE_SET "past" 0.0;
4833             transition: LINEAR 0.5;
4834             target: "resize_b";
4835             after: "resize_b_on2";
4836          }
4837          program {
4838             name: "resize_b_off";
4839             signal: "mouse,out";
4840             source: "e.event.resize.b";
4841             action: ACTION_STOP;
4842             target: "resize_b_on";
4843             target: "resize_b_on2";
4844             target: "resize_b_on3";
4845          }
4846          program {
4847             name: "icon_down";
4848             signal: "mouse,down,*";
4849             source: "e.event.icon";
4850             action: STATE_SET "active" 0.0;
4851             target: "icon_area";
4852          }
4853          program {
4854             name: "icon_up";
4855             signal: "mouse,up,*";
4856             source: "e.event.icon";
4857             action: STATE_SET "default" 0.0;
4858             target: "icon_area";
4859          }
4860          program {
4861             name: "bt_close_down";
4862             signal: "mouse,down,*";
4863             source: "e.event.close";
4864             action: STATE_SET "active" 0.0;
4865             target: "bt_close_unfoc";
4866             target: "bt_close_foc";
4867          }
4868          program {
4869             name: "bt_close_up";
4870             signal: "mouse,up,*";
4871             source: "e.event.close";
4872             action: STATE_SET "default" 0.0;
4873             target: "bt_close_unfoc";
4874             target: "bt_close_foc";
4875          }
4876       }
4877    }
4878    /*** NORESIZE DIALOG WINDOW BORDER ***/
4879    group {
4880       name: "e/widgets/border/noresize_dialog/border";
4881       images {
4882          image: "bd_top.png" COMP;
4883          image: "bd_top_hilight.png" COMP;
4884          image: "bd_title_bg.png" COMP;
4885          image: "bd_title_over.png" COMP;
4886          image: "busy-1.png" COMP;
4887          image: "busy-2.png" COMP;
4888          image: "busy-3.png" COMP;
4889          image: "busy-4.png" COMP;
4890          image: "busy-5.png" COMP;
4891          image: "busy-6.png" COMP;
4892          image: "busy-7.png" COMP;
4893          image: "busy-8.png" COMP;
4894          image: "busy-9.png" COMP;
4895          image: "exclam.png" COMP;
4896          image: "bd_button_close_shadow.png" COMP;
4897          image: "bd_button_close_focused.png" COMP;
4898          image: "bd_button_close_unfocused.png" COMP;
4899       }
4900       parts {
4901          part {
4902             name: "top";
4903             mouse_events: 0;
4904             description {
4905                state: "default" 0.0;
4906                rel1 {
4907                   relative: 0.0 0.0;
4908                   offset: 0 0;
4909                }
4910                rel2 {
4911                   relative: 1.0 1.0;
4912                   offset: -1 -1;
4913                   to_y: "title_base";
4914                }
4915                color_class: "border_top";
4916                image {
4917                   normal: "bd_top.png";
4918                   border: 2 2 2 2;
4919                }
4920             }
4921          }
4922          part {
4923             name: "icon_area";
4924             type: RECT;
4925             description {
4926                state: "default" 0.0;
4927                visible: 0;
4928                align: 0.0 0.5;
4929                aspect: 1.0 1.0;
4930                aspect_preference: VERTICAL;
4931                rel1 {
4932                   relative: 0.0 0.0;
4933                   offset: 2 2;
4934                }
4935                rel2 {
4936                   relative: 0.0 1.0;
4937                   offset: 2 -3;
4938                   to_y: "title_base";
4939                }
4940             }
4941             description {
4942                state: "active" 0.0;
4943                inherit: "default" 0.0;
4944                rel1 {
4945                   offset: 2 3;
4946                }
4947                rel2 {
4948                   offset: 2 -2;
4949                }
4950             }
4951          }
4952          part {
4953             name: "icon_area2";
4954             type: RECT;
4955             description {
4956                state: "default" 0.0;
4957                visible: 0;
4958                rel1.to: "icon_area";
4959                rel2.to: "icon_area";
4960             }
4961             description {
4962                state: "uw0" 0.0;
4963                inherit: "default" 0.0;
4964                rel1.offset: -3 -2;
4965                rel2.offset: -4 -3;
4966             }
4967             description {
4968                state: "uw1" 0.0;
4969                inherit: "default" 0.0;
4970                rel1.offset: 5 -2;
4971                rel2.offset: 4 -3;
4972             }
4973             description {
4974                state: "uw2" 0.0;
4975                inherit: "default" 0.0;
4976                rel1.offset: -1 4;
4977                rel2.offset: -2 3;
4978             }
4979             description {
4980                state: "uw3" 0.0;
4981                inherit: "default" 0.0;
4982                rel1.offset: -2 -1;
4983                rel2.offset: -3 -2;
4984             }
4985             description {
4986                state: "uw4" 0.0;
4987                inherit: "default" 0.0;
4988                rel1.offset: -4 1;
4989                rel2.offset: -5 0;
4990             }
4991          }
4992          part {
4993             name: "busy";
4994             mouse_events: 0;
4995             description {
4996                state: "default" 0.0;
4997                visible: 0;
4998                color: 255 255 255 0;
4999                max: 32 32;
5000                aspect: 1.0 1.0;
5001                aspect_preference: BOTH;
5002                rel1.to: "icon_area";
5003                rel2.to: "icon_area";
5004                image {
5005                   tween: "busy-1.png";
5006                   tween: "busy-2.png";
5007                   tween: "busy-3.png";
5008                   tween: "busy-4.png";
5009                   tween: "busy-5.png";
5010                   tween: "busy-6.png";
5011                   tween: "busy-7.png";
5012                   tween: "busy-8.png";
5013                   normal: "busy-9.png";
5014                }
5015             }
5016             description {
5017                state: "visible" 0.0;
5018                inherit: "default" 0.0;
5019                visible: 1;
5020                color: 255 255 255 255;
5021             }
5022          }
5023          part {
5024             name: "e.swallow.icon";
5025             type: SWALLOW;
5026             description {
5027                state: "default" 0.0;
5028                aspect: 1.0 1.0;
5029                aspect_preference: BOTH;
5030                rel1.to: "icon_area2";
5031                rel2.to: "icon_area2";
5032             }
5033             description {
5034                state: "shrunk" 0.0;
5035                inherit: "default" 0.0;
5036                rel1.relative: 0.3 0.3;
5037                rel2.relative: 0.7 0.7;
5038             }
5039          }
5040          part {
5041             name: "urgent";
5042             mouse_events: 0;
5043             description {
5044                state: "default" 0.0;
5045                visible: 0;
5046                color: 255 255 255 0;
5047                aspect: 1.0 1.0;
5048                aspect_preference: BOTH;
5049                rel1.to: "icon_area";
5050                rel2.to: "icon_area";
5051                image.normal: "exclam.png";
5052             }
5053             description {
5054                state: "visible" 0.0;
5055                inherit: "default" 0.0;
5056                visible: 1;
5057                color: 255 255 255 255;
5058             }
5059          }
5060          part {
5061             name: "urgent2";
5062             mouse_events: 0;
5063             description {
5064                state: "default" 0.0;
5065                visible: 0;
5066                color: 255 255 255 0;
5067                aspect: 1.0 1.0;
5068                aspect_preference: BOTH;
5069                rel1.to: "icon_area";
5070                rel2.to: "icon_area";
5071                image.normal: "exclam.png";
5072             }
5073             description {
5074                state: "visible" 0.0;
5075                inherit: "default" 0.0;
5076                visible: 1;
5077                color: 255 255 255 255;
5078             }
5079             description {
5080                state: "faded" 0.0;
5081                inherit: "default" 0.0;
5082                rel1.relative: -1.0 -1.0;
5083                rel2.relative: 2.0 2.0;
5084                visible: 1;
5085                color: 255 255 255 0;
5086             }
5087          }
5088          part {
5089             name: "e.text.title";
5090             type: TEXT;
5091             mouse_events: 0;
5092             scale: 1;
5093             description {
5094                state: "default" 0.0;
5095                visible: 1;
5096                align: 0.0 0.0;
5097                rel1 {
5098                   relative: 1.0 0.0;
5099                   offset: 9 2;
5100                   to_x: "icon_area";
5101                }
5102                rel2 {
5103                   relative: 1.0 0.0;
5104                   offset: -8 2;
5105                   to_x: "title_base";
5106                }
5107                color_class: "border_title";
5108                text {
5109                   font: "Sans:style=Bold";
5110                   size: 10;
5111                   min: 0 1;
5112                   align: 0.0 0.0;
5113                   text_class: "title_bar";
5114                }
5115             }
5116             description {
5117                state: "focused" 0.0;
5118                inherit: "default" 0.0;
5119                visible: 0;
5120                color: 0 0 0 0;
5121             }
5122          }
5123          part {
5124             name: "bt_close";
5125             mouse_events: 0;
5126             description {
5127                state: "default" 0.0;
5128                align: 1.0 0.5;
5129                min: 22 22;
5130                max: 22 22;
5131                aspect: 1.0 1.0;
5132                aspect_preference: VERTICAL;
5133                rel1 {
5134                   relative: 1.0 0.0;
5135                   offset: -2 1;
5136                   to_x: "top";
5137                   to_y: "top";
5138                }
5139                rel2 {
5140                   relative: 1.0 1.0;
5141                   offset: -2 -2;
5142                   to_x: "top";
5143                   to_y: "top";
5144                }
5145                image.normal: "bd_button_close_shadow.png";
5146             }
5147          }
5148          part {
5149             name: "top_hilight";
5150             mouse_events: 0;
5151             description {
5152                state: "default" 0.0;
5153                rel1 {
5154                   relative: 0.0 0.0;
5155                   offset: 0 0;
5156                   to: "top";
5157                }
5158                rel2 {
5159                   relative: 1.0 0.5;
5160                   offset: -1 0;
5161                   to: "top";
5162                }
5163                color_class: "border_top_hilight";
5164                image {
5165                   normal: "bd_top_hilight.png";
5166                }
5167                fill.smooth: 0;
5168             }
5169          }
5170          part {
5171             name: "buttons_unfoc";
5172             type: RECT;
5173             description {
5174                state: "default" 0.0;
5175                visible: 1;
5176                color: 255 255 255 255;
5177             }
5178             description {
5179                state: "focused" 0.0;
5180                inherit: "default" 0.0;
5181                visible: 0;
5182                color: 255 255 255 0;
5183             }
5184          }
5185          part {
5186             name: "bt_close_unfoc";
5187             mouse_events: 0;
5188             clip_to: "buttons_unfoc";
5189             description {
5190                state: "default" 0.0;
5191                rel1.to: "bt_close";
5192                rel2.to: "bt_close";
5193                image.normal: "bd_button_close_unfocused.png";
5194             }
5195             description {
5196                state: "active" 0.0;
5197                inherit: "default" 0.0;
5198                rel1.offset: 0 1;
5199                rel2.offset: -1 0;
5200             }
5201          }
5202          part {
5203             name: "buttons_foc";
5204             type: RECT;
5205             description {
5206                state: "default" 0.0;
5207                visible: 0;
5208                color: 255 255 255 0;
5209             }
5210             description {
5211                state: "focused" 0.0;
5212                inherit: "default" 0.0;
5213                visible: 1;
5214                color: 255 255 255 255;
5215             }
5216          }
5217          part {
5218             name: "bt_close_foc";
5219             mouse_events: 0;
5220             clip_to: "buttons_foc";
5221             description {
5222                state: "default" 0.0;
5223                rel1.to: "bt_close";
5224                rel2.to: "bt_close";
5225                image.normal: "bd_button_close_focused.png";
5226             }
5227             description {
5228                state: "active" 0.0;
5229                inherit: "default" 0.0;
5230                rel1.offset: 0 1;
5231                rel2.offset: -1 0;
5232             }
5233          }
5234          part {
5235             name: "title_base";
5236             type: RECT;
5237             mouse_events: 0;
5238             description {
5239                state: "default" 0.0;
5240                visible: 0;
5241                rel1 {
5242                   relative: 1.0 0.0;
5243                   offset: 0 0;
5244                   to_x: "icon_area";
5245                }
5246                rel2 {
5247                   relative: 0.0 1.0;
5248                   offset: -3 4;
5249                   to_y: "e.text.title";
5250                   to_x: "bt_close";
5251                }
5252             }
5253          }
5254          part {
5255             name: "title_back";
5256             mouse_events: 0;
5257             description {
5258                state: "default" 0.0;
5259                visible: 0;
5260                rel1 {
5261                   to: "title_base";
5262                }
5263                rel2 {
5264                   to: "title_base";
5265                   relative: 1.0 0.0;
5266                }
5267                image {
5268                   normal: "bd_title_bg.png";
5269                   border: 7 7 2 7;
5270                }
5271                fill.smooth: 0;
5272             }
5273             description {
5274                state: "focused" 0.0;
5275                inherit: "default" 0.0;
5276                visible: 1;
5277                rel2 {
5278                   to: "title_base";
5279                   relative: 1.0 1.0;
5280                }
5281             }
5282          }
5283          part {
5284             name: "title2";
5285             type: TEXT;
5286             mouse_events: 0;
5287             scale: 1;
5288             effect: SOFT_SHADOW;
5289             description {
5290                state: "default" 0.0;
5291                visible: 0;
5292                align: 0.0 1.0;
5293                rel1 {
5294                   to_x: "e.text.title";
5295                   to_y: "title_back";
5296                   relative: 0.0 1.0;
5297                   offset: -1 0;
5298                }
5299                rel2 {
5300                   to_x: "e.text.title";
5301                   to_y: "title_back";
5302                   relative: 1.0 1.0;
5303                   offset: 0 1;
5304                }
5305                color_class: "border_title_active";
5306                text {
5307                   text_source: "e.text.title";
5308                   font: "Sans:style=Bold";
5309                   size: 10;
5310                   align: 0.0 0.0;
5311                   min: 0 1;
5312                   text_class: "title_bar";
5313                }
5314             }
5315             description {
5316                state: "focused" 0.0;
5317                inherit: "default" 0.0;
5318                visible: 1;
5319             }
5320          }
5321          part {
5322             name: "title_over";
5323             mouse_events: 0;
5324             description {
5325                state: "default" 0.0;
5326                visible: 0;
5327                rel1.to: "title_back";
5328                rel2.to: "title_back";
5329                image {
5330                   normal: "bd_title_over.png";
5331                   border: 7 7 2 7;
5332                }
5333                fill.smooth: 0;
5334             }
5335             description {
5336                state: "focused" 0.0;
5337                inherit: "default" 0.0;
5338                visible: 1;
5339             }
5340          }
5341          part {
5342             name: "e.swallow.client";
5343             type: SWALLOW;
5344             description {
5345                state: "default" 0.0;
5346                rel1 {
5347                   relative: 0.0 1.0;
5348                   offset: 0 0;
5349                   to_y: "top";
5350                }
5351                rel2 {
5352                   relative: 1.0 1.0;
5353                }
5354             }
5355             description {
5356                state: "shaded" 0.0;
5357                inherit: "default" 0.0;
5358                rel2 {
5359                   relative: 1.0 1.0;
5360                   offset: -1 -1;
5361                }
5362             }
5363             description {
5364                state: "max" 0.0;
5365                inherit: "default" 0.0;
5366                rel1 {
5367                   relative: 0.0 1.0;
5368                   offset: 0 0;
5369                   to_y: "top";
5370                }
5371                rel2 {
5372                   relative: 1.0 1.0;
5373                   offset: -1 -1;
5374                }
5375             }
5376          }
5377          part {
5378             name: "e.event.titlebar";
5379             type: RECT;
5380             description {
5381                state: "default" 0.0;
5382                rel1.to: "title_base";
5383                rel2.to: "title_base";
5384                color: 0 0 0 0;
5385             }
5386          }
5387          part {
5388             name: "e.event.icon";
5389             type: RECT;
5390             description {
5391                state: "default" 0.0;
5392                rel1.to: "icon_area";
5393                rel2.to: "icon_area";
5394                color: 0 0 0 0;
5395             }
5396          }
5397          part {
5398             name: "e.event.close";
5399             type: RECT;
5400             description {
5401                state: "default" 0.0;
5402                rel1.to: "bt_close";
5403                rel2.to: "bt_close";
5404                color: 0 0 0 0;
5405             }
5406          }
5407       }
5408       programs {
5409          program {
5410             name: "focus_in";
5411             signal: "e,state,focused";
5412             source: "e";
5413             action: STATE_SET "focused" 0.0;
5414             transition: LINEAR 0.2;
5415             target: "title_back";
5416             target: "title2";
5417             target: "title_over";
5418             target: "buttons_foc";
5419             target: "buttons_unfoc";
5420             target: "e.text.title";
5421          }
5422          program {
5423             name: "focus_out";
5424             signal: "e,state,unfocused";
5425             source: "e";
5426             action: STATE_SET "default" 0.0;
5427             transition: LINEAR 0.2;
5428             target: "title_back";
5429             target: "title2";
5430             target: "title_over";
5431             target: "buttons_foc";
5432             target: "buttons_unfoc";
5433             target: "e.text.title";
5434          }
5435          program {
5436             name: "urgent";
5437             signal: "e,state,urgent";
5438             source: "e";
5439             action: STATE_SET "visible" 0.0;
5440             target: "urgent";
5441             target: "urgent2";
5442             transition: DECELERATE 0.5;
5443             after: "urgent2";
5444          }
5445          program {
5446             name: "urgent2";
5447             action: STATE_SET "faded" 0.0;
5448             target: "urgent2";
5449             transition: LINEAR 0.5;
5450             after: "urgent3";
5451          }
5452          program {
5453             name: "urgent3";
5454             action: STATE_SET "visible" 0.0;
5455             target: "urgent2";
5456             after: "urgent2";
5457          }
5458          program {
5459             name: "urgentw0";
5460             signal: "e,state,urgent";
5461             source: "e";
5462             action: STATE_SET "default" 0.0;
5463             target: "icon_area2";
5464             transition: DECELERATE 0.1;
5465             after: "urgentw1";
5466          }
5467          program {
5468             name: "urgentw1";
5469             action: STATE_SET "uw1" 0.0;
5470             target: "icon_area2";
5471             transition: DECELERATE 0.1;
5472             after: "urgentw2";
5473          }
5474          program {
5475             name: "urgentw2";
5476             action: STATE_SET "uw2" 0.0;
5477             target: "icon_area2";
5478             transition: DECELERATE 0.1;
5479             after: "urgentw3";
5480          }
5481          program {
5482             name: "urgentw3";
5483             action: STATE_SET "uw3" 0.0;
5484             target: "icon_area2";
5485             transition: DECELERATE 0.1;
5486             after: "urgentw4";
5487          }
5488          program {
5489             name: "urgentw4";
5490             action: STATE_SET "uw4" 0.0;
5491             target: "icon_area2";
5492             transition: DECELERATE 0.1;
5493             after: "urgentw0";
5494          }
5495          program {
5496             name: "not_urgent";
5497             signal: "e,state,not_urgent";
5498             source: "e";
5499             action: ACTION_STOP;
5500             target: "urgentw0";
5501             target: "urgentw1";
5502             target: "urgentw2";
5503             target: "urgentw3";
5504             target: "urgentw4";
5505             target: "urgent";
5506             target: "urgent2";
5507             target: "urgent3";
5508             after: "not_urgent2";
5509          }
5510          program {
5511             name: "not_urgent2";
5512             action: STATE_SET "default" 0.0;
5513             target: "urgent";
5514             target: "urgent2";
5515             target: "icon_area2";
5516          }
5517          program {
5518             name: "hung";
5519             signal: "e,state,hung";
5520             source: "e";
5521             /* FIXME: */
5522             action: STATE_SET "shrunk" 0.0;
5523             target: "e.swallow.icon";
5524             transition: DECELERATE 0.5;
5525          }
5526          program {
5527             name: "unhung";
5528             signal: "e,state,unhung";
5529             source: "e";
5530             /* FIXME: */
5531             action: ACTION_STOP;
5532             target: "busy_anim";
5533          }
5534          program {
5535             name: "unhung2";
5536             signal: "e,state,unhung";
5537             source: "e";
5538             /* FIXME: */
5539             action: STATE_SET "default" 0.0;
5540             target: "e.swallow.icon";
5541             target: "busy";
5542             transition: ACCELERATE 0.5;
5543          }
5544          program {
5545             name: "busy_anim";
5546             signal: "e,state,hung";
5547             source: "e";
5548             action: STATE_SET "visible" 0.0;
5549             transition: LINEAR 0.3333;
5550             target: "busy";
5551             after: "busy_anim";
5552          }
5553          program {
5554             name: "max_full";
5555             signal: "e,action,maximize,fullscreen";
5556             source: "e";
5557             action: STATE_SET "max" 0.0;
5558             target: "e.swallow.client";
5559          }
5560          program {
5561             name: "unmax_full";
5562             signal: "e,action,unmaximize,fullscreen";
5563             source: "e";
5564             action: STATE_SET "default" 0.0;
5565             target: "e.swallow.client";
5566          }
5567          program {
5568             name: "shade_end";
5569             signal: "e,state,shaded";
5570             source: "e";
5571             action: STATE_SET "shaded" 0.0;
5572             target: "e.swallow.client";
5573          }
5574          program {
5575             name: "unshade_start";
5576             signal: "e,state,unshading";
5577             source: "e";
5578             action: STATE_SET "default" 0.0;
5579             target: "e.swallow.client";
5580          }
5581          program {
5582             name: "icon_down";
5583             signal: "mouse,down,*";
5584             source: "e.event.icon";
5585             action: STATE_SET "active" 0.0;
5586             target: "icon_area";
5587          }
5588          program {
5589             name: "icon_up";
5590             signal: "mouse,up,*";
5591             source: "e.event.icon";
5592             action: STATE_SET "default" 0.0;
5593             target: "icon_area";
5594          }
5595          program {
5596             name: "bt_close_down";
5597             signal: "mouse,down,*";
5598             source: "e.event.close";
5599             action: STATE_SET "active" 0.0;
5600             target: "bt_close_unfoc";
5601             target: "bt_close_foc";
5602          }
5603          program {
5604             name: "bt_close_up";
5605             signal: "mouse,up,*";
5606             source: "e.event.close";
5607             action: STATE_SET "default" 0.0;
5608             target: "bt_close_unfoc";
5609             target: "bt_close_foc";
5610          }
5611       }
5612    }
5613    /*** BONUS BORDERS TO CHOOSE FROM ***/
5614    group {
5615       name: "e/widgets/border/pixel/border";
5616       parts {
5617          part {
5618             name: "px1";
5619             type: RECT;
5620             description {
5621                state: "default" 0.0;
5622                rel1 {
5623                   relative: 0.0 0.0;
5624                   offset: 0 0;
5625                }
5626                rel2 {
5627                   relative: 1.0 0.0;
5628                   offset: -1 0;
5629                }
5630                color: 0 0 0 255;
5631             }
5632          }
5633          part {
5634             name: "px2";
5635             type: RECT;
5636             description {
5637                state: "default" 0.0;
5638                rel1 {
5639                   relative: 0.0 1.0;
5640                   offset: 0 -1;
5641                }
5642                rel2 {
5643                   relative: 1.0 1.0;
5644                   offset: -1 -1;
5645                }
5646                color: 0 0 0 255;
5647             }
5648          }
5649          part {
5650             name: "px3";
5651             type: RECT;
5652             description {
5653                state: "default" 0.0;
5654                rel1 {
5655                   relative: 0.0 0.0;
5656                   offset: 0 1;
5657                }
5658                rel2 {
5659                   relative: 0.0 1.0;
5660                   offset: 0 -2;
5661                }
5662                color: 0 0 0 255;
5663             }
5664          }
5665          part {
5666             name: "px4";
5667             type: RECT;
5668             description {
5669                state: "default" 0.0;
5670                rel1 {
5671                   relative: 1.0 0.0;
5672                   offset: -1 1;
5673                }
5674                rel2 {
5675                   relative: 1.0 1.0;
5676                   offset: -1 -2;
5677                }
5678                color: 0 0 0 255;
5679             }
5680          }
5681          part {
5682             name: "e.swallow.client";
5683             type: SWALLOW;
5684             description {
5685                state: "default" 0.0;
5686                rel1 {
5687                   relative: 0.0 0.0;
5688                   offset: 1 1;
5689                }
5690                rel2 {
5691                   relative: 1.0 1.0;
5692                   offset: -2 -2;
5693                }
5694             }
5695          }
5696       }
5697    }
5698
5699
5700 /////////////////////////////////////////////////////////////////////////////
5701 /*** THE DEFAULT MOUSE CURSOR - COLOR ***/
5702
5703    group {
5704       name: "e/pointer/enlightenment/default/color";
5705       images {
5706          image: "pointer.png" COMP;
5707          image: "pointer_glow.png" COMP;
5708          image: "pointer_glint_01.png" COMP;
5709          image: "pointer_glint_02.png" COMP;
5710          image: "pointer_glint_03.png" COMP;
5711          image: "pointer_glint_04.png" COMP;
5712          image: "pointer_glint_05.png" COMP;
5713          image: "pointer_glint_06.png" COMP;
5714          image: "pointer_glint_07.png" COMP;
5715          image: "pointer_glint_08.png" COMP;
5716          image: "pointer_glint_09.png" COMP;
5717          image: "pointer_glint_10.png" COMP;
5718          image: "pointer_glint_11.png" COMP;
5719          image: "pointer_glint_12.png" COMP;
5720       }
5721       parts {
5722          part {
5723             name: "base";
5724             mouse_events: 0;
5725             description {
5726                state: "default" 0.0;
5727                aspect: 0.71875 0.71875;
5728                /* force a specific aspect ratio so
5729                 * when it gets scaled it wont squash
5730                 * or stretch */
5731                aspect_preference: BOTH;
5732                /* both axes control aspect - thus it
5733                 * will be WITHIN the bounds the axes
5734                 * of thre part describe */
5735                image {
5736                   normal: "pointer.png";
5737                }
5738             }
5739          }
5740          part {
5741             name: "glow";
5742             /* this overlay is used to put a white glow
5743              * around the pointer, so when the pointer is
5744              * idle every now and again it will pulsate
5745              * with this glow to just remind you where the
5746              * pointer is (if you lose a black-ish
5747              * pointer on a black background) */
5748             mouse_events: 0;
5749             description {
5750                state: "default" 0.0;
5751                rel1.to: "base";
5752                rel2.to: "base";
5753                visible: 0;
5754                color: 255 255 255 0;
5755                image.normal: "pointer_glow.png";
5756             }
5757             description {
5758                state: "visible" 0.0;
5759                inherit: "default" 0.0;
5760                visible: 1;
5761                color: 255 255 255 255;
5762             }
5763          }
5764          part {
5765             name: "glint";
5766             /* this overlay flips a series of small images
5767              * over the pointer. they look like a white
5768              * light/refelection when put over the pointer
5769              * base image - and produce a "glinting" effect
5770              * when played back fast */
5771             mouse_events: 0;
5772             description {
5773                state: "default" 0.0;
5774                rel1.to: "base";
5775                rel2.to: "base";
5776                visible: 0;
5777                image.normal: "pointer_glint_12.png";
5778             }
5779             description {
5780                state: "visible" 0.0;
5781                inherit: "default" 0.0;
5782                visible: 1;
5783                image.tween: "pointer_glint_01.png";
5784                image.tween: "pointer_glint_02.png";
5785                image.tween: "pointer_glint_03.png";
5786                image.tween: "pointer_glint_04.png";
5787                image.tween: "pointer_glint_05.png";
5788                image.tween: "pointer_glint_06.png";
5789                image.tween: "pointer_glint_07.png";
5790                image.tween: "pointer_glint_08.png";
5791                image.tween: "pointer_glint_09.png";
5792                image.tween: "pointer_glint_10.png";
5793                image.tween: "pointer_glint_11.png";
5794                image.normal: "pointer_glint_12.png";
5795             }
5796          }
5797          part {
5798             name: "e.swallow.hotspot";
5799             /* this is a "fake" swallow part
5800              * that is used by e to determine
5801              * the pointer hotspot - or where
5802              * the actual mouse events get
5803              * reported from on the cursor */
5804             type: SWALLOW;
5805             description {
5806                state: "default" 0.0;
5807                visible: 0;
5808                rel1 {
5809                   /* the hotspot will scale with the cursor here */
5810                   to: "base";
5811                   relative: 0.27 0.125;
5812                   offset: 0 0;
5813                }
5814                rel2 {
5815                   to: "base";
5816                   relative: 0.27 0.125;
5817                   offset: 0 0;
5818                }
5819             }
5820          }
5821       }
5822       programs {
5823          program {
5824             name: "mouse_down";
5825             /* called every time e detects a mouse
5826              * press */
5827             signal: "e,action,mouse,down";
5828             source: "e";
5829             action: STATE_SET "visible" 0.0;
5830             transition: LINEAR 0.3;
5831             target: "glint";
5832             after: "mouse_down2";
5833          }
5834          program {
5835             name: "mouse_down2";
5836             action: STATE_SET "default" 0.0;
5837             target: "glint";
5838          }
5839          program {
5840             name: "mouse_idle";
5841             /* called when e thinks the mouse went
5842              * idle and isn't moving */
5843             signal: "e,state,mouse,idle";
5844             source: "e";
5845             action: STATE_SET "visible" 0.0;
5846             in: 5.0 0.0;
5847             transition: SINUSOIDAL 1.0;
5848             target: "glow";
5849             after: "mouse_idle2";
5850          }
5851          program {
5852             name: "mouse_idle2";
5853             action: STATE_SET "default" 0.0;
5854             transition: SINUSOIDAL 2.0;
5855             target: "glow";
5856             after: "mouse_idle";
5857          }
5858          program {
5859             name: "mouse_active";
5860             /* called when e sees the mouse become
5861              * active again */
5862             signal: "e,state,mouse,active";
5863             source: "e";
5864             action: STATE_SET "default" 0.0;
5865             target: "glow";
5866             after: "mouse_active2";
5867          }
5868          program {
5869             name: "mouse_active2";
5870             action: ACTION_STOP;
5871             target: "mouse_idle";
5872             target: "mouse_idle2";
5873          }
5874          // when mouse button is released. not used here
5875          //         program { name: "xx";
5876          //       signal: "e,action,mouse,up";
5877          //       source: "e";
5878          //    }
5879          // when mouse button is moved. not used here
5880          //         program { name: "xx";
5881          //       signal: "e,action,mouse,move";
5882          //       source: "e";
5883          //    }
5884          // when mouse wheel is scrolled. not used here
5885          //         program { name: "xx";
5886          //       signal: "e,action,mouse,wheel";
5887          //       source: "e";
5888          //    }
5889       }
5890    }
5891
5892
5893 /////////////////////////////////////////////////////////////////////////////
5894 /*** THE DEFAULT MOUSE CURSOR - MONOCHROME. REALLY BORING ***/
5895    /* This pointer is used if the Xserver does not support full ARGB color
5896     * pointers. This can happen if X is old or the driver or libxcursor did
5897     * not exist when ecore was compiled. since the cursor will be literally
5898     * reduced down to black and white with a single transparency mask,
5899     * colors other than black and whigte will be lost (and be approximated
5900     * with dithering) and any translucency other than completely opaque or
5901     * completely transparent pixels will also be lost. it then makes sense
5902     * to have a special black and white only image with no semi-transparency
5903     * so when this is displayed it will look directly as intended by the
5904     * artist */
5905
5906    group {
5907       name: "e/pointer/enlightenment/default/mono";
5908       images {
5909          image: "pointer_mono.png" COMP;
5910          /* a simple mono cursor image */
5911       }
5912       parts {
5913          part {
5914             name: "e/pointer";
5915             mouse_events: 0;
5916             description {
5917                state: "default" 0.0;
5918                image {
5919                   normal: "pointer_mono.png";
5920                }
5921             }
5922          }
5923          part {
5924             name: "hotspot";
5925             /* this cursor also has a hotspot */
5926             type: SWALLOW;
5927             description {
5928                state: "default" 0.0;
5929                visible: 0;
5930                rel1 {
5931                   relative: 0.0 0.0;
5932                   offset: 1 1;
5933                }
5934                rel2 {
5935                   relative: 0.0 0.0;
5936                   offset: 1 1;
5937                }
5938             }
5939          }
5940       }
5941    }
5942
5943
5944 /////////////////////////////////////////////////////////////////////////////
5945 /*** SLIDESEL */
5946
5947    /* this is a horizontal slide selector in e where you drag it horizontally
5948     * and different icons appear with text near it indicating what is
5949     * selected. not actually used anywhere, currently, but in e nevertheless */
5950
5951    group {
5952       name: "e/widgets/slidesel";
5953       images {
5954          image: "bt_dis_base.png" COMP;
5955          image: "bt_dis_hilight.png" COMP;
5956          image: "bt_dis_shine.png" COMP;
5957       }
5958       parts {
5959          part {
5960             name: "base";
5961             mouse_events: 1;
5962             description {
5963                state: "default" 0.0;
5964                rel1 {
5965                   to_y: "e.text.label";
5966                   relative: 0.0 1.0;
5967                   offset: 2 2;
5968                }
5969                rel2.offset: -3 -3;
5970                image {
5971                   normal: "bt_dis_base.png";
5972                   border: 4 4 4 4;
5973                }
5974             }
5975          }
5976          part {
5977             name: "clipper";
5978             type: RECT;
5979             mouse_events: 0;
5980             description {
5981                state: "default" 0.0;
5982                rel1 {
5983                   to: "base";
5984                   offset: 2 2;
5985                }
5986                rel2 {
5987                   to: "base";
5988                   offset: -3 -3;
5989                }
5990             }
5991          }
5992          part {
5993             name: "e.swallow.content";
5994             clip_to: "clipper";
5995             type: SWALLOW;
5996             description {
5997                state: "default" 0.0;
5998                rel1.to: "clipper";
5999                rel2.to: "clipper";
6000             }
6001          }
6002          part {
6003             name: "over2";
6004             mouse_events: 0;
6005             description {
6006                state: "default" 0.0;
6007                rel1.to: "base";
6008                rel2.to: "base";
6009                image {
6010                   normal: "bt_dis_shine.png";
6011                   border: 4 4 4 4;
6012                }
6013             }
6014          }
6015          part {
6016             name: "over1";
6017             mouse_events: 0;
6018             description {
6019                state: "default" 0.0;
6020                rel1.to: "base";
6021                rel2.to: "base";
6022                rel2.relative: 1.0 0.5;
6023                image {
6024                   normal: "bt_dis_hilight.png";
6025                   border: 4 4 4 0;
6026                }
6027             }
6028          }
6029          part {
6030             name: "e.text.label";
6031             type: TEXT;
6032             effect: SOFT_SHADOW;
6033             mouse_events: 0;
6034             description {
6035                state: "default" 0.0;
6036                align: 0.5 0.0;
6037                rel1 {
6038                   relative: 0.0 0.0;
6039                   offset: 2 2;
6040                }
6041                rel2 {
6042                   relative: 1.0 0.0;
6043                   offset: -3 2;
6044                }
6045                align: 0.0 0.0;
6046                color: 255 255 255 255;
6047                color3: 0 0 0 32;
6048                text {
6049                   font: "Sans:style=Bold";
6050                   size: 10;
6051                   min: 0 1;
6052                   align: 0.5 0.0;
6053                   text_class: "slidesel_label";
6054                }
6055             }
6056          }
6057       }
6058    }
6059
6060
6061 /////////////////////////////////////////////////////////////////////////////
6062 /*** TOOLBAR ****/
6063
6064    group {
6065       name: "e/widgets/toolbar";
6066       images {
6067          image: "bt_dis_base.png" COMP;
6068          image: "bt_dis_hilight.png" COMP;
6069          image: "bt_dis_shine.png" COMP;
6070          image: "icon_left_arrow.png" COMP;
6071          image: "icon_right_arrow.png" COMP;
6072       }
6073       parts {
6074          part {
6075             name: "base";
6076             mouse_events: 1;
6077             description {
6078                state: "default" 0.0;
6079                rel1 {
6080                   relative: 0.0 0.0;
6081                   offset: 2 2;
6082                }
6083                rel2.offset: -3 -3;
6084                image {
6085                   normal: "bt_dis_base.png";
6086                   border: 4 4 4 4;
6087                }
6088             }
6089          }
6090          part {
6091             name: "clipper";
6092             type: RECT;
6093             mouse_events: 0;
6094             description {
6095                state: "default" 0.0;
6096                rel1 {
6097                   to: "base";
6098                   offset: 2 2;
6099                }
6100                rel2 {
6101                   to: "base";
6102                   offset: -3 -3;
6103                }
6104             }
6105          }
6106          part {
6107             name: "e.swallow.content";
6108             clip_to: "clipper";
6109             type: SWALLOW;
6110             description {
6111                state: "default" 0.0;
6112                rel1.to: "clipper";
6113                rel2.to: "clipper";
6114             }
6115          }
6116          part {
6117             name: "over2";
6118             mouse_events: 0;
6119             description {
6120                state: "default" 0.0;
6121                rel1.to: "base";
6122                rel2.to: "base";
6123                image {
6124                   normal: "bt_dis_shine.png";
6125                   border: 4 4 4 4;
6126                }
6127             }
6128          }
6129          part {
6130             name: "over1";
6131             mouse_events: 0;
6132             description {
6133                state: "default" 0.0;
6134                rel1.to: "base";
6135                rel2.to: "base";
6136                rel2.relative: 1.0 0.5;
6137                image {
6138                   normal: "bt_dis_hilight.png";
6139                   border: 4 4 4 0;
6140                }
6141                color: 255 255 255 128;
6142             }
6143          }
6144          part {
6145             name: "left_arrow";
6146             mouse_events: 1;
6147             scale: 1;
6148             description {
6149                state: "default" 0.0;
6150                image.normal: "icon_left_arrow.png";
6151                aspect: 1.0 1.0;
6152                aspect_preference: VERTICAL;
6153                align: 0.0 0.5;
6154                min: 32 32;
6155                max: 32 32;
6156             }
6157             description {
6158                state: "hidden" 0.0;
6159                inherit: "default" 0.0;
6160                visible: 0;
6161                color: 255 255 255 0;
6162             }
6163          }
6164          part {
6165             name: "right_arrow";
6166             mouse_events: 1;
6167             scale: 1;
6168             description {
6169                state: "default" 0.0;
6170                image.normal: "icon_right_arrow.png";
6171                aspect: 1.0 1.0;
6172                aspect_preference: VERTICAL;
6173                align: 1.0 0.5;
6174                min: 32 32;
6175                max: 32 32;
6176             }
6177             description {
6178                state: "hidden" 0.0;
6179                inherit: "default" 0.0;
6180                visible: 0;
6181                color: 255 255 255 0;
6182             }
6183          }
6184          part {
6185             name: "e.dragable.hbar";
6186             mouse_events: 0;
6187             dragable {
6188                x: 1 1 0;
6189                y: 0 0 0;
6190                confine: "base";
6191             }
6192             description {
6193                state: "default" 0.0;
6194                visible: 0;
6195                rel1.to: "base";
6196                rel2.to: "base";
6197             }
6198          }
6199          part {
6200             name: "event";
6201             type: RECT;
6202             mouse_events: 1;
6203             repeat_events: 1;
6204             description {
6205                state: "default" 0.0;
6206                color: 0 0 0 0;
6207             }
6208          }
6209       }
6210       programs {
6211          program {
6212             name: "sb_hbar_show";
6213             signal: "e,action,show,hbar";
6214             source: "e";
6215             action: STATE_SET "default" 0.0;
6216             transition: LINEAR 0.5;
6217             target: "left_arrow";
6218             target: "right_arrow";
6219          }
6220          program {
6221             name: "sb_hbar_hide";
6222             signal: "e,action,hide,hbar";
6223             source: "e";
6224             action: STATE_SET "hidden" 0.0;
6225             target: "left_arrow";
6226             target: "right_arrow";
6227             transition: LINEAR 0.5;
6228          }
6229          program {
6230             name: "sb_left";
6231             signal: "mouse,down,1";
6232             source: "left_arrow";
6233             action: SIGNAL_EMIT "e,action,prev" "e";
6234             after: "sb_left_repeat";
6235          }
6236          program {
6237             name: "sb_left_repeat";
6238             action: SIGNAL_EMIT "e,action,prev" "e";
6239             in: 0.3 0.0;
6240             after: "sb_left_repeat";
6241          }
6242          program {
6243             name: "sb_left_repeat_stop";
6244             signal: "mouse,up,1";
6245             source: "left_arrow";
6246             action: ACTION_STOP;
6247             target: "sb_left_repeat";
6248          }
6249          program {
6250             name: "sb_right";
6251             signal: "mouse,down,1";
6252             source: "right_arrow";
6253             action: SIGNAL_EMIT "e,action,next" "e";
6254             after: "sb_right_repeat";
6255          }
6256          program {
6257             name: "sb_right_repeat";
6258             action: SIGNAL_EMIT "e,action,next" "e";
6259             in: 0.3 0.0;
6260             after: "sb_right_repeat";
6261          }
6262          program {
6263             name: "sb_right_repeat_stop";
6264             signal: "mouse,up,1";
6265             source: "right_arrow";
6266             action: ACTION_STOP;
6267             target: "sb_right_repeat";
6268          }
6269       }
6270    }
6271    group {
6272       name: "e/widgets/toolbar/item";
6273       images {
6274          image: "toolbar_sel.png" COMP;
6275       }
6276       parts {
6277          part {
6278             name: "label2";
6279             type: TEXT;
6280             mouse_events: 0;
6281             scale: 1;
6282             description {
6283                state: "default" 0.0;
6284                align: 0.5 1.0;
6285                fixed: 0 1;
6286                rel1.to: "e.text.label";
6287                rel2.to: "e.text.label";
6288                color: 0 0 0 255;
6289                text {
6290                   font: "Sans";
6291                   text_source: "e.text.label";
6292                   size: 10;
6293                   min: 1 1;
6294                   align: 0.5 0.5;
6295                   text_class: "fileman_icon";
6296                }
6297             }
6298             description {
6299                state: "selected" 0.0;
6300                inherit: "default" 0.0;
6301                visible: 0;
6302             }
6303          }
6304          part {
6305             name: "bg";
6306             mouse_events: 0;
6307             description {
6308                state: "default" 0.0;
6309                visible: 0;
6310                color: 255 255 255 0;
6311                image {
6312                   normal: "toolbar_sel.png";
6313                   border: 3 3 0 0;
6314                }
6315                fill.smooth: 0;
6316             }
6317             description {
6318                state: "selected" 0.0;
6319                inherit: "default" 0.0;
6320                visible: 1;
6321                color: 255 255 255 255;
6322             }
6323          }
6324          part {
6325             name: "e.swallow.icon";
6326             type: SWALLOW;
6327             description {
6328                state: "default" 0.0;
6329                align: 0.5 0.5;
6330                // aspect: 1.0 1.0;
6331                // aspect_preference: VERTICAL;
6332                rel1 {
6333                   relative: 0.0 0.0;
6334                   offset: 2 2;
6335                }
6336                rel2 {
6337                   to_y: "e.text.label";
6338                   relative: 1.0 0.0;
6339                   offset: -3 -1;
6340                }
6341                color: 0 0 0 0;
6342             }
6343          }
6344          part {
6345             name: "e.text.label";
6346             type: TEXT;
6347             effect: SOFT_SHADOW;
6348             mouse_events: 0;
6349             scale: 1;
6350             description {
6351                state: "default" 0.0;
6352                align: 0.5 1.0;
6353                fixed: 0 1;
6354                rel1 {
6355                   relative: 0.0 1.0;
6356                   offset: 0 2;
6357                }
6358                rel2 {
6359                   relative: 1.0 1.0;
6360                   offset: -1 -1;
6361                }
6362                visible: 0;
6363                color: 224 224 224 255;
6364                color3: 0 0 0 32;
6365                text {
6366                   font: "Sans:style=Bold";
6367                   size: 10;
6368                   min: 1 1;
6369                   align: 0.5 0.5;
6370                   text_class: "fileman_icon";
6371                }
6372             }
6373             description {
6374                state: "selected" 0.0;
6375                inherit: "default" 0.0;
6376                visible: 1;
6377             }
6378          }
6379          part {
6380             name: "event";
6381             type: RECT;
6382             mouse_events: 1;
6383             ignore_flags: ON_HOLD;
6384             description {
6385                state: "default" 0.0;
6386                color: 0 0 0 0;
6387             }
6388          }
6389       }
6390       programs {
6391          program {
6392             name: "go_active";
6393             signal: "e,state,selected";
6394             source: "e";
6395             action: STATE_SET "selected" 0.0;
6396             target: "bg";
6397             target: "e.text.label";
6398             target: "label2";
6399             transition: LINEAR 0.2;
6400          }
6401          program {
6402             name: "go_passive";
6403             signal: "e,state,unselected";
6404             source: "e";
6405             action: STATE_SET "default" 0.0;
6406             target: "bg";
6407             target: "e.text.label";
6408             target: "label2";
6409             transition: LINEAR 0.1;
6410          }
6411          program {
6412             name: "go";
6413             signal: "mouse,up,1";
6414             source: "event";
6415             action: SIGNAL_EMIT "e,action,click" "e";
6416          }
6417       }
6418    }
6419
6420
6421 /////////////////////////////////////////////////////////////////////////////
6422 /*** MENUS ***/
6423
6424    /* this is the background for all menus. it also may optionally display a
6425     * title for the menu. this is wrapped around all the menu items that are
6426     * laid out in a vertical list from top to bottom */
6427
6428    group {
6429       name: "e/widgets/menu/default/background";
6430       images {
6431          image: "base_bg.png" COMP;
6432          image: "bd_top_hilight.png" COMP;
6433          image: "bd_title_bg.png" COMP;
6434          image: "bd_title_over.png" COMP;
6435       }
6436       parts {
6437          part {
6438             name: "base";
6439             mouse_events: 0;
6440             description {
6441                state: "default" 0.0;
6442                align: 0.5 0.0;
6443                color_class: "menu_base";
6444                image {
6445                   normal: "base_bg.png";
6446                   border: 2 2 2 2;
6447                }
6448                fill.smooth: 0;
6449                /* note - a shortcut for avoiding doing
6450                 * fill { smooth: 0; } */
6451             }
6452          }
6453          part {
6454             name: "top_hilight";
6455             mouse_events: 0;
6456             description {
6457                state: "default" 0.0;
6458                rel1 {
6459                   relative: 0.0 0.0;
6460                   offset: 0 0;
6461                }
6462                rel2 {
6463                   relative: 1.0 0.0;
6464                   offset: -1 15;
6465                }
6466                image.normal: "bd_top_hilight.png";
6467                fill.smooth: 0;
6468             }
6469          }
6470          part {
6471             name: "title_back";
6472             mouse_events: 0;
6473             description {
6474                state: "default" 0.0;
6475                visible: 0;
6476                rel1 {
6477                   relative: 0.0 0.0;
6478                   offset: 4 0;
6479                }
6480                rel2 {
6481                   relative: 1.0 0.0;
6482                   offset: -5 0;
6483                }
6484                image {
6485                   normal: "bd_title_bg.png";
6486                   border: 7 7 2 7;
6487                }
6488                fill.smooth: 0;
6489             }
6490             description {
6491                state: "active" 0.0;
6492                inherit: "default" 0.0;
6493                visible: 1;
6494                rel1 {
6495                   relative: 0.0 0.0;
6496                   offset: 4 0;
6497                }
6498                rel2 {
6499                   to_y: "e.text.title";
6500                   relative: 1.0 1.0;
6501                   offset: -5 -4;
6502                }
6503             }
6504          }
6505          part {
6506             name: "e.text.title";
6507             /* e sets the text of this to the title
6508              * if there is any */
6509             type: TEXT;
6510             mouse_events: 0;
6511             scale: 1;
6512             effect: SOFT_SHADOW;
6513             description {
6514                state: "default" 0.0;
6515                fixed: 1 1;
6516                visible: 0;
6517                align: 0.5 0.0;
6518                rel1 {
6519                   relative: 0.0 0.0;
6520                   offset: 0 0;
6521                }
6522                rel2 {
6523                   relative: 1.0 0.0;
6524                   offset: -1 0;
6525                }
6526                color_class: "menu_title";
6527                text {
6528                   text_source: "e.text.title";
6529                   font: "Sans:style=Bold";
6530                   size: 10;
6531                   align: 0.5 0.0;
6532                   min: 0 0;
6533                   text_class: "menu_title";
6534                }
6535             }
6536             description {
6537                state: "active" 0.0;
6538                inherit: "default" 0.0;
6539                visible: 1;
6540                color_class: "menu_title_active";
6541                text.min: 1 1;
6542             }
6543          }
6544          part {
6545             name: "title_over";
6546             mouse_events: 0;
6547             description {
6548                state: "default" 0.0;
6549                visible: 0;
6550                rel1.to: "title_back";
6551                rel2.to: "title_back";
6552                image {
6553                   normal: "bd_title_over.png";
6554                   border: 7 7 2 7;
6555                }
6556                fill.smooth: 0;
6557             }
6558             description {
6559                state: "active" 0.0;
6560                inherit: "default" 0.0;
6561                visible: 1;
6562             }
6563          }
6564          part {
6565             name: "e.swallow.content";
6566             /* this swallow part determines
6567              * where in the menu the vertical
6568              * list of menu items is put */
6569             type: SWALLOW;
6570             description {
6571                state: "default" 0.0;
6572                rel1 {
6573                   to_y: "e.text.title";
6574                   relative: 0.0 1.0;
6575                   offset: 2 1;
6576                }
6577                rel2 {
6578                   relative: 1.0 1.0;
6579                   offset: -3 -3;
6580                }
6581             }
6582          }
6583       }
6584       programs {
6585          program {
6586             name: "on";
6587             /* this program is run when e emits a signal
6588              * to display a title. e will also set the
6589              * title text */
6590             signal: "e,action,show,title";
6591             source: "e";
6592             action: STATE_SET "active" 0.0;
6593             target: "title_back";
6594             target: "e.text.title";
6595             target: "title_over";
6596          }
6597          program {
6598             name: "off";
6599             /* run when the title is removed */
6600             signal: "e,action,hide,title";
6601             source: "e";
6602             action: STATE_SET "default" 0.0;
6603             target: "title_back";
6604             target: "e.text.title";
6605             target: "title_over";
6606          }
6607       }
6608    }
6609    /* this is placed as a horizontal separator between menu items in the
6610     * vertical menu item list. it has no functionality other than being
6611     * a visual separator */
6612    group {
6613       name: "e/widgets/menu/default/separator";
6614       images {
6615          image: "menu_sep.png" COMP;
6616       }
6617       parts {
6618          part {
6619             name: "separator";
6620             mouse_events: 0;
6621             description {
6622                state: "default" 0.0;
6623                min: 16 2;
6624                rel1.offset: 2 2;
6625                rel2.offset: -3 -3;
6626                image {
6627                   normal: "menu_sep.png";
6628                   border: 2 2 0 0;
6629                }
6630                fill.smooth: 0;
6631             }
6632          }
6633       }
6634    }
6635    /* this is used for regular menu items. this is what swallows/holds the
6636     * whole line of the menu item, icon, check/radio mark, label and submenu
6637     * indicator, where applicable */
6638    group {
6639       name: "e/widgets/menu/default/item_bg";
6640       /* this is idential to the regular menu item above, but used only for
6641        * items that have a submenu. this is to allow for a possible different
6642        * look for submenu holding items. here this is identical to to the
6643        * normal menu item, thus we are making use of the alias directive that
6644        * gives a group the ability to go by manu names */
6645       alias: "e/widgets/menu/default/submenu_bg";
6646       images {
6647          image: "menu_sel_bg.png" COMP;
6648          image: "menu_sel_fg.png" COMP;
6649       }
6650       parts {
6651          part {
6652             name: "bg";
6653             mouse_events: 0;
6654             description {
6655                state: "default" 0.0;
6656                visible: 0;
6657                color: 255 255 255 0;
6658                rel1 {
6659                   relative: 0.0 0.0;
6660                   offset: -5 -3;
6661                }
6662                rel2 {
6663                   relative: 1.0 1.0;
6664                   offset: 4 5;
6665                }
6666                image {
6667                   normal: "menu_sel_bg.png";
6668                   border: 8 8 5 9;
6669                }
6670             }
6671             description {
6672                state: "selected" 0.0;
6673                inherit: "default" 0.0;
6674                visible: 1;
6675                color: 255 255 255 255;
6676                rel1 {
6677                   relative: 0.0 0.0;
6678                   offset: -2 0;
6679                }
6680                rel2 {
6681                   relative: 1.0 1.0;
6682                   offset: 1 2;
6683                }
6684             }
6685          }
6686          part {
6687             name: "e.swallow.content";
6688             /* all item content will go here */
6689             type: SWALLOW;
6690             description {
6691                state: "default" 0.0;
6692                align: 0.0 0.0;
6693                rel1.offset: 2 1;
6694                rel2.offset: -3 -2;
6695             }
6696          }
6697          part {
6698             name: "fg";
6699             mouse_events: 0;
6700             description {
6701                state: "default" 0.0;
6702                visible: 0;
6703                color: 255 255 255 0;
6704                rel1.to: "bg";
6705                rel2.to: "bg";
6706                image {
6707                   normal: "menu_sel_fg.png";
6708                   border: 8 8 5 9;
6709                }
6710             }
6711             description {
6712                state: "selected" 0.0;
6713                inherit: "default" 0.0;
6714                visible: 1;
6715                color: 255 255 255 255;
6716             }
6717          }
6718       }
6719       programs {
6720          program {
6721             name: "sel";
6722             /* when the menu item is selected (hilighted)
6723              * this program is run to give the whole item
6724              * an overall selected look */
6725             signal: "e,state,selected";
6726             source: "e";
6727             action: STATE_SET "selected" 0.0;
6728             transition: LINEAR 0.2;
6729             target: "bg";
6730             target: "fg";
6731          }
6732          program {
6733             name: "unsel";
6734             /* when selection is removed from the menu
6735              * item */
6736             signal: "e,state,unselected";
6737             source: "e";
6738             action: STATE_SET "default" 0.0;
6739             transition: LINEAR 0.1;
6740             target: "bg";
6741             target: "fg";
6742          }
6743       }
6744    }
6745    /* this group holds a menu icon. here we just use it to add padding around
6746     * the icon. And to gray-out when disabled */
6747    group {
6748       name: "e/widgets/menu/default/icon";
6749       parts {
6750          part {
6751             name: "clip";
6752             type: RECT;
6753             description {
6754                min: 10 10;
6755                state: "default" 0.0;
6756                color: 255 255 255 255;
6757             }
6758             description {
6759                state: "disabled" 0.0;
6760                color: 255 255 255 128;
6761             }
6762          }
6763          part {
6764             name: "e.swallow.content";
6765             /* icon is swallowed here */
6766             type: SWALLOW;
6767             clip_to: "clip";
6768             description {
6769                state: "default" 0.0;
6770                min: 16 16;
6771                max: 24 24;
6772                fixed: 1 1;
6773                rel1 {
6774                   relative: 0.0 0.0;
6775                   offset: 2 2;
6776                }
6777                rel2 {
6778                   relative: 1.0 1.0;
6779                   offset: -3 -3;
6780                }
6781             }
6782          }
6783       }
6784       programs {
6785          program {
6786             name: "enable";
6787             /* enable */
6788             signal: "e,state,enable";
6789             source: "e";
6790             action: STATE_SET "default" 0.0;
6791             target: "clip";
6792          }
6793          program {
6794             name: "disable";
6795             /* disable */
6796             signal: "e,state,disable";
6797             source: "e";
6798             action: STATE_SET "disabled" 0.0;
6799             target: "clip";
6800          }
6801       }
6802    }
6803    /* this is the actual text label for the menu item */
6804    group {
6805       name: "e/widgets/menu/default/label";
6806       parts {
6807          part {
6808             name: "e.text.label";
6809             /* e sets the text of this */
6810             type: TEXT;
6811             effect: SOFT_SHADOW;
6812             mouse_events: 0;
6813             scale: 1;
6814             description {
6815                state: "default" 0.0;
6816                rel1 {
6817                   relative: 0.0 0.0;
6818                   offset: 1 -1;
6819                }
6820                rel2 {
6821                   relative: 1.0 1.0;
6822                   offset: -1 1;
6823                }
6824                color_class: "menu_item";
6825                text {
6826                   font: "Sans";
6827                   size: 10;
6828                   min: 1 1;
6829                   align: 0.0 0.5;
6830                   text_class: "menu_item";
6831                }
6832             }
6833             description {
6834                state: "selected" 0.0;
6835                inherit: "default" 0.0;
6836                color_class: "menu_item_active";
6837             }
6838             description {
6839                state: "disabled" 0.0;
6840                inherit: "default" 0.0;
6841                color_class: "menu_item_disabled";
6842             }
6843          }
6844       }
6845       programs {
6846          program {
6847             name: "sel";
6848             /* when the menu item is actually selected */
6849             signal: "e,state,selected";
6850             source: "e";
6851             action: STATE_SET "selected" 0.0;
6852             transition: LINEAR 0.2;
6853             target: "e.text.label";
6854          }
6855          program {
6856             name: "unsel";
6857             /* on de-select */
6858             signal: "e,state,unselected";
6859             source: "e";
6860             action: STATE_SET "default" 0.0;
6861             transition: LINEAR 0.3;
6862             target: "e.text.label";
6863          }
6864          program {
6865             name: "enable";
6866             /* enable */
6867             signal: "e,state,enable";
6868             source: "e";
6869             action: STATE_SET "default" 0.0;
6870             transition: LINEAR 0.3;
6871             target: "e.text.label";
6872          }
6873          program {
6874             name: "disable";
6875             /* disable */
6876             signal: "e,state,disable";
6877             source: "e";
6878             action: STATE_SET "disabled" 0.0;
6879             //transition: LINEAR 0.3;
6880             target: "e.text.label";
6881          }
6882       }
6883    }
6884    /* this is a small arrow on the right of the menu item to indicate that it
6885     * has a submenu after it */
6886    group {
6887       name: "e/widgets/menu/default/submenu";
6888       images {
6889          image: "menu_arrow_normal.png" COMP;
6890          image: "menu_arrow_sel.png" COMP;
6891       }
6892       parts {
6893          part {
6894             name: "arrow";
6895             mouse_events: 0;
6896             description {
6897                state: "default" 0.0;
6898                min: 9 12;
6899                max: 9 12;
6900                rel1 {
6901                   relative: 0.0 0.0;
6902                   offset: 4 1;
6903                }
6904                rel2 {
6905                   relative: 1.0 1.0;
6906                   offset: -3 -1;
6907                }
6908                image.normal: "menu_arrow_normal.png";
6909             }
6910             description {
6911                state: "selected" 0.0;
6912                inherit: "default" 0.0;
6913                image.normal: "menu_arrow_sel.png";
6914             }
6915          }
6916       }
6917       programs {
6918          program {
6919             name: "sel";
6920             signal: "e,state,selected";
6921             source: "e";
6922             action: STATE_SET "selected" 0.0;
6923             target: "arrow";
6924          }
6925          program {
6926             name: "unsel";
6927             signal: "e,state,unselected";
6928             source: "e";
6929             action: STATE_SET "default" 0.0;
6930             target: "arrow";
6931          }
6932       }
6933    }
6934    /* this is placed left of the icon in a menu item (if any icon) or left
6935     * of the label if no icon is present. this is a checkbox to indicate if
6936     * the menu item is enabled or disabled */
6937    group {
6938       name: "e/widgets/menu/default/check";
6939       images {
6940          image: "check_base.png" COMP;
6941          image: "check_on.png" COMP;
6942          image: "check_sel.png" COMP;
6943       }
6944       parts {
6945          part {
6946             name: "base";
6947             mouse_events: 0;
6948             scale: 1;
6949             description {
6950                state: "default" 0.0;
6951                min: 16 16;
6952                max: 16 16;
6953                image.normal: "check_base.png";
6954             }
6955          }
6956          part {
6957             name: "mark";
6958             mouse_events: 0;
6959             clip_to: "mark_hold";
6960             description {
6961                state: "default" 0.0;
6962                rel1.to: "mark_hold";
6963                rel2.to: "mark_hold";
6964                image.normal: "check_on.png";
6965             }
6966             description {
6967                state: "selected" 0.0;
6968                inherit: "default" 0.0;
6969                image.normal: "check_sel.png";
6970             }
6971          }
6972          part {
6973             name: "mark_hold";
6974             type: RECT;
6975             mouse_events: 0;
6976             description {
6977                state: "default" 0.0;
6978                visible: 0;
6979                color: 255 255 255 0;
6980                rel1 {
6981                   to: "base";
6982                   offset: -5 -5;
6983                }
6984                rel2 {
6985                   to: "base";
6986                   offset: 4 4;
6987                }
6988             }
6989             description {
6990                state: "on" 0.0;
6991                inherit: "default" 0.0;
6992                visible: 1;
6993                color: 255 255 255 255;
6994                rel1.offset: 0 0;
6995                rel2.offset: -1 -1;
6996             }
6997          }
6998       }
6999       programs {
7000          program {
7001             name: "sel";
7002             /* on selection of the menu item */
7003             signal: "e,state,selected";
7004             source: "e";
7005             action: STATE_SET "selected" 0.0;
7006             target: "mark";
7007          }
7008          program {
7009             name: "unsel";
7010             /* de-select */
7011             signal: "e,state,unselected";
7012             source: "e";
7013             action: STATE_SET "default" 0.0;
7014             target: "mark";
7015          }
7016          program {
7017             name: "on";
7018             /* if the checkmark is to be displayed */
7019             signal: "e,state,on";
7020             source: "e";
7021             action: STATE_SET "on" 0.0;
7022             transition: LINEAR 0.15;
7023             target: "mark_hold";
7024          }
7025          program {
7026             name: "off";
7027             /* check mark is not to be displayed */
7028             signal: "e,state,off";
7029             source: "e";
7030             action: STATE_SET "default" 0.0;
7031             transition: LINEAR 0.2;
7032             target: "mark_hold";
7033          }
7034       }
7035    }
7036    /* for a radio menu item - same as check, but only one of a group of radio
7037     * menu item can be selected at any one time */
7038    group {
7039       name: "e/widgets/menu/default/radio";
7040       images {
7041          image: "radio_base.png" COMP;
7042          image: "radio_on.png" COMP;
7043          image: "radio_sel.png" COMP;
7044       }
7045       parts {
7046          part {
7047             name: "base";
7048             mouse_events: 0;
7049             scale: 1;
7050             description {
7051                state: "default" 0.0;
7052                min: 16 16;
7053                max: 16 16;
7054                image.normal: "radio_base.png";
7055             }
7056             description {
7057                state: "selected" 0.0;
7058                inherit: "default" 0.0;
7059                image.normal: "menu_arrow_sel.png";
7060             }
7061          }
7062          part {
7063             name: "mark";
7064             mouse_events: 0;
7065             clip_to: "mark_hold";
7066             description {
7067                state: "default" 0.0;
7068                rel1.to: "mark_hold";
7069                rel2.to: "mark_hold";
7070                image.normal: "radio_on.png";
7071             }
7072             description {
7073                state: "selected" 0.0;
7074                inherit: "default" 0.0;
7075                image.normal: "radio_sel.png";
7076             }
7077          }
7078          part {
7079             name: "mark_hold";
7080             type: RECT;
7081             mouse_events: 0;
7082             description {
7083                state: "default" 0.0;
7084                visible: 0;
7085                color: 255 255 255 0;
7086                rel1 {
7087                   to: "base";
7088                   offset: -5 -5;
7089                }
7090                rel2 {
7091                   to: "base";
7092                   offset: 4 4;
7093                }
7094             }
7095             description {
7096                state: "on" 0.0;
7097                inherit: "default" 0.0;
7098                visible: 1;
7099                color: 255 255 255 255;
7100                rel1.offset: 0 0;
7101                rel2.offset: -1 -1;
7102             }
7103          }
7104       }
7105       programs {
7106          program {
7107             name: "sel";
7108             signal: "e,state,selected";
7109             source: "e";
7110             action: STATE_SET "selected" 0.0;
7111             target: "mark";
7112          }
7113          program {
7114             name: "unsel";
7115             signal: "e,state,unselected";
7116             source: "e";
7117             action: STATE_SET "default" 0.0;
7118             target: "mark";
7119          }
7120          program {
7121             name: "on";
7122             signal: "e,state,on";
7123             source: "e";
7124             action: STATE_SET "on" 0.0;
7125             transition: LINEAR 0.15;
7126             target: "mark_hold";
7127          }
7128          program {
7129             name: "off";
7130             signal: "e,state,off";
7131             source: "e";
7132             action: STATE_SET "default" 0.0;
7133             transition: LINEAR 0.2;
7134             target: "mark_hold";
7135          }
7136       }
7137    }
7138
7139
7140 /////////////////////////////////////////////////////////////////////////////
7141 /*** SHELF ***/
7142
7143    /* Shelves are "panels" that  are placed around the edges of the screen
7144     * to hold useful gadgets to control things - like switch desktops
7145     * (the pager module and its gadget), launch programs, and anything else
7146     * someone wants to put in there. The way to add gadgets to a shelf is to
7147     * write a module that places a gadget there. This means that it might end
7148     * up containing all sorts of things and the artist needs to be aware of
7149     * that and make sure the shelf border and background etc. won't interfere
7150     * with all manner of things that may get placed there */
7151
7152    group {
7153       name: "e/shelf/default/base";
7154       data {
7155          /* this tells e the shelf is shaped, not rectangular */
7156          //    item: "shaped" "1";
7157          /* this tells e the number of pixels of the shelf to leave "exposed"
7158           * when auto-hiding the shelf */
7159          item: "hidden_state_size" "1";
7160          /* This makes the border hide instantly after the given amount of
7161           * seconds - in this case 3 seconds. This means there will be no
7162           * visible part of the shelf after this time at all as it will be
7163           * totally hidden */
7164          //    item: "instant_delay" "3.0";
7165       }
7166       images {
7167          image: "base_bg.png" COMP;
7168       }
7169       parts {
7170          part {
7171             name: "base";
7172             mouse_events: 0;
7173             description {
7174                state: "default" 0.0;
7175                color_class: "shelf_base";
7176                image.normal: "base_bg.png";
7177                image.border: 2 2 2 2;
7178                fill.smooth: 0;
7179             }
7180          }
7181          part {
7182             name: "e.swallow.content";
7183             type: SWALLOW;
7184             description {
7185                state: "default" 0.0;
7186                rel1 {
7187                   relative: 0.0 0.0;
7188                   offset: 3 3;
7189                }
7190                rel2 {
7191                   relative: 1.0 1.0;
7192                   offset: -4 -4;
7193                }
7194             }
7195          }
7196       }
7197       programs {
7198          // tell us what oriantation we are in. not used here
7199          //      program { name: "xx";
7200          //    signal: "e,state,orientation,top";
7201          //    source: "e";
7202          //      }
7203          // tell us what oriantation we are in. not used here
7204          //      program { name: "xx";
7205          //    signal: "e,state,orientation,top_left";
7206          //    source: "e";
7207          //      }
7208          // tell us what oriantation we are in. not used here
7209          //      program { name: "xx";
7210          //    signal: "e,state,orientation,top_right";
7211          //    source: "e";
7212          //      }
7213          // tell us what oriantation we are in. not used here
7214          //      program { name: "xx";
7215          //    signal: "e,state,orientation,bottom";
7216          //    source: "e";
7217          //      }
7218          // tell us what oriantation we are in. not used here
7219          //      program { name: "xx";
7220          //    signal: "e,state,orientation,bottom_left";
7221          //    source: "e";
7222          //      }
7223          // tell us what oriantation we are in. not used here
7224          //      program { name: "xx";
7225          //    signal: "e,state,orientation,bottom_right";
7226          //    source: "e";
7227          //      }
7228          // tell us what oriantation we are in. not used here
7229          //      program { name: "xx";
7230          //    signal: "e,state,orientation,left";
7231          //    source: "e";
7232          //      }
7233          // tell us what oriantation we are in. not used here
7234          //      program { name: "xx";
7235          //    signal: "e,state,orientation,left_top";
7236          //    source: "e";
7237          //      }
7238          // tell us what oriantation we are in. not used here
7239          //      program { name: "xx";
7240          //    signal: "e,state,orientation,left_bottom";
7241          //    source: "e";
7242          //      }
7243          // tell us what oriantation we are in. not used here
7244          //      program { name: "xx";
7245          //    signal: "e,state,orientation,right";
7246          //    source: "e";
7247          //      }
7248          // tell us what oriantation we are in. not used here
7249          //      program { name: "xx";
7250          //    signal: "e,state,orientation,right_top";
7251          //    source: "e";
7252          //      }
7253          // tell us what oriantation we are in. not used here
7254          //      program { name: "xx";
7255          //    signal: "e,state,orientation,right_bottom";
7256          //    source: "e";
7257          //      }
7258          // tell us we became a visible shelf. not used here
7259          //      program { name: "xx";
7260          //    signal: "e,state,visible";
7261          //    source: "e";
7262          //      }
7263          // tell us we became a hidden shelf. not used here
7264          //      program { name: "xx";
7265          //    signal: "e,state,hidden";
7266          //    source: "e";
7267          //      }
7268       }
7269    }
7270    /* This is put around gadgets in the shelf if they ask for an "inset" style
7271     * framing. This puts some sort of bordering around them to make them look
7272     * "inset" into the shelf or screen. this is meant to go with the default
7273     * shelf style as implied in the group name */
7274    group {
7275       name: "e/shelf/default/inset";
7276       images {
7277          image: "inset_sunk.png" COMP;
7278       }
7279       parts {
7280          part {
7281             name: "base";
7282             type: RECT;
7283             description {
7284                state: "default" 0.0;
7285                rel1 {
7286                   to: "inset";
7287                   offset: 1 1;
7288                }
7289                rel2 {
7290                   to: "inset";
7291                   offset: -2 -2;
7292                }
7293                color: 255 255 255 255;
7294             }
7295          }
7296          part {
7297             name: "clip";
7298             type: RECT;
7299             description {
7300                state: "default" 0.0;
7301                rel1.to: "base";
7302                rel2.to: "base";
7303                color: 255 255 255 255;
7304             }
7305          }
7306          part {
7307             name: "e.swallow.content";
7308             type: SWALLOW;
7309             clip_to: "clip";
7310             description {
7311                state: "default" 0.0;
7312                rel1 {
7313                   to: "base";
7314                   offset: 1 1;
7315                }
7316                rel2 {
7317                   to: "base";
7318                   offset: -2 -2;
7319                }
7320             }
7321          }
7322          part {
7323             name: "inset";
7324             mouse_events: 0;
7325             description {
7326                state: "default" 0.0;
7327                rel1.offset: 1 1;
7328                rel2.offset: -2 -2;
7329                image.normal: "inset_sunk.png";
7330                image.middle: 0;
7331                /* here we say the "middle" part of the image
7332                 * between the borders is not filled - it's
7333                 * empty, so don't draw it - ignore it */
7334                image.border: 7 7 7 7;
7335                fill.smooth: 0;
7336             }
7337          }
7338       }
7339       programs {
7340          // tell us what oriantation we are in. not used here
7341          //      program { name: "xx";
7342          //    signal: "e,state,orientation,top";
7343          //    source: "e";
7344          //      }
7345          // tell us what oriantation we are in. not used here
7346          //      program { name: "xx";
7347          //    signal: "e,state,orientation,top_left";
7348          //    source: "e";
7349          //      }
7350          // tell us what oriantation we are in. not used here
7351          //      program { name: "xx";
7352          //    signal: "e,state,orientation,top_right";
7353          //    source: "e";
7354          //      }
7355          // tell us what oriantation we are in. not used here
7356          //      program { name: "xx";
7357          //    signal: "e,state,orientation,bottom";
7358          //    source: "e";
7359          //      }
7360          // tell us what oriantation we are in. not used here
7361          //      program { name: "xx";
7362          //    signal: "e,state,orientation,bottom_left";
7363          //    source: "e";
7364          //      }
7365          // tell us what oriantation we are in. not used here
7366          //      program { name: "xx";
7367          //    signal: "e,state,orientation,bottom_right";
7368          //    source: "e";
7369          //      }
7370          // tell us what oriantation we are in. not used here
7371          //      program { name: "xx";
7372          //    signal: "e,state,orientation,left";
7373          //    source: "e";
7374          //      }
7375          // tell us what oriantation we are in. not used here
7376          //      program { name: "xx";
7377          //    signal: "e,state,orientation,left_top";
7378          //    source: "e";
7379          //      }
7380          // tell us what oriantation we are in. not used here
7381          //      program { name: "xx";
7382          //    signal: "e,state,orientation,left_bottom";
7383          //    source: "e";
7384          //      }
7385          // tell us what oriantation we are in. not used here
7386          //      program { name: "xx";
7387          //    signal: "e,state,orientation,right";
7388          //    source: "e";
7389          //      }
7390          // tell us what oriantation we are in. not used here
7391          //      program { name: "xx";
7392          //    signal: "e,state,orientation,right_top";
7393          //    source: "e";
7394          //      }
7395          // tell us what oriantation we are in. not used here
7396          //      program { name: "xx";
7397          //    signal: "e,state,orientation,right_bottom";
7398          //    source: "e";
7399          //      }
7400       }
7401    }
7402    /* Same as inset, but meant to be with no decorations that are visible. here
7403     * we simply make the content swallow inset a bit from the edges to align
7404     * with any plain style inset boxes */
7405    group {
7406       name: "e/shelf/default/plain";
7407       parts {
7408          part {
7409             name: "clip";
7410             type: RECT;
7411             description {
7412                state: "default" 0.0;
7413                color: 255 255 255 255;
7414             }
7415          }
7416          part {
7417             name: "e.swallow.content";
7418             type: SWALLOW;
7419             clip_to: "clip";
7420             description {
7421                state: "default" 0.0;
7422                rel1.offset: 1 1;
7423                rel2.offset: -2 -2;
7424             }
7425          }
7426       }
7427    }
7428    /* This is the "invisible" shelf. Yes. Even it has visual config in edje.
7429     * The idea is that it will remain invisible, BUT will allow the designer
7430     * to do some layout and padding. This gets the same signals as the
7431     * default shelf and can provide the same data items */
7432    group {
7433       name: "e/shelf/invisible/base";
7434       data.item: "shaped" "1";
7435       parts {
7436          part {
7437             name: "e.swallow.content";
7438             type: SWALLOW;
7439             description {
7440                state: "default" 0.0;
7441                rel1 {
7442                   relative: 0.0 0.0;
7443                   offset: 0 0;
7444                }
7445                rel2 {
7446                   relative: 1.0 1.0;
7447                   offset: -1 -1;
7448                }
7449             }
7450          }
7451       }
7452    }
7453    group {
7454       name: "e/shelf/invisible/inset";
7455       images {
7456          image: "inset_sunk_dark.png" COMP;
7457       }
7458       parts {
7459          part {
7460             name: "base";
7461             type: RECT;
7462             description {
7463                state: "default" 0.0;
7464                rel1 {
7465                   to: "inset";
7466                   offset: 1 1;
7467                }
7468                rel2 {
7469                   to: "inset";
7470                   offset: -2 -2;
7471                }
7472                color: 0 0 0 32;
7473             }
7474          }
7475          part {
7476             name: "clip";
7477             type: RECT;
7478             description {
7479                state: "default" 0.0;
7480                rel1.to: "base";
7481                rel2.to: "base";
7482                color: 255 255 255 255;
7483             }
7484          }
7485          part {
7486             name: "e.swallow.content";
7487             type: SWALLOW;
7488             clip_to: "clip";
7489             description {
7490                state: "default" 0.0;
7491                rel1 {
7492                   to: "base";
7493                   offset: 1 1;
7494                }
7495                rel2 {
7496                   to: "base";
7497                   offset: -2 -2;
7498                }
7499             }
7500          }
7501          part {
7502             name: "inset";
7503             mouse_events: 0;
7504             description {
7505                state: "default" 0.0;
7506                rel1.offset: 1 1;
7507                rel2.offset: -2 -2;
7508                image.normal: "inset_sunk_dark.png";
7509                image.middle: 0;
7510                image.border: 7 7 7 7;
7511                fill.smooth: 0;
7512             }
7513          }
7514       }
7515    }
7516    group {
7517       name: "e/shelf/invisible/plain";
7518       parts {
7519          part {
7520             name: "clip";
7521             type: RECT;
7522             description {
7523                state: "default" 0.0;
7524                color: 255 255 255 255;
7525             }
7526          }
7527          part {
7528             name: "e.swallow.content";
7529             type: SWALLOW;
7530             clip_to: "clip";
7531             description {
7532                state: "default" 0.0;
7533                rel1.offset: 1 1;
7534                rel2.offset: -2 -2;
7535             }
7536          }
7537       }
7538    }
7539    /* This is the alternate shelf. It provides a stylistic alternative to
7540     * make the shelf more dynamic to your tastes and wallpaper. It is
7541     * selected in the Shelf Configuration. More alternative shelfs can
7542     * be provided by using more group names. eg, "e/shelf/black/base" */
7543    group {
7544       name: "e/shelf/alternate/base";
7545       images {
7546          image: "shelf_alt_bg.png" COMP;
7547          //     image: "shelf_alt_bg_left.png" COMP;
7548          //     image: "shelf_alt_bg_right.png" COMP;
7549          image: "shelf_alt_over.png" COMP;
7550          //     image: "shelf_alt_over_left.png" COMP;
7551          //     image: "shelf_alt_over_right.png" COMP;
7552          image: "shelf_alt_shine.png" COMP;
7553       }
7554       parts {
7555          part {
7556             name: "base";
7557             mouse_events: 0;
7558             description {
7559                state: "default" 0.0;
7560                color_class: "shelf_base";
7561                image.normal: "shelf_alt_bg.png";
7562                fill.smooth: 0;
7563             }
7564             //        description { state: "left" 0.0;
7565             //           image.normal: "shelf_alt_bg_left.png";
7566             //           fill.smooth: 0;
7567             //        }
7568             //        description { state: "right" 0.0;
7569             //           image.normal: "shelf_alt_bg_right.png";
7570             //           fill.smooth: 0;
7571             //        }
7572          }
7573          part {
7574             name: "e.swallow.content";
7575             type: SWALLOW;
7576             description {
7577                state: "default" 0.0;
7578                rel1 {
7579                   relative: 0.0 0.0;
7580                   offset: 3 3;
7581                }
7582                rel2 {
7583                   relative: 1.0 1.0;
7584                   offset: -4 -4;
7585                }
7586             }
7587          }
7588          part {
7589             name: "shine";
7590             mouse_events: 0;
7591             description {
7592                state: "default" 0.0;
7593                image.normal: "shelf_alt_shine.png";
7594                rel2.relative: 1.0 0.5;
7595                fill.smooth: 0;
7596             }
7597             //        description { state: "left" 0.0;
7598             //           inherit: "default" 0.0;
7599             //           color: 255 255 255 0;
7600             //        }
7601             //        description { state: "right" 0.0;
7602             //           inherit: "default" 0.0;
7603             //           color: 255 255 255 0;
7604             //        }
7605          }
7606          part {
7607             name: "over";
7608             mouse_events: 0;
7609             description {
7610                state: "default" 0.0;
7611                image.normal: "shelf_alt_over.png";
7612                image.border: 5 5 5 5;
7613                image.middle: 0;
7614                fill.smooth: 0;
7615             }
7616             //        description { state: "left" 0.0;
7617             //           image.normal: "shelf_alt_over_left.png";
7618             //           image.border: 5 5 5 5;
7619             //           image.middle: 0;
7620             //           fill.smooth: 0;
7621             //        }
7622             //        description { state: "right" 0.0;
7623             //           image.normal: "shelf_alt_over_right.png";
7624             //           image.border: 5 5 5 5;
7625             //           image.middle: 0;
7626             //           fill.smooth: 0;
7627             //        }
7628          }
7629       }
7630       /* Because programs can not respond to 2 different types of signals,
7631        * the programs are split into individual programs that point towards
7632        * the base program for its orientation. */
7633       programs {
7634          /* Left orientation */
7635          //     program { name: "left";
7636          //        signal: "e,state,orientation,left";
7637          //        source: "e";
7638          //        action: STATE_SET "left" 0.0;
7639          //        target: "base";
7640          //        target: "over";
7641          //        target: "shine";
7642          //     }
7643          //     program { name: "left_top";
7644          //        signal: "e,state,orientation,left_top";
7645          //        source: "e";
7646          //        after: "left";
7647          //     }
7648          //     program { name: "left_bottom";
7649          //        signal: "e,state,orientation,left_bottom";
7650          //        source: "e";
7651          //        after: "left";
7652          //     }
7653          //     /* Right orientation */
7654          //     program { name: "right";
7655          //        signal: "e,state,orientation,right";
7656          //        source: "e";
7657          //        action: STATE_SET "right" 0.0;
7658          //        target: "base";
7659          //        target: "over";
7660          //        target: "shine";
7661          //     }
7662          //     program { name: "right_top";
7663          //        signal: "e,state,orientation,right_top";
7664          //        source: "e";
7665          //        after: "right";
7666          //     }
7667          //     program { name: "right_bottom";
7668          //        signal: "e,state,orientation,right_bottom";
7669          //        source: "e";
7670          //        after: "right";
7671          //     }
7672       }
7673    }
7674    /* This is the alternate shelf. It provides a stylistic alternative to
7675     * make the shelf more dynamic to your tastes and wallpaper. It is
7676     * selected in the Shelf Configuration. More alternative shelfs can
7677     * be provided by using more group names. eg, "e/shelf/black/base" */
7678    group { name: "e/shelf/alternate_vertical/base";
7679       images {
7680          image: "shelf_alt_vert_bg.png" COMP;
7681 //       image: "shelf_alt_bg_left.png" COMP;
7682 //       image: "shelf_alt_bg_right.png" COMP;
7683          image: "shelf_alt_over.png" COMP;
7684 //       image: "shelf_alt_over_left.png" COMP;
7685 //       image: "shelf_alt_over_right.png" COMP;
7686       }
7687       parts {
7688          part { name: "base";
7689             mouse_events: 0;
7690             description { state: "default" 0.0;
7691                color_class: "shelf_base";
7692                image.normal: "shelf_alt_vert_bg.png";
7693                fill.smooth: 0;
7694             }
7695 //          description { state: "left" 0.0;
7696 //             image.normal: "shelf_alt_bg_left.png";
7697 //             fill.smooth: 0;
7698 //          }
7699 //          description { state: "right" 0.0;
7700 //             image.normal: "shelf_alt_bg_right.png";
7701 //             fill.smooth: 0;
7702 //          }
7703          }
7704          part { name: "e.swallow.content";
7705             type: SWALLOW;
7706             description { state: "default" 0.0;
7707                rel1 {
7708                   relative: 0.0 0.0;
7709                   offset: 3 3;
7710                }
7711                rel2 {
7712                   relative: 1.0 1.0;
7713                   offset: -4 -4;
7714                }
7715             }
7716          }
7717          part { name: "over";
7718             mouse_events: 0;
7719             description { state: "default" 0.0;
7720                image.normal: "shelf_alt_over.png";
7721                image.border: 5 5 5 5;
7722                image.middle: 0;
7723                fill.smooth: 0;
7724             }
7725 //          description { state: "left" 0.0;
7726 //             image.normal: "shelf_alt_over_left.png";
7727 //             image.border: 5 5 5 5;
7728 //             image.middle: 0;
7729 //             fill.smooth: 0;
7730 //          }
7731 //          description { state: "right" 0.0;
7732 //             image.normal: "shelf_alt_over_right.png";
7733 //             image.border: 5 5 5 5;
7734 //             image.middle: 0;
7735 //             fill.smooth: 0;
7736 //          }
7737          }
7738       }
7739       /* Because programs can not respond to 2 different types of signals,
7740        * the programs are split into individual programs that point towards
7741        * the base program for its orientation. */
7742       programs {
7743          /* Left orientation */
7744 //       program { name: "left";
7745 //          signal: "e,state,orientation,left";
7746 //          source: "e";
7747 //          action: STATE_SET "left" 0.0;
7748 //          target: "base";
7749 //          target: "over";
7750 //          target: "shine";
7751 //       }
7752 //       program { name: "left_top";
7753 //          signal: "e,state,orientation,left_top";
7754 //          source: "e";
7755 //          after: "left";
7756 //       }
7757 //       program { name: "left_bottom";
7758 //          signal: "e,state,orientation,left_bottom";
7759 //          source: "e";
7760 //          after: "left";
7761 //       }
7762 //       /* Right orientation */
7763 //       program { name: "right";
7764 //          signal: "e,state,orientation,right";
7765 //          source: "e";
7766 //          action: STATE_SET "right" 0.0;
7767 //          target: "base";
7768 //          target: "over";
7769 //          target: "shine";
7770 //       }
7771 //       program { name: "right_top";
7772 //          signal: "e,state,orientation,right_top";
7773 //          source: "e";
7774 //          after: "right";
7775 //       }
7776 //       program { name: "right_bottom";
7777 //          signal: "e,state,orientation,right_bottom";
7778 //          source: "e";
7779 //          after: "right";
7780 //       }
7781       }
7782    }
7783    group {
7784       name: "e/shelf/alternate/inset";
7785       images {
7786          image: "inset_raised.png" COMP;
7787       }
7788       parts {
7789          part {
7790             name: "base";
7791             type: RECT;
7792             description {
7793                state: "default" 0.0;
7794                rel1 {
7795                   to: "inset";
7796                   offset: 4 4;
7797                }
7798                rel2 {
7799                   to: "inset";
7800                   offset: -5 -5;
7801                }
7802                color: 0 0 0 0;
7803             }
7804          }
7805          part {
7806             name: "clip";
7807             type: RECT;
7808             description {
7809                state: "default" 0.0;
7810                rel1.to: "base";
7811                rel2.to: "base";
7812                color: 255 255 255 255;
7813             }
7814          }
7815          part {
7816             name: "e.swallow.content";
7817             type: SWALLOW;
7818             clip_to: "clip";
7819             description {
7820                state: "default" 0.0;
7821                rel1 {
7822                   to: "base";
7823                   offset: 0 0;
7824                }
7825                rel2 {
7826                   to: "base";
7827                   offset: -1 -1;
7828                }
7829             }
7830          }
7831          part {
7832             name: "inset";
7833             mouse_events: 0;
7834             description {
7835                state: "default" 0.0;
7836                rel1.offset: -1 -1;
7837                rel2.offset: 0 0;
7838                image.normal: "inset_raised.png";
7839                image.middle: 0;
7840                image.border: 7 7 7 7;
7841                fill.smooth: 0;
7842             }
7843          }
7844       }
7845    }
7846    group {
7847       name: "e/shelf/alternate/plain";
7848       parts {
7849          part {
7850             name: "clip";
7851             type: RECT;
7852             description {
7853                state: "default" 0.0;
7854                color: 255 255 255 255;
7855             }
7856          }
7857          part {
7858             name: "e.swallow.content";
7859             type: SWALLOW;
7860             clip_to: "clip";
7861             description {
7862                state: "default" 0.0;
7863                rel1.offset: 1 1;
7864                rel2.offset: -2 -2;
7865             }
7866          }
7867       }
7868    }
7869
7870
7871 /////////////////////////////////////////////////////////////////////////////
7872 /*** MOD: CONNMAN ***/
7873
7874 #define MSG_ID_STRENGTH 1
7875
7876 #define CONNMAN_STATE_PART_ADD() \
7877          part { \
7878             name: "state"; \
7879             type: IMAGE; \
7880             mouse_events: 0; \
7881             description { \
7882                state: "default" 0.0; \
7883                aspect: 1 1; \
7884                aspect_preference: BOTH; \
7885                color: 255 255 255 0; \
7886                image.normal: "connman_status_ready"; \
7887                rel1.relative: 0.8 0.8; \
7888                rel2.relative: 1 1; \
7889                align: 1 1; \
7890                min: 8 8; \
7891             } \
7892             description { \
7893                state: "ready" 0.0; \
7894                inherit: "default" 0.0; \
7895                color: 255 255 255 255; \
7896             } \
7897             description { \
7898                state: "online" 0.0; \
7899                inherit: "default" 0.0; \
7900                color: 255 255 255 255; \
7901                image.normal: "connman_status_online"; \
7902             } \
7903          }
7904
7905 #define CONNMAN_IMAGES_SET(_name, _min) \
7906          images { \
7907             set { \
7908                name: "connman_"##_name; \
7909                image { \
7910                   image: "connman_"##_name##"_128.png" COMP; \
7911                   size: (_min+1) (_min+1) 1000 1000; \
7912                } \
7913                image { \
7914                   image: "connman_"##_name##"_32.png" COMP; \
7915                   size: 1 1 _min _min; \
7916                } \
7917             } \
7918          } \
7919
7920
7921 #define CONNMAN_ICON(_icon) \
7922    group { \
7923       name: "e/modules/connman/icon/"##_icon; \
7924       script { \
7925          public message(Msg_Type:type, id, ...) { \
7926             if ((type == MSG_INT_SET) && (id == MSG_ID_STRENGTH)) { \
7927                new state = getarg(2); \
7928                /* Connecting if in association or configuration */ \
7929                if ((state == 2)) \
7930                { \
7931                   set_state(PART:"state", "default", 0.0); \
7932                   run_program(PROGRAM:"connecting"); \
7933                   return; \
7934                } \
7935                if ((state == 3)) \
7936                   return; \
7937                if ((state == 4)) \
7938                   set_state(PART:"state", "ready", 0.0); \
7939                else if ((state == 5)) \
7940                   set_state(PART:"state", "online", 0.0); \
7941                else \
7942                   set_state(PART:"state", "default", 0.0); \
7943                set_state(PART:"icon", "default", 0.0); \
7944             } \
7945          } \
7946       } \
7947       parts { \
7948          CONNMAN_IMAGES_SET(_icon, 32) \
7949          part { \
7950             name: "icon"; \
7951             type: IMAGE; \
7952             mouse_events: 0; \
7953             description { \
7954                state: "default" 0.0; \
7955                aspect: 1 1; \
7956                aspect_preference: BOTH; \
7957                image.normal: "connman_"##_icon##; \
7958             } \
7959             description { \
7960                state: "hidden" 0.0; \
7961                inherit: "default" 0.0; \
7962                color: 255 255 255 0; \
7963             } \
7964          } \
7965          CONNMAN_STATE_PART_ADD() \
7966       } \
7967       programs { \
7968          program { \
7969             name: "connecting"; \
7970             action: STATE_SET "hidden" 0.0; \
7971             transition: ACCEL 0.3; \
7972             target: "icon"; \
7973             after: "connecting,2"; \
7974          } \
7975          program { \
7976             name: "connecting,2"; \
7977             action: STATE_SET "default" 0.0; \
7978             transition: DECEL 0.3; \
7979             target: "icon"; \
7980             after: "connecting"; \
7981          } \
7982       } \
7983    }
7984
7985 CONNMAN_ICON(bluetooth)
7986 CONNMAN_ICON(cellular)
7987 CONNMAN_ICON(ethernet)
7988
7989 #undef CONNMAN_ICON
7990
7991    group {
7992       name: "e/modules/connman/icon/wifi";
7993
7994 #define CONNMAN_BAR_IMAGES_SET(_name) \
7995          images { \
7996             set { \
7997                name: "wifi_bar_"##_name; \
7998                image { \
7999                   image: "connman_wifi_"##_name##"_128.png" COMP; \
8000                   /* FIXME: check why it doesn't work */ \
8001                   /* size: 33 33 128 128; \ */ \
8002                   size: 33 33 1000 1000; \
8003                } \
8004                image { \
8005                   image: "connman_wifi_"##_name##"_32.png" COMP; \
8006                   size: 1 1 32 32; \
8007                } \
8008             } \
8009          } \
8010
8011 #define CONNMAN_BAR_ON(_name) \
8012          CONNMAN_BAR_IMAGES_SET(_name) \
8013          part { \
8014             name: "bar_"##_name; \
8015             type: IMAGE; \
8016             mouse_events: 0; \
8017             description { \
8018                state: "default" 0.0; \
8019                aspect: 1 1; \
8020                aspect_preference: BOTH; \
8021                color: 255 255 255 0; \
8022                image.normal: "wifi_bar_"##_name; \
8023             } \
8024             description { \
8025                state: "visible" 0.0; \
8026                inherit: "default" 0.0; \
8027                color: 255 255 255 255; \
8028             } \
8029          }
8030
8031 #define CONNMAN_CONNECTING_ON(_cur, _next) \
8032          program { \
8033             name: "connecting,"##_cur##",on"; \
8034             action: STATE_SET "visible" 0.0; \
8035             transition: ACCELERATE 0.2; \
8036             target: "bar_"##_cur##"_on"; \
8037             after: "connecting,"##_cur##",off"; \
8038             after: "connecting,"##_next##",on"; \
8039          }
8040
8041 #define CONNMAN_CONNECTING_OFF(_cur) \
8042          program { \
8043             name: "connecting,"##_cur##",off"; \
8044             action: STATE_SET "default" 0.0; \
8045             transition: DECELERATE 0.2; \
8046             target: "bar_"##_cur##"_on"; \
8047          }
8048
8049       script {
8050          public message(Msg_Type:type, id, ...) {
8051             if ((type == MSG_INT_SET) && (id == MSG_ID_STRENGTH)) {
8052                new state = getarg(2);
8053                new Float:str = getarg(3);
8054
8055                /* Connecting if in association or configuration */
8056                if ((state == 2))
8057                {
8058                   set_state(PART:"state", "default", 0.0);
8059                   run_program(PROGRAM:"connecting");
8060                   return;
8061                }
8062                if ((state == 3))
8063                   return;
8064
8065                if ((state == 4))
8066                   set_state(PART:"state", "ready", 0.0);
8067                else if ((state == 5))
8068                   set_state(PART:"state", "online", 0.0);
8069                else
8070                   set_state(PART:"state", "default", 0.0);
8071
8072                set_state(PART:"bar_0_on", "visible", 0.0);
8073                set_tween_state(PART:"bar_1_on", (str - (100/3) * 0) / (100/3),
8074                      "default", 0.0, "visible", 0.0);
8075                set_tween_state(PART:"bar_2_on", (str - (100/3) * 1) / (100/3),
8076                      "default", 0.0, "visible", 0.0);
8077                set_tween_state(PART:"bar_3_on", (str - (100/3) * 2) / (100/3),
8078                      "default", 0.0, "visible", 0.0);
8079             }
8080          }
8081       }
8082
8083       parts {
8084
8085          CONNMAN_BAR_IMAGES_SET(off)
8086          CONNMAN_BAR_IMAGES_SET(not)
8087          part {
8088             name: "bar_off";
8089             type: IMAGE;
8090             mouse_events: 0;
8091             description {
8092                state: "default" 0.0;
8093                aspect: 1 1;
8094                aspect_preference: BOTH;
8095                image.normal: "wifi_bar_off";
8096             }
8097             description {
8098                state: "disabled" 0.0;
8099                inherit: "default" 0.0;
8100                color: 255 255 255 0;
8101             }
8102          }
8103
8104          CONNMAN_BAR_ON(0_on)
8105          CONNMAN_BAR_ON(1_on)
8106          CONNMAN_BAR_ON(2_on)
8107          CONNMAN_BAR_ON(3_on)
8108
8109          part {
8110             name: "bar_not";
8111             type: IMAGE;
8112             mouse_events: 0;
8113             description {
8114                state: "default" 0.0;
8115                aspect: 1 1;
8116                aspect_preference: BOTH;
8117                image.normal: "wifi_bar_not";
8118                color: 255 255 255 0;
8119             }
8120             description {
8121                state: "disabled" 0.0;
8122                inherit: "default" 0.0;
8123                color: 255 255 255 255;
8124             }
8125          }
8126          CONNMAN_IMAGES_SET(status_ready, 8)
8127          CONNMAN_IMAGES_SET(status_online, 8)
8128          CONNMAN_STATE_PART_ADD()
8129       }
8130       programs {
8131          program {
8132             name: "connman,enabled";
8133             signal: "e,available";
8134             source: "e";
8135             action: STATE_SET "default" 0.0;
8136             target: "bar_not";
8137             target: "bar_off";
8138          }
8139          program {
8140             name: "connman,disabled";
8141             signal: "e,unavailable";
8142             source: "e";
8143             action: STATE_SET "default" 0.0;
8144             target: "bar_0_on";
8145             target: "bar_1_on";
8146             target: "bar_2_on";
8147             target: "bar_3_on";
8148             after: "connman,disabled,2";
8149          }
8150          program {
8151             name: "connman,disabled,2";
8152             action: STATE_SET "disabled" 0.0;
8153             target: "bar_not";
8154             target: "bar_off";
8155          }
8156          program {
8157             name: "connecting";
8158             action: STATE_SET "default" 0.0;
8159             target: "bar_1_on";
8160             target: "bar_2_on";
8161             target: "bar_3_on";
8162             after: "connecting,2";
8163          }
8164          program {
8165             name: "connecting,2";
8166             action: STATE_SET "visible" 0.0;
8167             target: "bar_0_on";
8168             after: "connecting,1,on";
8169          }
8170          CONNMAN_CONNECTING_ON(1, 2)
8171          CONNMAN_CONNECTING_ON(2, 3)
8172          CONNMAN_CONNECTING_ON(3, 1)
8173          CONNMAN_CONNECTING_OFF(1)
8174          CONNMAN_CONNECTING_OFF(2)
8175          CONNMAN_CONNECTING_OFF(3)
8176       }
8177
8178 #undef CONNMAN_BAR_IMAGES_SET
8179 #undef CONNMAN_BAR_ON
8180 #undef CONNMAN_CONNECTING_ON
8181 #undef CONNMAN_CONNECTING_OFF
8182 #undef MSG_ID_STRENGTH
8183
8184    }
8185
8186    group {
8187       name: "e/modules/connman/main";
8188
8189 #define CONNMAN_TECH_ICON_ADD(_tech) \
8190          part { \
8191             name: #_tech##"_icon"; \
8192             type: GROUP; \
8193             mouse_events: 0; \
8194             source: "e/modules/connman/icon/"##_tech; \
8195             description { \
8196                state: "default" 0.0; \
8197                visible: 0; \
8198             } \
8199             description { \
8200                state: "visible" 0.0; \
8201                inherit: "default" 0.0; \
8202                visible: 1; \
8203             } \
8204          } \
8205          program { \
8206             name: "technology_"##_tech; \
8207             signal: "e,changed,technology,"##_tech; \
8208             source: "e"; \
8209             action: STATE_SET "default" 0.0; \
8210             target: "wifi_icon"; \
8211             target: "ethernet_icon"; \
8212             target: "cellular_icon"; \
8213             target: "bluetooth_icon"; \
8214             after: "technology_"##_tech##",2"; \
8215          } \
8216          program { \
8217             name: "technology_"##_tech##",2"; \
8218             action: STATE_SET "visible" 0.0; \
8219             target: #_tech##"_icon"; \
8220          }
8221
8222       parts {
8223          part {
8224             name: "eventarea";
8225             type: RECT;
8226             mouse_events: 1;
8227             description {
8228                state: "default" 0.0;
8229                color: 255 255 255 0;
8230             }
8231          }
8232          CONNMAN_TECH_ICON_ADD(wifi)
8233          CONNMAN_TECH_ICON_ADD(ethernet)
8234          CONNMAN_TECH_ICON_ADD(cellular)
8235          CONNMAN_TECH_ICON_ADD(bluetooth)
8236       }
8237       programs {
8238          program {
8239             name: "technology_other";
8240             signal: "e,changed,technology,other";
8241             source: "e";
8242             after: "technology_wifi";
8243          }
8244          program {
8245             name: "connman,disabled";
8246             signal: "e,unavailable";
8247             source: "e";
8248             after: "connman,enabled";
8249          }
8250          program {
8251             name: "connman,enabled";
8252             signal: "e,available";
8253             source: "e";
8254             action: STATE_SET "default" 0.0;
8255             target: "wifi_icon";
8256             target: "ethernet_icon";
8257             target: "cellular_icon";
8258             target: "bluetooth_icon";
8259             after: "connman,enabled,2";
8260          }
8261          program {
8262             name: "connman,enabled,2";
8263             action: STATE_SET "visible" 0.0;
8264             target: "wifi_icon";
8265          }
8266       }
8267 #undef CONNMAN_TECH_ICON_ADD
8268    }
8269
8270    group {
8271       name: "e/modules/connman/end";
8272
8273       CONNMAN_IMAGES_SET(security1, 32)
8274       CONNMAN_IMAGES_SET(security2, 32)
8275
8276       parts {
8277          part {
8278             name: "security";
8279             type: IMAGE;
8280             mouse_events: 0;
8281             description {
8282                state: "default" 0.0;
8283                aspect: 1 1;
8284                aspect_preference: BOTH;
8285                color: 255 255 255 0;
8286                image.normal: "connman_security1";
8287             }
8288             description {
8289                state: "almost_secure" 0.0;
8290                inherit: "default" 0.0;
8291                color: 255 255 255 255;
8292             }
8293             description {
8294                state: "secure" 0.0;
8295                inherit: "default" 0.0;
8296                color: 255 255 255 255;
8297                image.normal: "connman_security2";
8298             }
8299          }
8300       }
8301       programs {
8302          program {
8303             name: "security,off";
8304             signal: "e,security,off";
8305             source: "e";
8306             action: STATE_SET "default" 0.0;
8307             target: "security";
8308          }
8309          program {
8310             name: "security,none";
8311             signal: "e,security,none";
8312             source: "e";
8313             action: STATE_SET "default" 0.0;
8314             target: "security";
8315          }
8316          program {
8317             name: "security,almost_secure";
8318             signal: "e,security,wep";
8319             source: "e";
8320             action: STATE_SET "almost_secure" 0.0;
8321             target: "security";
8322          }
8323          program {
8324             name: "security,secure";
8325             signal: "e,security,psk";
8326             source: "e";
8327             action: STATE_SET "secure" 0.0;
8328             target: "security";
8329          }
8330       }
8331    }
8332
8333 #undef CONNMAN_STATE_PART_ADD
8334 #undef CONNMAN_IMAGES_SET
8335
8336 /////////////////////////////////////////////////////////////////////////////
8337 /*** MOD: BLUEZ ***/
8338
8339    group {
8340       name: "e/modules/bluez/main";
8341       images {
8342          image: "bluetooth-powered.png" COMP;
8343          image: "bluetooth-inactive.png" COMP;
8344          image: "bluetooth-hidden.png" COMP;
8345       }
8346       //max: 128 128;
8347       min: 16 16;
8348       parts {
8349          part {
8350             name: "eventarea";
8351             type: RECT;
8352             mouse_events: 1;
8353             description {
8354                state: "default" 0.0;
8355                color: 255 255 255 0;
8356             }
8357          }
8358          part {
8359             name: "state-clipper";
8360             type: RECT;
8361             mouse_events: 0;
8362             description {
8363                state: "default" 0.0;
8364                color: 255 255 255 255;
8365             }
8366          }
8367          part {
8368             name: "state";
8369             type: IMAGE;
8370             mouse_events: 0;
8371             clip_to: "state-clipper";
8372             description {
8373                state: "default" 0.0;
8374                aspect: 1.0 1.0;
8375                aspect_preference: BOTH;
8376                fixed: 1 1;
8377                image.normal: "bluetooth-inactive.png";
8378             }
8379             description {
8380                state: "powered" 0.0;
8381                inherit: "default" 0.0;
8382                image.normal: "bluetooth-powered.png";
8383             }
8384             description {
8385                state: "hidden" 0.0;
8386                inherit: "default" 0.0;
8387                image.normal: "bluetooth-hidden.png";
8388             }
8389          }
8390          programs {
8391             program {
8392                signal: "e,changed,service,none";
8393                source: "e";
8394                action: STATE_SET "default" 0.0;
8395                target: "state";
8396             }
8397             program {
8398                signal: "e,changed,off";
8399                source: "e";
8400                action: STATE_SET "default" 0.0;
8401                target: "state";
8402             }
8403             program {
8404                signal: "e,changed,powered";
8405                source: "e";
8406                action: STATE_SET "powered" 0.0;
8407                target: "state";
8408             }
8409             program {
8410                signal: "e,changed,hidden";
8411                source: "e";
8412                action: STATE_SET "hidden" 0.0;
8413                target: "state";
8414             }
8415          }
8416          part {
8417             name: "e.text.name";
8418             type: TEXT;
8419             mouse_events: 0;
8420             effect: SOFT_SHADOW;
8421             description {
8422                state: "default" 0.0;
8423                color: 224 224 224 255;
8424                color3: 0 0 0 64;
8425                align: 0.5 1.0;
8426                rel1 {
8427                   relative: 0.0 1.0;
8428                   offset: 0 -20;
8429                }
8430                rel2 {
8431                   relative: 1.0 1.0;
8432                   offset: -1 -1;
8433                }
8434                text {
8435                   font: "Sans";
8436                   size: 8;
8437                   align: 0.5 1.0;
8438                   text: "";
8439                   min: 1 1;
8440                }
8441             }
8442             description {
8443                state: "hidden" 0.0;
8444                inherit: "default" 0.0;
8445                visible: 0;
8446             }
8447          }
8448          programs {
8449             program {
8450                name: "resize";
8451                signal: "resize";
8452                script {
8453                   new x, y, w, h, tx, ty, tw, th;
8454                   get_geometry(PART:"eventarea", x, y, w, h);
8455                   get_geometry(PART:"e.text.name", tx, ty, tw, th);
8456                   if ((w <= 32) || (tw >= w))
8457                      set_state(PART:"e.text.name", "hidden", 0.0); 
8458                   else
8459                      set_state(PART:"e.text.name", "default", 0.0);
8460                }
8461             }
8462             program {
8463                signal: "e,changed,name";
8464                source: "e";
8465                action: STATE_SET "default" 0.0;
8466                // show so calcs take effect!
8467                target: "e.text.name";
8468                after: "resize";
8469             }
8470          }
8471       }
8472    }
8473    group {
8474       name: "e/modules/bluez/tip";
8475       images {
8476          image: "bluetooth-powered.png" COMP;
8477          image: "bluetooth-inactive.png" COMP;
8478          image: "bluetooth-hidden.png" COMP;
8479       }
8480       min: 200 84;
8481       parts {
8482          part {
8483             name: "state-clipper";
8484             type: RECT;
8485             mouse_events: 0;
8486             description {
8487                state: "default" 0.0;
8488                color: 255 255 255 255;
8489             }
8490          }
8491          part {
8492             name: "state";
8493             type: IMAGE;
8494             mouse_events: 0;
8495             clip_to: "state-clipper";
8496             description {
8497                state: "default" 0.0;
8498                aspect: 1.0 1.0;
8499                aspect_preference: BOTH;
8500                fixed: 1 1;
8501                rel1 {
8502                   relative: 0.0 0.0;
8503                   offset: 10 10;
8504                }
8505                rel2 {
8506                   relative: 0.0 0.0;
8507                   offset: 73 73;
8508                }
8509                image.normal: "bluetooth-inactive.png";
8510             }
8511             description {
8512                state: "powered" 0.0;
8513                inherit: "default" 0.0;
8514                image.normal: "bluetooth-powered.png";
8515             }
8516             description {
8517                state: "hidden" 0.0;
8518                inherit: "default" 0.0;
8519                image.normal: "bluetooth-hidden.png";
8520             }
8521          }
8522          programs {
8523             program {
8524                signal: "e,changed,off";
8525                source: "e";
8526                action: STATE_SET "default" 0.0;
8527                target: "state";
8528             }
8529             program {
8530                signal: "e,changed,powered";
8531                source: "e";
8532                action: STATE_SET "powered" 0.0;
8533                target: "state";
8534             }
8535             program {
8536                signal: "e,changed,hidden";
8537                source: "e";
8538                action: STATE_SET "hidden" 0.0;
8539                target: "state";
8540             }
8541          }
8542          part {
8543             name: "e.text.name";
8544             type: TEXT;
8545             mouse_events: 0;
8546             effect: SOFT_SHADOW;
8547             description {
8548                state: "default" 0.0;
8549                color: 240 240 240 255;
8550                color3: 0 0 0 64;
8551                align: 0.0 0.0;
8552                rel1 {
8553                   to_x: "state";
8554                   relative: 1.0 0.0;
8555                   offset: 10 20;
8556                }
8557                rel2 {
8558                   relative: 1.0 0.0;
8559                   offset: -10 40;
8560                }
8561                text {
8562                   font: "Sans:style=Bold";
8563                   size: 16;
8564                   align: 0.0 0.0;
8565                   text: "Bluetooth Manager";
8566                   min: 1 0;
8567                }
8568             }
8569          }
8570          part {
8571             name: "e.text.status";
8572             type: TEXT;
8573             mouse_events: 0;
8574             clip_to: "state-clipper";
8575             description {
8576                state: "default" 0.0;
8577                color: 16 16 16 255;
8578                rel1 {
8579                   to_y: "e.text.name";
8580                   to_x: "state";
8581                   relative: 1.0 1.0;
8582                   offset: 10 10;
8583                }
8584                rel2 {
8585                   to_y: "e.text.name";
8586                   relative: 1.0 1.0;
8587                   offset: -10 25;
8588                }
8589                text {
8590                   font: "Sans";
8591                   size: 10;
8592                   align: 0.0 0.0;
8593                   text: "";
8594                   min: 1 0;
8595                }
8596             }
8597          }
8598       }
8599    }
8600
8601
8602 /////////////////////////////////////////////////////////////////////////////
8603 /*** MOD: OFONO ***/
8604
8605 // GADGET and TIP all have the same parts and signals:
8606 //
8607 // PARTS:
8608 //    e.text.name
8609 //    e.text.status
8610 //    e.text.op
8611 //
8612 // SIGNALS:
8613 //    e,unavailable: ofonod is not running (nothing else works)
8614 //    e,available: ofonod is running
8615 //    e,name,available: there is info about device name
8616 //    e,name,unavailable: there is no info about device name
8617 //    e,netinfo,available: there is info about network
8618 //    e,netinfo,unavailable: there is no info about network
8619 //
8620 // MESSAGES:
8621 //    id=1, type=MSG_INT, description=strength (0-100)
8622
8623    group {
8624       name: "e/modules/ofono/main";
8625       max: 128 128;
8626       min: 1 1;
8627       images {
8628          image: "gsm_0.png" COMP;
8629          image: "gsm_1.png" COMP;
8630          image: "gsm_2.png" COMP;
8631          image: "gsm_3.png" COMP;
8632          image: "gsm_4.png" COMP;
8633          image: "gsm_no.png" COMP;
8634       }
8635       script {
8636          public message(Msg_Type:type, id, ...) {
8637             if ((type == MSG_INT) && (id == 1)) {
8638                new strength;
8639                strength = getarg(2);
8640                if (strength >= 80)
8641                   run_program(PROGRAM:"strength,5");
8642                else if (strength >= 60)
8643                   run_program(PROGRAM:"strength,4");
8644                else if (strength >= 40)
8645                   run_program(PROGRAM:"strength,3");
8646                else if (strength >= 20)
8647                   run_program(PROGRAM:"strength,2");
8648                else if (strength >= 1)
8649                   run_program(PROGRAM:"strength,1");
8650                else
8651                   run_program(PROGRAM:"strength,no");
8652             }
8653          }
8654       }
8655       parts {
8656          part {
8657             name: "eventarea";
8658             type: RECT;
8659             mouse_events: 1;
8660             description {
8661                state: "default" 0.0;
8662                color: 255 255 255 0;
8663             }
8664          }
8665          part {
8666             name: "eventarea.image";
8667             type: IMAGE;
8668             description {
8669                state: "default" 0.0;
8670                aspect: 1.6 1.7;
8671                aspect_preference: HORIZONTAL;
8672                image.normal: "gsm_no.png";
8673                rel1.to: "eventarea";
8674                rel2.to: "eventarea";
8675             }
8676             description {
8677                state: "strength,5" 0.0;
8678                inherit: "default" 0.0;
8679                image.normal: "gsm_4.png";
8680             }
8681             description {
8682                state: "strength,4" 0.0;
8683                inherit: "default" 0.0;
8684                image.normal: "gsm_3.png";
8685             }
8686             description {
8687                state: "strength,3" 0.0;
8688                inherit: "default" 0.0;
8689                image.normal: "gsm_2.png";
8690             }
8691             description {
8692                state: "strength,2" 0.0;
8693                inherit: "default" 0.0;
8694                image.normal: "gsm_1.png";
8695             }
8696             description {
8697                state: "strength,1" 0.0;
8698                inherit: "default" 0.0;
8699                image.normal: "gsm_0.png";
8700             }
8701             description {
8702                state: "strength,no" 0.0;
8703                inherit: "default" 0.0;
8704                image.normal: "gsm_no.png";
8705             }
8706             description {
8707                state: "disabled" 0.0;
8708                inherit: "default" 0.0;
8709                color: 255 255 255 100;
8710             }
8711          }
8712          programs {
8713             program {
8714                name: "strength,5";
8715                action: STATE_SET "strength,5" 0.0;
8716                target: "eventarea.image";
8717             }
8718             program {
8719                name: "strength,4";
8720                action: STATE_SET "strength,4" 0.0;
8721                target: "eventarea.image";
8722             }
8723             program {
8724                name: "strength,3";
8725                action: STATE_SET "strength,3" 0.0;
8726                target: "eventarea.image";
8727             }
8728             program {
8729                name: "strength,2";
8730                action: STATE_SET "strength,2" 0.0;
8731                target: "eventarea.image";
8732             }
8733             program {
8734                name: "strength,1";
8735                action: STATE_SET "strength,1" 0.0;
8736                target: "eventarea.image";
8737             }
8738             program {
8739                name: "strength,0";
8740                action: STATE_SET "strength,0" 0.0;
8741                target: "eventarea.image";
8742             }
8743             program {
8744                name: "strength,no";
8745                action: STATE_SET "strength,no" 0.0;
8746                target: "eventarea.image";
8747             }
8748             program {
8749                name: "e,available";
8750                signal: "e,available";
8751                source: "e";
8752                action: STATE_SET "default" 0.0;
8753                target: "eventarea.image";
8754             }
8755             program {
8756                name: "e,unavailable";
8757                signal: "e,unavailable";
8758                source: "e";
8759                action: STATE_SET "disabled" 0.0;
8760                target: "eventarea.image";
8761             }
8762             program {
8763                name: "netinfo,unavailable";
8764                signal: "e,netinfo,unavailable";
8765                source: "e";
8766                action: STATE_SET "default" 0.0;
8767                target: "eventarea.image";
8768             }
8769          }
8770          part {
8771             name: "e.text.name";
8772             type: TEXT;
8773             mouse_events: 0;
8774             effect: SOFT_SHADOW;
8775             description {
8776                state: "default" 0.0;
8777                color: 224 224 224 255;
8778                color3: 0 0 0 64;
8779                align: 0.5 1.0;
8780                rel1 {
8781                   relative: 0.0 1.0;
8782                   offset: 0 -20;
8783                }
8784                rel2 {
8785                   relative: 1.0 1.0;
8786                   offset: -1 -1;
8787                }
8788                text {
8789                   font: "Sans";
8790                   size: 8;
8791                   align: 0.5 1.0;
8792                   text: "";
8793                   min: 0 1;
8794                }
8795             }
8796             description {
8797                state: "hidden" 0.0;
8798                inherit: "default" 0.0;
8799                visible: 0;
8800             }
8801          }
8802          programs {
8803             program {
8804                name: "resize";
8805                signal: "resize";
8806                script {
8807                   new x, y, w, h;
8808                   get_geometry(PART:"eventarea", x, y, w, h);
8809                   if (w <= 32)
8810                      set_state(PART:"e.text.name", "hidden", 0.0); 
8811                   else
8812                      set_state(PART:"e.text.name", "default", 0.0);
8813                }
8814             }
8815          }
8816       }
8817    }
8818    group {
8819       name: "e/modules/ofono/tip";
8820       min: 220 80;
8821       images {
8822          image: "inset_sunk.png" COMP;
8823       }
8824       script {
8825          public message(Msg_Type:type, id, ...) {
8826             if ((type == MSG_INT) && (id == 1)) {
8827                new strength;
8828                new Float:val;
8829                strength = getarg(2);
8830                val = float(strength) / 100.0;
8831                set_drag(PART:"strength_gauge_knob", val, 0.0);
8832             }
8833          }
8834       }
8835       parts {
8836          part {
8837             name: "e.text.error";
8838             type: TEXT;
8839             mouse_events: 0;
8840             description {
8841                state: "default" 0.0;
8842                color: 150 150 150 255;
8843                fixed: 1 1;
8844                visible: 0;
8845                text {
8846                   font: "Sans:style=Bold";
8847                   size: 16;
8848                   text: "";
8849                   min: 1 1;
8850                }
8851             }
8852             description {
8853                state: "shown" 0.0;
8854                inherit: "default" 0.0;
8855                visible: 1;
8856             }
8857          }
8858          programs {
8859             program {
8860                name: "error,e,available";
8861                signal: "e,available";
8862                source: "e";
8863                action: STATE_SET "default" 0.0;
8864                target: "e.text.error";
8865             }
8866             program {
8867                name: "error,e,unavailable";
8868                signal: "e,unavailable";
8869                source: "e";
8870                action: STATE_SET "shown" 0.0;
8871                target: "e.text.error";
8872             }
8873             program {
8874                name: "error,netinfo,available";
8875                signal: "e,netinfo,available";
8876                source: "e";
8877                action: STATE_SET "default" 0.0;
8878                target: "e.text.error";
8879             }
8880             program {
8881                name: "error,netinfo,unavailable";
8882                signal: "e,netinfo,unavailable";
8883                source: "e";
8884                action: STATE_SET "shown" 0.0;
8885                target: "e.text.error";
8886             }
8887          }
8888          part {
8889             name: "e.text.name";
8890             type: TEXT;
8891             mouse_events: 0;
8892             effect: SOFT_SHADOW;
8893             description {
8894                state: "default" 0.0;
8895                color: 240 240 240 255;
8896                color3: 0 0 0 64;
8897                align: 0.0 0.0;
8898                fixed: 1 1;
8899                visible: 0;
8900                rel1 {
8901                   relative: 0.0 0.0;
8902                   offset: 10 5;
8903                }
8904                text {
8905                   font: "Sans:style=Bold";
8906                   size: 16;
8907                   align: 0.0 0.0;
8908                   text: "";
8909                   min: 1 1;
8910                }
8911             }
8912             description {
8913                state: "shown" 0.0;
8914                inherit: "default" 0.0;
8915                visible: 1;
8916             }
8917          }
8918          programs {
8919             program {
8920                name: "name,available";
8921                signal: "e,available";
8922                source: "e";
8923                action: STATE_SET "default" 0.0;
8924                target: "e.text.name";
8925             }
8926             program {
8927                name: "name,unavailable";
8928                signal: "e,unavailable";
8929                source: "e";
8930                action: STATE_SET "shown" 0.0;
8931                target: "e.text.name";
8932             }
8933          }
8934          part {
8935             name: "e.text.op";
8936             type: TEXT;
8937             mouse_events: 0;
8938             effect: SOFT_SHADOW;
8939             description {
8940                state: "default" 0.0;
8941                color: 240 240 240 255;
8942                color3: 0 0 0 64;
8943                align: 0.0 0.0;
8944                fixed: 1 1;
8945                visible: 1;
8946                rel1 {
8947                   relative: 0.0 0.0;
8948                   offset: 10 5;
8949                }
8950                text {
8951                   font: "Sans:style=Bold";
8952                   size: 16;
8953                   align: 0.0 0.0;
8954                   text: "";
8955                   min: 1 1;
8956                }
8957             }
8958             description {
8959                state: "hidden" 0.0;
8960                inherit: "default" 0.0;
8961                visible: 0;
8962             }
8963          }
8964          programs {
8965             program {
8966                name: "op,available";
8967                signal: "e,available";
8968                source: "e";
8969                action: STATE_SET "default" 0.0;
8970                target: "e.text.op";
8971             }
8972             program {
8973                name: "op,unavailable";
8974                signal: "e,unavailable";
8975                source: "e";
8976                action: STATE_SET "hidden" 0.0;
8977                target: "e.text.op";
8978             }
8979             program {
8980                name: "op,netinfo,unavailable";
8981                signal: "e,netinfo,unavailable";
8982                source: "e";
8983                action: STATE_SET "hidden" 0.0;
8984                target: "e.text.op";
8985             }
8986          }
8987          part {
8988             name: "e.text.status";
8989             type: TEXT;
8990             mouse_events: 0;
8991             description {
8992                state: "default" 0.0;
8993                color: 0 0 0 255;
8994                align: 0.0 0.0;
8995                fixed: 1 1;
8996                visible: 0;
8997                rel1 {
8998                   relative: 0.0 0.0;
8999                   offset: 10 30;
9000                }
9001                text {
9002                   font: "Sans";
9003                   size: 10;
9004                   align: 0.0 0.0;
9005                   text: "";
9006                   min: 1 1;
9007                }
9008             }
9009             description {
9010                state: "shown" 0.0;
9011                inherit: "default" 0.0;
9012                visible: 1;
9013             }
9014          }
9015          programs {
9016             program {
9017                name: "status,available";
9018                signal: "e,netinfo,available";
9019                source: "e";
9020                action: STATE_SET "shown" 0.0;
9021                target: "e.text.status";
9022             }
9023             program {
9024                name: "status,unavailable";
9025                signal: "e,netinfo,unavailable";
9026                source: "e";
9027                action: STATE_SET "default" 0.0;
9028                target: "e.text.status";
9029             }
9030          }
9031          part {
9032             name: "strength_gauge_bg";
9033             type: IMAGE;
9034             scale: 1;
9035             mouse_events: 0;
9036             description {
9037                state: "default" 0.0;
9038                min: 100 10;
9039                max: 99999 99999;
9040                visible: 0;
9041                rel1 {
9042                   relative: 0.0 0.0;
9043                   offset: 10 55;
9044                }
9045                rel2 {
9046                   relative: 1.0 1.0;
9047                   offset: -10 -10;
9048                }
9049                image {
9050                   normal: "inset_sunk.png";
9051                   border: 6 6 6 6;
9052                }
9053             }
9054             description {
9055                state: "shown" 0.0;
9056                inherit: "default" 0.0;
9057                visible: 1;
9058             }
9059          }
9060          programs {
9061             program {
9062                name: "strength,available";
9063                signal: "e,netinfo,available";
9064                source: "e";
9065                action: STATE_SET "shown" 0.0;
9066                target: "strength_gauge_bg";
9067             }
9068             program {
9069                name: "strength,unavailable";
9070                signal: "e,netinfo,unavailable";
9071                source: "e";
9072                action: STATE_SET "default" 0.0;
9073                target: "strength_gauge_bg";
9074             }
9075          }
9076          part {
9077             name: "strength_gauge_confine";
9078             type: RECT;
9079             scale: 1;
9080             mouse_events: 0;
9081             description {
9082                state: "default" 0.0;
9083                color: 255 255 255 0;
9084                visible: 0;
9085                rel1 {
9086                   to: "strength_gauge_bg";
9087                   offset: 1 1;
9088                }
9089                rel2 {
9090                   to: "strength_gauge_bg";
9091                   offset: -2 -2;
9092                }
9093             }
9094          }
9095          part {
9096             name: "strength_gauge_knob";
9097             mouse_events: 0;
9098             scale: 1;
9099             type: RECT;
9100             dragable {
9101                x: 1 1 0;
9102                y: 0 0 0;
9103                confine: "strength_gauge_confine";
9104                confine: "strength_gauge_bg";
9105             }
9106             description {
9107                state: "default" 0.0;
9108                color: 255 255 255 0;
9109                visible: 0;
9110                min: 0 0;
9111                max: 0 0;
9112             }
9113          }
9114          part {
9115             name: "strength_gauge_fill";
9116             mouse_events: 0;
9117             type: RECT;
9118             description {
9119                state: "default" 0.0;
9120                color: 55 55 55 100;
9121                fixed: 1 1;
9122                rel1.to: "strength_gauge_confine";
9123                rel2 {
9124                   to_x: "strength_gauge_knob";
9125                   to_y: "strength_gauge_confine";
9126                }
9127             }
9128          }
9129       }
9130    }
9131
9132
9133 /////////////////////////////////////////////////////////////////////////////
9134 /*** MOD: CONF_EDGEBINDINGS ***/
9135
9136 /* This group draws the edge and corners for the user to pick.
9137  * XXX: Needs some love from masters of the brush! */
9138
9139    group {
9140       name: "e/modules/conf_edgebindings/selection";
9141       parts {
9142          part {
9143             name: "e.swallow.background";
9144             type: SWALLOW;
9145             mouse_events: 0;
9146             description {
9147                state: "default" 0.0;
9148                min: 210 150;
9149                rel1.offset: 4 4;
9150                rel2 {
9151                   relative: 0.5 1;
9152                   offset: -2 -5;
9153                }
9154             }
9155          }
9156          part {
9157             name: "e.edge.top_left";
9158             type: RECT;
9159             description {
9160                state: "default" 0.0;
9161                rel1 {
9162                   to: "e.swallow.background";
9163                }
9164                rel2 {
9165                   relative: 0 0;
9166                   offset: 20 20;
9167                   to: "e.swallow.background";
9168                }
9169                color: 255 0 0 150;
9170             }
9171          }
9172          part {
9173             name: "e.edge.top";
9174             type: RECT;
9175             description {
9176                state: "default" 0.0;
9177                rel1 {
9178                   offset: 20 0;
9179                   to: "e.swallow.background";
9180                }
9181                rel2 {
9182                   relative: 1 0;
9183                   offset: -20 15;
9184                   to: "e.swallow.background";
9185                }
9186                color: 255 255 0 150;
9187             }
9188          }
9189          part {
9190             name: "e.edge.top_right";
9191             type: RECT;
9192             description {
9193                state: "default" 0.0;
9194                rel1 {
9195                   relative: 1 0;
9196                   offset: -20 0;
9197                   to: "e.swallow.background";
9198                }
9199                rel2 {
9200                   relative: 1 0;
9201                   offset: 0 20;
9202                   to: "e.swallow.background";
9203                }
9204                color: 255 0 0 150;
9205             }
9206          }
9207          part {
9208             name: "e.edge.right";
9209             type: RECT;
9210             description {
9211                state: "default" 0.0;
9212                rel1 {
9213                   relative: 1 0;
9214                   offset: -15 20;
9215                   to: "e.swallow.background";
9216                }
9217                rel2 {
9218                   relative: 1 1;
9219                   offset: 0 -20;
9220                   to: "e.swallow.background";
9221                }
9222                color: 255 255 0 150;
9223             }
9224          }
9225          part {
9226             name: "e.edge.bottom_right";
9227             type: RECT;
9228             description {
9229                state: "default" 0.0;
9230                rel1 {
9231                   relative: 1 1;
9232                   offset: -20 -20;
9233                   to: "e.swallow.background";
9234                }
9235                rel2 {
9236                   relative: 1 1;
9237                   offset: 0 0;
9238                   to: "e.swallow.background";
9239                }
9240                color: 255 0 0 150;
9241             }
9242          }
9243          part {
9244             name: "e.edge.bottom";
9245             type: RECT;
9246             description {
9247                state: "default" 0.0;
9248                rel1 {
9249                   relative: 0 1;
9250                   offset: 20 -15;
9251                   to: "e.swallow.background";
9252                }
9253                rel2 {
9254                   relative: 1 1;
9255                   offset: -20 0;
9256                   to: "e.swallow.background";
9257                }
9258                color: 255 255 0 150;
9259             }
9260          }
9261          part {
9262             name: "e.edge.bottom_left";
9263             type: RECT;
9264             description {
9265                state: "default" 0.0;
9266                rel1 {
9267                   relative: 0 1;
9268                   offset: 0 -20;
9269                   to: "e.swallow.background";
9270                }
9271                rel2 {
9272                   relative: 0 1;
9273                   offset: 20 0;
9274                   to: "e.swallow.background";
9275                }
9276                color: 255 0 0 150;
9277             }
9278          }
9279          part {
9280             name: "e.edge.left";
9281             type: RECT;
9282             description {
9283                state: "default" 0.0;
9284                rel1 {
9285                   relative: 0 0;
9286                   offset: 0 20;
9287                   to: "e.swallow.background";
9288                }
9289                rel2 {
9290                   relative: 0 1;
9291                   offset: 15 -20;
9292                   to: "e.swallow.background";
9293                }
9294                color: 255 255 0 150;
9295             }
9296          }
9297          part {
9298             name: "e.swallow.check";
9299             type: SWALLOW;
9300             description {
9301                state: "default" 0.0;
9302                rel1 {
9303                   relative: 1 1;
9304                   offset: 5 4;
9305                   to_x: "e.swallow.background";
9306                   to_y: "e.text.description";
9307                }
9308                rel2 {
9309                   relative: 1 1;
9310                   offset: -5 24;
9311                   to_y: "e.text.description";
9312                }
9313             }
9314          }
9315          part {
9316             name: "e.swallow.slider";
9317             type: SWALLOW;
9318             description {
9319                state: "default" 0.0;
9320                rel1 {
9321                   relative: 1 1;
9322                   offset: 5 1;
9323                   to_x: "e.edge.bottom_right";
9324                   to_y: "e.swallow.check";
9325                }
9326                rel2 {
9327                   relative: 1 1;
9328                   offset: -5 -1;
9329                }
9330             }
9331          }
9332          part {
9333             name: "e.text.description";
9334             type: TEXTBLOCK;
9335             mouse_events: 0;
9336             scale: 1;
9337             description {
9338                state: "default" 0.0;
9339                rel1 {
9340                   relative: 1 0;
9341                   offset: 5 4;
9342                   to_x: "e.swallow.background";
9343                }
9344                rel2 {
9345                   relative: 1 1;
9346                   offset: -5 -45;
9347                }
9348                text {
9349                   style: "dialog_style";
9350                   min: 1 1;
9351                }
9352             }
9353          }
9354          part {
9355             name: "e.text.selection";
9356             type: TEXT;
9357             effect: SOFT_SHADOW;
9358             mouse_events: 0;
9359             description {
9360                state: "default" 0.0;
9361                align: 0.5 0.5;
9362                rel1 {
9363                   relative: 1 1;
9364                   offset: 5 5;
9365                   to: "e.edge.top_left";
9366                }
9367                rel2 {
9368                   relative: 0 0;
9369                   offset: -5 -5;
9370                   to: "e.edge.bottom_right";
9371                }
9372                color: 224 224 224 255;
9373                color3: 0 0 0 64;
9374                text {
9375                   font: "Sans:style=Bold";
9376                   size: 12;
9377                   align: 0.5 0.5;
9378                   fit: 1 1;
9379                }
9380             }
9381          }
9382       }
9383    }
9384
9385
9386 /////////////////////////////////////////////////////////////////////////////
9387 /*** MOD: START ***/
9388
9389    /* This is for the "start" module - i.e. a "start" button. It simply
9390     * provides such a button/gadget in a shelf that pops up E's main
9391     * menu - a nice familiarity feature for those from the windows world.
9392     * Other than that it really does nothing, so this button can be quite
9393     * imaginative as it has few functional requirements */
9394
9395    group {
9396       name: "e/modules/start/main";
9397       max: 128 128;
9398       images {
9399          image: "logo_white_128.png" COMP;
9400          image: "logo_black_128.png" COMP;
9401       }
9402       parts {
9403          part {
9404             name: "base";
9405             description {
9406                state: "default" 0.0;
9407                aspect: 1.0 1.0;
9408                aspect_preference: BOTH;
9409                image.normal: "logo_white_128.png";
9410             }
9411             description {
9412                state: "active" 0.0;
9413                inherit: "default" 0.0;
9414                visible: 0;
9415                color: 255 255 255 0;
9416             }
9417          }
9418          part {
9419             name: "over";
9420             description {
9421                state: "default" 0.0;
9422                visible: 0;
9423                rel1.relative: -0.5 -0.5;
9424                rel2.relative: 1.5 1.5;
9425                color: 255 255 255 0;
9426                aspect: 1.0 1.0;
9427                aspect_preference: BOTH;
9428                image.normal: "logo_black_128.png";
9429             }
9430             description {
9431                state: "active" 0.0;
9432                inherit: "default" 0.0;
9433                rel1.relative: 0.0 0.0;
9434                rel2.relative: 1.0 1.0;
9435                visible: 1;
9436                color: 255 255 255 255;
9437             }
9438          }
9439       }
9440       programs {
9441          program {
9442             name: "on";
9443             signal: "e,state,focused";
9444             source: "e";
9445             action: STATE_SET "active" 0.0;
9446             transition: LINEAR 0.2;
9447             target: "base";
9448             target: "over";
9449          }
9450          program {
9451             name: "off";
9452             signal: "e,state,unfocused";
9453             source: "e";
9454             action: STATE_SET "default" 0.0;
9455             transition: LINEAR 0.3;
9456             target: "base";
9457             target: "over";
9458          }
9459       }
9460    }
9461
9462
9463 /////////////////////////////////////////////////////////////////////////////
9464 /*** MOD: PAGER ***/
9465
9466    group {
9467       name: "e/modules/pager/popup";
9468       images {
9469          image: "base_bg.png" COMP;
9470          image: "bd_top_hilight.png" COMP;
9471          image: "bd_title_bg.png" COMP;
9472          image: "bd_title_over.png" COMP;
9473       }
9474       parts {
9475          part {
9476             name: "base";
9477             mouse_events: 0;
9478             description {
9479                state: "default" 0.0;
9480                image {
9481                   normal: "base_bg.png";
9482                   border: 2 2 2 2;
9483                }
9484                fill.smooth: 0;
9485             }
9486          }
9487          part {
9488             name: "top_hilight";
9489             mouse_events: 0;
9490             description {
9491                state: "default" 0.0;
9492                rel1 {
9493                   relative: 0.0 0.0;
9494                   offset: 0 0;
9495                }
9496                rel2 {
9497                   relative: 1.0 0.0;
9498                   offset: -1 15;
9499                }
9500                image.normal: "bd_top_hilight.png";
9501                fill.smooth: 0;
9502             }
9503          }
9504          part {
9505             name: "title_back";
9506             mouse_events: 0;
9507             description {
9508                state: "default" 0.0;
9509                rel1 {
9510                   relative: 0.0 0.0;
9511                   offset: 4 0;
9512                }
9513                rel2 {
9514                   to_y: "e.text.label";
9515                   relative: 1.0 1.0;
9516                   offset: -5 -4;
9517                }
9518                image {
9519                   normal: "bd_title_bg.png";
9520                   border: 7 7 2 7;
9521                }
9522                fill.smooth: 0;
9523             }
9524          }
9525          part {
9526             name: "e.text.label";
9527             type: TEXT;
9528             mouse_events: 0;
9529             scale: 1;
9530             effect: SOFT_SHADOW;
9531             description {
9532                state: "default" 0.0;
9533                fixed: 1 1;
9534                align: 0.5 0.0;
9535                rel1 {
9536                   relative: 0.0 0.0;
9537                   offset: 0 0;
9538                }
9539                rel2 {
9540                   relative: 1.0 0.0;
9541                   offset: -1 0;
9542                }
9543                color: 224 224 224 255;
9544                color3: 0 0 0 64;
9545                text {
9546                   font: "Sans:style=Bold";
9547                   size: 10;
9548                   align: 0.5 0.0;
9549                   min: 1 1;
9550                }
9551             }
9552          }
9553          part {
9554             name: "title_over";
9555             mouse_events: 0;
9556             description {
9557                state: "default" 0.0;
9558                rel1.to: "title_back";
9559                rel2.to: "title_back";
9560                image {
9561                   normal: "bd_title_over.png";
9562                   border: 7 7 2 7;
9563                }
9564                fill.smooth: 0;
9565             }
9566          }
9567          part {
9568             name: "e.swallow.content";
9569             type: SWALLOW;
9570             description {
9571                state: "default" 0.0;
9572                rel1 {
9573                   to_y: "e.text.label";
9574                   relative: 0.0 1.0;
9575                   offset: 12 11;
9576                }
9577                rel2 {
9578                   relative: 1.0 1.0;
9579                   offset: -13 -13;
9580                }
9581             }
9582          }
9583       }
9584    }
9585    group {
9586       name: "e/modules/pager/desk";
9587       images {
9588          image: "pager_base1.png" COMP;
9589          image: "pager_base2.png" COMP;
9590          image: "pager_hi1.png" COMP;
9591          image: "pager_hi2.png" COMP;
9592          image: "pager_base_pattern.png" COMP;
9593       }
9594       script {
9595          public disable_live_preview = 0;
9596          public show_desk_names = 0;
9597          public mouse_in = 0;
9598       }
9599       parts {
9600          part {
9601             name: "zoom";
9602             type: RECT;
9603             mouse_events: 0;
9604             description {
9605                state: "default" 0.0;
9606                visible: 0;
9607                rel1.offset: 0 0;
9608                rel2.offset: -1 -1;
9609             }
9610             description {
9611                state: "active" 0.0;
9612                inherit: "default" 0.0;
9613                rel1.offset: -3 -3;
9614                rel2.offset: 2 2;
9615             }
9616          }
9617          part {
9618             name: "base";
9619             description {
9620                state: "default" 0.0;
9621                visible: 1;
9622                color: 255 255 255 255;
9623                rel1 {
9624                   to: "zoom";
9625                   offset: -1 -1;
9626                }
9627                rel2 {
9628                   to: "zoom";
9629                   offset: 0 0;
9630                }
9631                image.normal: "pager_base2.png";
9632                image.border: 5 5 5 5;
9633                fill.smooth: 0;
9634             }
9635             description {
9636                state: "active" 0.0;
9637                inherit: "default" 0.0;
9638                visible: 0;
9639                color: 255 255 255 0;
9640             }
9641             description {
9642                state: "hidden" 0.0;
9643                inherit: "default" 0.0;
9644                visible: 0;
9645             }
9646          }
9647          part {
9648             name: "base2";
9649             description {
9650                state: "default" 0.0;
9651                visible: 0;
9652                color: 255 255 255 0;
9653                rel1 {
9654                   to: "zoom";
9655                   offset: -11 -11;
9656                }
9657                rel2 {
9658                   to: "zoom";
9659                   offset: 10 10;
9660                }
9661                image.normal: "pager_base1.png";
9662                image.border: 5 5 5 5;
9663                fill.smooth: 0;
9664             }
9665             description {
9666                state: "active" 0.0;
9667                inherit: "default" 0.0;
9668                visible: 1;
9669                color: 255 255 255 255;
9670                rel1.offset: -1 -1;
9671                rel2.offset: 0 0;
9672             }
9673             description {
9674                state: "hidden" 0.0;
9675                inherit: "default" 0.0;
9676                visible: 0;
9677             }
9678          }
9679          part {
9680             name: "e.background";
9681             type: SWALLOW;
9682             clip_to: "bg_clip";
9683             description {
9684                state: "default" 0.0;
9685                rel1 {
9686                   to: "base";
9687                   offset: 3 3;
9688                }
9689                rel2 {
9690                   to: "base";
9691                   offset: -4 -4;
9692                }
9693             }
9694             description {
9695                state: "hidden" 0.0;
9696                inherit: "default" 0.0;
9697                visible: 0;
9698             }
9699          }
9700          part {
9701             name: "bg_clip";
9702             type: RECT;
9703             description {
9704                state: "default" 0.0;
9705                color: 255 255 255 200;
9706                rel1.to: "e.background";
9707                rel2.to: "e.background";
9708             }
9709             description {
9710                state: "active" 0.0;
9711                inherit: "default" 0.0;
9712                color: 255 255 255 255;
9713             }
9714             description {
9715                state: "hidden" 0.0;
9716                inherit: "default" 0.0;
9717                visible: 0;
9718             }
9719          }
9720          part {
9721             name: "pattern";
9722             mouse_events: 0;
9723             description {
9724                state: "default" 0.0;
9725                visible: 0;
9726                color: 255 255 255 0;
9727                rel1.to: "over2";
9728                rel2.to: "over2";
9729                image.normal: "pager_base_pattern.png";
9730                fill.size.relative: 0.0 0.0;
9731                fill.size.offset: 12 12;
9732             }
9733             description {
9734                state: "active" 0.0;
9735                inherit: "default" 0.0;
9736                visible: 1;
9737                color: 255 255 255 255;
9738             }
9739          }
9740          part {
9741             name: "clip";
9742             type: RECT;
9743             mouse_events: 0;
9744             description {
9745                state: "default" 0.0;
9746                color: 255 255 255 128;
9747                rel1 {
9748                   to: "base";
9749                   offset: 4 4;
9750                }
9751                rel2 {
9752                   to: "base";
9753                   offset: -5 -5;
9754                }
9755             }
9756             description {
9757                state: "active" 0.0;
9758                inherit: "default" 0.0;
9759                color: 255 255 255 255;
9760             }
9761          }
9762          part {
9763             name: "e.swallow.content";
9764             type: SWALLOW;
9765             clip_to: "clip";
9766             description {
9767                state: "default" 0.0;
9768                rel1.to: "clip";
9769                rel2.to: "clip";
9770             }
9771          }
9772          part {
9773             name: "e.text.label";
9774             type: TEXT;
9775             mouse_events: 0;
9776             scale: 1;
9777             description {
9778                state: "default" 0.0;
9779                rel1.to: "clip";
9780                rel2.to: "clip";
9781                color: 0 0 0 0;
9782                color_class: "module_label";
9783                text {
9784                   font: "Sans:style=Bold";
9785                   size: 8;
9786                   align: 0.5 0.5;
9787                   text_class: "module_small";
9788                }
9789             }
9790             description {
9791                state: "active" 0.0;
9792                inherit: "default" 0.0;
9793                color: 0 0 0 128;
9794             }
9795          }
9796          part {
9797             name: "over";
9798             mouse_events: 0;
9799             description {
9800                state: "default" 0.0;
9801                visible: 1;
9802                color: 255 255 255 255;
9803                image.normal: "pager_hi2.png";
9804                rel1 {
9805                   to: "base";
9806                   offset: 3 3;
9807                }
9808                rel2 {
9809                   to: "base";
9810                   offset: -4 -4;
9811                }
9812                image.border: 2 2 2 2;
9813                image.middle: 0;
9814                fill.smooth: 0;
9815             }
9816             description {
9817                state: "active" 0.0;
9818                inherit: "default" 0.0;
9819                visible: 0;
9820                color: 255 255 255 0;
9821             }
9822          }
9823          part {
9824             name: "over2";
9825             mouse_events: 0;
9826             description {
9827                state: "default" 0.0;
9828                visible: 0;
9829                color: 255 255 255 0;
9830                image.normal: "pager_hi1.png";
9831                rel1 {
9832                   to: "base2";
9833                   offset: 3 3;
9834                }
9835                rel2 {
9836                   to: "base2";
9837                   offset: -4 -4;
9838                }
9839                image.border: 2 2 2 2;
9840                image.middle: 0;
9841                fill.smooth: 0;
9842             }
9843             description {
9844                state: "active" 0.0;
9845                inherit: "default" 0.0;
9846                visible: 1;
9847                color: 255 255 255 255;
9848             }
9849          }
9850          part {
9851             name: "e.eventarea";
9852             type: RECT;
9853             mouse_events: 1;
9854             repeat_events: 1;
9855             description {
9856                state: "default" 0.0;
9857                visible: 1;
9858                color: 255 255 255 0;
9859             }
9860          }
9861       }
9862       programs {
9863          program {
9864             name: "select";
9865             signal: "e,state,selected";
9866             source: "e";
9867             script {
9868                if (get_int(disable_live_preview) == 1) {
9869                     set_state(PART:"base", "active", 0.0);
9870                     set_state(PART:"base2", "active", 0.0);
9871                     set_state(PART:"pattern", "active", 0.0);
9872                     set_state(PART:"clip", "active", 0.0);
9873                     set_state(PART:"over", "active", 0.0);
9874                     set_state(PART:"over2", "active", 0.0);
9875                } else
9876                  set_state(PART:"bg_clip", "active", 0.0);
9877             }
9878             transition: LINEAR 0.2;
9879          }
9880          program {
9881             name: "unselect";
9882             signal: "e,state,unselected";
9883             source: "e";
9884             script {
9885                if (get_int(disable_live_preview) == 1) {
9886                     set_state(PART:"base", "default", 0.0);
9887                     set_state(PART:"base2", "default", 0.0);
9888                     set_state(PART:"pattern", "default", 0.0);
9889                     set_state(PART:"clip", "default", 0.0);
9890                     set_state(PART:"over", "default", 0.0);
9891                     set_state(PART:"over2", "default", 0.0);
9892                } else
9893                  set_state(PART:"bg_clip", "default", 0.0);
9894             }
9895             transition: LINEAR 0.3;
9896          }
9897          program {
9898             name: "preview";
9899             signal: "e,preview,on";
9900             source: "e";
9901             script {
9902                set_int(disable_live_preview, 0);
9903                set_state(PART:"bg_clip", "default", 0.0);
9904                set_state(PART:"e.background", "default", 0.0);
9905                set_state(PART:"base", "hidden", 0.0);
9906                set_state(PART:"base2", "hidden", 0.0);
9907                set_state(PART:"pattern", "default", 0.0);
9908                set_state(PART:"over", "active", 0.0);
9909                set_state(PART:"over2", "default", 0.0);
9910             }
9911             transition: LINEAR 0.3;
9912          }
9913          program {
9914             name: "preview_off";
9915             signal: "e,preview,off";
9916             source: "e";
9917             script {
9918                set_int(disable_live_preview, 1);
9919                set_state(PART:"bg_clip", "hidden", 0.0);
9920                set_state(PART:"e.background", "hidden", 0.0);
9921                set_state(PART:"base", "default", 0.0);
9922                set_state(PART:"base2", "default", 0.0);
9923             }
9924             transition: LINEAR 0.3;
9925          }
9926          program {
9927             name: "drg";
9928             signal: "e,action,drag,in";
9929             source: "e";
9930             action: STATE_SET "active" 0.0;
9931             transition: SINUSOIDAL 0.2;
9932             target: "zoom";
9933             after: "drg2";
9934          }
9935          program {
9936             name: "drg2";
9937             action: STATE_SET "default" 0.0;
9938             transition: SINUSOIDAL 0.2;
9939             target: "zoom";
9940             after: "drg";
9941          }
9942          program {
9943             name: "ndrg";
9944             signal: "e,action,drag,out";
9945             source: "e";
9946             action: ACTION_STOP;
9947             target: "drg";
9948             target: "drg2";
9949             after: "ndrg2";
9950          }
9951          program {
9952             name: "ndrg2";
9953             action: STATE_SET "default" 0.0;
9954             target: "zoom";
9955          }
9956          program {
9957             name: "name_enable";
9958             signal: "e,name,show";
9959             source: "e";
9960             script {
9961                set_int(show_desk_names, 1);
9962                set_state(PART:"e.text.label", "active", 0.0);
9963             }
9964          }
9965          program {
9966             name: "name_disable";
9967             signal: "e,name,hide";
9968             source: "e";
9969             script {
9970                set_int(show_desk_names, 0);
9971                if (!get_int(mouse_in))
9972                  set_state(PART:"e.text.label", "default", 0.0);
9973             }
9974          }
9975          program {
9976             name: "name_show";
9977             signal: "mouse,in";
9978             source: "e.eventarea";
9979             script {
9980                if (get_int(show_desk_names) != 1)
9981                  set_state(PART:"e.text.label", "active", 0.0);
9982                set_int(mouse_in, 1);
9983             }
9984             transition: SINUSOIDAL 0.1;
9985          }
9986          program {
9987             name: "name_hide";
9988             signal: "mouse,out";
9989             source: "e.eventarea";
9990             script {
9991                if (get_int(show_desk_names) != 1)
9992                  set_state(PART:"e.text.label", "default", 0.0);
9993                set_int(mouse_in, 0);
9994             }
9995
9996             transition: SINUSOIDAL 0.2;
9997          }
9998          // don't have any states/anim for urgent windows on a desktop
9999          //    program { name: "xx";
10000          //       signal: "e,state,urgent";
10001          //       source: "e";
10002          //    }
10003          // don't have any states/anim for urgent windows on a desktop
10004          //    program { name: "xx";
10005          //       signal: "e,state,not_urgent";
10006          //       source: "e";
10007          //    }
10008       }
10009    }
10010    group {
10011       name: "e/modules/pager/window";
10012       images {
10013          image: "pager_window.png" COMP;
10014          image: "pager_window_unsel.png" COMP;
10015          image: "exclam.png" COMP;
10016       }
10017       parts {
10018          part {
10019             name: "icon_area";
10020             type: RECT;
10021             description {
10022                state: "default" 0.0;
10023                color: 0 0 0 0;
10024             }
10025          }
10026          part {
10027             name: "icon_area2";
10028             type: RECT;
10029             description {
10030                state: "default" 0.0;
10031                visible: 0;
10032             }
10033             description {
10034                state: "uw0" 0.0;
10035                inherit: "default" 0.0;
10036                rel1.offset: -3 -2;
10037                rel2.offset: -4 -3;
10038             }
10039             description {
10040                state: "uw1" 0.0;
10041                inherit: "default" 0.0;
10042                rel1.offset: 5 -2;
10043                rel2.offset: 4 -3;
10044             }
10045             description {
10046                state: "uw2" 0.0;
10047                inherit: "default" 0.0;
10048                rel1.offset: -1 4;
10049                rel2.offset: -2 3;
10050             }
10051             description {
10052                state: "uw3" 0.0;
10053                inherit: "default" 0.0;
10054                rel1.offset: -2 -1;
10055                rel2.offset: -3 -2;
10056             }
10057             description {
10058                state: "uw4" 0.0;
10059                inherit: "default" 0.0;
10060                rel1.offset: -4 1;
10061                rel2.offset: -5 0;
10062             }
10063          }
10064          part {
10065             name: "base";
10066             mouse_events: 0;
10067             description {
10068                state: "default" 0.0;
10069                rel1 {
10070                   to: "icon_area2";
10071                   offset: -3 -3;
10072                }
10073                rel2 {
10074                   to: "icon_area2";
10075                   offset: 2 2;
10076                }
10077                image.normal: "pager_window_unsel.png";
10078                image.border: 9 9 7 6;
10079             }
10080             description {
10081                state: "focused" 0.0;
10082                inherit: "default" 0.0;
10083                image.normal: "pager_window.png";
10084             }
10085          }
10086          part {
10087             name: "e.swallow.icon";
10088             type: SWALLOW;
10089             description {
10090                state: "default" 0.0;
10091                visible: 1;
10092                align: 1.0 1.0;
10093                max: 24  24;
10094                aspect: 1.0 1.0;
10095                aspect_preference: BOTH;
10096                rel1 {
10097                   to: "base";
10098                   offset: 4 7;
10099                }
10100                rel2 {
10101                   to: "base";
10102                   offset: -5 -7;
10103                }
10104             }
10105             description {
10106                state: "hidden" 0.0;
10107                inherit: "default" 0.0;
10108                visible: 0;
10109             }
10110          }
10111          part {
10112             name: "e.swallow.content";
10113             type: SWALLOW;
10114             mouse_events: 0;
10115             description {
10116                state: "default" 0.0;
10117                visible: 1;
10118                rel1 {
10119                   to: "base";
10120                   offset: 2 2;
10121                }
10122                rel2 {
10123                   to: "base";
10124                   offset: -3 -3;
10125                }
10126             }
10127             description {
10128                state: "hidden" 0.0;
10129                inherit: "default" 0.0;
10130                visible: 0;
10131             }
10132          }
10133          part {
10134             name: "urgent";
10135             mouse_events: 0;
10136             description {
10137                state: "default" 0.0;
10138                visible: 0;
10139                color: 255 255 255 0;
10140                aspect: 1.0 1.0;
10141                aspect_preference: BOTH;
10142                image.normal: "exclam.png";
10143             }
10144             description {
10145                state: "visible" 0.0;
10146                inherit: "default" 0.0;
10147                visible: 1;
10148                color: 255 255 255 255;
10149             }
10150          }
10151          part {
10152             name: "urgent2";
10153             mouse_events: 0;
10154             description {
10155                state: "default" 0.0;
10156                visible: 0;
10157                color: 255 255 255 0;
10158                aspect: 1.0 1.0;
10159                aspect_preference: BOTH;
10160                image.normal: "exclam.png";
10161             }
10162             description {
10163                state: "visible" 0.0;
10164                inherit: "default" 0.0;
10165                visible: 1;
10166                color: 255 255 255 255;
10167             }
10168             description {
10169                state: "faded" 0.0;
10170                inherit: "default" 0.0;
10171                rel1.relative: -1.0 -1.0;
10172                rel2.relative: 2.0 2.0;
10173                visible: 1;
10174                color: 255 255 255 0;
10175             }
10176          }
10177       }
10178       programs {
10179          program {
10180             name: "preview";
10181             signal: "e,preview,on";
10182             source: "e";
10183             script {
10184                set_state(PART:"e.swallow.content", "default", 0.0);
10185                set_state(PART:"e.swallow.icon", "hidden", 0.0);
10186             }
10187          }
10188          program {
10189             name: "preview_off";
10190             signal: "e,preview,off";
10191             source: "e";
10192             script {
10193                set_state(PART:"e.swallow.content", "hidden", 0.0);
10194                set_state(PART:"e.swallow.icon", "default", 0.0);
10195             }
10196          }
10197          program {
10198             name: "focus_in";
10199             signal: "e,state,focused";
10200             source: "e";
10201             action: STATE_SET "focused" 0.0;
10202             target: "base";
10203          }
10204          program {
10205             name: "focus_out";
10206             signal: "e,state,unfocused";
10207             source: "e";
10208             action: STATE_SET "default" 0.0;
10209             target: "base";
10210          }
10211          program {
10212             name: "urgent";
10213             signal: "e,state,urgent";
10214             source: "e";
10215             action: STATE_SET "visible" 0.0;
10216             transition: DECELERATE 0.5;
10217             target: "urgent";
10218             target: "urgent2";
10219             after: "urgent2";
10220          }
10221          program {
10222             name: "urgent2";
10223             action: STATE_SET "faded" 0.0;
10224             transition: LINEAR 0.5;
10225             target: "urgent2";
10226             after: "urgent3";
10227          }
10228          program {
10229             name: "urgent3";
10230             action: STATE_SET "visible" 0.0;
10231             target: "urgent2";
10232             after: "urgent2";
10233          }
10234          program {
10235             name: "urgentw0";
10236             signal: "e,state,urgent";
10237             source: "e";
10238             action: STATE_SET "default" 0.0;
10239             transition: DECELERATE 0.1;
10240             target: "icon_area2";
10241             after: "urgentw1";
10242          }
10243          program {
10244             name: "urgentw1";
10245             action: STATE_SET "uw1" 0.0;
10246             transition: DECELERATE 0.1;
10247             target: "icon_area2";
10248             after: "urgentw2";
10249          }
10250          program {
10251             name: "urgentw2";
10252             action: STATE_SET "uw2" 0.0;
10253             target: "icon_area2";
10254             transition: DECELERATE 0.1;
10255             after: "urgentw3";
10256          }
10257          program {
10258             name: "urgentw3";
10259             action: STATE_SET "uw3" 0.0;
10260             transition: DECELERATE 0.1;
10261             target: "icon_area2";
10262             after: "urgentw4";
10263          }
10264          program {
10265             name: "urgentw4";
10266             action: STATE_SET "uw4" 0.0;
10267             transition: DECELERATE 0.1;
10268             target: "icon_area2";
10269             after: "urgentw0";
10270          }
10271          program {
10272             name: "not_urgent";
10273             signal: "e,state,not_urgent";
10274             source: "e";
10275             action: ACTION_STOP;
10276             target: "urgentw0";
10277             target: "urgentw1";
10278             target: "urgentw2";
10279             target: "urgentw3";
10280             target: "urgentw4";
10281             target: "urgent";
10282             target: "urgent2";
10283             target: "urgent3";
10284             after: "not_urgent2";
10285          }
10286          program {
10287             name: "not_urgent2";
10288             action: STATE_SET "default" 0.0;
10289             target: "urgent";
10290             target: "urgent2";
10291             target: "icon_area2";
10292          }
10293       }
10294    }
10295
10296
10297 /////////////////////////////////////////////////////////////////////////////
10298 /*** MOD: BATTERY ***/
10299
10300    group {
10301       name: "e/modules/battery/main";
10302       images {
10303          image: "batt_base.png" COMP;
10304          image: "batt_level.png" COMP;
10305          image: "batt_over.png" COMP;
10306          image: "batt_power.png" COMP;
10307       }
10308       min: 16 16;
10309       max: 128 128;
10310       script {
10311          public message(Msg_Type:type, id, ...) {
10312             if ((type == MSG_FLOAT) && (id == 1)) {
10313                new Float:val;
10314                new r;
10315                new g;
10316                new b;
10317                val = getfarg(2);
10318                if (val < 0.35) {
10319                   new Float:val1;
10320                   new Float:val2;
10321                   val1 = val - 0.10;
10322                   if (val1 < 0.0) val1 = 0.0;
10323                      val2 = 0.125 - val1;
10324                   if (val2 < 0.0) val2 = 0.0;
10325                      val2 = val2 / 0.125;
10326                      r = round(val2 * 255.0, ROUND);
10327                      val2 = val1;
10328                   if (val2 > 0.125) val2 = 0.125;
10329                      val2 = val2 / 0.125;
10330                      g = round(val2 * 255.0, ROUND);
10331                      b = 0;
10332                } 
10333                else {
10334                   r = 0;
10335                   g = 255;
10336                   b = 0;
10337                }
10338                custom_state(PART:"fill", "default", 0.0);
10339                set_state_val(PART:"fill", STATE_COLOR, r, g, b, 255);
10340                set_state_val(PART:"fill", STATE_COLOR, r, g, b, 255);
10341                set_state_val(PART:"fill", STATE_COLOR, r, g, b, 255);
10342                set_state(PART:"fill", "custom", 0.0);
10343                
10344                custom_state(PART:"fill_clip", "default", 0.0);
10345                set_state_val(PART:"fill_clip", STATE_REL1, 0.0, 1.0 - val);
10346                set_state(PART:"fill_clip", "custom", 0.0);
10347             }
10348          }
10349       }
10350       parts {
10351          part { name: "fade_clip";
10352             type: RECT;
10353             mouse_events: 0;
10354             description { state: "default" 0.0;
10355                color: 255 255 255 255;
10356             }
10357             description { state: "faded" 0.0;
10358                color: 255 255 255 160;
10359             }
10360          }
10361          part { name: "info_clip";
10362             type: RECT;
10363             mouse_events: 0;
10364             clip_to: "fade_clip";
10365             description { state: "default" 0.0;
10366                color: 255 255 255 0;
10367             }
10368             description { state: "visible" 0.0;
10369                color: 255 255 255 255;
10370             }
10371          }
10372          part { name: "pulse_clip";
10373             type: RECT;
10374             mouse_events: 0;
10375             clip_to: "fade_clip";
10376             description { state: "default" 0.0;
10377                color: 255 255 255 255;
10378             }
10379             description { state: "faded" 1.0;
10380                color: 255 255 255 255;
10381             }
10382             description { state: "faded" 0.0;
10383                color: 255 255 255 0;
10384             }
10385          }
10386          part { name: "fill_region";
10387             mouse_events: 0;
10388             type: RECT;
10389             description { state: "default" 0.0;
10390                visible: 0;
10391                rel1.relative: 0.0 (26/128);
10392                rel2.relative: 1.0 ((128-14)/128);
10393             }
10394          }
10395          part { name: "fill_clip";
10396             type: RECT;
10397             mouse_events: 0;
10398             clip_to: "pulse_clip";
10399             description { state: "default" 0.0;
10400                rel1.to: "fill_region";
10401                rel1.relative: 0.0 0.5;
10402                rel2.to: "fill_region";
10403                color: 255 255 255 255;
10404             }
10405          }
10406          part { name: "base";
10407             clip_to: "pulse_clip";
10408             description { state: "default" 0.0;
10409                aspect: 1.0 1.0;
10410                aspect_preference: BOTH;
10411                image.normal: "batt_base.png";
10412             }
10413          }
10414          part { name: "fill";
10415             mouse_events: 0;
10416             clip_to: "fill_clip";
10417             description { state: "default" 0.0;
10418                rel1.to: "base";
10419                rel2.to: "base";
10420                image.normal: "batt_level.png";
10421             }
10422          }
10423          part { name: "over";
10424             mouse_events: 0;
10425             clip_to: "pulse_clip";
10426             description { state: "default" 0.0;
10427                rel1.to: "base";
10428                rel2.to: "base";
10429                image.normal: "batt_over.png";
10430             }
10431          }
10432          part { name: "power";
10433             mouse_events: 0;
10434             description { state: "default" 0.0;
10435                rel1.to: "base";
10436                rel2.to: "base";
10437                image.normal: "batt_power.png";
10438                visible: 0;
10439             }
10440             description { state: "visible" 0.0;
10441                inherit: "default" 0.0;
10442                visible: 1;
10443             }
10444          }
10445          part { name: "e.text.reading";
10446             mouse_events: 0;
10447             type: TEXT;
10448             scale: 1;
10449             clip_to: "info_clip";
10450             effect: OUTLINE;
10451             description { state: "default" 0.0;
10452                align: 1.0 0.5;
10453                rel1.relative: 0.5 0.0;
10454                rel2.relative: 1.0 0.3;
10455                color: 0 0 0 255;
10456                color2: 255 255 255 128;
10457                color_class: "module_label";
10458                text {
10459                   font: "Sans";
10460                   size: 8;
10461                   min: 1 1;
10462                   align: 1.0 0.5;
10463                   text_class: "module_small";
10464                }
10465             }
10466          }
10467          part { name: "e.text.time";
10468             mouse_events: 0;
10469             type: TEXT;
10470             scale: 1;
10471             clip_to: "info_clip";
10472             effect: OUTLINE;
10473             description { state: "default" 0.0;
10474                align: 1.0 0.5;
10475                rel1.relative: 0.5 0.3;
10476                rel2.relative: 1.0 0.6;
10477                color: 0 0 0 255;
10478                color2: 255 255 255 128;
10479                color_class: "module_label";
10480                text {
10481                   font: "Sans";
10482                   size: 8;
10483                   min: 1 1;
10484                   align: 1.0 0.5;
10485                   text_class: "module_small";
10486                }
10487             }
10488          }
10489       }
10490       programs {
10491          program { name: "hover1";
10492             signal: "mouse,in";
10493             source: "base";
10494             action: STATE_SET "visible" 0.0;
10495             transition: LINEAR 0.3;
10496             target: "info_clip";
10497          }
10498          program { name: "hover2";
10499             signal: "mouse,out";
10500             source: "base";
10501             action: STATE_SET "default" 0.0;
10502             transition: LINEAR 0.3;
10503             target: "info_clip";
10504          }
10505          program { name: "charge";
10506             signal: "e,state,charging";
10507             source: "e";
10508             action: STATE_SET "visible" 0.0;
10509             target: "power";
10510          }
10511          program { name: "discharge";
10512             signal: "e,state,discharging";
10513             source: "e";
10514             action: STATE_SET "default" 0.0;
10515             target: "power";
10516          }
10517          program { name: "unknown";
10518             signal: "e,state,unknown";
10519             source: "e";
10520             action: STATE_SET "faded" 0.0;
10521             target: "fade_clip";
10522          }
10523          program { name: "pulse";
10524             signal: "e,action,pulse,start";
10525             source: "e";
10526             action: STATE_SET "faded" 0.0;
10527             transition: ACCELERATE 0.3;
10528             after: "pulse2";
10529             target: "pulse_clip";
10530          }
10531          program { name: "pulse2";
10532             action: STATE_SET "faded" 1.0;
10533             transition: ACCELERATE 0.1;
10534             target: "pulse_clip";
10535          }
10536          program { name: "pulsestop";
10537             signal: "e,action,pulse,stop";
10538             source: "e";
10539             action: STATE_SET "default" 0.0;
10540             target: "pulse_clip";
10541          }
10542       }
10543    }
10544    group {
10545       name: "e/modules/battery/popup";
10546       min: 240 64;
10547       parts {
10548          part {
10549             name: "battery";
10550             type: SWALLOW;
10551             mouse_events: 1;
10552             repeat_events: 1;
10553             description {
10554                state: "default" 0.0;
10555                min: 1 1;
10556                max: 120 120;
10557                aspect: 1.0 1.0;
10558                aspect_preference: VERTICAL;
10559                align: 0.0 0.5;
10560                rel1.relative: 0.0 0.0;
10561                rel2.relative: 1.0 1.0;
10562                color: 255 255 255 255;
10563             }
10564          }
10565          part {
10566             name: "e.text.title";
10567             type: TEXT;
10568             mouse_events: 0;
10569             scale: 1;
10570             description {
10571                state: "default" 0.0;
10572                rel1 {
10573                   relative: 1.0 0.0;
10574                   to_x: battery;
10575                   offset: 0 0;
10576                }
10577                rel2 {
10578                   relative: 1.0 0.5;
10579                   offset: -1 -1;
10580                }
10581                color: 0 0 0 255;
10582                text {
10583                   text: "Your battery is low!";
10584                   font: "Sans:style=Bold";
10585                   size: 10;
10586                   min: 1 1;
10587                   align: 0.5 0.5;
10588                   text_class: "module_large";
10589                }
10590             }
10591          }
10592          part {
10593             name: "e.text.label";
10594             type: TEXT;
10595             mouse_events: 0;
10596             scale: 1;
10597             description {
10598                state: "default" 0.0;
10599                rel1 {
10600                   relative: 1.0 0.5;
10601                   to_x: battery;
10602                   offset: 0 0;
10603                }
10604                rel2 {
10605                   relative: 1.0 1.0;
10606                   offset: -1 -1;
10607                }
10608                color: 0 0 0 255;
10609                text {
10610                   text: "AC power is recommended.";
10611                   font: "Sans";
10612                   size: 10;
10613                   min: 1 1;
10614                   align: 0.5 0.5;
10615                   text_class: "module_normal";
10616                }
10617             }
10618          }
10619       }
10620    }
10621
10622
10623 /////////////////////////////////////////////////////////////////////////////
10624 /*** MOD: TEMPERATURE ***/
10625
10626    group {
10627       name: "e/modules/temperature/main";
10628       images {
10629          image: "temp_base.png" COMP;
10630          image: "temp_mid.png" COMP;
10631          image: "temp_over.png" COMP;
10632       }
10633       min: 16 16;
10634       max: 128 128;
10635       script {
10636          public message(Msg_Type:type, id, ...) {
10637             if ((type == MSG_FLOAT) && (id == 1)) {
10638                new Float:val;
10639                val = getfarg(2);
10640                set_drag(PART:"temp_top", 0.0, val);
10641             }
10642          }
10643       }
10644       parts {
10645          part {
10646             name: "base";
10647             clip_to: "fade_clip";
10648             description {
10649                state: "default" 0.0;
10650                aspect: 0.387 0.387;
10651                aspect_preference: BOTH;
10652                align: 0.5 0.5;
10653                max: 48 124;
10654                rel1 {
10655                   relative: 0.0 0.0;
10656                }
10657                rel2 {
10658                   relative: 1.0 1.0;
10659                }
10660                image {
10661                   normal: "temp_base.png";
10662                }
10663             }
10664          }
10665          part {
10666             name: "temp";
10667             clip_to: "temp_clip";
10668             description {
10669                state: "default" 0.0;
10670                rel1 {
10671                   to: "base";
10672                }
10673                rel2 {
10674                   to: "base";
10675                }
10676                image {
10677                   normal: "temp_mid.png";
10678                }
10679             }
10680          }
10681          part {
10682             name: "overlay";
10683             clip_to: "fade_clip";
10684             description {
10685                state: "default" 0.0;
10686                rel1 {
10687                   to: "base";
10688                }
10689                rel2 {
10690                   to: "base";
10691                }
10692                image {
10693                   normal: "temp_over.png";
10694                }
10695             }
10696          }
10697          part {
10698             name: "e.text.reading";
10699             type: TEXT;
10700             scale: 1;
10701             effect: OUTLINE_SOFT_SHADOW;
10702             clip_to: "fade_clip";
10703             description {
10704                state: "default" 0.0;
10705                align: 1.0 0.0;
10706                rel1 {
10707                   relative: 1.0  0.0;
10708                   to_x: "temp";
10709                }
10710                rel2 {
10711                   relative: 1.0  0.0;
10712                }
10713                color: 255 255 255 0;
10714                color2: 0 0 0 0;
10715                color3: 0 0 0 0;
10716                color_class: "module_label";
10717                text {
10718                   font: "Sans:style=Bold";
10719                   size: 8;
10720                   min: 1 1;
10721                   align: 0.0 0.0;
10722                   text_class: "module_small";
10723                }
10724             }
10725             description {
10726                state: "visible" 0.0;
10727                inherit: "default" 0.0;
10728                color: 255 255 255 255;
10729                color2: 0 0 0 128;
10730                color3: 0 0 0 32;
10731             }
10732          }
10733          part {
10734             name: "fade_clip";
10735             type: RECT;
10736             mouse_events: 0;
10737             description {
10738                state: "default" 0.0;
10739                color: 255 255 255 255;
10740             }
10741             description {
10742                state: "faded" 0.0;
10743                color: 255 255 255 128;
10744             }
10745          }
10746          part {
10747             name: "temp_clip";
10748             type: RECT;
10749             clip_to: "fade_clip";
10750             mouse_events: 0;
10751             description {
10752                state: "default" 0.0;
10753                rel1 {
10754                   to_x: "base";
10755                   to_y: "temp_top";
10756                }
10757                rel2 {
10758                   to: "base";
10759                }
10760             }
10761          }
10762          part {
10763             name: "temp_top";
10764             type: RECT;
10765             dragable {
10766                x: 0 0 0;
10767                y: -1 1 0;
10768                confine: "temp_limit";
10769             }
10770             mouse_events: 0;
10771             description {
10772                state: "default" 0.0;
10773                visible: 0;
10774             }
10775          }
10776          part {
10777             name: "temp_limit";
10778             type: RECT;
10779             mouse_events: 0;
10780             description {
10781                state: "default" 0.0;
10782                visible: 0;
10783                rel1 {
10784                   relative: 0.0 0.081;
10785                   to: "base";
10786                }
10787                rel2 {
10788                   relative: 1.0 0.637;
10789                   to: "base";
10790                }
10791             }
10792          }
10793          part {
10794             name: "over";
10795             type: RECT;
10796             description {
10797                state: "default" 0.0;
10798                color: 0 0 0 0;
10799             }
10800          }
10801       }
10802       programs {
10803          program {
10804             name: "hover1";
10805             signal: "mouse,in";
10806             source: "over";
10807             action: STATE_SET "visible" 0.0;
10808             transition: LINEAR 0.3;
10809             target: "e.text.reading";
10810          }
10811          program {
10812             name: "hover2";
10813             signal: "mouse,out";
10814             source: "over";
10815             action: STATE_SET "default" 0.0;
10816             transition: LINEAR 1.0;
10817             target: "e.text.reading";
10818          }
10819          program {
10820             name: "known";
10821             signal: "e,state,known";
10822             source: "e";
10823             action: STATE_SET "default" 0.0;
10824             target: "fade_clip";
10825          }
10826          program {
10827             name: "unknown";
10828             signal: "e,state,unknown";
10829             source: "e";
10830             action: STATE_SET "faded" 0.0;
10831             target: "fade_clip";
10832          }
10833       }
10834    }
10835
10836
10837 /////////////////////////////////////////////////////////////////////////////
10838 /*** MOD: BACKLIGHT ***/
10839    group { name: "e/modules/backlight/main";
10840       images {
10841          image: "bulb-0.png" COMP;
10842          image: "bulb-1.png" COMP;
10843          image: "bulb-2.png" COMP;
10844       }
10845       min: 16 16;
10846       max: 128 128;
10847       script {      
10848        public message(Msg_Type:type, id, ...) {
10849           if ((type == MSG_FLOAT) && (id == 0)) {
10850              new Float:val;
10851              val = getfarg(2);
10852              set_tween_state(PART:"glow", val, "default", 0.0, "full", 0.0);
10853              set_tween_state(PART:"glow2", val, "default", 0.0, "full", 0.0);
10854           }
10855        }
10856       }
10857       parts {
10858          part {
10859             name: "glow";
10860             description { state: "default" 0.0;
10861                rel1.to: "base";
10862                rel2.to: "base";
10863                image.normal: "bulb-1.png";
10864                color: 255 255 255 0;
10865             }
10866             description { state: "full" 0.0;
10867                inherit: "default" 0.0;
10868                color: 255 255 255 255;
10869             }
10870          }
10871          part {
10872             name: "base";
10873             description { state: "default" 0.0;
10874                aspect: 1.0 1.0;
10875                aspect_preference: BOTH;
10876                image.normal: "bulb-0.png";
10877             }
10878          }
10879          part {
10880             name: "glow2";
10881             description { state: "default" 0.0;
10882                rel1.to: "base";
10883                rel2.to: "base";
10884                image.normal: "bulb-2.png";
10885                color: 255 255 255 0;
10886             }
10887             description { state: "full" 0.0;
10888                inherit: "default" 0.0;
10889                color: 255 255 255 255;
10890             }
10891          }
10892       }
10893    }
10894
10895 /////////////////////////////////////////////////////////////////////////////
10896
10897 /*** MOD: CLOCK ***/
10898    group { name: "e/modules/clock/digital";
10899       min: 56 16;
10900       max: 512 128;
10901       images {
10902          image: "flip_base.png" COMP;
10903          image: "flip_base_shad.png" COMP;
10904          image: "flip_shad.png" COMP;
10905          image: "flip_0t.png" COMP;
10906          image: "flip_0b.png" COMP;
10907          image: "flip_1t.png" COMP;
10908          image: "flip_1b.png" COMP;
10909          image: "flip_2t.png" COMP;
10910          image: "flip_2b.png" COMP;
10911          image: "flip_3t.png" COMP;
10912          image: "flip_3b.png" COMP;
10913          image: "flip_4t.png" COMP;
10914          image: "flip_4b.png" COMP;
10915          image: "flip_5t.png" COMP;
10916          image: "flip_5b.png" COMP;
10917          image: "flip_6t.png" COMP;
10918          image: "flip_6b.png" COMP;
10919          image: "flip_7t.png" COMP;
10920          image: "flip_7b.png" COMP;
10921          image: "flip_8t.png" COMP;
10922          image: "flip_8b.png" COMP;
10923          image: "flip_9t.png" COMP;
10924          image: "flip_9b.png" COMP;
10925          image: "flip_amt.png" COMP;
10926          image: "flip_amb.png" COMP;
10927          image: "flip_pmt.png" COMP;
10928          image: "flip_pmb.png" COMP;
10929          image: "flip_colon.png" COMP;
10930       }
10931       script {
10932 #define DIGPRG(nom, ns) \
10933          public ns ## v0_cur, ns ## v0_pre, ns ## v0_lock, ns ## v0_next; \
10934          public ns ## animator2(val, Float:pos) { \
10935             new st1[11], st2[11], v; \
10936             v = get_int(ns ## v0_cur); \
10937             snprintf(st1, 10, "%ih", v); \
10938             snprintf(st2, 10, "%i", v); \
10939             set_tween_state(PART:nom"bot", pos, st1, 0.0, st2, 0.0); \
10940             set_tween_state(PART:nom"sh", pos, "half", 0.0, "full", 0.0); \
10941             if (pos >= 1.0) { \
10942                set_state(PART:nom"sh", "default", 0.0); \
10943                set_int(ns ## v0_lock, 0); \
10944             } \
10945          } \
10946          public ns ## animator1(val, Float:pos) { \
10947             new st1[11], st2[11], v; \
10948             v = get_int(ns ## v0_pre); \
10949             snprintf(st1, 10, "%i", v); \
10950             snprintf(st2, 10, "%ih", v); \
10951             set_tween_state(PART:nom"top", pos, st1, 0.0, st2, 0.0); \
10952             set_tween_state(PART:nom"sh", pos, "default", 0.0, "half", 0.0); \
10953             if (pos >= 1.0) anim(0.1, #ns"animator2", val); \
10954          } \
10955          public ns ## valset(value) { \
10956             new v, buf[11]; \
10957             v = get_int(ns ## v0_cur); \
10958             if (v == value) return; \
10959             if (get_int(ns ## v0_lock) == 1) { \
10960                set_state(PART:nom"sh", "default", 0.0); \
10961             } \
10962             set_int(ns ## v0_pre, v); \
10963             set_int(ns ## v0_cur, value); \
10964             set_int(ns ## v0_lock, 1); \
10965             snprintf(buf, 10, "%i", get_int(ns ## v0_pre)); \
10966             set_state(PART:nom"bot0", buf, 0.0); \
10967             snprintf(buf, 10, "%ih", get_int(ns ## v0_cur)); \
10968             set_state(PART:nom"bot", buf, 0.0); \
10969             snprintf(buf, 10, "%i", get_int(ns ## v0_cur)); \
10970             set_state(PART:nom"top0", buf, 0.0); \
10971             snprintf(buf, 10, "%i", get_int(ns ## v0_pre)); \
10972             set_state(PART:nom"top", buf, 0.0); \
10973             set_state(PART:nom"sh", "default", 0.0); \
10974             anim(0.1, #ns"animator1", 1); \
10975          }
10976
10977          DIGPRG("s1", s1)
10978          DIGPRG("s2", s2)
10979
10980          DIGPRG("m1", m1)
10981          DIGPRG("m2", m2)
10982
10983          DIGPRG("h1", h1)
10984          DIGPRG("h2", h2)
10985
10986          DIGPRG("ap", ap)
10987                            
10988          public do_seconds, do_24h, tick_timer;
10989          
10990          public clock_cb(val) {
10991             new year, month, day, yearday, weekday, hour, minute;
10992             new Float:second;
10993             new v, dosec, do24h, tim;
10994
10995             date(year, month, day, yearday, weekday, hour, minute, second);
10996             dosec = get_int(do_seconds);
10997             if (dosec) {
10998                v = round(second);
10999                tim = timer(1.0 - (second - v), "clock_cb", 1);
11000                // set seconds to v
11001                s1valset(v / 10);
11002                s2valset(v % 10);
11003             }
11004             else {
11005                tim = timer(60.0 - (second), "clock_cb", 1);
11006             }
11007             set_int(tick_timer, tim);
11008
11009             // set minutes to minute
11010             m1valset(minute / 10);
11011             m2valset(minute % 10);
11012
11013             // set hours to hour
11014             do24h = get_int(do_24h);
11015             if (do24h) {
11016                h1valset(hour / 10);
11017                h2valset(hour % 10);
11018             }
11019             else {
11020                new pm;
11021                
11022                // if 12 or later, its pm
11023                if (hour >= 12) {
11024                   pm = 1;
11025                   // if we are after 12 (1, 2, 3 etc.) then mod by 12
11026                   if (hour > 12) hour = hour % 12;
11027                }
11028                else {
11029                   pm = 0;
11030                   // make after midnight be 12:XX AM :)
11031                   if (hour == 0) hour = 12;
11032                }
11033                h1valset(hour / 10);
11034                h2valset(hour % 10);
11035                apvalset(pm);
11036             }
11037          }
11038          
11039          public eval_fields() {
11040             new do24h, dosec;
11041             
11042             dosec = get_int(do_seconds);
11043             do24h = get_int(do_24h);
11044             custom_state(PART:"hours1", "default", 0.0);
11045             custom_state(PART:"hours2", "default", 0.0);
11046             custom_state(PART:"mins1", "default", 0.0);
11047             custom_state(PART:"mins2", "default", 0.0);
11048             custom_state(PART:"secs1", "default", 0.0);
11049             custom_state(PART:"secs2", "default", 0.0);
11050             custom_state(PART:"ampm", "default", 0.0);
11051             if ((dosec) && (!do24h)) { // sec + ampm
11052                set_state_val(PART:"hours1", STATE_REL1, (0.0/16.0), 0.0);
11053                set_state_val(PART:"hours1", STATE_REL2, (2.0/16.0), 1.0);
11054                set_state_val(PART:"hours2", STATE_REL1, (2.0/16.0), 0.0);
11055                set_state_val(PART:"hours2", STATE_REL2, (4.0/16.0), 1.0);
11056                set_state_val(PART:"mins1", STATE_REL1, (5.0/16.0), 0.0);
11057                set_state_val(PART:"mins1", STATE_REL2, (7.0/16.0), 1.0);
11058                set_state_val(PART:"mins2", STATE_REL1, (7.0/16.0), 0.0);
11059                set_state_val(PART:"mins2", STATE_REL2, (9.0/16.0), 1.0);
11060                set_state_val(PART:"secs1", STATE_REL1, (10.0/16.0), 0.0);
11061                set_state_val(PART:"secs1", STATE_REL2, (12.0/16.0), 1.0);
11062                set_state_val(PART:"secs2", STATE_REL1, (12.0/16.0), 0.0);
11063                set_state_val(PART:"secs2", STATE_REL2, (14.0/16.0), 1.0);
11064                set_state_val(PART:"ampm", STATE_REL1, (14.0/16.0), 0.0);
11065                set_state_val(PART:"ampm", STATE_REL2, (16.0/16.0), 1.0);
11066                set_min_size(16 * 4, 16);
11067                set_max_size(16 * 32, 128);
11068             }
11069             else if ((dosec) && (do24h)) { // sec + -
11070                set_state_val(PART:"hours1", STATE_REL1, (0.0/14.0), 0.0);
11071                set_state_val(PART:"hours1", STATE_REL2, (2.0/14.0), 1.0);
11072                set_state_val(PART:"hours2", STATE_REL1, (2.0/14.0), 0.0);
11073                set_state_val(PART:"hours2", STATE_REL2, (4.0/14.0), 1.0);
11074                set_state_val(PART:"mins1", STATE_REL1, (5.0/14.0), 0.0);
11075                set_state_val(PART:"mins1", STATE_REL2, (7.0/14.0), 1.0);
11076                set_state_val(PART:"mins2", STATE_REL1, (7.0/14.0), 0.0);
11077                set_state_val(PART:"mins2", STATE_REL2, (9.0/14.0), 1.0);
11078                set_state_val(PART:"secs1", STATE_REL1, (10.0/14.0), 0.0);
11079                set_state_val(PART:"secs1", STATE_REL2, (12.0/14.0), 1.0);
11080                set_state_val(PART:"secs2", STATE_REL1, (12.0/14.0), 0.0);
11081                set_state_val(PART:"secs2", STATE_REL2, (14.0/14.0), 1.0);
11082                set_state_val(PART:"ampm", STATE_REL1, (0.0/1.0), 0.0);
11083                set_state_val(PART:"ampm", STATE_REL2, (0.0/1.0), 1.0);
11084                set_min_size(14 * 4, 16);
11085                set_max_size(14 * 32, 128);
11086             }
11087             else if ((!dosec) && (!do24h)) { // - + ampm
11088                set_state_val(PART:"hours1", STATE_REL1, (0.0/11.0), 0.0);
11089                set_state_val(PART:"hours1", STATE_REL2, (2.0/11.0), 1.0);
11090                set_state_val(PART:"hours2", STATE_REL1, (2.0/11.0), 0.0);
11091                set_state_val(PART:"hours2", STATE_REL2, (4.0/11.0), 1.0);
11092                set_state_val(PART:"mins1", STATE_REL1, (5.0/11.0), 0.0);
11093                set_state_val(PART:"mins1", STATE_REL2, (7.0/11.0), 1.0);
11094                set_state_val(PART:"mins2", STATE_REL1, (7.0/11.0), 0.0);
11095                set_state_val(PART:"mins2", STATE_REL2, (9.0/11.0), 1.0);
11096                set_state_val(PART:"secs1", STATE_REL1, (0.0/1.0), 0.0);
11097                set_state_val(PART:"secs1", STATE_REL2, (0.0/1.0), 1.0);
11098                set_state_val(PART:"secs2", STATE_REL1, (0.0/1.0), 0.0);
11099                set_state_val(PART:"secs2", STATE_REL2, (0.0/1.0), 1.0);
11100                set_state_val(PART:"ampm", STATE_REL1, (9.0/11.0), 0.0);
11101                set_state_val(PART:"ampm", STATE_REL2, (11.0/11.0), 1.0);
11102                set_min_size(11 * 4, 16);
11103                set_max_size(11 * 32, 128);
11104             }
11105             else if ((!dosec) && (do24h)) { // - + -
11106                set_state_val(PART:"hours1", STATE_REL1, (0.0/9.0), 0.0);
11107                set_state_val(PART:"hours1", STATE_REL2, (2.0/9.0), 1.0);
11108                set_state_val(PART:"hours2", STATE_REL1, (2.0/9.0), 0.0);
11109                set_state_val(PART:"hours2", STATE_REL2, (4.0/9.0), 1.0);
11110                set_state_val(PART:"mins1", STATE_REL1, (5.0/9.0), 0.0);
11111                set_state_val(PART:"mins1", STATE_REL2, (7.0/9.0), 1.0);
11112                set_state_val(PART:"mins2", STATE_REL1, (7.0/9.0), 0.0);
11113                set_state_val(PART:"mins2", STATE_REL2, (9.0/9.0), 1.0);
11114                set_state_val(PART:"secs1", STATE_REL1, (0.0/1.0), 0.0);
11115                set_state_val(PART:"secs1", STATE_REL2, (0.0/1.0), 1.0);
11116                set_state_val(PART:"secs2", STATE_REL1, (0.0/1.0), 0.0);
11117                set_state_val(PART:"secs2", STATE_REL2, (0.0/1.0), 1.0);
11118                set_state_val(PART:"ampm", STATE_REL1, (0.0/1.0), 0.0);
11119                set_state_val(PART:"ampm", STATE_REL2, (0.0/1.0), 1.0);
11120                set_min_size(9 * 4, 16);
11121                set_max_size(9 * 32, 128);
11122             }
11123             set_state(PART:"hours1", "custom", 0.0);
11124             set_state(PART:"hours2", "custom", 0.0);
11125             set_state(PART:"mins1", "custom", 0.0);
11126             set_state(PART:"mins2", "custom", 0.0);
11127             set_state(PART:"secs1", "custom", 0.0);
11128             set_state(PART:"secs2", "custom", 0.0);
11129             set_state(PART:"ampm", "custom", 0.0);
11130             emit("e,state,sizing,changed", "");
11131          }
11132       }
11133       parts {
11134          part { name: "hclip"; type: RECT;
11135             description { state: "default" 0.0;
11136             }
11137             description { state: "hidden" 0.0;
11138                visible: 0;
11139             }
11140          }
11141          part { name: "mclip"; type: RECT;
11142             description { state: "default" 0.0;
11143             }
11144             description { state: "hidden" 0.0;
11145                visible: 0;
11146             }
11147          }
11148          part { name: "sclip"; type: RECT;
11149             description { state: "default" 0.0;
11150             }
11151             description { state: "hidden" 0.0;
11152                visible: 0;
11153             }
11154          }
11155          part { name: "ampmclip"; type: RECT;
11156             description { state: "default" 0.0;
11157             }
11158             description { state: "hidden" 0.0;
11159                visible: 0;
11160             }
11161          }
11162          part { name: "hours1"; type: RECT;
11163             description { state: "default" 0.0;
11164                visible: 0;
11165                rel1.relative: (0/16) 0.0;
11166                rel2.relative: (2/16) 1.0;
11167             }
11168          }
11169          part { name: "hours2"; type: RECT;
11170             description { state: "default" 0.0;
11171                visible: 0;
11172                rel1.relative: (2/16) 0.0;
11173                rel2.relative: (4/16) 1.0;
11174             }
11175          }
11176          part { name: "hcolon1";
11177             clip_to: "mclip";
11178             description { state: "default" 0.0;
11179                rel1.to: "hours2";
11180                rel1.relative: 1.0 0.0;
11181                rel1.offset: 1 1;
11182                rel2.to: "mins1";
11183                rel2.relative: 0.0 1.0;
11184                rel2.offset: 0 0;
11185                image.normal: "flip_colon.png";
11186                min: 2 4;
11187                aspect: 0.25 0.25;
11188                aspect_preference: BOTH;
11189             }
11190          }
11191          part { name: "hcolon2";
11192             clip_to: "mclip";
11193             description { state: "default" 0.0;
11194                rel1.to: "hcolon1";
11195                rel1.offset: -1 -1;
11196                rel2.to: "hcolon1";
11197                rel2.offset: -2 -2;
11198                color: 0 0 0 255;
11199                image.normal: "flip_colon.png";
11200             }
11201          }
11202          part { name: "mins1"; type: RECT;
11203             description { state: "default" 0.0;
11204                visible: 0;
11205                rel1.relative: (5/16) 0.0;
11206                rel2.relative: (7/16) 1.0;
11207             }
11208          }
11209          part { name: "mins2"; type: RECT;
11210             description { state: "default" 0.0;
11211                visible: 0;
11212                rel1.relative: (7/16) 0.0;
11213                rel2.relative: (9/16) 1.0;
11214             }
11215          }
11216          part { name: "mcolon1";
11217             clip_to: "sclip";
11218             description { state: "default" 0.0;
11219                rel1.to: "mins2";
11220                rel1.relative: 1.0 0.0;
11221                rel1.offset: 1 1;
11222                rel2.to: "secs1";
11223                rel2.relative: 0.0 1.0;
11224                rel2.offset: 0 0;
11225                image.normal: "flip_colon.png";
11226                min: 2 4;
11227                aspect: 0.25 0.25;
11228                aspect_preference: BOTH;
11229             }
11230          }
11231          part { name: "mcolon2";
11232             clip_to: "sclip";
11233             description { state: "default" 0.0;
11234                rel1.to: "mcolon1";
11235                rel1.offset: -1 -1;
11236                rel2.to: "mcolon1";
11237                rel2.offset: -2 -2;
11238                color: 0 0 0 255;
11239                image.normal: "flip_colon.png";
11240             }
11241          }
11242          part { name: "secs1"; type: RECT;
11243             description { state: "default" 0.0;
11244                visible: 0;
11245                rel1.relative: (10/16) 0.0;
11246                rel2.relative: (12/16) 1.0;
11247            }
11248          }
11249          part { name: "secs2"; type: RECT;
11250             description { state: "default" 0.0;
11251                visible: 0;
11252                rel1.relative: (12/16) 0.0;
11253                rel2.relative: (14/16) 1.0;
11254            }
11255          }
11256          part { name: "ampm"; type: RECT;
11257             description { state: "default" 0.0;
11258                visible: 0;
11259                rel1.relative: (14/16) 0.0;
11260                rel2.relative: (16/16) 1.0;
11261             }
11262          }
11263          
11264 #define DIGIT(nom, relto, clipto) \
11265          part { name: nom"base"; \
11266             scale: 1; \
11267             description { state: "default" 0.0; \
11268                rel1.to: relto; \
11269                rel1.offset: 1 1; \
11270                rel2.to: relto; \
11271                rel2.offset: -2 -2; \
11272                min: 2 4; \
11273                aspect: 0.5 0.5; \
11274                aspect_preference: BOTH; \
11275             } \
11276          } \
11277          part { name: nom"shad"; \
11278             clip_to: clipto; \
11279             description { state: "default" 0.0; \
11280                rel1.offset: -4 -4; \
11281                rel1.to: nom"base"; \
11282                rel2.offset: 3 3; \
11283                rel2.to: nom"base"; \
11284                image { \
11285                   normal: "flip_base_shad.png"; \
11286                   border: 8 8 8 8; \
11287                } \
11288             } \
11289          } \
11290          part { name: nom"b"; type: RECT; \
11291             description { state: "default" 0.0; \
11292                visible: 0; \
11293                rel1.to: nom"base"; \
11294                rel1.relative: 0.0 0.5; \
11295                rel2.to: nom"base"; \
11296             } \
11297          } \
11298          part { name: nom"t"; type: RECT; \
11299             description { state: "default" 0.0; \
11300                visible: 0; \
11301                rel1.to: nom"base"; \
11302                rel2.to: nom"base"; \
11303                rel2.relative: 1.0 0.5; \
11304             } \
11305          } \
11306          part { name: nom"bot0"; \
11307             clip_to: clipto; \
11308             description { state: "default" 0.0; \
11309                rel1.to: nom"b"; \
11310                rel2.to: nom"b"; \
11311                image.normal: "flip_0b.png"; \
11312             } \
11313             description { state: "0" 0.0; \
11314                inherit: "default" 0.0; \
11315                image.normal: "flip_0b.png"; \
11316             } \
11317             description { state: "1" 0.0; \
11318                inherit: "default" 0.0; \
11319                image.normal: "flip_1b.png"; \
11320             } \
11321             description { state: "2" 0.0; \
11322                inherit: "default" 0.0; \
11323                image.normal: "flip_2b.png"; \
11324             } \
11325             description { state: "3" 0.0; \
11326                inherit: "default" 0.0; \
11327                image.normal: "flip_3b.png"; \
11328             } \
11329             description { state: "4" 0.0; \
11330                inherit: "default" 0.0; \
11331                image.normal: "flip_4b.png"; \
11332             } \
11333             description { state: "5" 0.0; \
11334                inherit: "default" 0.0; \
11335                image.normal: "flip_5b.png"; \
11336             } \
11337             description { state: "6" 0.0; \
11338                inherit: "default" 0.0; \
11339                image.normal: "flip_6b.png"; \
11340             } \
11341             description { state: "7" 0.0; \
11342                inherit: "default" 0.0; \
11343                image.normal: "flip_7b.png"; \
11344             } \
11345             description { state: "8" 0.0; \
11346                inherit: "default" 0.0; \
11347                image.normal: "flip_8b.png"; \
11348             } \
11349             description { state: "9" 0.0; \
11350                inherit: "default" 0.0; \
11351                image.normal: "flip_9b.png"; \
11352             } \
11353          } \
11354          part { name: nom"sh"; \
11355             clip_to: clipto; \
11356             description { state: "default" 0.0; \
11357                rel1.to: nom"b"; \
11358                rel2.to: nom"b"; \
11359                rel2.relative: 1.0 0.0; \
11360                image.normal: "flip_shad.png"; \
11361             } \
11362             description { state: "half" 0.0; \
11363                inherit: "default" 0.0; \
11364                rel2.relative: 1.0 0.5; \
11365             } \
11366             description { state: "full" 0.0; \
11367                inherit: "default" 0.0; \
11368                rel2.relative: 1.0 1.0; \
11369             } \
11370          } \
11371          part { name: nom"bot"; \
11372             clip_to: clipto; \
11373             description { state: "default" 0.0; \
11374                rel1.to: nom"b"; \
11375                rel2.to: nom"b"; \
11376                image.normal: "flip_0b.png"; \
11377             } \
11378             description { state: "0" 0.0; \
11379                inherit: "default" 0.0; \
11380                rel2.relative: 1.0 1.0; \
11381                image.normal: "flip_0b.png"; \
11382             } \
11383             description { state: "0h" 0.0; \
11384                inherit: "default" 0.0; \
11385                visible: 0; \
11386                rel2.relative: 1.0 0.0; \
11387                image.normal: "flip_0b.png"; \
11388             } \
11389             description { state: "1" 0.0; \
11390                inherit: "default" 0.0; \
11391                rel2.relative: 1.0 1.0; \
11392                image.normal: "flip_1b.png"; \
11393             } \
11394             description { state: "1h" 0.0; \
11395                inherit: "default" 0.0; \
11396                visible: 0; \
11397                rel2.relative: 1.0 0.0; \
11398                image.normal: "flip_1b.png"; \
11399             } \
11400             description { state: "2" 0.0; \
11401                inherit: "default" 0.0; \
11402                rel2.relative: 1.0 1.0; \
11403                image.normal: "flip_2b.png"; \
11404             } \
11405             description { state: "2h" 0.0; \
11406                inherit: "default" 0.0; \
11407                visible: 0; \
11408                rel2.relative: 1.0 0.0; \
11409                image.normal: "flip_2b.png"; \
11410             } \
11411             description { state: "3" 0.0; \
11412                inherit: "default" 0.0; \
11413                rel2.relative: 1.0 1.0; \
11414                image.normal: "flip_3b.png"; \
11415             } \
11416             description { state: "3h" 0.0; \
11417                inherit: "default" 0.0; \
11418                visible: 0; \
11419                rel2.relative: 1.0 0.0; \
11420                image.normal: "flip_3b.png"; \
11421             } \
11422             description { state: "4" 0.0; \
11423                inherit: "default" 0.0; \
11424                rel2.relative: 1.0 1.0; \
11425                image.normal: "flip_4b.png"; \
11426             } \
11427             description { state: "4h" 0.0; \
11428                inherit: "default" 0.0; \
11429                visible: 0; \
11430                rel2.relative: 1.0 0.0; \
11431                image.normal: "flip_4b.png"; \
11432             } \
11433             description { state: "5" 0.0; \
11434                inherit: "default" 0.0; \
11435                rel2.relative: 1.0 1.0; \
11436                image.normal: "flip_5b.png"; \
11437             } \
11438             description { state: "5h" 0.0; \
11439                inherit: "default" 0.0; \
11440                visible: 0; \
11441                rel2.relative: 1.0 0.0; \
11442                image.normal: "flip_5b.png"; \
11443             } \
11444             description { state: "6" 0.0; \
11445                inherit: "default" 0.0; \
11446                rel2.relative: 1.0 1.0; \
11447                image.normal: "flip_6b.png"; \
11448             } \
11449             description { state: "6h" 0.0; \
11450                inherit: "default" 0.0; \
11451                visible: 0; \
11452                rel2.relative: 1.0 0.0; \
11453                image.normal: "flip_6b.png"; \
11454             } \
11455             description { state: "7" 0.0; \
11456                inherit: "default" 0.0; \
11457                rel2.relative: 1.0 1.0; \
11458                image.normal: "flip_7b.png"; \
11459             } \
11460             description { state: "7h" 0.0; \
11461                inherit: "default" 0.0; \
11462                visible: 0; \
11463                rel2.relative: 1.0 0.0; \
11464                image.normal: "flip_7b.png"; \
11465             } \
11466             description { state: "8" 0.0; \
11467                inherit: "default" 0.0; \
11468                rel2.relative: 1.0 1.0; \
11469                image.normal: "flip_8b.png"; \
11470             } \
11471             description { state: "8h" 0.0; \
11472                inherit: "default" 0.0; \
11473                visible: 0; \
11474                rel2.relative: 1.0 0.0; \
11475                image.normal: "flip_8b.png"; \
11476             } \
11477             description { state: "9" 0.0; \
11478                inherit: "default" 0.0; \
11479                rel2.relative: 1.0 1.0; \
11480                image.normal: "flip_9b.png"; \
11481             } \
11482             description { state: "9h" 0.0; \
11483                inherit: "default" 0.0; \
11484                visible: 0; \
11485                rel2.relative: 1.0 0.0; \
11486                image.normal: "flip_9b.png"; \
11487             } \
11488          } \
11489          part { name: nom"top0"; \
11490             clip_to: clipto; \
11491             description { state: "default" 0.0; \
11492                rel1.to: nom"t"; \
11493                rel2.to: nom"t"; \
11494                image.normal: "flip_0t.png"; \
11495             } \
11496             description { state: "0" 0.0; \
11497                inherit: "default" 0.0; \
11498                image.normal: "flip_0t.png"; \
11499             } \
11500             description { state: "1" 0.0; \
11501                inherit: "default" 0.0; \
11502                image.normal: "flip_1t.png"; \
11503             } \
11504             description { state: "2" 0.0; \
11505                inherit: "default" 0.0; \
11506                image.normal: "flip_2t.png"; \
11507             } \
11508             description { state: "3" 0.0; \
11509                inherit: "default" 0.0; \
11510                image.normal: "flip_3t.png"; \
11511             } \
11512             description { state: "4" 0.0; \
11513                inherit: "default" 0.0; \
11514                image.normal: "flip_4t.png"; \
11515             } \
11516             description { state: "5" 0.0; \
11517                inherit: "default" 0.0; \
11518                image.normal: "flip_5t.png"; \
11519             } \
11520             description { state: "6" 0.0; \
11521                inherit: "default" 0.0; \
11522                image.normal: "flip_6t.png"; \
11523             } \
11524             description { state: "7" 0.0; \
11525                inherit: "default" 0.0; \
11526                image.normal: "flip_7t.png"; \
11527             } \
11528             description { state: "8" 0.0; \
11529                inherit: "default" 0.0; \
11530                image.normal: "flip_8t.png"; \
11531             } \
11532             description { state: "9" 0.0; \
11533                inherit: "default" 0.0; \
11534                image.normal: "flip_9t.png"; \
11535             } \
11536          } \
11537          part { name: nom"top"; \
11538             clip_to: clipto; \
11539             description { state: "default" 0.0; \
11540                rel1.to: nom"t"; \
11541                rel2.to: nom"t"; \
11542                image.normal: "flip_0t.png"; \
11543             } \
11544             description { state: "0" 0.0; \
11545                inherit: "default" 0.0; \
11546                rel1.relative: 0.0 0.0; \
11547                image.normal: "flip_0t.png"; \
11548             } \
11549             description { state: "0h" 0.0; \
11550                inherit: "default" 0.0; \
11551                color: 128 128 128 255; \
11552                visible: 0; \
11553                rel1.relative: 0.0 1.0; \
11554                image.normal: "flip_0t.png"; \
11555             } \
11556             description { state: "1" 0.0; \
11557                inherit: "default" 0.0; \
11558                rel1.relative: 0.0 0.0; \
11559                image.normal: "flip_1t.png"; \
11560             } \
11561             description { state: "1h" 0.0; \
11562                inherit: "default" 0.0; \
11563                color: 128 128 128 255; \
11564                visible: 0; \
11565                rel1.relative: 0.0 1.0; \
11566                image.normal: "flip_1t.png"; \
11567             } \
11568             description { state: "2" 0.0; \
11569                inherit: "default" 0.0; \
11570                rel1.relative: 0.0 0.0; \
11571                image.normal: "flip_2t.png"; \
11572             } \
11573             description { state: "2h" 0.0; \
11574                inherit: "default" 0.0; \
11575                color: 128 128 128 255; \
11576                visible: 0; \
11577                rel1.relative: 0.0 1.0; \
11578                image.normal: "flip_2t.png"; \
11579             } \
11580             description { state: "3" 0.0; \
11581                inherit: "default" 0.0; \
11582                rel1.relative: 0.0 0.0; \
11583                image.normal: "flip_3t.png"; \
11584             } \
11585             description { state: "3h" 0.0; \
11586                inherit: "default" 0.0; \
11587                color: 128 128 128 255; \
11588                visible: 0; \
11589                rel1.relative: 0.0 1.0; \
11590                image.normal: "flip_3t.png"; \
11591             } \
11592             description { state: "4" 0.0; \
11593                inherit: "default" 0.0; \
11594                rel1.relative: 0.0 0.0; \
11595                image.normal: "flip_4t.png"; \
11596             } \
11597             description { state: "4h" 0.0; \
11598                inherit: "default" 0.0; \
11599                color: 128 128 128 255; \
11600                visible: 0; \
11601                rel1.relative: 0.0 1.0; \
11602                image.normal: "flip_4t.png"; \
11603             } \
11604             description { state: "5" 0.0; \
11605                inherit: "default" 0.0; \
11606                rel1.relative: 0.0 0.0; \
11607                image.normal: "flip_5t.png"; \
11608             } \
11609             description { state: "5h" 0.0; \
11610                inherit: "default" 0.0; \
11611                color: 128 128 128 255; \
11612                visible: 0; \
11613                rel1.relative: 0.0 1.0; \
11614                image.normal: "flip_5t.png"; \
11615             } \
11616             description { state: "6" 0.0; \
11617                inherit: "default" 0.0; \
11618                rel1.relative: 0.0 0.0; \
11619                image.normal: "flip_6t.png"; \
11620             } \
11621             description { state: "6h" 0.0; \
11622                inherit: "default" 0.0; \
11623                color: 128 128 128 255; \
11624                visible: 0; \
11625                rel1.relative: 0.0 1.0; \
11626                image.normal: "flip_6t.png"; \
11627             } \
11628             description { state: "7" 0.0; \
11629                inherit: "default" 0.0; \
11630                rel1.relative: 0.0 0.0; \
11631                image.normal: "flip_7t.png"; \
11632             } \
11633             description { state: "7h" 0.0; \
11634                inherit: "default" 0.0; \
11635                color: 128 128 128 255; \
11636                visible: 0; \
11637                rel1.relative: 0.0 1.0; \
11638                image.normal: "flip_7t.png"; \
11639             } \
11640             description { state: "8" 0.0; \
11641                inherit: "default" 0.0; \
11642                rel1.relative: 0.0 0.0; \
11643                image.normal: "flip_8t.png"; \
11644             } \
11645             description { state: "8h" 0.0; \
11646                inherit: "default" 0.0; \
11647                color: 128 128 128 255; \
11648                visible: 0; \
11649                rel1.relative: 0.0 1.0; \
11650                image.normal: "flip_8t.png"; \
11651             } \
11652             description { state: "9" 0.0; \
11653                inherit: "default" 0.0; \
11654                rel1.relative: 0.0 0.0; \
11655                image.normal: "flip_9t.png"; \
11656             } \
11657             description { state: "9h" 0.0; \
11658                inherit: "default" 0.0; \
11659                color: 128 128 128 255; \
11660                visible: 0; \
11661                rel1.relative: 0.0 1.0; \
11662                image.normal: "flip_9t.png"; \
11663             } \
11664          }
11665          
11666          DIGIT("h1", "hours1", "hclip");
11667          DIGIT("h2", "hours2", "hclip");
11668
11669          DIGIT("m1", "mins1", "mclip");
11670          DIGIT("m2", "mins2", "mclip");
11671
11672          DIGIT("s1", "secs1", "sclip");
11673          DIGIT("s2", "secs2", "sclip");
11674
11675 #define DIGAP(nom, relto, clipto) \
11676          part { name: nom"base"; \
11677             scale: 1; \
11678             description { state: "default" 0.0; \
11679                rel1.to: relto; \
11680                rel1.offset: 1 1; \
11681                rel2.to: relto; \
11682                rel2.offset: -2 -2; \
11683                min: 2 4; \
11684                aspect: 0.5 0.5; \
11685                aspect_preference: BOTH; \
11686             } \
11687          } \
11688          part { name: nom"shad"; \
11689             clip_to: clipto; \
11690             description { state: "default" 0.0; \
11691                rel1.offset: -4 -4; \
11692                rel1.to: nom"base"; \
11693                rel2.offset: 3 3; \
11694                rel2.to: nom"base"; \
11695                image { \
11696                   normal: "flip_base_shad.png"; \
11697                   border: 8 8 8 8; \
11698                } \
11699             } \
11700          } \
11701          part { name: nom"b"; type: RECT; \
11702             description { state: "default" 0.0; \
11703                visible: 0; \
11704                rel1.to: nom"base"; \
11705                rel1.relative: 0.0 0.5; \
11706                rel2.to: nom"base"; \
11707             } \
11708          } \
11709          part { name: nom"t"; type: RECT; \
11710             description { state: "default" 0.0; \
11711                visible: 0; \
11712                rel1.to: nom"base"; \
11713                rel2.to: nom"base"; \
11714                rel2.relative: 1.0 0.5; \
11715             } \
11716          } \
11717          part { name: nom"bot0"; \
11718             clip_to: clipto; \
11719             description { state: "default" 0.0; \
11720                rel1.to: nom"b"; \
11721                rel2.to: nom"b"; \
11722                image.normal: "flip_amb.png"; \
11723             } \
11724             description { state: "0" 0.0; \
11725                inherit: "default" 0.0; \
11726                image.normal: "flip_amb.png"; \
11727             } \
11728             description { state: "1" 0.0; \
11729                inherit: "default" 0.0; \
11730                image.normal: "flip_pmb.png"; \
11731             } \
11732          } \
11733          part { name: nom"sh"; \
11734             clip_to: clipto; \
11735             description { state: "default" 0.0; \
11736                rel1.to: nom"b"; \
11737                rel2.to: nom"b"; \
11738                rel2.relative: 1.0 0.0; \
11739                image.normal: "flip_shad.png"; \
11740             } \
11741             description { state: "half" 0.0; \
11742                inherit: "default" 0.0; \
11743                rel2.relative: 1.0 0.5; \
11744             } \
11745             description { state: "full" 0.0; \
11746                inherit: "default" 0.0; \
11747                rel2.relative: 1.0 1.0; \
11748             } \
11749          } \
11750          part { name: nom"bot"; \
11751             clip_to: clipto; \
11752             description { state: "default" 0.0; \
11753                rel1.to: nom"b"; \
11754                rel2.to: nom"b"; \
11755                image.normal: "flip_amb.png"; \
11756             } \
11757             description { state: "0" 0.0; \
11758                inherit: "default" 0.0; \
11759                rel2.relative: 1.0 1.0; \
11760                image.normal: "flip_amb.png"; \
11761             } \
11762             description { state: "0h" 0.0; \
11763                inherit: "default" 0.0; \
11764                visible: 0; \
11765                rel2.relative: 1.0 0.0; \
11766                image.normal: "flip_amb.png"; \
11767             } \
11768             description { state: "1" 0.0; \
11769                inherit: "default" 0.0; \
11770                rel2.relative: 1.0 1.0; \
11771                image.normal: "flip_pmb.png"; \
11772             } \
11773             description { state: "1h" 0.0; \
11774                inherit: "default" 0.0; \
11775                visible: 0; \
11776                rel2.relative: 1.0 0.0; \
11777                image.normal: "flip_pmb.png"; \
11778             } \
11779          } \
11780          part { name: nom"top0"; \
11781             clip_to: clipto; \
11782             description { state: "default" 0.0; \
11783                rel1.to: nom"t"; \
11784                rel2.to: nom"t"; \
11785                image.normal: "flip_amt.png"; \
11786             } \
11787             description { state: "0" 0.0; \
11788                inherit: "default" 0.0; \
11789                image.normal: "flip_amt.png"; \
11790             } \
11791             description { state: "1" 0.0; \
11792                inherit: "default" 0.0; \
11793                image.normal: "flip_pmt.png"; \
11794             } \
11795          } \
11796          part { name: nom"top"; \
11797             clip_to: clipto; \
11798             description { state: "default" 0.0; \
11799                rel1.to: nom"t"; \
11800                rel2.to: nom"t"; \
11801                image.normal: "flip_amt.png"; \
11802             } \
11803             description { state: "0" 0.0; \
11804                inherit: "default" 0.0; \
11805                rel1.relative: 0.0 0.0; \
11806                image.normal: "flip_amt.png"; \
11807             } \
11808             description { state: "0h" 0.0; \
11809                inherit: "default" 0.0; \
11810                color: 128 128 128 255; \
11811                visible: 0; \
11812                rel1.relative: 0.0 1.0; \
11813                image.normal: "flip_amt.png"; \
11814             } \
11815             description { state: "1" 0.0; \
11816                inherit: "default" 0.0; \
11817                rel1.relative: 0.0 0.0; \
11818                image.normal: "flip_pmt.png"; \
11819             } \
11820             description { state: "1h" 0.0; \
11821                inherit: "default" 0.0; \
11822                color: 128 128 128 255; \
11823                visible: 0; \
11824                rel1.relative: 0.0 1.0; \
11825                image.normal: "flip_pmt.png"; \
11826             } \
11827          }
11828
11829          DIGAP("ap", "ampm", "ampmclip");
11830          
11831 ///////////////////////////////////////////////////////////////////         
11832          
11833          part { name: "event"; type: RECT;
11834             mouse_events: 1;
11835             description { state: "default" 0.0;
11836                color: 0 0 0 0;
11837             }
11838          }
11839       }
11840       programs {
11841          program { name: "init";
11842             signal: "load";
11843             source: "";
11844             script {
11845                clock_cb(0);
11846             }
11847          }
11848          program { name: "secon";
11849             signal: "e,state,seconds,on";
11850             source: "e";
11851             action: STATE_SET "default" 0.0;
11852             target: "secs1";
11853             after: "sec2";
11854          }
11855          program { name: "sec2";
11856             script {
11857                new tim;
11858                
11859                set_int(do_seconds, 1);
11860                set_state(PART:"sclip", "default", 0.0);
11861                eval_fields();
11862                tim = get_int(tick_timer);
11863                if (tim) {
11864                   cancel_timer(tim);
11865                   set_int(tick_timer, 0);
11866                }
11867                clock_cb(0);
11868             }
11869          }
11870          program { name: "secoff";
11871             signal: "e,state,seconds,off";
11872             source: "e";
11873             action: STATE_SET "default" 0.0;
11874             target: "secs1";
11875             after: "sec3";
11876          }
11877          program { name: "sec3";
11878             script {
11879                new tim;
11880                
11881                set_int(do_seconds, 0);
11882                set_state(PART:"sclip", "hidden", 0.0);
11883                eval_fields();
11884                tim = get_int(tick_timer);
11885                if (tim) {
11886                   cancel_timer(tim);
11887                   set_int(tick_timer, 0);
11888                }
11889                clock_cb(0);
11890             }
11891          }
11892          program { name: "24h";
11893             signal: "e,state,24h,on";
11894             source: "e";
11895             script {
11896                new tim;
11897                
11898                set_int(do_24h, 1);
11899                set_state(PART:"ampmclip", "hidden", 0.0);
11900                eval_fields();
11901                tim = get_int(tick_timer);
11902                if (tim) {
11903                   cancel_timer(tim);
11904                   set_int(tick_timer, 0);
11905                }
11906                clock_cb(0);
11907             }
11908          }
11909          program { name: "12h";
11910             signal: "e,state,24h,off";
11911             source: "e";
11912             script {
11913                new tim;
11914                
11915                set_int(do_24h, 0);
11916                set_state(PART:"ampmclip", "default", 0.0);
11917                eval_fields();
11918                tim = get_int(tick_timer);
11919                if (tim) {
11920                   cancel_timer(tim);
11921                   set_int(tick_timer, 0);
11922                }
11923                clock_cb(0);
11924             }
11925          }
11926       }
11927    }
11928    group { name: "e/modules/clock/main";
11929       images {
11930          image: "clock_base.png" COMP;
11931          image: "tacho_fg.png" COMP;
11932          image: "ch-h1.png" COMP;
11933          image: "ch-h2.png" COMP;
11934          image: "ch-m1.png" COMP;
11935          image: "ch-m2.png" COMP;
11936          image: "ch-s1.png" COMP;
11937          image: "ch-s2.png" COMP;
11938          image: "ch-h1-2.png" COMP;
11939          image: "ch-h2-2.png" COMP;
11940          image: "ch-m1-2.png" COMP;
11941          image: "ch-m2-2.png" COMP;
11942          image: "ch-s1-2.png" COMP;
11943          image: "ch-s2-2.png" COMP;
11944          image: "ch-h1-3.png" COMP;
11945          image: "ch-h2-3.png" COMP;
11946          image: "ch-m1-3.png" COMP;
11947          image: "ch-m2-3.png" COMP;
11948          image: "ch-s1-3.png" COMP;
11949          image: "ch-s2-3.png" COMP;
11950       }
11951       min: 16 16;
11952       max: 128 128;
11953       script {
11954          public do_seconds, tick_timer;
11955          
11956          public clock_cb(val) {
11957             new year, month, day, yearday, weekday, hour, minute;
11958             new Float:second;
11959             new v, dosec, tim;
11960             new x, y, w, h;
11961
11962             date(year, month, day, yearday, weekday, hour, minute, second);
11963             get_geometry(PART:"hour", x, y, w, h);
11964             dosec = get_int(do_seconds);
11965             if (dosec) {
11966                v = round(second);
11967                tim = timer(1.0 - (second - v), "clock_cb", 1);
11968                
11969                custom_state(PART:"seconds", "default", 0.0);
11970                set_state_val(PART:"seconds", STATE_MAP_ROT_Z, (v * 360.0) / 60.0);
11971                if (h < 22) 
11972                   set_state_val(PART:"seconds", STATE_IMAGE, IMAGE:"ch-s1-3.png");
11973                else if (h < 44) 
11974                   set_state_val(PART:"seconds", STATE_IMAGE, IMAGE:"ch-s1-2.png");
11975                else 
11976                   set_state_val(PART:"seconds", STATE_IMAGE, IMAGE:"ch-s1.png");
11977                set_state(PART:"seconds", "custom", 0.0);
11978                
11979                custom_state(PART:"seconds-sh", "default", 0.0);
11980                set_state_val(PART:"seconds-sh", STATE_MAP_ROT_Z, (v * 360.0) / 60.0);
11981                if (h < 22) 
11982                   set_state_val(PART:"seconds-sh", STATE_IMAGE, IMAGE:"ch-s2-3.png");
11983                else if (h < 44) 
11984                   set_state_val(PART:"seconds-sh", STATE_IMAGE, IMAGE:"ch-s2-2.png");
11985                else 
11986                   set_state_val(PART:"seconds-sh", STATE_IMAGE, IMAGE:"ch-s2.png");
11987                set_state(PART:"seconds-sh", "custom", 0.0);
11988             }
11989             else {
11990                tim = timer(60.0 - (second), "clock_cb", 1);
11991             }
11992             set_int(tick_timer, tim);
11993
11994             custom_state(PART:"minutes", "default", 0.0);
11995             set_state_val(PART:"minutes", STATE_MAP_ROT_Z, (float(minute) * 360.0) / 60.0);
11996             if (h < 22) 
11997                set_state_val(PART:"minutes", STATE_IMAGE, IMAGE:"ch-m1-3.png");
11998             else if (h < 44) 
11999                set_state_val(PART:"minutes", STATE_IMAGE, IMAGE:"ch-m1-2.png");
12000             else 
12001                set_state_val(PART:"minutes", STATE_IMAGE, IMAGE:"ch-m1.png");
12002             set_state(PART:"minutes", "custom", 0.0);
12003
12004             custom_state(PART:"minutes-sh", "default", 0.0);
12005             set_state_val(PART:"minutes-sh", STATE_MAP_ROT_Z, (float(minute) * 360.0) / 60.0);
12006             if (h < 22) 
12007                set_state_val(PART:"minutes-sh", STATE_IMAGE, IMAGE:"ch-m2-3.png");
12008             else if (h < 44) 
12009                set_state_val(PART:"minutes-sh", STATE_IMAGE, IMAGE:"ch-m2-2.png");
12010             else 
12011                set_state_val(PART:"minutes-sh", STATE_IMAGE, IMAGE:"ch-m2.png");
12012             set_state(PART:"minutes-sh", "custom", 0.0);
12013
12014             custom_state(PART:"hour", "default", 0.0);
12015             set_state_val(PART:"hour", STATE_MAP_ROT_Z, ((float(hour) + (float(minute) / 60.0)) * 360.0) / 12.0);
12016             if (h < 22) 
12017                set_state_val(PART:"hour", STATE_IMAGE, IMAGE:"ch-h1-3.png");
12018             else if (h < 44) 
12019                set_state_val(PART:"hour", STATE_IMAGE, IMAGE:"ch-h1-2.png");
12020             else 
12021                set_state_val(PART:"hour", STATE_IMAGE, IMAGE:"ch-h1.png");
12022             set_state(PART:"hour", "custom", 0.0);
12023             
12024             custom_state(PART:"hour-sh", "default", 0.0);
12025             set_state_val(PART:"hour-sh", STATE_MAP_ROT_Z, ((float(hour) + (float(minute) / 60.0)) * 360.0) / 12.0);
12026             if (h < 22) 
12027                set_state_val(PART:"hour-sh", STATE_IMAGE, IMAGE:"ch-h2-3.png");
12028             else if (h < 44) 
12029                set_state_val(PART:"hour-sh", STATE_IMAGE, IMAGE:"ch-h2-2.png");
12030             else 
12031                set_state_val(PART:"hour-sh", STATE_IMAGE, IMAGE:"ch-h2.png");
12032             set_state(PART:"hour-sh", "custom", 0.0);
12033          }
12034       }
12035       parts {
12036          part {
12037             name: "base";
12038             description {
12039                state: "default" 0.0;
12040                aspect: 1.0 1.0;
12041                image.normal: "clock_base.png";
12042             }
12043          }
12044          part {
12045             name: "base2";
12046             type: RECT;
12047             mouse_events: 0;
12048             description {
12049                state: "default" 0.0;
12050                visible: 0;
12051                rel1 {
12052                   to: "base";
12053                   relative: (2.0/128.0) (2.0/128.0);
12054                }
12055                rel2 {
12056                   to: "base";
12057                   relative: (1.0+(2.0/128.0)) (1.0+(2.0/128.0));
12058                }
12059             }
12060          }
12061          part {
12062             name: "seconds-sh";
12063             mouse_events: 0;
12064             description { state: "default" 0.0;
12065                rel1 {
12066                   to: "base2";
12067                   relative: 0.3125 0.0;
12068                }
12069                rel2 {
12070                   to: "base2";
12071                   relative: 0.6875 0.6875;
12072                }
12073                image.normal: "ch-s2.png";
12074                map {
12075                   on: 1;
12076                   rotation {
12077                      center: "base2";
12078                   }
12079                }
12080             }
12081             description { state: "hidden" 0.0;
12082                inherit: "default" 0.0;
12083                visible: 0;
12084             }
12085          }
12086          part {
12087             name: "seconds";
12088             mouse_events: 0;
12089             description { state: "default" 0.0;
12090                rel1 {
12091                   to: "base";
12092                   relative: 0.3125 0.0;
12093                }
12094                rel2 {
12095                   to: "base";
12096                   relative: 0.6875 0.6875;
12097                }
12098                image.normal: "ch-s1.png";
12099                map {
12100                   on: 1;
12101                   rotation {
12102                      center: "base";
12103                   }
12104                }
12105             }
12106             description { state: "hidden" 0.0;
12107                inherit: "default" 0.0;
12108                visible: 0;
12109             }
12110          }
12111          part {
12112             name: "minutes-sh";
12113             mouse_events: 0;
12114             description {
12115                state: "default" 0.0;
12116                rel1 {
12117                   to: "base2";
12118                   relative: 0.3125 0.0;
12119                }
12120                rel2 {
12121                   to: "base2";
12122                   relative: 0.6875 0.6875;
12123                }
12124                image.normal: "ch-m2.png";
12125                map {
12126                   on: 1;
12127                   rotation {
12128                      center: "base2";
12129                   }
12130                }
12131             }
12132          }
12133          part {
12134             name: "minutes";
12135             mouse_events: 0;
12136             description {
12137                state: "default" 0.0;
12138                rel1 {
12139                   to: "base";
12140                   relative: 0.3125 0.0;
12141                }
12142                rel2 {
12143                   to: "base";
12144                   relative: 0.6875 0.6875;
12145                }
12146                image.normal: "ch-m1.png";
12147                map {
12148                   on: 1;
12149                   rotation {
12150                      center: "base";
12151                   }
12152                }
12153             }
12154          }
12155          part {
12156             name: "hour-sh";
12157             mouse_events: 0;
12158             description {
12159                state: "default" 0.0;
12160                rel1 {
12161                   to: "base2";
12162                   relative: 0.3125 0.0;
12163                }
12164                rel2 {
12165                   to: "base2";
12166                   relative: 0.6875 0.6875;
12167                }
12168                image.normal: "ch-h2.png";
12169                map {
12170                   on: 1;
12171                   rotation {
12172                      center: "base2";
12173                   }
12174                }
12175             }
12176          }
12177          part {
12178             name: "hour";
12179             mouse_events: 0;
12180             description {
12181                state: "default" 0.0;
12182                rel1 {
12183                   to: "base";
12184                   relative: 0.3125 0.0;
12185                }
12186                rel2 {
12187                   to: "base";
12188                   relative: 0.6875 0.6875;
12189                }
12190                image.normal: "ch-h1.png";
12191                map {
12192                   on: 1;
12193                   rotation {
12194                      center: "base";
12195                   }
12196                }
12197             }
12198          }
12199          part {
12200             name: "over";
12201             mouse_events: 0;
12202             description {
12203                state: "default" 0.0;
12204                rel1.to: "base";
12205                rel2.to: "base";
12206                image.normal: "tacho_fg.png";
12207             }
12208          }
12209       }
12210       programs {
12211          program { name: "init";
12212             signal: "load";
12213             source: "";
12214             script {
12215                clock_cb(0);
12216             }
12217          }
12218          program { name: "secon";
12219             signal: "e,state,seconds,on";
12220             source: "e";
12221             action: STATE_SET "default" 0.0;
12222             target: "seconds";
12223             target: "seconds-sh";
12224             after: "sec2";
12225          }
12226          program { name: "sec2";
12227             script {
12228                new tim;
12229                
12230                set_int(do_seconds, 1);
12231                tim = get_int(tick_timer);
12232                if (tim) {
12233                   cancel_timer(tim);
12234                   set_int(tick_timer, 0);
12235                }
12236                clock_cb(0);
12237             }
12238          }
12239          program { name: "secoff";
12240             signal: "e,state,seconds,off";
12241             source: "e";
12242             action: STATE_SET "hidden" 0.0;
12243             target: "seconds";
12244             target: "seconds-sh";
12245             after: "sec3";
12246          }
12247          program { name: "sec3";
12248             script {
12249                new tim;
12250                
12251                set_int(do_seconds, 0);
12252                tim = get_int(tick_timer);
12253                if (tim) {
12254                   cancel_timer(tim);
12255                   set_int(tick_timer, 0);
12256                }
12257                clock_cb(0);
12258             }
12259          }
12260       }
12261    }
12262
12263    group { name: "e/modules/clock/calendar/dayname";
12264       parts {
12265          part { name: "e.text.label";
12266             type: TEXT;
12267             effect: SHADOW;
12268             mouse_events: 0;
12269             scale: 1;
12270             description { state: "default" 0.0;
12271                align: 0.5 0.5;
12272                color: 0 0 0 64;
12273                color3: 255 255 255 255;
12274                rel1.offset: 3 3;
12275                rel2.offset: -3 -3;
12276                text {
12277                   text: "XXX";
12278                   font: "Sans";
12279                   align: 0.5 0.5;
12280                   size: 8;
12281                   min: 1 1;
12282                   text_class: "module_small";
12283                }
12284             }
12285          }
12286       }
12287    }
12288    group { name: "e/modules/clock/calendar/day";
12289       images {
12290          image: "inset_sunk.png" COMP;
12291       }
12292       parts {
12293          part { name: "hidden"; type: RECT;
12294             mouse_events: 0;
12295             description { state: "default" 0.0;
12296                color: 255 255 255 255;
12297             }
12298             description { state: "hidden" 0.0;
12299                inherit: "default" 0.0;
12300                color: 255 255 255 64;
12301             }
12302          }
12303          part { name: "weekend"; type: RECT;
12304             mouse_events: 0;
12305             clip_to: "hidden";
12306             description { state: "default" 0.0;
12307                color: 0 0 0 0;
12308                rel1.offset: 1 1;
12309                rel2.offset: -2 -2;
12310             }
12311             description { state: "weekend" 0.0;
12312                inherit: "default" 0.0;
12313                color: 255 0 0 64;
12314             }
12315          }
12316          part { name: "day"; type: RECT;
12317             mouse_events: 0;
12318             clip_to: "hidden";
12319             description { state: "default" 0.0;
12320                color: 255 255 255 0;
12321                rel1.offset: 1 1;
12322                rel2.offset: -2 -2;
12323             }
12324             description { state: "today" 0.0;
12325                inherit: "default" 0.0;
12326                color: 0 0 0 200;
12327             }
12328          }
12329          part { name: "e.text.label";
12330             type: TEXT;
12331             mouse_events: 0;
12332             scale: 1;
12333             clip_to: "hidden";
12334             description { state: "default" 0.0;
12335                align: 0.5 0.5;
12336                color: 0 0 0 255;
12337               color3: 0 0 0 32;
12338                rel1.offset: 2 2;
12339                rel2.offset: -3 -3;
12340                text {
12341                   text: "88";
12342                   font: "Sans";
12343                   align: 0.5 0.5;
12344                   size: 8;
12345                   min: 1 1;
12346                   text_class: "module_small";
12347                }
12348             }
12349             description { state: "today" 0.0;
12350                inherit: "default" 0.0;
12351                color: 255 255 255 255;
12352             }
12353          }
12354          part { name: "inset";
12355             mouse_events: 0;
12356             clip_to: "hidden";
12357             description { state: "default" 0.0;
12358                image.normal: "inset_sunk.png";
12359                image.middle: 0;
12360                image.border: 7 7 7 7;
12361                fill.smooth: 0;
12362                color: 255 255 255 128;
12363             }
12364          }
12365       }
12366       programs {
12367          program { name: "weekend";
12368             signal: "e,state,weekend";
12369             source: "e";
12370             action: STATE_SET "weekend" 0.0;
12371             target: "weekend";
12372          }
12373          program { name: "weekday";
12374             signal: "e,state,weekday";
12375             source: "e";
12376             action: STATE_SET "default" 0.0;
12377             target: "weekend";
12378          }
12379          program { name: "hidden";
12380             signal: "e,state,hidden";
12381             source: "e";
12382             action: STATE_SET "hidden" 0.0;
12383             target: "hidden";
12384          }
12385          program { name: "visible";
12386             signal: "e,state,visible";
12387             source: "e";
12388             action: STATE_SET "default" 0.0;
12389             target: "hidden";
12390          }
12391          program { name: "today";
12392             signal: "e,state,today";
12393             source: "e";
12394             action: STATE_SET "today" 0.0;
12395             target: "day";
12396             target: "e.text.label";
12397          }
12398          program { name: "someday";
12399             signal: "e,state,someday";
12400             source: "e";
12401             action: STATE_SET "default" 0.0;
12402             target: "day";
12403             target: "e.text.label";
12404          }
12405       }
12406    }
12407    group { name: "e/modules/clock/calendar";
12408       images {
12409          image: "arrow_left.png" COMP;
12410          image: "arrow_right.png" COMP;
12411          image: "inset_sunk.png" COMP;
12412          image: "ilist_1.png" COMP;
12413          image: "ilist_2.png" COMP;
12414          image: "ilist_item_shadow.png" COMP;
12415       }
12416       parts {
12417          part { name: "e.text.month";
12418             type: TEXT;
12419             effect: SOFT_SHADOW;
12420             mouse_events: 1;
12421             scale: 1;
12422             description { state: "default" 0.0;
12423                fixed: 0 1;
12424                align: 0.0 0.0;
12425                rel1 {
12426                   to_x: "prev";
12427                   relative: 1.0 0.0;
12428                }
12429                rel2 {
12430                   relative: 1.0 0.0;
12431                }
12432                color: 255 255 255 255;
12433                color3: 0 0 0 32;
12434                text {
12435                   font: "Sans:style=Bold";
12436                   align: 0.0 0.5;
12437                   size: 10;
12438                   min: 0 1;
12439                   text_class: "module_normal";
12440                }
12441             }
12442          }
12443          part { name: "e.text.year";
12444             type: TEXT;
12445             effect: SOFT_SHADOW;
12446             mouse_events: 0;
12447             scale: 1;
12448             description { state: "default" 0.0;
12449                fixed: 0 1;
12450                align: 1.0 0.0;
12451                rel1 {
12452                   relative: 0.0 0.0;
12453                }
12454                rel2 {
12455                   to_x: "next";
12456                   relative: 0.0 0.0;
12457                }
12458                color: 255 255 255 255;
12459                color3: 0 0 0 32;
12460                text {
12461                   font: "Sans:style=Bold";
12462                   align: 1.0 0.5;
12463                   size: 10;
12464                   min: 0 1;
12465                   text_class: "module_normal";
12466                }
12467             }
12468          }
12469          part { name: "previm";
12470             mouse_events: 0;
12471             description { state: "default" 0.0;
12472                min: 9 9;
12473                max: 9 9;
12474                rel1.to: "prev";
12475                rel2.to: "prev";
12476                image.normal: "arrow_left.png";
12477             }
12478             description { state: "pressed" 0.0;
12479                inherit: "default" 0.0;
12480                rel1.offset: 0 2;
12481                rel2.offset: -1 1;
12482             }
12483          }
12484          part { name: "prev";
12485             type: RECT;
12486             description { state: "default" 0.0;
12487                align: 0.0 0.5;
12488                color: 0 0 0 0;
12489                aspect: 1.0 1.0;
12490                aspect_preference: VERTICAL;
12491                rel1.to_y: "e.text.month";
12492                rel1.relative: 0.0 0.0;
12493                rel2.to_y: "e.text.month";
12494                rel2.relative: 0.0 1.0;
12495             }
12496             program { name: "prev_down";
12497                signal: "mouse,down,1";
12498                source: "prev";
12499                action: STATE_SET "pressed" 0.0;
12500                target: "previm";
12501             }
12502             program { name: "prev_up";
12503                signal: "mouse,up,1";
12504                source: "prev";
12505                action: STATE_SET "default" 0.0;
12506                target: "previm";
12507             }
12508             program { name: "prev_clicked";
12509                signal: "mouse,clicked,1";
12510                source: "prev";
12511                action: SIGNAL_EMIT "e,action,prev" "";
12512             }
12513          }
12514          part { name: "nextim";
12515             mouse_events: 0;
12516             description { state: "default" 0.0;
12517                min: 9 9;
12518                max: 9 9;
12519                rel1.to: "next";
12520                rel2.to: "next";
12521                image.normal: "arrow_right.png";
12522             }
12523             description { state: "pressed" 0.0;
12524                inherit: "default" 0.0;
12525                rel1.offset: 0 2;
12526                rel2.offset: -1 1;
12527             }
12528          }
12529          part { name: "next";
12530             type: RECT;
12531             description { state: "default" 0.0;
12532                align: 1.0 0.5;
12533                color: 0 0 0 0;
12534                aspect: 1.0 1.0;
12535                aspect_preference: VERTICAL;
12536                rel1.to_y: "e.text.month";
12537                rel1.relative: 1.0 0.0;
12538                rel2.to_y: "e.text.month";
12539                rel2.relative: 1.0 1.0;
12540             }
12541             program { name: "next_down";
12542                signal: "mouse,down,1";
12543                source: "next";
12544                action: STATE_SET "pressed" 0.0;
12545                target: "nextim";
12546             }
12547             program { name: "next_up";
12548                signal: "mouse,up,1";
12549                source: "next";
12550                action: STATE_SET "default" 0.0;
12551                target: "nextim";
12552             }
12553             program { name: "next_clicked";
12554                signal: "mouse,clicked,1";
12555                source: "next";
12556                action: SIGNAL_EMIT "e,action,next" "";
12557             }
12558          }
12559          part { name: "days_bg1";
12560             mouse_events: 0;
12561             description { state: "default" 0.0;
12562                rel1.to: "e.table.days";
12563                rel1.offset: -1 -1;
12564                rel2.to: "e.table.days";
12565                rel2.offset: 0 0;
12566                image.normal: "ilist_2.png";
12567                image.border: 2 2 2 2;
12568             }
12569          }
12570          part { name: "daynames_bg0";
12571             mouse_events: 0;
12572             description { state: "default" 0.0;
12573                fixed: 0 1;
12574                align: 0.0 0.0;
12575                min: 0 10;
12576                rel1 {
12577                   to: "daynames_bg1";
12578                   relative: 0.0 1.0;
12579                   offset: 0 0;
12580                }
12581                rel2 {
12582                   to: "daynames_bg1";
12583                   relative: 1.0 1.0;
12584                   offset: -1 0;
12585                }
12586                image.normal: "ilist_item_shadow.png";
12587                fill.smooth: 0;
12588             }
12589          }
12590          part { name: "daynames_bg1";
12591             mouse_events: 0;
12592             description { state: "default" 0.0;
12593                rel1.to: "e.table.daynames";
12594                rel1.offset: -1 -1;
12595                rel2.to: "e.table.daynames";
12596                rel2.offset: 0 0;
12597                image.normal: "ilist_1.png";
12598                image.border: 2 2 2 2;
12599             }
12600          }
12601          part { name: "e.table.daynames"; type: TABLE;
12602             description { state: "default" 0.0;
12603                fixed: 0 1;
12604                align: 0.5 0.0;
12605                rel1.to_y: "e.text.month";
12606                rel1.relative: 0.0 1.0;
12607                rel1.offset: 2 2;
12608                rel2.to_y: "e.text.month";
12609                rel2.relative: 1.0 1.0;
12610                rel2.offset: -3 2;
12611                step: 7 1;
12612                table {
12613                   homogeneous: TABLE;
12614                   padding: 1 1;
12615                   align: 0.5 0.5;
12616                   min: 1 1;
12617                }
12618             }
12619             table { items {
12620 #define DAYNAME(x) \
12621    item { \
12622       position: x 0; \
12623       span: 1 1; \
12624       source: "e/modules/clock/calendar/dayname"; \
12625       weight: 1.0 1.0; \
12626       align: -1.0 -1.0; \
12627    }
12628                DAYNAME(0);
12629                DAYNAME(1);
12630                DAYNAME(2);
12631                DAYNAME(3);
12632                DAYNAME(4);
12633                DAYNAME(5);
12634                DAYNAME(6);
12635             } }
12636          }
12637          part { name: "e.table.days"; type: TABLE;
12638             description { state: "default" 0.0;
12639                rel1.to_y: "e.table.daynames";
12640                rel1.relative: 0.0 1.0;
12641                rel1.offset: 2 2;
12642                rel2.offset: -3 -3;
12643                step: 7 5;
12644                table {
12645                   homogeneous: TABLE;
12646                   padding: 1 1;
12647                   align: 0.5 0.5;
12648                   min: 1 1;
12649                }
12650             }
12651             table { items {
12652 #define DAY(x, y) \
12653    item { \
12654       position: x y; \
12655       span: 1 1; \
12656       source: "e/modules/clock/calendar/day"; \
12657       weight: 1.0 1.0; \
12658       align: -1.0 -1.0; \
12659    }
12660                DAY(0, 0);
12661                DAY(1, 0);
12662                DAY(2, 0);
12663                DAY(3, 0);
12664                DAY(4, 0);
12665                DAY(5, 0);
12666                DAY(6, 0);
12667
12668                DAY(0, 1);
12669                DAY(1, 1);
12670                DAY(2, 1);
12671                DAY(3, 1);
12672                DAY(4, 1);
12673                DAY(5, 1);
12674                DAY(6, 1);
12675
12676                DAY(0, 2);
12677                DAY(1, 2);
12678                DAY(2, 2);
12679                DAY(3, 2);
12680                DAY(4, 2);
12681                DAY(5, 2);
12682                DAY(6, 2);
12683
12684                DAY(0, 3);
12685                DAY(1, 3);
12686                DAY(2, 3);
12687                DAY(3, 3);
12688                DAY(4, 3);
12689                DAY(5, 3);
12690                DAY(6, 3);
12691                
12692                DAY(0, 4);
12693                DAY(1, 4);
12694                DAY(2, 4);
12695                DAY(3, 4);
12696                DAY(4, 4);
12697                DAY(5, 4);
12698                DAY(6, 4);
12699
12700                DAY(0, 5);
12701                DAY(1, 5);
12702                DAY(2, 5);
12703                DAY(3, 5);
12704                DAY(4, 5);
12705                DAY(5, 5);
12706                DAY(6, 5);
12707             } }
12708          }
12709          part { name: "inset";
12710             mouse_events: 1;
12711             description { state: "default" 0.0;
12712                image.normal: "inset_sunk.png";
12713                image.middle: 0;
12714                image.border: 7 7 7 7;
12715                fill.smooth: 0;
12716                rel1.to: "e.table.daynames";
12717                rel1.offset: -2 -2;
12718                rel2.to: "e.table.days";
12719                rel2.offset: 2 2;
12720             }
12721          }
12722       }
12723       programs {
12724          program {
12725             name: "mw_next";
12726             source: "*";
12727             signal: "mouse,wheel,0,-1";
12728             action: SIGNAL_EMIT "e,action,prev" "";
12729          }
12730          program {
12731             name: "mw_right";
12732             source: "*";
12733             signal: "mouse,wheel,0,1";
12734             action: SIGNAL_EMIT "e,action,next" "";
12735          }
12736       }
12737    }
12738
12739 /////////////////////////////////////////////////////////////////////////////
12740 /*** MOD: CPUFREQ ***/
12741
12742 #if 0
12743    group {
12744       name: "e/modules/cpufreq/main";
12745       images {
12746          image: "tacho_bg.png" COMP;
12747          image: "tacho_fg.png" COMP;
12748          image: "tacho_dial_00.png" COMP;
12749          image: "tacho_dial_01.png" COMP;
12750          image: "tacho_dial_02.png" COMP;
12751          image: "tacho_dial_03.png" COMP;
12752          image: "tacho_dial_04.png" COMP;
12753          image: "tacho_dial_05.png" COMP;
12754          image: "tacho_dial_06.png" COMP;
12755          image: "tacho_dial_07.png" COMP;
12756          image: "tacho_dial_08.png" COMP;
12757          image: "tacho_dial_09.png" COMP;
12758          image: "tacho_dial_10.png" COMP;
12759          image: "tacho_dial_11.png" COMP;
12760          image: "tacho_dial_12.png" COMP;
12761          image: "tacho_dial_13.png" COMP;
12762          image: "tacho_dial_14.png" COMP;
12763          image: "tacho_dial_15.png" COMP;
12764       }
12765       min: 16 16;
12766       max: 128 128;
12767       script {
12768          public available_frequencies;
12769          public available_governors;
12770          public message(Msg_Type:type, id, ...) {
12771             if ((type == MSG_INT_SET) && (id == 1)) {
12772                while (count(available_frequencies) > 0) {
12773                   remove(available_frequencies, 0);
12774                }
12775                for (new i = 2; i < numargs(); i++) {
12776                   append_int(available_frequencies, getarg(i));
12777                }
12778             } 
12779             else if ((type == MSG_STRING_SET) && (id == 2)) {
12780                new text[100];
12781                while (count(available_governors) > 0) {
12782                   remove(available_governors, 0);
12783                }
12784                for (new i = 2; i < numargs(); i++) {
12785                   snprintf(text, 100, "%s", getarg(i));
12786                   append_str(available_governors, text);
12787                }
12788             } 
12789             else if ((type == MSG_INT_SET) && (id == 3)) {
12790                new f = getarg(2);
12791                new use_buttons = getarg(3);
12792                new Float:freq, Float:min_freq, Float:max_freq;
12793                new text[100];
12794                freq = f;
12795                min_freq = fetch_int(available_frequencies, 0);
12796                max_freq = fetch_int(available_frequencies,
12797                              count(available_frequencies) - 1);
12798                freq = (freq - min_freq) / (max_freq - min_freq);
12799                set_state(PART:"meter", "default", freq);
12800                if (f < 1000000) {
12801                   f += 500;
12802                   snprintf(text, 100, "%i", f / 1000);
12803                } 
12804                else {
12805                   f += 50000;
12806                   snprintf(text, 100, "%i.%i", f / 1000000,
12807                             (f % 1000000) / 100000);
12808                }
12809                set_text(PART:"readout", text);
12810                if (use_buttons == 0) {
12811                   // set_state(PART:"increase_button", "inactive", 0.0);
12812                   // set_state(PART:"decrease_button", "inactive", 0.0);
12813                   // set_state(PART:"increase", "inactive", 0.0);
12814                   // set_state(PART:"decrease", "inactive", 0.0);
12815                } 
12816                else {
12817                   // set_state(PART:"increase_button", "default", 0.0);
12818                   // set_state(PART:"decrease_button", "default", 0.0);
12819                   // set_state(PART:"increase", "default", 0.0);
12820                   // set_state(PART:"decrease", "default", 0.0);
12821                }
12822             } 
12823             else if((type == MSG_STRING) && (id == 4)) {
12824                new text[100];
12825                snprintf(text, 100, "%s", getarg(2));
12826             }
12827          }
12828       }
12829       parts {
12830          part {
12831             name: "fade_clip";
12832             type: RECT;
12833             mouse_events: 0;
12834             description {
12835                state: "default" 0.0;
12836                color: 255 255 255 255;
12837             }
12838             description {
12839                state: "faded" 0.0;
12840                color: 255 255 255 128;
12841             }
12842          }
12843          part {
12844             name: "base";
12845             clip_to: "fade_clip";
12846             description {
12847                state: "default" 0.0;
12848                aspect: 1.0 1.0;
12849                aspect_preference: BOTH;
12850                image.normal: "tacho_bg.png";
12851             }
12852          }
12853          part {
12854             name: "readout";
12855             type: TEXT;
12856             scale: 1;
12857             // effect: OUTLINE_SOFT_SHADOW;
12858             mouse_events: 0;
12859             clip_to: "fade_clip";
12860             description {
12861                state: "default" 0.0;
12862                rel1 {
12863                   relative: 0.6 0.7;
12864                   offset: 0 0;
12865                }
12866                rel2 {
12867                   relative: 0.6 0.7;
12868                   offset: 0 0;
12869                }
12870                color: 255 255 255 255;
12871                color2: 0 0 0 128;
12872                color3: 0 0 0 32;
12873                color_class: "module_label";
12874                text {
12875                   text: "??? Ghz";
12876                   font: "Sans:style=Bold";
12877                   size: 6;
12878                   align: 0.5 0.5;
12879                   min: 1 1;
12880                   text_class: "module_small";
12881                }
12882             }
12883          }
12884          part {
12885             name: "meter";
12886             clip_to: "fade_clip";
12887             mouse_events: 0;
12888             description {
12889                state: "default" 0.0000;
12890                image.normal: "tacho_dial_00.png";
12891                rel1.to: "base";
12892                rel2.to: "base";
12893             }
12894             description {
12895                state: "default" 0.0666;
12896                image.normal: "tacho_dial_01.png";
12897                rel1.to: "base";
12898                rel2.to: "base";
12899             }
12900             description {
12901                state: "default" 0.1333;
12902                image.normal: "tacho_dial_02.png";
12903                rel1.to: "base";
12904                rel2.to: "base";
12905             }
12906             description {
12907                state: "default" 0.2000;
12908                image.normal: "tacho_dial_03.png";
12909                rel1.to: "base";
12910                rel2.to: "base";
12911             }
12912             description {
12913                state: "default" 0.2666;
12914                image.normal: "tacho_dial_04.png";
12915                rel1.to: "base";
12916                rel2.to: "base";
12917             }
12918             description {
12919                state: "default" 0.3333;
12920                image.normal: "tacho_dial_05.png";
12921                rel1.to: "base";
12922                rel2.to: "base";
12923             }
12924             description {
12925                state: "default" 0.4000;
12926                image.normal: "tacho_dial_06.png";
12927                rel1.to: "base";
12928                rel2.to: "base";
12929             }
12930             description {
12931                state: "default" 0.4666;
12932                image.normal: "tacho_dial_07.png";
12933                rel1.to: "base";
12934                rel2.to: "base";
12935             }
12936             description {
12937                state: "default" 0.5333;
12938                image.normal: "tacho_dial_08.png";
12939                rel1.to: "base";
12940                rel2.to: "base";
12941             }
12942             description {
12943                state: "default" 0.6000;
12944                image.normal: "tacho_dial_09.png";
12945                rel1.to: "base";
12946                rel2.to: "base";
12947             }
12948             description {
12949                state: "default" 0.6666;
12950                image.normal: "tacho_dial_10.png";
12951                rel1.to: "base";
12952                rel2.to: "base";
12953             }
12954             description {
12955                state: "default" 0.7333;
12956                image.normal: "tacho_dial_11.png";
12957                rel1.to: "base";
12958                rel2.to: "base";
12959             }
12960             description {
12961                state: "default" 0.8000;
12962                image.normal: "tacho_dial_12.png";
12963                rel1.to: "base";
12964                rel2.to: "base";
12965             }
12966             description {
12967                state: "default" 0.8666;
12968                image.normal: "tacho_dial_13.png";
12969                rel1.to: "base";
12970                rel2.to: "base";
12971             }
12972             description {
12973                state: "default" 0.9333;
12974                image.normal: "tacho_dial_14.png";
12975                rel1.to: "base";
12976                rel2.to: "base";
12977             }
12978             description {
12979                state: "default" 1.0000;
12980                image.normal: "tacho_dial_15.png";
12981                rel1.to: "base";
12982                rel2.to: "base";
12983             }
12984          }
12985          part {
12986             name: "over";
12987             clip_to: "fade_clip";
12988             mouse_events: 0;
12989             description {
12990                state: "default" 0.0;
12991                rel1.to: "base";
12992                rel2.to: "base";
12993                image.normal: "tacho_fg.png";
12994             }
12995          }
12996       }
12997       programs {
12998       /*
12999          program {
13000             name: "next_governor";
13001             signal: "mouse,down,1";
13002             source: "cpu";
13003             action: SIGNAL_EMIT "e,action,governor,next" "";
13004          }
13005          program {
13006             name: "next_governor2";
13007             signal: "mouse,down,1";
13008             source: "cpu";
13009             action: STATE_SET "clicked" 0.0;
13010             target: "cpu";
13011          }
13012          program {
13013             name: "next_governor3";
13014             signal: "mouse,up,1";
13015             source: "cpu";
13016             action: STATE_SET "default" 0.0;
13017             target: "cpu";
13018          }
13019          program {
13020             name: "increase_frequency";
13021             signal: "mouse,down,1";
13022             source: "increase";
13023             action: SIGNAL_EMIT "e,action,frequency,increase" "";
13024          }
13025          program {
13026             name: "increase_frequency2";
13027             signal: "mouse,down,1";
13028             source: "increase";
13029             action: STATE_SET "clicked" 0.0;
13030             target: "increase_button";
13031          }
13032          program {
13033             name: "increase_frequency3";
13034             signal: "mouse,up,1";
13035             source: "increase";
13036             action: STATE_SET "default" 0.0;
13037             target: "increase_button";
13038          }
13039          program {
13040             name: "decrease_frequency";
13041             signal: "mouse,down,1";
13042             source: "decrease";
13043             action: SIGNAL_EMIT "e,action,frequency,decrease" "";
13044          }
13045          program {
13046             name: "decrease_frequency2";
13047             signal: "mouse,down,1";
13048             source: "decrease";
13049             action: STATE_SET "clicked" 0.0;
13050             target: "decrease_button";
13051          }
13052          program {
13053             name: "decrease_frequency3";
13054             signal: "mouse,up,1";
13055             source: "decrease";
13056             action: STATE_SET "default" 0.0;
13057             target: "decrease_button";
13058          }
13059          */
13060          program {
13061             name: "enabled";
13062             signal: "e,state,enabled";
13063             source: "e";
13064             action: STATE_SET "default" 0.0;
13065             target: "fade_clip";
13066          }
13067          program {
13068             name: "disabled";
13069             signal: "e,state,disabled";
13070             source: "e";
13071             action: STATE_SET "faded" 0.0;
13072             target: "fade_clip";
13073          }
13074       }
13075    }
13076 #else
13077    group {
13078       name: "e/modules/cpufreq/main";
13079       images {
13080          image: "tacho_bg.png" COMP;
13081          image: "tacho_fg.png" COMP;
13082          image: "t0.png" COMP;
13083          image: "t0-sh.png" COMP;
13084          image: "t1.png" COMP;
13085          image: "t1-sh.png" COMP;
13086          image: "t2.png" COMP;
13087       }
13088       min: 16 16;
13089       max: 128 128;
13090       script {
13091          public available_frequencies;
13092          public available_governors;
13093
13094          public cur_freq_old;
13095          public cur_freq_new;
13096          public cur_freq_now;
13097          public cur_freq_anim;
13098
13099          public min_freq_old;
13100          public min_freq_new;
13101          public min_freq_now;
13102
13103          public max_freq_old;
13104          public max_freq_new;
13105          public max_freq_now;
13106         
13107          public slide_cur_freq(val, Float:v) {
13108             new Float:freq, Float:min_freq, Float:max_freq, Float:tf;
13109             new f, f0, f1;
13110            
13111             v = (1.0 - cos(v * 3.141592654)) / 2.0;
13112            
13113             min_freq = fetch_int(available_frequencies, 0);
13114             max_freq = fetch_int(available_frequencies,
13115                                  count(available_frequencies) - 1);
13116            
13117             f0 = get_int(cur_freq_old);
13118             f1 = get_int(cur_freq_new);
13119             f = f1 - f0;
13120             freq = float(f) * v;
13121             f = round(freq);
13122             f = f + f0;
13123             set_int(cur_freq_now, f);
13124            
13125             freq = (float(f) - min_freq) / (max_freq - min_freq);
13126             tf = (freq * 225.0) - 135.0;
13127             custom_state(PART:"meter", "default", 0.0);
13128             set_state_val(PART:"meter", STATE_MAP_ROT_Z, tf);
13129             set_state(PART:"meter", "custom", 0.0);
13130             custom_state(PART:"meter_sh", "default", 0.0);
13131             set_state_val(PART:"meter_sh", STATE_MAP_ROT_Z, tf);
13132             set_state(PART:"meter_sh", "custom", 0.0);
13133            
13134             f0 = get_int(min_freq_old);
13135             f1 = get_int(min_freq_new);
13136             f = f1 - f0;
13137             freq = float(f) * v;
13138             f = round(freq);
13139             f = f + f0;
13140             set_int(min_freq_now, f);
13141            
13142             freq = (float(f) - min_freq) / (max_freq - min_freq);
13143             tf = (freq * 225.0) - 135.0;
13144             custom_state(PART:"meter_min", "default", 0.0);
13145             set_state_val(PART:"meter_min", STATE_MAP_ROT_Z, tf);
13146             set_state(PART:"meter_min", "custom", 0.0);
13147             custom_state(PART:"meter_min_sh", "default", 0.0);
13148             set_state_val(PART:"meter_min_sh", STATE_MAP_ROT_Z, tf);
13149             set_state(PART:"meter_min_sh", "custom", 0.0);
13150            
13151             f0 = get_int(max_freq_old);
13152             f1 = get_int(max_freq_new);
13153             f = f1 - f0;
13154             freq = float(f) * v;
13155             f = round(freq);
13156             f = f + f0;
13157             set_int(max_freq_now, f);
13158            
13159             freq = (float(f) - min_freq) / (max_freq - min_freq);
13160             tf = (freq * 225.0) - 135.0;
13161             custom_state(PART:"meter_max", "default", 0.0);
13162             set_state_val(PART:"meter_max", STATE_MAP_ROT_Z, tf);
13163             set_state(PART:"meter_max", "custom", 0.0);
13164             custom_state(PART:"meter_max_sh", "default", 0.0);
13165             set_state_val(PART:"meter_max_sh", STATE_MAP_ROT_Z, tf);
13166             set_state(PART:"meter_max_sh", "custom", 0.0);
13167            
13168             if (v >= 1.0) {
13169               set_int(cur_freq_anim, 0);
13170               return 0;
13171             }
13172             return 1;
13173          }
13174         
13175          public message(Msg_Type:type, id, ...) {
13176             if ((type == MSG_INT_SET) && (id == 1)) { // add an available freq
13177                while (count(available_frequencies) > 0) {
13178                   remove(available_frequencies, 0);
13179                }
13180                for (new i = 2; i < numargs(); i++) {
13181                   append_int(available_frequencies, getarg(i));
13182                }
13183             } 
13184             else if ((type == MSG_STRING_SET) && (id == 2)) { // add a governor
13185                new text[100];
13186                while (count(available_governors) > 0) {
13187                   remove(available_governors, 0);
13188                }
13189                for (new i = 2; i < numargs(); i++) {
13190                   snprintf(text, 100, "%s", getarg(i));
13191                   append_str(available_governors, text);
13192                }
13193             } 
13194             else if ((type == MSG_INT_SET) && (id == 3)) { // avg freq
13195                new f;
13196                new ani, curf, minf, maxf;
13197                new text[100];
13198
13199                f = getarg(2);              
13200                if (f < 1000000) {
13201                   f += 500;
13202                   snprintf(text, 100, "%i", f / 1000);
13203                } 
13204                else {
13205                   f += 50000;
13206                   snprintf(text, 100, "%i.%i", f / 1000000,
13207                             (f % 1000000) / 100000);
13208                }
13209                set_text(PART:"readout", text);
13210               
13211                ani = get_int(cur_freq_anim);
13212                if (ani > 0) cancel_anim(ani);
13213                ani = anim(1.0, "slide_cur_freq", 0);
13214                set_int(cur_freq_anim, ani);
13215               
13216                f = getarg(2);
13217                curf = get_int(cur_freq_now);
13218                set_int(cur_freq_old, curf);
13219                set_int(cur_freq_new, f);
13220               
13221                f = getarg(4);
13222                minf = get_int(min_freq_now);
13223                set_int(min_freq_old, minf);
13224                set_int(min_freq_new, f);
13225               
13226                f = getarg(5);
13227                maxf = get_int(max_freq_now);
13228                set_int(max_freq_old, maxf);
13229                set_int(max_freq_new, f);
13230             } 
13231             else if ((type == MSG_STRING) && (id == 4)) {
13232                new text[100];
13233                snprintf(text, 100, "%s", getarg(2));
13234             }
13235          }
13236       }
13237       parts {
13238          part {
13239             name: "fade_clip";
13240             type: RECT;
13241             mouse_events: 0;
13242             description {
13243                state: "default" 0.0;
13244                color: 255 255 255 255;
13245             }
13246             description {
13247                state: "faded" 0.0;
13248                color: 255 255 255 128;
13249             }
13250          }
13251          part {
13252             name: "base";
13253             clip_to: "fade_clip";
13254             description {
13255                state: "default" 0.0;
13256                aspect: 1.0 1.0;
13257                aspect_preference: BOTH;
13258                image.normal: "tacho_bg.png";
13259             }
13260          }
13261          part {
13262             name: "readout";
13263             type: TEXT;
13264             scale: 1;
13265             // effect: OUTLINE_SOFT_SHADOW;
13266             mouse_events: 0;
13267             clip_to: "fade_clip";
13268             description {
13269                state: "default" 0.0;
13270                rel1 {
13271                   relative: 0.6 0.7;
13272                   offset: 0 0;
13273                }
13274                rel2 {
13275                   relative: 0.6 0.7;
13276                   offset: 0 0;
13277                }
13278                color: 255 255 255 255;
13279                color2: 0 0 0 128;
13280                color3: 0 0 0 32;
13281                color_class: "module_label";
13282                text {
13283                   text: "??? Ghz";
13284                   font: "Sans:style=Bold";
13285                   size: 6;
13286                   align: 0.5 0.5;
13287                   min: 1 1;
13288                   text_class: "module_small";
13289                }
13290             }
13291          }
13292          part { name: "meter_min_sh";
13293             clip_to: "fade_clip";
13294             mouse_events: 0;
13295             description { state: "default" 0.0000;
13296                image.normal: "t1-sh.png";
13297                rel1.to: "meter_min";
13298                rel1.relative: 0.0+(2.0/64.0) 0.0+(2.0/64.0);
13299                rel2.to: "meter_min";
13300                rel2.relative: 1.0+(2.0/64.0) 1.0+(2.0/64.0);
13301                map {
13302                   on: 1;
13303                   rotation {
13304                      center: "meter_min_sh";
13305                   }
13306                }
13307             }
13308          }
13309          part { name: "meter_min";
13310             clip_to: "fade_clip";
13311             mouse_events: 0;
13312             description { state: "default" 0.0000;
13313                image.normal: "t2.png";
13314                rel1.to: "base";
13315                rel2.to: "base";
13316                map {
13317                   on: 1;
13318                   rotation {
13319                      center: "base";
13320                   }
13321                }
13322             }
13323          }
13324          part { name: "meter_max_sh";
13325             clip_to: "fade_clip";
13326             mouse_events: 0;
13327             description { state: "default" 0.0000;
13328                image.normal: "t1-sh.png";
13329                rel1.to: "meter_max";
13330                rel1.relative: 0.0+(2.0/64.0) 0.0+(2.0/64.0);
13331                rel2.to: "meter_max";
13332                rel2.relative: 1.0+(2.0/64.0) 1.0+(2.0/64.0);
13333                map {
13334                   on: 1;
13335                   rotation {
13336                      center: "meter_max_sh";
13337                   }
13338                }
13339             }
13340          }
13341          part { name: "meter_max";
13342             clip_to: "fade_clip";
13343             mouse_events: 0;
13344             description { state: "default" 0.0000;
13345                image.normal: "t1.png";
13346                rel1.to: "base";
13347                rel2.to: "base";
13348                map {
13349                   on: 1;
13350                   rotation {
13351                      center: "base";
13352                   }
13353                }
13354             }
13355          }
13356          part { name: "meter_sh";
13357             clip_to: "fade_clip";
13358             mouse_events: 0;
13359             description { state: "default" 0.0000;
13360                image.normal: "t0-sh.png";
13361                rel1.to: "meter";
13362                rel1.relative: 0.0+(2.0/64.0) 0.0+(2.0/64.0);
13363                rel2.to: "meter";
13364                rel2.relative: 1.0+(2.0/64.0) 1.0+(2.0/64.0);
13365                map {
13366                   on: 1;
13367                   rotation {
13368                      center: "meter_sh";
13369                   }
13370                }
13371             }
13372          }
13373          part { name: "meter";
13374             clip_to: "fade_clip";
13375             mouse_events: 0;
13376             description { state: "default" 0.0000;
13377                image.normal: "t0.png";
13378                rel1.to: "base";
13379                rel2.to: "base";
13380                map {
13381                   on: 1;
13382                   rotation {
13383                      center: "base";
13384                   }
13385                }
13386             }
13387          }
13388          part {
13389             name: "over";
13390             clip_to: "fade_clip";
13391             mouse_events: 0;
13392             description {
13393                state: "default" 0.0;
13394                rel1.to: "base";
13395                rel2.to: "base";
13396                image.normal: "tacho_fg.png";
13397             }
13398          }
13399       }
13400       programs {
13401          program {
13402             name: "enabled";
13403             signal: "e,state,enabled";
13404             source: "e";
13405             action: STATE_SET "default" 0.0;
13406             target: "fade_clip";
13407          }
13408          program {
13409             name: "disabled";
13410             signal: "e,state,disabled";
13411             source: "e";
13412             action: STATE_SET "faded" 0.0;
13413             target: "fade_clip";
13414          }
13415       }
13416    }
13417 #endif
13418
13419 /////////////////////////////////////////////////////////////////////////////
13420 /*** MOD: IBOX / IBAR ***/
13421
13422    group {
13423       name: "e/modules/ibox/icon";
13424       alias: "e/modules/ibar/icon";
13425       data {
13426          item: "raise_on_hilight" "0";
13427          // 1 or 0 if u want an icon holder to raise when the mouse (or keyboard) hilights it
13428          // item: "item_list" "item item2 item3";
13429       }
13430       parts {
13431          part {
13432             name: "item_clip";
13433             type: RECT;
13434             mouse_events: 0;
13435             description { state: "default" 0.0;
13436                color: 255 255 255 255;
13437             }
13438             description { state: "disabled" 0.0;
13439                color: 255 255 255 64;
13440             }
13441          }
13442          part {
13443             name: "e.swallow.content";
13444             type: SWALLOW;
13445             clip_to: "item_clip";
13446             description { state: "default" 0.0;
13447                rel1.offset: 2   2;
13448                rel2.offset: -3   -3;
13449             }
13450             description { state: "bigger" 0.0;
13451             }
13452          }
13453          part {
13454             name: "urgent_area";
13455             type: RECT;
13456             description {
13457                state: "default" 0.0;
13458                visible: 0;
13459             }
13460             description {
13461                state: "uw0" 0.0;
13462                inherit: "default" 0.0;
13463                rel1.offset: -3 -2;
13464                rel2.offset: -4 -3;
13465             }
13466             description {
13467                state: "uw1" 0.0;
13468                inherit: "default" 0.0;
13469                rel1.offset: 5 -2;
13470                rel2.offset: 4 -3;
13471             }
13472             description {
13473                state: "uw2" 0.0;
13474                inherit: "default" 0.0;
13475                rel1.offset: -1 4;
13476                rel2.offset: -2 3;
13477             }
13478             description {
13479                state: "uw3" 0.0;
13480                inherit: "default" 0.0;
13481                rel1.offset: -2 -1;
13482                rel2.offset: -3 -2;
13483             }
13484             description {
13485                state: "uw4" 0.0;
13486                inherit: "default" 0.0;
13487                rel1.offset: -4 1;
13488                rel2.offset: -5 0;
13489             }
13490          }
13491          part {
13492             name: "urgent";
13493             description {
13494                state: "default" 0.0;
13495                visible: 0;
13496                rel1.to: "urgent_area";
13497                rel2.to: "urgent_area";
13498                image.normal: "exclam.png";
13499                color: 255 255 255 0;
13500             }
13501             description {
13502                state: "visible" 0.0;
13503                inherit: "default" 0.0;
13504                visible: 1;
13505                color: 255 255 255 255;
13506             }
13507             description {
13508                state: "hidden" 0.0;
13509                inherit: "default" 0.0;
13510                visible: 1;
13511                rel1 {
13512                   relative: -0.5  -0.5;
13513                }
13514                rel2 {
13515                   relative: 1.5  1.5;
13516                }
13517                color: 255 255 255 0;
13518             }
13519          }
13520          part {
13521             name: "over";
13522             type: RECT;
13523             repeat_events: 0;
13524             description {
13525                state: "default" 0.0;
13526                color: 0 0 0 0;
13527             }
13528          }
13529       }
13530       programs {
13531          program {
13532             name: "starting";
13533             signal: "e,state,starting";
13534             source: "e";
13535             action: STATE_SET "disabled" 0.0;
13536             target: "item_clip";
13537          }
13538          program {
13539             name: "started";
13540             signal: "e,state,started";
13541             source: "e";
13542             action: STATE_SET "default" 0.0;
13543             target: "item_clip";
13544          }
13545          program {
13546             name: "hover_out";
13547             signal: "mouse,out";
13548             source: "over";
13549             action: STATE_SET "default" 0.0;
13550             transition: LINEAR 0.2;
13551             target: "e.swallow.content";
13552          }
13553          program {
13554             name: "set_urgent";
13555             signal: "e,state,urgent";
13556             source: "e";
13557             action: STATE_SET "visible" 0.0;
13558             transition: LINEAR 0.2;
13559             target: "urgent";
13560          }
13561          program {
13562             name: "set_not_urgent";
13563             signal: "e,state,not_urgent";
13564             source: "e";
13565             action: STATE_SET "default" 0.0;
13566             transition: LINEAR 0.6;
13567             target: "urgent";
13568          }
13569          program {
13570             name: "urgentw0";
13571             signal: "e,state,urgent";
13572             source: "e";
13573             action: STATE_SET "default" 0.0;
13574             target: "urgent_area";
13575             transition: DECELERATE 0.1;
13576             after: "urgentw1";
13577          }
13578          program {
13579             name: "urgentw1";
13580             action: STATE_SET "uw1" 0.0;
13581             target: "urgent_area";
13582             transition: DECELERATE 0.1;
13583             after: "urgentw2";
13584          }
13585          program {
13586             name: "urgentw2";
13587             action: STATE_SET "uw2" 0.0;
13588             target: "urgent_area";
13589             transition: DECELERATE 0.1;
13590             after: "urgentw3";
13591          }
13592          program {
13593             name: "urgentw3";
13594             action: STATE_SET "uw3" 0.0;
13595             target: "urgent_area";
13596             transition: DECELERATE 0.1;
13597             after: "urgentw4";
13598          }
13599          program {
13600             name: "urgentw4";
13601             action: STATE_SET "uw4" 0.0;
13602             target: "urgent_area";
13603             transition: DECELERATE 0.1;
13604             after: "urgentw0";
13605          }
13606          program {
13607             name: "not_urgent";
13608             signal: "e,state,not_urgent";
13609             source: "e";
13610             action: ACTION_STOP;
13611             target: "urgentw0";
13612             target: "urgentw1";
13613             target: "urgentw2";
13614             target: "urgentw3";
13615             target: "urgentw4";
13616             after: "not_urgent2";
13617          }
13618          program {
13619             name: "not_urgent2";
13620             action: STATE_SET "default" 0.0;
13621             target: "urgent";
13622             target: "urgent_area";
13623          }
13624       }
13625    }
13626    group {
13627       name: "e/modules/ibox/icon_overlay";
13628       alias: "e/modules/ibar/icon_overlay";
13629       data {
13630          // item: "item_list", "item item2 item3";
13631       }
13632       script {
13633          public urgent;
13634       }
13635       parts {
13636          part {
13637             name: "base";
13638             type: RECT;
13639             mouse_events: 0;
13640             description {
13641                state: "default" 0.0;
13642                color: 255 255 255 0;
13643             }
13644          }
13645          part {
13646             name: "background";
13647             type: RECT;
13648             mouse_events: 0;
13649             description {
13650                state: "default" 0.0;
13651                visible: 0;
13652                rel1.to: "base";
13653                rel2.to: "base";
13654                color: 255 255 255 0;
13655             }
13656             description {
13657                state: "visible" 0.0;
13658                visible: 1;
13659                rel1.to: "base";
13660                rel2.to: "base";
13661                color: 255 255 255 255;
13662             }
13663             description {
13664                state: "hidden" 0.0;
13665                visible: 1;
13666                rel1 {
13667                   relative: -0.5  -0.5;
13668                   to: "base";
13669                }
13670                rel2 {
13671                   relative: 1.5  1.5;
13672                   to: "base";
13673                }
13674                color: 255 255 255 0;
13675             }
13676             description {
13677                state: "huge" 0.0;
13678                visible: 1;
13679                rel1 {
13680                   relative: -2.0  -2.0;
13681                   to: "base";
13682                }
13683                rel2 {
13684                   relative: 3.0  3.0;
13685                   to: "base";
13686                }
13687                color: 255 255 255 0;
13688             }
13689          }
13690          part {
13691             name: "e.swallow.content";
13692             type: SWALLOW;
13693             clip_to: "background";
13694             description {
13695                state: "default" 0.0;
13696                rel1.to: "background";
13697                rel2.to: "background";
13698             }
13699          }
13700          part {
13701             name: "urgent";
13702             description {
13703                state: "default" 0.0;
13704                visible: 0;
13705                rel1.to: "base";
13706                rel2.to: "base";
13707                image.normal: "exclam.png";
13708                color: 255 255 255 0;
13709             }
13710             description {
13711                state: "visible" 0.0;
13712                inherit: "default" 0.0;
13713                visible: 1;
13714                color: 255 255 255 255;
13715             }
13716             description {
13717                state: "hidden" 0.0;
13718                inherit: "default" 0.0;
13719                visible: 1;
13720                rel1 {
13721                   relative: -0.5  -0.5;
13722                   to: "base";
13723                }
13724                rel2 {
13725                   relative: 1.5  1.5;
13726                   to: "base";
13727                }
13728                color: 255 255 255 0;
13729             }
13730          }
13731          part {
13732             name: "e.text.label";
13733             type: TEXT;
13734             effect: SOFT_SHADOW;
13735             mouse_events: 0;
13736             scale: 1;
13737             description {
13738                state: "default" 0.0;
13739                rel1 {
13740                   relative: 0.0  1.0;
13741                   offset: 0    -1;
13742                }
13743                rel2 {
13744                   relative: 1.0  1.0;
13745                   offset: -1    -1;
13746                }
13747                color: 255 255 255 0;
13748                color3: 0 0 0 0;
13749                color_class: "module_label";
13750                text {
13751                   font: "Sans:style=Bold";
13752                   size: 10;
13753                   min: 1 1;
13754                   align: 0.5 0.5;
13755                   text_class: "module_normal";
13756                }
13757             }
13758             description {
13759                state: "visible" 0.0;
13760                inherit: "default" 0.0;
13761                rel1 {
13762                   relative: 0.0  0.0;
13763                   offset: 0    0;
13764                }
13765                rel2 {
13766                   relative: 1.0  1.0;
13767                   offset: -1    -1;
13768                }
13769                color: 255 255 255 255;
13770                color3: 0 0 0 42;
13771             }
13772          }
13773       }
13774       programs {
13775          program {
13776             name: "go_active";
13777             signal: "e,state,focused";
13778             source: "e";
13779             action: STATE_SET "visible" 0.0;
13780             target: "background";
13781             after: "go_active2";
13782          }
13783          program {
13784             name: "go_activeB";
13785             signal: "e,action,show,label";
13786             source: "e";
13787             action: STATE_SET "visible" 0.0;
13788             transition: SINUSOIDAL 0.5;
13789             target: "e.text.label";
13790          }
13791          program {
13792             name: "go_active2";
13793             action: STATE_SET "hidden" 0.0;
13794             transition: LINEAR 0.5;
13795             target: "background";
13796             after: "go_active";
13797          }
13798          program {
13799             name: "go_passive";
13800             signal: "e,state,unfocused";
13801             source: "e";
13802             action: ACTION_STOP;
13803             target: "go_active";
13804             target: "go_active2";
13805             after: "go_passive2";
13806          }
13807          program {
13808             name: "go_passiveB";
13809             signal: "e,action,hide,label";
13810             source: "e";
13811             action: STATE_SET "default" 0.0;
13812             transition: SINUSOIDAL 1.0;
13813             target: "e.text.label";
13814          }
13815          program {
13816             name: "go_passive2";
13817             action: STATE_SET "default" 0.0;
13818             target: "background";
13819             script {
13820                if (get_int(urgent) == 1) {
13821                   run_program(PROGRAM:"go_urgent");
13822                }
13823             }
13824          }
13825          program {
13826             name: "init";
13827             signal: "load";
13828             source: "";
13829             script {
13830                set_int(urgent, 0);
13831             }
13832          }
13833          program {
13834             name: "set_urgent";
13835             signal: "e,state,urgent";
13836             source: "e";
13837             script {
13838                set_int(urgent, 1);
13839             }
13840          }
13841          program {
13842             name: "go_urgent";
13843             action: STATE_SET "visible" 0.0;
13844             target: "background";
13845             target: "urgent";
13846             after: "go_urgent2";
13847          }
13848          program {
13849             name: "go_urgent2";
13850             action: STATE_SET "hidden" 0.0;
13851             transition: LINEAR 0.5;
13852             target: "background";
13853             target: "urgent";
13854             after: "go_urgent";
13855          }
13856          program {
13857             name: "unset_urgent";
13858             signal: "e,state,not_urgent";
13859             source: "e";
13860             script {
13861                set_int(urgent, 0);
13862             }
13863          }
13864          program {
13865             name: "go_unurgent";
13866             signal: "e,state,not_urgent";
13867             source: "e";
13868             action: ACTION_STOP;
13869             target: "go_urgent";
13870             target: "go_urgent2";
13871             after: "go_unurgent2";
13872          }
13873          program {
13874             name: "go_unurgent2";
13875             action: STATE_SET "default" 0.0;
13876             transition: SINUSOIDAL 0.3;
13877             target: "background";
13878             target: "urgent";
13879          }
13880          program {
13881             name: "exec_exec";
13882             signal: "e,action,exec";
13883             source: "e";
13884             after: "exec_start";
13885          }
13886          program {
13887             name: "exec_start";
13888             signal: "e,action,start";
13889             source: "e";
13890             action: ACTION_STOP;
13891             target: "go_active";
13892             target: "go_active2";
13893             target: "go_passive";
13894             target: "go_passive2";
13895             target: "go_big";
13896             target: "go_big2";
13897             after: "go_big";
13898          }
13899          program {
13900             name: "go_big";
13901             action: STATE_SET "visible" 0.0;
13902             target: "background";
13903             after: "go_big2";
13904          }
13905          program {
13906             name: "go_big2";
13907             action: STATE_SET "huge" 0.0;
13908             transition: LINEAR 0.5;
13909             target: "background";
13910          }
13911       }
13912    }
13913    group {
13914       name: "e/modules/ibox/drop";
13915       alias: "e/modules/ibar/drop";
13916       images.image: "inset_raised.png" COMP;
13917       parts {
13918          part {
13919             name: "bg";
13920             mouse_events: 0;
13921             description {
13922                state: "default" 0.0;
13923                image {
13924                   normal: "inset_raised.png";
13925                   border: 7 7 7 7;
13926                   middle: 0;
13927                }
13928             }
13929          }
13930       }
13931    }
13932    group {
13933       name: "e/modules/ibox/drop_overlay";
13934       alias: "e/modules/ibar/drop_overlay";
13935       images {
13936          image: "gadman_top.png" COMP;
13937          image: "gadman_bottom.png" COMP;
13938          image: "gadman_left.png" COMP;
13939          image: "gadman_right.png" COMP;
13940       }
13941       parts {
13942          part {
13943             name: "left_arrow1";
13944             description {
13945                state: "default" 0.0;
13946                aspect: 1.0 1.0;
13947                aspect_preference: VERTICAL;
13948                rel1.relative: -1.0 0.5;
13949                rel2.relative: -1.0 0.5;
13950                image.normal: "gadman_right.png";
13951             }
13952             description {
13953                state: "1" 0.0;
13954                inherit: "default" 0.0;
13955                rel1.relative: -0.8 0.2;
13956                rel2.relative: -0.7 0.8;
13957             }
13958             description {
13959                state: "2" 0.0;
13960                inherit: "default" 0.0;
13961                rel1.relative: 0.2 0.5;
13962                rel2.relative: 0.2 0.5;
13963             }
13964          }
13965          part {
13966             name: "left_arrow2";
13967             description {
13968                state: "default" 0.0;
13969                aspect: 1.0 1.0;
13970                aspect_preference: VERTICAL;
13971                rel1.relative: -1.0 0.5;
13972                rel2.relative: -1.0 0.5;
13973                image.normal: "gadman_right.png";
13974             }
13975             description {
13976                state: "1" 0.0;
13977                inherit: "default" 0.0;
13978                rel1.relative: -0.8 0.2;
13979                rel2.relative: -0.7 0.8;
13980             }
13981             description {
13982                state: "2" 0.0;
13983                inherit: "default" 0.0;
13984                rel1.relative: 0.2 0.5;
13985                rel2.relative: 0.2 0.5;
13986             }
13987          }
13988          part {
13989             name: "right_arrow1";
13990             description {
13991                state: "default" 0.0;
13992                aspect: 1.0 1.0;
13993                aspect_preference: VERTICAL;
13994                rel1.relative: 2.0 0.5;
13995                rel2.relative: 2.0 0.5;
13996                image.normal: "gadman_left.png";
13997             }
13998             description {
13999                state: "1" 0.0;
14000                inherit: "default" 0.0;
14001                rel1.relative: 1.8 0.2;
14002                rel2.relative: 1.7 0.8;
14003             }
14004             description {
14005                state: "2" 0.0;
14006                inherit: "default" 0.0;
14007                rel1.relative: 0.8 0.5;
14008                rel2.relative: 0.8 0.5;
14009             }
14010          }
14011          part {
14012             name: "right_arrow2";
14013             description {
14014                state: "default" 0.0;
14015                aspect: 1.0 1.0;
14016                aspect_preference: VERTICAL;
14017                rel1.relative: 2.0 0.5;
14018                rel2.relative: 2.0 0.5;
14019                image.normal: "gadman_left.png";
14020             }
14021             description {
14022                state: "1" 0.0;
14023                inherit: "default" 0.0;
14024                rel1.relative: 1.8 0.2;
14025                rel2.relative: 1.7 0.8;
14026             }
14027             description {
14028                state: "2" 0.0;
14029                inherit: "default" 0.0;
14030                rel1.relative: 0.8 0.5;
14031                rel2.relative: 0.8 0.5;
14032             }
14033          }
14034          part {
14035             name: "top_arrow1";
14036             description {
14037                state: "default" 0.0;
14038                aspect: 1.0 1.0;
14039                aspect_preference: HORIZONTAL;
14040                rel1.relative: 0.5 -1.0;
14041                rel2.relative: 0.5 -1.0;
14042                image.normal: "gadman_bottom.png";
14043             }
14044             description {
14045                state: "1" 0.0;
14046                inherit: "default" 0.0;
14047                rel1.relative: 0.2 -0.8;
14048                rel2.relative: 0.8 -0.7;
14049             }
14050             description {
14051                state: "2" 0.0;
14052                inherit: "default" 0.0;
14053                rel1.relative: 0.5 0.2;
14054                rel2.relative: 0.5 0.2;
14055             }
14056          }
14057          part {
14058             name: "top_arrow2";
14059             description {
14060                state: "default" 0.0;
14061                aspect: 1.0 1.0;
14062                aspect_preference: HORIZONTAL;
14063                rel1.relative: 0.5 -1.0;
14064                rel2.relative: 0.5 -1.0;
14065                image.normal: "gadman_bottom.png";
14066             }
14067             description {
14068                state: "1" 0.0;
14069                inherit: "default" 0.0;
14070                rel1.relative: 0.2 -0.8;
14071                rel2.relative: 0.8 -0.7;
14072             }
14073             description {
14074                state: "2" 0.0;
14075                inherit: "default" 0.0;
14076                rel1.relative: 0.5 0.2;
14077                rel2.relative: 0.5 0.2;
14078             }
14079          }
14080          part {
14081             name: "bottom_arrow1";
14082             description {
14083                state: "default" 0.0;
14084                aspect: 1.0 1.0;
14085                aspect_preference: HORIZONTAL;
14086                rel1.relative: 0.5 2.0;
14087                rel2.relative: 0.5 2.0;
14088                image.normal: "gadman_top.png";
14089             }
14090             description {
14091                state: "1" 0.0;
14092                inherit: "default" 0.0;
14093                rel1.relative: 0.2 1.7;
14094                rel2.relative: 0.8 1.8;
14095             }
14096             description {
14097                state: "2" 0.0;
14098                inherit: "default" 0.0;
14099                rel1.relative: 0.5 0.8;
14100                rel2.relative: 0.5 0.8;
14101             }
14102          }
14103          part {
14104             name: "bottom_arrow2";
14105             description {
14106                state: "default" 0.0;
14107                aspect: 1.0 1.0;
14108                aspect_preference: HORIZONTAL;
14109                rel1.relative: 0.5 2.0;
14110                rel2.relative: 0.5 2.0;
14111                image.normal: "gadman_top.png";
14112             }
14113             description {
14114                state: "1" 0.0;
14115                inherit: "default" 0.0;
14116                rel1.relative: 0.2 1.7;
14117                rel2.relative: 0.8 1.8;
14118             }
14119             description {
14120                state: "2" 0.0;
14121                inherit: "default" 0.0;
14122                rel1.relative: 0.5 0.8;
14123                rel2.relative: 0.5 0.8;
14124             }
14125          }
14126       }
14127       programs {
14128          program {
14129             name: "start1";
14130             signal: "show";
14131             source: "";
14132             after: "left1_1";
14133             after: "right1_1";
14134             after: "top1_1";
14135             after: "bottom1_1";
14136          }
14137          program {
14138             name: "start2";
14139             signal: "show";
14140             source: "";
14141             in: 0.4 0.0;
14142             after: "left2_1";
14143             after: "right2_1";
14144             after: "top2_1";
14145             after: "bottom2_1";
14146          }
14147          // LEFT ARROW
14148          program {
14149             name: "left1_1";
14150             action: STATE_SET "1" 0.0;
14151             target: "left_arrow1";
14152             transition: LINEAR 0.4;
14153             after: "left1_2";
14154          }
14155          program {
14156             name: "left1_2";
14157             action: STATE_SET "2" 0.0;
14158             target: "left_arrow1";
14159             transition: LINEAR 0.4;
14160             after: "left1_r";
14161          }
14162          program {
14163             name: "left1_r";
14164             action: STATE_SET "default" 0.0;
14165             target: "left_arrow1";
14166             after: "left1_1";
14167          }
14168          program {
14169             name: "left2_1";
14170             action: STATE_SET "1" 0.0;
14171             target: "left_arrow2";
14172             transition: LINEAR 0.4;
14173             after: "left2_2";
14174          }
14175          program {
14176             name: "left2_2";
14177             action: STATE_SET "2" 0.0;
14178             target: "left_arrow2";
14179             transition: LINEAR 0.4;
14180             after: "left2_r";
14181          }
14182          program {
14183             name: "left2_r";
14184             action: STATE_SET "default" 0.0;
14185             target: "left_arrow2";
14186             after: "left2_1";
14187          }
14188          // RIGHT ARROW
14189          program {
14190             name: "right1_1";
14191             action: STATE_SET "1" 0.0;
14192             target: "right_arrow1";
14193             transition: LINEAR 0.4;
14194             after: "right1_2";
14195          }
14196          program {
14197             name: "right1_2";
14198             action: STATE_SET "2" 0.0;
14199             target: "right_arrow1";
14200             transition: LINEAR 0.4;
14201             after: "right1_r";
14202          }
14203          program {
14204             name: "right1_r";
14205             action: STATE_SET "default" 0.0;
14206             target: "right_arrow1";
14207             after: "right1_1";
14208          }
14209          program {
14210             name: "right2_1";
14211             action: STATE_SET "1" 0.0;
14212             target: "right_arrow2";
14213             transition: LINEAR 0.4;
14214             after: "right2_2";
14215          }
14216          program {
14217             name: "right2_2";
14218             action: STATE_SET "2" 0.0;
14219             target: "right_arrow2";
14220             transition: LINEAR 0.4;
14221             after: "right2_r";
14222          }
14223          program {
14224             name: "right2_r";
14225             action: STATE_SET "default" 0.0;
14226             target: "right_arrow2";
14227             after: "right2_1";
14228          }
14229          // TOP ARROW
14230          program {
14231             name: "top1_1";
14232             action: STATE_SET "1" 0.0;
14233             target: "top_arrow1";
14234             transition: LINEAR 0.4;
14235             after: "top1_2";
14236          }
14237          program {
14238             name: "top1_2";
14239             action: STATE_SET "2" 0.0;
14240             target: "top_arrow1";
14241             transition: LINEAR 0.4;
14242             after: "top1_r";
14243          }
14244          program {
14245             name: "top1_r";
14246             action: STATE_SET "default" 0.0;
14247             target: "top_arrow1";
14248             after: "top1_1";
14249          }
14250          program {
14251             name: "top2_1";
14252             action: STATE_SET "1" 0.0;
14253             target: "top_arrow2";
14254             transition: LINEAR 0.4;
14255             after: "top2_2";
14256          }
14257          program {
14258             name: "top2_2";
14259             action: STATE_SET "2" 0.0;
14260             target: "top_arrow2";
14261             transition: LINEAR 0.4;
14262             after: "top2_r";
14263          }
14264          program {
14265             name: "top2_r";
14266             action: STATE_SET "default" 0.0;
14267             target: "top_arrow2";
14268             after: "top2_1";
14269          }
14270          // BOTTOM ARROW
14271          program {
14272             name: "bottom1_1";
14273             action: STATE_SET "1" 0.0;
14274             target: "bottom_arrow1";
14275             transition: LINEAR 0.4;
14276             after: "bottom1_2";
14277          }
14278          program {
14279             name: "bottom1_2";
14280             action: STATE_SET "2" 0.0;
14281             target: "bottom_arrow1";
14282             transition: LINEAR 0.4;
14283             after: "bottom1_r";
14284          }
14285          program {
14286             name: "bottom1_r";
14287             action: STATE_SET "default" 0.0;
14288             target: "bottom_arrow1";
14289             after: "bottom1_1";
14290          }
14291          program {
14292             name: "bottom2_1";
14293             action: STATE_SET "1" 0.0;
14294             target: "bottom_arrow2";
14295             transition: LINEAR 0.4;
14296             after: "bottom2_2";
14297          }
14298          program {
14299             name: "bottom2_2";
14300             action: STATE_SET "2" 0.0;
14301             target: "bottom_arrow2";
14302             transition: LINEAR 0.4;
14303             after: "bottom2_r";
14304          }
14305          program {
14306             name: "bottom2_r";
14307             action: STATE_SET "default" 0.0;
14308             target: "bottom_arrow2";
14309             after: "bottom2_1";
14310          }
14311       }
14312    }
14313
14314
14315 /////////////////////////////////////////////////////////////////////////////
14316 /*** MOD: SYSTRAY ***/
14317
14318    group {
14319       name: "e/modules/systray/main";
14320       alias: "e/modules/systray/main/default";
14321       alias: "e/modules/systray/main/invisible";
14322       data {
14323          item: "inset" "255 255 255";
14324          item: "plain" "230 230 230";
14325          item: "default" "255 255 255";
14326       }
14327       parts {
14328          part {
14329             name: "base";
14330             type: RECT;
14331             description {
14332                state: "default" 0.0;
14333                color: 0 0 0 0;
14334             }
14335             description {
14336                state: "disabled" 0.0;
14337                inherit: "default" 0.0;
14338                color: 255 0 0 128;
14339             }
14340          }
14341          part {
14342             name: "e.size";
14343             type: RECT;
14344             mouse_events: 0;
14345             description {
14346                state: "default" 0.0;
14347                color: 0 0 0 0;
14348                rel1.offset: 4 4;
14349                rel2.offset: -5 -5;
14350             }
14351          }
14352          part {
14353             name: "e.box";
14354             type: BOX;
14355             description {
14356                state: "default" 0.0;
14357                rel1.to: "e.size";
14358                rel2.to: "e.size";
14359                box {
14360                   layout: "horizontal";
14361                   padding: 2 0;
14362                   align: 0.5 0.5;
14363                   min: 1 1;
14364                }
14365             }
14366             description {
14367                state: "vertical" 0.0;
14368                rel1.to: "e.size";
14369                rel2.to: "e.size";
14370                box {
14371                   layout: "vertical";
14372                   padding: 0 2;
14373                   align: 0.5 0.5;
14374                   min: 1 1;
14375                }
14376             }
14377          }
14378          programs {
14379             program {
14380                name: "e,action,disable";
14381                signal: "e,action,disable";
14382                source: "e";
14383                action: STATE_SET "disabled" 0.0;
14384                target: "base";
14385             }
14386             program {
14387                name: "e,action,enable";
14388                signal: "e,action,enable";
14389                source: "e";
14390                action: STATE_SET "default" 0.0;
14391                target: "base";
14392             }
14393             program {
14394                name: "e,action,orient,float";
14395                signal: "e,action,orient,float";
14396                source: "e";
14397                action: STATE_SET "default" 0.0;
14398                target: "e.box";
14399             }
14400             program {
14401                name: "e,action,orient,horiz";
14402                signal: "e,action,orient,horiz";
14403                source: "e";
14404                action: STATE_SET "default" 0.0;
14405                target: "e.box";
14406             }
14407             program {
14408                name: "e,action,orient,vert";
14409                signal: "e,action,orient,vert";
14410                source: "e";
14411                action: STATE_SET "vertical" 0.0;
14412                target: "e.box";
14413             }
14414             program {
14415                name: "e,action,orient,left";
14416                signal: "e,action,orient,left";
14417                source: "e";
14418                action: STATE_SET "vertical" 0.0;
14419                target: "e.box";
14420             }
14421             program {
14422                name: "e,action,orient,right";
14423                signal: "e,action,orient,right";
14424                source: "e";
14425                action: STATE_SET "vertical" 0.0;
14426                target: "e.box";
14427             }
14428             program {
14429                name: "e,action,orient,top";
14430                signal: "e,action,orient,top";
14431                source: "e";
14432                action: STATE_SET "default" 0.0;
14433                target: "e.box";
14434             }
14435             program {
14436                name: "e,action,orient,bottom";
14437                signal: "e,action,orient,bottom";
14438                source: "e";
14439                action: STATE_SET "default" 0.0;
14440                target: "e.box";
14441             }
14442             program {
14443                name: "e,action,orient,corner_tl";
14444                signal: "e,action,orient,corner_tl";
14445                source: "e";
14446                action: STATE_SET "default" 0.0;
14447                target: "e.box";
14448             }
14449             program {
14450                name: "e,action,orient,corner_tr";
14451                signal: "e,action,orient,corner_tr";
14452                source: "e";
14453                action: STATE_SET "default" 0.0;
14454                target: "e.box";
14455             }
14456             program {
14457                name: "e,action,orient,corner_bl";
14458                signal: "e,action,orient,corner_bl";
14459                source: "e";
14460                action: STATE_SET "default" 0.0;
14461                target: "e.box";
14462             }
14463             program {
14464                name: "e,action,orient,corner_br";
14465                signal: "e,action,orient,corner_br";
14466                source: "e";
14467                action: STATE_SET "default" 0.0;
14468                target: "e.box";
14469             }
14470             program {
14471                name: "e,action,orient,corner_lt";
14472                signal: "e,action,orient,corner_lt";
14473                source: "e";
14474                action: STATE_SET "vertical" 0.0;
14475                target: "e.box";
14476             }
14477             program {
14478                name: "e,action,orient,corner_rt";
14479                signal: "e,action,orient,corner_rt";
14480                source: "e";
14481                action: STATE_SET "vertical" 0.0;
14482                target: "e.box";
14483             }
14484             program {
14485                name: "e,action,orient,corner_lb";
14486                signal: "e,action,orient,corner_lb";
14487                source: "e";
14488                action: STATE_SET "vertical" 0.0;
14489                target: "e.box";
14490             }
14491             program {
14492                name: "e,action,orient,corner_rb";
14493                signal: "e,action,orient,corner_rb";
14494                source: "e";
14495                action: STATE_SET "vertical" 0.0;
14496                target: "e.box";
14497             }
14498          }
14499       }
14500    }
14501    group {
14502       name: "e/modules/systray/main/alternate";
14503       data {
14504          item: "inset" "255 255 255";
14505          item: "plain" "255 255 255";
14506          item: "default" "255 255 255";
14507       }
14508       images.image: "systray_rounded_corners.png" COMP;
14509       parts {
14510          part {
14511             name: "base";
14512             type: RECT;
14513             description {
14514                state: "default" 0.0;
14515                color: 0 0 0 0;
14516             }
14517          }
14518          part {
14519             name: "rounded_corners";
14520             type: IMAGE;
14521             mouse_events: 0;
14522             description {
14523                state: "default" 0.0;
14524                rel1 {
14525                   relative: 0.0 0.0;
14526                   offset: -3 -3;
14527                   to: "e.size";
14528                }
14529                rel2 {
14530                   relative: 1.0 1.0;
14531                   offset: 2 2;
14532                   to: "e.size";
14533                }
14534                image {
14535                   normal: "systray_rounded_corners.png";
14536                   border: 3 3 3 3;
14537                   middle: SOLID;
14538                }
14539             }
14540             description {
14541                state: "disabled" 0.0;
14542                inherit: "default" 0.0;
14543                color: 255 0 0 128;
14544             }
14545          }
14546          part {
14547             name: "e.size";
14548             type: RECT;
14549             mouse_events: 0;
14550             description {
14551                state: "default" 0.0;
14552                color: 0 0 0 0;
14553                rel1.offset: 4 4;
14554                rel2.offset: -5 -5;
14555             }
14556          }
14557          part {
14558             name: "e.box";
14559             type: BOX;
14560             description {
14561                state: "default" 0.0;
14562                rel1.to: "e.size";
14563                rel2.to: "e.size";
14564                box {
14565                   layout: "horizontal";
14566                   padding: 2 0;
14567                   align: 0.5 0.5;
14568                   min: 1 1;
14569                }
14570             }
14571             description {
14572                state: "vertical" 0.0;
14573                rel1.to: "e.size";
14574                rel2.to: "e.size";
14575                box {
14576                   layout: "vertical";
14577                   padding: 0 2;
14578                   align: 0.5 0.5;
14579                   min: 1 1;
14580                }
14581             }
14582          }
14583          programs {
14584             program {
14585                name: "e,action,disable";
14586                signal: "e,action,disable";
14587                source: "e";
14588                action: STATE_SET "disabled" 0.0;
14589                target: "rounded_corners";
14590             }
14591             program {
14592                name: "e,action,enable";
14593                signal: "e,action,enable";
14594                source: "e";
14595                action: STATE_SET "default" 0.0;
14596                target: "rounded_corners";
14597             }
14598             program {
14599                name: "e,action,orient,float";
14600                signal: "e,action,orient,float";
14601                source: "e";
14602                action: STATE_SET "default" 0.0;
14603                target: "e.box";
14604             }
14605             program {
14606                name: "e,action,orient,horiz";
14607                signal: "e,action,orient,horiz";
14608                source: "e";
14609                action: STATE_SET "default" 0.0;
14610                target: "e.box";
14611             }
14612             program {
14613                name: "e,action,orient,vert";
14614                signal: "e,action,orient,vert";
14615                source: "e";
14616                action: STATE_SET "vertical" 0.0;
14617                target: "e.box";
14618             }
14619             program {
14620                name: "e,action,orient,left";
14621                signal: "e,action,orient,left";
14622                source: "e";
14623                action: STATE_SET "vertical" 0.0;
14624                target: "e.box";
14625             }
14626             program {
14627                name: "e,action,orient,right";
14628                signal: "e,action,orient,right";
14629                source: "e";
14630                action: STATE_SET "vertical" 0.0;
14631                target: "e.box";
14632             }
14633             program {
14634                name: "e,action,orient,top";
14635                signal: "e,action,orient,top";
14636                source: "e";
14637                action: STATE_SET "default" 0.0;
14638                target: "e.box";
14639             }
14640             program {
14641                name: "e,action,orient,bottom";
14642                signal: "e,action,orient,bottom";
14643                source: "e";
14644                action: STATE_SET "default" 0.0;
14645                target: "e.box";
14646             }
14647             program {
14648                name: "e,action,orient,corner_tl";
14649                signal: "e,action,orient,corner_tl";
14650                source: "e";
14651                action: STATE_SET "default" 0.0;
14652                target: "e.box";
14653             }
14654             program {
14655                name: "e,action,orient,corner_tr";
14656                signal: "e,action,orient,corner_tr";
14657                source: "e";
14658                action: STATE_SET "default" 0.0;
14659                target: "e.box";
14660             }
14661             program {
14662                name: "e,action,orient,corner_bl";
14663                signal: "e,action,orient,corner_bl";
14664                source: "e";
14665                action: STATE_SET "default" 0.0;
14666                target: "e.box";
14667             }
14668             program {
14669                name: "e,action,orient,corner_br";
14670                signal: "e,action,orient,corner_br";
14671                source: "e";
14672                action: STATE_SET "default" 0.0;
14673                target: "e.box";
14674             }
14675             program {
14676                name: "e,action,orient,corner_lt";
14677                signal: "e,action,orient,corner_lt";
14678                source: "e";
14679                action: STATE_SET "vertical" 0.0;
14680                target: "e.box";
14681             }
14682             program {
14683                name: "e,action,orient,corner_rt";
14684                signal: "e,action,orient,corner_rt";
14685                source: "e";
14686                action: STATE_SET "vertical" 0.0;
14687                target: "e.box";
14688             }
14689             program {
14690                name: "e,action,orient,corner_lb";
14691                signal: "e,action,orient,corner_lb";
14692                source: "e";
14693                action: STATE_SET "vertical" 0.0;
14694                target: "e.box";
14695             }
14696             program {
14697                name: "e,action,orient,corner_rb";
14698                signal: "e,action,orient,corner_rb";
14699                source: "e";
14700                action: STATE_SET "vertical" 0.0;
14701                target: "e.box";
14702             }
14703          }
14704       }
14705    }
14706    group {
14707       name: "e/modules/systray/main/alternate/inset";
14708       data {
14709          item: "inset" "255 255 255";
14710          item: "plain" "255 255 255";
14711          item: "default" "255 255 255";
14712       }
14713       parts {
14714          part {
14715             name: "base";
14716             type: RECT;
14717             description {
14718                state: "default" 0.0;
14719                color: 255 255 255 255;
14720             }
14721             description {
14722                state: "disabled" 0.0;
14723                inherit: "default" 0.0;
14724                color: 255 0 0 128;
14725             }
14726          }
14727          part {
14728             name: "e.size";
14729             type: RECT;
14730             mouse_events: 0;
14731             description {
14732                state: "default" 0.0;
14733                color: 0 0 0 0;
14734                rel1.offset: 4 4;
14735                rel2.offset: -5 -5;
14736             }
14737          }
14738          part {
14739             name: "e.box";
14740             type: BOX;
14741             description {
14742                state: "default" 0.0;
14743                rel1.to: "e.size";
14744                rel2.to: "e.size";
14745                box {
14746                   layout: "horizontal";
14747                   padding: 2 0;
14748                   align: 0.5 0.5;
14749                   min: 1 1;
14750                }
14751             }
14752             description {
14753                state: "vertical" 0.0;
14754                rel1.to: "e.size";
14755                rel2.to: "e.size";
14756                box {
14757                   layout: "vertical";
14758                   padding: 0 2;
14759                   align: 0.5 0.5;
14760                   min: 1 1;
14761                }
14762             }
14763          }
14764          programs {
14765             program {
14766                name: "e,action,disable";
14767                signal: "e,action,disable";
14768                source: "e";
14769                action: STATE_SET "disabled" 0.0;
14770                target: "base";
14771             }
14772             program {
14773                name: "e,action,enable";
14774                signal: "e,action,enable";
14775                source: "e";
14776                action: STATE_SET "default" 0.0;
14777                target: "base";
14778             }
14779             program {
14780                name: "e,action,orient,float";
14781                signal: "e,action,orient,float";
14782                source: "e";
14783                action: STATE_SET "default" 0.0;
14784                target: "e.box";
14785             }
14786             program {
14787                name: "e,action,orient,horiz";
14788                signal: "e,action,orient,horiz";
14789                source: "e";
14790                action: STATE_SET "default" 0.0;
14791                target: "e.box";
14792             }
14793             program {
14794                name: "e,action,orient,vert";
14795                signal: "e,action,orient,vert";
14796                source: "e";
14797                action: STATE_SET "vertical" 0.0;
14798                target: "e.box";
14799             }
14800             program {
14801                name: "e,action,orient,left";
14802                signal: "e,action,orient,left";
14803                source: "e";
14804                action: STATE_SET "vertical" 0.0;
14805                target: "e.box";
14806             }
14807             program {
14808                name: "e,action,orient,right";
14809                signal: "e,action,orient,right";
14810                source: "e";
14811                action: STATE_SET "vertical" 0.0;
14812                target: "e.box";
14813             }
14814             program {
14815                name: "e,action,orient,top";
14816                signal: "e,action,orient,top";
14817                source: "e";
14818                action: STATE_SET "default" 0.0;
14819                target: "e.box";
14820             }
14821             program {
14822                name: "e,action,orient,bottom";
14823                signal: "e,action,orient,bottom";
14824                source: "e";
14825                action: STATE_SET "default" 0.0;
14826                target: "e.box";
14827             }
14828             program {
14829                name: "e,action,orient,corner_tl";
14830                signal: "e,action,orient,corner_tl";
14831                source: "e";
14832                action: STATE_SET "default" 0.0;
14833                target: "e.box";
14834             }
14835             program {
14836                name: "e,action,orient,corner_tr";
14837                signal: "e,action,orient,corner_tr";
14838                source: "e";
14839                action: STATE_SET "default" 0.0;
14840                target: "e.box";
14841             }
14842             program {
14843                name: "e,action,orient,corner_bl";
14844                signal: "e,action,orient,corner_bl";
14845                source: "e";
14846                action: STATE_SET "default" 0.0;
14847                target: "e.box";
14848             }
14849             program {
14850                name: "e,action,orient,corner_br";
14851                signal: "e,action,orient,corner_br";
14852                source: "e";
14853                action: STATE_SET "default" 0.0;
14854                target: "e.box";
14855             }
14856             program {
14857                name: "e,action,orient,corner_lt";
14858                signal: "e,action,orient,corner_lt";
14859                source: "e";
14860                action: STATE_SET "vertical" 0.0;
14861                target: "e.box";
14862             }
14863             program {
14864                name: "e,action,orient,corner_rt";
14865                signal: "e,action,orient,corner_rt";
14866                source: "e";
14867                action: STATE_SET "vertical" 0.0;
14868                target: "e.box";
14869             }
14870             program {
14871                name: "e,action,orient,corner_lb";
14872                signal: "e,action,orient,corner_lb";
14873                source: "e";
14874                action: STATE_SET "vertical" 0.0;
14875                target: "e.box";
14876             }
14877             program {
14878                name: "e,action,orient,corner_rb";
14879                signal: "e,action,orient,corner_rb";
14880                source: "e";
14881                action: STATE_SET "vertical" 0.0;
14882                target: "e.box";
14883             }
14884          }
14885       }
14886    }
14887
14888
14889 /////////////////////////////////////////////////////////////////////////////
14890 /*** MOD: WINLIST ***/
14891
14892 /* e/widgets/winlist/* is the Window List
14893    gadget that pops up with Alt Tab       */
14894
14895    group {
14896       name: "e/widgets/winlist/main";
14897       images {
14898          image: "base_bg.png" COMP;
14899          image: "bd_top_hilight.png" COMP;
14900          image: "bd_title_bg.png" COMP;
14901          image: "bd_title_over.png" COMP;
14902       }
14903       parts {
14904          part {
14905             name: "base";
14906             mouse_events: 0;
14907             description {
14908                state: "default" 0.0;
14909                image {
14910                   normal: "base_bg.png";
14911                   border: 2 2 2 2;
14912                }
14913                fill.smooth: 0;
14914             }
14915          }
14916          part {
14917             name: "top_hilight";
14918             mouse_events: 0;
14919             description {
14920                state: "default" 0.0;
14921                rel2.relative: 1.0 0.0;
14922                rel2.offset: -1 15;
14923                image.normal: "bd_top_hilight.png";
14924                fill.smooth: 0;
14925             }
14926          }
14927          part {
14928             name: "title_back";
14929             mouse_events: 0;
14930             description {
14931                state: "default" 0.0;
14932                rel1.offset: 4 0;
14933                rel2.offset: -5 -4;
14934                rel2.to_y: "e.text.title";
14935                image {
14936                   normal: "bd_title_bg.png";
14937                   border: 7 7 2 7;
14938                }
14939                fill.smooth: 0;
14940             }
14941          }
14942          part {
14943             name: "e.swallow.icon";
14944             type: SWALLOW;
14945             description {
14946                state: "default" 0.0;
14947                aspect: 1.0 1.0;
14948                aspect_preference: VERTICAL;
14949                align: 0.5 0.0;
14950                min: 24 24;
14951                max: 24 24;
14952                rel1 {
14953                   relative: 0.0 1.0;
14954                   offset: 1     6;
14955                   to_y: "title_back";
14956                }
14957                rel2 {
14958                   relative: 1.0 1.0;
14959                   offset: -2    30;
14960                   to_y: "title_back";
14961                }
14962             }
14963          }
14964          part {
14965             name: "separator";
14966             mouse_events: 0;
14967             description {
14968                state: "default" 0.0;
14969                min: 16 2;
14970                rel1 {
14971                   offset: 16 2;
14972                   relative: 0.0 1.0;
14973                   to_y: "e.text.label";
14974                }
14975                rel2 {
14976                   offset: -17 4;
14977                   relative: 1.0 1.0;
14978                   to_y: "e.text.label";
14979                }
14980                image {
14981                   normal: "menu_sep.png";
14982                   border: 2 2 0 0;
14983                }
14984                fill.smooth: 0;
14985             }
14986          }
14987          part {
14988             name: "e.swallow.list";
14989             type: SWALLOW;
14990             clip_to: "list_clip";
14991             description {
14992                state: "default" 0.0;
14993                rel1 {
14994                   relative: 0.0 1.0;
14995                   offset: 12   12;
14996                   to_y: "e.text.label";
14997                }
14998                rel2.offset: -13  -12;
14999             }
15000          }
15001          part {
15002             name: "list_clip";
15003             type: RECT;
15004             description {
15005                state: "default" 0.0;
15006                color: 255 255 255 255;
15007                rel1.to_y: "e.swallow.list";
15008                rel2.to_y: "e.swallow.list";
15009             }
15010          }
15011          part {
15012             name: "e.text.label";
15013             type: TEXT;
15014             effect: NONE;
15015             mouse_events: 0;
15016             scale: 1;
15017             description {
15018                state: "default" 0.0;
15019                align: 0.5 0.5;
15020                fixed: 0 1;
15021                rel1 {
15022                   relative: 0.0 1.0;
15023                   offset: 16   16;
15024                   to_y: "e.swallow.icon";
15025                }
15026                rel2 {
15027                   relative: 1.0 1.0;
15028                   offset: -17 16;
15029                   to_y: "e.swallow.icon";
15030                }
15031                color_class: "winlist_label";
15032                text {
15033                   text: "Title goes here";
15034                   font: "Sans:style=Bold";
15035                   size: 10;
15036                   min: 0 1;
15037                   align: 0.5 0.5;
15038                   text_class: "winlist_label";
15039                }
15040             }
15041          }
15042          part {
15043             name: "e.text.title";
15044             type: TEXT;
15045             mouse_events: 0;
15046             effect: SOFT_SHADOW;
15047             scale: 1;
15048             description {
15049                state: "default" 0.0;
15050                fixed: 1 1;
15051                align: 0.5 0.0;
15052                rel1 {
15053                   relative: 0.0 0.0;
15054                   offset: 0 0;
15055                }
15056                rel2 {
15057                   relative: 1.0 0.0;
15058                   offset: -1 0;
15059                }
15060                color: 224 224 224 255;
15061                color3: 0 0 0 64;
15062                text {
15063                   font: "Sans:style=Bold";
15064                   size: 10;
15065                   align: 0.5 0.0;
15066                   min: 1 1;
15067                }
15068             }
15069          }
15070          part {
15071             name: "title_over";
15072             mouse_events: 0;
15073             description {
15074                state: "default" 0.0;
15075                rel1.to: "title_back";
15076                rel2.to: "title_back";
15077                image {
15078                   normal: "bd_title_over.png";
15079                   border: 7 7 2 7;
15080                }
15081                fill.smooth: 0;
15082             }
15083          }
15084       }
15085    }
15086    group {
15087       name: "e/widgets/winlist/item";
15088       images {
15089          image: "menu_sel_bg.png" COMP;
15090          image: "menu_sel_fg.png" COMP;
15091          image: "pager_window.png" COMP;
15092          image: "pager_window_shaded.png" COMP;
15093          image: "pager_base2.png" COMP;
15094       }
15095       parts {
15096          part {
15097             name: "bg";
15098             mouse_events: 0;
15099             description {
15100                state: "default" 0.0;
15101                visible: 0;
15102                color: 255 255 255 0;
15103                rel1 {
15104                   relative: 0.0 0.0;
15105                   offset: -5 -3;
15106                }
15107                rel2 {
15108                   relative: 1.0 1.0;
15109                   offset: 4 5;
15110                }
15111                image {
15112                   normal: "menu_sel_bg.png";
15113                   border: 8 8 5 9;
15114                }
15115             }
15116             description {
15117                state: "selected" 0.0;
15118                inherit: "default" 0.0;
15119                visible: 1;
15120                color: 255 255 255 255;
15121                rel1 {
15122                   relative: 0.0 0.0;
15123                   offset: -2 0;
15124                }
15125                rel2 {
15126                   relative: 1.0 1.0;
15127                   offset: 1 2;
15128                }
15129             }
15130          }
15131          part {
15132             name: "fg";
15133             mouse_events: 0;
15134             description {
15135                state: "default" 0.0;
15136                visible: 0;
15137                color: 255 255 255 0;
15138                rel1.to: "bg";
15139                rel2.to: "bg";
15140                image {
15141                   normal: "menu_sel_fg.png";
15142                   border: 8 8 5 9;
15143                }
15144             }
15145             description {
15146                state: "selected" 0.0;
15147                inherit: "default" 0.0;
15148                visible: 1;
15149                color: 255 255 255 255;
15150             }
15151          }
15152          part {
15153             name: "e.swallow.icon";
15154             type: SWALLOW;
15155             description {
15156                state: "default" 0.0;
15157                aspect: 1.0 1.0;
15158                aspect_preference: VERTICAL;
15159                align: 0.0 0.5;
15160                rel1 {
15161                   relative: 0.0 0.0;
15162                   offset: 4  3;
15163                }
15164                rel2 {
15165                   relative: 0.0 1.0;
15166                   offset: 4   -1;
15167                   to_y: "e.text.label";
15168                }
15169             }
15170          }
15171          part {
15172             name: "type";
15173             description {
15174                state: "default" 0.0;
15175                min: 23 24;
15176                max: 23 24;
15177                align: 1.0 0.5;
15178                rel1 {
15179                   relative: 1.0 0.5;
15180                   offset: -23  -12;
15181                }
15182                rel2 {
15183                   relative: 1.0 0.5;
15184                   offset: -1  11;
15185                   to_y: "e.text.label";
15186                }
15187                image.normal: "pager_window.png";
15188             }
15189             description {
15190                state: "iconified" 0.0;
15191                inherit: "default" 0.0;
15192                visible: 0;
15193             }
15194             description {
15195                state: "invisible" 0.0;
15196                inherit: "default" 0.0;
15197                image.normal: "pager_base2.png";
15198             }
15199             description {
15200                state: "shaded" 0.0;
15201                inherit: "default" 0.0;
15202                image.normal: "pager_window_shaded.png";
15203             }
15204          }
15205          part {
15206             name: "e.text.label";
15207             type: TEXT;
15208             effect: SHADOW;
15209             mouse_events: 0;
15210             scale: 1;
15211             description {
15212                state: "default" 0.0;
15213                align: 0.0 0.5;
15214                rel1 {
15215                   relative: 1.0 0.0;
15216                   offset: 3 5;
15217                   to_x: "e.swallow.icon";
15218                }
15219                rel2 {
15220                   relative: 0.0 1.0;
15221                   offset: -4 -4;
15222                   to_x: "type";
15223                }
15224                color_class: "winlist_item";
15225                text {
15226                   font: "Sans";
15227                   size: 10;
15228                   min: 0 1;
15229                   align: 0.0 0.5;
15230                   text_class: "winlist_title";
15231                }
15232             }
15233             description {
15234                state: "selected" 0.0;
15235                inherit: "default" 0.0;
15236                color_class: "winlist_item_active";
15237             }
15238          }
15239          part {
15240             name: "e.event.winlist.item";
15241             type: RECT;
15242             mouse_events: 1;
15243             description {
15244                state: "default" 0.0;
15245                min: 12 12;
15246                visible: 1;
15247                color: 0 0 0 0;
15248                rel1.to: "bg";
15249                rel2.to: "bg";
15250             }
15251          }
15252       }
15253       programs {
15254          program {
15255             name: "type1";
15256             signal: "e,state,iconified";
15257             source: "e";
15258             action: STATE_SET "iconified" 0.0;
15259             target: "type";
15260          }
15261          program {
15262             name: "type2";
15263             signal: "e,state,invisible";
15264             source: "e";
15265             action: STATE_SET "invisible" 0.0;
15266             target: "type";
15267          }
15268          program {
15269             name: "type3";
15270             signal: "e,state,shaded";
15271             source: "e";
15272             action: STATE_SET "shaded" 0.0;
15273             target: "type";
15274          }
15275          program {
15276             name: "sel";
15277             signal: "e,state,selected";
15278             source: "e";
15279             action: STATE_SET "selected" 0.0;
15280             transition: LINEAR 0.2;
15281             target: "bg";
15282             target: "fg";
15283             target: "e.text.label";
15284          }
15285          program {
15286             name: "unsel";
15287             signal: "e,state,unselected";
15288             source: "e";
15289             action: STATE_SET "default" 0.0;
15290             transition: LINEAR 0.1;
15291             target: "bg";
15292             target: "fg";
15293             target: "e.text.label";
15294          }
15295       }
15296    }
15297
15298
15299 /////////////////////////////////////////////////////////////////////////////
15300 /*** MOD: EXEBUF ***/
15301
15302    /* Exebuf is the run dialog, binded to Alt-Esc by default */
15303
15304    group {
15305       name: "e/widgets/exebuf/main";
15306       images {
15307          image: "base_bg.png" COMP;
15308          image: "inset_sunk.png" COMP;
15309          image: "menu_sel_bg.png" COMP;
15310          image: "menu_sel_fg.png" COMP;
15311       }
15312       parts {
15313          part {
15314             name: "base";
15315             mouse_events: 0;
15316             description {
15317                state: "default" 0.0;
15318                image {
15319                   normal: "base_bg.png";
15320                   border: 2 2 2 2;
15321                }
15322                fill.smooth: 0;
15323             }
15324          }
15325          part {
15326             name: "eap_bg";
15327             type: RECT;
15328             description {
15329                state: "default" 0.0;
15330                rel1 {
15331                   to: "e.swallow.eap_list";
15332                   offset: -1 -1;
15333                }
15334                rel2 {
15335                   to: "e.swallow.eap_list";
15336                   offset: 0  0;
15337                }
15338                color: 255 255 255 255;
15339             }
15340          }
15341          part {
15342             name: "e.swallow.eap_list";
15343             type: SWALLOW;
15344             clip_to: "eap_list_clip";
15345             description {
15346                state: "default" 0.0;
15347                min: 32 64;
15348                align: 0.5 0.0;
15349                rel1.offset: 12  12;
15350                rel2 {
15351                   offset: -13  -13;
15352                   relative: 1.0 0.0;
15353                   to_y: "bg";
15354                }
15355             }
15356          }
15357          part {
15358             name: "eap_list_clip";
15359             type: RECT;
15360             description {
15361                state: "default" 0.0;
15362                color: 255 255 255 255;
15363                rel1.to_y: "e.swallow.eap_list";
15364                rel2.to_y: "e.swallow.eap_list";
15365             }
15366          }
15367          part {
15368             name: "eap_over";
15369             mouse_events: 0;
15370             description {
15371                state: "default" 0.0;
15372                rel1 {
15373                   offset: -1 -1;
15374                   to: "eap_bg";
15375                }
15376                rel2 {
15377                   offset: 0 0;
15378                   to: "eap_bg";
15379                }
15380                image {
15381                   normal: "inset_sunk.png";
15382                   border: 7 7 7 7;
15383                   middle: 0;
15384                }
15385                fill.smooth : 0;
15386             }
15387          }
15388          part {
15389             name: "exe_bg";
15390             type: RECT;
15391             description {
15392                state: "default" 0.0;
15393                rel1 {
15394                   to: "e.swallow.exe_list";
15395                   offset: -1 -1;
15396                }
15397                rel2 {
15398                   to: "e.swallow.exe_list";
15399                   offset: 0  0;
15400                }
15401                color: 255 255 255 255;
15402             }
15403          }
15404          part {
15405             name: "e.swallow.exe_list";
15406             type: SWALLOW;
15407             clip_to: "exe_list_clip";
15408             description {
15409                state: "default" 0.0;
15410                min: 32 64;
15411                align: 0.5 1.0;
15412                rel1 {
15413                   relative: 0.0 1.0;
15414                   offset: 12  12;
15415                   to_y: "bg";
15416                }
15417                rel2.offset: -13  -13;
15418             }
15419          }
15420          part {
15421             name: "exe_list_clip";
15422             type: RECT;
15423             description {
15424                state: "default" 0.0;
15425                color: 255 255 255 255;
15426                rel1.to_y: "e.swallow.exe_list";
15427                rel2.to_y: "e.swallow.exe_list";
15428             }
15429          }
15430          part {
15431             name: "exe_over";
15432             mouse_events: 0;
15433             description {
15434                state: "default" 0.0;
15435                rel1 {
15436                   offset: -1 -1;
15437                   to: "exe_bg";
15438                }
15439                rel2 {
15440                   offset: 0 0;
15441                   to: "exe_bg";
15442                }
15443                image {
15444                   normal: "inset_sunk.png";
15445                   border: 7 7 7 7;
15446                   middle: 0;
15447                }
15448                fill.smooth : 0;
15449             }
15450          }
15451          part {
15452             name: "bg";
15453             mouse_events: 0;
15454             description {
15455                state: "default" 0.0;
15456                min: 0 42;
15457                max: 99999 42;
15458                rel1.offset: 20 0;
15459                rel2.offset: -21 -1;
15460                image {
15461                   normal: "menu_sel_bg.png";
15462                   border: 8 8 5 9;
15463                }
15464             }
15465          }
15466          part {
15467             name: "e.text.label";
15468             type: TEXT;
15469             effect: SHADOW;
15470             scale: 1;
15471             description {
15472                state: "default" 0.0;
15473                fixed: 0 1;
15474                align: 0.0 0.5;
15475                rel1 {
15476                   relative: 1.0 0.5;
15477                   offset: 4   0;
15478                   to_x: "e.swallow.icons";
15479                }
15480                rel2 {
15481                   relative: 1.0 0.5;
15482                   offset: 4  0;
15483                   to_x: "e.swallow.icons";
15484                }
15485                color: 255 255 255 255;
15486                color3: 0 0 0 64;
15487                text {
15488                   font: "Sans:style=Bold";
15489                   size: 16;
15490                   align: 0.0 0.5;
15491                   min: 1 1;
15492                   text_class: "exebuf_command";
15493                }
15494             }
15495          }
15496          part {
15497             name: "cursor";
15498             type: RECT;
15499             mouse_events: 0;
15500             description {
15501                state: "default" 0.0;
15502                min: 1 18;
15503                max: 1 18;
15504                align: 0.0 0.5;
15505                fixed: 1 1;
15506                rel1 {
15507                   relative: 1.0  0.0;
15508                   offset: 1    0;
15509                   to: "e.text.label";
15510                }
15511                rel2 {
15512                   relative: 1.0  1.0;
15513                   offset: 1    -1;
15514                   to: "e.text.label";
15515                }
15516                color: 255 255 255 220;
15517             }
15518             description {
15519                state: "faded" 0.0;
15520                inherit: "default" 0.0;
15521                color: 255 255 255 0;
15522             }
15523          }
15524          part {
15525             name: "e.swallow.icons";
15526             type: SWALLOW;
15527             description {
15528                state: "default" 0.0;
15529                min: 32 32;
15530                max: 32 32;
15531                align: 0.0 0.5;
15532                rel1 {
15533                   offset: 6  4;
15534                   to: "bg";
15535                }
15536                rel2 {
15537                   offset: -7  -5;
15538                   to: "bg";
15539                }
15540             }
15541          }
15542          part {
15543             name: "fg";
15544             mouse_events: 0;
15545             description {
15546                state: "default" 0.0;
15547                rel1.to: "bg";
15548                rel2.to: "bg";
15549                image {
15550                   normal: "menu_sel_fg.png";
15551                   border: 8 8 5 9;
15552                }
15553             }
15554          }
15555       }
15556       programs {
15557          program {
15558             name: "blink_off";
15559             signal: "show";
15560             source: "";
15561             action: STATE_SET "faded" 0.0;
15562             transition: SINUSOIDAL 0.5;
15563             target: "cursor";
15564             after: "blink_on";
15565          }
15566          program {
15567             name: "blink_on";
15568             action: STATE_SET "default" 0.0;
15569             transition: SINUSOIDAL 0.25;
15570             target: "cursor";
15571             after: "blink_off";
15572          }
15573       }
15574    }
15575    group {
15576       name: "e/widgets/exebuf/item";
15577       parts {
15578          part {
15579             name: "bg";
15580             mouse_events: 0;
15581             description {
15582                state: "default" 0.0;
15583                visible: 0;
15584                color: 255 255 255 0;
15585                rel1.offset: -5 -3;
15586                rel2.offset: 4 5;
15587                image {
15588                   normal: "menu_sel_bg.png";
15589                   border: 8 8 5 9;
15590                }
15591             }
15592             description {
15593                state: "selected" 0.0;
15594                inherit: "default" 0.0;
15595                visible: 1;
15596                color: 255 255 255 255;
15597                rel1.offset: -2 0;
15598                rel2.offset: 1 2;
15599             }
15600          }
15601          part {
15602             name: "e.text.title";
15603             type: TEXT;
15604             effect: SOFT_SHADOW;
15605             mouse_events: 0;
15606             scale: 1;
15607             description {
15608                state: "default" 0.0;
15609                rel1 {
15610                   offset: 2 1;
15611                   relative: 1.0 0.0;
15612                   to_x: "e.swallow.icons";
15613                }
15614                rel2.offset: -3 -2;
15615                color_class: "menu_item";
15616                text {
15617                   font: "Sans";
15618                   size: 10;
15619                   min: 0 1;
15620                   align: 0.0 0.5;
15621                   text_class: "menu_item";
15622                }
15623             }
15624             description {
15625                state: "selected" 0.0;
15626                inherit: "default" 0.0;
15627                color_class: "menu_item_active";
15628             }
15629          }
15630          part {
15631             name: "e.swallow.icons";
15632             type: SWALLOW;
15633             description {
15634                state: "default" 0.0;
15635                max: 18 18;
15636                aspect: 1.0 1.0;
15637                align: 0.0 0.5;
15638                aspect_preference: VERTICAL;
15639                rel1 {
15640                   relative: 0.0 0.0;
15641                   offset: 3   1;
15642                }
15643                rel2 {
15644                   relative: 0.0 1.0;
15645                   offset: -3   -2;
15646                }
15647             }
15648          }
15649          part {
15650             name: "fg";
15651             mouse_events: 0;
15652             description {
15653                state: "default" 0.0;
15654                visible: 0;
15655                color: 255 255 255 0;
15656                rel1.to: "bg";
15657                rel2.to: "bg";
15658                image {
15659                   normal: "menu_sel_fg.png";
15660                   border: 8 8 5 9;
15661                }
15662             }
15663             description {
15664                state: "selected" 0.0;
15665                inherit: "default" 0.0;
15666                visible: 1;
15667                color: 255 255 255 255;
15668             }
15669          }
15670          part {
15671             name: "e.event.exebuf.item";
15672             type: RECT;
15673             mouse_events: 1;
15674             description {
15675                state: "default" 0.0;
15676                min: 14 14;
15677                visible: 1;
15678                color: 0 0 0 0;
15679                rel1 {
15680                   relative: 1.0  0.0;
15681                   offset: 1    -1;
15682                   to_x: "e.swallow.icons";
15683                }
15684                rel2 {
15685                   relative: 1.0  1.0;
15686                   offset: -1   -1;
15687                }
15688             }
15689          }
15690       }
15691       programs {
15692          program {
15693             name: "sel";
15694             signal: "e,state,selected";
15695             source: "e";
15696             action: STATE_SET "selected" 0.0;
15697             transition: LINEAR 0.2;
15698             target: "bg";
15699             target: "fg";
15700             target: "e.text.title";
15701          }
15702          program {
15703             name: "unsel";
15704             signal: "e,state,unselected";
15705             source: "e";
15706             action: STATE_SET "default" 0.0;
15707             transition: LINEAR 0.1;
15708             target: "bg";
15709             target: "fg";
15710             target: "e.text.title";
15711          }
15712       }
15713    }
15714
15715
15716 /////////////////////////////////////////////////////////////////////////////
15717 /*** MOD: SYSCON ***/
15718
15719    group {
15720       name: "e/widgets/syscon/main";
15721       images {
15722          image: "base_bg.png" COMP;
15723          image: "bt_base1.png" COMP;
15724          image: "bt_base2.png" COMP;
15725          image: "bt_hilight.png" COMP;
15726          image: "bt_shine.png" COMP;
15727          image: "bt_glow.png" COMP;
15728       }
15729       parts {
15730          part {
15731             name: "base";
15732             mouse_events: 0;
15733             description {
15734                state: "default" 0.0;
15735                image {
15736                   normal: "base_bg.png";
15737                   border: 2 2 2 2;
15738                }
15739                fill.smooth: 0;
15740             }
15741          }
15742          part {
15743             name: "e.swallow.main";
15744             type: SWALLOW;
15745             description {
15746                state: "default" 0.0;
15747                // fixed: 1 1;
15748                align: 0.5 0.0;
15749                rel1.offset: 12 12;
15750                rel2.relative: 1.0 0.0;
15751                rel2.offset: -13 12;
15752             }
15753          }
15754          part {
15755             name: "e.swallow.secondary";
15756             type: SWALLOW;
15757             description {
15758                state: "default" 0.0;
15759                min: 32 32;
15760                rel1.to: "e.swallow.main";
15761                rel1.relative: 0.0 1.0;
15762                rel1.offset: 0 12;
15763                rel2.to: "e.swallow.extra";
15764                rel2.relative: 1.0 0.0;
15765                rel2.offset: -1 -13;
15766             }
15767          }
15768          part {
15769             name: "e.swallow.extra";
15770             type: SWALLOW;
15771             description {
15772                state: "default" 0.0;
15773                // fixed: 1 1;
15774                align: 0.5 1.0;
15775                rel1.relative: 0.0 1.0;
15776                rel1.offset: 12 -13;
15777                rel2.to_y: "button_image";
15778                rel2.relative: 1.0 0.0;
15779                rel2.offset: -13 -13;
15780             }
15781          }
15782          part {
15783             name: "button_image";
15784             mouse_events: 1;
15785             scale: 1;
15786             description {
15787                state: "default" 0.0;
15788                fixed: 1 1;
15789                align: 0.5 1.0;
15790                rel1.relative: 0.5 1.0;
15791                rel1.offset: 0 -13;
15792                rel2.relative: 0.5 1.0;
15793                rel2.offset: 0 -13;
15794                min: 64 32;
15795                max: 64 32;
15796                image {
15797                   normal: "bt_base2.png";
15798                   border: 7 7 7 7;
15799                }
15800             }
15801             description {
15802                state: "clicked" 0.0;
15803                inherit: "default" 0.0;
15804                image.normal: "bt_base1.png";
15805             }
15806             description {
15807                state: "disabled" 0.0;
15808                inherit: "default" 0.0;
15809                image {
15810                   normal: "bt_dis_base.png";
15811                   border: 4 4 4 4;
15812                }
15813             }
15814          }
15815          part {
15816             name: "e.text.label";
15817             type: TEXT;
15818             effect: SOFT_SHADOW;
15819             mouse_events: 0;
15820             scale: 1;
15821             description {
15822                state: "default" 0.0;
15823                rel1 {
15824                   to: "button_image";
15825                   relative: 0.0  0.0;
15826                   offset: 3    3;
15827                }
15828                rel2 {
15829                   relative: 1.0  1.0;
15830                   offset: -4   -4;
15831                   to: "button_image";
15832                }
15833                color_class: "button_text";
15834                text {
15835                   text: "Cancel";
15836                   font: "Sans";
15837                   size: 10;
15838                   min: 1 1;
15839                   align: 0.5 0.5;
15840                   text_class: "button";
15841                }
15842             }
15843             description {
15844                state: "disabled" 0.0;
15845                inherit: "default" 0.0;
15846                color_class: "button_text_disabled";
15847             }
15848          }
15849          part {
15850             name: "over1";
15851             mouse_events: 0;
15852             description {
15853                state: "default" 0.0;
15854                rel1.to: "button_image";
15855                rel2.to: "button_image";
15856                rel2.relative: 1.0 0.5;
15857                image {
15858                   normal: "bt_hilight.png";
15859                   border: 7 7 7 0;
15860                }
15861             }
15862             description {
15863                state: "disabled" 0.0;
15864                inherit: "default" 0.0;
15865                image {
15866                   normal: "bt_dis_hilight.png";
15867                   border: 4 4 4 0;
15868                }
15869             }
15870          }
15871          part {
15872             name: "over2";
15873             mouse_events: 0;
15874             description {
15875                state: "default" 0.0;
15876                rel1.to: "button_image";
15877                rel2.to: "button_image";
15878                image {
15879                   normal: "bt_shine.png";
15880                   border: 7 7 7 7;
15881                }
15882             }
15883             description {
15884                state: "disabled" 0.0;
15885                inherit: "default" 0.0;
15886                visible: 0;
15887             }
15888          }
15889          part {
15890             name: "over3";
15891             mouse_events: 0;
15892             description {
15893                state: "default" 0.0;
15894                rel1.to: "button_image";
15895                rel2.to: "button_image";
15896                visible: 0;
15897                color: 255 255 255 0;
15898                image {
15899                   normal: "bt_glow.png";
15900                   border: 12 12 12 12;
15901                }
15902                fill.smooth : 0;
15903             }
15904             description {
15905                state: "clicked" 0.0;
15906                inherit: "default" 0.0;
15907                visible: 1;
15908                color: 255 255 255 255;
15909             }
15910          }
15911       }
15912       programs {
15913          program {
15914             name: "button_click";
15915             signal: "mouse,down,1";
15916             source: "button_image";
15917             action: STATE_SET "clicked" 0.0;
15918             target: "button_image";
15919             target: "over3";
15920          }
15921          program {
15922             name: "button_unclick";
15923             signal: "mouse,up,1";
15924             source: "button_image";
15925             action: STATE_SET "default" 0.0;
15926             target: "button_image";
15927             target: "over3";
15928          }
15929          program {
15930             name: "button_unclick2";
15931             signal: "mouse,clicked,1";
15932             source: "button_image";
15933             action: SIGNAL_EMIT "e,action,close" "";
15934          }
15935       }
15936    }
15937    group {
15938       name: "e/widgets/syscon/item/button";
15939       images {
15940          image: "bt_base1.png" COMP;
15941          image: "bt_base2.png" COMP;
15942          image: "bt_hilight.png" COMP;
15943          image: "bt_shine.png" COMP;
15944          image: "bt_glow.png" COMP;
15945          image: "bt_dis_base.png" COMP;
15946          image: "bt_dis_hilight.png" COMP;
15947       }
15948       parts {
15949          part {
15950             name: "button_image";
15951             mouse_events: 1;
15952             description {
15953                state: "default" 0.0;
15954                min: 32 16;
15955                image {
15956                   normal: "bt_base2.png";
15957                   border: 7 7 7 7;
15958                }
15959             }
15960             description {
15961                state: "clicked" 0.0;
15962                inherit: "default" 0.0;
15963                image.normal: "bt_base1.png";
15964             }
15965             description {
15966                state: "disabled" 0.0;
15967                inherit: "default" 0.0;
15968                image {
15969                   normal: "bt_dis_base.png";
15970                   border: 4 4 4 4;
15971                }
15972             }
15973          }
15974          part {
15975             name: "e.text.label";
15976             type: TEXT;
15977             effect: SOFT_SHADOW;
15978             mouse_events: 0;
15979             scale: 1;
15980             description {
15981                state: "default" 0.0;
15982                fixed: 0 1;
15983                align: 0.5 1.0;
15984                rel1 {
15985                   relative: 0.0  1.0;
15986                   offset: 3    -4;
15987                   to: "button_image";
15988                }
15989                rel2 {
15990                   relative: 1.0  1.0;
15991                   offset: -4   -4;
15992                   to: "button_image";
15993                }
15994                color_class: "button_text";
15995                text {
15996                   font: "Sans";
15997                   size: 10;
15998                   min: 1 1;
15999                   align: 0.5 1.0;
16000                   text_class: "button";
16001                }
16002             }
16003             description {
16004                state: "disabled" 0.0;
16005                inherit: "default" 0.0;
16006                color_class: "button_text_disabled";
16007             }
16008          }
16009          part {
16010             name: "e.swallow.icon";
16011             type: SWALLOW;
16012             mouse_events: 0;
16013             description {
16014                state: "default" 0.0;
16015                aspect: 1.0 1.0;
16016                aspect_preference: BOTH;
16017                align: 0.5 0.5;
16018                rel1 {
16019                   relative: 0.0 0.0;
16020                   offset: 3  3;
16021                   to: "button_image";
16022                }
16023                rel2 {
16024                   relative: 1.0 0.0;
16025                   offset: -4   -1;
16026                   to_x: "button_image";
16027                   to_y: "e.text.label";
16028                }
16029             }
16030          }
16031          part {
16032             name: "over1";
16033             mouse_events: 0;
16034             description {
16035                state: "default" 0.0;
16036                rel2.relative: 1.0 0.5;
16037                image {
16038                   normal: "bt_hilight.png";
16039                   border: 7 7 7 0;
16040                }
16041             }
16042             description {
16043                state: "disabled" 0.0;
16044                inherit: "default" 0.0;
16045                image {
16046                   normal: "bt_dis_hilight.png";
16047                   border: 4 4 4 0;
16048                }
16049             }
16050          }
16051          part {
16052             name: "over2";
16053             mouse_events: 0;
16054             description {
16055                state: "default" 0.0;
16056                image {
16057                   normal: "bt_shine.png";
16058                   border: 7 7 7 7;
16059                }
16060             }
16061             description {
16062                state: "disabled" 0.0;
16063                inherit: "default" 0.0;
16064                visible: 0;
16065             }
16066          }
16067          part {
16068             name: "over3";
16069             mouse_events: 0;
16070             description {
16071                state: "default" 0.0;
16072                visible: 0;
16073                color: 255 255 255 0;
16074                image {
16075                   normal: "bt_glow.png";
16076                   border: 12 12 12 12;
16077                }
16078                fill.smooth : 0;
16079             }
16080             description {
16081                state: "clicked" 0.0;
16082                inherit: "default" 0.0;
16083                visible: 1;
16084                color: 255 255 255 255;
16085             }
16086          }
16087          part {
16088             name: "disabler";
16089             type: RECT;
16090             description {
16091                state: "default" 0.0;
16092                color: 0 0 0 0;
16093                visible: 0;
16094             }
16095             description {
16096                state: "disabled" 0.0;
16097                inherit: "default" 0.0;
16098                visible: 1;
16099             }
16100          }
16101       }
16102       programs {
16103          program {
16104             name: "focus_in";
16105             signal: "e,state,focused";
16106             source: "e";
16107             action: STATE_SET "clicked" 0.0;
16108             target: "button_image";
16109             target: "over3";
16110          }
16111          program {
16112             name: "button_click";
16113             signal: "mouse,down,1";
16114             source: "button_image";
16115             after: "focus_in";
16116          }
16117          program {
16118             name: "focus_out";
16119             signal: "e,state,unfocused";
16120             source: "e";
16121             action: STATE_SET "default" 0.0;
16122             target: "button_image";
16123             target: "over3";
16124          }
16125          program {
16126             name: "button_unclick";
16127             signal: "mouse,up,1";
16128             source: "button_image";
16129             after: "focus_out";
16130          }
16131          program {
16132             name: "button_unclick2";
16133             signal: "mouse,clicked,1";
16134             source: "button_image";
16135             action: SIGNAL_EMIT "e,action,click" "";
16136          }
16137          program {
16138             name: "disable";
16139             signal: "e,state,disabled";
16140             source: "e";
16141             action: STATE_SET "disabled" 0.0;
16142             target: "button_image";
16143             target: "over1";
16144             target: "disabler";
16145          }
16146          program {
16147             name: "enable";
16148             signal: "e,state,enabled";
16149             source: "e";
16150             action: STATE_SET "default" 0.0;
16151             target: "button_image";
16152             target: "over1";
16153             target: "disabler";
16154          }
16155       }
16156    }
16157
16158
16159 /////////////////////////////////////////////////////////////////////////////
16160 /*** MOD: MIXER ***/
16161    // TODO: Add code for making sound circles fade between states.
16162
16163    group {
16164       name: "e/modules/mixer/main";
16165       images {
16166          image: "mixer.png" COMP;
16167          image: "mixer_low_left.png" COMP;
16168          image: "mixer_low_right.png" COMP;
16169          image: "mixer_med_left.png" COMP;
16170          image: "mixer_med_right.png" COMP;
16171          image: "mixer_high_left.png" COMP;
16172          image: "mixer_high_right.png" COMP;
16173       }
16174       max: 128 128;
16175       min: 1 1;
16176       script {
16177          public message(Msg_Type:type, id, ...) {
16178             if ((type == MSG_INT_SET) && (id == 0)) {
16179                new mute, left, right;
16180                mute = getarg(2);
16181                left = getarg(3);
16182                right = getarg(4);
16183                if (mute)
16184                   run_program(PROGRAM:"mute"); 
16185                else
16186                   run_program(PROGRAM:"unmute");
16187                
16188                if (left <= 0)
16189                   run_program(PROGRAM:"left_none"); 
16190                else if (left < 33)
16191                   run_program(PROGRAM:"left_low"); 
16192                else if (left < 66)
16193                   run_program(PROGRAM:"left_medium"); 
16194                else if (left >= 66)
16195                   run_program(PROGRAM:"left_high");
16196                
16197                if (right <= 0)
16198                   run_program(PROGRAM:"right_none"); 
16199                else if (right < 33)
16200                   run_program(PROGRAM:"right_low"); 
16201                else if (right < 66)
16202                   run_program(PROGRAM:"right_medium"); 
16203                else if (right >= 66)
16204                   run_program(PROGRAM:"right_high");
16205             }
16206          }
16207       }
16208       parts {
16209          part {
16210             name: "speaker";
16211             type: IMAGE;
16212             mouse_events: 0;
16213             description {
16214                state: "default" 0.0;
16215                aspect: 1 1;
16216                aspect_preference: BOTH;
16217                image.normal: "mixer.png";
16218             }
16219          }
16220          part {
16221             name: "left";
16222             type: IMAGE;
16223             clip_to: "mute";
16224             mouse_events: 0;
16225             description {
16226                state: "default" 0.0;
16227                visible: 0;
16228                aspect: 1 1;
16229                aspect_preference: BOTH;
16230                rel1.to: "speaker";
16231                rel2.to: "speaker";
16232                image.normal: "mixer_low_left.png";
16233             }
16234             description {
16235                state: "low" 0.0;
16236                inherit: "default" 0.0;
16237                visible: 1;
16238             }
16239             description {
16240                state: "medium" 0.0;
16241                inherit: "default" 0.0;
16242                visible: 1;
16243                image.normal: "mixer_med_left.png";
16244             }
16245             description {
16246                state: "high" 0.0;
16247                inherit: "default" 0.0;
16248                visible: 1;
16249                image.normal: "mixer_high_left.png";
16250             }
16251          }
16252          part {
16253             name: "right";
16254             type: IMAGE;
16255             clip_to: "mute";
16256             mouse_events: 0;
16257             description {
16258                state: "default" 0.0;
16259                visible: 0;
16260                aspect: 1 1;
16261                aspect_preference: BOTH;
16262                rel1.to: "speaker";
16263                rel2.to: "speaker";
16264                image.normal: "mixer_low_right.png";
16265             }
16266             description {
16267                state: "low" 0.0;
16268                inherit: "default" 0.0;
16269                visible: 1;
16270             }
16271             description {
16272                state: "medium" 0.0;
16273                inherit: "default" 0.0;
16274                visible: 1;
16275                image.normal: "mixer_med_right.png";
16276             }
16277             description {
16278                state: "high" 0.0;
16279                inherit: "default" 0.0;
16280                visible: 1;
16281                image.normal: "mixer_high_right.png";
16282             }
16283          }
16284          part {
16285             name: "mute";
16286             mouse_events: 0;
16287             type: RECT;
16288             description {
16289                state: "default" 0.0;
16290                color: 255 255 255 255;
16291             }
16292             description {
16293                state: "active" 0.0;
16294                color: 255 255 255 64;
16295             }
16296          }
16297          part {
16298             name: "over";
16299             type: RECT;
16300             description {
16301                state: "default" 0.0;
16302                rel1.to: "speaker";
16303                rel2.to: "speaker";
16304                color: 255 255 255 0;
16305             }
16306          }
16307       }
16308       programs {
16309          program {
16310             name: "mute";
16311             action: STATE_SET "active" 0.0;
16312             transition: LINEAR 0.3;
16313             target: "mute";
16314          }
16315          program {
16316             name: "unmute";
16317             action: STATE_SET "default" 0.0;
16318             transition: LINEAR 0.2;
16319             target: "mute";
16320          }
16321          program {
16322             name: "left_none";
16323             action: STATE_SET "default" 0.0;
16324             target: "left";
16325          }
16326          program {
16327             name: "left_low";
16328             action: STATE_SET "low" 0.0;
16329             target: "left";
16330          }
16331          program {
16332             name: "left_medium";
16333             action: STATE_SET "medium" 0.0;
16334             target: "left";
16335          }
16336          program {
16337             name: "left_high";
16338             action: STATE_SET "high" 0.0;
16339             target: "left";
16340          }
16341          program {
16342             name: "right_none";
16343             action: STATE_SET "default" 0.0;
16344             target: "right";
16345          }
16346          program {
16347             name: "right_low";
16348             action: STATE_SET "low" 0.0;
16349             target: "right";
16350          }
16351          program {
16352             name: "right_medium";
16353             action: STATE_SET "medium" 0.0;
16354             target: "right";
16355          }
16356          program {
16357             name: "right_high";
16358             action: STATE_SET "high" 0.0;
16359             target: "right";
16360          }
16361       }
16362    }
16363
16364
16365 /////////////////////////////////////////////////////////////////////////////
16366 /*** FILEMAN ***/
16367 /* E inbuilt filemanager */
16368
16369    group {
16370       name: "e/fileman/default/window/main";
16371       images {
16372          image: "dia_grad.png" COMP;
16373          image: "dia_topshad.png" COMP;
16374          image: "dia_botshad.png" COMP;
16375       }
16376       parts {
16377          part {
16378             name: "base";
16379             mouse_events: 0;
16380             description {
16381                state: "default" 0.0;
16382                color_class: "fileman_base";
16383                image.normal: "dia_grad.png";
16384                fill {
16385                   smooth: 0;
16386                   size {
16387                      relative: 0.0 1.0;
16388                      offset: 64 0;
16389                   }
16390                }
16391             }
16392          }
16393          part {
16394             name: "e.swallow.bg";
16395             type: SWALLOW;
16396             mouse_events: 0;
16397             description {
16398                state: "default" 0.0;
16399             }
16400          }
16401          part {
16402             name: "shadow";
16403             mouse_events: 0;
16404             description {
16405                state: "default" 0.0;
16406                rel2.relative: 1.0 0.0;
16407                rel2.offset: -1 31;
16408                image.normal: "dia_topshad.png";
16409                fill {
16410                   smooth: 0;
16411                   size {
16412                      relative: 0.0 1.0;
16413                      offset: 64 0;
16414                   }
16415                }
16416             }
16417          }
16418          part {
16419             name: "shadow2";
16420             mouse_events: 0;
16421             description {
16422                state: "default" 0.0;
16423                rel1.relative: 0.0 1.0;
16424                rel1.offset: 0 -4;
16425                image.normal: "dia_botshad.png";
16426                fill {
16427                   smooth: 0;
16428                   size {
16429                      relative: 0.0 1.0;
16430                      offset: 64 0;
16431                   }
16432                }
16433             }
16434          }
16435       }
16436    }
16437    group {
16438       name: "e/fileman/default/progress";
16439       min: 250 40;
16440       images {
16441          image: "icon_efm_file_del.png" COMP;
16442       }
16443       parts {
16444          part {
16445             name: "bg";
16446             type: IMAGE;
16447             mouse_events: 0;
16448             description {
16449                state: "default" 0.0;
16450                image.normal: "bt_dis_base.png";
16451                image.border: 5 5 5 5;
16452             }
16453             description {
16454                state: "need_attention" 0.0;
16455                inherit: "default" 0.0;
16456                color: 200 0 0 150;
16457             }
16458          }
16459          part {
16460             name: "shadow";
16461             type: IMAGE;
16462             mouse_events: 0;
16463             description {
16464                state: "default" 0.0;
16465                image.normal: "bt_dis_shine.png";
16466                image.border: 5 5 5 5;
16467                rel1.to: "bg";
16468                rel2.to: "bg";
16469             }
16470          }
16471          part {
16472             name: "icon";
16473             mouse_events: 0;
16474             scale: 1;
16475             description {
16476                state: "default" 0.0;
16477                min: 32 32;
16478                max: 32 32;
16479                align: 0.01 0.5;
16480                rel1.to: "bg";
16481                rel2.to: "bg";
16482                image.normal: "icon_efm_dnd_ask.png";
16483             }
16484             description {
16485                state: "copy" 0.0;
16486                inherit: "default" 0.0;
16487                image.normal: "icon_efm_dnd_copy.png";
16488             }
16489             description {
16490                state: "move" 0.0;
16491                inherit: "default" 0.0;
16492                image.normal: "icon_efm_dnd_move.png";
16493             }
16494             description {
16495                state: "delete" 0.0;
16496                inherit: "default" 0.0;
16497                image.normal: "icon_efm_file_del.png";
16498             }
16499          }
16500          part {
16501             name: "gauge_bg";
16502             type: IMAGE;
16503             scale: 1;
16504             mouse_events: 0;
16505             description {
16506                state: "default" 0.0;
16507                rel1.to: "icon";
16508                rel1.relative: 1.0 0.60;
16509                rel2.to: "bg";
16510                rel2.relative: 1.0 1.0;
16511                rel2.offset: -4 -5;
16512                image.normal: "inset_sunk.png";
16513                image.border: 6 6 6 6;
16514             }
16515          }
16516          part {
16517             name: "gauge_confine";
16518             type: RECT;
16519             scale: 1;
16520             mouse_events: 0;
16521             description {
16522                state: "default" 0.0;
16523                rel1.to: "gauge_bg";
16524                rel1.offset: 1 1;
16525                rel2.to: "gauge_bg";
16526                rel2.offset: -2 -2;
16527                color: 0 255 0 0;
16528             }
16529          }
16530          part {
16531             name: "e.gauge.bar";
16532             mouse_events: 0;
16533             scale: 1;
16534             type: RECT;
16535             description {
16536                state: "default" 0.0;
16537                min: 0 0;
16538                color: 55 55 55 100;
16539             }
16540             dragable {
16541                x: 1 1 0;
16542                y: 0 0 0;
16543                confine:"gauge_confine";
16544             }
16545          }
16546          part {
16547             name: "e.text.info";
16548             type: TEXT;
16549             mouse_events: 0;
16550             scale: 1;
16551             description {
16552                state: "default" 0.0;
16553                rel1 {
16554                   relative: 1.0 0.0;
16555                   to_x: "icon";
16556                   to_y: "bg";
16557                }
16558                rel2 {
16559                   relative: 0.0 0.6;
16560                   to_x: "bt_abort";
16561                   to_y: "icon";
16562                }
16563                color: 0 0 0 255;
16564                text {
16565                   font: "Sans";
16566                   size: 10;
16567                   align: 0.0 0.5;
16568                   text_class: "fileman_icon";
16569                }
16570             }
16571          }
16572          part {
16573             name: "bt_abort";
16574             type: IMAGE;
16575             mouse_events: 0;
16576             description {
16577                state: "default" 0.0;
16578                align: 1.0 0.0;
16579                min: 19 19;
16580                max: 19 19;
16581                rel1.offset: -3 2;
16582                rel2.offset: -3 2;
16583                image.normal: "bd_button_close_shadow.png";
16584             }
16585          }
16586          part {
16587             name: "bt_abort_unfoc";
16588             type: IMAGE;
16589             mouse_events: 0;
16590             description {
16591                state: "default" 0.0;
16592                visible: 1;
16593                color: 255 255 255 255;
16594                rel1.to: "bt_abort";
16595                rel2.to: "bt_abort";
16596                image.normal: "bd_button_close_unfocused.png";
16597             }
16598             description {
16599                state: "active" 0.0;
16600                inherit: "default" 0.0;
16601                visible: 0;
16602                color: 255 255 255 0;
16603                rel1.offset: 0 1;
16604                rel2.offset: -1 0;
16605             }
16606          }
16607          part {
16608             name: "bt_abort_foc";
16609             type: IMAGE;
16610             mouse_events: 0;
16611             description {
16612                state: "default" 0.0;
16613                visible: 0;
16614                color: 255 255 255 0;
16615                rel1.to: "bt_abort";
16616                rel2.to: "bt_abort";
16617                image.normal: "bd_button_close_focused.png";
16618             }
16619             description {
16620                state: "active" 0.0;
16621                inherit: "default" 0.0;
16622                visible: 1;
16623                color: 255 255 255 255;
16624                rel1.offset: 0 1;
16625                rel2.offset: -1 0;
16626             }
16627          }
16628          part {
16629             name: "e.event.abort";
16630             type: RECT;
16631             mouse_events: 1;
16632             description {
16633                state: "default" 0.0;
16634                rel1.to: "bt_abort";
16635                rel2.to: "bt_abort";
16636                color: 0 0 0 0;
16637             }
16638          }
16639       }
16640       programs {
16641          program {
16642             name: "set_need_attention";
16643             signal: "e,action,set,need_attention";
16644             source: "e";
16645             action: STATE_SET "need_attention" 0.0;
16646             transition: SINUSOIDAL 1.0;
16647             target: "bg";
16648             after: "need_loop";
16649          }
16650          program {
16651             name: "need_loop";
16652             action: STATE_SET "default" 0.0;
16653             transition: SINUSOIDAL 1.0;
16654             target: "bg";
16655             after: "set_need_attention";
16656          }
16657          program {
16658             name: "set_normal";
16659             signal: "e,action,set,normal";
16660             source: "e";
16661             action: STATE_SET "default" 0.0;
16662             transition: SINUSOIDAL 1.0;
16663             target: "bg";
16664          }
16665          program {
16666             name: "set_icon_unknow";
16667             signal: "e,action,icon,unknow";
16668             source: "e";
16669             action: STATE_SET "default" 0.0;
16670             target: "icon";
16671          }
16672          program {
16673             name: "set_icon_copy";
16674             signal: "e,action,icon,copy";
16675             source: "e";
16676             action: STATE_SET "copy" 0.0;
16677             target: "icon";
16678          }
16679          program {
16680             name: "set_icon_move";
16681             signal: "e,action,icon,move";
16682             source: "e";
16683             action: STATE_SET "move" 0.0;
16684             target: "icon";
16685          }
16686          program {
16687             name: "set_icon_delete";
16688             signal: "e,action,icon,delete";
16689             source: "e";
16690             action: STATE_SET "delete" 0.0;
16691             target: "icon";
16692          }
16693          program {
16694             name: "bt_abort_down";
16695             signal: "mouse,down,*";
16696             source: "e.event.abort";
16697             action: STATE_SET "active" 0.0;
16698             target: "bt_abort_unfoc";
16699             target: "bt_abort_foc";
16700          }
16701          program {
16702             name: "bt_abort_up";
16703             signal: "mouse,up,*";
16704             source: "e.event.abort";
16705             action: STATE_SET "default" 0.0;
16706             target: "bt_abort_unfoc";
16707             target: "bt_abort_foc";
16708          }
16709          program {
16710             name: "bt_abort_click";
16711             signal: "mouse,clicked,*";
16712             source: "e.event.abort";
16713             action: SIGNAL_EMIT "e,fm,operation,abort" "";
16714          }
16715       }
16716    }
16717    group {
16718       name: "e/fileman/default/scrollframe";
16719       images {
16720          image: "inset_sunk.png" COMP;
16721          image: "arrow_left.png" COMP;
16722          image: "arrow_right.png" COMP;
16723          image: "arrow_up.png" COMP;
16724          image: "arrow_down.png" COMP;
16725          image: "bt_sm_base1.png" COMP;
16726          image: "bt_sm_base2.png" COMP;
16727          image: "bt_sm_shine.png" COMP;
16728          image: "bt_sm_hilight.png" COMP;
16729          image: "sb_runnerh.png" COMP;
16730          image: "sb_runnerv.png" COMP;
16731       }
16732       parts {
16733          part {
16734             name: "clipper";
16735             type: RECT;
16736             mouse_events: 0;
16737             description {
16738                state: "default" 0.0;
16739             }
16740          }
16741          part {
16742             name: "e.swallow.content";
16743             clip_to: "clipper";
16744             type: SWALLOW;
16745             description {
16746                state: "default" 0.0;
16747                rel1.offset: 1 1;
16748                rel2 {
16749                   relative: 0.0  0.0;
16750                   offset: -1   -1;
16751                   to_x: "sb_vbar";
16752                   to_y: "sb_hbar";
16753                }
16754             }
16755          }
16756          part {
16757             name: "conf_over";
16758             mouse_events: 0;
16759             description {
16760                state: "default" 0.0;
16761                rel1.offset: -1 -1;
16762                rel2.offset: 0 0;
16763                image {
16764                   normal: "inset_sunk.png";
16765                   border: 7 7 7 7;
16766                   middle: 0;
16767                }
16768                fill.smooth : 0;
16769             }
16770          }
16771          part {
16772             name: "sb_vbar";
16773             type: RECT;
16774             mouse_events: 0;
16775             scale: 1;
16776             description {
16777                state: "default" 0.0;
16778                min: 17 17;
16779                align: 1.0 0.0;
16780                rel1 {
16781                   relative: 1.0 0.0;
16782                   offset: -2 1;
16783                }
16784                rel2 {
16785                   relative: 1.0 0.0;
16786                   offset: -2 -1;
16787                   to_y: "sb_hbar";
16788                }
16789             }
16790             description {
16791                state: "hidden" 0.0;
16792                visible: 0;
16793                max: 0 99999;
16794                rel1 {
16795                   relative: 1.0 0.0;
16796                   offset: -1 0;
16797                }
16798                rel2 {
16799                   relative: 1.0 0.0;
16800                   offset: -1 -1;
16801                   to_y: "sb_hbar";
16802                }
16803             }
16804          }
16805          part {
16806             name: "sb_vbar_base";
16807             type: RECT;
16808             clip_to: "sb_vbar";
16809             mouse_events: 1;
16810             description {
16811                state: "default" 0.0;
16812                color: 0 0 0 0;
16813                rel1 {
16814                   relative: 0.0  1.0;
16815                   offset: 0    -2;
16816                   to: "sb_vbar_a1";
16817                }
16818                rel2 {
16819                   relative: 1.0  0.0;
16820                   offset: -1    1;
16821                   to: "sb_vbar_a2";
16822                }
16823             }
16824          }
16825          part {
16826             name: "sb_vbar_runner";
16827             clip_to: "sb_vbar";
16828             mouse_events: 0;
16829             description {
16830                state: "default" 0.0;
16831                max: 3 99999;
16832                rel1.to: "sb_vbar_base";
16833                rel1.offset: 1 0;
16834                rel2.to: "sb_vbar_base";
16835                image {
16836                   normal: "sb_runnerv.png";
16837                   border: 0 0 4 4;
16838                }
16839                fill.smooth: 0;
16840             }
16841          }
16842          part {
16843             name: "sb_vbar_p1";
16844             type: RECT;
16845             clip_to: "sb_vbar";
16846             mouse_events: 1;
16847             description {
16848                state: "default" 0.0;
16849                color: 0 0 0 0;
16850                rel1 {
16851                   relative: 0.0 1.0;
16852                   to: "sb_vbar_a1";
16853                }
16854                rel2 {
16855                   relative: 1.0 0.0;
16856                   to: "e.dragable.vbar";
16857                }
16858             }
16859          }
16860          part {
16861             name: "sb_vbar_p2";
16862             type: RECT;
16863             clip_to: "sb_vbar";
16864             mouse_events: 1;
16865             description {
16866                state: "default" 0.0;
16867                color: 0 0 0 0;
16868                rel1 {
16869                   relative: 0.0 1.0;
16870                   to: "e.dragable.vbar";
16871                }
16872                rel2 {
16873                   relative: 1.0 0.0;
16874                   to: "sb_vbar_a2";
16875                }
16876             }
16877          }
16878          part {
16879             name: "e.dragable.vbar";
16880             clip_to: "sb_vbar";
16881             mouse_events: 1;
16882             scale: 1;
16883             dragable {
16884                x: 0 0 0;
16885                y: 1 1 0;
16886                confine: "sb_vbar_base";
16887             }
16888             description {
16889                state: "default" 0.0;
16890                min: 17 17;
16891                rel1 {
16892                   relative: 0.5  0.5;
16893                   offset: 0    0;
16894                   to: "sb_vbar_base";
16895                }
16896                rel2 {
16897                   relative: 0.5  0.5;
16898                   offset: 0    0;
16899                   to: "sb_vbar_base";
16900                }
16901                image {
16902                   normal: "bt_sm_base2.png";
16903                   border: 6 6 6 6;
16904                }
16905             }
16906             description {
16907                state: "clicked" 0.0;
16908                inherit: "default" 0.0;
16909                image.normal: "bt_sm_base1.png";
16910             }
16911          }
16912          part {
16913             name: "sb_vbar_over1";
16914             clip_to: "sb_vbar";
16915             mouse_events: 0;
16916             description {
16917                state: "default" 0.0;
16918                rel1.to: "e.dragable.vbar";
16919                rel2.relative: 1.0 0.5;
16920                rel2.to: "e.dragable.vbar";
16921                image {
16922                   normal: "bt_sm_hilight.png";
16923                   border: 6 6 6 0;
16924                }
16925             }
16926          }
16927          part {
16928             name: "sb_vbar_over2";
16929             clip_to: "sb_vbar";
16930             mouse_events: 0;
16931             description {
16932                state: "default" 0.0;
16933                rel1.to: "e.dragable.vbar";
16934                rel2.to: "e.dragable.vbar";
16935                image {
16936                   normal: "bt_sm_shine.png";
16937                   border: 6 6 6 0;
16938                }
16939             }
16940          }
16941          part {
16942             name: "sb_vbar_a1";
16943             type: RECT;
16944             clip_to: "sb_vbar";
16945             mouse_events: 1;
16946             description {
16947                state: "default" 0.0;
16948                min: 17 17;
16949                align: 0.5 0.0;
16950                aspect: 1.0 1.0;
16951                aspect_preference: HORIZONTAL;
16952                color: 0 0 0 0;
16953                rel1 {
16954                   to: "sb_vbar";
16955                   relative: 0.0  0.0;
16956                   offset: 0    0;
16957                }
16958                rel2 {
16959                   to: "sb_vbar";
16960                   relative: 1.0  0.0;
16961                   offset: -1   0;
16962                }
16963             }
16964          }
16965          part {
16966             name: "sb_vbar_a1_arrow";
16967             mouse_events: 0;
16968             clip_to: "sb_vbar";
16969             description {
16970                state: "default" 0.0;
16971                max: 9 9;
16972                rel1.to: "sb_vbar_a1";
16973                rel2.to: "sb_vbar_a1";
16974                image.normal: "arrow_up.png";
16975             }
16976             description {
16977                state: "clicked" 0.0;
16978                inherit: "default" 0.0;
16979                rel1.offset: 0 -1;
16980                rel2.offset: -1 -2;
16981             }
16982          }
16983          part {
16984             name: "sb_vbar_a2";
16985             type: RECT;
16986             clip_to: "sb_vbar";
16987             mouse_events: 1;
16988             description {
16989                state: "default" 0.0;
16990                min: 17 17;
16991                align: 0.5 1.0;
16992                aspect: 1.0 1.0;
16993                aspect_preference: HORIZONTAL;
16994                color: 0 0 0 0;
16995                rel1 {
16996                   to: "sb_vbar";
16997                   relative: 0.0  1.0;
16998                   offset: 0    0;
16999                }
17000                rel2 {
17001                   to: "sb_vbar";
17002                   relative: 1.0  1.0;
17003                   offset: -1   0;
17004                }
17005             }
17006          }
17007          part {
17008             name: "sb_vbar_a2_arrow";
17009             type: IMAGE;
17010             mouse_events: 0;
17011             clip_to: "sb_vbar";
17012             description {
17013                state: "default" 0.0;
17014                max: 9 9;
17015                rel1.to: "sb_vbar_a2";
17016                rel2.to: "sb_vbar_a2";
17017                image.normal: "arrow_down.png";
17018             }
17019             description {
17020                state: "clicked" 0.0;
17021                inherit: "default" 0.0;
17022                rel1.offset: 0 1;
17023                rel2.offset: -1 0;
17024             }
17025          }
17026          part {
17027             name: "sb_hbar";
17028             type: RECT;
17029             mouse_events: 0;
17030             scale: 1;
17031             description {
17032                state: "default" 0.0;
17033                min: 17 17;
17034                align: 0.0 1.0;
17035                rel1 {
17036                   relative: 0.0 1.0;
17037                   offset: 1 -2;
17038                }
17039                rel2 {
17040                   relative: 0.0 1.0;
17041                   offset: -1 -2;
17042                   to_x: "sb_vbar";
17043                }
17044             }
17045             description {
17046                state: "hidden" 0.0;
17047                visible: 0;
17048                rel1 {
17049                   relative: 0.0  1.0;
17050                   offset: 0    -1;
17051                }
17052                rel2 {
17053                   relative: 0.0  1.0;
17054                   offset: -1   -1;
17055                   to_x: "sb_vbar";
17056                }
17057             }
17058          }
17059          part {
17060             name: "sb_hbar_base";
17061             type: RECT;
17062             clip_to: "sb_hbar";
17063             mouse_events: 1;
17064             description {
17065                state: "default" 0.0;
17066                color: 0 0 0 0;
17067                rel1 {
17068                   relative: 1.0  0.0;
17069                   offset: -2   0;
17070                   to: "sb_hbar_a1";
17071                }
17072                rel2 {
17073                   relative: 0.0  1.0;
17074                   offset: 1   -1;
17075                   to: "sb_hbar_a2";
17076                }
17077             }
17078          }
17079          part {
17080             name: "sb_hbar_runner";
17081             clip_to: "sb_hbar";
17082             mouse_events: 0;
17083             description {
17084                state: "default" 0.0;
17085                max: 99999 3;
17086                rel1.to: "sb_hbar_base";
17087                rel1.offset: 0 1;
17088                rel2.to: "sb_hbar_base";
17089                image {
17090                   normal: "sb_runnerh.png";
17091                   border: 4 4 0 0;
17092                }
17093                fill.smooth: 0;
17094             }
17095          }
17096          part {
17097             name: "sb_hbar_p1";
17098             type: RECT;
17099             clip_to: "sb_hbar";
17100             mouse_events: 1;
17101             description {
17102                state: "default" 0.0;
17103                color: 0 0 0 0;
17104                rel1 {
17105                   relative: 1.0 0.0;
17106                   to: "sb_hbar_a1";
17107                }
17108                rel2 {
17109                   relative: 0.0 1.0;
17110                   to: "e.dragable.hbar";
17111                }
17112             }
17113          }
17114          part {
17115             name: "sb_hbar_p2";
17116             type: RECT;
17117             clip_to: "sb_hbar";
17118             mouse_events: 1;
17119             description {
17120                state: "default" 0.0;
17121                color: 0 0 0 0;
17122                rel1 {
17123                   relative: 1.0 0.0;
17124                   to: "e.dragable.hbar";
17125                }
17126                rel2 {
17127                   relative: 0.0 1.0;
17128                   to: "sb_hbar_a2";
17129                }
17130             }
17131          }
17132          part {
17133             name: "e.dragable.hbar";
17134             clip_to: "sb_hbar";
17135             mouse_events: 1;
17136             scale: 1;
17137             dragable {
17138                x: 1 1 0;
17139                y: 0 0 0;
17140                confine: "sb_hbar_base";
17141             }
17142             description {
17143                state: "default" 0.0;
17144                min: 17 17;
17145                rel1 {
17146                   relative: 0.5  0.5;
17147                   offset: 0    0;
17148                   to: "sb_hbar_base";
17149                }
17150                rel2 {
17151                   relative: 0.5  0.5;
17152                   offset: 0    0;
17153                   to: "sb_hbar_base";
17154                }
17155                image {
17156                   normal: "bt_sm_base2.png";
17157                   border: 6 6 6 6;
17158                }
17159             }
17160             description {
17161                state: "clicked" 0.0;
17162                inherit: "default" 0.0;
17163                image.normal: "bt_sm_base1.png";
17164             }
17165          }
17166          part {
17167             name: "sb_hbar_over1";
17168             clip_to: "sb_hbar";
17169             mouse_events: 0;
17170             description {
17171                state: "default" 0.0;
17172                rel1.to: "e.dragable.hbar";
17173                rel2.relative: 1.0 0.5;
17174                rel2.to: "e.dragable.hbar";
17175                image {
17176                   normal: "bt_sm_hilight.png";
17177                   border: 6 6 6 0;
17178                }
17179             }
17180          }
17181          part {
17182             name: "sb_hbar_over2";
17183             clip_to: "sb_hbar";
17184             mouse_events: 0;
17185             description {
17186                state: "default" 0.0;
17187                rel1.to: "e.dragable.hbar";
17188                rel2.to: "e.dragable.hbar";
17189                image {
17190                   normal: "bt_sm_shine.png";
17191                   border: 6 6 6 0;
17192                }
17193             }
17194          }
17195          part {
17196             name: "sb_hbar_a1";
17197             type: RECT;
17198             clip_to: "sb_hbar";
17199             mouse_events: 1;
17200             description {
17201                state: "default" 0.0;
17202                min: 17 17;
17203                align: 0.0 0.5;
17204                aspect: 1.0 1.0;
17205                aspect_preference: VERTICAL;
17206                color: 0 0 0 0;
17207                rel1 {
17208                   to: "sb_hbar";
17209                   relative: 0.0  0.0;
17210                   offset: 0    0;
17211                }
17212                rel2 {
17213                   to: "sb_hbar";
17214                   relative: 0.0  1.0;
17215                   offset: 0   -1;
17216                }
17217             }
17218          }
17219          part {
17220             name: "sb_hbar_a1_arrow";
17221             type: IMAGE;
17222             mouse_events: 0;
17223             clip_to: "sb_hbar";
17224             description {
17225                state: "default" 0.0;
17226                max: 9 9;
17227                rel1.to: "sb_hbar_a1";
17228                rel2.to: "sb_hbar_a1";
17229                image.normal: "arrow_left.png";
17230             }
17231             description {
17232                state: "clicked" 0.0;
17233                inherit: "default" 0.0;
17234                rel1.offset: -1 0;
17235                rel2.offset: -2 -1;
17236             }
17237          }
17238          part {
17239             name: "sb_hbar_a2";
17240             type: RECT;
17241             clip_to: "sb_hbar";
17242             mouse_events: 1;
17243             description {
17244                state: "default" 0.0;
17245                min: 17 17;
17246                align: 1.0 0.5;
17247                aspect: 1.0 1.0;
17248                aspect_preference: VERTICAL;
17249                color: 0 0 0 0;
17250                rel1 {
17251                   to: "sb_hbar";
17252                   relative: 1.0  0.0;
17253                   offset: -1    0;
17254                }
17255                rel2 {
17256                   to: "sb_hbar";
17257                   relative: 1.0  1.0;
17258                   offset: -1   -1;
17259                }
17260             }
17261          }
17262          part {
17263             name: "sb_hbar_a2_arrow";
17264             type: IMAGE;
17265             mouse_events: 0;
17266             clip_to: "sb_hbar";
17267             description {
17268                state: "default" 0.0;
17269                max: 9 9;
17270                rel1.to: "sb_hbar_a2";
17271                rel2.to: "sb_hbar_a2";
17272                image.normal: "arrow_right.png";
17273             }
17274             description {
17275                state: "clicked" 0.0;
17276                inherit: "default" 0.0;
17277                rel1.offset: 1 0;
17278                rel2.offset: 0 -1;
17279             }
17280          }
17281          part {
17282             name: "e.box.operations";
17283             type: BOX;
17284             description {
17285                state: "default" 0.0;
17286                rel2.to_x: "sb_vbar";
17287                rel2.to_y: "sb_hbar";
17288                rel2.relative: 0.0 0.0;
17289                box {
17290                   layout: "vertical";
17291                   padding: 0 0;
17292                   align: 1.0 1.0;
17293                }
17294             }
17295          }
17296          part {
17297             name: "e.swallow.overlay";
17298             type: SWALLOW;
17299             mouse_events: 0;
17300             description {
17301                state: "default" 0.0;
17302             }
17303          }
17304       }
17305       programs {
17306          program {
17307             name: "sb_vbar_show";
17308             signal: "e,action,show,vbar";
17309             source: "e";
17310             action: STATE_SET "default" 0.0;
17311             target: "sb_vbar";
17312          }
17313          program {
17314             name: "sb_vbar_hide";
17315             signal: "e,action,hide,vbar";
17316             source: "e";
17317             action: STATE_SET "hidden" 0.0;
17318             target: "sb_vbar";
17319          }
17320          program {
17321             name: "sb_hbar_show";
17322             signal: "e,action,show,hbar";
17323             source: "e";
17324             action: STATE_SET "default" 0.0;
17325             target: "sb_hbar";
17326          }
17327          program {
17328             name: "sb_hbar_hide";
17329             signal: "e,action,hide,hbar";
17330             source: "e";
17331             action: STATE_SET "hidden" 0.0;
17332             target: "sb_hbar";
17333          }
17334          program {
17335             name: "sb_vbar_a1_down";
17336             signal: "mouse,down,1";
17337             source: "sb_vbar_a1";
17338             action: STATE_SET "clicked" 0.0;
17339             target: "sb_vbar_a1_arrow";
17340          }
17341          program {
17342             name: "sb_vbar_a1_down2";
17343             signal: "mouse,down,1";
17344             source: "sb_vbar_a1";
17345             action: DRAG_VAL_STEP 0.0 -1.0;
17346             target: "e.dragable.vbar";
17347          }
17348          program {
17349             name: "sb_vbar_a1_up";
17350             signal: "mouse,up,1";
17351             source: "sb_vbar_a1";
17352             action: STATE_SET "default" 0.0;
17353             target: "sb_vbar_a1_arrow";
17354          }
17355          program {
17356             name: "sb_vbar_a2_down";
17357             signal: "mouse,down,1";
17358             source: "sb_vbar_a2";
17359             action: STATE_SET "clicked" 0.0;
17360             target: "sb_vbar_a2_arrow";
17361          }
17362          program {
17363             name: "sb_vbar_a2_down2";
17364             signal: "mouse,down,1";
17365             source: "sb_vbar_a2";
17366             action: DRAG_VAL_STEP 0.0 1.0;
17367             target: "e.dragable.vbar";
17368          }
17369          program {
17370             name: "sb_vbar_a2_up";
17371             signal: "mouse,up,1";
17372             source: "sb_vbar_a2";
17373             action: STATE_SET "default" 0.0;
17374             target: "sb_vbar_a2_arrow";
17375          }
17376          program {
17377             name: "sb_vbar_p1_down";
17378             signal: "mouse,down,1";
17379             source: "sb_vbar_p1";
17380             action: DRAG_VAL_PAGE 0.0 -1.0;
17381             target: "e.dragable.vbar";
17382          }
17383          program {
17384             name: "sb_vbar_p2_down";
17385             signal: "mouse,down,1";
17386             source: "sb_vbar_p2";
17387             action: DRAG_VAL_PAGE  0.0 1.0;
17388             target: "e.dragable.vbar";
17389          }
17390          program {
17391             name: "sb_vbar_down";
17392             signal: "mouse,down,1";
17393             source: "e.dragable.vbar";
17394             action: STATE_SET "clicked" 0.0;
17395             target: "e.dragable.vbar";
17396          }
17397          program {
17398             name: "sb_vbar_up";
17399             signal: "mouse,up,1";
17400             source: "e.dragable.vbar";
17401             action: STATE_SET "default" 0.0;
17402             target: "e.dragable.vbar";
17403          }
17404          program {
17405             name: "sb_hbar_a1_down";
17406             signal: "mouse,down,1";
17407             source: "sb_hbar_a1";
17408             action: STATE_SET "clicked" 0.0;
17409             target: "sb_hbar_a1_arrow";
17410          }
17411          program {
17412             name: "sb_hbar_a1_down2";
17413             signal: "mouse,down,1";
17414             source: "sb_hbar_a1";
17415             action: DRAG_VAL_STEP -1.0 0.0;
17416             target: "e.dragable.hbar";
17417          }
17418          program {
17419             name: "sb_hbar_a1_up";
17420             signal: "mouse,up,1";
17421             source: "sb_hbar_a1";
17422             action: STATE_SET "default" 0.0;
17423             target: "sb_hbar_a1_arrow";
17424          }
17425          program {
17426             name: "sb_hbar_a2_down";
17427             signal: "mouse,down,1";
17428             source: "sb_hbar_a2";
17429             action: STATE_SET "clicked" 0.0;
17430             target: "sb_hbar_a2_arrow";
17431          }
17432          program {
17433             name: "sb_hbar_a2_down2";
17434             signal: "mouse,down,1";
17435             source: "sb_hbar_a2";
17436             action: DRAG_VAL_STEP 1.0 0.0;
17437             target: "e.dragable.hbar";
17438          }
17439          program {
17440             name: "sb_hbar_a2_up";
17441             signal: "mouse,up,1";
17442             source: "sb_hbar_a2";
17443             action: STATE_SET "default" 0.0;
17444             target: "sb_hbar_a2_arrow";
17445          }
17446          program {
17447             name: "sb_hbar_p1_down";
17448             signal: "mouse,down,1";
17449             source: "sb_hbar_p1";
17450             action: DRAG_VAL_PAGE -1.0 0.0;
17451             target: "e.dragable.hbar";
17452          }
17453          program {
17454             name: "sb_hbar_p2_down";
17455             signal: "mouse,down,1";
17456             source: "sb_hbar_p2";
17457             action: DRAG_VAL_PAGE  1.0 0.0;
17458             target: "e.dragable.hbar";
17459          }
17460          program {
17461             name: "sb_hbar_down";
17462             signal: "mouse,down,1";
17463             source: "e.dragable.hbar";
17464             action: STATE_SET "clicked" 0.0;
17465             target: "e.dragable.hbar";
17466          }
17467          program {
17468             name: "sb_hbar_up";
17469             signal: "mouse,up,1";
17470             source: "e.dragable.hbar";
17471             action: STATE_SET "default" 0.0;
17472             target: "e.dragable.hbar";
17473          }
17474       }
17475    }
17476    group {
17477       name: "e/fileman/desktop/scrollframe";
17478       images {
17479          image: "arrow_left.png" COMP;
17480          image: "arrow_right.png" COMP;
17481          image: "arrow_up.png" COMP;
17482          image: "arrow_down.png" COMP;
17483          image: "bt_sm_base1.png" COMP;
17484          image: "bt_sm_base2.png" COMP;
17485          image: "bt_sm_shine.png" COMP;
17486          image: "bt_sm_hilight.png" COMP;
17487          image: "sb_runnerh.png" COMP;
17488          image: "sb_runnerv.png" COMP;
17489       }
17490       parts {
17491          part {
17492             name: "clipper";
17493             type: RECT;
17494             mouse_events: 0;
17495             description {
17496                state: "default" 0.0;
17497             }
17498          }
17499          part {
17500             name: "e.swallow.content";
17501             clip_to: "clipper";
17502             type: SWALLOW;
17503             description {
17504                state: "default" 0.0;
17505                rel1.offset: 0 0;
17506                rel2 {
17507                   relative: 0.0  0.0;
17508                   offset: -1   -1;
17509                   to_x: "sb_vbar";
17510                   to_y: "sb_hbar";
17511                }
17512             }
17513          }
17514          part {
17515             name: "sb_vbar";
17516             type: RECT;
17517             mouse_events: 0;
17518             scale: 1;
17519             description {
17520                state: "default" 0.0;
17521                min: 17 17;
17522                align: 1.0 0.0;
17523                rel1 {
17524                   relative: 1.0 0.0;
17525                   offset: -1 0;
17526                }
17527                rel2 {
17528                   relative: 1.0 0.0;
17529                   offset: -1 -1;
17530                   to_y: "sb_hbar";
17531                }
17532             }
17533             description {
17534                state: "hidden" 0.0;
17535                visible: 0;
17536                max: 0 99999;
17537                rel1 {
17538                   relative: 1.0 0.0;
17539                   offset: -1 0;
17540                }
17541                rel2 {
17542                   relative: 1.0 0.0;
17543                   offset: -1 -1;
17544                   to_y: "sb_hbar";
17545                }
17546             }
17547          }
17548          part {
17549             name: "sb_vbar_base";
17550             type: RECT;
17551             clip_to: "sb_vbar";
17552             mouse_events: 1;
17553             description {
17554                state: "default" 0.0;
17555                color: 0 0 0 0;
17556                rel1 {
17557                   relative: 0.0  1.0;
17558                   offset: 0    -1;
17559                   to: "sb_vbar_a1";
17560                }
17561                rel2 {
17562                   relative: 1.0  0.0;
17563                   offset: -1    0;
17564                   to: "sb_vbar_a2";
17565                }
17566             }
17567          }
17568          part {
17569             name: "sb_vbar_runner";
17570             clip_to: "sb_vbar";
17571             mouse_events: 0;
17572             description {
17573                state: "default" 0.0;
17574                max: 3 99999;
17575                rel1.to: "sb_vbar_base";
17576                rel1.offset: 1 0;
17577                rel2.to: "sb_vbar_base";
17578                image {
17579                   normal: "sb_runnerv.png";
17580                   border: 0 0 4 4;
17581                }
17582                fill.smooth: 0;
17583             }
17584          }
17585          part {
17586             name: "sb_vbar_p1";
17587             type: RECT;
17588             clip_to: "sb_vbar";
17589             mouse_events: 1;
17590             description {
17591                state: "default" 0.0;
17592                color: 0 0 0 0;
17593                rel1 {
17594                   relative: 0.0 1.0;
17595                   to: "sb_vbar_a1";
17596                }
17597                rel2 {
17598                   relative: 1.0 0.0;
17599                   to: "e.dragable.vbar";
17600                }
17601             }
17602          }
17603          part {
17604             name: "sb_vbar_p2";
17605             type: RECT;
17606             clip_to: "sb_vbar";
17607             mouse_events: 1;
17608             description {
17609                state: "default" 0.0;
17610                color: 0 0 0 0;
17611                rel1 {
17612                   relative: 0.0 1.0;
17613                   to: "e.dragable.vbar";
17614                }
17615                rel2 {
17616                   relative: 1.0 0.0;
17617                   to: "sb_vbar_a2";
17618                }
17619             }
17620          }
17621          part {
17622             name: "e.dragable.vbar";
17623             clip_to: "sb_vbar";
17624             mouse_events: 1;
17625             scale: 1;
17626             dragable {
17627                x: 0 0 0;
17628                y: 1 1 0;
17629                confine: "sb_vbar_base";
17630             }
17631             description {
17632                state: "default" 0.0;
17633                min: 17 17;
17634                rel1 {
17635                   relative: 0.5  0.5;
17636                   offset: 0    0;
17637                   to: "sb_vbar_base";
17638                }
17639                rel2 {
17640                   relative: 0.5  0.5;
17641                   offset: 0    0;
17642                   to: "sb_vbar_base";
17643                }
17644                image {
17645                   normal: "bt_sm_base2.png";
17646                   border: 6 6 6 6;
17647                }
17648             }
17649             description {
17650                state: "clicked" 0.0;
17651                inherit: "default" 0.0;
17652                image.normal: "bt_sm_base1.png";
17653             }
17654          }
17655          part {
17656             name: "sb_vbar_over1";
17657             clip_to: "sb_vbar";
17658             mouse_events: 0;
17659             description {
17660                state: "default" 0.0;
17661                rel1.to: "e.dragable.vbar";
17662                rel2.relative: 1.0 0.5;
17663                rel2.to: "e.dragable.vbar";
17664                image {
17665                   normal: "bt_sm_hilight.png";
17666                   border: 6 6 6 0;
17667                }
17668             }
17669          }
17670          part {
17671             name: "sb_vbar_over2";
17672             clip_to: "sb_vbar";
17673             mouse_events: 0;
17674             description {
17675                state: "default" 0.0;
17676                rel1.to: "e.dragable.vbar";
17677                rel2.to: "e.dragable.vbar";
17678                image {
17679                   normal: "bt_sm_shine.png";
17680                   border: 6 6 6 0;
17681                }
17682             }
17683          }
17684          part {
17685             name: "sb_vbar_a1";
17686             type: RECT;
17687             clip_to: "sb_vbar";
17688             mouse_events: 1;
17689             description {
17690                state: "default" 0.0;
17691                min: 17 17;
17692                align: 0.5 0.0;
17693                aspect: 1.0 1.0;
17694                aspect_preference: HORIZONTAL;
17695                color: 0 0 0 0;
17696                rel1 {
17697                   to: "sb_vbar";
17698                   relative: 0.0  0.0;
17699                   offset: 0    0;
17700                }
17701                rel2 {
17702                   to: "sb_vbar";
17703                   relative: 1.0  0.0;
17704                   offset: -1   0;
17705                }
17706             }
17707          }
17708          part {
17709             name: "sb_vbar_a1_arrow";
17710             mouse_events: 0;
17711             clip_to: "sb_vbar";
17712             description {
17713                state: "default" 0.0;
17714                max: 9 9;
17715                rel1.to: "sb_vbar_a1";
17716                rel2.to: "sb_vbar_a1";
17717                image.normal: "arrow_up.png";
17718             }
17719             description {
17720                state: "clicked" 0.0;
17721                inherit: "default" 0.0;
17722                rel1.offset: 0 -1;
17723                rel2.offset: -1 -2;
17724             }
17725          }
17726          part {
17727             name: "sb_vbar_a2";
17728             type: RECT;
17729             clip_to: "sb_vbar";
17730             mouse_events: 1;
17731             description {
17732                state: "default" 0.0;
17733                min: 17 17;
17734                align: 0.5 1.0;
17735                aspect: 1.0 1.0;
17736                aspect_preference: HORIZONTAL;
17737                color: 0 0 0 0;
17738                rel1 {
17739                   to: "sb_vbar";
17740                   relative: 0.0  1.0;
17741                   offset: 0    0;
17742                }
17743                rel2 {
17744                   to: "sb_vbar";
17745                   relative: 1.0  1.0;
17746                   offset: -1   0;
17747                }
17748             }
17749          }
17750          part {
17751             name: "sb_vbar_a2_arrow";
17752             type: IMAGE;
17753             mouse_events: 0;
17754             clip_to: "sb_vbar";
17755             description {
17756                state: "default" 0.0;
17757                max: 9 9;
17758                rel1.to: "sb_vbar_a2";
17759                rel2.to: "sb_vbar_a2";
17760                image.normal: "arrow_down.png";
17761             }
17762             description {
17763                state: "clicked" 0.0;
17764                inherit: "default" 0.0;
17765                rel1.offset: 0 1;
17766                rel2.offset: -1 0;
17767             }
17768          }
17769          part {
17770             name: "sb_hbar";
17771             type: RECT;
17772             mouse_events: 0;
17773             scale: 1;
17774             description {
17775                state: "default" 0.0;
17776                min: 17 17;
17777                align: 0.0 1.0;
17778                rel1 {
17779                   relative: 0.0 1.0;
17780                   offset: 1 -2;
17781                }
17782                rel2 {
17783                   relative: 0.0 1.0;
17784                   offset: -1 -2;
17785                   to_x: "sb_vbar";
17786                }
17787             }
17788             description {
17789                state: "hidden" 0.0;
17790                visible: 0;
17791                rel1 {
17792                   relative: 0.0  1.0;
17793                   offset: 0    -1;
17794                }
17795                rel2 {
17796                   relative: 0.0  1.0;
17797                   offset: -1   -1;
17798                   to_x: "sb_vbar";
17799                }
17800             }
17801          }
17802          part {
17803             name: "sb_hbar_base";
17804             type: RECT;
17805             clip_to: "sb_hbar";
17806             mouse_events: 1;
17807             description {
17808                state: "default" 0.0;
17809                color: 0 0 0 0;
17810                rel1 {
17811                   relative: 1.0  0.0;
17812                   offset: -1   0;
17813                   to: "sb_hbar_a1";
17814                }
17815                rel2 {
17816                   relative: 0.0  1.0;
17817                   offset: 0   -1;
17818                   to: "sb_hbar_a2";
17819                }
17820             }
17821          }
17822          part {
17823             name: "sb_hbar_runner";
17824             clip_to: "sb_hbar";
17825             mouse_events: 0;
17826             description {
17827                state: "default" 0.0;
17828                max: 99999 3;
17829                rel1.to: "sb_hbar_base";
17830                rel1.offset: 0 1;
17831                rel2.to: "sb_hbar_base";
17832                image {
17833                   normal: "sb_runnerh.png";
17834                   border: 4 4 0 0;
17835                }
17836                fill.smooth: 0;
17837             }
17838          }
17839          part {
17840             name: "sb_hbar_p1";
17841             type: RECT;
17842             clip_to: "sb_hbar";
17843             mouse_events: 1;
17844             description {
17845                state: "default" 0.0;
17846                color: 0 0 0 0;
17847                rel1 {
17848                   relative: 1.0 0.0;
17849                   to: "sb_hbar_a1";
17850                }
17851                rel2 {
17852                   relative: 0.0 1.0;
17853                   to: "e.dragable.hbar";
17854                }
17855             }
17856          }
17857          part {
17858             name: "sb_hbar_p2";
17859             type: RECT;
17860             clip_to: "sb_hbar";
17861             mouse_events: 1;
17862             description {
17863                state: "default" 0.0;
17864                color: 0 0 0 0;
17865                rel1 {
17866                   relative: 1.0 0.0;
17867                   to: "e.dragable.hbar";
17868                }
17869                rel2 {
17870                   relative: 0.0 1.0;
17871                   to: "sb_hbar_a2";
17872                }
17873             }
17874          }
17875          part {
17876             name: "e.dragable.hbar";
17877             clip_to: "sb_hbar";
17878             mouse_events: 1;
17879             scale: 1;
17880             dragable {
17881                x: 1 1 0;
17882                y: 0 0 0;
17883                confine: "sb_hbar_base";
17884             }
17885             description {
17886                state: "default" 0.0;
17887                min: 17 17;
17888                rel1 {
17889                   relative: 0.5  0.5;
17890                   offset: 0    0;
17891                   to: "sb_hbar_base";
17892                }
17893                rel2 {
17894                   relative: 0.5  0.5;
17895                   offset: 0    0;
17896                   to: "sb_hbar_base";
17897                }
17898                image {
17899                   normal: "bt_sm_base2.png";
17900                   border: 6 6 6 6;
17901                }
17902             }
17903             description {
17904                state: "clicked" 0.0;
17905                inherit: "default" 0.0;
17906                image.normal: "bt_sm_base1.png";
17907             }
17908          }
17909          part {
17910             name: "sb_hbar_over1";
17911             clip_to: "sb_hbar";
17912             mouse_events: 0;
17913             description {
17914                state: "default" 0.0;
17915                rel1.to: "e.dragable.hbar";
17916                rel2.relative: 1.0 0.5;
17917                rel2.to: "e.dragable.hbar";
17918                image {
17919                   normal: "bt_sm_hilight.png";
17920                   border: 6 6 6 0;
17921                }
17922             }
17923          }
17924          part {
17925             name: "sb_hbar_over2";
17926             clip_to: "sb_hbar";
17927             mouse_events: 0;
17928             description {
17929                state: "default" 0.0;
17930                rel1.to: "e.dragable.hbar";
17931                rel2.to: "e.dragable.hbar";
17932                image {
17933                   normal: "bt_sm_shine.png";
17934                   border: 6 6 6 0;
17935                }
17936             }
17937          }
17938          part {
17939             name: "sb_hbar_a1";
17940             type: RECT;
17941             clip_to: "sb_hbar";
17942             mouse_events: 1;
17943             description {
17944                state: "default" 0.0;
17945                min: 17 17;
17946                align: 0.0 0.5;
17947                aspect: 1.0 1.0;
17948                aspect_preference: VERTICAL;
17949                color: 0 0 0 0;
17950                rel1 {
17951                   to: "sb_hbar";
17952                   relative: 0.0  0.0;
17953                   offset: 0    0;
17954                }
17955                rel2 {
17956                   to: "sb_hbar";
17957                   relative: 0.0  1.0;
17958                   offset: 0   -1;
17959                }
17960             }
17961          }
17962          part {
17963             name: "sb_hbar_a1_arrow";
17964             type: IMAGE;
17965             mouse_events: 0;
17966             clip_to: "sb_hbar";
17967             description {
17968                state: "default" 0.0;
17969                max: 9 9;
17970                rel1.to: "sb_hbar_a1";
17971                rel2.to: "sb_hbar_a1";
17972                image.normal: "arrow_left.png";
17973             }
17974             description {
17975                state: "clicked" 0.0;
17976                inherit: "default" 0.0;
17977                rel1.offset: -1 0;
17978                rel2.offset: -2 -1;
17979             }
17980          }
17981          part {
17982             name: "sb_hbar_a2";
17983             type: RECT;
17984             clip_to: "sb_hbar";
17985             mouse_events: 1;
17986             description {
17987                state: "default" 0.0;
17988                min: 17 17;
17989                align: 1.0 0.5;
17990                aspect: 1.0 1.0;
17991                aspect_preference: VERTICAL;
17992                color: 0 0 0 0;
17993                rel1 {
17994                   to: "sb_hbar";
17995                   relative: 1.0  0.0;
17996                   offset: -1    0;
17997                }
17998                rel2 {
17999                   to: "sb_hbar";
18000                   relative: 1.0  1.0;
18001                   offset: -1   -1;
18002                }
18003             }
18004          }
18005          part {
18006             name: "sb_hbar_a2_arrow";
18007             type: IMAGE;
18008             mouse_events: 0;
18009             clip_to: "sb_hbar";
18010             description {
18011                state: "default" 0.0;
18012                max: 9 9;
18013                rel1.to: "sb_hbar_a2";
18014                rel2.to: "sb_hbar_a2";
18015                image.normal: "arrow_right.png";
18016             }
18017             description {
18018                state: "clicked" 0.0;
18019                inherit: "default" 0.0;
18020                rel1.offset: 1 0;
18021                rel2.offset: 0 -1;
18022             }
18023          }
18024       }
18025       programs {
18026          program {
18027             name: "sb_vbar_show";
18028             signal: "e,action,show,vbar";
18029             source: "e";
18030             action: STATE_SET "default" 0.0;
18031             target: "sb_vbar";
18032          }
18033          program {
18034             name: "sb_vbar_hide";
18035             signal: "e,action,hide,vbar";
18036             source: "e";
18037             action: STATE_SET "hidden" 0.0;
18038             target: "sb_vbar";
18039          }
18040          program {
18041             name: "sb_hbar_show";
18042             signal: "e,action,show,hbar";
18043             source: "e";
18044             action: STATE_SET "default" 0.0;
18045             target: "sb_hbar";
18046          }
18047          program {
18048             name: "sb_hbar_hide";
18049             signal: "e,action,hide,hbar";
18050             source: "e";
18051             action: STATE_SET "hidden" 0.0;
18052             target: "sb_hbar";
18053          }
18054          program {
18055             name: "sb_vbar_a1_down";
18056             signal: "mouse,down,1";
18057             source: "sb_vbar_a1";
18058             action: STATE_SET "clicked" 0.0;
18059             target: "sb_vbar_a1_arrow";
18060          }
18061          program {
18062             name: "sb_vbar_a1_down2";
18063             signal: "mouse,down,1";
18064             source: "sb_vbar_a1";
18065             action: DRAG_VAL_STEP 0.0 -1.0;
18066             target: "e.dragable.vbar";
18067          }
18068          program {
18069             name: "sb_vbar_a1_up";
18070             signal: "mouse,up,1";
18071             source: "sb_vbar_a1";
18072             action: STATE_SET "default" 0.0;
18073             target: "sb_vbar_a1_arrow";
18074          }
18075          program {
18076             name: "sb_vbar_a2_down";
18077             signal: "mouse,down,1";
18078             source: "sb_vbar_a2";
18079             action: STATE_SET "clicked" 0.0;
18080             target: "sb_vbar_a2_arrow";
18081          }
18082          program {
18083             name: "sb_vbar_a2_down2";
18084             signal: "mouse,down,1";
18085             source: "sb_vbar_a2";
18086             action: DRAG_VAL_STEP 0.0 1.0;
18087             target: "e.dragable.vbar";
18088          }
18089          program {
18090             name: "sb_vbar_a2_up";
18091             signal: "mouse,up,1";
18092             source: "sb_vbar_a2";
18093             action: STATE_SET "default" 0.0;
18094             target: "sb_vbar_a2_arrow";
18095          }
18096          program {
18097             name: "sb_vbar_p1_down";
18098             signal: "mouse,down,1";
18099             source: "sb_vbar_p1";
18100             action: DRAG_VAL_PAGE 0.0 -1.0;
18101             target: "e.dragable.vbar";
18102          }
18103          program {
18104             name: "sb_vbar_p2_down";
18105             signal: "mouse,down,1";
18106             source: "sb_vbar_p2";
18107             action: DRAG_VAL_PAGE  0.0 1.0;
18108             target: "e.dragable.vbar";
18109          }
18110          program {
18111             name: "sb_vbar_down";
18112             signal: "mouse,down,1";
18113             source: "e.dragable.vbar";
18114             action: STATE_SET "clicked" 0.0;
18115             target: "e.dragable.vbar";
18116          }
18117          program {
18118             name: "sb_vbar_up";
18119             signal: "mouse,up,1";
18120             source: "e.dragable.vbar";
18121             action: STATE_SET "default" 0.0;
18122             target: "e.dragable.vbar";
18123          }
18124          program {
18125             name: "sb_hbar_a1_down";
18126             signal: "mouse,down,1";
18127             source: "sb_hbar_a1";
18128             action: STATE_SET "clicked" 0.0;
18129             target: "sb_hbar_a1_arrow";
18130          }
18131          program {
18132             name: "sb_hbar_a1_down2";
18133             signal: "mouse,down,1";
18134             source: "sb_hbar_a1";
18135             action: DRAG_VAL_STEP -1.0 0.0;
18136             target: "e.dragable.hbar";
18137          }
18138          program {
18139             name: "sb_hbar_a1_up";
18140             signal: "mouse,up,1";
18141             source: "sb_hbar_a1";
18142             action: STATE_SET "default" 0.0;
18143             target: "sb_hbar_a1_arrow";
18144          }
18145          program {
18146             name: "sb_hbar_a2_down";
18147             signal: "mouse,down,1";
18148             source: "sb_hbar_a2";
18149             action: STATE_SET "clicked" 0.0;
18150             target: "sb_hbar_a2_arrow";
18151          }
18152          program {
18153             name: "sb_hbar_a2_down2";
18154             signal: "mouse,down,1";
18155             source: "sb_hbar_a2";
18156             action: DRAG_VAL_STEP 1.0 0.0;
18157             target: "e.dragable.hbar";
18158          }
18159          program {
18160             name: "sb_hbar_a2_up";
18161             signal: "mouse,up,1";
18162             source: "sb_hbar_a2";
18163             action: STATE_SET "default" 0.0;
18164             target: "sb_hbar_a2_arrow";
18165          }
18166          program {
18167             name: "sb_hbar_p1_down";
18168             signal: "mouse,down,1";
18169             source: "sb_hbar_p1";
18170             action: DRAG_VAL_PAGE -1.0 0.0;
18171             target: "e.dragable.hbar";
18172          }
18173          program {
18174             name: "sb_hbar_p2_down";
18175             signal: "mouse,down,1";
18176             source: "sb_hbar_p2";
18177             action: DRAG_VAL_PAGE  1.0 0.0;
18178             target: "e.dragable.hbar";
18179          }
18180          program {
18181             name: "sb_hbar_down";
18182             signal: "mouse,down,1";
18183             source: "e.dragable.hbar";
18184             action: STATE_SET "clicked" 0.0;
18185             target: "e.dragable.hbar";
18186          }
18187          program {
18188             name: "sb_hbar_up";
18189             signal: "mouse,up,1";
18190             source: "e.dragable.hbar";
18191             action: STATE_SET "default" 0.0;
18192             target: "e.dragable.hbar";
18193          }
18194       }
18195    }
18196    group {
18197       name: "e/fileman/default/list/drop_in";
18198       alias: "e/fileman/default/list/drop_between";
18199       alias: "e/fileman/desktop/list/drop_in";
18200       alias: "e/fileman/desktop/list/drop_between";
18201       images {
18202          image: "gadman_frame.png" COMP;
18203          image: "gadman_border.png" COMP;
18204       }
18205       parts {
18206          part {
18207             name: "clipper";
18208             type: RECT;
18209             mouse_events: 0;
18210             description {
18211                state: "default" 0.0;
18212                rel1.offset: -10 -10;
18213                rel2.offset: 9 9;
18214                visible: 0;
18215                color: 255 255 255 0;
18216             }
18217             description {
18218                state: "visible" 0.0;
18219                visible: 1;
18220                color: 255 255 255 255;
18221             }
18222          }
18223          part {
18224             name: "overlay";
18225             mouse_events: 0;
18226             clip_to: "clipper";
18227             description {
18228                state: "default" 0.0;
18229                rel1 {
18230                   to: "border";
18231                   offset: 4 4;
18232                }
18233                rel2 {
18234                   to: "border";
18235                   offset: -5 -5;
18236                }
18237                image.normal: "gadman_frame.png";
18238                fill.size.relative: 0 0;
18239                fill.size.offset: 24 24;
18240             }
18241          }
18242          part {
18243             name: "border";
18244             mouse_events: 0;
18245             clip_to: "clipper";
18246             description {
18247                state: "default" 0.0;
18248                rel1.offset: -5 -5;
18249                rel2.offset: 4 4;
18250                image {
18251                   normal: "gadman_border.png";
18252                   border: 10 10 10 10;
18253                   middle: 0;
18254                }
18255                fill.smooth: 0;
18256             }
18257          }
18258       }
18259       programs {
18260          program {
18261             name: "visible";
18262             signal: "e,state,selected";
18263             source: "e";
18264             action: STATE_SET "visible" 0.0;
18265             target: "clipper";
18266          }
18267          program {
18268             name: "hidden";
18269             signal: "e,state,unselected";
18270             source: "e";
18271             action: STATE_SET "default" 0.0;
18272             target: "clipper";
18273          }
18274       }
18275    }
18276    group {
18277       name: "e/fileman/default/rubberband";
18278       images {
18279          image: "gadman_frame.png" COMP;
18280          image: "gadman_border.png" COMP;
18281       }
18282       parts {
18283          part {
18284             name: "overlay";
18285             mouse_events: 1;
18286             description {
18287                state: "default" 0.0;
18288                rel1 {
18289                   to: "border";
18290                   offset: 4 4;
18291                }
18292                rel2 {
18293                   to: "border";
18294                   offset: -5 -5;
18295                }
18296                image.normal: "gadman_frame.png";
18297                fill.size.relative: 0 0;
18298                fill.size.offset: 24 24;
18299             }
18300          }
18301          part {
18302             name: "border";
18303             mouse_events: 1;
18304             repeat_events: 1;
18305             description {
18306                state: "default" 0.0;
18307                rel1.offset: -5 -5;
18308                rel2.offset: 4 4;
18309                image {
18310                   normal: "gadman_border.png";
18311                   border: 10 10 10 10;
18312                   middle: 0;
18313                }
18314                fill.smooth: 0;
18315             }
18316          }
18317       }
18318    }
18319    group {
18320       name: "e/fileman/default/overlay";
18321       alias: "e/fileman/desktop/overlay";
18322       images {
18323          image: "busy-1.png" COMP;
18324          image: "busy-2.png" COMP;
18325          image: "busy-3.png" COMP;
18326          image: "busy-4.png" COMP;
18327          image: "busy-5.png" COMP;
18328          image: "busy-6.png" COMP;
18329          image: "busy-7.png" COMP;
18330          image: "busy-8.png" COMP;
18331          image: "busy-9.png" COMP;
18332          image: "gadman_frame.png" COMP;
18333          image: "gadman_border.png" COMP;
18334       }
18335       parts {
18336          part {
18337             name: "busy_clip";
18338             type: RECT;
18339             mouse_events: 0;
18340             description {
18341                state: "default" 0.0;
18342                visible: 0;
18343                color: 255 255 255 0;
18344             }
18345             description {
18346                state: "active" 0.0;
18347                visible: 1;
18348                color: 255 255 255 255;
18349             }
18350          }
18351          part {
18352             name: "overlay";
18353             mouse_events: 0;
18354             clip_to: "busy_clip";
18355             description {
18356                state: "default" 0.0;
18357                rel1 {
18358                   to: "border";
18359                   offset: 4 4;
18360                }
18361                rel2 {
18362                   to: "border";
18363                   offset: -5 -5;
18364                }
18365                image.normal: "gadman_frame.png";
18366                fill.size.relative: 0 0;
18367                fill.size.offset: 24 24;
18368             }
18369          }
18370          part {
18371             name: "border";
18372             mouse_events: 0;
18373             clip_to: "busy_clip";
18374             description {
18375                state: "default" 0.0;
18376                rel1 {
18377                   to_x: "e.text.busy_label";
18378                   to_y: "busy";
18379                   offset: -20 -20;
18380                }
18381                rel2 {
18382                   to: "e.text.busy_label";
18383                   offset: 19 9;
18384                }
18385                image {
18386                   normal: "gadman_border.png";
18387                   border: 10 10 10 10;
18388                   middle: 0;
18389                }
18390                fill.smooth: 0;
18391             }
18392          }
18393          part {
18394             name: "busy";
18395             clip_to: "busy_clip";
18396             mouse_events: 0;
18397             description {
18398                state: "default" 0.0;
18399                max: 32 32;
18400                aspect: 1.0 1.0;
18401                align: 0.5 0.5;
18402                aspect_preference: BOTH;
18403                rel1 {
18404                   relative: 0.0 0.0;
18405                   offset: 8 8;
18406                }
18407                rel2 {
18408                   relative: 1.0 1.0;
18409                   offset: -9 -9;
18410                }
18411                image {
18412                   normal: "busy-9.png";
18413                   tween: "busy-1.png";
18414                   tween: "busy-2.png";
18415                   tween: "busy-3.png";
18416                   tween: "busy-4.png";
18417                   tween: "busy-5.png";
18418                   tween: "busy-6.png";
18419                   tween: "busy-7.png";
18420                   tween: "busy-8.png";
18421                }
18422             }
18423          }
18424          part {
18425             name: "e.text.busy_label";
18426             type: TEXT;
18427             effect: SOFT_SHADOW;
18428             clip_to: "busy_clip";
18429             mouse_events: 0;
18430             scale: 1;
18431             description {
18432                state: "default" 0.0;
18433                align: 0.5 0.0;
18434                rel1 {
18435                   to: "busy";
18436                   relative: 0.0 1.0;
18437                   offset: 0 4;
18438                }
18439                rel2 {
18440                   to: "busy";
18441                   relative: 1.0 1.0;
18442                   offset: -1 4;
18443                }
18444                color: 255 255 255 255;
18445                color3: 0 0 0 32;
18446                text {
18447                   font: "Sans:style=Bold";
18448                   size: 10;
18449                   min: 1 1;
18450                   align: 0.5 0.0;
18451                   text_class: "fileman_notice";
18452                }
18453             }
18454          }
18455          part {
18456             name: "typebuf_clip";
18457             type: RECT;
18458             mouse_events: 0;
18459             description {
18460                state: "default" 0.0;
18461                visible: 0;
18462                color: 255 255 255 0;
18463             }
18464             description {
18465                state: "active" 0.0;
18466                visible: 1;
18467                color: 255 255 255 255;
18468             }
18469          }
18470          part {
18471             name: "e.text.typebuf_label";
18472             type: TEXT;
18473             effect: SOFT_SHADOW;
18474             clip_to: "typebuf_clip";
18475             mouse_events: 0;
18476             scale: 1;
18477             description {
18478                state: "default" 0.0;
18479                align: 0.5 0.5;
18480                rel1 {
18481                   relative: 0.0 0.0;
18482                   offset: 4 4;
18483                }
18484                rel2 {
18485                   relative: 1.0 1.0;
18486                   offset: -5 -5;
18487                }
18488                color: 255 255 255 255;
18489                color3: 0 0 0 32;
18490                text {
18491                   font: "Sans:style=Bold";
18492                   size: 10;
18493                   min: 0 0;
18494                   align: 0.5 0.5;
18495                   elipsis: 1.0;
18496                   text_class: "fileman_typebuf";
18497                }
18498             }
18499          }
18500       }
18501       programs {
18502          program {
18503             name: "go1";
18504             signal: "e,state,busy,start";
18505             source: "e";
18506             action: STATE_SET "active" 0.0;
18507             transition: SINUSOIDAL 1.0;
18508             target: "busy_clip";
18509          }
18510          program {
18511             name: "go2";
18512             signal: "e,state,busy,start";
18513             source: "e";
18514             action: STATE_SET "default" 0.0;
18515             transition: LINEAR 0.5;
18516             target: "busy";
18517             after: "go2";
18518          }
18519          program {
18520             name: "stop1";
18521             signal: "e,state,busy,stop";
18522             source: "e";
18523             action: STATE_SET "default" 0.0;
18524             transition: SINUSOIDAL 1.0;
18525             target: "busy_clip";
18526             after: "stop2";
18527          }
18528          program {
18529             name: "stop2";
18530             action: ACTION_STOP;
18531             target: "go2";
18532          }
18533          program {
18534             name: "gob1";
18535             signal: "e,state,typebuf,start";
18536             source: "e";
18537             action: STATE_SET "active" 0.0;
18538             transition: SINUSOIDAL 0.25;
18539             target: "typebuf_clip";
18540          }
18541          program {
18542             name: "stopb1";
18543             signal: "e,state,typebuf,stop";
18544             source: "e";
18545             action: STATE_SET "default" 0.0;
18546             transition: SINUSOIDAL 1.0;
18547             target: "typebuf_clip";
18548          }
18549       }
18550    }
18551
18552 #if 0
18553    group {
18554       name: "e/fileman/default/icon/variable";
18555       images {
18556          image: "bt_sm_base1.png" COMP;
18557          image: "bt_sm_shine.png" COMP;
18558          image: "bt_sm_hilight.png" COMP;
18559          image: "e17_mini_button_shadow2.png" COMP;
18560          image: "e17_fileman_thumb_bg.png" COMP;
18561          image: "icon_efm_dnd_copy.png" COMP;
18562          image: "icon_efm_dnd_ask.png" COMP;
18563          image: "icon_efm_dnd_move.png" COMP;
18564          image: "icon_efm_vol_unmounted.png" COMP;
18565          image: "icon_efm_vol_mounted.png" COMP;
18566       }
18567       parts {
18568          part {
18569             name: "label2";
18570             type: TEXT;
18571             mouse_events: 0;
18572             scale: 1;
18573             description {
18574                state: "default" 0.0;
18575                align: 0.5 1.0;
18576                fixed: 0 1;
18577                rel1.to: "e.text.label";
18578                rel2.to: "e.text.label";
18579                color: 0 0 0 255;
18580                text {
18581                   font: "Sans";
18582                   text_source: "e.text.label";
18583                   size: 10;
18584                   min: 1 1;
18585                   align: 0.5 0.5;
18586                   text_class: "fileman_icon";
18587                }
18588             }
18589             description {
18590                state: "selected" 0.0;
18591                inherit: "default" 0.0;
18592                visible: 0;
18593             }
18594          }
18595          part {
18596             name: "bg";
18597             mouse_events: 0;
18598             description {
18599                state: "default" 0.0;
18600                visible: 0;
18601                color: 255 255 255 0;
18602                rel1 {
18603                   relative: 0.0 0.0;
18604                   offset: -5 -5;
18605                }
18606                rel2 {
18607                   relative: 1.0 1.0;
18608                   offset: 4 4;
18609                }
18610                image {
18611                   normal: "bt_sm_base1.png";
18612                   border: 6 6 6 6;
18613                }
18614             }
18615             description {
18616                state: "selected" 0.0;
18617                inherit: "default" 0.0;
18618                visible: 1;
18619                color: 255 255 255 255;
18620                rel1 {
18621                   relative: 0.0 0.0;
18622                   offset: -2 -2;
18623                }
18624                rel2 {
18625                   relative: 1.0 1.0;
18626                   offset: 1 1;
18627                }
18628             }
18629          }
18630          part {
18631             name: "icon_box_shadow";
18632             mouse_events: 0;
18633             description {
18634                state: "default" 0.0;
18635                visible: 0;
18636                rel1 {
18637                   to: "icon_box";
18638                   relative: 0.0 0.0;
18639                   offset: -1 -1;
18640                }
18641                rel2 {
18642                   to: "icon_box";
18643                   relative: 1.0 1.0;
18644                   offset: 2 2;
18645                }
18646                image {
18647                   normal: "e17_mini_button_shadow2.png";
18648                   border: 6 6 6 6;
18649                }
18650             }
18651             description {
18652                state: "visible" 0.0;
18653                inherit: "default" 0.0;
18654                visible: 1;
18655             }
18656          }
18657          part {
18658             name: "icon_box";
18659             type: RECT;
18660             mouse_events: 0;
18661             description {
18662                state: "default" 0.0;
18663                visible: 0;
18664                align: 0.5 0.5;
18665                rel1 {
18666                   to: "e.swallow.icon";
18667                   relative: 0.0 0.0;
18668                   offset: -1 -1;
18669                }
18670                rel2 {
18671                   to: "e.swallow.icon";
18672                   relative: 1.0 1.0;
18673                   offset: 0 0;
18674                }
18675                color: 0 0 0 64;
18676             }
18677             description {
18678                state: "visible" 0.0;
18679                inherit: "default" 0.0;
18680                visible: 1;
18681             }
18682          }
18683          part {
18684             name: "icon_box_bg";
18685             mouse_events: 0;
18686             description {
18687                state: "default" 0.0;
18688                visible: 0;
18689                rel1 {
18690                   to: "icon_box";
18691                   relative: 0.0 0.0;
18692                   offset: 1 1;
18693                }
18694                rel2 {
18695                   to: "icon_box";
18696                   relative: 1.0 1.0;
18697                   offset: -2 -2;
18698                }
18699                image.normal: "pager_base2.png";
18700                fill {
18701                   smooth: 0;
18702                   size {
18703                      relative: 0 0;
18704                      offset: 32 32;
18705                   }
18706                }
18707             }
18708             description {
18709                state: "visible" 0.0;
18710                inherit: "default" 0.0;
18711                visible: 1;
18712             }
18713          }
18714          part {
18715             name: "icon0";
18716             type: RECT;
18717             mouse_events: 0;
18718             description {
18719                state: "default" 0.0;
18720                align: 0.5 0.5;
18721                aspect: 1.0 1.0;
18722                aspect_preference: VERTICAL;
18723                visible: 0;
18724                rel1 {
18725                   relative: 0.0 0.0;
18726                   offset: 2 2;
18727                }
18728                rel2 {
18729                   to_y: "e.text.label";
18730                   relative: 1.0 0.0;
18731                   offset: -3 -1;
18732                }
18733                color: 0 0 0 0;
18734             }
18735          }
18736          part {
18737             name: "icon";
18738             type: RECT;
18739             mouse_events: 0;
18740             description {
18741                state: "default" 0.0;
18742                align: 0.5 0.5;
18743                aspect: 1.0 1.0;
18744                aspect_preference: BOTH;
18745                visible: 0;
18746                rel1.to: "icon0";
18747                rel2.to: "icon0";
18748                color: 0 0 0 0;
18749             }
18750             description {
18751                state: "min" 0.0;
18752                inherit: "default" 0.0;
18753                max: 0 0;
18754             }
18755             description {
18756                state: "max" 0.0;
18757                inherit: "default" 0.0;
18758                rel1 {
18759                   to: "icon0";
18760                   relative: 0.0  0.0;
18761                   offset: -4   -4;
18762                }
18763                rel2 {
18764                   to: "icon0";
18765                   relative: 1.0  1.0;
18766                   offset: 3    3;
18767                }
18768             }
18769             description {
18770                state: "max2" 0.0;
18771                inherit: "default" 0.0;
18772                rel1 {
18773                   to: "icon0";
18774                   relative: 0.0  0.0;
18775                   offset: -2   -2;
18776                }
18777                rel2 {
18778                   to: "icon0";
18779                   relative: 1.0  1.0;
18780                   offset: 1    1;
18781                }
18782             }
18783          }
18784          part {
18785             name: "e.swallow.icon";
18786             type: SWALLOW;
18787             description {
18788                state: "default" 0.0;
18789                aspect: 1.0 1.0;
18790                aspect_preference: BOTH;
18791                align: 0.5 0.5;
18792                // fixed: 1 1;
18793                rel1.to: "icon";
18794                rel2.to: "icon";
18795             }
18796          }
18797          part {
18798             name: "e.text.label";
18799             type: TEXT;
18800             effect: SOFT_SHADOW;
18801             mouse_events: 0;
18802             scale: 1;
18803             description {
18804                state: "default" 0.0;
18805                align: 0.5 1.0;
18806                fixed: 0 1;
18807                rel1 {
18808                   relative: 0.0 1.0;
18809                   offset: 2 -2;
18810                }
18811                rel2 {
18812                   relative: 1.0 1.0;
18813                   offset: -3 -2;
18814                }
18815                visible: 0;
18816                color: 224 224 224 255;
18817                color3: 0 0 0 64;
18818                text {
18819                   font: "Sans:style=Bold";
18820                   size: 10;
18821                   min: 1 1;
18822                   align: 0.5 0.5;
18823                   text_class: "fileman_icon";
18824                }
18825             }
18826             description {
18827                state: "selected" 0.0;
18828                inherit: "default" 0.0;
18829                visible: 1;
18830             }
18831          }
18832          part {
18833             name: "fg1";
18834             mouse_events: 0;
18835             description {
18836                state: "default" 0.0;
18837                visible: 0;
18838                color: 255 255 255 0;
18839                rel1.to: "bg";
18840                rel2.relative: 1.0 0.5;
18841                rel2.to: "bg";
18842                image {
18843                   normal: "bt_sm_hilight.png";
18844                   border: 6 6 6 0;
18845                }
18846             }
18847             description {
18848                state: "selected" 0.0;
18849                inherit: "default" 0.0;
18850                visible: 1;
18851                color: 255 255 255 255;
18852             }
18853          }
18854          part {
18855             name: "fg2";
18856             mouse_events: 0;
18857             description {
18858                state: "default" 0.0;
18859                visible: 0;
18860                color: 255 255 255 0;
18861                rel1.to: "bg";
18862                rel2.to: "bg";
18863                image {
18864                   normal: "bt_sm_shine.png";
18865                   border: 6 6 6 0;
18866                }
18867             }
18868             description {
18869                state: "selected" 0.0;
18870                inherit: "default" 0.0;
18871                visible: 1;
18872                color: 255 255 255 255;
18873             }
18874          }
18875          part {
18876             name: "event";
18877             type: RECT;
18878             mouse_events: 1;
18879             description {
18880                state: "default" 0.0;
18881                color: 0 0 0 0;
18882             }
18883          }
18884          part {
18885             name: "vol_state";
18886             type: IMAGE;
18887             mouse_events: 0;
18888             repeat_events: 0;
18889             description {
18890                state: "default" 0.0;
18891                color: 0 0 0 0;
18892             }
18893             description {
18894                state: "visible" 0.0;
18895                aspect: 1.0 1.0;
18896                aspect_preference: BOTH;
18897                align: 1.0 1.0;
18898                min: 16 16;
18899                rel1 {
18900                   relative: 0.75 0.0;
18901                   to: "icon";
18902                }
18903                rel2 {
18904                   relative: 1.0 1.0;
18905                   to: "icon";
18906                }
18907             }
18908             description {
18909                state: "unmounted" 0.0;
18910                inherit: "visible" 0.0;
18911                image.normal: "icon_efm_vol_unmounted.png";
18912             }
18913             description {
18914                state: "mounted" 0.0;
18915                inherit: "visible" 0.0;
18916                image.normal: "icon_efm_vol_mounted.png";
18917             }
18918          }
18919          part {
18920             name: "dnd_action";
18921             type: IMAGE;
18922             mouse_events: 0;
18923             repeat_events: 0;
18924             description {
18925                state: "default" 0.0;
18926                color: 0 0 0 0;
18927             }
18928             description {
18929                state: "visible" 0.0;
18930                aspect: 1.0 1.0;
18931                aspect_preference: BOTH;
18932                align: 1.0 1.0;
18933                min: 24 24;
18934                rel1.relative: 0.75 0.0;
18935                rel2.relative: 1.0 1.0;
18936             }
18937             description {
18938                state: "copy" 0.0;
18939                inherit: "visible" 0.0;
18940                image.normal: "icon_efm_dnd_copy.png";
18941             }
18942             description {
18943                state: "ask" 0.0;
18944                inherit: "visible" 0.0;
18945                image.normal: "icon_efm_dnd_ask.png";
18946             }
18947             description {
18948                state: "move" 0.0;
18949                inherit: "visible" 0.0;
18950                image.normal: "icon_efm_dnd_move.png";
18951             }
18952          }
18953          part {
18954             name: "e.swallow.entry";
18955             type: SWALLOW;
18956             description {
18957                state: "default" 0.0;
18958                rel1.to: "e.text.label";
18959                rel2.to: "e.text.label";
18960             }
18961          }
18962       }
18963       programs {
18964          program {
18965             name: "go_active";
18966             signal: "e,state,selected";
18967             source: "e";
18968             action: STATE_SET "selected" 0.0;
18969             target: "bg";
18970             target: "fg1";
18971             target: "fg2";
18972             target: "e.text.label";
18973             target: "label2";
18974             transition: LINEAR 0.2;
18975          }
18976          program {
18977             name: "go_passive";
18978             signal: "e,state,unselected";
18979             source: "e";
18980             action: STATE_SET "default" 0.0;
18981             target: "bg";
18982             target: "fg1";
18983             target: "fg2";
18984             target: "e.text.label";
18985             target: "label2";
18986             transition: LINEAR 0.1;
18987          }
18988          program {
18989             name: "ask";
18990             signal: "e,state,ask";
18991             source: "e";
18992             action: STATE_SET "ask" 0.0;
18993             target: "dnd_action";
18994          }
18995          program {
18996             name: "move";
18997             signal: "e,state,move";
18998             source: "e";
18999             action: STATE_SET "move" 0.0;
19000             target: "dnd_action";
19001          }
19002          program {
19003             name: "copy";
19004             signal: "e,state,copy";
19005             source: "e";
19006             action: STATE_SET "copy" 0.0;
19007             target: "dnd_action";
19008          }
19009          program {
19010             name: "vol_off";
19011             signal: "e,state,volume,off";
19012             source: "e";
19013             action: STATE_SET "default" 0.0;
19014             target: "vol_state";
19015          }
19016          program {
19017             name: "vol_unmounted";
19018             signal: "e,state,volume,unmounted";
19019             source: "e";
19020             action: STATE_SET "unmounted" 0.0;
19021             target: "vol_state";
19022          }
19023          program {
19024             name: "vol_mounted";
19025             signal: "e,state,volume,mounted";
19026             source: "e";
19027             action: STATE_SET "mounted" 0.0;
19028             target: "vol_state";
19029          }
19030          program {
19031             name: "thumb_gen";
19032             signal: "e,action,thumb,gen";
19033             source: "e";
19034             action: STATE_SET "visible" 0.0;
19035             target: "icon_box_shadow";
19036             target: "icon_box";
19037             target: "icon_box_bg";
19038             after: "thumb_gen2";
19039          }
19040          program {
19041             name: "thumb_gen-";
19042             signal: "e,action,thumb,gen,alpha";
19043             source: "e";
19044             action: STATE_SET "default" 0.0;
19045             target: "icon_box_shadow";
19046             target: "icon_box";
19047             target: "icon_box_bg";
19048             after: "thumb_gen2";
19049          }
19050          program {
19051             name: "thumb_gen2";
19052             action: STATE_SET "min" 0.0;
19053             target: "icon";
19054             after: "thumb_gen3";
19055          }
19056          program {
19057             name: "thumb_gen3";
19058             action: STATE_SET "max" 0.0;
19059             target: "icon";
19060             transition: DECELERATE 0.2;
19061             after: "thumb_gen4";
19062          }
19063          program {
19064             name: "thumb_gen4";
19065             action: STATE_SET "default" 0.0;
19066             target: "icon";
19067             transition: SINUSOIDAL 0.1;
19068             after: "thumb_gen5";
19069          }
19070          program {
19071             name: "thumb_gen5";
19072             action: STATE_SET "max2" 0.0;
19073             target: "icon";
19074             transition: SINUSOIDAL 0.2;
19075             after: "thumb_gen6";
19076          }
19077          program {
19078             name: "thumb_gen6";
19079             action: STATE_SET "default" 0.0;
19080             target: "icon";
19081             transition: SINUSOIDAL 0.3;
19082          }
19083       }
19084    }
19085 #endif
19086    group {
19087       name: "e/fileman/default/icon/fixed";
19088       alias: "e/fileman/default/icon/variable";
19089
19090       images {
19091          image: "bt_sm_base1.png" COMP;
19092          image: "bt_sm_shine.png" COMP;
19093          image: "bt_sm_hilight.png" COMP;
19094          image: "e17_mini_button_shadow2.png" COMP;
19095          image: "e17_fileman_thumb_bg.png" COMP;
19096          image: "icon_efm_dnd_copy.png" COMP;
19097          image: "icon_efm_dnd_ask.png" COMP;
19098          image: "icon_efm_dnd_move.png" COMP;
19099          image: "icon_efm_vol_unmounted.png" COMP;
19100          image: "icon_efm_vol_mounted.png" COMP;
19101       }
19102       styles {
19103         style {
19104             name: "fileman_icon_name";
19105             base: "font=Sans font_size=10 align=center text_class=fileman_icon align=center color=#fff wrap=mixed ellipsis=1.0";
19106         }
19107         style {
19108             name: "fileman_icon_name_full";
19109             base: "font=Sans font_size=10 text_class=fileman_icon align=center color=#fff wrap=mixed style=soft_shadow shadow_color=#0002";
19110         }
19111       }
19112
19113       parts {
19114          part {
19115             name: "label2";
19116             type: TEXTBLOCK;
19117             mouse_events: 0;
19118             scale: 1;
19119             description {
19120                state: "default" 0.0;
19121                align: 0.5 0.0;
19122                fixed: 1 1;
19123                color: 0 0 0 255;
19124                rel1 {
19125                   to_y: "icon0";
19126                   relative: 0.0 1.0;
19127                   offset: 3 3;
19128                }
19129                rel2 {
19130                   relative: 1.0 1.0;
19131                   offset: -3 -1;
19132                }
19133                text {
19134                   text_source: "e.text.label";
19135                   style: "fileman_icon_name";
19136                   align: 0.5 0.0;
19137                   min: 0 1;
19138                   text_class: "fileman_icon";
19139                }
19140             }
19141             description {
19142                state: "selected" 0.0;
19143                inherit: "default" 0.0;
19144                visible: 0;
19145             }
19146          }
19147          part {
19148             name: "bg";
19149             mouse_events: 0;
19150             description {
19151                state: "default" 0.0;
19152                visible: 0;
19153                color: 255 255 255 0;
19154                rel1.to_x: "e.text.label";
19155                rel1.offset: -2 0;
19156                rel2.to: "e.text.label";
19157                rel2.offset: 3 6;
19158
19159                image {
19160                   normal: "bt_sm_base1.png";
19161                   border: 6 6 6 6;
19162                }
19163             }
19164             description {
19165                state: "selected" 0.0;
19166                inherit: "default" 0.0;
19167                visible: 1;
19168                color: 255 255 255 255;
19169             }
19170          }
19171          part {
19172             name: "icon_box_shadow";
19173             mouse_events: 0;
19174             description {
19175                state: "default" 0.0;
19176                visible: 0;
19177                rel1 {
19178                   to: "icon_box";
19179                   relative: 0.0 0.0;
19180                   offset: -1 -1;
19181                }
19182                rel2 {
19183                   to: "icon_box";
19184                   relative: 1.0 1.0;
19185                   offset: 2 2;
19186                }
19187                image {
19188                   normal: "e17_mini_button_shadow2.png";
19189                   border: 6 6 6 6;
19190                }
19191             }
19192             description {
19193                state: "visible" 0.0;
19194                inherit: "default" 0.0;
19195                visible: 1;
19196             }
19197          }
19198          part {
19199             name: "icon_box";
19200             type: RECT;
19201             mouse_events: 0;
19202             description {
19203                state: "default" 0.0;
19204                visible: 0;
19205                align: 0.5 0.5;
19206                rel1 {
19207                   to: "e.swallow.icon";
19208                   relative: 0.0 0.0;
19209                   offset: -1 -1;
19210                }
19211                rel2 {
19212                   to: "e.swallow.icon";
19213                   relative: 1.0 1.0;
19214                   offset: 0 0;
19215                }
19216                color: 0 0 0 64;
19217             }
19218             description {
19219                state: "visible" 0.0;
19220                inherit: "default" 0.0;
19221                visible: 1;
19222             }
19223          }
19224          part {
19225             name: "icon_box_bg";
19226             mouse_events: 0;
19227             description {
19228                state: "default" 0.0;
19229                visible: 0;
19230                rel1 {
19231                   to: "icon_box";
19232                   relative: 0.0 0.0;
19233                   offset: 1 1;
19234                }
19235                rel2 {
19236                   to: "icon_box";
19237                   relative: 1.0 1.0;
19238                   offset: -2 -2;
19239                }
19240                image.normal: "pager_base2.png";
19241                fill {
19242                   smooth: 0;
19243                   size {
19244                      relative: 0 0;
19245                      offset: 32 32;
19246                   }
19247                }
19248             }
19249             description {
19250                state: "visible" 0.0;
19251                inherit: "default" 0.0;
19252                visible: 1;
19253             }
19254          }
19255          part {
19256             name: "icon0";
19257             type: RECT;
19258             mouse_events: 0;
19259             description {
19260                state: "default" 0.0;
19261                align: 0.5 0.5;
19262                aspect: 1.5 1.0;
19263                aspect_preference: BOTH;
19264                visible: 0;
19265                /* color: 200 0 0 100; */
19266                rel1 {
19267                   relative: 0.0 0.0;
19268                   offset: 5 5;
19269                }
19270                rel2 {
19271                   relative: 1.0 1.0;
19272                   offset: -6 -40;
19273                }
19274             }
19275          }
19276          part {
19277             name: "icon";
19278             type: RECT;
19279             mouse_events: 0;
19280             description {
19281                state: "default" 0.0;
19282                align: 0.5 0.5;
19283                aspect: 1.0 1.0;
19284                aspect_preference: BOTH;
19285                visible: 0;
19286                rel1.to: "icon0";
19287                rel2.to: "icon0";
19288                color: 0 0 0 0;
19289             }
19290             description {
19291                state: "min" 0.0;
19292                inherit: "default" 0.0;
19293                max: 0 0;
19294             }
19295             description {
19296                state: "max" 0.0;
19297                inherit: "default" 0.0;
19298                rel1 {
19299                   to: "icon0";
19300                   relative: 0.0  0.0;
19301                   offset: -4   -4;
19302                }
19303                rel2 {
19304                   to: "icon0";
19305                   relative: 1.0  1.0;
19306                   offset: 3    3;
19307                }
19308             }
19309             description {
19310                state: "max2" 0.0;
19311                inherit: "default" 0.0;
19312                rel1 {
19313                   to: "icon0";
19314                   relative: 0.0  0.0;
19315                   offset: -2   -2;
19316                }
19317                rel2 {
19318                   to: "icon0";
19319                   relative: 1.0  1.0;
19320                   offset: 1    1;
19321                }
19322             }
19323          }
19324          part {
19325             name: "e.swallow.icon";
19326             type: SWALLOW;
19327             description {
19328                state: "default" 0.0;
19329                aspect: 1.0 1.0;
19330                aspect_preference: BOTH;
19331                align: 0.5 0.5;
19332                // fixed: 1 1;
19333                rel1.to: "icon";
19334                rel2.to: "icon";
19335             }
19336          }
19337          part {
19338             name: "e.text.label";
19339             type: TEXTBLOCK;
19340             effect: SOFT_SHADOW;
19341             mouse_events: 0;
19342             scale: 1;
19343             description {
19344                state: "default" 0.0;
19345                align: 0.5 0.0;
19346                fixed: 1 1;
19347                color: 224 224 224 255;
19348                color3: 0 0 0 64;
19349                visible: 0;
19350                rel1 {
19351                   to_y: "icon0";
19352                   relative: 0.0 1.0;
19353                   offset: 3 3;
19354                }
19355                rel2 {
19356                   relative: 1.0 1.0;
19357                   offset: -3 -1;
19358                }
19359
19360                text {
19361                   style: "fileman_icon_name_full";
19362                   min: 0 1;
19363                   max: 0 1;
19364                   text_class: "fileman_icon";
19365                }
19366             }
19367             description {
19368                state: "selected" 0.0;
19369                inherit: "default" 0.0;
19370                visible: 1;
19371             }
19372          }
19373          part {
19374             name: "fg1";
19375             mouse_events: 0;
19376             description {
19377                state: "default" 0.0;
19378                visible: 0;
19379                color: 255 255 255 0;
19380                rel1.to: "bg";
19381                rel2.relative: 1.0 0.5;
19382                rel2.to: "bg";
19383                image {
19384                   normal: "bt_sm_hilight.png";
19385                   border: 6 6 6 0;
19386                }
19387             }
19388             description {
19389                state: "selected" 0.0;
19390                inherit: "default" 0.0;
19391                visible: 1;
19392                color: 255 255 255 255;
19393             }
19394          }
19395          part {
19396             name: "fg2";
19397             mouse_events: 0;
19398             description {
19399                state: "default" 0.0;
19400                visible: 0;
19401                color: 255 255 255 0;
19402                rel1.to: "bg";
19403                rel2.to: "bg";
19404                image {
19405                   normal: "bt_sm_shine.png";
19406                   border: 6 6 6 0;
19407                }
19408             }
19409             description {
19410                state: "selected" 0.0;
19411                inherit: "default" 0.0;
19412                visible: 1;
19413                color: 255 255 255 255;
19414             }
19415          }
19416          part {
19417             name: "event";
19418             type: RECT;
19419             mouse_events: 1;
19420             description {
19421                state: "default" 0.0;
19422                color: 0 0 0 0;
19423                rel1.offset: 8 8;
19424                rel2.offset: -9 -9;
19425             }
19426          }
19427          part {
19428             name: "label_event";
19429             type: RECT;
19430             mouse_events: 1;
19431             repeat_events: 1;
19432             ignore_flags: ON_HOLD;
19433             description {
19434                state: "default" 0.0;
19435                color: 0 0 0 0;
19436                rel1.to: "e.text.label";
19437                rel2.to: "e.text.label";
19438             }
19439          }
19440          part {
19441             name: "vol_state";
19442             type: IMAGE;
19443             mouse_events: 0;
19444             repeat_events: 0;
19445             description {
19446                state: "default" 0.0;
19447                color: 0 0 0 0;
19448             }
19449             description {
19450                state: "visible" 0.0;
19451                aspect: 1.0 1.0;
19452                aspect_preference: BOTH;
19453                align: 1.0 1.0;
19454                min: 16 16;
19455                rel1 {
19456                   relative: 0.75 0.0;
19457                   to: "icon";
19458                }
19459                rel2 {
19460                   relative: 1.0 1.0;
19461                   to: "icon";
19462                }
19463             }
19464             description {
19465                state: "unmounted" 0.0;
19466                inherit: "visible" 0.0;
19467                image.normal: "icon_efm_vol_unmounted.png";
19468             }
19469             description {
19470                state: "mounted" 0.0;
19471                inherit: "visible" 0.0;
19472                image.normal: "icon_efm_vol_mounted.png";
19473             }
19474          }
19475          part {
19476             name: "dnd_action";
19477             type: IMAGE;
19478             mouse_events: 0;
19479             repeat_events: 0;
19480             description {
19481                state: "default" 0.0;
19482                color: 0 0 0 0;
19483             }
19484             description {
19485                state: "visible" 0.0;
19486                aspect: 1.0 1.0;
19487                aspect_preference: BOTH;
19488                align: 1.0 1.0;
19489                min: 24 24;
19490                rel1.relative: 0.75 0.0;
19491                rel2.relative: 1.0 1.0;
19492             }
19493             description {
19494                state: "copy" 0.0;
19495                inherit: "visible" 0.0;
19496                image.normal: "icon_efm_dnd_copy.png";
19497             }
19498             description {
19499                state: "ask" 0.0;
19500                inherit: "visible" 0.0;
19501                image.normal: "icon_efm_dnd_ask.png";
19502             }
19503             description {
19504                state: "move" 0.0;
19505                inherit: "visible" 0.0;
19506                image.normal: "icon_efm_dnd_move.png";
19507             }
19508          }
19509          part {
19510             name: "e.swallow.entry";
19511             type: SWALLOW;
19512             description {
19513                state: "default" 0.0;
19514                rel1.to: "e.text.label";
19515                rel2.to: "e.text.label";
19516             }
19517          }
19518       }
19519       programs {
19520          program {
19521             name: "label_click";
19522             signal: "mouse,clicked,1";
19523             source: "label_event";
19524             action: SIGNAL_EMIT "e,action,label,click" "e";
19525          }
19526          program {
19527             name: "go_active";
19528             signal: "e,state,selected";
19529             source: "e";
19530             action: STATE_SET "selected" 0.0;
19531             target: "bg";
19532             target: "fg1";
19533             target: "fg2";
19534             target: "e.text.label";
19535             target: "label2";
19536             transition: LINEAR 0.2;
19537          }
19538          program {
19539             name: "go_passive";
19540             signal: "e,state,unselected";
19541             source: "e";
19542             action: STATE_SET "default" 0.0;
19543             target: "bg";
19544             target: "fg1";
19545             target: "fg2";
19546             target: "e.text.label";
19547             target: "label2";
19548             transition: LINEAR 0.1;
19549          }
19550          program {
19551             name: "ask";
19552             signal: "e,state,ask";
19553             source: "e";
19554             action: STATE_SET "ask" 0.0;
19555             target: "dnd_action";
19556          }
19557          program {
19558             name: "move";
19559             signal: "e,state,move";
19560             source: "e";
19561             action: STATE_SET "move" 0.0;
19562             target: "dnd_action";
19563          }
19564          program {
19565             name: "copy";
19566             signal: "e,state,copy";
19567             source: "e";
19568             action: STATE_SET "copy" 0.0;
19569             target: "dnd_action";
19570          }
19571          program {
19572             name: "vol_off";
19573             signal: "e,state,volume,off";
19574             source: "e";
19575             action: STATE_SET "default" 0.0;
19576             target: "vol_state";
19577          }
19578          program {
19579             name: "vol_unmounted";
19580             signal: "e,state,volume,unmounted";
19581             source: "e";
19582             action: STATE_SET "unmounted" 0.0;
19583             target: "vol_state";
19584          }
19585          program {
19586             name: "vol_mounted";
19587             signal: "e,state,volume,mounted";
19588             source: "e";
19589             action: STATE_SET "mounted" 0.0;
19590             target: "vol_state";
19591          }
19592          program {
19593             name: "thumb_gen";
19594             signal: "e,action,thumb,gen";
19595             source: "e";
19596             action: STATE_SET "visible" 0.0;
19597             target: "icon_box_shadow";
19598             target: "icon_box";
19599             target: "icon_box_bg";
19600             after: "thumb_gen2";
19601          }
19602          program {
19603             name: "thumb_gen-";
19604             signal: "e,action,thumb,gen,alpha";
19605             source: "e";
19606             action: STATE_SET "default" 0.0;
19607             target: "icon_box_shadow";
19608             target: "icon_box";
19609             target: "icon_box_bg";
19610             after: "thumb_gen2";
19611          }
19612          program {
19613             name: "thumb_gen2";
19614             action: STATE_SET "min" 0.0;
19615             target: "icon";
19616             after: "thumb_gen3";
19617          }
19618          program {
19619             name: "thumb_gen3";
19620             action: STATE_SET "max" 0.0;
19621             target: "icon";
19622             transition: DECELERATE 0.2;
19623             after: "thumb_gen4";
19624          }
19625          program {
19626             name: "thumb_gen4";
19627             action: STATE_SET "default" 0.0;
19628             target: "icon";
19629             transition: SINUSOIDAL 0.1;
19630             after: "thumb_gen5";
19631          }
19632          program {
19633             name: "thumb_gen5";
19634             action: STATE_SET "max2" 0.0;
19635             target: "icon";
19636             transition: SINUSOIDAL 0.2;
19637             after: "thumb_gen6";
19638          }
19639          program {
19640             name: "thumb_gen6";
19641             action: STATE_SET "default" 0.0;
19642             target: "icon";
19643             transition: SINUSOIDAL 0.3;
19644          }
19645       }
19646    }
19647 #if 0
19648    group {
19649       name: "e/fileman/desktop/icon/variable";
19650       images {
19651          image: "bt_sm_base1.png" COMP;
19652          image: "bt_sm_shine.png" COMP;
19653          image: "bt_sm_hilight.png" COMP;
19654          image: "e17_mini_button_shadow2.png" COMP;
19655          image: "e17_fileman_thumb_bg.png" COMP;
19656          image: "icon_efm_dnd_copy.png" COMP;
19657          image: "icon_efm_dnd_ask.png" COMP;
19658          image: "icon_efm_dnd_move.png" COMP;
19659          image: "icon_efm_vol_unmounted.png" COMP;
19660          image: "icon_efm_vol_mounted.png" COMP;
19661       }
19662       parts {
19663          part {
19664             name: "bg";
19665             mouse_events: 0;
19666             description {
19667                state: "default" 0.0;
19668                visible: 0;
19669                color: 255 255 255 0;
19670                rel1 {
19671                   relative: 0.0 0.0;
19672                   offset: -5 -5;
19673                }
19674                rel2 {
19675                   relative: 1.0 1.0;
19676                   offset: 4 4;
19677                }
19678                image {
19679                   normal: "bt_sm_base1.png";
19680                   border: 6 6 6 6;
19681                }
19682             }
19683             description {
19684                state: "selected" 0.0;
19685                inherit: "default" 0.0;
19686                visible: 1;
19687                color: 255 255 255 255;
19688                rel1 {
19689                   relative: 0.0 0.0;
19690                   offset: -2 -2;
19691                }
19692                rel2 {
19693                   relative: 1.0 1.0;
19694                   offset: 1 1;
19695                }
19696             }
19697          }
19698          part {
19699             name: "icon_box_shadow";
19700             mouse_events: 0;
19701             description {
19702                state: "default" 0.0;
19703                visible: 0;
19704                rel1 {
19705                   to: "icon_box";
19706                   relative: 0.0 0.0;
19707                   offset: -1 -1;
19708                }
19709                rel2 {
19710                   to: "icon_box";
19711                   relative: 1.0 1.0;
19712                   offset: 2 2;
19713                }
19714                image {
19715                   normal: "e17_mini_button_shadow2.png";
19716                   border: 6 6 6 6;
19717                }
19718             }
19719             description {
19720                state: "visible" 0.0;
19721                inherit: "default" 0.0;
19722                visible: 1;
19723             }
19724          }
19725          part {
19726             name: "icon_box";
19727             type: RECT;
19728             mouse_events: 0;
19729             description {
19730                state: "default" 0.0;
19731                visible: 0;
19732                align: 0.5 0.5;
19733                rel1 {
19734                   to: "e.swallow.icon";
19735                   relative: 0.0 0.0;
19736                   offset: -1 -1;
19737                }
19738                rel2 {
19739                   to: "e.swallow.icon";
19740                   relative: 1.0 1.0;
19741                   offset: 0 0;
19742                }
19743                color: 0 0 0 64;
19744             }
19745             description {
19746                state: "visible" 0.0;
19747                inherit: "default" 0.0;
19748                visible: 1;
19749             }
19750          }
19751          part {
19752             name: "icon_box_bg";
19753             mouse_events: 0;
19754             description {
19755                state: "default" 0.0;
19756                visible: 0;
19757                rel1 {
19758                   to: "icon_box";
19759                   relative: 0.0 0.0;
19760                   offset: 1 1;
19761                }
19762                rel2 {
19763                   to: "icon_box";
19764                   relative: 1.0 1.0;
19765                   offset: -2 -2;
19766                }
19767                image.normal: "pager_base2.png";
19768                fill {
19769                   smooth: 0;
19770                   size {
19771                      relative: 0 0;
19772                      offset: 32 32;
19773                   }
19774                }
19775             }
19776             description {
19777                state: "visible" 0.0;
19778                inherit: "default" 0.0;
19779                visible: 1;
19780             }
19781          }
19782          part {
19783             name: "icon0";
19784             type: RECT;
19785             mouse_events: 0;
19786             description {
19787                state: "default" 0.0;
19788                align: 0.5 0.5;
19789                aspect: 1.0 1.0;
19790                aspect_preference: VERTICAL;
19791                visible: 0;
19792                rel1 {
19793                   relative: 0.0 0.0;
19794                   offset: 2 2;
19795                }
19796                rel2 {
19797                   to_y: "e.text.label";
19798                   relative: 1.0 0.0;
19799                   offset: -3 -1;
19800                }
19801                color: 0 0 0 0;
19802             }
19803          }
19804          part {
19805             name: "icon";
19806             type: RECT;
19807             mouse_events: 0;
19808             description {
19809                state: "default" 0.0;
19810                align: 0.5 0.5;
19811                aspect: 1.0 1.0;
19812                aspect_preference: BOTH;
19813                visible: 0;
19814                rel1.to: "icon0";
19815                rel2.to: "icon0";
19816                color: 0 0 0 0;
19817             }
19818             description {
19819                state: "min" 0.0;
19820                inherit: "default" 0.0;
19821                max: 0 0;
19822             }
19823             description {
19824                state: "max" 0.0;
19825                inherit: "default" 0.0;
19826                rel1 {
19827                   to: "icon0";
19828                   relative: 0.0  0.0;
19829                   offset: -4   -4;
19830                }
19831                rel2 {
19832                   to: "icon0";
19833                   relative: 1.0  1.0;
19834                   offset: 3    3;
19835                }
19836             }
19837             description {
19838                state: "max2" 0.0;
19839                inherit: "default" 0.0;
19840                rel1 {
19841                   to: "icon0";
19842                   relative: 0.0  0.0;
19843                   offset: -2   -2;
19844                }
19845                rel2 {
19846                   to: "icon0";
19847                   relative: 1.0  1.0;
19848                   offset: 1    1;
19849                }
19850             }
19851          }
19852          part {
19853             name: "e.swallow.icon";
19854             type: SWALLOW;
19855             description {
19856                state: "default" 0.0;
19857                aspect: 1.0 1.0;
19858                aspect_preference: BOTH;
19859                align: 0.5 0.5;
19860                // fixed: 1 1;
19861                rel1.to: "icon";
19862                rel2.to: "icon";
19863             }
19864          }
19865          part {
19866             name: "e.text.label";
19867             type: TEXT;
19868             effect: SOFT_SHADOW;
19869             mouse_events: 0;
19870             scale: 1;
19871             description {
19872                state: "default" 0.0;
19873                align: 0.5 1.0;
19874                fixed: 0 1;
19875                rel1 {
19876                   relative: 0.0 1.0;
19877                   offset: 2 -2;
19878                }
19879                rel2 {
19880                   relative: 1.0 1.0;
19881                   offset: -3 -2;
19882                }
19883                color: 224 224 224 255;
19884                color3: 0 0 0 32;
19885                text {
19886                   font: "Sans:style=Bold";
19887                   size: 10;
19888                   min: 1 1;
19889                   align: 0.5 0.5;
19890                   text_class: "desktop_icon";
19891                }
19892             }
19893             description {
19894                state: "selected" 0.0;
19895                inherit: "default" 0.0;
19896                color: 224 224 224 255;
19897                color3: 0 0 0 64;
19898             }
19899          }
19900          part {
19901             name: "fg1";
19902             mouse_events: 0;
19903             description {
19904                state: "default" 0.0;
19905                visible: 0;
19906                color: 255 255 255 0;
19907                rel1.to: "bg";
19908                rel2.relative: 1.0 0.5;
19909                rel2.to: "bg";
19910                image {
19911                   normal: "bt_sm_hilight.png";
19912                   border: 6 6 6 0;
19913                }
19914             }
19915             description {
19916                state: "selected" 0.0;
19917                inherit: "default" 0.0;
19918                visible: 1;
19919                color: 255 255 255 255;
19920             }
19921          }
19922          part {
19923             name: "fg2";
19924             mouse_events: 0;
19925             description {
19926                state: "default" 0.0;
19927                visible: 0;
19928                color: 255 255 255 0;
19929                rel1.to: "bg";
19930                rel2.to: "bg";
19931                image {
19932                   normal: "bt_sm_shine.png";
19933                   border: 6 6 6 0;
19934                }
19935             }
19936             description {
19937                state: "selected" 0.0;
19938                inherit: "default" 0.0;
19939                visible: 1;
19940                color: 255 255 255 255;
19941             }
19942          }
19943          part {
19944             name: "event";
19945             type: RECT;
19946             mouse_events: 1;
19947             description {
19948                state: "default" 0.0;
19949                color: 0 0 0 0;
19950             }
19951          }
19952          part {
19953             name: "vol_state";
19954             type: IMAGE;
19955             mouse_events: 0;
19956             repeat_events: 0;
19957             description {
19958                state: "default" 0.0;
19959                color: 0 0 0 0;
19960             }
19961             description {
19962                state: "visible" 0.0;
19963                aspect: 1.0 1.0;
19964                aspect_preference: BOTH;
19965                align: 1.0 1.0;
19966                min: 16 16;
19967                rel1 {
19968                   relative: 0.75 0.0;
19969                   to: "icon";
19970                }
19971                rel2 {
19972                   relative: 1.0 1.0;
19973                   to: "icon";
19974                }
19975             }
19976             description {
19977                state: "unmounted" 0.0;
19978                inherit: "visible" 0.0;
19979                image.normal: "icon_efm_vol_unmounted.png";
19980             }
19981             description {
19982                state: "mounted" 0.0;
19983                inherit: "visible" 0.0;
19984                image.normal: "icon_efm_vol_mounted.png";
19985             }
19986          }
19987          part {
19988             name: "dnd_action";
19989             type: IMAGE;
19990             mouse_events: 0;
19991             repeat_events: 0;
19992             description {
19993                state: "default" 0.0;
19994                color: 0 0 0 0;
19995             }
19996             description {
19997                state: "visible" 0.0;
19998                aspect: 1.0 1.0;
19999                aspect_preference: BOTH;
20000                align: 1.0 1.0;
20001                min: 24 24;
20002                rel1.relative: 0.75 0.0;
20003                rel2.relative: 1.0 1.0;
20004             }
20005             description {
20006                state: "copy" 0.0;
20007                inherit: "visible" 0.0;
20008                image.normal: "icon_efm_dnd_copy.png";
20009             }
20010             description {
20011                state: "ask" 0.0;
20012                inherit: "visible" 0.0;
20013                image.normal: "icon_efm_dnd_ask.png";
20014             }
20015             description {
20016                state: "move" 0.0;
20017                inherit: "visible" 0.0;
20018                image.normal: "icon_efm_dnd_move.png";
20019             }
20020          }
20021       }
20022       programs {
20023          program {
20024             name: "go_active";
20025             signal: "e,state,selected";
20026             source: "e";
20027             action: STATE_SET "selected" 0.0;
20028             target: "bg";
20029             target: "fg1";
20030             target: "fg2";
20031             target: "e.text.label";
20032             transition: LINEAR 0.2;
20033          }
20034          program {
20035             name: "go_passive";
20036             signal: "e,state,unselected";
20037             source: "e";
20038             action: STATE_SET "default" 0.0;
20039             target: "bg";
20040             target: "fg1";
20041             target: "fg2";
20042             target: "e.text.label";
20043             transition: LINEAR 0.1;
20044          }
20045          program {
20046             name: "ask";
20047             signal: "e,state,ask";
20048             source: "e";
20049             action: STATE_SET "ask" 0.0;
20050             target: "dnd_action";
20051          }
20052          program {
20053             name: "move";
20054             signal: "e,state,move";
20055             source: "e";
20056             action: STATE_SET "move" 0.0;
20057             target: "dnd_action";
20058          }
20059          program {
20060             name: "copy";
20061             signal: "e,state,copy";
20062             source: "e";
20063             action: STATE_SET "copy" 0.0;
20064             target: "dnd_action";
20065          }
20066          program {
20067             name: "vol_off";
20068             signal: "e,state,volume,off";
20069             source: "e";
20070             action: STATE_SET "default" 0.0;
20071             target: "vol_state";
20072          }
20073          program {
20074             name: "vol_unmounted";
20075             signal: "e,state,volume,unmounted";
20076             source: "e";
20077             action: STATE_SET "unmounted" 0.0;
20078             target: "vol_state";
20079          }
20080          program {
20081             name: "vol_mounted";
20082             signal: "e,state,volume,mounted";
20083             source: "e";
20084             action: STATE_SET "mounted" 0.0;
20085             target: "vol_state";
20086          }
20087          program {
20088             name: "thumb_gen";
20089             signal: "e,action,thumb,gen";
20090             source: "e";
20091             action: STATE_SET "visible" 0.0;
20092             target: "icon_box_shadow";
20093             target: "icon_box";
20094             target: "icon_box_bg";
20095             after: "thumb_gen2";
20096          }
20097          program {
20098             name: "thumb_gen-";
20099             signal: "e,action,thumb,gen,alpha";
20100             source: "e";
20101             action: STATE_SET "default" 0.0;
20102             target: "icon_box_shadow";
20103             target: "icon_box";
20104             target: "icon_box_bg";
20105             after: "thumb_gen2";
20106          }
20107          program {
20108             name: "thumb_gen2";
20109             action: STATE_SET "min" 0.0;
20110             target: "icon";
20111             after: "thumb_gen3";
20112          }
20113          program {
20114             name: "thumb_gen3";
20115             action: STATE_SET "max" 0.0;
20116             target: "icon";
20117             transition: DECELERATE 0.2;
20118             after: "thumb_gen4";
20119          }
20120          program {
20121             name: "thumb_gen4";
20122             action: STATE_SET "default" 0.0;
20123             target: "icon";
20124             transition: SINUSOIDAL 0.1;
20125             after: "thumb_gen5";
20126          }
20127          program {
20128             name: "thumb_gen5";
20129             action: STATE_SET "max2" 0.0;
20130             target: "icon";
20131             transition: SINUSOIDAL 0.2;
20132             after: "thumb_gen6";
20133          }
20134          program {
20135             name: "thumb_gen6";
20136             action: STATE_SET "default" 0.0;
20137             target: "icon";
20138             transition: SINUSOIDAL 0.3;
20139          }
20140       }
20141    }
20142 #endif
20143    group {
20144       name: "e/fileman/desktop/icon/fixed";
20145       alias: "e/fileman/desktop/icon/variable";
20146       images {
20147          image: "bt_sm_base1.png" COMP;
20148          image: "bt_sm_shine.png" COMP;
20149          image: "bt_sm_hilight.png" COMP;
20150          image: "e17_mini_button_shadow2.png" COMP;
20151          image: "e17_fileman_thumb_bg.png" COMP;
20152          image: "icon_efm_dnd_copy.png" COMP;
20153          image: "icon_efm_dnd_ask.png" COMP;
20154          image: "icon_efm_dnd_move.png" COMP;
20155          image: "icon_efm_vol_unmounted.png" COMP;
20156          image: "icon_efm_vol_mounted.png" COMP;
20157       }
20158       styles {
20159         style {
20160             name: "fileman_desktop_icon_name";
20161             base: "font=Sans:style=Bold font_size=10 text_class=desktop_icon align=center color=#fff wrap=mixed ellipsis=1.0 style=soft_shadow shadow_color=#0002";
20162         }
20163         style {
20164             name: "fileman_desktop_icon_name_full";
20165             base: "font=Sans:style=Bold font_size=10 text_class=desktop_icon align=center color=#fff wrap=mixed style=soft_shadow shadow_color=#0002";
20166         }
20167       }      
20168       parts {
20169          part {
20170             name: "label2";
20171             type: TEXTBLOCK;
20172             mouse_events: 0;
20173             scale: 1;
20174             description {
20175                state: "default" 0.0;
20176                align: 0.5 0.0;
20177                fixed: 1 1;
20178                color: 224 224 224 255;
20179                color3: 0 0 0 64;
20180                rel1 {
20181                   to_y: "icon0";
20182                   relative: 0.0 1.0;
20183                   offset: 3 3;
20184                }
20185                rel2 {
20186                   relative: 1.0 1.0;
20187                   offset: -3 -1;
20188                }
20189                text {
20190                   style: "fileman_desktop_icon_name";
20191                   text_source: "e.text.label";
20192                   align: 0.5 0.0;
20193                   min: 0 1;
20194                }
20195             }
20196             description {
20197                state: "selected" 0.0;
20198                inherit: "default" 0.0;
20199                visible: 0;
20200             }
20201          }
20202          part {
20203             name: "bg";
20204             mouse_events: 0;
20205             description {
20206                state: "default" 0.0;
20207                visible: 0;
20208                color: 255 255 255 0;
20209                rel1.to_x: "e.text.label";
20210                rel1.offset: -2 0;
20211                rel2.to: "e.text.label";
20212                rel2.offset: 3 6;
20213
20214                image {
20215                   normal: "bt_sm_base1.png";
20216                   border: 6 6 6 6;
20217                }
20218             }
20219             description {
20220                state: "selected" 0.0;
20221                inherit: "default" 0.0;
20222                visible: 1;
20223                color: 255 255 255 255;
20224             }
20225          }
20226          part {
20227             name: "icon_box_shadow";
20228             mouse_events: 0;
20229             description {
20230                state: "default" 0.0;
20231                visible: 0;
20232                rel1 {
20233                   to: "icon_box";
20234                   relative: 0.0 0.0;
20235                   offset: -1 -1;
20236                }
20237                rel2 {
20238                   to: "icon_box";
20239                   relative: 1.0 1.0;
20240                   offset: 2 2;
20241                }
20242                image {
20243                   normal: "e17_mini_button_shadow2.png";
20244                   border: 6 6 6 6;
20245                }
20246             }
20247             description {
20248                state: "visible" 0.0;
20249                inherit: "default" 0.0;
20250                visible: 1;
20251             }
20252          }
20253          part {
20254             name: "icon_box";
20255             type: RECT;
20256             mouse_events: 0;
20257             description {
20258                state: "default" 0.0;
20259                visible: 0;
20260                align: 0.5 0.5;
20261                rel1 {
20262                   to: "e.swallow.icon";
20263                   relative: 0.0 0.0;
20264                   offset: -1 -1;
20265                }
20266                rel2 {
20267                   to: "e.swallow.icon";
20268                   relative: 1.0 1.0;
20269                   offset: 0 0;
20270                }
20271                color: 0 0 0 64;
20272             }
20273             description {
20274                state: "visible" 0.0;
20275                inherit: "default" 0.0;
20276                visible: 1;
20277             }
20278          }
20279          part {
20280             name: "icon_box_bg";
20281             mouse_events: 0;
20282             description {
20283                state: "default" 0.0;
20284                visible: 0;
20285                rel1 {
20286                   to: "icon_box";
20287                   relative: 0.0 0.0;
20288                   offset: 1 1;
20289                }
20290                rel2 {
20291                   to: "icon_box";
20292                   relative: 1.0 1.0;
20293                   offset: -2 -2;
20294                }
20295                image.normal: "pager_base2.png";
20296                fill {
20297                   smooth: 0;
20298                   size {
20299                      relative: 0 0;
20300                      offset: 32 32;
20301                   }
20302                }
20303             }
20304             description {
20305                state: "visible" 0.0;
20306                inherit: "default" 0.0;
20307                visible: 1;
20308             }
20309          }
20310          part {
20311             name: "icon0";
20312             type: RECT;
20313             mouse_events: 0;
20314             description {
20315                state: "default" 0.0;
20316                align: 0.5 0.5;
20317                aspect: 1.5 1.0;
20318                aspect_preference: BOTH;
20319                visible: 0;
20320                /* color: 200 0 0 100; */
20321                rel1 {
20322                   relative: 0.0 0.0;
20323                   offset: 5 5;
20324                }
20325                rel2 {
20326                   relative: 1.0 1.0;
20327                   offset: -6 -40;
20328                }
20329             }
20330          }
20331          part {
20332             name: "icon";
20333             type: RECT;
20334             mouse_events: 0;
20335             description {
20336                state: "default" 0.0;
20337                align: 0.5 0.5;
20338                aspect: 1.0 1.0;
20339                aspect_preference: BOTH;
20340                visible: 0;
20341                rel1.to: "icon0";
20342                rel2.to: "icon0";
20343                color: 0 0 0 0;
20344             }
20345             description {
20346                state: "min" 0.0;
20347                inherit: "default" 0.0;
20348                max: 0 0;
20349             }
20350             description {
20351                state: "max" 0.0;
20352                inherit: "default" 0.0;
20353                rel1 {
20354                   to: "icon0";
20355                   relative: 0.0  0.0;
20356                   offset: -4   -4;
20357                }
20358                rel2 {
20359                   to: "icon0";
20360                   relative: 1.0  1.0;
20361                   offset: 3    3;
20362                }
20363             }
20364             description {
20365                state: "max2" 0.0;
20366                inherit: "default" 0.0;
20367                rel1 {
20368                   to: "icon0";
20369                   relative: 0.0  0.0;
20370                   offset: -2   -2;
20371                }
20372                rel2 {
20373                   to: "icon0";
20374                   relative: 1.0  1.0;
20375                   offset: 1    1;
20376                }
20377             }
20378          }
20379          part {
20380             name: "e.swallow.icon";
20381             type: SWALLOW;
20382             description {
20383                state: "default" 0.0;
20384                aspect: 1.0 1.0;
20385                aspect_preference: BOTH;
20386                align: 0.5 0.5;
20387                // fixed: 1 1;
20388                rel1.to: "icon";
20389                rel2.to: "icon";
20390             }
20391          }
20392          part {
20393             name: "e.text.label";
20394             type: TEXTBLOCK;
20395             effect: SOFT_SHADOW;
20396             mouse_events: 0;
20397             scale: 1;
20398             description {
20399                state: "default" 0.0;
20400                align: 0.5 0.0;
20401                fixed: 1 1;
20402                color: 224 224 224 255;
20403                color3: 0 0 0 64;
20404                visible: 0;
20405                rel1 {
20406                   to_y: "icon0";
20407                   relative: 0.0 1.0;
20408                   offset: 4 3;
20409                }
20410                rel2 {
20411                   relative: 1.0 1.0;
20412                   offset: -3 -1;
20413                }
20414                text {
20415                   style: "fileman_desktop_icon_name_full";
20416                   min: 0 1;
20417                   max: 0 1;
20418                }
20419             }
20420             description {
20421                state: "selected" 0.0;
20422                inherit: "default" 0.0;
20423                visible: 1;
20424             }
20425          }
20426          part {
20427             name: "fg1";
20428             mouse_events: 0;
20429             description {
20430                state: "default" 0.0;
20431                visible: 0;
20432                color: 255 255 255 0;
20433                rel1.to: "bg";
20434                rel2.relative: 1.0 0.5;
20435                rel2.to: "bg";
20436                image {
20437                   normal: "bt_sm_hilight.png";
20438                   border: 6 6 6 0;
20439                }
20440             }
20441             description {
20442                state: "selected" 0.0;
20443                inherit: "default" 0.0;
20444                visible: 1;
20445                color: 255 255 255 255;
20446             }
20447          }
20448          part {
20449             name: "fg2";
20450             mouse_events: 0;
20451             description {
20452                state: "default" 0.0;
20453                visible: 0;
20454                color: 255 255 255 0;
20455                rel1.to: "bg";
20456                rel2.to: "bg";
20457                image {
20458                   normal: "bt_sm_shine.png";
20459                   border: 6 6 6 0;
20460                }
20461             }
20462             description {
20463                state: "selected" 0.0;
20464                inherit: "default" 0.0;
20465                visible: 1;
20466                color: 255 255 255 255;
20467             }
20468          }
20469          part {
20470             name: "event";
20471             type: RECT;
20472             mouse_events: 1;
20473             description {
20474                state: "default" 0.0;
20475                visible: 1;
20476                color: 0 0 0 0;
20477                rel1.offset: 8 8;
20478                rel2.offset: -9 -9;
20479             }
20480          }
20481          part {
20482             name: "label_event";
20483             type: RECT;
20484             mouse_events: 1;
20485             repeat_events: 1;
20486             ignore_flags: ON_HOLD;
20487             description {
20488                state: "default" 0.0;
20489                color: 0 0 0 0;
20490                rel1.to: "e.text.label";
20491                rel2.to: "e.text.label";
20492             }
20493          }
20494          part {
20495             name: "vol_state";
20496             type: IMAGE;
20497             mouse_events: 0;
20498             repeat_events: 0;
20499             description {
20500                state: "default" 0.0;
20501                color: 0 0 0 0;
20502             }
20503             description {
20504                state: "visible" 0.0;
20505                aspect: 1.0 1.0;
20506                aspect_preference: BOTH;
20507                align: 1.0 1.0;
20508                min: 16 16;
20509                rel1 {
20510                   relative: 0.75 0.0;
20511                   to: "icon";
20512                }
20513                rel2 {
20514                   relative: 1.0 1.0;
20515                   to: "icon";
20516                }
20517             }
20518             description {
20519                state: "unmounted" 0.0;
20520                inherit: "visible" 0.0;
20521                image.normal: "icon_efm_vol_unmounted.png";
20522             }
20523             description {
20524                state: "mounted" 0.0;
20525                inherit: "visible" 0.0;
20526                image.normal: "icon_efm_vol_mounted.png";
20527             }
20528          }
20529          part {
20530             name: "dnd_action";
20531             type: IMAGE;
20532             mouse_events: 0;
20533             repeat_events: 0;
20534             description {
20535                state: "default" 0.0;
20536                color: 0 0 0 0;
20537             }
20538             description {
20539                state: "visible" 0.0;
20540                aspect: 1.0 1.0;
20541                aspect_preference: BOTH;
20542                align: 1.0 1.0;
20543                min: 24 24;
20544                rel1.relative: 0.75 0.0;
20545                rel2.relative: 1.0 1.0;
20546             }
20547             description {
20548                state: "copy" 0.0;
20549                inherit: "visible" 0.0;
20550                image.normal: "icon_efm_dnd_copy.png";
20551             }
20552             description {
20553                state: "ask" 0.0;
20554                inherit: "visible" 0.0;
20555                image.normal: "icon_efm_dnd_ask.png";
20556             }
20557             description {
20558                state: "move" 0.0;
20559                inherit: "visible" 0.0;
20560                image.normal: "icon_efm_dnd_move.png";
20561             }
20562          }
20563          part {
20564             name: "e.swallow.entry";
20565             type: SWALLOW;
20566             description {
20567                state: "default" 0.0;
20568                rel1.to: "e.text.label";
20569                rel2.to: "e.text.label";
20570             }
20571          }
20572       }
20573       programs {
20574          program {
20575             name: "label_click";
20576             signal: "mouse,clicked,1";
20577             source: "label_event";
20578             action: SIGNAL_EMIT "e,action,label,click" "e";
20579          }
20580          program {
20581             name: "go_active";
20582             signal: "e,state,selected";
20583             source: "e";
20584             action: STATE_SET "selected" 0.0;
20585             target: "bg";
20586             target: "fg1";
20587             target: "fg2";
20588             target: "e.text.label";
20589             target: "label2";
20590             transition: LINEAR 0.2;
20591          }
20592          program {
20593             name: "go_passive";
20594             signal: "e,state,unselected";
20595             source: "e";
20596             action: STATE_SET "default" 0.0;
20597             target: "bg";
20598             target: "fg1";
20599             target: "fg2";
20600             target: "e.text.label";
20601             target: "label2";
20602             transition: LINEAR 0.1;
20603          }
20604          program {
20605             name: "ask";
20606             signal: "e,state,ask";
20607             source: "e";
20608             action: STATE_SET "ask" 0.0;
20609             target: "dnd_action";
20610          }
20611          program {
20612             name: "move";
20613             signal: "e,state,move";
20614             source: "e";
20615             action: STATE_SET "move" 0.0;
20616             target: "dnd_action";
20617          }
20618          program {
20619             name: "copy";
20620             signal: "e,state,copy";
20621             source: "e";
20622             action: STATE_SET "copy" 0.0;
20623             target: "dnd_action";
20624          }
20625          program {
20626             name: "vol_off";
20627             signal: "e,state,volume,off";
20628             source: "e";
20629             action: STATE_SET "default" 0.0;
20630             target: "vol_state";
20631          }
20632          program {
20633             name: "vol_unmounted";
20634             signal: "e,state,volume,unmounted";
20635             source: "e";
20636             action: STATE_SET "unmounted" 0.0;
20637             target: "vol_state";
20638          }
20639          program {
20640             name: "vol_mounted";
20641             signal: "e,state,volume,mounted";
20642             source: "e";
20643             action: STATE_SET "mounted" 0.0;
20644             target: "vol_state";
20645          }
20646          program {
20647             name: "thumb_gen";
20648             signal: "e,action,thumb,gen";
20649             source: "e";
20650             action: STATE_SET "visible" 0.0;
20651             target: "icon_box_shadow";
20652             target: "icon_box";
20653             target: "icon_box_bg";
20654             after: "thumb_gen2";
20655          }
20656          program {
20657             name: "thumb_gen-";
20658             signal: "e,action,thumb,gen,alpha";
20659             source: "e";
20660             action: STATE_SET "default" 0.0;
20661             target: "icon_box_shadow";
20662             target: "icon_box";
20663             target: "icon_box_bg";
20664             after: "thumb_gen2";
20665          }
20666          program {
20667             name: "thumb_gen2";
20668             action: STATE_SET "min" 0.0;
20669             target: "icon";
20670             after: "thumb_gen3";
20671          }
20672          program {
20673             name: "thumb_gen3";
20674             action: STATE_SET "max" 0.0;
20675             target: "icon";
20676             transition: DECELERATE 0.2;
20677             after: "thumb_gen4";
20678          }
20679          program {
20680             name: "thumb_gen4";
20681             action: STATE_SET "default" 0.0;
20682             target: "icon";
20683             transition: SINUSOIDAL 0.1;
20684             after: "thumb_gen5";
20685          }
20686          program {
20687             name: "thumb_gen5";
20688             action: STATE_SET "max2" 0.0;
20689             target: "icon";
20690             transition: SINUSOIDAL 0.2;
20691             after: "thumb_gen6";
20692          }
20693          program {
20694             name: "thumb_gen6";
20695             action: STATE_SET "default" 0.0;
20696             target: "icon";
20697             transition: SINUSOIDAL 0.3;
20698          }
20699       }
20700    }
20701    /* e/fileman/default/list/* is used in file selectors eg; Wallpaper dialog */
20702    group {
20703       name: "e/fileman/default/list/variable";
20704       data.item: "stacking" "above";
20705       data.item: "selectraise" "on";
20706       images {
20707          image: "bt_sm_base1.png" COMP;
20708          image: "bt_sm_shine.png" COMP;
20709          image: "bt_sm_hilight.png" COMP;
20710          image: "ilist_1.png" COMP;
20711          image: "ilist_item_shadow.png" COMP;
20712          image: "e17_mini_button_shadow2.png" COMP;
20713          image: "e17_fileman_thumb_bg.png" COMP;
20714          image: "icon_efm_dnd_copy.png" COMP;
20715          image: "icon_efm_dnd_ask.png" COMP;
20716          image: "icon_efm_dnd_move.png" COMP;
20717          image: "icon_efm_vol_unmounted.png" COMP;
20718          image: "icon_efm_vol_mounted.png" COMP;
20719       }
20720       parts {
20721          part {
20722             name: "base_sh";
20723             mouse_events: 0;
20724             description {
20725                state: "default" 0.0;
20726                // aspect: 6.4 6.4;
20727                // aspect_preference: HORIZONTAL;
20728                align: 0.0 0.0;
20729                min: 0 10;
20730                rel1 {
20731                   to: "base";
20732                   relative: 0.0 1.0;
20733                   offset: 0 0;
20734                }
20735                rel2 {
20736                   to: "base";
20737                   relative: 1.0 1.0;
20738                   offset: -1 0;
20739                }
20740                image {
20741                   normal: "ilist_item_shadow.png";
20742                }
20743                fill.smooth: 0;
20744             }
20745          }
20746          part {
20747             name: "base";
20748             mouse_events: 0;
20749             description {
20750                state: "default" 0.0;
20751                color_class: "ilist_item_base";
20752                image {
20753                   normal: "ilist_1.png";
20754                   border: 2 2 2 2;
20755                }
20756                fill.smooth: 0;
20757             }
20758          }
20759          part {
20760             name: "bg";
20761             mouse_events: 0;
20762             description {
20763                state: "default" 0.0;
20764                visible: 0;
20765                color: 255 255 255 0;
20766                rel1 {
20767                   relative: 0.0 0.0;
20768                   offset: -5 -5;
20769                }
20770                rel2 {
20771                   relative: 1.0 1.0;
20772                   offset: 4 4;
20773                }
20774                image {
20775                   normal: "bt_sm_base1.png";
20776                   border: 6 6 6 6;
20777                }
20778             }
20779             description {
20780                state: "selected" 0.0;
20781                inherit: "default" 0.0;
20782                visible: 1;
20783                color: 255 255 255 255;
20784                rel1 {
20785                   relative: 0.0 0.0;
20786                   offset: -2 -2;
20787                }
20788                rel2 {
20789                   relative: 1.0 1.0;
20790                   offset: 1 1;
20791                }
20792             }
20793          }
20794          part {
20795             name: "icon_box_shadow";
20796             mouse_events: 0;
20797             description {
20798                state: "default" 0.0;
20799                visible: 0;
20800                rel1 {
20801                   to: "icon_box";
20802                   relative: 0.0 0.0;
20803                   offset: -1 -1;
20804                }
20805                rel2 {
20806                   to: "icon_box";
20807                   relative: 1.0 1.0;
20808                   offset: 2 2;
20809                }
20810                image {
20811                   normal: "e17_mini_button_shadow2.png";
20812                   border: 6 6 6 6;
20813                }
20814             }
20815             description {
20816                state: "visible" 0.0;
20817                inherit: "default" 0.0;
20818                visible: 1;
20819             }
20820          }
20821          part {
20822             name: "icon_box";
20823             type: RECT;
20824             mouse_events: 0;
20825             description {
20826                state: "default" 0.0;
20827                visible: 0;
20828                align: 0.5 0.5;
20829                rel1 {
20830                   to: "e.swallow.icon";
20831                   relative: 0.0 0.0;
20832                   offset: -1 -1;
20833                }
20834                rel2 {
20835                   to: "e.swallow.icon";
20836                   relative: 1.0 1.0;
20837                   offset: 0 0;
20838                }
20839                color: 0 0 0 64;
20840             }
20841             description {
20842                state: "visible" 0.0;
20843                inherit: "default" 0.0;
20844                visible: 1;
20845             }
20846          }
20847          part {
20848             name: "icon_box_bg";
20849             mouse_events: 0;
20850             description {
20851                state: "default" 0.0;
20852                visible: 0;
20853                rel1 {
20854                   to: "icon_box";
20855                   relative: 0.0 0.0;
20856                   offset: 1 1;
20857                }
20858                rel2 {
20859                   to: "icon_box";
20860                   relative: 1.0 1.0;
20861                   offset: -2 -2;
20862                }
20863                image {
20864                   normal: "e17_fileman_thumb_bg.png";
20865                }
20866                fill {
20867                   smooth: 0;
20868                   size {
20869                      relative: 0 0;
20870                      offset: 32 32;
20871                   }
20872                }
20873             }
20874             description {
20875                state: "visible" 0.0;
20876                inherit: "default" 0.0;
20877                visible: 1;
20878             }
20879          }
20880          part {
20881             name: "icon0";
20882             type: RECT;
20883             mouse_events: 0;
20884             description {
20885                state: "default" 0.0;
20886                align: 0.0 0.5;
20887                aspect: 1.0 1.0;
20888                aspect_preference: VERTICAL;
20889                visible: 0;
20890                rel1 {
20891                   relative: 0.0  0.0;
20892                   offset: 4    4;
20893                }
20894                rel2 {
20895                   relative: 0.0  1.0;
20896                   offset: 4   -5;
20897                }
20898                color: 0 0 0 0;
20899             }
20900          }
20901          part {
20902             name: "icon";
20903             type: RECT;
20904             mouse_events: 0;
20905             description {
20906                state: "default" 0.0;
20907                align: 0.5 0.5;
20908                aspect: 1.0 1.0;
20909                aspect_preference: BOTH;
20910                visible: 0;
20911                rel1 {
20912                   to: "icon0";
20913                }
20914                rel2 {
20915                   to: "icon0";
20916                }
20917                color: 0 0 0 0;
20918             }
20919             description {
20920                state: "min" 0.0;
20921                inherit: "default" 0.0;
20922                max: 0 0;
20923             }
20924             description {
20925                state: "max" 0.0;
20926                inherit: "default" 0.0;
20927                rel1 {
20928                   to: "icon0";
20929                   relative: 0.0  0.0;
20930                   offset: -4   -4;
20931                }
20932                rel2 {
20933                   to: "icon0";
20934                   relative: 1.0  1.0;
20935                   offset: 3    3;
20936                }
20937             }
20938             description {
20939                state: "max2" 0.0;
20940                inherit: "default" 0.0;
20941                rel1 {
20942                   to: "icon0";
20943                   relative: 0.0  0.0;
20944                   offset: -2   -2;
20945                }
20946                rel2 {
20947                   to: "icon0";
20948                   relative: 1.0  1.0;
20949                   offset: 1    1;
20950                }
20951             }
20952          }
20953          part {
20954             name: "e.swallow.icon";
20955             type: SWALLOW;
20956             description {
20957                state: "default" 0.0;
20958                align: 0.5 0.5;
20959                // fixed: 1 1;
20960                rel1 {
20961                   to: "icon";
20962                }
20963                rel2 {
20964                   to: "icon";
20965                }
20966             }
20967          }
20968          part {
20969             name: "e.text.label";
20970             type: TEXT;
20971             effect: SOFT_SHADOW;
20972             mouse_events: 0;
20973             scale: 1;
20974             description {
20975                state: "default" 0.0;
20976                min: 16 16;
20977                rel1 {
20978                   to_x: "icon0";
20979                   relative: 1.0  0.0;
20980                   offset: 4 4;
20981                }
20982                rel2 {
20983                   relative: 1.0  1.0;
20984                   offset: -5 -5;
20985                }
20986                color_class: "ilist_item";
20987                text {
20988                   font: "Sans";
20989                   size: 10;
20990                   min: 1 1;
20991                   align: 0.0 0.5;
20992                   text_class: "ilist_item";
20993                }
20994             }
20995             description {
20996                state: "selected" 0.0;
20997                inherit: "default" 0.0;
20998                color_class: "ilist_item_selected";
20999             }
21000          }
21001          part {
21002             name: "fg1";
21003             mouse_events: 0;
21004             description {
21005                state: "default" 0.0;
21006                visible: 0;
21007                color: 255 255 255 0;
21008                rel1.to: "bg";
21009                rel2.relative: 1.0 0.5;
21010                rel2.to: "bg";
21011                image {
21012                   normal: "bt_sm_hilight.png";
21013                   border: 6 6 6 0;
21014                }
21015             }
21016             description {
21017                state: "selected" 0.0;
21018                inherit: "default" 0.0;
21019                visible: 1;
21020                color: 255 255 255 255;
21021             }
21022          }
21023          part {
21024             name: "fg2";
21025             mouse_events: 0;
21026             description {
21027                state: "default" 0.0;
21028                visible: 0;
21029                color: 255 255 255 0;
21030                rel1.to: "bg";
21031                rel2.to: "bg";
21032                image {
21033                   normal: "bt_sm_shine.png";
21034                   border: 6 6 6 0;
21035                }
21036             }
21037             description {
21038                state: "selected" 0.0;
21039                inherit: "default" 0.0;
21040                visible: 1;
21041                color: 255 255 255 255;
21042             }
21043          }
21044          part {
21045             name: "vol_state";
21046             type: IMAGE;
21047             mouse_events: 0;
21048             repeat_events: 0;
21049             description {
21050                state: "default" 0.0;
21051                color: 0 0 0 0;
21052             }
21053             description {
21054                state: "visible" 0.0;
21055                aspect: 1.0 1.0;
21056                aspect_preference: BOTH;
21057                align: 1.0 1.0;
21058                rel1 {
21059                   relative: 0.5 0.0;
21060                   to: "icon";
21061                }
21062                rel2 {
21063                   relative: 1.0 1.0;
21064                   to: "icon";
21065                }
21066             }
21067             description {
21068                state: "unmounted" 0.0;
21069                inherit: "visible" 0.0;
21070                image.normal: "icon_efm_vol_unmounted.png";
21071             }
21072             description {
21073                state: "mounted" 0.0;
21074                inherit: "visible" 0.0;
21075                image.normal: "icon_efm_vol_mounted.png";
21076             }
21077          }
21078          part {
21079             name: "dnd_action";
21080             type: IMAGE;
21081             mouse_events: 0;
21082             repeat_events: 0;
21083             description {
21084                state: "default" 0.0;
21085                color: 0 0 0 0;
21086             }
21087             description {
21088                state: "visible" 0.0;
21089                aspect: 1.0 1.0;
21090                aspect_preference: BOTH;
21091                align: 1.0 1.0;
21092                rel1 {
21093                   relative: 0.75 0.0;
21094                }
21095                rel2 {
21096                   relative: 1.0 1.0;
21097                }
21098             }
21099             description {
21100                state: "copy" 0.0;
21101                inherit: "visible" 0.0;
21102                image {
21103                   normal: "icon_efm_dnd_copy.png";
21104                }
21105             }
21106             description {
21107                state: "ask" 0.0;
21108                inherit: "visible" 0.0;
21109                image {
21110                   normal: "icon_efm_dnd_ask.png";
21111                }
21112             }
21113             description {
21114                state: "move" 0.0;
21115                inherit: "visible" 0.0;
21116                image {
21117                   normal: "icon_efm_dnd_move.png";
21118                }
21119             }
21120          }
21121          part {
21122             name: "event";
21123             type: RECT;
21124             description {
21125                state: "default" 0.0;
21126                color: 0 0 0 0;
21127             }
21128          }
21129          part {
21130             name: "label_event";
21131             type: RECT;
21132             mouse_events: 1;
21133             repeat_events: 1;
21134             ignore_flags: ON_HOLD;
21135             description {
21136                state: "default" 0.0;
21137                color: 0 0 0 0;
21138                rel1.to: "e.text.label";
21139                rel2.to: "e.text.label";
21140             }
21141          }
21142          part {
21143             name: "e.swallow.entry";
21144             type: SWALLOW;
21145             description {
21146                state: "default" 0.0;
21147                rel1.to: "e.text.label";
21148                rel2.to: "e.text.label";
21149             }
21150          }
21151       }
21152       programs {
21153          program {
21154             name: "label_click";
21155             signal: "mouse,clicked,1";
21156             source: "label_event";
21157             action: SIGNAL_EMIT "e,action,label,click" "e";
21158          }
21159          program {
21160             name: "go_active";
21161             signal: "e,state,selected";
21162             source: "e";
21163             action: STATE_SET "selected" 0.0;
21164             target: "bg";
21165             target: "fg1";
21166             target: "fg2";
21167             target: "e.text.label";
21168          }
21169          program {
21170             name: "go_passive";
21171             signal: "e,state,unselected";
21172             source: "e";
21173             action: STATE_SET "default" 0.0;
21174             target: "bg";
21175             target: "fg1";
21176             target: "fg2";
21177             target: "e.text.label";
21178             transition: LINEAR 0.1;
21179          }
21180          program {
21181             name: "ask";
21182             signal: "e,state,ask";
21183             source: "e";
21184             action: STATE_SET "ask" 0.0;
21185             target: "dnd_action";
21186          }
21187          program {
21188             name: "move";
21189             signal: "e,state,move";
21190             source: "e";
21191             action: STATE_SET "move" 0.0;
21192             target: "dnd_action";
21193          }
21194          program {
21195             name: "copy";
21196             signal: "e,state,copy";
21197             source: "e";
21198             action: STATE_SET "copy" 0.0;
21199             target: "dnd_action";
21200          }
21201          program {
21202             name: "vol_off";
21203             signal: "e,state,volume,off";
21204             source: "e";
21205             action: STATE_SET "default" 0.0;
21206             target: "vol_state";
21207          }
21208          program {
21209             name: "vol_unmounted";
21210             signal: "e,state,volume,unmounted";
21211             source: "e";
21212             action: STATE_SET "unmounted" 0.0;
21213             target: "vol_state";
21214          }
21215          program {
21216             name: "vol_mounted";
21217             signal: "e,state,volume,mounted";
21218             source: "e";
21219             action: STATE_SET "mounted" 0.0;
21220             target: "vol_state";
21221          }
21222          program {
21223             name: "thumb_gen";
21224             signal: "e,action,thumb,gen";
21225             source: "e";
21226             action: STATE_SET "visible" 0.0;
21227             target: "icon_box_shadow";
21228             target: "icon_box";
21229             target: "icon_box_bg";
21230             after: "thumb_gen2";
21231          }
21232          program {
21233             name: "thumb_gen-";
21234             signal: "e,action,thumb,gen,alpha";
21235             source: "e";
21236             action: STATE_SET "default" 0.0;
21237             target: "icon_box_shadow";
21238             target: "icon_box";
21239             target: "icon_box_bg";
21240             after: "thumb_gen2";
21241          }
21242          program {
21243             name: "thumb_gen2";
21244             action: STATE_SET "min" 0.0;
21245             target: "icon";
21246             after: "thumb_gen3";
21247          }
21248          program {
21249             name: "thumb_gen3";
21250             action: STATE_SET "max" 0.0;
21251             target: "icon";
21252             transition: DECELERATE 0.2;
21253             after: "thumb_gen4";
21254          }
21255          program {
21256             name: "thumb_gen4";
21257             action: STATE_SET "default" 0.0;
21258             target: "icon";
21259             transition: SINUSOIDAL 0.1;
21260             after: "thumb_gen5";
21261          }
21262          program {
21263             name: "thumb_gen5";
21264             action: STATE_SET "max2" 0.0;
21265             target: "icon";
21266             transition: SINUSOIDAL 0.2;
21267             after: "thumb_gen6";
21268          }
21269          program {
21270             name: "thumb_gen6";
21271             action: STATE_SET "default" 0.0;
21272             target: "icon";
21273             transition: SINUSOIDAL 0.3;
21274          }
21275       }
21276    }
21277    group {
21278       name: "e/fileman/default/list_odd/variable";
21279       data.item: "stacking" "below";
21280       data.item: "selectraise" "on";
21281       images {
21282          image: "bt_sm_base1.png" COMP;
21283          image: "bt_sm_shine.png" COMP;
21284          image: "bt_sm_hilight.png" COMP;
21285          image: "ilist_2.png" COMP;
21286          image: "ilist_item_shadow.png" COMP;
21287          image: "e17_mini_button_shadow2.png" COMP;
21288          image: "e17_fileman_thumb_bg.png" COMP;
21289          image: "icon_efm_dnd_copy.png" COMP;
21290          image: "icon_efm_dnd_ask.png" COMP;
21291          image: "icon_efm_dnd_move.png" COMP;
21292          image: "icon_efm_vol_unmounted.png" COMP;
21293          image: "icon_efm_vol_mounted.png" COMP;
21294       }
21295       parts {
21296          part {
21297             name: "base_sh";
21298             mouse_events: 0;
21299             description {
21300                state: "default" 0.0;
21301                // aspect: 6.4 6.4;
21302                // aspect_preference: HORIZONTAL;
21303                align: 0.0 0.0;
21304                min: 0 10;
21305                rel1 {
21306                   to: "base";
21307                   relative: 0.0 1.0;
21308                   offset: 0 0;
21309                }
21310                rel2 {
21311                   to: "base";
21312                   relative: 1.0 1.0;
21313                   offset: -1 0;
21314                }
21315                image {
21316                   normal: "ilist_item_shadow.png";
21317                }
21318                fill.smooth: 0;
21319             }
21320          }
21321          part {
21322             name: "base";
21323             mouse_events: 0;
21324             description {
21325                state: "default" 0.0;
21326                color_class: "ilist_item_odd_base";
21327                image {
21328                   normal: "ilist_2.png";
21329                   border: 2 2 2 2;
21330                }
21331                fill.smooth: 0;
21332             }
21333          }
21334          part {
21335             name: "bg";
21336             mouse_events: 0;
21337             description {
21338                state: "default" 0.0;
21339                visible: 0;
21340                color: 255 255 255 0;
21341                rel1 {
21342                   relative: 0.0 0.0;
21343                   offset: -5 -5;
21344                }
21345                rel2 {
21346                   relative: 1.0 1.0;
21347                   offset: 4 4;
21348                }
21349                image {
21350                   normal: "bt_sm_base1.png";
21351                   border: 6 6 6 6;
21352                }
21353             }
21354             description {
21355                state: "selected" 0.0;
21356                inherit: "default" 0.0;
21357                visible: 1;
21358                color: 255 255 255 255;
21359                rel1 {
21360                   relative: 0.0 0.0;
21361                   offset: -2 -2;
21362                }
21363                rel2 {
21364                   relative: 1.0 1.0;
21365                   offset: 1 1;
21366                }
21367             }
21368          }
21369          part {
21370             name: "icon_box_shadow";
21371             mouse_events: 0;
21372             description {
21373                state: "default" 0.0;
21374                visible: 0;
21375                rel1 {
21376                   to: "icon_box";
21377                   relative: 0.0 0.0;
21378                   offset: -1 -1;
21379                }
21380                rel2 {
21381                   to: "icon_box";
21382                   relative: 1.0 1.0;
21383                   offset: 2 2;
21384                }
21385                image {
21386                   normal: "e17_mini_button_shadow2.png";
21387                   border: 6 6 6 6;
21388                }
21389             }
21390             description {
21391                state: "visible" 0.0;
21392                inherit: "default" 0.0;
21393                visible: 1;
21394             }
21395          }
21396          part {
21397             name: "icon_box";
21398             type: RECT;
21399             mouse_events: 0;
21400             description {
21401                state: "default" 0.0;
21402                visible: 0;
21403                align: 0.5 0.5;
21404                rel1 {
21405                   to: "e.swallow.icon";
21406                   relative: 0.0 0.0;
21407                   offset: -1 -1;
21408                }
21409                rel2 {
21410                   to: "e.swallow.icon";
21411                   relative: 1.0 1.0;
21412                   offset: 0 0;
21413                }
21414                color: 0 0 0 64;
21415             }
21416             description {
21417                state: "visible" 0.0;
21418                inherit: "default" 0.0;
21419                visible: 1;
21420             }
21421          }
21422          part {
21423             name: "icon_box_bg";
21424             mouse_events: 0;
21425             description {
21426                state: "default" 0.0;
21427                visible: 0;
21428                rel1 {
21429                   to: "icon_box";
21430                   relative: 0.0 0.0;
21431                   offset: 1 1;
21432                }
21433                rel2 {
21434                   to: "icon_box";
21435                   relative: 1.0 1.0;
21436                   offset: -2 -2;
21437                }
21438                image {
21439                   normal: "e17_fileman_thumb_bg.png";
21440                }
21441                fill {
21442                   smooth: 0;
21443                   size {
21444                      relative: 0 0;
21445                      offset: 32 32;
21446                   }
21447                }
21448             }
21449             description {
21450                state: "visible" 0.0;
21451                inherit: "default" 0.0;
21452                visible: 1;
21453             }
21454          }
21455          part {
21456             name: "icon0";
21457             type: RECT;
21458             mouse_events: 0;
21459             description {
21460                state: "default" 0.0;
21461                align: 0.0 0.5;
21462                aspect: 1.0 1.0;
21463                aspect_preference: VERTICAL;
21464                visible: 0;
21465                rel1 {
21466                   relative: 0.0  0.0;
21467                   offset: 4    4;
21468                }
21469                rel2 {
21470                   relative: 0.0  1.0;
21471                   offset: 4   -5;
21472                }
21473                color: 0 0 0 0;
21474             }
21475          }
21476          part {
21477             name: "icon";
21478             type: RECT;
21479             mouse_events: 0;
21480             description {
21481                state: "default" 0.0;
21482                align: 0.5 0.5;
21483                aspect: 1.0 1.0;
21484                aspect_preference: BOTH;
21485                visible: 0;
21486                rel1 {
21487                   to: "icon0";
21488                }
21489                rel2 {
21490                   to: "icon0";
21491                }
21492                color: 0 0 0 0;
21493             }
21494             description {
21495                state: "min" 0.0;
21496                inherit: "default" 0.0;
21497                max: 0 0;
21498             }
21499             description {
21500                state: "max" 0.0;
21501                inherit: "default" 0.0;
21502                rel1 {
21503                   to: "icon0";
21504                   relative: 0.0  0.0;
21505                   offset: -4   -4;
21506                }
21507                rel2 {
21508                   to: "icon0";
21509                   relative: 1.0  1.0;
21510                   offset: 3    3;
21511                }
21512             }
21513             description {
21514                state: "max2" 0.0;
21515                inherit: "default" 0.0;
21516                rel1 {
21517                   to: "icon0";
21518                   relative: 0.0  0.0;
21519                   offset: -2   -2;
21520                }
21521                rel2 {
21522                   to: "icon0";
21523                   relative: 1.0  1.0;
21524                   offset: 1    1;
21525                }
21526             }
21527          }
21528          part {
21529             name: "e.swallow.icon";
21530             type: SWALLOW;
21531             description {
21532                state: "default" 0.0;
21533                align: 0.5 0.5;
21534                // fixed: 1 1;
21535                rel1 {
21536                   to: "icon";
21537                }
21538                rel2 {
21539                   to: "icon";
21540                }
21541             }
21542          }
21543          part {
21544             name: "e.text.label";
21545             type: TEXT;
21546             effect: SOFT_SHADOW;
21547             mouse_events: 0;
21548             scale: 1;
21549             description {
21550                state: "default" 0.0;
21551                min: 16 16;
21552                rel1 {
21553                   to_x: "icon0";
21554                   relative: 1.0  0.0;
21555                   offset: 4 4;
21556                }
21557                rel2 {
21558                   relative: 1.0  1.0;
21559                   offset: -5 -5;
21560                }
21561                color_class: "ilist_item_odd";
21562                text {
21563                   font: "Sans";
21564                   size: 10;
21565                   min: 1 1;
21566                   align: 0.0 0.5;
21567                   text_class: "ilist_item";
21568                }
21569             }
21570             description {
21571                state: "selected" 0.0;
21572                inherit: "default" 0.0;
21573                color_class: "ilist_item_selected";
21574             }
21575          }
21576          part {
21577             name: "fg1";
21578             mouse_events: 0;
21579             description {
21580                state: "default" 0.0;
21581                visible: 0;
21582                color: 255 255 255 0;
21583                rel1.to: "bg";
21584                rel2.relative: 1.0 0.5;
21585                rel2.to: "bg";
21586                image {
21587                   normal: "bt_sm_hilight.png";
21588                   border: 6 6 6 0;
21589                }
21590             }
21591             description {
21592                state: "selected" 0.0;
21593                inherit: "default" 0.0;
21594                visible: 1;
21595                color: 255 255 255 255;
21596             }
21597          }
21598          part {
21599             name: "fg2";
21600             mouse_events: 0;
21601             description {
21602                state: "default" 0.0;
21603                visible: 0;
21604                color: 255 255 255 0;
21605                rel1.to: "bg";
21606                rel2.to: "bg";
21607                image {
21608                   normal: "bt_sm_shine.png";
21609                   border: 6 6 6 0;
21610                }
21611             }
21612             description {
21613                state: "selected" 0.0;
21614                inherit: "default" 0.0;
21615                visible: 1;
21616                color: 255 255 255 255;
21617             }
21618          }
21619          part {
21620             name: "vol_state";
21621             type: IMAGE;
21622             mouse_events: 0;
21623             repeat_events: 0;
21624             description {
21625                state: "default" 0.0;
21626                color: 0 0 0 0;
21627             }
21628             description {
21629                state: "visible" 0.0;
21630                aspect: 1.0 1.0;
21631                aspect_preference: BOTH;
21632                align: 1.0 1.0;
21633                rel1 {
21634                   relative: 0.5 0.0;
21635                   to: "icon";
21636                }
21637                rel2 {
21638                   relative: 1.0 1.0;
21639                   to: "icon";
21640                }
21641             }
21642             description {
21643                state: "unmounted" 0.0;
21644                inherit: "visible" 0.0;
21645                image.normal: "icon_efm_vol_unmounted.png";
21646             }
21647             description {
21648                state: "mounted" 0.0;
21649                inherit: "visible" 0.0;
21650                image.normal: "icon_efm_vol_mounted.png";
21651             }
21652          }
21653          part {
21654             name: "dnd_action";
21655             type: IMAGE;
21656             mouse_events: 0;
21657             repeat_events: 0;
21658             description {
21659                state: "default" 0.0;
21660                color: 0 0 0 0;
21661             }
21662             description {
21663                state: "visible" 0.0;
21664                aspect: 1.0 1.0;
21665                aspect_preference: BOTH;
21666                align: 1.0 1.0;
21667                rel1 {
21668                   relative: 0.75 0.0;
21669                }
21670                rel2 {
21671                   relative: 1.0 1.0;
21672                }
21673             }
21674             description {
21675                state: "copy" 0.0;
21676                inherit: "visible" 0.0;
21677                image {
21678                   normal: "icon_efm_dnd_copy.png";
21679                }
21680             }
21681             description {
21682                state: "ask" 0.0;
21683                inherit: "visible" 0.0;
21684                image {
21685                   normal: "icon_efm_dnd_ask.png";
21686                }
21687             }
21688             description {
21689                state: "move" 0.0;
21690                inherit: "visible" 0.0;
21691                image {
21692                   normal: "icon_efm_dnd_move.png";
21693                }
21694             }
21695          }
21696          part {
21697             name: "event";
21698             type: RECT;
21699             description {
21700                state: "default" 0.0;
21701                color: 0 0 0 0;
21702             }
21703          }
21704          part {
21705             name: "label_event";
21706             type: RECT;
21707             mouse_events: 1;
21708             repeat_events: 1;
21709             ignore_flags: ON_HOLD;
21710             description {
21711                state: "default" 0.0;
21712                color: 0 0 0 0;
21713                rel1.to: "e.text.label";
21714                rel2.to: "e.text.label";
21715             }
21716          }
21717          part {
21718             name: "e.swallow.entry";
21719             type: SWALLOW;
21720             description {
21721                state: "default" 0.0;
21722                rel1.to: "e.text.label";
21723                rel2.to: "e.text.label";
21724             }
21725          }
21726       }
21727       programs {
21728          program {
21729             name: "label_click";
21730             signal: "mouse,clicked,1";
21731             source: "label_event";
21732             action: SIGNAL_EMIT "e,action,label,click" "e";
21733          }
21734          program {
21735             name: "go_active";
21736             signal: "e,state,selected";
21737             source: "e";
21738             action: STATE_SET "selected" 0.0;
21739             target: "bg";
21740             target: "fg1";
21741             target: "fg2";
21742             target: "e.text.label";
21743          }
21744          program {
21745             name: "go_passive";
21746             signal: "e,state,unselected";
21747             source: "e";
21748             action: STATE_SET "default" 0.0;
21749             target: "bg";
21750             target: "fg1";
21751             target: "fg2";
21752             target: "e.text.label";
21753             transition: LINEAR 0.1;
21754          }
21755          program {
21756             name: "ask";
21757             signal: "e,state,ask";
21758             source: "e";
21759             action: STATE_SET "ask" 0.0;
21760             target: "dnd_action";
21761          }
21762          program {
21763             name: "move";
21764             signal: "e,state,move";
21765             source: "e";
21766             action: STATE_SET "move" 0.0;
21767             target: "dnd_action";
21768          }
21769          program {
21770             name: "copy";
21771             signal: "e,state,copy";
21772             source: "e";
21773             action: STATE_SET "copy" 0.0;
21774             target: "dnd_action";
21775          }
21776          program {
21777             name: "vol_off";
21778             signal: "e,state,volume,off";
21779             source: "e";
21780             action: STATE_SET "default" 0.0;
21781             target: "vol_state";
21782          }
21783          program {
21784             name: "vol_unmounted";
21785             signal: "e,state,volume,unmounted";
21786             source: "e";
21787             action: STATE_SET "unmounted" 0.0;
21788             target: "vol_state";
21789          }
21790          program {
21791             name: "vol_mounted";
21792             signal: "e,state,volume,mounted";
21793             source: "e";
21794             action: STATE_SET "mounted" 0.0;
21795             target: "vol_state";
21796          }
21797          program {
21798             name: "thumb_gen";
21799             signal: "e,action,thumb,gen";
21800             source: "e";
21801             action: STATE_SET "visible" 0.0;
21802             target: "icon_box_shadow";
21803             target: "icon_box";
21804             target: "icon_box_bg";
21805             after: "thumb_gen2";
21806          }
21807          program {
21808             name: "thumb_gen-";
21809             signal: "e,action,thumb,gen,alpha";
21810             source: "e";
21811             action: STATE_SET "default" 0.0;
21812             target: "icon_box_shadow";
21813             target: "icon_box";
21814             target: "icon_box_bg";
21815             after: "thumb_gen2";
21816          }
21817          program {
21818             name: "thumb_gen2";
21819             action: STATE_SET "min" 0.0;
21820             target: "icon";
21821             after: "thumb_gen3";
21822          }
21823          program {
21824             name: "thumb_gen3";
21825             action: STATE_SET "max" 0.0;
21826             target: "icon";
21827             transition: DECELERATE 0.2;
21828             after: "thumb_gen4";
21829          }
21830          program {
21831             name: "thumb_gen4";
21832             action: STATE_SET "default" 0.0;
21833             target: "icon";
21834             transition: SINUSOIDAL 0.1;
21835             after: "thumb_gen5";
21836          }
21837          program {
21838             name: "thumb_gen5";
21839             action: STATE_SET "max2" 0.0;
21840             target: "icon";
21841             transition: SINUSOIDAL 0.2;
21842             after: "thumb_gen6";
21843          }
21844          program {
21845             name: "thumb_gen6";
21846             action: STATE_SET "default" 0.0;
21847             target: "icon";
21848             transition: SINUSOIDAL 0.3;
21849          }
21850       }
21851    }
21852    group {
21853       name: "e/fileman/default/list/fixed";
21854       alias: "e/fileman/desktop/list/fixed";
21855       data.item: "stacking" "above";
21856       data.item: "selectraise" "on";
21857       images {
21858          image: "bt_sm_base1.png" COMP;
21859          image: "bt_sm_shine.png" COMP;
21860          image: "bt_sm_hilight.png" COMP;
21861          image: "ilist_1.png" COMP;
21862          image: "ilist_item_shadow.png" COMP;
21863          image: "e17_mini_button_shadow2.png" COMP;
21864          image: "e17_fileman_thumb_bg.png" COMP;
21865          image: "icon_efm_dnd_copy.png" COMP;
21866          image: "icon_efm_dnd_ask.png" COMP;
21867          image: "icon_efm_dnd_move.png" COMP;
21868          image: "icon_efm_vol_unmounted.png" COMP;
21869          image: "icon_efm_vol_mounted.png" COMP;
21870       }
21871       parts {
21872          part {
21873             name: "base_sh";
21874             mouse_events: 0;
21875             description {
21876                state: "default" 0.0;
21877                fixed: 1 1;
21878                // aspect: 6.4 6.4;
21879                // aspect_preference: HORIZONTAL;
21880                align: 0.0 0.0;
21881                min: 0 10;
21882                rel1 {
21883                   to: "base";
21884                   relative: 0.0 1.0;
21885                   offset: 0 0;
21886                }
21887                rel2 {
21888                   to: "base";
21889                   relative: 1.0 1.0;
21890                   offset: -1 0;
21891                }
21892                image {
21893                   normal: "ilist_item_shadow.png";
21894                }
21895                fill.smooth: 0;
21896             }
21897          }
21898          part {
21899             name: "base";
21900             mouse_events: 0;
21901             description {
21902                state: "default" 0.0;
21903                color_class: "ilist_item_base";
21904                image {
21905                   normal: "ilist_1.png";
21906                   border: 2 2 2 2;
21907                }
21908                fill.smooth: 0;
21909             }
21910          }
21911          part {
21912             name: "bg";
21913             mouse_events: 0;
21914             description {
21915                state: "default" 0.0;
21916                visible: 0;
21917                color: 255 255 255 0;
21918                rel1 {
21919                   relative: 0.0 0.0;
21920                   offset: -5 -5;
21921                }
21922                rel2 {
21923                   relative: 1.0 1.0;
21924                   offset: 4 4;
21925                }
21926                image {
21927                   normal: "bt_sm_base1.png";
21928                   border: 6 6 6 6;
21929                }
21930             }
21931             description {
21932                state: "selected" 0.0;
21933                inherit: "default" 0.0;
21934                visible: 1;
21935                color: 255 255 255 255;
21936                rel1 {
21937                   relative: 0.0 0.0;
21938                   offset: -2 -2;
21939                }
21940                rel2 {
21941                   relative: 1.0 1.0;
21942                   offset: 1 1;
21943                }
21944             }
21945          }
21946          part {
21947             name: "icon_box_shadow";
21948             mouse_events: 0;
21949             description {
21950                state: "default" 0.0;
21951                visible: 0;
21952                rel1 {
21953                   to: "icon_box";
21954                   relative: 0.0 0.0;
21955                   offset: -1 -1;
21956                }
21957                rel2 {
21958                   to: "icon_box";
21959                   relative: 1.0 1.0;
21960                   offset: 2 2;
21961                }
21962                image {
21963                   normal: "e17_mini_button_shadow2.png";
21964                   border: 6 6 6 6;
21965                }
21966             }
21967             description {
21968                state: "visible" 0.0;
21969                inherit: "default" 0.0;
21970                visible: 1;
21971             }
21972          }
21973          part {
21974             name: "icon_box";
21975             type: RECT;
21976             mouse_events: 0;
21977             description {
21978                state: "default" 0.0;
21979                visible: 0;
21980                align: 0.5 0.5;
21981                rel1 {
21982                   to: "e.swallow.icon";
21983                   relative: 0.0 0.0;
21984                   offset: -1 -1;
21985                }
21986                rel2 {
21987                   to: "e.swallow.icon";
21988                   relative: 1.0 1.0;
21989                   offset: 0 0;
21990                }
21991                color: 0 0 0 64;
21992             }
21993             description {
21994                state: "visible" 0.0;
21995                inherit: "default" 0.0;
21996                visible: 1;
21997             }
21998          }
21999          part {
22000             name: "icon_box_bg";
22001             mouse_events: 0;
22002             description {
22003                state: "default" 0.0;
22004                visible: 0;
22005                rel1 {
22006                   to: "icon_box";
22007                   relative: 0.0 0.0;
22008                   offset: 1 1;
22009                }
22010                rel2 {
22011                   to: "icon_box";
22012                   relative: 1.0 1.0;
22013                   offset: -2 -2;
22014                }
22015                image {
22016                   normal: "e17_fileman_thumb_bg.png";
22017                }
22018                fill {
22019                   smooth: 0;
22020                   size {
22021                      relative: 0 0;
22022                      offset: 32 32;
22023                   }
22024                }
22025             }
22026             description {
22027                state: "visible" 0.0;
22028                inherit: "default" 0.0;
22029                visible: 1;
22030             }
22031          }
22032          part {
22033             name: "icon0";
22034             type: RECT;
22035             mouse_events: 0;
22036             description {
22037                state: "default" 0.0;
22038                align: 0.0 0.5;
22039                aspect: 1.0 1.0;
22040                aspect_preference: VERTICAL;
22041                visible: 0;
22042                rel1 {
22043                   relative: 0.0  0.0;
22044                   offset: 4    4;
22045                }
22046                rel2 {
22047                   relative: 0.0  1.0;
22048                   offset: 4   -5;
22049                }
22050                color: 0 0 0 0;
22051             }
22052          }
22053          part {
22054             name: "icon";
22055             type: RECT;
22056             mouse_events: 0;
22057             description {
22058                state: "default" 0.0;
22059                align: 0.5 0.5;
22060                aspect: 1.0 1.0;
22061                aspect_preference: BOTH;
22062                visible: 0;
22063                rel1 {
22064                   to: "icon0";
22065                }
22066                rel2 {
22067                   to: "icon0";
22068                }
22069                color: 0 0 0 0;
22070             }
22071             description {
22072                state: "min" 0.0;
22073                inherit: "default" 0.0;
22074                max: 0 0;
22075             }
22076             description {
22077                state: "max" 0.0;
22078                inherit: "default" 0.0;
22079                rel1 {
22080                   to: "icon0";
22081                   relative: 0.0  0.0;
22082                   offset: -4   -4;
22083                }
22084                rel2 {
22085                   to: "icon0";
22086                   relative: 1.0  1.0;
22087                   offset: 3    3;
22088                }
22089             }
22090             description {
22091                state: "max2" 0.0;
22092                inherit: "default" 0.0;
22093                rel1 {
22094                   to: "icon0";
22095                   relative: 0.0  0.0;
22096                   offset: -2   -2;
22097                }
22098                rel2 {
22099                   to: "icon0";
22100                   relative: 1.0  1.0;
22101                   offset: 1    1;
22102                }
22103             }
22104          }
22105          part {
22106             name: "e.swallow.icon";
22107             type: SWALLOW;
22108             description {
22109                state: "default" 0.0;
22110                align: 0.5 0.5;
22111                // fixed: 1 1;
22112                rel1 {
22113                   to: "icon";
22114                }
22115                rel2 {
22116                   to: "icon";
22117                }
22118             }
22119          }
22120          part {
22121             name: "e.text.label";
22122             type: TEXT;
22123             effect: SOFT_SHADOW;
22124             mouse_events: 0;
22125             scale: 1;
22126             description {
22127                state: "default" 0.0;
22128                min: 16 16;
22129                rel1 {
22130                   to_x: "icon0";
22131                   relative: 1.0  0.0;
22132                   offset: 4 4;
22133                }
22134                rel2 {
22135                   relative: 1.0  1.0;
22136                   offset: -5 -5;
22137                }
22138                color_class: "ilist_item";
22139                text {
22140                   font: "Sans";
22141                   size: 10;
22142                   min: 1 1;
22143                   align: 0.0 0.5;
22144                   text_class: "ilist_item";
22145                }
22146             }
22147             description {
22148                state: "selected" 0.0;
22149                inherit: "default" 0.0;
22150                color_class: "ilist_item_selected";
22151             }
22152          }
22153          part {
22154             name: "fg1";
22155             mouse_events: 0;
22156             description {
22157                state: "default" 0.0;
22158                visible: 0;
22159                color: 255 255 255 0;
22160                rel1.to: "bg";
22161                rel2.relative: 1.0 0.5;
22162                rel2.to: "bg";
22163                image {
22164                   normal: "bt_sm_hilight.png";
22165                   border: 6 6 6 0;
22166                }
22167             }
22168             description {
22169                state: "selected" 0.0;
22170                inherit: "default" 0.0;
22171                visible: 1;
22172                color: 255 255 255 255;
22173             }
22174          }
22175          part {
22176             name: "fg2";
22177             mouse_events: 0;
22178             description {
22179                state: "default" 0.0;
22180                visible: 0;
22181                color: 255 255 255 0;
22182                rel1.to: "bg";
22183                rel2.to: "bg";
22184                image {
22185                   normal: "bt_sm_shine.png";
22186                   border: 6 6 6 0;
22187                }
22188             }
22189             description {
22190                state: "selected" 0.0;
22191                inherit: "default" 0.0;
22192                visible: 1;
22193                color: 255 255 255 255;
22194             }
22195          }
22196          part {
22197             name: "vol_state";
22198             type: IMAGE;
22199             mouse_events: 0;
22200             repeat_events: 0;
22201             description {
22202                state: "default" 0.0;
22203                color: 0 0 0 0;
22204             }
22205             description {
22206                state: "visible" 0.0;
22207                aspect: 1.0 1.0;
22208                aspect_preference: BOTH;
22209                align: 1.0 1.0;
22210                rel1 {
22211                   relative: 0.5 0.0;
22212                   to: "icon";
22213                }
22214                rel2 {
22215                   relative: 1.0 1.0;
22216                   to: "icon";
22217                }
22218             }
22219             description {
22220                state: "unmounted" 0.0;
22221                inherit: "visible" 0.0;
22222                image.normal: "icon_efm_vol_unmounted.png";
22223             }
22224             description {
22225                state: "mounted" 0.0;
22226                inherit: "visible" 0.0;
22227                image.normal: "icon_efm_vol_mounted.png";
22228             }
22229          }
22230          part {
22231             name: "dnd_action";
22232             type: IMAGE;
22233             mouse_events: 0;
22234             repeat_events: 0;
22235             description {
22236                state: "default" 0.0;
22237                color: 0 0 0 0;
22238             }
22239             description {
22240                state: "visible" 0.0;
22241                aspect: 1.0 1.0;
22242                aspect_preference: BOTH;
22243                align: 1.0 1.0;
22244                rel1 {
22245                   relative: 0.75 0.0;
22246                }
22247                rel2 {
22248                   relative: 1.0 1.0;
22249                }
22250             }
22251             description {
22252                state: "copy" 0.0;
22253                inherit: "visible" 0.0;
22254                image {
22255                   normal: "icon_efm_dnd_copy.png";
22256                }
22257             }
22258             description {
22259                state: "ask" 0.0;
22260                inherit: "visible" 0.0;
22261                image {
22262                   normal: "icon_efm_dnd_ask.png";
22263                }
22264             }
22265             description {
22266                state: "move" 0.0;
22267                inherit: "visible" 0.0;
22268                image {
22269                   normal: "icon_efm_dnd_move.png";
22270                }
22271             }
22272          }
22273          part {
22274             name: "event";
22275             type: RECT;
22276             description {
22277                state: "default" 0.0;
22278                color: 0 0 0 0;
22279             }
22280          }
22281          part {
22282             name: "label_event";
22283             type: RECT;
22284             mouse_events: 1;
22285             repeat_events: 1;
22286             ignore_flags: ON_HOLD;
22287             description {
22288                state: "default" 0.0;
22289                color: 0 0 0 0;
22290                rel1.to: "e.text.label";
22291                rel2.to: "e.text.label";
22292             }
22293          }
22294          part {
22295             name: "e.swallow.entry";
22296             type: SWALLOW;
22297             description {
22298                state: "default" 0.0;
22299                rel1.to: "e.text.label";
22300                rel2.to: "e.text.label";
22301             }
22302          }
22303       }
22304       programs {
22305          program {
22306             name: "label_click";
22307             signal: "mouse,clicked,1";
22308             source: "label_event";
22309             action: SIGNAL_EMIT "e,action,label,click" "e";
22310          }
22311          program {
22312             name: "go_active";
22313             signal: "e,state,selected";
22314             source: "e";
22315             action: STATE_SET "selected" 0.0;
22316             target: "bg";
22317             target: "fg1";
22318             target: "fg2";
22319             target: "e.text.label";
22320          }
22321          program {
22322             name: "go_passive";
22323             signal: "e,state,unselected";
22324             source: "e";
22325             action: STATE_SET "default" 0.0;
22326             target: "bg";
22327             target: "fg1";
22328             target: "fg2";
22329             target: "e.text.label";
22330             transition: LINEAR 0.1;
22331          }
22332          program {
22333             name: "ask";
22334             signal: "e,state,ask";
22335             source: "e";
22336             action: STATE_SET "ask" 0.0;
22337             target: "dnd_action";
22338          }
22339          program {
22340             name: "move";
22341             signal: "e,state,move";
22342             source: "e";
22343             action: STATE_SET "move" 0.0;
22344             target: "dnd_action";
22345          }
22346          program {
22347             name: "copy";
22348             signal: "e,state,copy";
22349             source: "e";
22350             action: STATE_SET "copy" 0.0;
22351             target: "dnd_action";
22352          }
22353          program {
22354             name: "vol_off";
22355             signal: "e,state,volume,off";
22356             source: "e";
22357             action: STATE_SET "default" 0.0;
22358             target: "vol_state";
22359          }
22360          program {
22361             name: "vol_unmounted";
22362             signal: "e,state,volume,unmounted";
22363             source: "e";
22364             action: STATE_SET "unmounted" 0.0;
22365             target: "vol_state";
22366          }
22367          program {
22368             name: "vol_mounted";
22369             signal: "e,state,volume,mounted";
22370             source: "e";
22371             action: STATE_SET "mounted" 0.0;
22372             target: "vol_state";
22373          }
22374          program {
22375             name: "thumb_gen";
22376             signal: "e,action,thumb,gen";
22377             source: "e";
22378             action: STATE_SET "visible" 0.0;
22379             target: "icon_box_shadow";
22380             target: "icon_box";
22381             target: "icon_box_bg";
22382             after: "thumb_gen2";
22383          }
22384          program {
22385             name: "thumb_gen-";
22386             signal: "e,action,thumb,gen,alpha";
22387             source: "e";
22388             action: STATE_SET "default" 0.0;
22389             target: "icon_box_shadow";
22390             target: "icon_box";
22391             target: "icon_box_bg";
22392             after: "thumb_gen2";
22393          }
22394          program {
22395             name: "thumb_gen2";
22396             action: STATE_SET "min" 0.0;
22397             target: "icon";
22398             after: "thumb_gen3";
22399          }
22400          program {
22401             name: "thumb_gen3";
22402             action: STATE_SET "max" 0.0;
22403             target: "icon";
22404             transition: DECELERATE 0.2;
22405             after: "thumb_gen4";
22406          }
22407          program {
22408             name: "thumb_gen4";
22409             action: STATE_SET "default" 0.0;
22410             target: "icon";
22411             transition: SINUSOIDAL 0.1;
22412             after: "thumb_gen5";
22413          }
22414          program {
22415             name: "thumb_gen5";
22416             action: STATE_SET "max2" 0.0;
22417             target: "icon";
22418             transition: SINUSOIDAL 0.2;
22419             after: "thumb_gen6";
22420          }
22421          program {
22422             name: "thumb_gen6";
22423             action: STATE_SET "default" 0.0;
22424             target: "icon";
22425             transition: SINUSOIDAL 0.3;
22426          }
22427       }
22428    }
22429    group {
22430       name: "e/fileman/default/list_odd/fixed";
22431       alias: "e/fileman/desktop/list_odd/fixed";
22432       data.item: "stacking" "below";
22433       data.item: "selectraise" "on";
22434       images {
22435          image: "bt_sm_base1.png" COMP;
22436          image: "bt_sm_shine.png" COMP;
22437          image: "bt_sm_hilight.png" COMP;
22438          image: "ilist_2.png" COMP;
22439          image: "ilist_item_shadow.png" COMP;
22440          image: "e17_mini_button_shadow2.png" COMP;
22441          image: "e17_fileman_thumb_bg.png" COMP;
22442          image: "icon_efm_dnd_copy.png" COMP;
22443          image: "icon_efm_dnd_ask.png" COMP;
22444          image: "icon_efm_dnd_move.png" COMP;
22445          image: "icon_efm_vol_unmounted.png" COMP;
22446          image: "icon_efm_vol_mounted.png" COMP;
22447       }
22448       parts {
22449          part {
22450             name: "base_sh";
22451             mouse_events: 0;
22452             description {
22453                state: "default" 0.0;
22454                // aspect: 6.4 6.4;
22455                // aspect_preference: HORIZONTAL;
22456                align: 0.0 0.0;
22457                min: 0 10;
22458                rel1 {
22459                   to: "base";
22460                   relative: 0.0 1.0;
22461                   offset: 0 0;
22462                }
22463                rel2 {
22464                   to: "base";
22465                   relative: 1.0 1.0;
22466                   offset: -1 0;
22467                }
22468                image {
22469                   normal: "ilist_item_shadow.png";
22470                }
22471                fill.smooth: 0;
22472             }
22473          }
22474          part {
22475             name: "base";
22476             mouse_events: 0;
22477             description {
22478                state: "default" 0.0;
22479                color_class: "ilist_item_odd_base";
22480                image {
22481                   normal: "ilist_2.png";
22482                   border: 2 2 2 2;
22483                }
22484                fill.smooth: 0;
22485             }
22486          }
22487          part {
22488             name: "bg";
22489             mouse_events: 0;
22490             description {
22491                state: "default" 0.0;
22492                visible: 0;
22493                color: 255 255 255 0;
22494                rel1 {
22495                   relative: 0.0 0.0;
22496                   offset: -5 -5;
22497                }
22498                rel2 {
22499                   relative: 1.0 1.0;
22500                   offset: 4 4;
22501                }
22502                image {
22503                   normal: "bt_sm_base1.png";
22504                   border: 6 6 6 6;
22505                }
22506             }
22507             description {
22508                state: "selected" 0.0;
22509                inherit: "default" 0.0;
22510                visible: 1;
22511                color: 255 255 255 255;
22512                rel1 {
22513                   relative: 0.0 0.0;
22514                   offset: -2 -2;
22515                }
22516                rel2 {
22517                   relative: 1.0 1.0;
22518                   offset: 1 1;
22519                }
22520             }
22521          }
22522          part {
22523             name: "icon_box_shadow";
22524             mouse_events: 0;
22525             description {
22526                state: "default" 0.0;
22527                visible: 0;
22528                rel1 {
22529                   to: "icon_box";
22530                   relative: 0.0 0.0;
22531                   offset: -1 -1;
22532                }
22533                rel2 {
22534                   to: "icon_box";
22535                   relative: 1.0 1.0;
22536                   offset: 2 2;
22537                }
22538                image {
22539                   normal: "e17_mini_button_shadow2.png";
22540                   border: 6 6 6 6;
22541                }
22542             }
22543             description {
22544                state: "visible" 0.0;
22545                inherit: "default" 0.0;
22546                visible: 1;
22547             }
22548          }
22549          part {
22550             name: "icon_box";
22551             type: RECT;
22552             mouse_events: 0;
22553             description {
22554                state: "default" 0.0;
22555                visible: 0;
22556                align: 0.5 0.5;
22557                rel1 {
22558                   to: "e.swallow.icon";
22559                   relative: 0.0 0.0;
22560                   offset: -1 -1;
22561                }
22562                rel2 {
22563                   to: "e.swallow.icon";
22564                   relative: 1.0 1.0;
22565                   offset: 0 0;
22566                }
22567                color: 0 0 0 64;
22568             }
22569             description {
22570                state: "visible" 0.0;
22571                inherit: "default" 0.0;
22572                visible: 1;
22573             }
22574          }
22575          part {
22576             name: "icon_box_bg";
22577             mouse_events: 0;
22578             description {
22579                state: "default" 0.0;
22580                visible: 0;
22581                rel1 {
22582                   to: "icon_box";
22583                   relative: 0.0 0.0;
22584                   offset: 1 1;
22585                }
22586                rel2 {
22587                   to: "icon_box";
22588                   relative: 1.0 1.0;
22589                   offset: -2 -2;
22590                }
22591                image {
22592                   normal: "e17_fileman_thumb_bg.png";
22593                }
22594                fill {
22595                   smooth: 0;
22596                   size {
22597                      relative: 0 0;
22598                      offset: 32 32;
22599                   }
22600                }
22601             }
22602             description {
22603                state: "visible" 0.0;
22604                inherit: "default" 0.0;
22605                visible: 1;
22606             }
22607          }
22608          part {
22609             name: "icon0";
22610             type: RECT;
22611             mouse_events: 0;
22612             description {
22613                state: "default" 0.0;
22614                align: 0.0 0.5;
22615                aspect: 1.0 1.0;
22616                aspect_preference: VERTICAL;
22617                visible: 0;
22618                rel1 {
22619                   relative: 0.0  0.0;
22620                   offset: 4    4;
22621                }
22622                rel2 {
22623                   relative: 0.0  1.0;
22624                   offset: 4   -5;
22625                }
22626                color: 0 0 0 0;
22627             }
22628          }
22629          part {
22630             name: "icon";
22631             type: RECT;
22632             mouse_events: 0;
22633             description {
22634                state: "default" 0.0;
22635                align: 0.5 0.5;
22636                aspect: 1.0 1.0;
22637                aspect_preference: BOTH;
22638                visible: 0;
22639                rel1 {
22640                   to: "icon0";
22641                }
22642                rel2 {
22643                   to: "icon0";
22644                }
22645                color: 0 0 0 0;
22646             }
22647             description {
22648                state: "min" 0.0;
22649                inherit: "default" 0.0;
22650                max: 0 0;
22651             }
22652             description {
22653                state: "max" 0.0;
22654                inherit: "default" 0.0;
22655                rel1 {
22656                   to: "icon0";
22657                   relative: 0.0  0.0;
22658                   offset: -4   -4;
22659                }
22660                rel2 {
22661                   to: "icon0";
22662                   relative: 1.0  1.0;
22663                   offset: 3    3;
22664                }
22665             }
22666             description {
22667                state: "max2" 0.0;
22668                inherit: "default" 0.0;
22669                rel1 {
22670                   to: "icon0";
22671                   relative: 0.0  0.0;
22672                   offset: -2   -2;
22673                }
22674                rel2 {
22675                   to: "icon0";
22676                   relative: 1.0  1.0;
22677                   offset: 1    1;
22678                }
22679             }
22680          }
22681          part {
22682             name: "e.swallow.icon";
22683             type: SWALLOW;
22684             description {
22685                state: "default" 0.0;
22686                align: 0.5 0.5;
22687                // fixed: 1 1;
22688                rel1 {
22689                   to: "icon";
22690                }
22691                rel2 {
22692                   to: "icon";
22693                }
22694             }
22695          }
22696          part {
22697             name: "e.text.label";
22698             type: TEXT;
22699             effect: SOFT_SHADOW;
22700             mouse_events: 0;
22701             scale: 1;
22702             description {
22703                state: "default" 0.0;
22704                min: 16 16;
22705                rel1 {
22706                   to_x: "icon0";
22707                   relative: 1.0  0.0;
22708                   offset: 4 4;
22709                }
22710                rel2 {
22711                   relative: 1.0  1.0;
22712                   offset: -5 -5;
22713                }
22714                color_class: "ilist_item_odd";
22715                text {
22716                   font: "Sans";
22717                   size: 10;
22718                   min: 1 1;
22719                   align: 0.0 0.5;
22720                   text_class: "ilist_item";
22721                }
22722             }
22723             description {
22724                state: "selected" 0.0;
22725                inherit: "default" 0.0;
22726                color_class: "ilist_item_selected";
22727             }
22728          }
22729          part {
22730             name: "fg1";
22731             mouse_events: 0;
22732             description {
22733                state: "default" 0.0;
22734                visible: 0;
22735                color: 255 255 255 0;
22736                rel1.to: "bg";
22737                rel2.relative: 1.0 0.5;
22738                rel2.to: "bg";
22739                image {
22740                   normal: "bt_sm_hilight.png";
22741                   border: 6 6 6 0;
22742                }
22743             }
22744             description {
22745                state: "selected" 0.0;
22746                inherit: "default" 0.0;
22747                visible: 1;
22748                color: 255 255 255 255;
22749             }
22750          }
22751          part {
22752             name: "fg2";
22753             mouse_events: 0;
22754             description {
22755                state: "default" 0.0;
22756                visible: 0;
22757                color: 255 255 255 0;
22758                rel1.to: "bg";
22759                rel2.to: "bg";
22760                image {
22761                   normal: "bt_sm_shine.png";
22762                   border: 6 6 6 0;
22763                }
22764             }
22765             description {
22766                state: "selected" 0.0;
22767                inherit: "default" 0.0;
22768                visible: 1;
22769                color: 255 255 255 255;
22770             }
22771          }
22772          part {
22773             name: "vol_state";
22774             type: IMAGE;
22775             mouse_events: 0;
22776             repeat_events: 0;
22777             description {
22778                state: "default" 0.0;
22779                color: 0 0 0 0;
22780             }
22781             description {
22782                state: "visible" 0.0;
22783                aspect: 1.0 1.0;
22784                aspect_preference: BOTH;
22785                align: 1.0 1.0;
22786                rel1 {
22787                   relative: 0.5 0.0;
22788                   to: "icon";
22789                }
22790                rel2 {
22791                   relative: 1.0 1.0;
22792                   to: "icon";
22793                }
22794             }
22795             description {
22796                state: "unmounted" 0.0;
22797                inherit: "visible" 0.0;
22798                image.normal: "icon_efm_vol_unmounted.png";
22799             }
22800             description {
22801                state: "mounted" 0.0;
22802                inherit: "visible" 0.0;
22803                image.normal: "icon_efm_vol_mounted.png";
22804             }
22805          }
22806          part {
22807             name: "dnd_action";
22808             type: IMAGE;
22809             mouse_events: 0;
22810             repeat_events: 0;
22811             description {
22812                state: "default" 0.0;
22813                color: 0 0 0 0;
22814             }
22815             description {
22816                state: "visible" 0.0;
22817                aspect: 1.0 1.0;
22818                aspect_preference: BOTH;
22819                align: 1.0 1.0;
22820                rel1 {
22821                   relative: 0.75 0.0;
22822                }
22823                rel2 {
22824                   relative: 1.0 1.0;
22825                }
22826             }
22827             description {
22828                state: "copy" 0.0;
22829                inherit: "visible" 0.0;
22830                image {
22831                   normal: "icon_efm_dnd_copy.png";
22832                }
22833             }
22834             description {
22835                state: "ask" 0.0;
22836                inherit: "visible" 0.0;
22837                image {
22838                   normal: "icon_efm_dnd_ask.png";
22839                }
22840             }
22841             description {
22842                state: "move" 0.0;
22843                inherit: "visible" 0.0;
22844                image {
22845                   normal: "icon_efm_dnd_move.png";
22846                }
22847             }
22848          }
22849          part {
22850             name: "event";
22851             type: RECT;
22852             description {
22853                state: "default" 0.0;
22854                color: 0 0 0 0;
22855             }
22856          }
22857          part {
22858             name: "label_event";
22859             type: RECT;
22860             mouse_events: 1;
22861             repeat_events: 1;
22862             ignore_flags: ON_HOLD;
22863             description {
22864                state: "default" 0.0;
22865                color: 0 0 0 0;
22866                rel1.to: "e.text.label";
22867                rel2.to: "e.text.label";
22868             }
22869          }
22870          part {
22871             name: "e.swallow.entry";
22872             type: SWALLOW;
22873             description {
22874                state: "default" 0.0;
22875                rel1.to: "e.text.label";
22876                rel2.to: "e.text.label";
22877             }
22878          }
22879       }
22880       programs {
22881          program {
22882             name: "label_click";
22883             signal: "mouse,clicked,1";
22884             source: "label_event";
22885             action: SIGNAL_EMIT "e,action,label,click" "e";
22886          }
22887          program {
22888             name: "go_active";
22889             signal: "e,state,selected";
22890             source: "e";
22891             action: STATE_SET "selected" 0.0;
22892             target: "bg";
22893             target: "fg1";
22894             target: "fg2";
22895             target: "e.text.label";
22896          }
22897          program {
22898             name: "go_passive";
22899             signal: "e,state,unselected";
22900             source: "e";
22901             action: STATE_SET "default" 0.0;
22902             target: "bg";
22903             target: "fg1";
22904             target: "fg2";
22905             target: "e.text.label";
22906             transition: LINEAR 0.1;
22907          }
22908          program {
22909             name: "ask";
22910             signal: "e,state,ask";
22911             source: "e";
22912             action: STATE_SET "ask" 0.0;
22913             target: "dnd_action";
22914          }
22915          program {
22916             name: "move";
22917             signal: "e,state,move";
22918             source: "e";
22919             action: STATE_SET "move" 0.0;
22920             target: "dnd_action";
22921          }
22922          program {
22923             name: "copy";
22924             signal: "e,state,copy";
22925             source: "e";
22926             action: STATE_SET "copy" 0.0;
22927             target: "dnd_action";
22928          }
22929          program {
22930             name: "vol_off";
22931             signal: "e,state,volume,off";
22932             source: "e";
22933             action: STATE_SET "default" 0.0;
22934             target: "vol_state";
22935          }
22936          program {
22937             name: "vol_unmounted";
22938             signal: "e,state,volume,unmounted";
22939             source: "e";
22940             action: STATE_SET "unmounted" 0.0;
22941             target: "vol_state";
22942          }
22943          program {
22944             name: "vol_mounted";
22945             signal: "e,state,volume,mounted";
22946             source: "e";
22947             action: STATE_SET "mounted" 0.0;
22948             target: "vol_state";
22949          }
22950          program {
22951             name: "thumb_gen";
22952             signal: "e,action,thumb,gen";
22953             source: "e";
22954             action: STATE_SET "visible" 0.0;
22955             target: "icon_box_shadow";
22956             target: "icon_box";
22957             target: "icon_box_bg";
22958             after: "thumb_gen2";
22959          }
22960          program {
22961             name: "thumb_gen-";
22962             signal: "e,action,thumb,gen,alpha";
22963             source: "e";
22964             action: STATE_SET "default" 0.0;
22965             target: "icon_box_shadow";
22966             target: "icon_box";
22967             target: "icon_box_bg";
22968             after: "thumb_gen2";
22969          }
22970          program {
22971             name: "thumb_gen2";
22972             action: STATE_SET "min" 0.0;
22973             target: "icon";
22974             after: "thumb_gen3";
22975          }
22976          program {
22977             name: "thumb_gen3";
22978             action: STATE_SET "max" 0.0;
22979             target: "icon";
22980             transition: DECELERATE 0.2;
22981             after: "thumb_gen4";
22982          }
22983          program {
22984             name: "thumb_gen4";
22985             action: STATE_SET "default" 0.0;
22986             target: "icon";
22987             transition: SINUSOIDAL 0.1;
22988             after: "thumb_gen5";
22989          }
22990          program {
22991             name: "thumb_gen5";
22992             action: STATE_SET "max2" 0.0;
22993             target: "icon";
22994             transition: SINUSOIDAL 0.2;
22995             after: "thumb_gen6";
22996          }
22997          program {
22998             name: "thumb_gen6";
22999             action: STATE_SET "default" 0.0;
23000             target: "icon";
23001             transition: SINUSOIDAL 0.3;
23002          }
23003       }
23004    }
23005
23006
23007 /////////////////////////////////////////////////////////////////////////////
23008 /*** SYSTEM ***/
23009
23010    group {
23011       name: "e/sys/logout";
23012       alias: "e/sys/halt";
23013       alias: "e/sys/reboot";
23014       alias: "e/sys/suspend";
23015       alias: "e/sys/hibernate";
23016       data.item: "borderless" "1";
23017       // data.item: "shaped" "1";
23018       images {
23019          image: "vgrad_dark.png" COMP;
23020          image: "shelf_alt_over.png" COMP;
23021          image: "logo_white_128.png" COMP;
23022          image: "busy-1.png" COMP;
23023          image: "busy-2.png" COMP;
23024          image: "busy-3.png" COMP;
23025          image: "busy-4.png" COMP;
23026          image: "busy-5.png" COMP;
23027          image: "busy-6.png" COMP;
23028          image: "busy-7.png" COMP;
23029          image: "busy-8.png" COMP;
23030          image: "busy-9.png" COMP;
23031       }
23032       styles {
23033          style {
23034             name: "sys_style";
23035             base: "font=Sans:style=Bold font_size=12 text_class=tb_plain align=center color=#fff style=soft_shadow shadow_color=#0000001f wrap=word";
23036             tag: "br" "\n";
23037             tag: "hilight" "+ font=Sans:style=Bold text_class=tb_light";
23038          }
23039       }
23040       parts {
23041          part {
23042             name: "base";
23043             mouse_events: 0;
23044             description {
23045                state: "default" 0.0;
23046                min: 250 250;
23047                image.normal: "vgrad_dark.png";
23048                fill {
23049                   size {
23050                      relative: 0 1.0;
23051                      offset: 36 0;
23052                   }
23053                }
23054             }
23055          }
23056          part {
23057             name: "over";
23058             mouse_events: 0;
23059             description {
23060                state: "default" 0.0;
23061                image.normal: "shelf_alt_over.png";
23062                image.border: 5 5 5 5;
23063                image.middle: 0;
23064                fill.smooth: 0;
23065             }
23066          }
23067          part {
23068             name: "busy";
23069             mouse_events: 0;
23070             description {
23071                state: "default" 0.0;
23072                min: 32 32;
23073                max: 32 32;
23074                aspect: 1.0 1.0;
23075                align: 0.5 0.0;
23076                aspect_preference: BOTH;
23077                rel1 {
23078                   to_y: "logo";
23079                   relative: 0.0 1.0;
23080                   offset: 0 1;
23081                }
23082                rel2 {
23083                   relative: 1.0 1.0;
23084                   offset: -1 1;
23085                }
23086                image {
23087                   normal: "busy-9.png";
23088                   tween: "busy-1.png";
23089                   tween: "busy-2.png";
23090                   tween: "busy-3.png";
23091                   tween: "busy-4.png";
23092                   tween: "busy-5.png";
23093                   tween: "busy-6.png";
23094                   tween: "busy-7.png";
23095                   tween: "busy-8.png";
23096                }
23097             }
23098          }
23099          part {
23100             name: "logo";
23101             mouse_events: 0;
23102             description {
23103                state: "default" 0.0;
23104                min: 128 128;
23105                max: 128 128;
23106                align: 0.5 0.0;
23107                image.normal: "logo_white_128.png";
23108             }
23109             description {
23110                state: "done" 0.0;
23111                inherit: "default" 0.0;
23112                color: 255 255 255 0;
23113             }
23114          }
23115          part {
23116             name: "e.textblock.message";
23117             type: TEXTBLOCK;
23118             mouse_events: 0;
23119             scale: 1;
23120             description {
23121                state: "default" 0.0;
23122                rel1 {
23123                   offset: 8 8;
23124                   relative: 0.0 1.0;
23125                   to_y: "busy";
23126                }
23127                rel2.offset: -9 -9;
23128                text {
23129                   style: "sys_style";
23130                   min: 1 1;
23131                }
23132             }
23133          }
23134       }
23135       programs {
23136          program {
23137             name: "busy_anim";
23138             signal: "show";
23139             source: "";
23140             action: STATE_SET "default" 0.0;
23141             transition: LINEAR 0.3333;
23142             target: "busy";
23143             after: "busy_anim";
23144          }
23145       }
23146    }
23147
23148
23149 /////////////////////////////////////////////////////////////////////////////
23150 /*** DIALOG ***/
23151 /* Used in all dialogs eg; Wallpaper selector */
23152
23153    group {
23154       name: "e/widgets/dialog/main";
23155       images {
23156          image: "dia_grad.png" COMP;
23157          image: "dia_topshad.png" COMP;
23158          image: "dia_botshad.png" COMP;
23159          image: "menu_sep.png" COMP;
23160       }
23161       parts {
23162          part {
23163             name: "base";
23164             mouse_events: 0;
23165             description {
23166                state: "default" 0.0;
23167                color_class: "dialog_base";
23168                image.normal: "dia_grad.png";
23169                fill {
23170                   smooth: 0;
23171                   size {
23172                      relative: 0.0 1.0;
23173                      offset: 64 0;
23174                   }
23175                }
23176             }
23177          }
23178          part {
23179             name: "shadow";
23180             mouse_events: 0;
23181             description {
23182                state: "default" 0.0;
23183                rel2.relative: 1.0 0.0;
23184                rel2.offset: -1 31;
23185                image.normal: "dia_topshad.png";
23186                fill {
23187                   smooth: 0;
23188                   size {
23189                      relative: 0.0 1.0;
23190                      offset: 64 0;
23191                   }
23192                }
23193             }
23194          }
23195          part {
23196             name: "shadow2";
23197             mouse_events: 0;
23198             description {
23199                state: "default" 0.0;
23200                rel1.relative: 0.0 1.0;
23201                rel1.offset: 0 -4;
23202                image.normal: "dia_botshad.png";
23203                fill {
23204                   smooth: 0;
23205                   size {
23206                      relative: 0.0 1.0;
23207                      offset: 64 0;
23208                   }
23209                }
23210             }
23211          }
23212          part {
23213             name: "e.swallow.icon";
23214             type: SWALLOW;
23215             description {
23216                state: "default" 0.0;
23217                align: 0.0 0.5;
23218                fixed: 1 0;
23219                rel1 {
23220                   relative: 0.0 0.0;
23221                   offset: 2  2;
23222                }
23223                rel2 {
23224                   relative: 0.0 0.0;
23225                   offset: 2  -5;
23226                   to_y: "e.swallow.buttons";
23227                }
23228             }
23229          }
23230          part {
23231             name: "e.swallow.content";
23232             type: SWALLOW;
23233             description {
23234                state: "default" 0.0;
23235                rel1 {
23236                   relative: 1.0 0.0;
23237                   offset: 2   2;
23238                   to_x: "e.swallow.icon";
23239                }
23240                rel2 {
23241                   relative: 1.0 0.0;
23242                   offset: -3  -5;
23243                   to_y: "e.swallow.buttons";
23244                }
23245             }
23246          }
23247          part {
23248             name: "separator";
23249             mouse_events: 0;
23250             description {
23251                state: "default" 0.0;
23252                min: 16 2;
23253                rel1 {
23254                   relative: 0.0  1.0;
23255                   offset: 4    -1;
23256                   to_y: "e.swallow.content";
23257                }
23258                rel2 {
23259                   relative: 1.0  1.0;
23260                   offset: -5   0;
23261                   to_y: "e.swallow.content";
23262                }
23263                image {
23264                   normal: "menu_sep.png";
23265                   border: 2 2 0 0;
23266                }
23267                fill.smooth: 0;
23268             }
23269          }
23270          part {
23271             name: "e.swallow.buttons";
23272             type: SWALLOW;
23273             description {
23274                state: "default" 0.0;
23275                align: 0.5 1.0;
23276                fixed: 0 1;
23277                rel1 {
23278                   relative: 0.0 1.0;
23279                   offset: 4   -5;
23280                }
23281                rel2 {
23282                   relative: 1.0 1.0;
23283                   offset: -5  -5;
23284                }
23285             }
23286          }
23287       }
23288    }
23289    group {
23290       name: "e/widgets/dialog/text";
23291       styles {
23292          style {
23293             name: "dialog_style";
23294             base: "font=Sans font_size=10 text_class=tb_plain align=center color=#000 style=shadow shadow_color=#ffffff80 wrap=word";
23295             tag: "br" "\n";
23296             tag: "hilight" "+ font=Sans:style=Bold text_class=tb_light";
23297          }
23298       }
23299       parts {
23300          part {
23301             name: "e.textblock.message";
23302             type: TEXTBLOCK;
23303             mouse_events: 0;
23304             scale: 1;
23305             description {
23306                state: "default" 0.0;
23307                rel1.offset: 4 4;
23308                rel2.offset: -5 -5;
23309                text {
23310                   style: "dialog_style";
23311                   min: 1 1;
23312                }
23313             }
23314          }
23315       }
23316    }
23317
23318
23319 /////////////////////////////////////////////////////////////////////////////
23320 /*** CONFIGURATION PANEL ***/
23321
23322    group {
23323       name: "e/widgets/configure/main";
23324       images {
23325          image: "dia_grad.png" COMP;
23326          image: "dia_topshad.png" COMP;
23327          image: "dia_botshad.png" COMP;
23328          image: "menu_sep.png" COMP;
23329       }
23330       parts {
23331          part {
23332             name: "base";
23333             mouse_events: 0;
23334             description {
23335                state: "default" 0.0;
23336                color_class: "dialog_base";
23337                image.normal: "dia_grad.png";
23338                fill {
23339                   smooth: 0;
23340                   size {
23341                      relative: 0.0 1.0;
23342                      offset: 64 0;
23343                   }
23344                }
23345             }
23346          }
23347          part {
23348             name: "shadow";
23349             mouse_events: 0;
23350             description {
23351                state: "default" 0.0;
23352                rel2.relative: 1.0 0.0;
23353                rel2.offset: -1 31;
23354                image.normal: "dia_topshad.png";
23355                fill {
23356                   smooth: 0;
23357                   size {
23358                      relative: 0.0 1.0;
23359                      offset: 64 0;
23360                   }
23361                }
23362             }
23363          }
23364          part {
23365             name: "shadow2";
23366             mouse_events: 0;
23367             description {
23368                state: "default" 0.0;
23369                rel1.relative: 0.0 1.0;
23370                rel1.offset: 0 -4;
23371                image.normal: "dia_botshad.png";
23372                fill {
23373                   smooth: 0;
23374                   size {
23375                      relative: 0.0 1.0;
23376                      offset: 64 0;
23377                   }
23378                }
23379             }
23380          }
23381          part {
23382             name: "separator";
23383             mouse_events: 0;
23384             description {
23385                state: "default" 0.0;
23386                min: 16 2;
23387                rel1 {
23388                   relative: 0.0  1.0;
23389                   offset: 4    1;
23390                   to_y: "e.swallow.content";
23391                }
23392                rel2 {
23393                   relative: 1.0  1.0;
23394                   offset: -5   2;
23395                   to_y: "e.swallow.content";
23396                }
23397                image {
23398                   normal: "menu_sep.png";
23399                   border: 2 2 0 0;
23400                }
23401                fill.smooth: 0;
23402             }
23403          }
23404          part {
23405             name: "e.swallow.content";
23406             type: SWALLOW;
23407             description {
23408                state: "default" 0.0;
23409                align: 0.5 0.5;
23410                min: 100 200;
23411                rel1.offset: 2 2;
23412                rel2 {
23413                   relative: 1.0 0.0;
23414                   offset: -3 -5;
23415                   to_y: "e.swallow.button";
23416                }
23417             }
23418          }
23419          part {
23420             name: "e.swallow.button";
23421             type: SWALLOW;
23422             description {
23423                state: "default" 0.0;
23424                align: 0.5 1.0;
23425                fixed: 1 1;
23426                rel1.relative: 0.5 1.0;
23427                rel2.relative: 0.5 1.0;
23428             }
23429          }
23430       }
23431    }
23432
23433
23434 /////////////////////////////////////////////////////////////////////////////
23435 /*** MOVE/RESIZE BOX ***/
23436
23437    group {
23438       name: "e/widgets/border/default/move";
23439       images {
23440          image: "base_bg.png" COMP;
23441          image: "icon_win_move.png" COMP;
23442       }
23443       parts {
23444          part {
23445             name: "base";
23446             mouse_events: 0;
23447             description {
23448                state: "default" 0.0;
23449                image {
23450                   normal: "base_bg.png";
23451                   border: 2 2 2 2;
23452                }
23453                fill.smooth: 0;
23454             }
23455          }
23456          part {
23457             name: "icon";
23458             mouse_events: 0;
23459             description {
23460                state: "default" 0.0;
23461                align: 0.0 0.5;
23462                min: 21 21;
23463                max: 21 21;
23464                fixed: 1 1;
23465                rel1.offset: 2 2;
23466                rel2.relative: 0.0 1.0;
23467                rel2.offset: 2 -3;
23468                image.normal: "icon_win_move.png";
23469             }
23470          }
23471          part {
23472             name: "e.text.label";
23473             type: TEXT;
23474             scale: 1;
23475             description {
23476                state: "default" 0.0;
23477                rel1.to_x: "icon";
23478                rel1.offset: 2 4;
23479                rel1.relative: 1.0 0.0;
23480                rel2.offset: -5 -5;
23481                color_class: "move_text";
23482                text {
23483                   text: "X Y";
23484                   font: "Sans";
23485                   size: 10;
23486                   align: 0.5 0.5;
23487                   min: 1 1;
23488                   text_class: "move_text";
23489                }
23490             }
23491          }
23492       }
23493    }
23494    group {
23495       name: "e/widgets/border/default/resize";
23496       images {
23497          image: "base_bg.png" COMP;
23498          image: "icon_win_resize.png" COMP;
23499       }
23500       parts {
23501          part {
23502             name: "base";
23503             mouse_events: 0;
23504             description {
23505                state: "default" 0.0;
23506                align: 0.5 0.0;
23507                image {
23508                   normal: "base_bg.png";
23509                   border: 2 2 2 2;
23510                }
23511                fill.smooth: 0;
23512             }
23513          }
23514          part {
23515             name: "icon";
23516             mouse_events: 0;
23517             description {
23518                state: "default" 0.0;
23519                align: 0.0 0.5;
23520                min: 21 21;
23521                max: 21 21;
23522                fixed: 1 1;
23523                rel1.offset: 2 2;
23524                rel2.relative: 0.0 1.0;
23525                rel2.offset: 2 -3;
23526                image.normal: "icon_win_resize.png";
23527             }
23528          }
23529          part {
23530             name: "e.text.label";
23531             type: TEXT;
23532             scale: 1;
23533             description {
23534                state: "default" 0.0;
23535                rel1.to_x: "icon";
23536                rel1.offset: 2 4;
23537                rel1.relative: 1.0 0.0;
23538                rel2.offset: -5 -5;
23539                color_class: "resize_text";
23540                text {
23541                   text: "WxH";
23542                   font: "Sans";
23543                   size: 10;
23544                   align: 0.5 0.5;
23545                   min: 1 1;
23546                   text_class: "resize_text";
23547                }
23548             }
23549          }
23550       }
23551    }
23552
23553
23554 /////////////////////////////////////////////////////////////////////////////
23555 /*** FILE MANAGER TOOLBAR ***/
23556
23557    group {
23558       name: "e/fileman/toolbar/default/base";
23559       images {
23560          image: "efm_toolbar_top.png" COMP;
23561          image: "efm_toolbar_bottom.png" COMP;
23562       }
23563       parts {
23564          part {
23565             name: "base";
23566             mouse_events: 0;
23567             description {
23568                state: "default" 0.0;
23569                max: 99999 48;
23570                image.normal: "efm_toolbar_top.png";
23571                image.border: 4 4 4 4;
23572                fill.smooth: 0;
23573             }
23574             description {
23575                state: "bottom" 0.0;
23576                inherit: "default" 0.0;
23577                image.normal: "efm_toolbar_bottom.png";
23578             }
23579          }
23580          part {
23581             name: "e.swallow.content";
23582             type: SWALLOW;
23583             description {
23584                state: "default" 0.0;
23585                rel1.offset: 2 2;
23586                rel2.offset: -3 -3;
23587             }
23588             description {
23589                state: "bottom" 0.0;
23590                inherit: "default" 0.0;
23591             }
23592          }
23593       }
23594       programs {
23595          program {
23596             name: "orient1";
23597             signal: "e,state,orientation,top";
23598             source: "e";
23599             action: STATE_SET "default" 0.0;
23600             target: "base";
23601             target: "e.swallow.content";
23602          }
23603          program {
23604             name: "orient2";
23605             signal: "e,state,orientation,bottom";
23606             source: "e";
23607             action: STATE_SET "bottom" 0.0;
23608             target: "base";
23609             target: "e.swallow.content";
23610          }
23611       }
23612    }
23613
23614
23615 /////////////////////////////////////////////////////////////////////////////
23616 /*** TRANSITIONS ***/
23617 /* The fake backgrounds used in the Transitions config dialog */
23618
23619    images {
23620       image: "vgrad_dark.png" COMP;
23621       image: "vgrad_light.png" COMP;
23622       image: "logo_black_128.png" COMP;
23623       image: "logo_white_128.png" COMP;
23624    }
23625    group {
23626       name: "e/transpreview/0";
23627       parts {
23628          part {
23629             name: "bg";
23630             mouse_events: 0;
23631             description {
23632                state: "default" 0.0;
23633                image.normal: "vgrad_dark.png";
23634                fill {
23635                   size {
23636                      relative: 0 1.0;
23637                      offset: 36 0;
23638                   }
23639                }
23640             }
23641          }
23642          part {
23643             name: "logo";
23644             mouse_events: 0;
23645             description {
23646                state: "default" 0.0;
23647                image.normal: "logo_white_128.png";
23648                min: 32 32;
23649                max: 128 128;
23650             }
23651          }
23652       }
23653    }
23654    group {
23655       name: "e/transpreview/1";
23656       parts {
23657          part {
23658             name: "bg";
23659             mouse_events: 0;
23660             description {
23661                state: "default" 0.0;
23662                image.normal: "vgrad_light.png";
23663                fill {
23664                   size {
23665                      relative: 0 1.0;
23666                      offset: 36 0;
23667                   }
23668                }
23669             }
23670          }
23671          part {
23672             name: "logo";
23673             mouse_events: 0;
23674             description {
23675                state: "default" 0.0;
23676                image.normal: "logo_black_128.png";
23677                min: 32 32;
23678                max: 128 128;
23679             }
23680          }
23681       }
23682    }
23683    /* e/transitions/* The look of transitions when swapping desks */
23684    group {
23685       name: "e/transitions/crossfade";
23686       parts {
23687          part {
23688             name: "e.swallow.bg.old";
23689             type: SWALLOW;
23690             description {
23691                state: "default" 0.0;
23692             }
23693          }
23694          part {
23695             name: "e.swallow.bg.new";
23696             type: SWALLOW;
23697             clip_to: "bg_new_clip";
23698             description {
23699                state: "default" 0.0;
23700             }
23701          }
23702          part {
23703             name: "bg_new_clip";
23704             type: RECT;
23705             mouse_events: 0;
23706             description {
23707                state: "default" 0.0;
23708                color: 255 255 255 0;
23709             }
23710             description {
23711                state: "done" 0.0;
23712                inherit: "default" 0.0;
23713                color: 255 255 255 255;
23714             }
23715          }
23716       }
23717       programs {
23718          program {
23719             name: "go";
23720             signal: "e,action,start";
23721             source: "e";
23722             action: STATE_SET "done" 0.0;
23723             transition: SINUSOIDAL 1.0;
23724             target: "bg_new_clip";
23725             after: "go2";
23726          }
23727          program {
23728             name: "go2";
23729             action: SIGNAL_EMIT "e,state,done" "";
23730          }
23731       }
23732    }
23733    group {
23734       name: "e/transitions/vswipe";
23735       images.image: "transition_vswipe.png" COMP;
23736       parts {
23737          part {
23738             name: "e.swallow.bg.old";
23739             type: SWALLOW;
23740             clip_to: "bg_prev_clip";
23741             description {
23742                state: "default" 0.0;
23743             }
23744          }
23745          part {
23746             name: "e.swallow.bg.new";
23747             type: SWALLOW;
23748             clip_to: "bg_new_clip";
23749             description {
23750                state: "default" 0.0;
23751             }
23752          }
23753          part {
23754             name: "bg_prev_clip";
23755             type: RECT;
23756             mouse_events: 0;
23757             description {
23758                state: "default" 0.0;
23759                rel1.offset: 0   -32;
23760                rel2.offset: -1    31;
23761             }
23762             description {
23763                state: "done" 0.0;
23764                inherit: "default" 0.0;
23765                rel1 {
23766                   relative: 0.0  1.0;
23767                   offset: 0    31;
23768                }
23769                rel2 {
23770                   relative: 1.0  1.0;
23771                   offset: -1   31;
23772                }
23773             }
23774          }
23775          part {
23776             name: "bg_new_clip";
23777             type: RECT;
23778             mouse_events: 0;
23779             description {
23780                state: "default" 0.0;
23781                rel1 {
23782                   relative: 0.0  0.0;
23783                   offset: 0    -32;
23784                }
23785                rel2 {
23786                   relative: 1.0  0.0;
23787                   offset: -1   -32;
23788                }
23789             }
23790             description {
23791                state: "done" 0.0;
23792                rel1.offset: 0   -32;
23793                rel2.offset: -1    31;
23794             }
23795          }
23796          part {
23797             name: "swipe_gap";
23798             mouse_events: 0;
23799             description {
23800                state: "default" 0.0;
23801                min: 0 64;
23802                max: 99999 64;
23803                rel1 {
23804                   to: "bg_prev_clip";
23805                   relative: 0.0  0.0;
23806                   offset: 0    0;
23807                }
23808                rel2 {
23809                   to: "bg_prev_clip";
23810                   relative: 1.0  0.0;
23811                   offset: -1   0;
23812                }
23813                image.normal: "transition_vswipe.png";
23814             }
23815          }
23816       }
23817       programs {
23818          program {
23819             name: "go";
23820             signal: "e,action,start";
23821             source: "e";
23822             action: STATE_SET "done" 0.0;
23823             transition: SINUSOIDAL 1.0;
23824             target: "bg_new_clip";
23825             target: "bg_prev_clip";
23826             after: "go2";
23827          }
23828          program {
23829             name: "go2";
23830             action: SIGNAL_EMIT "e,state,done" "";
23831          }
23832       }
23833    }
23834
23835
23836 /////////////////////////////////////////////////////////////////////////////
23837 /*** WIDGETS ***/
23838
23839    group {
23840       name: "e/widgets/check";
23841       images {
23842          image: "check_base.png" COMP;
23843          image: "check_on.png" COMP;
23844          image: "check_sel.png" COMP;
23845       }
23846       parts {
23847          part {
23848             name: "base";
23849             mouse_events: 0;
23850             scale: 1;
23851             description {
23852                state: "default" 0.0;
23853                min: 16 16;
23854                max: 16 16;
23855                align: 0.0 0.5;
23856                fixed: 1 1;
23857                rel1 {
23858                   relative: 0.0  0.0;
23859                   offset: 2    2;
23860                }
23861                rel2 {
23862                   relative: 0.0  1.0;
23863                   offset: 2   -3;
23864                }
23865                image.normal: "check_base.png";
23866             }
23867          }
23868          part {
23869             name: "mark";
23870             mouse_events: 0;
23871             clip_to: "mark_hold";
23872             description {
23873                state: "default" 0.0;
23874                rel1.to: "mark_hold";
23875                rel2.to: "mark_hold";
23876                image.normal: "check_on.png";
23877             }
23878             description {
23879                state: "selected" 0.0;
23880                inherit: "default" 0.0;
23881                image.normal: "check_sel.png";
23882             }
23883             description {
23884                state: "disabled" 0.0;
23885                inherit: "default" 0.0;
23886                color: 255 255 255 128;
23887             }
23888          }
23889          part {
23890             name: "mark_hold";
23891             type: RECT;
23892             mouse_events: 0;
23893             description {
23894                state: "default" 0.0;
23895                visible: 0;
23896                color: 255 255 255 0;
23897                rel1 {
23898                   to: "base";
23899                   offset: -5 -5;
23900                }
23901                rel2 {
23902                   to: "base";
23903                   offset: 4 4;
23904                }
23905             }
23906             description {
23907                state: "on" 0.0;
23908                inherit: "default" 0.0;
23909                visible: 1;
23910                color: 255 255 255 255;
23911                rel1.offset: 0 0;
23912                rel2.offset: -1 -1;
23913             }
23914          }
23915          part {
23916             name: "e.text.label";
23917             type: TEXT;
23918             mouse_events: 0;
23919             scale: 1;
23920             description {
23921                state: "default" 0.0;
23922                min: 16 16;
23923                rel1 {
23924                   to_x: "base";
23925                   relative: 1.0  0.0;
23926                   offset: 2 2;
23927                }
23928                rel2 {
23929                   relative: 1.0  1.0;
23930                   offset: -2 -2;
23931                }
23932                color_class: "check_text";
23933                text {
23934                   font: "Sans";
23935                   size: 10;
23936                   min: 1 1;
23937                   align: 0.0 0.5;
23938                   text_class: "check_button";
23939                }
23940             }
23941             description {
23942                state: "disabled" 0.0;
23943                inherit: "default" 0.0;
23944                color_class: "check_text_disabled";
23945             }
23946          }
23947          part {
23948             name: "event";
23949             type: RECT;
23950             ignore_flags: ON_HOLD;
23951             description {
23952                state: "default" 0.0;
23953                color: 0 0 0 0;
23954             }
23955             description {
23956                state: "disabled" 0.0;
23957                inherit: "default" 0.0;
23958                visible: 0;
23959             }
23960          }
23961       }
23962       programs {
23963          program {
23964             name: "on";
23965             /* if the checkmark is to be displayed */
23966             signal: "e,state,checked";
23967             source: "e";
23968             action: STATE_SET "on" 0.0;
23969             transition: LINEAR 0.15;
23970             target: "mark_hold";
23971          }
23972          program {
23973             name: "off";
23974             /* check mark is not to be displayed */
23975             signal: "e,state,unchecked";
23976             source: "e";
23977             action: STATE_SET "default" 0.0;
23978             transition: LINEAR 0.2;
23979             target: "mark_hold";
23980          }
23981          program {
23982             name: "click";
23983             signal: "mouse,up,1";
23984             source: "event";
23985             action: SIGNAL_EMIT "e,action,toggle" "";
23986          }
23987          program {
23988             name: "disable";
23989             signal: "e,state,disabled";
23990             source: "e";
23991             action: STATE_SET "disabled" 0.0;
23992             target: "mark";
23993             target: "event";
23994             target: "e.text.label";
23995          }
23996          program {
23997             name: "enable";
23998             signal: "e,state,enabled";
23999             source: "e";
24000             action: STATE_SET "default" 0.0;
24001             target: "mark";
24002             target: "event";
24003             target: "e.text.label";
24004          }
24005       }
24006    }
24007    group {
24008       name: "e/widgets/check_icon";
24009       images {
24010          image: "check_base.png" COMP;
24011          image: "check_on.png" COMP;
24012          image: "check_sel.png" COMP;
24013       }
24014       parts {
24015          part {
24016             name: "base";
24017             mouse_events: 0;
24018             scale: 1;
24019             description {
24020                state: "default" 0.0;
24021                min: 16 16;
24022                max: 16 16;
24023                align: 0.0 0.5;
24024                fixed: 1 1;
24025                rel1 {
24026                   relative: 0.0  0.0;
24027                   offset: 2    2;
24028                }
24029                rel2 {
24030                   relative: 0.0  1.0;
24031                   offset: 2   -3;
24032                }
24033                image.normal: "check_base.png";
24034             }
24035          }
24036          part {
24037             name: "mark";
24038             mouse_events: 0;
24039             clip_to: "mark_hold";
24040             description {
24041                state: "default" 0.0;
24042                rel1.to: "mark_hold";
24043                rel2.to: "mark_hold";
24044                image.normal: "check_on.png";
24045             }
24046             description {
24047                state: "selected" 0.0;
24048                inherit: "default" 0.0;
24049                image.normal: "check_sel.png";
24050             }
24051             description {
24052                state: "disabled" 0.0;
24053                inherit: "default" 0.0;
24054                color: 255 255 255 128;
24055             }
24056          }
24057          part {
24058             name: "mark_hold";
24059             type: RECT;
24060             mouse_events: 0;
24061             description {
24062                state: "default" 0.0;
24063                visible: 0;
24064                color: 255 255 255 0;
24065                rel1 {
24066                   to: "base";
24067                   offset: -5 -5;
24068                }
24069                rel2 {
24070                   to: "base";
24071                   offset: 4 4;
24072                }
24073             }
24074             description {
24075                state: "on" 0.0;
24076                inherit: "default" 0.0;
24077                visible: 1;
24078                color: 255 255 255 255;
24079                rel1.offset: 0 0;
24080                rel2.offset: -1 -1;
24081             }
24082          }
24083          part {
24084             name: "e.swallow.icon";
24085             type: SWALLOW;
24086             clip_to: "icon_clip";
24087             description {
24088                state: "default" 0.0;
24089                min: 16 16;
24090                rel1 {
24091                   to_x: "base";
24092                   relative: 1.0  0.0;
24093                   offset: 2 2;
24094                }
24095                rel2 {
24096                   relative: 1.0  1.0;
24097                   offset: -2 -2;
24098                }
24099             }
24100             description {
24101                state: "label_visible" 0.0;
24102                inherit: "default" 0.0;
24103                min: 16 16;
24104                rel2 {
24105                   to_y: "base";
24106                   relative: 1.0  0.0;
24107                   offset: -2 -2;
24108                }
24109             }
24110          }
24111          part {
24112             name: "icon_clip";
24113             type: RECT;
24114             mouse_events: 0;
24115             description {
24116                state: "default" 0.0;
24117                color: 255 255 255 255;
24118             }
24119          }
24120          part {
24121             name: "label_clip";
24122             type: RECT;
24123             mouse_events: 0;
24124             description {
24125                state: "default" 0.0;
24126                visible: 0;
24127             }
24128             description {
24129                state: "label_visible" 0.0;
24130                visible: 1;
24131             }
24132          }
24133          part {
24134             name: "e.text.label";
24135             type: TEXT;
24136             mouse_events: 0;
24137             scale: 1;
24138             clip_to: "label_clip";
24139             description {
24140                state: "default" 0.0;
24141                min: 16 16;
24142                rel1 {
24143                   to_x: "base";
24144                   relative: 1.0  0.0;
24145                   offset: 2 2;
24146                }
24147                rel2 {
24148                   relative: 1.0  1.0;
24149                   offset: -2 -2;
24150                }
24151                color_class: "check_text";
24152                text {
24153                   font: "Sans";
24154                   size: 10;
24155                   min: 1 1;
24156                   align: 0.5 0.5;
24157                   text_class: "check_button";
24158                }
24159             }
24160             description {
24161                state: "disabled" 0.0;
24162                inherit: "default" 0.0;
24163                color_class: "check_text_disabled";
24164             }
24165          }
24166          part {
24167             name: "event";
24168             type: RECT;
24169             ignore_flags: ON_HOLD;
24170             description {
24171                state: "default" 0.0;
24172                color: 0 0 0 0;
24173             }
24174             description {
24175                state: "disabled" 0.0;
24176                inherit: "default" 0.0;
24177                visible: 0;
24178             }
24179          }
24180       }
24181       programs {
24182          program {
24183             name: "on";
24184             /* if the checkmark is to be displayed */
24185             signal: "e,state,checked";
24186             source: "e";
24187             action: STATE_SET "on" 0.0;
24188             transition: LINEAR 0.15;
24189             target: "mark_hold";
24190          }
24191          program {
24192             name: "off";
24193             /* check mark is not to be displayed */
24194             signal: "e,state,unchecked";
24195             source: "e";
24196             action: STATE_SET "default" 0.0;
24197             transition: LINEAR 0.2;
24198             target: "mark_hold";
24199          }
24200          program {
24201             name: "click";
24202             signal: "mouse,up,1";
24203             source: "event";
24204             action: SIGNAL_EMIT "e,action,toggle" "";
24205          }
24206          program {
24207             name: "label_on";
24208             signal: "e,state,labeled";
24209             source: "e";
24210             action: STATE_SET "label_visible" 0.0;
24211             target: "e.swallow.icon";
24212             target: "label_clip";
24213          }
24214          program {
24215             name: "disable";
24216             signal: "e,state,disabled";
24217             source: "e";
24218             action: STATE_SET "disabled" 0.0;
24219             target: "mark";
24220             target: "event";
24221             target: "e.text.label";
24222          }
24223          program {
24224             name: "enable";
24225             signal: "e,state,enabled";
24226             source: "e";
24227             action: STATE_SET "default" 0.0;
24228             target: "mark";
24229             target: "event";
24230             target: "e.text.label";
24231          }
24232       }
24233    }
24234    /* for a radio menu item - same as check, but only one of a group of radio
24235     * menu item can be selected at any one time */
24236    group {
24237       name: "e/widgets/radio";
24238       images {
24239          image: "radio_base.png" COMP;
24240          image: "radio_on.png" COMP;
24241          image: "radio_sel.png" COMP;
24242       }
24243       parts {
24244          part {
24245             name: "base";
24246             mouse_events: 0;
24247             scale: 1;
24248             description {
24249                state: "default" 0.0;
24250                min: 16 16;
24251                max: 16 16;
24252                align: 0.0 0.5;
24253                fixed: 1 1;
24254                rel1 {
24255                   relative: 0.0  0.0;
24256                   offset: 2    2;
24257                }
24258                rel2 {
24259                   relative: 0.0  1.0;
24260                   offset: 2   -3;
24261                }
24262                image.normal: "radio_base.png";
24263             }
24264          }
24265          part {
24266             name: "mark";
24267             mouse_events: 0;
24268             clip_to: "mark_hold";
24269             description {
24270                state: "default" 0.0;
24271                rel1.to: "mark_hold";
24272                rel2.to: "mark_hold";
24273                image.normal: "radio_on.png";
24274             }
24275             description {
24276                state: "selected" 0.0;
24277                inherit: "default" 0.0;
24278                image.normal: "radio_sel.png";
24279             }
24280             description {
24281                state: "disabled" 0.0;
24282                inherit: "default" 0.0;
24283                color: 255 255 255 128;
24284             }
24285          }
24286          part {
24287             name: "mark_hold";
24288             type: RECT;
24289             mouse_events: 0;
24290             description {
24291                state: "default" 0.0;
24292                visible: 0;
24293                color: 255 255 255 0;
24294                rel1 {
24295                   to: "base";
24296                   offset: -5 -5;
24297                }
24298                rel2 {
24299                   to: "base";
24300                   offset: 4 4;
24301                }
24302             }
24303             description {
24304                state: "on" 0.0;
24305                inherit: "default" 0.0;
24306                visible: 1;
24307                color: 255 255 255 255;
24308                rel1.offset: 0 0;
24309                rel2.offset: -1 -1;
24310             }
24311          }
24312          part {
24313             name: "e.text.label";
24314             type: TEXT;
24315             mouse_events: 0;
24316             scale: 1;
24317             description {
24318                state: "default" 0.0;
24319                min: 16 16;
24320                rel1 {
24321                   to_x: "base";
24322                   relative: 1.0  0.0;
24323                   offset: 2 2;
24324                }
24325                rel2 {
24326                   relative: 1.0  1.0;
24327                   offset: -2 -2;
24328                }
24329                color_class: "radio_text";
24330                text {
24331                   font: "Sans";
24332                   size: 10;
24333                   min: 1 1;
24334                   align: 0.0 0.5;
24335                   text_class: "radio_button";
24336                }
24337             }
24338             description {
24339                state: "disabled" 0.0;
24340                inherit: "default" 0.0;
24341                color_class: "radio_text_disabled";
24342             }
24343          }
24344          part {
24345             name: "event";
24346             type: RECT;
24347             ignore_flags: ON_HOLD;
24348             description {
24349                state: "default" 0.0;
24350                color: 0 0 0 0;
24351             }
24352             description {
24353                state: "disabled" 0.0;
24354                inherit: "default" 0.0;
24355                visible: 0;
24356             }
24357          }
24358       }
24359       programs {
24360          program {
24361             name: "on";
24362             /* if the checkmark is to be displayed */
24363             signal: "e,state,on";
24364             source: "e";
24365             action: STATE_SET "on" 0.0;
24366             transition: LINEAR 0.15;
24367             target: "mark_hold";
24368          }
24369          program {
24370             name: "off";
24371             /* check mark is not to be displayed */
24372             signal: "e,state,off";
24373             source: "e";
24374             action: STATE_SET "default" 0.0;
24375             transition: LINEAR 0.2;
24376             target: "mark_hold";
24377          }
24378          program {
24379             name: "click";
24380             signal: "mouse,up,1";
24381             source: "event";
24382             action: SIGNAL_EMIT "e,action,toggle" "";
24383          }
24384          program {
24385             name: "disable";
24386             signal: "e,state,disabled";
24387             source: "e";
24388             action: STATE_SET "disabled" 0.0;
24389             target: "mark";
24390             target: "event";
24391             target: "e.text.label";
24392          }
24393          program {
24394             name: "enable";
24395             signal: "e,state,enabled";
24396             source: "e";
24397             action: STATE_SET "default" 0.0;
24398             target: "mark";
24399             target: "event";
24400             target: "e.text.label";
24401          }
24402       }
24403    }
24404    group {
24405       name: "e/widgets/radio_icon";
24406       images {
24407          image: "radio_base.png" COMP;
24408          image: "radio_on.png" COMP;
24409          image: "radio_sel.png" COMP;
24410       }
24411       parts {
24412          part {
24413             name: "base";
24414             mouse_events: 0;
24415             scale: 1;
24416             description {
24417                state: "default" 0.0;
24418                min: 16 16;
24419                max: 16 16;
24420                align: 0.0 0.5;
24421                fixed: 1 1;
24422                rel1 {
24423                   relative: 0.0  0.0;
24424                   offset: 2    2;
24425                }
24426                rel2 {
24427                   relative: 0.0  1.0;
24428                   offset: 2   -3;
24429                }
24430                image.normal: "radio_base.png";
24431             }
24432          }
24433          part {
24434             name: "mark";
24435             mouse_events: 0;
24436             clip_to: "mark_hold";
24437             description {
24438                state: "default" 0.0;
24439                rel1.to: "mark_hold";
24440                rel2.to: "mark_hold";
24441                image.normal: "radio_on.png";
24442             }
24443             description {
24444                state: "selected" 0.0;
24445                inherit: "default" 0.0;
24446                image.normal: "radio_sel.png";
24447             }
24448             description {
24449                state: "disabled" 0.0;
24450                inherit: "default" 0.0;
24451                color: 255 255 255 128;
24452             }
24453          }
24454          part {
24455             name: "mark_hold";
24456             type: RECT;
24457             mouse_events: 0;
24458             description {
24459                state: "default" 0.0;
24460                visible: 0;
24461                color: 255 255 255 0;
24462                rel1 {
24463                   to: "base";
24464                   offset: -5 -5;
24465                }
24466                rel2 {
24467                   to: "base";
24468                   offset: 4 4;
24469                }
24470             }
24471             description {
24472                state: "on" 0.0;
24473                inherit: "default" 0.0;
24474                visible: 1;
24475                color: 255 255 255 255;
24476                rel1.offset: 0 0;
24477                rel2.offset: -1 -1;
24478             }
24479          }
24480          part {
24481             name: "e.swallow.icon";
24482             type: SWALLOW;
24483             clip_to: "icon_clip";
24484             description {
24485                state: "default" 0.0;
24486                min: 16 16;
24487                rel1 {
24488                   to_x: "base";
24489                   relative: 1.0  0.0;
24490                   offset: 2 2;
24491                }
24492                rel2 {
24493                   relative: 1.0  1.0;
24494                   offset: -2 -2;
24495                }
24496             }
24497             description {
24498                state: "label_visible" 0.0;
24499                inherit: "default" 0.0;
24500                min: 16 16;
24501                rel2 {
24502                   to_y: "e.text.label";
24503                   relative: 1.0  0.0;
24504                   offset: -2 -2;
24505                }
24506             }
24507          }
24508          part {
24509             name: "icon_clip";
24510             type: RECT;
24511             mouse_events: 0;
24512             description {
24513                state: "default" 0.0;
24514                color: 255 255 255 255;
24515             }
24516          }
24517          part {
24518             name: "label_clip";
24519             type: RECT;
24520             mouse_events: 0;
24521             description {
24522                state: "default" 0.0;
24523                visible: 0;
24524             }
24525             description {
24526                state: "label_visible" 0.0;
24527                visible: 1;
24528             }
24529          }
24530          part {
24531             name: "e.text.label";
24532             type: TEXT;
24533             mouse_events: 0;
24534             scale: 1;
24535             clip_to: "label_clip";
24536             description {
24537                state: "default" 0.0;
24538                min: 16 16;
24539                rel1 {
24540                   to_x: "base";
24541                   relative: 1.0  0.5;
24542                   offset: 2 1;
24543                }
24544                rel2 {
24545                   relative: 1.0  1.0;
24546                   offset: -2 -2;
24547                }
24548                color_class: "radio_text";
24549                text {
24550                   font: "Sans";
24551                   size: 10;
24552                   min: 1 1;
24553                   align: 0.5 0.5;
24554                   text_class: "radio_button";
24555                }
24556             }
24557             description {
24558                state: "disabled" 0.0;
24559                inherit: "default" 0.0;
24560                color_class: "radio_text_disabled";
24561             }
24562          }
24563          part {
24564             name: "event";
24565             type: RECT;
24566             ignore_flags: ON_HOLD;
24567             description {
24568                state: "default" 0.0;
24569                color: 0 0 0 0;
24570             }
24571             description {
24572                state: "disabled" 0.0;
24573                inherit: "default" 0.0;
24574                visible: 0;
24575             }
24576          }
24577       }
24578       programs {
24579          program {
24580             name: "on";
24581             /* if the radiomark is to be displayed */
24582             signal: "e,state,on";
24583             source: "e";
24584             action: STATE_SET "on" 0.0;
24585             transition: LINEAR 0.15;
24586             target: "mark_hold";
24587          }
24588          program {
24589             name: "off";
24590             /* radio mark is not to be displayed */
24591             signal: "e,state,off";
24592             source: "e";
24593             action: STATE_SET "default" 0.0;
24594             transition: LINEAR 0.2;
24595             target: "mark_hold";
24596          }
24597          program {
24598             name: "click";
24599             signal: "mouse,up,1";
24600             source: "event";
24601             action: SIGNAL_EMIT "e,action,toggle" "";
24602          }
24603          program {
24604             name: "label_on";
24605             signal: "e,state,labeled";
24606             source: "e";
24607             action: STATE_SET "label_visible" 0.0;
24608             target: "e.swallow.icon";
24609             target: "label_clip";
24610          }
24611          program {
24612             name: "disable";
24613             signal: "e,state,disabled";
24614             source: "e";
24615             action: STATE_SET "disabled" 0.0;
24616             target: "mark";
24617             target: "event";
24618             target: "e.text.label";
24619          }
24620          program {
24621             name: "enable";
24622             signal: "e,state,enabled";
24623             source: "e";
24624             action: STATE_SET "default" 0.0;
24625             target: "mark";
24626             target: "event";
24627             target: "e.text.label";
24628          }
24629       }
24630    }
24631    group {
24632       name: "e/widgets/button";
24633       images {
24634          image: "bt_base1.png" COMP;
24635          image: "bt_base2.png" COMP;
24636          image: "bt_hilight.png" COMP;
24637          image: "bt_shine.png" COMP;
24638          image: "bt_glow.png" COMP;
24639          image: "bt_dis_base.png" COMP;
24640          image: "bt_dis_hilight.png" COMP;
24641       }
24642       parts {
24643          part {
24644             name: "button_image";
24645             mouse_events: 1;
24646             description {
24647                state: "default" 0.0;
24648                min: 32 16;
24649                image {
24650                   normal: "bt_base2.png";
24651                   border: 7 7 7 7;
24652                }
24653             }
24654             description {
24655                state: "clicked" 0.0;
24656                inherit: "default" 0.0;
24657                image.normal: "bt_base1.png";
24658             }
24659             description {
24660                state: "disabled" 0.0;
24661                inherit: "default" 0.0;
24662                image {
24663                   normal: "bt_dis_base.png";
24664                   border: 4 4 4 4;
24665                }
24666             }
24667          }
24668          part {
24669             name: "e.swallow.icon";
24670             type: SWALLOW;
24671             mouse_events: 0;
24672             description {
24673                state: "default" 0.0;
24674                align: 0.0 0.5;
24675                rel1 {
24676                   relative: 0.0 0.0;
24677                   offset: 3   3;
24678                   to: "button_image";
24679                }
24680                rel2 {
24681                   relative: 0.0 1.0;
24682                   offset: 3  -4;
24683                   to: "button_image";
24684                }
24685             }
24686             description {
24687                state: "combo" 0.0;
24688                inherit: "default" 0.0;
24689                aspect: 1.0 1.0;
24690                aspect_preference: VERTICAL;
24691                align: 0.0 0.5;
24692                rel1 {
24693                   relative: 0.0 0.0;
24694                   offset: 3  3;
24695                   to: "button_image";
24696                }
24697                rel2 {
24698                   relative: 0.0 1.0;
24699                   offset: 3   -4;
24700                   to: "button_image";
24701                }
24702             }
24703             description {
24704                state: "icon" 0.0;
24705                inherit: "default" 0.0;
24706                aspect: 1.0 1.0;
24707                aspect_preference: BOTH;
24708                align: 0.5 0.5;
24709                rel1 {
24710                   relative: 0.0 0.0;
24711                   offset: 3  3;
24712                   to: "button_image";
24713                }
24714                rel2 {
24715                   relative: 1.0 1.0;
24716                   offset: -4   -4;
24717                   to: "button_image";
24718                }
24719             }
24720          }
24721          part {
24722             name: "e.text.label";
24723             type: TEXT;
24724             effect: SOFT_SHADOW;
24725             mouse_events: 0;
24726             scale: 1;
24727             description {
24728                state: "default" 0.0;
24729                rel1 {
24730                   relative: 1.0  0.0;
24731                   offset: 2    3;
24732                   to_x: "e.swallow.icon";
24733                   to_y: "button_image";
24734                }
24735                rel2 {
24736                   relative: 1.0  1.0;
24737                   offset: -4   -4;
24738                   to: "button_image";
24739                }
24740                color_class: "button_text";
24741                text {
24742                   font: "Sans";
24743                   size: 10;
24744                   min: 1 1;
24745                   align: 0.5 0.5;
24746                   text_class: "button";
24747                }
24748             }
24749             description {
24750                state: "disabled" 0.0;
24751                inherit: "default" 0.0;
24752                color_class: "button_text_disabled";
24753             }
24754             description {
24755                state: "icon" 0.0;
24756                inherit: "default" 0.0;
24757                visible: 0;
24758             }
24759          }
24760          part {
24761             name: "over1";
24762             mouse_events: 0;
24763             description {
24764                state: "default" 0.0;
24765                rel2.relative: 1.0 0.5;
24766                image {
24767                   normal: "bt_hilight.png";
24768                   border: 7 7 7 0;
24769                }
24770             }
24771             description {
24772                state: "disabled" 0.0;
24773                inherit: "default" 0.0;
24774                image {
24775                   normal: "bt_dis_hilight.png";
24776                   border: 4 4 4 0;
24777                }
24778             }
24779          }
24780          part {
24781             name: "over2";
24782             mouse_events: 0;
24783             description {
24784                state: "default" 0.0;
24785                image {
24786                   normal: "bt_shine.png";
24787                   border: 7 7 7 7;
24788                }
24789             }
24790             description {
24791                state: "disabled" 0.0;
24792                inherit: "default" 0.0;
24793                visible: 0;
24794             }
24795          }
24796          part {
24797             name: "over3";
24798             mouse_events: 0;
24799             description {
24800                state: "default" 0.0;
24801                visible: 0;
24802                color: 255 255 255 0;
24803                image {
24804                   normal: "bt_glow.png";
24805                   border: 7 7 9 9;
24806                }
24807                fill.smooth : 0;
24808             }
24809             description {
24810                state: "clicked" 0.0;
24811                inherit: "default" 0.0;
24812                visible: 1;
24813                color: 255 255 255 255;
24814             }
24815          }
24816          part {
24817             name: "disabler";
24818             type: RECT;
24819             description {
24820                state: "default" 0.0;
24821                color: 0 0 0 0;
24822                visible: 0;
24823             }
24824             description {
24825                state: "disabled" 0.0;
24826                inherit: "default" 0.0;
24827                visible: 1;
24828             }
24829          }
24830       }
24831       programs {
24832          program {
24833             name: "button_click";
24834             signal: "mouse,down,1";
24835             source: "button_image";
24836             action: STATE_SET "clicked" 0.0;
24837             target: "button_image";
24838             target: "over3";
24839          }
24840          program {
24841             name: "button_unclick";
24842             signal: "mouse,up,1";
24843             source: "button_image";
24844             action: STATE_SET "default" 0.0;
24845             target: "button_image";
24846             target: "over3";
24847          }
24848          program {
24849             name: "button_unclick2";
24850             signal: "mouse,clicked,1";
24851             source: "button_image";
24852             action: SIGNAL_EMIT "e,action,click" "";
24853          }
24854          program {
24855             name: "text_state";
24856             signal: "e,state,text";
24857             source: "e";
24858             action: STATE_SET "default" 0.0;
24859             target: "e.swallow.icon";
24860             target: "e.text.label";
24861          }
24862          program {
24863             name: "icon_state";
24864             signal: "e,state,icon";
24865             source: "e";
24866             action: STATE_SET "icon" 0.0;
24867             target: "e.swallow.icon";
24868             target: "e.text.label";
24869          }
24870          program {
24871             name: "combo_state";
24872             signal: "e,state,combo";
24873             source: "e";
24874             action: STATE_SET "combo" 0.0;
24875             target: "e.swallow.icon";
24876             target: "e.text.label";
24877          }
24878          program {
24879             name: "disable";
24880             signal: "e,state,disabled";
24881             source: "e";
24882             action: STATE_SET "disabled" 0.0;
24883             target: "button_image";
24884             target: "over1";
24885             target: "e.text.label";
24886             target: "disabler";
24887          }
24888          program {
24889             name: "enable";
24890             signal: "e,state,enabled";
24891             source: "e";
24892             action: STATE_SET "default" 0.0;
24893             target: "button_image";
24894             target: "over1";
24895             target: "e.text.label";
24896             target: "disabler";
24897          }
24898       }
24899    }
24900    /* e/widgets/scrollframe is used in the Wallpaper selector dialog */
24901    group {
24902       name: "e/widgets/scrollframe";
24903       images {
24904          image: "inset_sunk.png" COMP;
24905          image: "arrow_left.png" COMP;
24906          image: "arrow_right.png" COMP;
24907          image: "arrow_up.png" COMP;
24908          image: "arrow_down.png" COMP;
24909          image: "bt_sm_base1.png" COMP;
24910          image: "bt_sm_base2.png" COMP;
24911          image: "bt_sm_shine.png" COMP;
24912          image: "bt_sm_hilight.png" COMP;
24913          image: "sb_runnerh.png" COMP;
24914          image: "sb_runnerv.png" COMP;
24915       }
24916       parts {
24917          part {
24918             name: "bg";
24919             type: RECT;
24920             mouse_events: 1;
24921             description {
24922                state: "default" 0.0;
24923                rel1.offset: 1 1;
24924                rel2.offset: -2 -2;
24925                color: 255 255 255 255;
24926                color_class: "scrollframe_base";
24927             }
24928          }
24929          part {
24930             name: "clipper";
24931             type: RECT;
24932             mouse_events: 0;
24933             description {
24934                state: "default" 0.0;
24935                rel1.to: "bg";
24936                rel2.to: "bg";
24937             }
24938          }
24939          part {
24940             name: "e.swallow.content";
24941             clip_to: "clipper";
24942             type: SWALLOW;
24943             description {
24944                state: "default" 0.0;
24945                rel1.offset: 0 0;
24946                rel2 {
24947                   relative: 0.0  0.0;
24948                   offset: -1   -1;
24949                   to_x: "sb_vbar";
24950                   to_y: "sb_hbar";
24951                }
24952             }
24953          }
24954          /*
24955          part { name: "tst";
24956             type: RECT;
24957             mouse_events: 0;
24958             description { state: "default" 0.0;
24959                rel2.relative: 1.0 0.2;
24960                color: 0 0 255 128;
24961             }
24962          }
24963          */
24964          part {
24965             name: "conf_over";
24966             mouse_events: 0;
24967             description {
24968                state: "default" 0.0;
24969                image {
24970                   normal: "inset_sunk.png";
24971                   border: 7 7 7 7;
24972                   middle: 0;
24973                }
24974                fill.smooth : 0;
24975             }
24976          }
24977          part {
24978             name: "sb_vbar";
24979             type: RECT;
24980             mouse_events: 0;
24981             scale: 1;
24982             description {
24983                state: "default" 0.0;
24984                min: 17 17;
24985                align: 1.0 0.0;
24986                rel1 {
24987                   to: "bg";
24988                   relative: 1.0 0.0;
24989                   offset: -2 1;
24990                }
24991                rel2 {
24992                   to: "bg";
24993                   relative: 1.0 0.0;
24994                   offset: -2 -1;
24995                   to_y: "sb_hbar";
24996                }
24997             }
24998             description {
24999                state: "hidden" 0.0;
25000                visible: 0;
25001                max: 0 99999;
25002                rel1 {
25003                   to: "bg";
25004                   relative: 1.0 0.0;
25005                   offset: -1 0;
25006                }
25007                rel2 {
25008                   to: "bg";
25009                   relative: 1.0 0.0;
25010                   offset: -1 -1;
25011                   to_y: "sb_hbar";
25012                }
25013             }
25014          }
25015          part {
25016             name: "sb_vbar_base";
25017             type: RECT;
25018             clip_to: "sb_vbar";
25019             mouse_events: 1;
25020             description {
25021                state: "default" 0.0;
25022                color: 0 0 0 0;
25023                rel1 {
25024                   relative: 0.0  1.0;
25025                   offset: 0    -2;
25026                   to: "sb_vbar_a1";
25027                }
25028                rel2 {
25029                   relative: 1.0  0.0;
25030                   offset: -1    1;
25031                   to: "sb_vbar_a2";
25032                }
25033             }
25034          }
25035          part {
25036             name: "sb_vbar_runner";
25037             clip_to: "sb_vbar";
25038             mouse_events: 0;
25039             description {
25040                state: "default" 0.0;
25041                max: 3 99999;
25042                rel1.to: "sb_vbar_base";
25043                rel1.offset: 1 0;
25044                rel2.to: "sb_vbar_base";
25045                image {
25046                   normal: "sb_runnerv.png";
25047                   border: 0 0 4 4;
25048                }
25049                fill.smooth: 0;
25050             }
25051          }
25052          part {
25053             name: "sb_vbar_p1";
25054             type: RECT;
25055             clip_to: "sb_vbar";
25056             mouse_events: 1;
25057             description {
25058                state: "default" 0.0;
25059                color: 0 0 0 0;
25060                rel1 {
25061                   relative: 0.0 1.0;
25062                   to: "sb_vbar_a1";
25063                }
25064                rel2 {
25065                   relative: 1.0 0.0;
25066                   to: "e.dragable.vbar";
25067                }
25068             }
25069          }
25070          part {
25071             name: "sb_vbar_p2";
25072             type: RECT;
25073             clip_to: "sb_vbar";
25074             mouse_events: 1;
25075             description {
25076                state: "default" 0.0;
25077                color: 0 0 0 0;
25078                rel1 {
25079                   relative: 0.0 1.0;
25080                   to: "e.dragable.vbar";
25081                }
25082                rel2 {
25083                   relative: 1.0 0.0;
25084                   to: "sb_vbar_a2";
25085                }
25086             }
25087          }
25088          part {
25089             name: "e.dragable.vbar";
25090             clip_to: "sb_vbar";
25091             mouse_events: 1;
25092             scale: 1;
25093             dragable {
25094                x: 0 0 0;
25095                y: 1 1 0;
25096                confine: "sb_vbar_base";
25097             }
25098             description {
25099                state: "default" 0.0;
25100                min: 17 17;
25101                rel1 {
25102                   relative: 0.5  0.5;
25103                   offset: 0    0;
25104                   to: "sb_vbar_base";
25105                }
25106                rel2 {
25107                   relative: 0.5  0.5;
25108                   offset: 0    0;
25109                   to: "sb_vbar_base";
25110                }
25111                image {
25112                   normal: "bt_sm_base2.png";
25113                   border: 6 6 6 6;
25114                }
25115             }
25116             description {
25117                state: "clicked" 0.0;
25118                inherit: "default" 0.0;
25119                image.normal: "bt_sm_base1.png";
25120             }
25121          }
25122          part {
25123             name: "sb_vbar_over1";
25124             clip_to: "sb_vbar";
25125             mouse_events: 0;
25126             description {
25127                state: "default" 0.0;
25128                rel1.to: "e.dragable.vbar";
25129                rel2.relative: 1.0 0.5;
25130                rel2.to: "e.dragable.vbar";
25131                image {
25132                   normal: "bt_sm_hilight.png";
25133                   border: 6 6 6 0;
25134                }
25135             }
25136          }
25137          part {
25138             name: "sb_vbar_over2";
25139             clip_to: "sb_vbar";
25140             mouse_events: 0;
25141             description {
25142                state: "default" 0.0;
25143                rel1.to: "e.dragable.vbar";
25144                rel2.to: "e.dragable.vbar";
25145                image {
25146                   normal: "bt_sm_shine.png";
25147                   border: 6 6 6 0;
25148                }
25149             }
25150          }
25151          part {
25152             name: "sb_vbar_a1";
25153             type: RECT;
25154             clip_to: "sb_vbar";
25155             mouse_events: 1;
25156             description {
25157                state: "default" 0.0;
25158                min: 17 17;
25159                align: 0.5 0.0;
25160                aspect: 1.0 1.0;
25161                aspect_preference: HORIZONTAL;
25162                color: 0 0 0 0;
25163                rel1 {
25164                   to: "sb_vbar";
25165                   relative: 0.0  0.0;
25166                   offset: 0    0;
25167                }
25168                rel2 {
25169                   to: "sb_vbar";
25170                   relative: 1.0  0.0;
25171                   offset: -1   0;
25172                }
25173             }
25174          }
25175          part {
25176             name: "sb_vbar_a1_arrow";
25177             mouse_events: 0;
25178             clip_to: "sb_vbar";
25179             description {
25180                state: "default" 0.0;
25181                max: 9 9;
25182                rel1.to: "sb_vbar_a1";
25183                rel2.to: "sb_vbar_a1";
25184                image.normal: "arrow_up.png";
25185             }
25186             description {
25187                state: "clicked" 0.0;
25188                inherit: "default" 0.0;
25189                rel1.offset: 0 -1;
25190                rel2.offset: -1 -2;
25191             }
25192          }
25193          part {
25194             name: "sb_vbar_a2";
25195             type: RECT;
25196             clip_to: "sb_vbar";
25197             mouse_events: 1;
25198             description {
25199                state: "default" 0.0;
25200                min: 17 17;
25201                align: 0.5 1.0;
25202                aspect: 1.0 1.0;
25203                aspect_preference: HORIZONTAL;
25204                color: 0 0 0 0;
25205                rel1 {
25206                   to: "sb_vbar";
25207                   relative: 0.0  1.0;
25208                   offset: 0    0;
25209                }
25210                rel2 {
25211                   to: "sb_vbar";
25212                   relative: 1.0  1.0;
25213                   offset: -1   0;
25214                }
25215             }
25216          }
25217          part {
25218             name: "sb_vbar_a2_arrow";
25219             type: IMAGE;
25220             mouse_events: 0;
25221             clip_to: "sb_vbar";
25222             description {
25223                state: "default" 0.0;
25224                max: 9 9;
25225                rel1.to: "sb_vbar_a2";
25226                rel2.to: "sb_vbar_a2";
25227                image.normal: "arrow_down.png";
25228             }
25229             description {
25230                state: "clicked" 0.0;
25231                inherit: "default" 0.0;
25232                rel1.offset: 0 1;
25233                rel2.offset: -1 0;
25234             }
25235          }
25236          part {
25237             name: "sb_hbar";
25238             type: RECT;
25239             mouse_events: 0;
25240             scale: 1;
25241             description {
25242                state: "default" 0.0;
25243                min: 17 17;
25244                align: 0.0 1.0;
25245                rel1 {
25246                   to: "bg";
25247                   relative: 0.0 1.0;
25248                   offset: 1 -2;
25249                }
25250                rel2 {
25251                   to: "bg";
25252                   relative: 0.0 1.0;
25253                   offset: -1 -2;
25254                   to_x: "sb_vbar";
25255                }
25256             }
25257             description {
25258                state: "hidden" 0.0;
25259                visible: 0;
25260                rel1 {
25261                   to: "bg";
25262                   relative: 0.0  1.0;
25263                   offset: 0    -1;
25264                }
25265                rel2 {
25266                   to: "bg";
25267                   relative: 0.0  1.0;
25268                   offset: -1   -1;
25269                   to_x: "sb_vbar";
25270                }
25271             }
25272          }
25273          part {
25274             name: "sb_hbar_base";
25275             type: RECT;
25276             clip_to: "sb_hbar";
25277             mouse_events: 1;
25278             description {
25279                state: "default" 0.0;
25280                color: 0 0 0 0;
25281                rel1 {
25282                   relative: 1.0  0.0;
25283                   offset: -2   0;
25284                   to: "sb_hbar_a1";
25285                }
25286                rel2 {
25287                   relative: 0.0  1.0;
25288                   offset: 1   -1;
25289                   to: "sb_hbar_a2";
25290                }
25291             }
25292          }
25293          part {
25294             name: "sb_hbar_runner";
25295             clip_to: "sb_hbar";
25296             mouse_events: 0;
25297             description {
25298                state: "default" 0.0;
25299                max: 99999 2;
25300                rel1.to: "sb_hbar_base";
25301                rel1.offset: 0 1;
25302                rel2.to: "sb_hbar_base";
25303                image {
25304                   normal: "sb_runnerh.png";
25305                   border: 4 4 0 0;
25306                }
25307                fill.smooth: 0;
25308             }
25309          }
25310          part {
25311             name: "sb_hbar_p1";
25312             type: RECT;
25313             clip_to: "sb_hbar";
25314             mouse_events: 1;
25315             description {
25316                state: "default" 0.0;
25317                color: 0 0 0 0;
25318                rel1 {
25319                   relative: 1.0 0.0;
25320                   to: "sb_hbar_a1";
25321                }
25322                rel2 {
25323                   relative: 0.0 1.0;
25324                   to: "e.dragable.hbar";
25325                }
25326             }
25327          }
25328          part {
25329             name: "sb_hbar_p2";
25330             type: RECT;
25331             clip_to: "sb_hbar";
25332             mouse_events: 1;
25333             description {
25334                state: "default" 0.0;
25335                color: 0 0 0 0;
25336                rel1 {
25337                   relative: 1.0 0.0;
25338                   to: "e.dragable.hbar";
25339                }
25340                rel2 {
25341                   relative: 0.0 1.0;
25342                   to: "sb_hbar_a2";
25343                }
25344             }
25345          }
25346          part {
25347             name: "e.dragable.hbar";
25348             clip_to: "sb_hbar";
25349             mouse_events: 1;
25350             scale: 1;
25351             dragable {
25352                x: 1 1 0;
25353                y: 0 0 0;
25354                confine: "sb_hbar_base";
25355             }
25356             description {
25357                state: "default" 0.0;
25358                min: 17 17;
25359                rel1 {
25360                   relative: 0.5  0.5;
25361                   offset: 0    0;
25362                   to: "sb_hbar_base";
25363                }
25364                rel2 {
25365                   relative: 0.5  0.5;
25366                   offset: 0    0;
25367                   to: "sb_hbar_base";
25368                }
25369                image {
25370                   normal: "bt_sm_base2.png";
25371                   border: 6 6 6 6;
25372                }
25373             }
25374             description {
25375                state: "clicked" 0.0;
25376                inherit: "default" 0.0;
25377                image.normal: "bt_sm_base1.png";
25378             }
25379          }
25380          part {
25381             name: "sb_hbar_over1";
25382             clip_to: "sb_hbar";
25383             mouse_events: 0;
25384             description {
25385                state: "default" 0.0;
25386                rel1.to: "e.dragable.hbar";
25387                rel2.relative: 1.0 0.5;
25388                rel2.to: "e.dragable.hbar";
25389                image {
25390                   normal: "bt_sm_hilight.png";
25391                   border: 6 6 6 0;
25392                }
25393             }
25394          }
25395          part {
25396             name: "sb_hbar_over2";
25397             clip_to: "sb_hbar";
25398             mouse_events: 0;
25399             description {
25400                state: "default" 0.0;
25401                rel1.to: "e.dragable.hbar";
25402                rel2.to: "e.dragable.hbar";
25403                image {
25404                   normal: "bt_sm_shine.png";
25405                   border: 6 6 6 0;
25406                }
25407             }
25408          }
25409          part {
25410             name: "sb_hbar_a1";
25411             type: RECT;
25412             clip_to: "sb_hbar";
25413             mouse_events: 1;
25414             description {
25415                state: "default" 0.0;
25416                min: 17 17;
25417                align: 0.0 0.5;
25418                aspect: 1.0 1.0;
25419                aspect_preference: VERTICAL;
25420                color: 0 0 0 0;
25421                rel1 {
25422                   to: "sb_hbar";
25423                   relative: 0.0  0.0;
25424                   offset: 0    0;
25425                }
25426                rel2 {
25427                   to: "sb_hbar";
25428                   relative: 0.0  1.0;
25429                   offset: 0   -1;
25430                }
25431             }
25432          }
25433          part {
25434             name: "sb_hbar_a1_arrow";
25435             type: IMAGE;
25436             mouse_events: 0;
25437             clip_to: "sb_hbar";
25438             description {
25439                state: "default" 0.0;
25440                max: 9 9;
25441                rel1.to: "sb_hbar_a1";
25442                rel2.to: "sb_hbar_a1";
25443                image.normal: "arrow_left.png";
25444             }
25445             description {
25446                state: "clicked" 0.0;
25447                inherit: "default" 0.0;
25448                rel1.offset: -1 0;
25449                rel2.offset: -2 -1;
25450             }
25451          }
25452          part {
25453             name: "sb_hbar_a2";
25454             type: RECT;
25455             clip_to: "sb_hbar";
25456             mouse_events: 1;
25457             description {
25458                state: "default" 0.0;
25459                min: 17 17;
25460                align: 1.0 0.5;
25461                aspect: 1.0 1.0;
25462                aspect_preference: VERTICAL;
25463                color: 0 0 0 0;
25464                rel1 {
25465                   to: "sb_hbar";
25466                   relative: 1.0  0.0;
25467                   offset: -1    0;
25468                }
25469                rel2 {
25470                   to: "sb_hbar";
25471                   relative: 1.0  1.0;
25472                   offset: -1   -1;
25473                }
25474             }
25475          }
25476          part {
25477             name: "sb_hbar_a2_arrow";
25478             type: IMAGE;
25479             mouse_events: 0;
25480             clip_to: "sb_hbar";
25481             description {
25482                state: "default" 0.0;
25483                max: 9 9;
25484                rel1.to: "sb_hbar_a2";
25485                rel2.to: "sb_hbar_a2";
25486                image.normal: "arrow_right.png";
25487             }
25488             description {
25489                state: "clicked" 0.0;
25490                inherit: "default" 0.0;
25491                rel1.offset: 1 0;
25492                rel2.offset: 0 -1;
25493             }
25494          }
25495       }
25496       programs {
25497          program {
25498             name: "sb_vbar_show";
25499             signal: "e,action,show,vbar";
25500             source: "e";
25501             action: STATE_SET "default" 0.0;
25502             target: "sb_vbar";
25503          }
25504          program {
25505             name: "sb_vbar_hide";
25506             signal: "e,action,hide,vbar";
25507             source: "e";
25508             action: STATE_SET "hidden" 0.0;
25509             target: "sb_vbar";
25510          }
25511          program {
25512             name: "sb_hbar_show";
25513             signal: "e,action,show,hbar";
25514             source: "e";
25515             action: STATE_SET "default" 0.0;
25516             target: "sb_hbar";
25517          }
25518          program {
25519             name: "sb_hbar_hide";
25520             signal: "e,action,hide,hbar";
25521             source: "e";
25522             action: STATE_SET "hidden" 0.0;
25523             target: "sb_hbar";
25524          }
25525          program {
25526             name: "sb_vbar_a1_down";
25527             signal: "mouse,down,1";
25528             source: "sb_vbar_a1";
25529             action: STATE_SET "clicked" 0.0;
25530             target: "sb_vbar_a1_arrow";
25531          }
25532          program {
25533             name: "sb_vbar_a1_down2";
25534             signal: "mouse,down,1";
25535             source: "sb_vbar_a1";
25536             action: DRAG_VAL_STEP 0.0 -1.0;
25537             target: "e.dragable.vbar";
25538          }
25539          program {
25540             name: "sb_vbar_a1_up";
25541             signal: "mouse,up,1";
25542             source: "sb_vbar_a1";
25543             action: STATE_SET "default" 0.0;
25544             target: "sb_vbar_a1_arrow";
25545          }
25546          program {
25547             name: "sb_vbar_a2_down";
25548             signal: "mouse,down,1";
25549             source: "sb_vbar_a2";
25550             action: STATE_SET "clicked" 0.0;
25551             target: "sb_vbar_a2_arrow";
25552          }
25553          program {
25554             name: "sb_vbar_a2_down2";
25555             signal: "mouse,down,1";
25556             source: "sb_vbar_a2";
25557             action: DRAG_VAL_STEP 0.0 1.0;
25558             target: "e.dragable.vbar";
25559          }
25560          program {
25561             name: "sb_vbar_a2_up";
25562             signal: "mouse,up,1";
25563             source: "sb_vbar_a2";
25564             action: STATE_SET "default" 0.0;
25565             target: "sb_vbar_a2_arrow";
25566          }
25567          program {
25568             name: "sb_vbar_p1_down";
25569             signal: "mouse,down,1";
25570             source: "sb_vbar_p1";
25571             action: DRAG_VAL_PAGE 0.0 -1.0;
25572             target: "e.dragable.vbar";
25573          }
25574          program {
25575             name: "sb_vbar_p2_down";
25576             signal: "mouse,down,1";
25577             source: "sb_vbar_p2";
25578             action: DRAG_VAL_PAGE  0.0 1.0;
25579             target: "e.dragable.vbar";
25580          }
25581          program {
25582             name: "sb_vbar_down";
25583             signal: "mouse,down,1";
25584             source: "e.dragable.vbar";
25585             action: STATE_SET "clicked" 0.0;
25586             target: "e.dragable.vbar";
25587          }
25588          program {
25589             name: "sb_vbar_up";
25590             signal: "mouse,up,1";
25591             source: "e.dragable.vbar";
25592             action: STATE_SET "default" 0.0;
25593             target: "e.dragable.vbar";
25594          }
25595          program {
25596             name: "sb_hbar_a1_down";
25597             signal: "mouse,down,1";
25598             source: "sb_hbar_a1";
25599             action: STATE_SET "clicked" 0.0;
25600             target: "sb_hbar_a1_arrow";
25601          }
25602          program {
25603             name: "sb_hbar_a1_down2";
25604             signal: "mouse,down,1";
25605             source: "sb_hbar_a1";
25606             action: DRAG_VAL_STEP -1.0 0.0;
25607             target: "e.dragable.hbar";
25608          }
25609          program {
25610             name: "sb_hbar_a1_up";
25611             signal: "mouse,up,1";
25612             source: "sb_hbar_a1";
25613             action: STATE_SET "default" 0.0;
25614             target: "sb_hbar_a1_arrow";
25615          }
25616          program {
25617             name: "sb_hbar_a2_down";
25618             signal: "mouse,down,1";
25619             source: "sb_hbar_a2";
25620             action: STATE_SET "clicked" 0.0;
25621             target: "sb_hbar_a2_arrow";
25622          }
25623          program {
25624             name: "sb_hbar_a2_down2";
25625             signal: "mouse,down,1";
25626             source: "sb_hbar_a2";
25627             action: DRAG_VAL_STEP 1.0 0.0;
25628             target: "e.dragable.hbar";
25629          }
25630          program {
25631             name: "sb_hbar_a2_up";
25632             signal: "mouse,up,1";
25633             source: "sb_hbar_a2";
25634             action: STATE_SET "default" 0.0;
25635             target: "sb_hbar_a2_arrow";
25636          }
25637          program {
25638             name: "sb_hbar_p1_down";
25639             signal: "mouse,down,1";
25640             source: "sb_hbar_p1";
25641             action: DRAG_VAL_PAGE -1.0 0.0;
25642             target: "e.dragable.hbar";
25643          }
25644          program {
25645             name: "sb_hbar_p2_down";
25646             signal: "mouse,down,1";
25647             source: "sb_hbar_p2";
25648             action: DRAG_VAL_PAGE  1.0 0.0;
25649             target: "e.dragable.hbar";
25650          }
25651          program {
25652             name: "sb_hbar_down";
25653             signal: "mouse,down,1";
25654             source: "e.dragable.hbar";
25655             action: STATE_SET "clicked" 0.0;
25656             target: "e.dragable.hbar";
25657          }
25658          program {
25659             name: "sb_hbar_up";
25660             signal: "mouse,up,1";
25661             source: "e.dragable.hbar";
25662             action: STATE_SET "default" 0.0;
25663             target: "e.dragable.hbar";
25664          }
25665       }
25666    }
25667    group {
25668       name: "e/ilist";
25669       parts {
25670         part {
25671            name: "typebuf_clip";
25672            type: RECT;
25673            mouse_events: 0;
25674            scale: 1;
25675            description {
25676               state: "default" 0.0;
25677               visible: 0;
25678               color: 255 255 255 0;
25679            }
25680            description {
25681               state: "active" 0.0;
25682               visible: 1;
25683               color: 255 255 255 255;
25684            }
25685         }
25686         part {
25687            name: "e.text.typebuf_label";
25688            type: TEXT;
25689            effect: SOFT_SHADOW;
25690            clip_to: "typebuf_clip";
25691            mouse_events: 0;
25692            scale: 1;
25693            description {
25694               state: "default" 0.0;
25695               align: 0.5 0.5;
25696               rel1.offset: 4 4;
25697               rel2.offset: -5 -5;
25698               color: 255 255 255 255;
25699               color3: 0 0 0 32;
25700               text {
25701                  font: "Sans:style=Bold";
25702                  size: 10;
25703                  min: 0 0;
25704                  align: 0.5 0.5;
25705                  elipsis: 1.0;
25706                  text_class: "ilist_typebuf";
25707               }
25708            }
25709         }
25710      }
25711      programs {
25712         program {
25713            name: "gob1";
25714            signal: "e,state,typebuf,start";
25715            source: "e";
25716            action: STATE_SET "active" 0.0;
25717            transition: SINUSOIDAL 0.25;
25718            target: "typebuf_clip";
25719         }
25720         program {
25721            name: "stopb1";
25722            signal: "e,state,typebuf,stop";
25723            source: "e";
25724            action: STATE_SET "default" 0.0;
25725            transition: SINUSOIDAL 1.0;
25726            target: "typebuf_clip";
25727         }
25728      }
25729    }
25730    /* e/widgets/ilist is used in the Module Config Dialog for the module list */
25731    group {
25732       name: "e/widgets/ilist";
25733       data.item: "stacking" "above";
25734       data.item: "selectraise" "on";
25735       images {
25736          image: "bt_sm_base1.png" COMP;
25737          image: "bt_sm_shine.png" COMP;
25738          image: "bt_sm_hilight.png" COMP;
25739          image: "ilist_1.png" COMP;
25740          image: "ilist_item_shadow.png" COMP;
25741       }
25742       parts {
25743          part {
25744             name: "base_sh";
25745             mouse_events: 0;
25746             description {
25747                state: "default" 0.0;
25748                fixed: 1 1;
25749                // aspect: 6.4 6.4;
25750                // aspect_preference: HORIZONTAL;
25751                align: 0.0 0.0;
25752                min: 0 10;
25753                rel1 {
25754                   to: "base";
25755                   relative: 0.0 1.0;
25756                   offset: 0 0;
25757                }
25758                rel2 {
25759                   to: "base";
25760                   relative: 1.0 1.0;
25761                   offset: -1 0;
25762                }
25763                image {
25764                   normal: "ilist_item_shadow.png";
25765                }
25766                fill.smooth: 0;
25767             }
25768          }
25769          part {
25770             name: "base";
25771             mouse_events: 0;
25772             description {
25773                state: "default" 0.0;
25774                color_class: "ilist_item_base";
25775                image {
25776                   normal: "ilist_1.png";
25777                   border: 2 2 2 2;
25778                }
25779                fill.smooth: 0;
25780             }
25781          }
25782          part {
25783             name: "bg";
25784             mouse_events: 0;
25785             description {
25786                state: "default" 0.0;
25787                visible: 0;
25788                color: 255 255 255 0;
25789                rel1 {
25790                   relative: 0.0 0.0;
25791                   offset: -5 -5;
25792                }
25793                rel2 {
25794                   relative: 1.0 1.0;
25795                   offset: 4 4;
25796                }
25797                image {
25798                   normal: "bt_sm_base1.png";
25799                   border: 6 6 6 6;
25800                }
25801             }
25802             description {
25803                state: "selected" 0.0;
25804                inherit: "default" 0.0;
25805                visible: 1;
25806                color: 255 255 255 255;
25807                rel1 {
25808                   relative: 0.0 0.0;
25809                   offset: -2 -2;
25810                }
25811                rel2 {
25812                   relative: 1.0 1.0;
25813                   offset: 1 1;
25814                }
25815             }
25816          }
25817          part {
25818             name: "e.swallow.icon";
25819             type: SWALLOW;
25820             description {
25821                state: "default" 0.0;
25822                align: 0.0 0.5;
25823                aspect: 1.0 1.0;
25824                aspect_preference: VERTICAL;
25825                rel1 {
25826                   relative: 0.0  0.0;
25827                   offset: 4    4;
25828                }
25829                rel2 {
25830                   relative: 0.0  1.0;
25831                   offset: 4   -5;
25832                }
25833             }
25834          }
25835          part {
25836             name: "e.text.label";
25837             type: TEXT;
25838             effect: SOFT_SHADOW;
25839             mouse_events: 0;
25840             scale: 1;
25841             description {
25842                state: "default" 0.0;
25843                min: 16 16;
25844                rel1 {
25845                   to_x: "e.swallow.icon";
25846                   relative: 1.0  0.0;
25847                   offset: 4 4;
25848                }
25849                rel2 {
25850                   relative: 1.0  1.0;
25851                   offset: -5 -5;
25852                }
25853                color_class: "ilist_item";
25854                text {
25855                   font: "Sans";
25856                   size: 10;
25857                   min: 1 1;
25858                   align: 0.0 0.5;
25859                   text_class: "ilist_item";
25860                }
25861             }
25862             description {
25863                state: "selected" 0.0;
25864                inherit: "default" 0.0;
25865                color_class: "ilist_item_selected";
25866             }
25867          }
25868          part {
25869             name: "e.swallow.end";
25870             type: SWALLOW;
25871             description {
25872                state: "default" 0.0;
25873                align: 1.0 0.5;
25874                aspect: 1.0 1.0;
25875                aspect_preference: VERTICAL;
25876                rel1 {
25877                   relative: 1.0  0.0;
25878                   offset: -5    4;
25879                }
25880                rel2 {
25881                   relative: 1.0  1.0;
25882                   offset: -5   -5;
25883                }
25884             }
25885          }
25886          part {
25887             name: "fg1";
25888             mouse_events: 0;
25889             description {
25890                state: "default" 0.0;
25891                visible: 0;
25892                color: 255 255 255 0;
25893                rel1.to: "bg";
25894                rel2.relative: 1.0 0.5;
25895                rel2.to: "bg";
25896                image {
25897                   normal: "bt_sm_hilight.png";
25898                   border: 6 6 6 0;
25899                }
25900             }
25901             description {
25902                state: "selected" 0.0;
25903                inherit: "default" 0.0;
25904                visible: 1;
25905                color: 255 255 255 255;
25906             }
25907          }
25908          part {
25909             name: "fg2";
25910             mouse_events: 0;
25911             description {
25912                state: "default" 0.0;
25913                visible: 0;
25914                color: 255 255 255 0;
25915                rel1.to: "bg";
25916                rel2.to: "bg";
25917                image {
25918                   normal: "bt_sm_shine.png";
25919                   border: 6 6 6 0;
25920                }
25921             }
25922             description {
25923                state: "selected" 0.0;
25924                inherit: "default" 0.0;
25925                visible: 1;
25926                color: 255 255 255 255;
25927             }
25928          }
25929          part {
25930             name: "event";
25931             type: RECT;
25932             description {
25933                state: "default" 0.0;
25934                color: 0 0 0 0;
25935             }
25936             description {
25937                state: "disabled" 0.0;
25938                inherit: "default" 0.0;
25939                visible: 0;
25940             }
25941          }
25942       }
25943       programs {
25944          program {
25945             name: "go_active";
25946             signal: "e,state,selected";
25947             source: "e";
25948             action: STATE_SET "selected" 0.0;
25949             target: "bg";
25950             target: "fg1";
25951             target: "fg2";
25952             target: "e.text.label";
25953          }
25954          program {
25955             name: "go_passive";
25956             signal: "e,state,unselected";
25957             source: "e";
25958             action: STATE_SET "default" 0.0;
25959             target: "bg";
25960             target: "fg1";
25961             target: "fg2";
25962             target: "e.text.label";
25963             transition: LINEAR 0.1;
25964          }
25965          program {
25966             name: "disable";
25967             signal: "e,state,disabled";
25968             source: "e";
25969             action: STATE_SET "disabled" 0.0;
25970             target: "event";
25971          }
25972          program {
25973             name: "enable";
25974             signal: "e,state,enabled";
25975             source: "e";
25976             action: STATE_SET "default" 0.0;
25977             target: "event";
25978          }
25979       }
25980    }
25981    group {
25982       name: "e/widgets/ilist_odd";
25983       data.item: "stacking" "below";
25984       data.item: "selectraise" "on";
25985       images {
25986          image: "bt_sm_base1.png" COMP;
25987          image: "bt_sm_shine.png" COMP;
25988          image: "bt_sm_hilight.png" COMP;
25989          image: "ilist_2.png" COMP;
25990       }
25991       parts {
25992          part {
25993             name: "base";
25994             mouse_events: 0;
25995             description {
25996                state: "default" 0.0;
25997                color_class: "ilist_item_odd_base";
25998                image {
25999                   normal: "ilist_2.png";
26000                   border: 2 2 2 2;
26001                }
26002                fill.smooth: 0;
26003             }
26004          }
26005          part {
26006             name: "bg";
26007             mouse_events: 0;
26008             description {
26009                state: "default" 0.0;
26010                visible: 0;
26011                color: 255 255 255 0;
26012                rel1 {
26013                   relative: 0.0 0.0;
26014                   offset: -5 -5;
26015                }
26016                rel2 {
26017                   relative: 1.0 1.0;
26018                   offset: 4 4;
26019                }
26020                image {
26021                   normal: "bt_sm_base1.png";
26022                   border: 6 6 6 6;
26023                }
26024             }
26025             description {
26026                state: "selected" 0.0;
26027                inherit: "default" 0.0;
26028                visible: 1;
26029                color: 255 255 255 255;
26030                rel1 {
26031                   relative: 0.0 0.0;
26032                   offset: -2 -2;
26033                }
26034                rel2 {
26035                   relative: 1.0 1.0;
26036                   offset: 1 1;
26037                }
26038             }
26039          }
26040          part {
26041             name: "e.swallow.icon";
26042             type: SWALLOW;
26043             description {
26044                state: "default" 0.0;
26045                align: 0.0 0.5;
26046                aspect: 1.0 1.0;
26047                aspect_preference: VERTICAL;
26048                rel1 {
26049                   relative: 0.0  0.0;
26050                   offset: 4    4;
26051                }
26052                rel2 {
26053                   relative: 0.0  1.0;
26054                   offset: 4   -5;
26055                }
26056             }
26057          }
26058          part {
26059             name: "e.text.label";
26060             type: TEXT;
26061             effect: SOFT_SHADOW;
26062             mouse_events: 0;
26063             scale: 1;
26064             description {
26065                state: "default" 0.0;
26066                min: 16 16;
26067                rel1 {
26068                   to_x: "e.swallow.icon";
26069                   relative: 1.0  0.0;
26070                   offset: 4 4;
26071                }
26072                rel2 {
26073                   relative: 1.0  1.0;
26074                   offset: -5 -5;
26075                }
26076                color_class: "ilist_item_odd";
26077                text {
26078                   font: "Sans";
26079                   size: 10;
26080                   min: 1 1;
26081                   align: 0.0 0.5;
26082                   text_class: "ilist_item";
26083                }
26084             }
26085             description {
26086                state: "selected" 0.0;
26087                inherit: "default" 0.0;
26088                color_class: "ilist_item_selected";
26089             }
26090          }
26091          part {
26092             name: "e.swallow.end";
26093             type: SWALLOW;
26094             description {
26095                state: "default" 0.0;
26096                align: 1.0 0.5;
26097                aspect: 1.0 1.0;
26098                aspect_preference: VERTICAL;
26099                rel1 {
26100                   relative: 1.0  0.0;
26101                   offset: -5    4;
26102                }
26103                rel2 {
26104                   relative: 1.0  1.0;
26105                   offset: -5   -5;
26106                }
26107             }
26108          }
26109          part {
26110             name: "fg1";
26111             mouse_events: 0;
26112             description {
26113                state: "default" 0.0;
26114                visible: 0;
26115                color: 255 255 255 0;
26116                rel1.to: "bg";
26117                rel2.relative: 1.0 0.5;
26118                rel2.to: "bg";
26119                image {
26120                   normal: "bt_sm_hilight.png";
26121                   border: 6 6 6 0;
26122                }
26123             }
26124             description {
26125                state: "selected" 0.0;
26126                inherit: "default" 0.0;
26127                visible: 1;
26128                color: 255 255 255 255;
26129             }
26130          }
26131          part {
26132             name: "fg2";
26133             mouse_events: 0;
26134             description {
26135                state: "default" 0.0;
26136                visible: 0;
26137                color: 255 255 255 0;
26138                rel1.to: "bg";
26139                rel2.to: "bg";
26140                image {
26141                   normal: "bt_sm_shine.png";
26142                   border: 6 6 6 0;
26143                }
26144             }
26145             description {
26146                state: "selected" 0.0;
26147                inherit: "default" 0.0;
26148                visible: 1;
26149                color: 255 255 255 255;
26150             }
26151          }
26152          part {
26153             name: "event";
26154             type: RECT;
26155             description {
26156                state: "default" 0.0;
26157                color: 0 0 0 0;
26158             }
26159             description {
26160                state: "disabled" 0.0;
26161                inherit: "default" 0.0;
26162                visible: 0;
26163             }
26164          }
26165       }
26166       programs {
26167          program {
26168             name: "go_active";
26169             signal: "e,state,selected";
26170             source: "e";
26171             action: STATE_SET "selected" 0.0;
26172             target: "bg";
26173             target: "fg1";
26174             target: "fg2";
26175             target: "e.text.label";
26176          }
26177          program {
26178             name: "go_passive";
26179             signal: "e,state,unselected";
26180             source: "e";
26181             action: STATE_SET "default" 0.0;
26182             target: "bg";
26183             target: "fg1";
26184             target: "fg2";
26185             target: "e.text.label";
26186             transition: LINEAR 0.1;
26187          }
26188          program {
26189             name: "disable";
26190             signal: "e,state,disabled";
26191             source: "e";
26192             action: STATE_SET "disabled" 0.0;
26193             target: "event";
26194          }
26195          program {
26196             name: "enable";
26197             signal: "e,state,enabled";
26198             source: "e";
26199             action: STATE_SET "default" 0.0;
26200             target: "event";
26201          }
26202       }
26203    }
26204    group {
26205       name: "e/widgets/ilist_header";
26206       data.item: "stacking" "above";
26207       data.item: "selectraise" "on";
26208       images {
26209          image: "bt_sm_base1.png" COMP;
26210          image: "bt_sm_shine.png" COMP;
26211          image: "bt_sm_hilight.png" COMP;
26212          image: "ilist_header_1.png" COMP;
26213          image: "ilist_item_shadow.png" COMP;
26214       }
26215       parts {
26216          part {
26217             name: "base_sh";
26218             mouse_events: 0;
26219             description {
26220                state: "default" 0.0;
26221                fixed: 1 1;
26222                // aspect: 6.4 6.4;
26223                // aspect_preference: HORIZONTAL;
26224                align: 0.0 0.0;
26225                min: 0 10;
26226                rel1 {
26227                   to: "base";
26228                   relative: 0.0 1.0;
26229                   offset: 0 0;
26230                }
26231                rel2 {
26232                   to: "base";
26233                   relative: 1.0 1.0;
26234                   offset: -1 0;
26235                }
26236                image {
26237                   normal: "ilist_item_shadow.png";
26238                }
26239                fill.smooth: 0;
26240             }
26241          }
26242          part {
26243             name: "base";
26244             mouse_events: 0;
26245             description {
26246                state: "default" 0.0;
26247                color_class: "ilist_item_header_base";
26248                image {
26249                   normal: "ilist_header_1.png";
26250                   border: 2 2 2 2;
26251                }
26252             }
26253          }
26254          part {
26255             name: "bg";
26256             mouse_events: 0;
26257             description {
26258                state: "default" 0.0;
26259                visible: 0;
26260                color: 255 255 255 0;
26261                rel1 {
26262                   relative: 0.0 0.0;
26263                   offset: -5 -5;
26264                }
26265                rel2 {
26266                   relative: 1.0 1.0;
26267                   offset: 4 4;
26268                }
26269                image {
26270                   normal: "bt_sm_base1.png";
26271                   border: 6 6 6 6;
26272                }
26273             }
26274             description {
26275                state: "selected" 0.0;
26276                inherit: "default" 0.0;
26277                visible: 1;
26278                color: 255 255 255 255;
26279                rel1 {
26280                   relative: 0.0 0.0;
26281                   offset: -2 -2;
26282                }
26283                rel2 {
26284                   relative: 1.0 1.0;
26285                   offset: 1 1;
26286                }
26287             }
26288          }
26289          part {
26290             name: "e.swallow.icon";
26291             type: SWALLOW;
26292             description {
26293                state: "default" 0.0;
26294                align: 0.0 0.5;
26295                aspect: 1.0 1.0;
26296                aspect_preference: VERTICAL;
26297                rel1 {
26298                   relative: 0.0  0.0;
26299                   offset: 4    4;
26300                }
26301                rel2 {
26302                   relative: 0.0  1.0;
26303                   offset: 4   -5;
26304                }
26305             }
26306          }
26307          part {
26308             name: "e.text.label";
26309             type: TEXT;
26310             effect: SOFT_SHADOW;
26311             mouse_events: 0;
26312             scale: 1;
26313             description {
26314                state: "default" 0.0;
26315                min: 16 16;
26316                rel1 {
26317                   to_x: "e.swallow.icon";
26318                   relative: 1.0  0.0;
26319                   offset: 4 4;
26320                }
26321                rel2 {
26322                   relative: 1.0  1.0;
26323                   offset: -5 -5;
26324                }
26325                color_class: "ilist_item_header";
26326                text {
26327                   font: "Sans:style=Bold";
26328                   size: 16;
26329                   min: 1 1;
26330                   align: 0.0 0.5;
26331                   text_class: "ilist_item";
26332                }
26333             }
26334          }
26335          part {
26336             name: "fg1";
26337             mouse_events: 0;
26338             description {
26339                state: "default" 0.0;
26340                visible: 0;
26341                color: 255 255 255 0;
26342                rel1.to: "bg";
26343                rel2.relative: 1.0 0.5;
26344                rel2.to: "bg";
26345                image {
26346                   normal: "bt_sm_hilight.png";
26347                   border: 6 6 6 0;
26348                }
26349             }
26350             description {
26351                state: "selected" 0.0;
26352                inherit: "default" 0.0;
26353                visible: 1;
26354                color: 255 255 255 255;
26355             }
26356          }
26357          part {
26358             name: "fg2";
26359             mouse_events: 0;
26360             description {
26361                state: "default" 0.0;
26362                visible: 0;
26363                color: 255 255 255 0;
26364                rel1.to: "bg";
26365                rel2.to: "bg";
26366                image {
26367                   normal: "bt_sm_shine.png";
26368                   border: 6 6 6 0;
26369                }
26370             }
26371             description {
26372                state: "selected" 0.0;
26373                inherit: "default" 0.0;
26374                visible: 1;
26375                color: 255 255 255 255;
26376             }
26377          }
26378          part {
26379             name: "event";
26380             type: RECT;
26381             description {
26382                state: "default" 0.0;
26383                color: 0 0 0 0;
26384             }
26385          }
26386       }
26387       programs {
26388          program {
26389             name: "go_active";
26390             signal: "e,state,selected";
26391             source: "e";
26392             action: STATE_SET "selected" 0.0;
26393             target: "bg";
26394             target: "fg1";
26395             target: "fg2";
26396             target: "e.text.label";
26397          }
26398          program {
26399             name: "go_passive";
26400             signal: "e,state,unselected";
26401             source: "e";
26402             action: STATE_SET "default" 0.0;
26403             target: "bg";
26404             target: "fg1";
26405             target: "fg2";
26406             target: "e.text.label";
26407             transition: LINEAR 0.1;
26408          }
26409       }
26410    }
26411    group {
26412       name: "e/widgets/ilist_header_odd";
26413       data.item: "stacking" "below";
26414       data.item: "selectraise" "on";
26415       images {
26416          image: "bt_sm_base1.png" COMP;
26417          image: "bt_sm_shine.png" COMP;
26418          image: "bt_sm_hilight.png" COMP;
26419          image: "ilist_header_2.png" COMP;
26420       }
26421       parts {
26422          part {
26423             name: "base";
26424             mouse_events: 0;
26425             description {
26426                state: "default" 0.0;
26427                color_class: "ilist_item_header_odd_base";
26428                image {
26429                   normal: "ilist_header_2.png";
26430                   border: 2 2 2 2;
26431                }
26432             }
26433          }
26434          part {
26435             name: "bg";
26436             mouse_events: 0;
26437             description {
26438                state: "default" 0.0;
26439                visible: 0;
26440                color: 255 255 255 0;
26441                rel1 {
26442                   relative: 0.0 0.0;
26443                   offset: -5 -5;
26444                }
26445                rel2 {
26446                   relative: 1.0 1.0;
26447                   offset: 4 4;
26448                }
26449                image {
26450                   normal: "bt_sm_base1.png";
26451                   border: 6 6 6 6;
26452                }
26453             }
26454             description {
26455                state: "selected" 0.0;
26456                inherit: "default" 0.0;
26457                visible: 1;
26458                color: 255 255 255 255;
26459                rel1 {
26460                   relative: 0.0 0.0;
26461                   offset: -2 -2;
26462                }
26463                rel2 {
26464                   relative: 1.0 1.0;
26465                   offset: 1 1;
26466                }
26467             }
26468          }
26469          part {
26470             name: "e.swallow.icon";
26471             type: SWALLOW;
26472             description {
26473                state: "default" 0.0;
26474                align: 0.0 0.5;
26475                aspect: 1.0 1.0;
26476                aspect_preference: VERTICAL;
26477                rel1 {
26478                   relative: 0.0  0.0;
26479                   offset: 4    4;
26480                }
26481                rel2 {
26482                   relative: 0.0  1.0;
26483                   offset: 4   -5;
26484                }
26485             }
26486          }
26487          part {
26488             name: "e.text.label";
26489             type: TEXT;
26490             effect: SOFT_SHADOW;
26491             mouse_events: 0;
26492             scale: 1;
26493             description {
26494                state: "default" 0.0;
26495                min: 16 16;
26496                rel1 {
26497                   to_x: "e.swallow.icon";
26498                   relative: 1.0  0.0;
26499                   offset: 4 4;
26500                }
26501                rel2 {
26502                   relative: 1.0  1.0;
26503                   offset: -5 -5;
26504                }
26505                color_class: "ilist_item_header_odd";
26506                text {
26507                   font: "Sans:style=Bold";
26508                   size: 16;
26509                   min: 1 1;
26510                   align: 0.0 0.5;
26511                   text_class: "ilist_item";
26512                }
26513             }
26514          }
26515          part {
26516             name: "fg1";
26517             mouse_events: 0;
26518             description {
26519                state: "default" 0.0;
26520                visible: 0;
26521                color: 255 255 255 0;
26522                rel1.to: "bg";
26523                rel2.relative: 1.0 0.5;
26524                rel2.to: "bg";
26525                image {
26526                   normal: "bt_sm_hilight.png";
26527                   border: 6 6 6 0;
26528                }
26529             }
26530             description {
26531                state: "selected" 0.0;
26532                inherit: "default" 0.0;
26533                visible: 1;
26534                color: 255 255 255 255;
26535             }
26536          }
26537          part {
26538             name: "fg2";
26539             mouse_events: 0;
26540             description {
26541                state: "default" 0.0;
26542                visible: 0;
26543                color: 255 255 255 0;
26544                rel1.to: "bg";
26545                rel2.to: "bg";
26546                image {
26547                   normal: "bt_sm_shine.png";
26548                   border: 6 6 6 0;
26549                }
26550             }
26551             description {
26552                state: "selected" 0.0;
26553                inherit: "default" 0.0;
26554                visible: 1;
26555                color: 255 255 255 255;
26556             }
26557          }
26558          part {
26559             name: "event";
26560             type: RECT;
26561             description {
26562                state: "default" 0.0;
26563                color: 0 0 0 0;
26564             }
26565          }
26566       }
26567       programs {
26568          program {
26569             name: "go_active";
26570             signal: "e,state,selected";
26571             source: "e";
26572             action: STATE_SET "selected" 0.0;
26573             target: "bg";
26574             target: "fg1";
26575             target: "fg2";
26576             target: "e.text.label";
26577          }
26578          program {
26579             name: "go_passive";
26580             signal: "e,state,unselected";
26581             source: "e";
26582             action: STATE_SET "default" 0.0;
26583             target: "bg";
26584             target: "fg1";
26585             target: "fg2";
26586             target: "e.text.label";
26587             transition: LINEAR 0.1;
26588          }
26589       }
26590    }
26591    group {
26592       name: "e/widgets/ilist/toggle_end";
26593       images {
26594          image: "icon_active.png" COMP;
26595       }
26596       parts {
26597          part {
26598             name: "icon";
26599             type: IMAGE;
26600             description {
26601                state: "default" 0.0;
26602                color: 255 255 255 0;
26603                visible: 0;
26604                align: 1.0 0.5;
26605                aspect: 1.0 1.0;
26606                aspect_preference: VERTICAL;
26607                rel1 {
26608                   relative: 0.0  0.0;
26609                   offset: 4    4;
26610                }
26611                rel2 {
26612                   relative: 0.0  1.0;
26613                   offset: 4   -5;
26614                }
26615                image.normal: "icon_active.png";
26616             }
26617             description {
26618                state: "visible" 0.0;
26619                inherit: "default" 0.0;
26620                color: 255 255 255 255;
26621                visible: 1;
26622             }
26623          }
26624       }
26625       programs {
26626          program {
26627             signal: "e,state,checked";
26628             source: "e";
26629             action: STATE_SET "visible" 0.0;
26630             target: "icon";
26631             transition: LINEAR 0.1;
26632          }
26633          program {
26634             signal: "e,state,unchecked";
26635             source: "e";
26636             action: STATE_SET "default" 0.0;
26637             target: "icon";
26638             transition: LINEAR 0.1;
26639          }
26640       }
26641    }
26642    /* e/widgets/entry is used in the Wallpaper Picture file selector */
26643    group {
26644       name: "e/widgets/entry";
26645       // min: 12 12;
26646       images.image: "inset_sunk.png" COMP;
26647       parts {
26648          part {
26649             name: "base";
26650             type: RECT;
26651             description {
26652                state: "default" 0.0;
26653                rel1.offset: 1 1;
26654                rel2.offset: -2  -2;
26655                color: 255 255 255 255;
26656             }
26657             description {
26658                state: "disabled" 0.0;
26659                inherit: "default" 0.0;
26660                color: 255 255 255 0;
26661             }
26662          }
26663          part {
26664             name: "e.swallow.text";
26665             type: SWALLOW;
26666             description {
26667                state: "default" 0.0;
26668                rel1 {
26669                   offset: 2 2;
26670                   to: "base";
26671                }
26672                rel2 {
26673                   offset: -3 -3;
26674                   to: "base";
26675                }
26676             }
26677          }
26678          part {
26679             name: "overlay";
26680             description {
26681                state: "default" 0.0;
26682                image {
26683                   normal: "inset_sunk.png";
26684                   border: 7 7 7 7;
26685                   middle: 0;
26686                }
26687                fill.smooth : 0;
26688                color: 255 255 255 255;
26689             }
26690             description {
26691                state: "disabled" 0.0;
26692                inherit: "default" 0.0;
26693                color: 255 255 255 0;
26694             }
26695          }
26696       }
26697       programs {
26698          program {
26699             name: "disable";
26700             signal: "e,state,disabled";
26701             source: "e";
26702             action: STATE_SET "disabled" 0.0;
26703             target: "overlay";
26704             target: "base";
26705          }
26706          program {
26707             name: "enable";
26708             signal: "e,state,enabled";
26709             source: "e";
26710             action: STATE_SET "default" 0.0;
26711             target: "overlay";
26712             target: "base";
26713          }
26714       }
26715    }
26716    group {
26717       name: "e/widgets/entry/text";
26718       parts {
26719          part {
26720             name: "e.text.text";
26721             type: TEXT;
26722             mouse_events: 0;
26723             scale: 1;
26724             description {
26725                state: "default" 0.0;
26726                color_class: "entry_text";
26727                text {
26728                   text: "";
26729                   font: "Sans";
26730                   size: 10;
26731                   min: 1 1;
26732                   align: 0.0 0.0;
26733                   text_class: "entry";
26734                }
26735             }
26736             description {
26737                state: "disabled" 0.0;
26738                inherit: "default" 0.0;
26739                color_class: "entry_text_disabled";
26740             }
26741          }
26742       }
26743       programs {
26744          program {
26745             name: "disable";
26746             signal: "e,state,disabled";
26747             source: "e";
26748             action: STATE_SET "disabled" 0.0;
26749             target: "e.text.text";
26750          }
26751          program {
26752             name: "enable";
26753             signal: "e,state,enabled";
26754             source: "e";
26755             action: STATE_SET "default" 0.0;
26756             target: "e.text.text";
26757          }
26758       }
26759    }
26760    group {
26761       name: "e/widgets/entry/cursor";
26762       min: 1 0;
26763       parts {
26764          part {
26765             name: "cursor";
26766             type: RECT;
26767             description {
26768                state: "default" 0.0;
26769                rel1.offset: 1 0;
26770                rel2.offset: 0 -1;
26771                color: 0 0 0 0;
26772             }
26773             description {
26774                state: "visible" 0.0;
26775                inherit: "default" 0.0;
26776                color: 0 0 0 255;
26777             }
26778          }
26779       }
26780       programs {
26781          program {
26782             name: "on_cursor_show";
26783             signal: "e,action,show,cursor";
26784             source: "e";
26785             action: ACTION_STOP;
26786             target: "cursor_show";
26787             target: "cursor_hide";
26788             target: "cursor_show_timer";
26789             target: "cursor_hide_timer";
26790             after: "cursor_show";
26791          }
26792          program {
26793             name: "cursor_show";
26794             action: STATE_SET "visible" 0.0;
26795             target: "cursor";
26796             after: "cursor_show_timer";
26797          }
26798          program {
26799             name: "cursor_hide";
26800             action: STATE_SET "default" 0.0;
26801             target: "cursor";
26802             transition: SINUSOIDAL 0.2;
26803             after: "cursor_hide_timer";
26804          }
26805          program {
26806             name: "cursor_show_timer";
26807             in: 0.55 0.0;
26808             after: "cursor_hide";
26809          }
26810          program {
26811             name: "cursor_hide_timer";
26812             in: 0.2 0.0;
26813             after: "cursor_show";
26814          }
26815       }
26816    }
26817    group {
26818       name: "e/widgets/entry/selection";
26819       data.item: "on_foreground" "1";
26820       parts {
26821          part {
26822             name: "selection";
26823             type: RECT;
26824             description {
26825                state: "default" 0.0;
26826                rel1.offset: 2 0;
26827                rel2.offset: 1 -1;
26828                color: 164 164 164 100;
26829             }
26830          }
26831       }
26832    }
26833    /* e/widgets/preview is used in the Theme Selector to preview themes */
26834    group {
26835       name: "e/widgets/preview";
26836       images.image: "inset_sunk.png" COMP;
26837       parts {
26838          part {
26839             name: "clip";
26840             type: RECT;
26841             mouse_events: 0;
26842             description {
26843                state: "default" 0.0;
26844                rel1.to: "e.swallow.content";
26845                rel2.to: "e.swallow.content";
26846             }
26847          }
26848          part {
26849             name: "e.swallow.content";
26850             clip_to: "clip";
26851             type: SWALLOW;
26852             description {
26853                state: "default" 0.0;
26854                rel1.offset: 1 1;
26855                rel2.offset: -2 -2;
26856             }
26857          }
26858          part {
26859             name: "border";
26860             mouse_events: 0;
26861             description {
26862                state: "default" 0.0;
26863                image {
26864                   normal: "inset_sunk.png";
26865                   border: 7 7 7 7;
26866                   middle: 0;
26867                }
26868                fill.smooth : 0;
26869             }
26870          }
26871       }
26872    }
26873    /* e/widgets/deskpreview is used in the Wallpaper
26874       selector dialog to preview wallpapers.         */
26875    group {
26876       name: "e/widgets/deskpreview/desk";
26877       images.image: "inset_sunk.png" COMP;
26878       parts {
26879          part {
26880             name: "clip";
26881             type: RECT;
26882             mouse_events: 0;
26883             description {
26884                state: "default" 0.0;
26885                rel1.to: "e.swallow.content";
26886                rel2.to: "e.swallow.content";
26887             }
26888          }
26889          part {
26890             name: "e.swallow.content";
26891             clip_to: "clip";
26892             type: SWALLOW;
26893             description {
26894                state: "default" 0.0;
26895                rel1.offset: 1 1;
26896                rel2.offset: -2 -2;
26897             }
26898          }
26899          part {
26900             name: "border";
26901             mouse_events: 0;
26902             description {
26903                state: "default" 0.0;
26904                image {
26905                   normal: "inset_sunk.png";
26906                   border: 7 7 7 7;
26907                   middle: 0;
26908                }
26909                fill.smooth : 0;
26910             }
26911          }
26912          part {
26913             name: "e.event.menu";
26914             type: RECT;
26915             description {
26916                state: "default" 0.0;
26917                color: 0 0 0 0;
26918             }
26919          }
26920       }
26921    }
26922    /* color_well & gradpreview are used to display the color
26923       and the gradient in the Wallpaper Gradient config dialog. */
26924    group {
26925       name: "e/widgets/color_well";
26926       alias: "e/widgets/gradpreview";
26927       images.image: "inset_sunk.png" COMP;
26928       parts {
26929          part {
26930             name: "content_clip";
26931             type: RECT;
26932             mouse_events: 0;
26933             description {
26934                state: "default" 0.0;
26935                rel1.to: "e.swallow.content";
26936                rel2.to: "e.swallow.content";
26937                color: 255 255 255 255;
26938             }
26939             description {
26940                state: "disabled" 0.0;
26941                inherit: "default" 0.0;
26942                color: 255 255 255 0;
26943             }
26944          }
26945          part {
26946             name: "e.swallow.content";
26947             type: SWALLOW;
26948             clip_to: "content_clip";
26949             description {
26950                state: "default" 0.0;
26951                rel1.offset: 4  4;
26952                rel2.offset: -5  -5;
26953             }
26954          }
26955          part {
26956             name: "border";
26957             mouse_events: 1;
26958             description {
26959                state: "default" 0.0;
26960                rel1 {
26961                   to: "e.swallow.content";
26962                   offset: -1 -1;
26963                }
26964                rel2 {
26965                   to: "e.swallow.content";
26966                   offset: 0 0;
26967                }
26968                image {
26969                   normal: "inset_sunk.png";
26970                   border: 7 7 7 7;
26971                   middle: 0;
26972                }
26973                fill.smooth : 0;
26974             }
26975          }
26976       }
26977       programs {
26978          program {
26979             name: "send_click";
26980             signal: "mouse,clicked,1";
26981             source: "border";
26982             action: SIGNAL_EMIT "e,action,click" "";
26983          }
26984          program {
26985             name: "disable";
26986             signal: "e,state,disabled";
26987             source: "e";
26988             action: STATE_SET "disabled" 0.0;
26989             target: "content_clip";
26990          }
26991          program {
26992             name: "enable";
26993             signal: "e,state,enabled";
26994             source: "e";
26995             action: STATE_SET "default" 0.0;
26996             target: "content_clip";
26997          }
26998       }
26999    }
27000    /* Used in the color selector widget in Wallpaper Gradient dialog */
27001    group {
27002       name: "e/widgets/spectrum";
27003       images.image: "inset_sunk.png" COMP;
27004       parts {
27005          part {
27006             name: "content_clip";
27007             type: RECT;
27008             mouse_events: 0;
27009             description {
27010                state: "default" 0.0;
27011                rel1.to: "e.swallow.content";
27012                rel2.to: "e.swallow.content";
27013                color: 255 255 255 255;
27014             }
27015          }
27016          part {
27017             name: "e.swallow.content";
27018             type: SWALLOW;
27019             clip_to: "content_clip";
27020             description {
27021                state: "default" 0.0;
27022                rel1.offset: 4  4;
27023                rel2.offset: -5  -5;
27024             }
27025          }
27026          part {
27027             name: "border";
27028             mouse_events: 1;
27029             description {
27030                state: "default" 0.0;
27031                rel1 {
27032                   to: "e.swallow.content";
27033                   offset: -1 -1;
27034                }
27035                rel2 {
27036                   to: "e.swallow.content";
27037                   offset: 0 0;
27038                }
27039                image {
27040                   normal: "inset_sunk.png";
27041                   border: 7 7 7 7;
27042                   middle: 0;
27043                }
27044                fill.smooth : 0;
27045             }
27046          }
27047          part {
27048             name: "e.dragable.cursor";
27049             type: RECT;
27050             dragable {
27051                confine: "e.swallow.content";
27052                x: 1 1 0;
27053                y: 1 1 0;
27054             }
27055             description {
27056                state: "default" 0.0;
27057                min: 1 1;
27058                max: 1 1;
27059                fixed: 1 1;
27060                visible: 0;
27061                rel1 {
27062                   to: "e.swallow.content";
27063                   relative: 0.5 0.5;
27064                   offset: 0 0;
27065                }
27066                rel2 {
27067                   to: "e.swallow.content";
27068                   relative: 0.5 0.5;
27069                   offset: 0 0;
27070                }
27071             }
27072          }
27073          part {
27074             name: "cursor_x";
27075             type: RECT;
27076             description {
27077                state: "default" 0.0;
27078                rel1 {
27079                   to_x: "e.dragable.cursor";
27080                   to_y: "e.swallow.content";
27081                }
27082                rel2 {
27083                   to_x: "e.dragable.cursor";
27084                   to_y: "e.swallow.content";
27085                }
27086                color: 255 255 255 150;
27087             }
27088          }
27089          part {
27090             name: "cursor_y";
27091             type: RECT;
27092             description {
27093                state: "default" 0.0;
27094                rel1 {
27095                   to_x: "e.swallow.content";
27096                   to_y: "e.dragable.cursor";
27097                }
27098                rel2 {
27099                   to_x: "e.swallow.content";
27100                   to_y: "e.dragable.cursor";
27101                }
27102                color: 255 255 255 150;
27103             }
27104          }
27105       }
27106    }
27107    /* Used to display RGB/HSV values via sliders
27108       in Wallpaper Gradient Dialog               */
27109    group {
27110       name: "e/widgets/cslider";
27111       images.image: "inset_sunk.png" COMP;
27112       parts {
27113          part {
27114             name: "content_clip";
27115             type: RECT;
27116             mouse_events: 0;
27117             description {
27118                state: "default" 0.0;
27119                rel1.to: "e.swallow.content";
27120                rel2.to: "e.swallow.content";
27121                color: 255 255 255 255;
27122             }
27123          }
27124          part {
27125             name: "e.swallow.content";
27126             type: SWALLOW;
27127             clip_to: "content_clip";
27128             description {
27129                state: "default" 0.0;
27130                min: 50 20;
27131                rel1.offset: 4    4;
27132                rel2.offset: -5    -5;
27133             }
27134             description {
27135                state: "vertical" 0.0;
27136                inherit: "default" 0.0;
27137                min: 20 50;
27138             }
27139          }
27140          part {
27141             name: "border";
27142             mouse_events: 1;
27143             description {
27144                state: "default" 0.0;
27145                rel1 {
27146                   to: "e.swallow.content";
27147                   offset: -1 -1;
27148                }
27149                rel2 {
27150                   to: "e.swallow.content";
27151                   offset: 0 0;
27152                }
27153                image {
27154                   normal: "inset_sunk.png";
27155                   border: 7 7 7 7;
27156                   middle: 0;
27157                }
27158                fill.smooth : 0;
27159             }
27160          }
27161          part {
27162             name: "e.dragable.cursor";
27163             type: RECT;
27164             clip_to: "content_clip";
27165             dragable {
27166                confine: "e.swallow.content";
27167                x: 1 1 0;
27168                y: -1 1 0;
27169             }
27170             description {
27171                state: "default" 0.0;
27172                min: 1 24;
27173                max: 1 9999;
27174                fixed: 1 1;
27175                rel1 {
27176                   to: "e.swallow.content";
27177                   relative: 0.5 0.0;
27178                   offset: 0 -2;
27179                }
27180                rel2 {
27181                   to: "e.swallow.content";
27182                   relative: 0.5 1.0;
27183                   offset: 0 +2;
27184                }
27185                color: 255 255 255 150;
27186             }
27187             description {
27188                state: "vertical" 0.0;
27189                min: 24 1;
27190                max: 9999 1;
27191                fixed: 1 1;
27192                rel1 {
27193                   to: "e.swallow.content";
27194                   relative: 0.0 0.5 ;
27195                   offset: -2 0;
27196                }
27197                rel2 {
27198                   to: "e.swallow.content";
27199                   relative: 1.0 0.5;
27200                   offset: +2 0;
27201                }
27202                color: 255 255 255 150;
27203             }
27204          }
27205       }
27206       programs {
27207          program {
27208             name: "go_vertical";
27209             signal: "e,state,direction,v";
27210             source: "e";
27211             action: STATE_SET "vertical" 0.0;
27212             target: "e.dragable.cursor";
27213             target: "e.swallow.content";
27214          }
27215       }
27216    }
27217    /* e/widgets/slider* is used in the Virtual Desktops Config dialog */
27218    group {
27219       name: "e/widgets/slider_vertical";
27220       images {
27221          image: "slider.png" COMP;
27222          image: "slider_clicked.png" COMP;
27223          image: "sb_runnerv.png" COMP;
27224          image: "inset_sunk.png" COMP;
27225       }
27226       parts {
27227          part {
27228             name: "base";
27229             type: RECT;
27230             mouse_events: 1;
27231             description {
27232                state: "default" 0.0;
27233                color: 0 0 0 0;
27234                min: 22 0;
27235                rel1.offset: 2 2;
27236                rel2.offset: -3 -3;
27237             }
27238             description {
27239                state: "active" 0.0;
27240                inherit: "default" 0.0;
27241                rel2 {
27242                   to_y: "label";
27243                   relative: 1.0  0.0;
27244                   offset: -3   -1;
27245                }
27246             }
27247          }
27248          part {
27249             name: "runner";
27250             mouse_events: 0;
27251             clip_to: "clip";
27252             description {
27253                state: "default" 0.0;
27254                max: 3 99999;
27255                rel1.to: "base";
27256                rel2.to: "base";
27257                image {
27258                   normal: "sb_runnerv.png";
27259                   border: 0 0 4 4;
27260                }
27261                fill.smooth: 0;
27262             }
27263          }
27264          part {
27265             name: "label_base";
27266             clip_to: "clip";
27267             type: RECT;
27268             description {
27269                state: "default" 0.0;
27270                color: 255 255 255 0;
27271                visible: 0;
27272                rel1.to: "label";
27273                rel1.offset: 1 1;
27274                rel2.to: "label";
27275                rel2.offset: -2 -2;
27276             }
27277             description {
27278                state: "active" 0.0;
27279                inherit: "default" 0.0;
27280                visible: 1;
27281             }
27282          }
27283          part {
27284             name: "label";
27285             mouse_events: 0;
27286             clip_to: "clip";
27287             description {
27288                state: "default" 0.0;
27289                visible: 0;
27290             }
27291             description {
27292                state: "active" 0.0;
27293                rel1 {
27294                   to: "e.text.label";
27295                   offset: -4  -2;
27296                }
27297                rel2 {
27298                   to: "e.text.label";
27299                   offset: 3  1;
27300                }
27301             }
27302          }
27303          part {
27304             name: "e.text.label";
27305             type: TEXT;
27306             mouse_events: 0;
27307             clip_to: "clip";
27308             scale: 1;
27309             description {
27310                state: "default" 0.0;
27311                visible: 0;
27312             }
27313             description {
27314                state: "active" 0.0;
27315                align: 0.5 1.0;
27316                fixed: 1 1;
27317                rel1 {
27318                   relative: 0.0  1.0;
27319                   offset: 7    -8;
27320                }
27321                rel2 {
27322                   relative: 1.0  1.0;
27323                   offset: -8  -8;
27324                }
27325                color_class: "slider_text";
27326                text {
27327                   text: "0.0";
27328                   font: "Sans";
27329                   size: 10;
27330                   min: 1 1;
27331                   align: 0.5 0.5;
27332                   text_class: "slider";
27333                }
27334             }
27335          }
27336          part {
27337             name: "sld_p1";
27338             type: RECT;
27339             mouse_events: 1;
27340             description {
27341                state: "default" 0.0;
27342                color: 0 0 0 0;
27343                rel2 {
27344                   relative: 1.0 0.0;
27345                   to: "e.dragable.slider";
27346                }
27347             }
27348          }
27349          part {
27350             name: "sld_p2";
27351             type: RECT;
27352             mouse_events: 1;
27353             description {
27354                state: "default" 0.0;
27355                color: 0 0 0 0;
27356                rel1 {
27357                   relative: 0.0 1.0;
27358                   to: "e.dragable.slider";
27359                }
27360             }
27361          }
27362          part {
27363             name: "e.swallow.bar";
27364             type: SWALLOW;
27365             description { state: "default" 0.0;
27366                rel1 {
27367                   to_x: "e.dragable.slider";
27368                   to_y: "base";
27369                   offset: 0 5;
27370                }
27371                rel2 {
27372                   to_x: "e.dragable.slider";
27373                   to_y: "base";
27374                   offset: -1 -6;
27375                }
27376             }
27377          }
27378          part {
27379             name: "e.dragable.slider";
27380             type: RECT;
27381             mouse_events: 1;
27382             scale: 1;
27383             dragable {
27384                x: 0 0 0;
27385                y: -1 1 0;
27386                confine: "base";
27387             }
27388             description {
27389                state: "default" 0.0;
27390                min: 11 11;
27391                fixed: 1 1;
27392                rel1 {
27393                   relative: 0.5  0.5;
27394                   offset: -1    0;
27395                   to: "base";
27396                }
27397                rel2 {
27398                   relative: 0.5  0.5;
27399                   offset: -1    -1;
27400                   to: "base";
27401                }
27402                color: 0 0 0 0;
27403             }
27404          }
27405          part {
27406             name: "button";
27407             mouse_events: 0;
27408             scale: 1;
27409             description {
27410                state: "default" 0.0;
27411                min: 22 22;
27412                fixed: 1 1;
27413                rel1.to: "e.dragable.slider";
27414                rel2.to: "e.dragable.slider";
27415                image.normal: "slider.png";
27416             }
27417             description {
27418                state: "clicked" 0.0;
27419                inherit: "default" 0.0;
27420                image.normal: "slider_clicked.png";
27421             }
27422          }
27423          part {
27424             name: "clip";
27425             type: RECT;
27426             description {
27427                state: "default" 0.0;
27428                color: 255 255 255 255;
27429             }
27430             description {
27431                state: "disabled" 0.0;
27432                inherit: "default" 0.0;
27433                color: 255 255 255 128;
27434             }
27435          }
27436          part {
27437             name: "event";
27438             type: RECT;
27439             mouse_events: 1;
27440             description {
27441                state: "default" 0.0;
27442                visible: 0;
27443                color: 0 0 0 0;
27444             }
27445             description {
27446                state: "disabled" 0.0;
27447                inherit: "default" 0.0;
27448                visible: 1;
27449             }
27450          }
27451       }
27452       programs {
27453          program {
27454             name: "sld_p1_down";
27455             signal: "mouse,down,1";
27456             source: "sld_p1";
27457             action: DRAG_VAL_PAGE 0.0 -1.0;
27458             target: "e.dragable.slider";
27459          }
27460          program {
27461             name: "sld_p2_down";
27462             signal: "mouse,down,1";
27463             source: "sld_p2";
27464             action: DRAG_VAL_PAGE  0.0 1.0;
27465             target: "e.dragable.slider";
27466          }
27467          program {
27468             name: "button_down";
27469             signal: "mouse,down,1";
27470             source: "e.dragable.slider";
27471             action: STATE_SET "clicked" 0.0;
27472             target: "button";
27473          }
27474          program {
27475             name: "button_up";
27476             signal: "mouse,up,1";
27477             source: "e.dragable.slider";
27478             action: STATE_SET "default" 0.0;
27479             target: "button";
27480          }
27481          program {
27482             name: "show_label";
27483             signal: "e,action,show,label";
27484             source: "e";
27485             action: STATE_SET "active" 0.0;
27486             target: "base";
27487             target: "label";
27488             target: "label_base";
27489             target: "e.text.label";
27490          }
27491          program {
27492             name: "hide_label";
27493             signal: "e,action,hide,label";
27494             source: "e";
27495             action: STATE_SET "default" 0.0;
27496             target: "base";
27497             target: "label";
27498             target: "label_base";
27499             target: "e.text.label";
27500          }
27501          program {
27502             name: "disable";
27503             signal: "e,state,disabled";
27504             source: "e";
27505             action: STATE_SET "disabled" 0.0;
27506             target: "clip";
27507             target: "event";
27508          }
27509          program {
27510             name: "enable";
27511             signal: "e,state,enabled";
27512             source: "e";
27513             action: STATE_SET "default" 0.0;
27514             target: "clip";
27515             target: "event";
27516          }
27517       }
27518    }
27519    group {
27520       name: "e/widgets/slider_horizontal";
27521       images {
27522          image: "slider.png" COMP;
27523          image: "slider_clicked.png" COMP;
27524          image: "sb_runnerh.png" COMP;
27525          image: "inset_sunk.png" COMP;
27526       }
27527       parts {
27528          part {
27529             name: "base";
27530             type: RECT;
27531             mouse_events: 1;
27532             description {
27533                state: "default" 0.0;
27534                color: 0 0 0 0;
27535                min: 0 22;
27536                rel1.offset: 2 2;
27537                rel2.offset: -3 -3;
27538             }
27539             description {
27540                state: "active" 0.0;
27541                inherit: "default" 0.0;
27542                rel2 {
27543                   to_x: "label";
27544                   relative: 0.0  1.0;
27545                   offset: -1   -3;
27546                }
27547             }
27548          }
27549          part {
27550             name: "runner";
27551             mouse_events: 0;
27552             clip_to: "clip";
27553             description {
27554                state: "default" 0.0;
27555                max: 99999 3;
27556                rel1.to: "base";
27557                rel2.to: "base";
27558                image {
27559                   normal: "sb_runnerh.png";
27560                   border: 4 4 0 0;
27561                }
27562                fill.smooth: 0;
27563             }
27564          }
27565          part {
27566             name: "label_base";
27567             clip_to: "clip";
27568             type: RECT;
27569             description {
27570                state: "default" 0.0;
27571                color: 255 255 255 0;
27572                visible: 0;
27573                rel1.to: "label";
27574                rel1.offset: 1 1;
27575                rel2.to: "label";
27576                rel2.offset: -2 -2;
27577             }
27578             description {
27579                state: "active" 0.0;
27580                inherit: "default" 0.0;
27581                visible: 1;
27582             }
27583          }
27584          part {
27585             name: "label";
27586             type: SPACER;
27587             mouse_events: 0;
27588             clip_to: "clip";
27589             description {
27590                state: "default" 0.0;
27591                fixed: 1 0;
27592             }
27593             description {
27594                state: "active" 0.0;
27595                min: 19 0;
27596                fixed: 1 0;
27597                rel1 {
27598                   to: "e.text.label";
27599                   offset: -4 -2;
27600                }
27601                rel2 {
27602                   to: "e.text.label";
27603                   offset: 2   1;
27604                }
27605             }
27606          }
27607          part {
27608             name: "e.text.label";
27609             type: TEXT;
27610             mouse_events: 0;
27611             clip_to: "clip";
27612             scale: 1;
27613             description {
27614                state: "default" 0.0;
27615                visible: 0;
27616             }
27617             description {
27618                state: "active" 0.0;
27619                align: 1.0 0.5;
27620                fixed: 1 0;
27621                rel1 {
27622                   relative: 1.0  0.0;
27623                   offset: -8   7;
27624                }
27625                rel2 {
27626                   relative: 1.0  1.0;
27627                   offset: -8 -8;
27628                }
27629                color_class: "slider_text";
27630                text {
27631                   text: "0.0";
27632                   font: "Sans";
27633                   size: 10;
27634                   align: 0.5 0.5;
27635                   min: 1 0;
27636                   text_class: "slider";
27637                }
27638             }
27639          }
27640          part {
27641             name: "sld_p1";
27642             type: RECT;
27643             mouse_events: 1;
27644             description {
27645                state: "default" 0.0;
27646                color: 0 0 0 0;
27647                rel2 {
27648                   relative: 0.0 1.0;
27649                   to: "e.dragable.slider";
27650                }
27651             }
27652          }
27653          part {
27654             name: "sld_p2";
27655             type: RECT;
27656             mouse_events: 1;
27657             description {
27658                state: "default" 0.0;
27659                color: 0 0 0 0;
27660                rel1 {
27661                   relative: 1.0 0.0;
27662                   to: "e.dragable.slider";
27663                }
27664             }
27665          }
27666          part {
27667             name: "e.swallow.bar";
27668             type: SWALLOW;
27669             description { state: "default" 0.0;
27670                rel1 {
27671                   to_x: "base";
27672                   to_y: "e.dragable.slider";
27673                   offset: 5 0;
27674                }
27675                rel2 {
27676                   to_x: "base";
27677                   to_y: "e.dragable.slider";
27678                   offset: -6 -1;
27679                }
27680             }
27681          }
27682          part {
27683             name: "e.dragable.slider";
27684             type: RECT;
27685             mouse_events: 1;
27686             scale: 1;
27687             dragable {
27688                x: 1 1 0;
27689                y: 0 0 0;
27690                confine: "base";
27691             }
27692             description {
27693                state: "default" 0.0;
27694                min: 11 11;
27695                fixed: 1 1;
27696                rel1 {
27697                   relative: 0.5  0.5;
27698                   to: "base";
27699                }
27700                rel2 {
27701                   relative: 0.5  0.5;
27702                   offset: 0    0;
27703                   to: "base";
27704                }
27705                color: 0 0 0 0;
27706             }
27707          }
27708          part {
27709             name: "slider";
27710             mouse_events: 0;
27711             clip_to: "clip";
27712             scale: 1;
27713             description {
27714                state: "default" 0.0;
27715                min: 22 22;
27716                fixed: 1 1;
27717                rel1.to: "e.dragable.slider";
27718                rel2.to: "e.dragable.slider";
27719                image.normal: "slider.png";
27720             }
27721             description {
27722                state: "clicked" 0.0;
27723                inherit: "default" 0.0;
27724                image.normal: "slider_clicked.png";
27725             }
27726          }
27727          part {
27728             name: "clip";
27729             type: RECT;
27730             description {
27731                state: "default" 0.0;
27732             }
27733             description {
27734                state: "disabled" 0.0;
27735                inherit: "default" 0.0;
27736                color: 255 255 255 128;
27737             }
27738          }
27739          part {
27740             name: "event";
27741             type: RECT;
27742             mouse_events: 1;
27743             description {
27744                state: "default" 0.0;
27745                visible: 0;
27746                color: 0 0 0 0;
27747             }
27748             description {
27749                state: "disabled" 0.0;
27750                inherit: "default" 0.0;
27751                visible: 1;
27752             }
27753          }
27754       }
27755       programs {
27756          program {
27757             name: "sld_p1_down";
27758             signal: "mouse,down,1";
27759             source: "sld_p1";
27760             action: DRAG_VAL_PAGE -1.0 0.0;
27761             target: "e.dragable.slider";
27762          }
27763          program {
27764             name: "sld_p2_down";
27765             signal: "mouse,down,1";
27766             source: "sld_p2";
27767             action: DRAG_VAL_PAGE  1.0 0.0;
27768             target: "e.dragable.slider";
27769          }
27770          program {
27771             name: "sld_down";
27772             signal: "mouse,down,1";
27773             source: "e.dragable.slider";
27774             action: STATE_SET "clicked" 0.0;
27775             target: "slider";
27776          }
27777          program {
27778             name: "sld_up";
27779             signal: "mouse,up,1";
27780             source: "e.dragable.slider";
27781             action: STATE_SET "default" 0.0;
27782             target: "slider";
27783          }
27784          program {
27785             name: "show_label";
27786             signal: "e,action,show,label";
27787             source: "e";
27788             action: STATE_SET "active" 0.0;
27789             target: "base";
27790             target: "label";
27791             target: "label_base";
27792             target: "e.text.label";
27793          }
27794          program {
27795             name: "hide_label";
27796             signal: "e,action,hide,label";
27797             source: "e";
27798             action: STATE_SET "default" 0.0;
27799             target: "base";
27800             target: "label";
27801             target: "label_base";
27802             target: "e.text.label";
27803          }
27804          program {
27805             name: "disable";
27806             signal: "e,state,disabled";
27807             source: "e";
27808             action: STATE_SET "disabled" 0.0;
27809             target: "clip";
27810             target: "event";
27811          }
27812          program {
27813             name: "enable";
27814             signal: "e,state,enabled";
27815             source: "e";
27816             action: STATE_SET "default" 0.0;
27817             target: "clip";
27818             target: "event";
27819          }
27820       }
27821    }
27822    /* e/widgets/frame is used in the Config Dialog
27823       to outline the content                       */
27824    group {
27825       name: "e/widgets/frame";
27826       images {
27827          image: "frame_1.png" COMP;
27828          image: "frame_2.png" COMP;
27829          image: "dia_grad.png" COMP;
27830       }
27831       parts {
27832          part {
27833             name: "base0";
27834             mouse_events: 0;
27835             description {
27836                state: "default" 0.0;
27837                color_class: "frame_base";
27838                image.normal: "dia_grad.png";
27839                rel1.to: "over";
27840                rel2.to: "over";
27841                fill {
27842                   smooth: 0;
27843                   size {
27844                      relative: 0.0 1.0;
27845                      offset: 64 0;
27846                   }
27847                }
27848             }
27849          }
27850          part {
27851             name: "base";
27852             mouse_events: 0;
27853             description {
27854                state: "default" 0.0;
27855                image {
27856                   normal: "frame_2.png";
27857                   border: 5 5 32 26;
27858                   middle: 0;
27859                }
27860                fill.smooth : 0;
27861             }
27862          }
27863          part {
27864             name: "e.swallow.content";
27865             type: SWALLOW;
27866             description {
27867                state: "default" 0.0;
27868                rel1 {
27869                   to_y: "e.text.label";
27870                   relative: 0.0 1.0;
27871                   offset: 8 2;
27872                }
27873                rel2.offset: -9 -9;
27874             }
27875          }
27876          part {
27877             name: "e.text.label";
27878             type: TEXT;
27879             mouse_events: 0;
27880             scale: 1;
27881             description {
27882                state: "default" 0.0;
27883                align: 0.0 0.0;
27884                fixed: 0 1;
27885                rel1 {
27886                   relative: 0.0 0.0;
27887                   offset: 6 6;
27888                }
27889                rel2 {
27890                   relative: 1.0 0.0;
27891                   offset: -7 6;
27892                }
27893                color: 0 0 0 64;
27894                text {
27895                   font: "Sans:style=Bold";
27896                   size: 10;
27897                   min: 1 1;
27898                   max: 1 1;
27899                   align: 0.0 0.0;
27900                   text_class: "frame";
27901                }
27902             }
27903          }
27904          part {
27905             name: "over";
27906             mouse_events: 0;
27907             description {
27908                state: "default" 0.0;
27909                rel1.offset: 4 4;
27910                rel2.offset: -5 -5;
27911                image {
27912                   normal: "frame_1.png";
27913                   border: 2 2 28 22;
27914                   middle: 0;
27915                }
27916                fill.smooth : 0;
27917             }
27918          }
27919       }
27920    }
27921    group {
27922       name: "e/widgets/label";
27923       parts {
27924          part {
27925             name: "e.text.label";
27926             type: TEXT;
27927             mouse_events: 0;
27928             scale: 1;
27929             description {
27930                state: "default" 0.0;
27931                rel1.offset: 2 2;
27932                rel2.offset: -3 -3;
27933                color_class: "label_text";
27934                text {
27935                   font: "Sans";
27936                   size: 10;
27937                   min: 1 1;
27938                   align: 0.0 0.5;
27939                   text_class: "label";
27940                }
27941             }
27942             description {
27943                state: "disabled" 0.0;
27944                inherit: "default" 0.0;
27945                color_class: "label_text_disabled";
27946             }
27947          }
27948       }
27949       programs {
27950          program {
27951             name: "disable";
27952             signal: "e,state,disabled";
27953             source: "e";
27954             action: STATE_SET "disabled" 0.0;
27955             target: "e.text.label";
27956          }
27957          program {
27958             name: "enable";
27959             signal: "e,state,enabled";
27960             source: "e";
27961             action: STATE_SET "default" 0.0;
27962             target: "e.text.label";
27963          }
27964       }
27965    }
27966    /* e/widgets/fontpreview is used in the Font Config dialog */
27967    group {
27968       name: "e/widgets/fontpreview";
27969       parts {
27970          part {
27971             name: "e.fontpreview.text";
27972             type: TEXT;
27973             mouse_events: 0;
27974             scale: 1;
27975             description {
27976                state: "default" 0.0;
27977                color_class: "entry_text";
27978                rel1.offset: 6 6;
27979                rel2.offset: -7 -7;
27980                text {
27981                   text: "The quick brown fox jumped over YA MUM!";
27982                   font: "Sans";
27983                   size: 10;
27984                   min: 1 1;
27985                   align: 0.5 0.5;
27986                   text_class: "_e_font_preview";
27987                }
27988             }
27989          }
27990       }
27991    }
27992    /* e/widgets/textblock is used in the description
27993       of modules in Module Config dialog             */
27994    group {
27995       name: "e/widgets/textblock";
27996       styles {
27997          style {
27998             name: "textblock_style";
27999             base: "font=Sans font_size=10 align=left color=#000 style=shadow shadow_color=#ffffff80 wrap=word";
28000             tag: "title" "+ font=Sans:style=Bold font_size=12 style=soft_shadow color=#fff shadow_color=#00000021";
28001             tag: "hilight" "+ font=Sans:style=Bold style=glow color=#fff glow2_color=#333333be glow_color=#0000005a";
28002             tag: "urgent" "+ font=Sans:style=Bold style=glow color=#fff glow2_color=#333 glow_color=#b01010";
28003             tag: "b" "+ font=Sans:style=Bold";
28004             tag: "br" "\n";
28005          }
28006       }
28007       parts {
28008          part {
28009             name: "e.textblock.text";
28010             type: TEXTBLOCK;
28011             mouse_events: 0;
28012             scale: 1;
28013             description {
28014                state: "default" 0.0;
28015                rel1.offset: 4 4;
28016                rel2.offset: -5 -5;
28017                text {
28018                   style: "textblock_style";
28019                   min: 1 1;
28020                }
28021             }
28022          }
28023       }
28024    }
28025
28026
28027 /////////////////////////////////////////////////////////////////////////////
28028 /*** MOD: DESKLOCK ***/
28029
28030    group {
28031       name: "e/desklock/background";
28032       images {
28033          image: "bg_shadow.png" COMP;
28034          image: "wizard_pattern.png" COMP;
28035       }
28036       parts {
28037          part { name: "base";
28038             description { state: "default" 0.0;
28039                image.normal: "wizard_pattern.png";
28040                fill {
28041                   smooth: 0;
28042                   size {
28043                      relative: 0.0 0.0;
28044                      offset: 200 200;
28045                   }
28046                }
28047             }
28048          }
28049          part {
28050             name: "e.swallow.login_box";
28051             type: SWALLOW;
28052             description {
28053                state: "default" 0.0;
28054             }
28055          }
28056          part { name: "shadow2";
28057             mouse_events: 0;
28058             description { state: "default" 0.0;
28059                image.normal: "bg_shadow.png";
28060                fill.smooth: 0;
28061             }
28062          }
28063       }
28064    }
28065    group {
28066       name: "e/desklock/login_box";
28067       images {
28068          image: "logo_white_128.png" COMP;
28069          image: "inset_sunk.png" COMP;
28070       }
28071       parts {
28072          part {
28073             name: "logo";
28074             mouse_events: 0;
28075             description {
28076                state: "default" 0.0;
28077                min: 64 64;
28078                max: 64 64;
28079                image.normal: "logo_white_128.png";
28080             }
28081          }
28082          part {
28083             name: "e.text.title";
28084             type: TEXT;
28085             effect: SOFT_SHADOW;
28086             scale: 1;
28087             description {
28088                state: "default" 0.0;
28089                fixed: 0 1;
28090                rel1 {
28091                   relative: 0.0 1.0;
28092                   offset: 0 8;
28093                   to_y: "logo";
28094                }
28095                rel2 {
28096                   relative: 1.0 1.0;
28097                   offset: -1 8;
28098                   to_y: "logo";
28099                }
28100                color: 224 224 224 255;
28101                color3: 0 0 0 32;
28102                text {
28103                   text: "Enter Password";
28104                   font: "Sans:style=Bold";
28105                   size: 10;
28106                   align: 0.5 0.5;
28107                   min: 1 1;
28108                   text_class: "desklock_title";
28109                }
28110             }
28111          }
28112          part {
28113             name: "pulse_clip";
28114             type: RECT;
28115             mouse_events: 0;
28116             description {
28117                state: "default" 0.0;
28118                rel1.to: "passwd_border";
28119                rel2.to: "passwd_border";
28120             }
28121             description {
28122                state: "pulse" 0.0;
28123                inherit: "default" 0.0;
28124                color: 255 255 255 128;
28125             }
28126          }
28127          part {
28128             name: "error";
28129             type: RECT;
28130             mouse_events: 0;
28131             clip_to: "error_clip";
28132             description {
28133                state: "default" 0.0;
28134                rel1.to: "passwd_border";
28135                rel2.to: "passwd_border";
28136                color: 255 255 255 255;
28137             }
28138          }
28139          part {
28140             name: "error_clip";
28141             type: RECT;
28142             mouse_events: 0;
28143             clip_to: "pulse_clip";
28144             description {
28145                state: "default" 0.0;
28146                rel1.to: "passwd_border";
28147                rel2.to: "passwd_border";
28148                color: 255 255 255 255;
28149             }
28150             description {
28151                state: "invalid" 0.0;
28152                inherit: "default" 0.0;
28153                color: 255 128 128 255;
28154                /*FIXME: Document how this works */
28155             }
28156          }
28157          part {
28158             name: "passwd_entry_clip";
28159             type: RECT;
28160             mouse_events: 0;
28161             clip_to: "pulse_clip";
28162             description {
28163                state: "default" 0.0;
28164                visible: 1;
28165                rel1 {
28166                   offset: 6 3;
28167                   to: "passwd_border";
28168                }
28169                rel2 {
28170                   offset: -7 -4;
28171                   to: "passwd_border";
28172                }
28173             }
28174          }
28175          part {
28176             name: "e.text.password";
28177             type: TEXT;
28178             clip_to: "passwd_entry_clip";
28179             scale: 1;
28180             description {
28181                state: "default" 0.0;
28182                fixed: 0 1;
28183                align: 0.0 0.5;
28184                rel1 {
28185                   relative: 0.0 0.0;
28186                   offset: 0 0;
28187                   to: "passwd_entry_clip";
28188                }
28189                rel2 {
28190                   relative: 0.0 1.0;
28191                   offset: 0 0;
28192                   to: "passwd_entry_clip";
28193                }
28194                color: 0 0 0 255;
28195                text {
28196                   text: "****";
28197                   font: "Sans:style=Bold";
28198                   size: 16;
28199                   align: 0.0 0.5;
28200                   min: 1 1;
28201                   text_class: "desklock_passwd";
28202                }
28203             }
28204          }
28205          part {
28206             name: "selection";
28207             type: GROUP;
28208             mouse_events: 0;
28209             clip_to: "passwd_entry_clip";
28210             source: "e/widgets/entry/selection";
28211             description {
28212                state: "default" 0.0;
28213                visible: 0;
28214                rel1.to: "e.text.password";
28215                rel2.to: "e.text.password";
28216             }
28217             description {
28218                state: "visible" 0.0;
28219                inherit: "default" 0.0;
28220                visible: 1;
28221             }
28222          }
28223          part {
28224             name: "cursor";
28225             type: RECT;
28226             mouse_events: 0;
28227             clip_to: "passwd_entry_clip";
28228             description {
28229                state: "default" 0.0;
28230                min: 1 16;
28231                max: 1 16;
28232                align: 0.0 0.5;
28233                fixed: 1 1;
28234                rel1 {
28235                   relative: 1.0 0.0;
28236                   offset: 0 -3;
28237                   to: "e.text.password";
28238                }
28239                rel2 {
28240                   relative: 1.0 1.0;
28241                   offset: 1 1;
28242                   to: "e.text.password";
28243                }
28244                color: 0 0 0 255;
28245             }
28246          }
28247          part {
28248             name: "passwd_border";
28249             mouse_events: 0;
28250             clip_to: "error_clip";
28251             description {
28252                state: "default" 0.0;
28253                rel1 {
28254                   relative: 0.5 1.0;
28255                   offset: -80 2;
28256                   to_y: "e.text.title";
28257                }
28258                rel2 {
28259                   relative: 0.5 1.0;
28260                   offset: 79 20;
28261                   to_y: "e.text.title";
28262                }
28263                image {
28264                   normal: "inset_sunk.png";
28265                   middle: 0;
28266                   border: 7 7 7 7;
28267                }
28268                fill.smooth: 0;
28269             }
28270             description {
28271                state: "checking" 0.0;
28272                inherit: "default" 0.0;
28273                color: 255 255 255 128;
28274             }
28275          }
28276       }
28277       programs {
28278          program {
28279             name: "pulse.1";
28280             signal: "e,state,checking";
28281             source: "e.desklock";
28282             action: STATE_SET "pulse" 0.0;
28283             target: "pulse_clip";
28284             transition: SINUSOIDAL 0.5;
28285             after: "pulse.2";
28286          }
28287          program {
28288             name: "pulse.2";
28289             action: STATE_SET "default" 0.0;
28290             target: "pulse_clip";
28291             transition: SINUSOIDAL 0.5;
28292             after: "pulse.1";
28293          }
28294          program {
28295             name: "pulse.stop";
28296             signal: "e,state,invalid";
28297             source: "e.desklock";
28298             action: ACTION_STOP;
28299             target: "pulse.1";
28300             target: "pulse.2";
28301             after: "pulse.reset";
28302          }
28303          program {
28304             name: "pulse.reset";
28305             action: STATE_SET "default" 0.0;
28306             target: "pulse_clip";
28307             transition: SINUSOIDAL 0.5;
28308          }
28309          program {
28310             name: "go_invalid";
28311             signal: "e,state,invalid";
28312             source: "e.desklock";
28313             action: STATE_SET "invalid" 0.0;
28314             target: "error_clip";
28315             transition: DECELERATE 0.5;
28316          }
28317          program {
28318             name: "stop_invalid";
28319             action: STATE_SET "default" 0.0;
28320             target: "error_clip";
28321             transition: DECELERATE 1.5;
28322          }
28323          program {
28324             name: "select";
28325             signal: "e,state,selected";
28326             source: "e";
28327             action: STATE_SET "visible" 0.0;
28328             target: "selection";
28329          }
28330          program {
28331             name: "unselect";
28332             signal: "e,state,unselected";
28333             source: "e";
28334             action: STATE_SET "default" 0.0;
28335             target: "selection";
28336          }
28337       }
28338    }
28339
28340
28341 /////////////////////////////////////////////////////////////////////////////
28342 /*** GADMAN ***/
28343
28344    group {
28345       name: "e/gadman/popup";
28346       images.image: "base_bg.png" COMP;
28347       parts {
28348          part {
28349             name: "base";
28350             mouse_events: 0;
28351             description {
28352                state: "default" 0.0;
28353                image {
28354                   normal: "base_bg.png";
28355                   border: 2 2 2 2;
28356                }
28357                fill.smooth: 0;
28358             }
28359          }
28360          part {
28361             name: "e.swallow.content";
28362             type: SWALLOW;
28363             description {
28364                state: "default" 0.0;
28365                rel1.offset: 3 3;
28366                rel2.offset: -4 -4;
28367             }
28368          }
28369       }
28370    }
28371    group {
28372       name: "e/gadman/full_bg";
28373       parts {
28374          part {
28375             name: "bg";
28376             type: RECT;
28377             mouse_events: 0;
28378             description {
28379                state: "default" 0.0;
28380                color: 0 0 0 0;
28381             }
28382             description {
28383                state: "visible" 0.0;
28384                color: 0 0 0 128;
28385             }
28386          }
28387          part {
28388             name: "custom_bg";
28389             type: RECT;
28390             description {
28391                state: "default" 0.0;
28392                color: 255 255 255 0;
28393             }
28394             description {
28395                state: "visible" 0.0;
28396                color: 255 255 255 200;
28397             }
28398          }
28399          part {
28400             name: "e.swallow.bg";
28401             type: SWALLOW;
28402             clip_to: "custom_bg";
28403             description {
28404                state: "default" 0.0;
28405             }
28406          }
28407          part {
28408             name: "grabber";
28409             type: RECT;
28410             mouse_events: 1;
28411             repeat_events: 1;
28412             description {
28413                state: "default" 0.0;
28414                color: 0 0 0 0;
28415             }
28416          }
28417       }
28418       programs {
28419          program {
28420             name: "show";
28421             signal: "e,state,visibility,show";
28422             source: "e";
28423             action: STATE_SET "visible" 0.0;
28424             transition: LINEAR 0.4;
28425             target: "bg";
28426          }
28427          program {
28428             name: "show_now";
28429             signal: "e,state,visibility,show,now";
28430             source: "e";
28431             action: STATE_SET "visible" 0.0;
28432             transition: LINEAR 0.0;
28433             target: "bg";
28434          }
28435          program {
28436             name: "hide";
28437             signal: "e,state,visibility,hide";
28438             source: "e";
28439             action: STATE_SET "default" 0.0;
28440             transition: LINEAR 0.4;
28441             target: "bg";
28442             after: "hide_stop";
28443          }
28444          program {
28445             name: "hide_now";
28446             signal: "e,state,visibility,hide,now";
28447             source: "e";
28448             action: STATE_SET "default" 0.0;
28449             transition: LINEAR 0.0;
28450             target: "bg";
28451             after: "hide_stop";
28452          }
28453          program {
28454             name: "show_custom";
28455             signal: "e,state,visibility,show,custom";
28456             source: "e";
28457             action: STATE_SET "visible" 0.0;
28458             transition: LINEAR 0.4;
28459             target: "custom_bg";
28460          }
28461          program {
28462             name: "show_custom_now";
28463             signal: "e,state,visibility,show,custom,now";
28464             source: "e";
28465             action: STATE_SET "visible" 0.0;
28466             transition: LINEAR 0.0;
28467             target: "custom_bg";
28468          }
28469          program {
28470             name: "hide_custom";
28471             signal: "e,state,visibility,hide,custom";
28472             source: "e";
28473             action: STATE_SET "default" 0.0;
28474             transition: LINEAR 0.4;
28475             target: "custom_bg";
28476             after: "hide_stop";
28477          }
28478          program {
28479             name: "hide_custom_now";
28480             signal: "e,state,visibility,hide,custom,now";
28481             source: "e";
28482             action: STATE_SET "default" 0.0;
28483             transition: LINEAR 0.0;
28484             target: "custom_bg";
28485             after: "hide_stop";
28486          }
28487          program {
28488             name: "hide_stop";
28489             action: SIGNAL_EMIT "e,action,hide,stop" "";
28490          }
28491       }
28492    }
28493    group {
28494       name: "e/gadman/frame";
28495       images.image: "inset_raised.png" COMP;
28496       parts {
28497          part {
28498             name: "bg_clip";
28499             type: RECT;
28500             mouse_events: 0;
28501             description {
28502                state: "default" 0.0;
28503                rel1.to: "overlay";
28504                rel2.to: "overlay";
28505                color: 255 255 255 255;
28506             }
28507             description {
28508                state: "plain" 0.0;
28509                rel1.relative: 0.0 0.0;
28510                rel2.relative: 0.0 0.0;
28511                color: 255 255 255 255;
28512             }
28513          }
28514          part {
28515             name: "items_clip";
28516             type: RECT;
28517             mouse_events: 0;
28518             description {
28519                state: "default" 0.0;
28520                rel1 {
28521                   to: "overlay";
28522                   offset: 4  4;
28523                }
28524                rel2 {
28525                   to: "overlay";
28526                   offset: -5  -5;
28527                }
28528                color: 255 255 255 255;
28529             }
28530             description {
28531                state: "hidden" 0.0;
28532                inherit: "default" 0.0;
28533                color: 255 255 255 0;
28534             }
28535          }
28536          part {
28537             name: "e.swallow.content";
28538             type: SWALLOW;
28539             clip_to: "items_clip";
28540             description {
28541                state: "default" 0.0;
28542                rel1.offset: 4  4;
28543                rel2.offset: -5  -5;
28544                color: 255 255 255 255;
28545             }
28546             description {
28547                state: "hidden" 0.0;
28548                rel1.relative: 0.5 0.5;
28549                rel2.relative: 0.5 0.5;
28550                color: 255 255 255 0;
28551             }
28552          }
28553          part {
28554             name: "overlay";
28555             mouse_events: 0;
28556             clip_to: "bg_clip";
28557             description {
28558                state: "default" 0.0;
28559                image {
28560                   normal: "inset_raised.png";
28561                   border: 7 7 7 7;
28562                   middle: 0;
28563                }
28564                fill.smooth: 0;
28565                color: 255 255 255 255;
28566             }
28567             description {
28568                state: "hidden" 0.0;
28569                inherit: "default" 0.0;
28570                rel1.relative: 0.5 0.5;
28571                rel2.relative: 0.5 0.5;
28572                color: 255 255 255 0;
28573             }
28574          }
28575       }
28576       programs {
28577          program {
28578             name: "inset";
28579             signal: "e,state,visibility,inset";
28580             source: "e";
28581             action: STATE_SET "default" 0.0;
28582             target: "bg_clip";
28583          }
28584          program {
28585             name: "plain";
28586             signal: "e,state,visibility,plain";
28587             source: "e";
28588             action: STATE_SET "plain" 0.0;
28589             target: "bg_clip";
28590          }
28591          program {
28592             name: "hide";
28593             signal: "e,state,visibility,hide";
28594             source: "e";
28595             action: STATE_SET "hidden" 0.0;
28596             transition: ACCELERATE 0.4;
28597             target: "items_clip";
28598             target: "overlay";
28599             target: "e.swallow.content";
28600          }
28601          program {
28602             name: "hide_now";
28603             signal: "e,state,visibility,hide,now";
28604             source: "e";
28605             action: STATE_SET "hidden" 0.0;
28606             transition: LINEAR 0.0;
28607             target: "items_clip";
28608             target: "overlay";
28609             target: "e.swallow.content";
28610          }
28611          program {
28612             name: "show";
28613             signal: "e,state,visibility,show";
28614             source: "e";
28615             action: STATE_SET "default" 0.0;
28616             transition: DECELERATE 0.4;
28617             target: "items_clip";
28618             target: "overlay";
28619             target: "e.swallow.content";
28620          }
28621          program {
28622             name: "show_now";
28623             signal: "e,state,visibility,show,now";
28624             source: "e";
28625             action: STATE_SET "default" 0.0;
28626             transition: LINEAR 0.0;
28627             target: "items_clip";
28628             target: "overlay";
28629             target: "e.swallow.content";
28630          }
28631       }
28632    }
28633    group {
28634       name: "e/gadman/control";
28635       images {
28636          image: "gadman_frame.png" COMP;
28637          image: "gadman_border.png" COMP;
28638          image: "gadman_top.png" COMP;
28639          image: "gadman_bottom.png" COMP;
28640          image: "gadman_left.png" COMP;
28641          image: "gadman_right.png" COMP;
28642       }
28643       parts {
28644          part {
28645             name: "hclip";
28646             mouse_events: 0;
28647             type: RECT;
28648             description {
28649                state: "default" 0.0;
28650                visible: 1;
28651                rel1.offset: -85 -85;
28652                rel2.offset: 74 74;
28653             }
28654             description {
28655                state: "disabled" 0.0;
28656                inherit: "default" 0.0;
28657                visible : 0;
28658             }
28659          }
28660          part {
28661             name: "vclip";
28662             mouse_events: 0;
28663             type: RECT;
28664             description {
28665                state: "default" 0.0;
28666                visible: 1;
28667                rel1.offset: -85 -85;
28668                rel2.offset: 84 84;
28669             }
28670             description {
28671                state: "disabled" 0.0;
28672                inherit: "default" 0.0;
28673                visible : 0;
28674             }
28675          }
28676          part {
28677             name: "overlay";
28678             mouse_events: 1;
28679             description {
28680                state: "default" 0.0;
28681                rel1 {
28682                   to: "border";
28683                   offset: 4 4;
28684                }
28685                rel2 {
28686                   to: "border";
28687                   offset: -5 -5;
28688                }
28689                image.normal: "gadman_frame.png";
28690                fill.size.relative: 0 0;
28691                fill.size.offset: 24 24;
28692             }
28693          }
28694          part {
28695             name: "left_arrow1";
28696             description {
28697                state: "default" 0.0;
28698                aspect: 1.0 1.0;
28699                max: 12 24;
28700                rel1 {
28701                   relative: 0.0 0.5;
28702                   offset: 3 0;
28703                }
28704                rel2 {
28705                   relative: 0.0 0.5;
28706                   offset: 3 -1;
28707                }
28708                image.normal: "gadman_left.png";
28709             }
28710             description {
28711                state: "1" 0.0;
28712                inherit: "default" 0.0;
28713                rel1 {
28714                   relative: 0.0 0.5;
28715                   offset: -32 -12;
28716                }
28717                rel2 {
28718                   relative: 0.0 0.5;
28719                   offset: -18 11;
28720                }
28721             }
28722             description {
28723                state: "2" 0.0;
28724                inherit: "default" 0.0;
28725                rel1 {
28726                   relative: 0.0 0.5;
28727                   offset: -24 -6;
28728                }
28729                rel2 {
28730                   relative: 0.0 0.5;
28731                   offset: -10 5;
28732                }
28733             }
28734          }
28735          part {
28736             name: "left_arrow2";
28737             description {
28738                state: "default" 0.0;
28739                aspect: 1.0 1.0;
28740                max: 12 24;
28741                rel1 {
28742                   relative: 0.0 0.5;
28743                   offset: 3 0;
28744                }
28745                rel2 {
28746                   relative: 0.0 0.5;
28747                   offset: 3 -1;
28748                }
28749                image.normal: "gadman_left.png";
28750             }
28751             description {
28752                state: "1" 0.0;
28753                inherit: "default" 0.0;
28754                rel1 {
28755                   relative: 0.0 0.5;
28756                   offset: -32 -12;
28757                }
28758                rel2 {
28759                   relative: 0.0 0.5;
28760                   offset: -18 11;
28761                }
28762             }
28763             description {
28764                state: "2" 0.0;
28765                inherit: "default" 0.0;
28766                rel1 {
28767                   relative: 0.0 0.5;
28768                   offset: -24 -6;
28769                }
28770                rel2 {
28771                   relative: 0.0 0.5;
28772                   offset: -10 5;
28773                }
28774             }
28775          }
28776          part {
28777             name: "right_arrow1";
28778             description {
28779                state: "default" 0.0;
28780                aspect: 1.0 1.0;
28781                max: 12 24;
28782                rel1 {
28783                   relative: 1.0 0.5;
28784                   offset: -3 0;
28785                }
28786                rel2 {
28787                   relative: 1.0 0.5;
28788                   offset: -3 -1;
28789                }
28790                image.normal: "gadman_right.png";
28791             }
28792             description {
28793                state: "1" 0.0;
28794                inherit: "default" 0.0;
28795                rel1 {
28796                   relative: 1.0 0.5;
28797                   offset: 32 -12;
28798                }
28799                rel2 {
28800                   relative: 1.0 0.5;
28801                   offset: 18 11;
28802                }
28803             }
28804             description {
28805                state: "2" 0.0;
28806                inherit: "default" 0.0;
28807                rel1 {
28808                   relative: 1.0 0.5;
28809                   offset: 24 -6;
28810                }
28811                rel2 {
28812                   relative: 1.0 0.5;
28813                   offset: 10 5;
28814                }
28815             }
28816          }
28817          part {
28818             name: "right_arrow2";
28819             description {
28820                state: "default" 0.0;
28821                aspect: 1.0 1.0;
28822                max: 12 24;
28823                rel1 {
28824                   relative: 1.0 0.5;
28825                   offset: -3 0;
28826                }
28827                rel2 {
28828                   relative: 1.0 0.5;
28829                   offset: -3 -1;
28830                }
28831                image.normal: "gadman_right.png";
28832             }
28833             description {
28834                state: "1" 0.0;
28835                inherit: "default" 0.0;
28836                rel1 {
28837                   relative: 1.0 0.5;
28838                   offset: 32 -12;
28839                }
28840                rel2 {
28841                   relative: 1.0 0.5;
28842                   offset: 18 11;
28843                }
28844             }
28845             description {
28846                state: "2" 0.0;
28847                inherit: "default" 0.0;
28848                rel1 {
28849                   relative: 1.0 0.5;
28850                   offset: 24 -6;
28851                }
28852                rel2 {
28853                   relative: 1.0 0.5;
28854                   offset: 10 5;
28855                }
28856             }
28857          }
28858          part {
28859             name: "top_arrow1";
28860             description {
28861                state: "default" 0.0;
28862                aspect: 1.0 1.0;
28863                max: 24 12;
28864                rel1 {
28865                   relative: 0.5 0.0;
28866                   offset: 0 3;
28867                }
28868                rel2 {
28869                   relative: 0.5 0.0;
28870                   offset: -1 3;
28871                }
28872                image.normal: "gadman_top.png";
28873             }
28874             description {
28875                state: "1" 0.0;
28876                inherit: "default" 0.0;
28877                rel1 {
28878                   relative: 0.5 0.0;
28879                   offset: -12 -32;
28880                }
28881                rel2 {
28882                   relative: 0.5 0.0;
28883                   offset: 11 -18;
28884                }
28885             }
28886             description {
28887                state: "2" 0.0;
28888                inherit: "default" 0.0;
28889                rel1 {
28890                   relative: 0.5 0.0;
28891                   offset: -6 -24;
28892                }
28893                rel2 {
28894                   relative: 0.5 0.0;
28895                   offset: 5 -9;
28896                }
28897             }
28898          }
28899          part {
28900             name: "top_arrow2";
28901             description {
28902                state: "default" 0.0;
28903                aspect: 1.0 1.0;
28904                max: 24 12;
28905                rel1 {
28906                   relative: 0.5 0.0;
28907                   offset: 0 3;
28908                }
28909                rel2 {
28910                   relative: 0.5 0.0;
28911                   offset: -1 3;
28912                }
28913                image.normal: "gadman_top.png";
28914             }
28915             description {
28916                state: "1" 0.0;
28917                inherit: "default" 0.0;
28918                rel1 {
28919                   relative: 0.5 0.0;
28920                   offset: -12 -32;
28921                }
28922                rel2 {
28923                   relative: 0.5 0.0;
28924                   offset: 11 -18;
28925                }
28926             }
28927             description {
28928                state: "2" 0.0;
28929                inherit: "default" 0.0;
28930                rel1 {
28931                   relative: 0.5 0.0;
28932                   offset: -6 -24;
28933                }
28934                rel2 {
28935                   relative: 0.5 0.0;
28936                   offset: 5 -9;
28937                }
28938             }
28939          }
28940          part {
28941             name: "bottom_arrow1";
28942             description {
28943                state: "default" 0.0;
28944                aspect: 1.0 1.0;
28945                max: 24 12;
28946                rel1 {
28947                   relative: 0.5 1.0;
28948                   offset: 0 -3;
28949                }
28950                rel2 {
28951                   relative: 0.5 1.0;
28952                   offset: -1 -3;
28953                }
28954                image.normal: "gadman_bottom.png";
28955             }
28956             description {
28957                state: "1" 0.0;
28958                inherit: "default" 0.0;
28959                rel1 {
28960                   relative: 0.5 1.0;
28961                   offset: -12 18;
28962                }
28963                rel2 {
28964                   relative: 0.5 1.0;
28965                   offset: 11 31;
28966                }
28967             }
28968             description {
28969                state: "2" 0.0;
28970                inherit: "default" 0.0;
28971                rel1 {
28972                   relative: 0.5 1.0;
28973                   offset: -6 10;
28974                }
28975                rel2 {
28976                   relative: 0.5 1.0;
28977                   offset: 5 24;
28978                }
28979             }
28980          }
28981          part {
28982             name: "bottom_arrow2";
28983             description {
28984                state: "default" 0.0;
28985                aspect: 1.0 1.0;
28986                max: 24 12;
28987                rel1 {
28988                   relative: 0.5 1.0;
28989                   offset: 0 -3;
28990                }
28991                rel2 {
28992                   relative: 0.5 1.0;
28993                   offset: -1 -3;
28994                }
28995                image.normal: "gadman_bottom.png";
28996             }
28997             description {
28998                state: "1" 0.0;
28999                inherit: "default" 0.0;
29000                rel1 {
29001                   relative: 0.5 1.0;
29002                   offset: -12 18;
29003                }
29004                rel2 {
29005                   relative: 0.5 1.0;
29006                   offset: 11 31;
29007                }
29008             }
29009             description {
29010                state: "2" 0.0;
29011                inherit: "default" 0.0;
29012                rel1 {
29013                   relative: 0.5 1.0;
29014                   offset: -6 10;
29015                }
29016                rel2 {
29017                   relative: 0.5 1.0;
29018                   offset: 5 24;
29019                }
29020             }
29021          }
29022          part {
29023             name: "v1";
29024             mouse_events: 1;
29025             clip_to: "vclip";
29026             description {
29027                state: "default" 0.0;
29028                rel2.relative: 1.0 0.0;
29029                rel2.offset: -1 9;
29030             }
29031          }
29032          part {
29033             name: "v2";
29034             mouse_events: 1;
29035             clip_to: "vclip";
29036             description {
29037                state: "default" 0.0;
29038                rel1.relative: 0.0 1.0;
29039                rel1.offset: 0 -8;
29040             }
29041          }
29042          part {
29043             name: "h1";
29044             mouse_events: 1;
29045             clip_to: "hclip";
29046             description {
29047                state: "default" 0.0;
29048                rel2.relative: 0.0 1.0;
29049                rel2.offset: 9 -1;
29050             }
29051          }
29052          part {
29053             name: "h2";
29054             mouse_events: 1;
29055             clip_to: "hclip";
29056             description {
29057                state: "default" 0.0;
29058                rel1.relative: 1.0 0.0;
29059                rel1.offset: -8 0;
29060             }
29061          }
29062          part {
29063             name: "border";
29064             mouse_events: 1;
29065             repeat_events: 1;
29066             description {
29067                state: "default" 0.0;
29068                image {
29069                   normal: "gadman_border.png";
29070                   border: 10 10 10 10;
29071                   middle: 0;
29072                }
29073                fill.smooth: 0;
29074             }
29075          }
29076       }
29077       programs {
29078          program {
29079             name: "api_hsize_on";
29080             signal: "e,state,hsize,on";
29081             source: "e";
29082             action: STATE_SET "default" 0.0;
29083             target: "hclip";
29084          }
29085          program {
29086             name: "api_hsize_off";
29087             signal: "e,state,hsize,off";
29088             source: "e";
29089             action: STATE_SET "disabled" 0.0;
29090             target: "hclip";
29091          }
29092          program {
29093             name: "api_vsize_on";
29094             signal: "e,state,vsize,on";
29095             source: "e";
29096             action: STATE_SET "default" 0.0;
29097             target: "vclip";
29098          }
29099          program {
29100             name: "api_vsize_off";
29101             signal: "e,state,vsize,off";
29102             source: "e";
29103             action: STATE_SET "disabled" 0.0;
29104             target: "vclip";
29105          }
29106          /*
29107          program {
29108             name: "api_move_on";
29109             signal: "e,state,move,on";
29110             source: "e";
29111          }
29112          program {
29113             name: "api_move_off";
29114             signal: "e,state,move,off";
29115             source: "e";
29116          }
29117          program {
29118             name: "api_active";
29119             signal: "e,state,focused";
29120             source: "e";
29121          }
29122          program {
29123             name: "api_inactive";
29124             signal: "e,state,unfocused";
29125             source: "e";
29126          }
29127          */
29128          // MOVE PROGRAMS
29129          program {
29130             name: "mv_down";
29131             signal: "mouse,down,1";
29132             source: "overlay";
29133             action: SIGNAL_EMIT "e,action,move,start" "";
29134          }
29135          program {
29136             name: "mv_up";
29137             signal: "mouse,up,1";
29138             source: "overlay";
29139             action: SIGNAL_EMIT "e,action,move,stop" "";
29140          }
29141          program {
29142             name: "mv_move";
29143             signal: "mouse,move";
29144             source: "overlay";
29145             action: SIGNAL_EMIT "e,action,move,go" "";
29146          }
29147          program {
29148             name: "h1_down1";
29149             signal: "mouse,down,1";
29150             source: "h1";
29151             action: STATE_SET "clicked" 0.0;
29152             target: "h1";
29153          }
29154          program {
29155             name: "h1_up1";
29156             signal: "mouse,up,1";
29157             source: "h1";
29158             action: STATE_SET "default" 0.0;
29159             target: "h1";
29160          }
29161          program {
29162             name: "h1_down2";
29163             signal: "mouse,down,1";
29164             source: "h1";
29165             action: SIGNAL_EMIT "e,action,resize,left,start" "";
29166          }
29167          program {
29168             name: "h1_up2";
29169             signal: "mouse,up,1";
29170             source: "h1";
29171             action: SIGNAL_EMIT "e,action,resize,left,stop" "";
29172          }
29173          program {
29174             name: "h1_move";
29175             signal: "mouse,move";
29176             source: "h1";
29177             action: SIGNAL_EMIT "e,action,resize,left,go" "";
29178          }
29179          program {
29180             name: "h2_down1";
29181             signal: "mouse,down,1";
29182             source: "h2";
29183             action: STATE_SET "clicked" 0.0;
29184             target: "h2";
29185          }
29186          program {
29187             name: "h2_up1";
29188             signal: "mouse,up,1";
29189             source: "h2";
29190             action: STATE_SET "default" 0.0;
29191             target: "h2";
29192          }
29193          program {
29194             name: "h2_down2";
29195             signal: "mouse,down,1";
29196             source: "h2";
29197             action: SIGNAL_EMIT "e,action,resize,right,start" "";
29198          }
29199          program {
29200             name: "h2_up2";
29201             signal: "mouse,up,1";
29202             source: "h2";
29203             action: SIGNAL_EMIT "e,action,resize,right,stop" "";
29204          }
29205          program {
29206             name: "h2_move";
29207             signal: "mouse,move";
29208             source: "h2";
29209             action: SIGNAL_EMIT "e,action,resize,right,go" "";
29210          }
29211          program {
29212             name: "v1_down1";
29213             signal: "mouse,down,1";
29214             source: "v1";
29215             action: STATE_SET "clicked" 0.0;
29216             target: "v1";
29217          }
29218          program {
29219             name: "v1_up1";
29220             signal: "mouse,up,1";
29221             source: "v1";
29222             action: STATE_SET "default" 0.0;
29223             target: "v1";
29224          }
29225          program {
29226             name: "v1_down2";
29227             signal: "mouse,down,1";
29228             source: "v1";
29229             action: SIGNAL_EMIT "e,action,resize,up,start" "";
29230          }
29231          program {
29232             name: "v1_up2";
29233             signal: "mouse,up,1";
29234             source: "v1";
29235             action: SIGNAL_EMIT "e,action,resize,up,stop" "";
29236          }
29237          program {
29238             name: "v1_move";
29239             signal: "mouse,move";
29240             source: "v1";
29241             action: SIGNAL_EMIT "e,action,resize,up,go" "";
29242          }
29243          program {
29244             name: "v2_down1";
29245             signal: "mouse,down,1";
29246             source: "v2";
29247             action: STATE_SET "clicked" 0.0;
29248             target: "v2";
29249          }
29250          program {
29251             name: "v2_up1";
29252             signal: "mouse,up,1";
29253             source: "v2";
29254             action: STATE_SET "default" 0.0;
29255             target: "v2";
29256          }
29257          program {
29258             name: "v2_down2";
29259             signal: "mouse,down,1";
29260             source: "v2";
29261             action: SIGNAL_EMIT "e,action,resize,down,start" "";
29262          }
29263          program {
29264             name: "v2_up2";
29265             signal: "mouse,up,1";
29266             source: "v2";
29267             action: SIGNAL_EMIT "e,action,resize,down,stop" "";
29268          }
29269          program {
29270             name: "v2_move";
29271             signal: "mouse,move";
29272             source: "v2";
29273             action: SIGNAL_EMIT "e,action,resize,down,go" "";
29274          }
29275          // LEFT ARROW
29276          program {
29277             name: "start_left1";
29278             signal: "mouse,in";
29279             source: "h1";
29280             after: "left1_1";
29281          }
29282          program {
29283             name: "start_left2";
29284             signal: "mouse,in";
29285             source: "h1";
29286             in: 0.4 0.0;
29287             after: "left2_1";
29288          }
29289          program {
29290             name: "left1_1";
29291             action: STATE_SET "1" 0.0;
29292             target: "left_arrow1";
29293             transition: LINEAR 0.4;
29294             after: "left1_2";
29295          }
29296          program {
29297             name: "left1_2";
29298             action: STATE_SET "2" 0.0;
29299             target: "left_arrow1";
29300             transition: LINEAR 0.4;
29301             after: "left1_r";
29302          }
29303          program {
29304             name: "left1_r";
29305             action: STATE_SET "default" 0.0;
29306             target: "left_arrow1";
29307             after: "left1_1";
29308          }
29309          program {
29310             name: "left2_1";
29311             action: STATE_SET "1" 0.0;
29312             target: "left_arrow2";
29313             transition: LINEAR 0.4;
29314             after: "left2_2";
29315          }
29316          program {
29317             name: "left2_2";
29318             action: STATE_SET "2" 0.0;
29319             target: "left_arrow2";
29320             transition: LINEAR 0.4;
29321             after: "left2_r";
29322          }
29323          program {
29324             name: "left2_r";
29325             action: STATE_SET "default" 0.0;
29326             target: "left_arrow2";
29327             after: "left2_1";
29328          }
29329          program {
29330             name: "stop_left1";
29331             signal: "mouse,out";
29332             source: "h1";
29333             action: ACTION_STOP;
29334             target: "left1_1";
29335             target: "left1_2";
29336             target: "left1_r";
29337             target: "left2_1";
29338             target: "left2_2";
29339             target: "left2_r";
29340             target: "start_left2";
29341             after: "stop_left2";
29342          }
29343          program {
29344             name: "stop_left2";
29345             action: STATE_SET "default" 0.0;
29346             target: "left_arrow1";
29347             target: "left_arrow2";
29348          }
29349          // RIGHT ARROW
29350          program {
29351             name: "start_right1";
29352             signal: "mouse,in";
29353             source: "h2";
29354             after: "right1_1";
29355          }
29356          program {
29357             name: "start_right2";
29358             signal: "mouse,in";
29359             source: "h2";
29360             in: 0.4 0.0;
29361             after: "right2_1";
29362          }
29363          program {
29364             name: "right1_1";
29365             action: STATE_SET "1" 0.0;
29366             target: "right_arrow1";
29367             transition: LINEAR 0.4;
29368             after: "right1_2";
29369          }
29370          program {
29371             name: "right1_2";
29372             action: STATE_SET "2" 0.0;
29373             target: "right_arrow1";
29374             transition: LINEAR 0.4;
29375             after: "right1_r";
29376          }
29377          program {
29378             name: "right1_r";
29379             action: STATE_SET "default" 0.0;
29380             target: "right_arrow1";
29381             after: "right1_1";
29382          }
29383          program {
29384             name: "right2_1";
29385             action: STATE_SET "1" 0.0;
29386             target: "right_arrow2";
29387             transition: LINEAR 0.4;
29388             after: "right2_2";
29389          }
29390          program {
29391             name: "right2_2";
29392             action: STATE_SET "2" 0.0;
29393             target: "right_arrow2";
29394             transition: LINEAR 0.4;
29395             after: "right2_r";
29396          }
29397          program {
29398             name: "right2_r";
29399             action: STATE_SET "default" 0.0;
29400             target: "right_arrow2";
29401             after: "right2_1";
29402          }
29403          program {
29404             name: "stop_right1";
29405             signal: "mouse,out";
29406             source: "h2";
29407             action: ACTION_STOP;
29408             target: "right1_1";
29409             target: "right1_2";
29410             target: "right1_r";
29411             target: "right2_1";
29412             target: "right2_2";
29413             target: "right2_r";
29414             target: "start_right2";
29415             after: "stop_right2";
29416          }
29417          program {
29418             name: "stop_right2";
29419             action: STATE_SET "default" 0.0;
29420             target: "right_arrow1";
29421             target: "right_arrow2";
29422          }
29423          // TOP ARROW
29424          program {
29425             name: "start_top1";
29426             signal: "mouse,in";
29427             source: "v1";
29428             after: "top1_1";
29429          }
29430          program {
29431             name: "start_top2";
29432             signal: "mouse,in";
29433             source: "v1";
29434             in: 0.4 0.0;
29435             after: "top2_1";
29436          }
29437          program {
29438             name: "top1_1";
29439             action: STATE_SET "1" 0.0;
29440             target: "top_arrow1";
29441             transition: LINEAR 0.4;
29442             after: "top1_2";
29443          }
29444          program {
29445             name: "top1_2";
29446             action: STATE_SET "2" 0.0;
29447             target: "top_arrow1";
29448             transition: LINEAR 0.4;
29449             after: "top1_r";
29450          }
29451          program {
29452             name: "top1_r";
29453             action: STATE_SET "default" 0.0;
29454             target: "top_arrow1";
29455             after: "top1_1";
29456          }
29457          program {
29458             name: "top2_1";
29459             action: STATE_SET "1" 0.0;
29460             target: "top_arrow2";
29461             transition: LINEAR 0.4;
29462             after: "top2_2";
29463          }
29464          program {
29465             name: "top2_2";
29466             action: STATE_SET "2" 0.0;
29467             target: "top_arrow2";
29468             transition: LINEAR 0.4;
29469             after: "top2_r";
29470          }
29471          program {
29472             name: "top2_r";
29473             action: STATE_SET "default" 0.0;
29474             target: "top_arrow2";
29475             after: "top2_1";
29476          }
29477          program {
29478             name: "stop_top1";
29479             signal: "mouse,out";
29480             source: "v1";
29481             action: ACTION_STOP;
29482             target: "top1_1";
29483             target: "top1_2";
29484             target: "top1_r";
29485             target: "top2_1";
29486             target: "top2_2";
29487             target: "top2_r";
29488             target: "start_top2";
29489             after: "stop_top2";
29490          }
29491          program {
29492             name: "stop_top2";
29493             action: STATE_SET "default" 0.0;
29494             target: "top_arrow1";
29495             target: "top_arrow2";
29496          }
29497          // BOTTOM ARROW
29498          program {
29499             name: "start_bottom1";
29500             signal: "mouse,in";
29501             source: "v2";
29502             after: "bottom1_1";
29503          }
29504          program {
29505             name: "start_bottom2";
29506             signal: "mouse,in";
29507             source: "v2";
29508             in: 0.4 0.0;
29509             after: "bottom2_1";
29510          }
29511          program {
29512             name: "bottom1_1";
29513             action: STATE_SET "1" 0.0;
29514             target: "bottom_arrow1";
29515             transition: LINEAR 0.4;
29516             after: "bottom1_2";
29517          }
29518          program {
29519             name: "bottom1_2";
29520             action: STATE_SET "2" 0.0;
29521             target: "bottom_arrow1";
29522             transition: LINEAR 0.4;
29523             after: "bottom1_r";
29524          }
29525          program {
29526             name: "bottom1_r";
29527             action: STATE_SET "default" 0.0;
29528             target: "bottom_arrow1";
29529             after: "bottom1_1";
29530          }
29531          program {
29532             name: "bottom2_1";
29533             action: STATE_SET "1" 0.0;
29534             target: "bottom_arrow2";
29535             transition: LINEAR 0.4;
29536             after: "bottom2_2";
29537          }
29538          program {
29539             name: "bottom2_2";
29540             action: STATE_SET "2" 0.0;
29541             target: "bottom_arrow2";
29542             transition: LINEAR 0.4;
29543             after: "bottom2_r";
29544          }
29545          program {
29546             name: "bottom2_r";
29547             action: STATE_SET "default" 0.0;
29548             target: "bottom_arrow2";
29549             after: "bottom2_1";
29550          }
29551          program {
29552             name: "stop_bottom1";
29553             signal: "mouse,out";
29554             source: "v2";
29555             action: ACTION_STOP;
29556             target: "bottom1_1";
29557             target: "bottom1_2";
29558             target: "bottom1_r";
29559             target: "bottom2_1";
29560             target: "bottom2_2";
29561             target: "bottom2_r";
29562             target: "start_bottom2";
29563             after: "stop_bottom2";
29564          }
29565          program {
29566             name: "stop_bottom2";
29567             action: STATE_SET "default" 0.0;
29568             target: "bottom_arrow1";
29569             target: "bottom_arrow2";
29570          }
29571       }
29572    }
29573
29574
29575 /////////////////////////////////////////////////////////////////////////////
29576 /*** MOD: WIZARD ***/
29577
29578    group { name: "e/wizard/firstpage";
29579       images {
29580          image: "logo_black_128.png" COMP;
29581       }
29582       parts {
29583          part { name: "base";
29584             description { state: "default" 0.0;
29585                max: 128 128;
29586                image.normal: "logo_black_128.png";
29587                aspect: 1.0 1.0;
29588                aspect_preference: BOTH;
29589             }
29590          }
29591       }
29592    }
29593    group { name: "e/wizard/extra";
29594       images {
29595          image: "bg_shadow.png" COMP;
29596          image: "wizard_pattern.png" COMP;
29597       }
29598       parts {
29599          part { name: "base";
29600             description { state: "default" 0.0;
29601                image.normal: "wizard_pattern.png";
29602                fill {
29603                   smooth: 0;
29604                   size {
29605                      relative: 0.0 0.0;
29606                      offset: 200 200;
29607                   }
29608                }
29609             }
29610          }
29611          part { name: "shadow";
29612             description { state: "default" 0.0;
29613                image.normal: "bg_shadow.png";
29614                fill.smooth: 0;
29615             }
29616          }
29617          part { name: "fade"; type: RECT;
29618             mouse_events: 0;
29619             description { state: "default" 0.0;
29620                color: 0 0 0 255;
29621             }
29622             description { state: "hidden" 0.0;
29623                inherit: "default" 0.0;
29624                color: 0 0 0 0;
29625                visible: 0;
29626             }
29627          }
29628       }
29629       programs {
29630          program { name: "fade_in";
29631             signal: "show";
29632             source: "";
29633             action: STATE_SET "hidden" 0.0;
29634             transition: DECELERATE 0.5;
29635             target: "fade";
29636          }
29637       }
29638    }
29639    group { name: "e/wizard/main";
29640       images {
29641          image: "bg_shadow.png" COMP;
29642          image: "wizard_pattern.png" COMP;
29643          image: "wizard_bt1.png" COMP;
29644          image: "wizard_bt2.png" COMP;
29645       }
29646       parts {
29647          part { name: "base";
29648             description { state: "default" 0.0;
29649                image.normal: "wizard_pattern.png";
29650                fill {
29651                   smooth: 0;
29652                   size {
29653                      relative: 0.0 0.0;
29654                      offset: 200 200;
29655                   }
29656                }
29657             }
29658          }
29659          part { name: "e.swallow.content"; type: SWALLOW;
29660             description { state: "default" 0.0;
29661                rel1 {
29662                   to_y: "e.text.title";
29663                   relative: 0.2 1.0;
29664                   offset: 8 8;
29665                }
29666                rel2 {
29667                   to_y: "e.text.label";
29668                   relative: 0.8 0.0;
29669                   offset: -9 -21;
29670                }
29671             }
29672          }
29673          part { name: "e.text.title"; type: TEXT;
29674             effect: SOFT_SHADOW;
29675             scale: 1;
29676             description { state: "default" 0.0;
29677                rel1.relative: 0.05 0.05;
29678                rel2.relative: 0.95 0.10;
29679                color: 255 255 255 255;
29680                color3: 0 0 0 32;
29681                text {
29682                   font: "Sans:style=Bold";
29683                   size: 16;
29684                   min: 0 1;
29685                   text_class: "init_title";
29686                }
29687             }
29688          }
29689          part { name: "button";
29690             description { state: "default" 0.0;
29691                image.normal: "wizard_bt1.png";
29692                image.border: 12 12 12 12;
29693                rel1 {
29694                   to: "e.text.label";
29695                   offset: -12 -12;
29696                }
29697                rel2 {
29698                   to: "e.text.label";
29699                   offset: 11 11;
29700                }
29701             }
29702             description { state: "clicked" 0.0;
29703                inherit: "default" 0.0;
29704                image.normal: "wizard_bt2.png";
29705             }
29706          }
29707          part { name: "e.text.label"; type: TEXT;
29708             effect: SHADOW BOTTOM;
29709             scale: 1;
29710             mouse_events: 0;
29711             description { state: "default" 0.0;
29712                min: 64 32;
29713                align: 0.5 1.0;
29714                rel1.relative: 0.5  0.95;
29715                rel2.relative: 0.5  0.95;
29716                color: 32 32 32 255;
29717                color3: 255 255 255 128;
29718                text {
29719                   text: "Next";
29720                   font: "Sans:style=Bold";
29721                   size: 16;
29722                   min: 1 1;
29723                }
29724             }
29725             description { state: "disabled" 0.0;
29726                inherit: "default" 0.0;
29727                color: 128 128 128 255;
29728                color3: 255 255 255 64;
29729             }
29730          }
29731          part { name: "block"; type: RECT;
29732             mouse_events: 1;
29733             description { state: "default" 0.0;
29734                rel1.to: "e.text.label";
29735                rel2.to: "e.text.label";
29736                visible: 0;
29737                color: 0 0 0 0;
29738             }
29739             description { state: "disabled" 0.0;
29740                inherit: "default" 0.0;
29741                visible: 1;
29742             }
29743          }
29744          part { name: "shadow2";
29745             mouse_events: 0;
29746             description { state: "default" 0.0;
29747                image.normal: "bg_shadow.png";
29748                fill.smooth: 0;
29749             }
29750          }
29751          part { name: "fade"; type: RECT;
29752             mouse_events: 0;
29753             description { state: "default" 0.0;
29754                color: 0 0 0 255;
29755             }
29756             description { state: "hidden" 0.0;
29757                inherit: "default" 0.0;
29758                color: 0 0 0 0;
29759                visible: 0;
29760             }
29761          }
29762       }
29763       programs {
29764          program { name: "fade_in";
29765             signal: "show";
29766             source: "";
29767             action: STATE_SET "hidden" 0.0;
29768             transition: DECELERATE 0.5;
29769             target: "fade";
29770          }
29771          program { name: "button_click";
29772             signal: "mouse,down,1";
29773             source: "button";
29774             action: STATE_SET "clicked" 0.0;
29775             target: "button";
29776          }
29777          program { name: "button_unclick";
29778             signal: "mouse,up,1";
29779             source: "button";
29780             action: STATE_SET "default" 0.0;
29781             target: "button";
29782          }
29783          program { name: "button_unclick2";
29784             signal: "mouse,clicked,1";
29785             source: "button";
29786             action: SIGNAL_EMIT "e,action,next" "";
29787          }
29788          program { name: "button_enable";
29789             signal: "e,state,next,enable";
29790             source: "e";
29791             action: STATE_SET "default" 0.0;
29792             target: "block";
29793             target: "e.text.label";
29794          }
29795          program { name: "button_disable";
29796             signal: "e,state,next,disable";
29797             source: "e";
29798             action: STATE_SET "disabled" 0.0;
29799             target: "block";
29800             target: "e.text.label";
29801          }
29802       }
29803    }
29804
29805 /////////////////////////////////////////////////////////////////////////////
29806 /*** ABOUT E ***/
29807
29808    group {
29809       name: "e/widgets/about/main";
29810       images {
29811          image: "vgrad_dark.png" COMP;
29812          image: "about_top.png" COMP;
29813          image: "about_mid.png" COMP;
29814          image: "about_bot.png" COMP;
29815          image: "dia_botshad.png" COMP;
29816          image: "topsh.png" COMP;
29817          image: "logo_white_128.png" COMP;
29818          image: "bt_base1.png" COMP;
29819          image: "bt_base2.png" COMP;
29820          image: "bt_hilight.png" COMP;
29821          image: "bt_shine.png" COMP;
29822          image: "bt_glow.png" COMP;
29823       }
29824       // data.item: "borderless" "1";
29825       // data.item: "shaped" "1";
29826       styles {
29827          style {
29828             name: "about_style";
29829             base: "font=Sans:style=Bold font_size=10 align=center text_class=tb_plain color=#e0e0e0ff style=soft_shadow shadow_color=#00000020 wrap=word";
29830             tag: "hilight" "+ font=Sans:style=Bold text_class=tb_light color=#f00 style=soft_shadow";
29831             tag: "title" "+ font_size=12 font=Sans:style=Bold text_class=tb_big style=soft_shadow color=#fff shadow_color=#00000020";
29832             tag: "/title" "- \n \n";
29833             tag: "br" "\n";
29834          }
29835       }
29836       min: 300 240;
29837       max: 640 640;
29838       parts {
29839          part {
29840             name: "sizer";
29841             type: RECT;
29842             mouse_events: 0;
29843             scale: 1;
29844             description {
29845                state: "default" 0.0;
29846                min: 300 240;
29847                visible: 0;
29848             }
29849          }
29850          part {
29851             name: "about_clip";
29852             type: RECT;
29853             mouse_events: 0;
29854             description {
29855                state: "default" 0.0;
29856                rel1 {
29857                   to: "top";
29858                   relative: 0.0 0.0;
29859                   offset: 6 0;
29860                }
29861                rel2 {
29862                   to: "top";
29863                   relative: 1.0 1.0;
29864                   offset: -7 -7;
29865                }
29866                color: 255 255 255 255;
29867             }
29868          }
29869          part {
29870             name: "authors_clip";
29871             type: RECT;
29872             mouse_events: 0;
29873             description {
29874                state: "default" 0.0;
29875                rel1 {
29876                   to: "bot";
29877                   relative: 0.0 0.0;
29878                   offset: 6 6;
29879                }
29880                rel2 {
29881                   to: "bot";
29882                   relative: 1.0 1.0;
29883                   offset: -7 -1;
29884                }
29885                color: 255 255 255 255;
29886             }
29887          }
29888          part {
29889             name: "background_image";
29890             description {
29891                state: "default" 0.0;
29892                image.normal: "vgrad_dark.png";
29893                fill {
29894                   smooth: 0;
29895                   size {
29896                      relative: 0 1.0;
29897                      offset: 36 0;
29898                   }
29899                }
29900             }
29901          }
29902          part {
29903             name: "e.textblock.about";
29904             type: TEXTBLOCK;
29905             mouse_events: 0;
29906             clip_to: "about_clip";
29907             scale: 1;
29908             description {
29909                state: "default" 0.0;
29910                fixed: 1 1;
29911                align: 0.5 0.0;
29912                max: 10000 10000;
29913                min: 160 0;
29914                rel1 {
29915                   to: "top";
29916                   relative: 0.0 1.0;
29917                   offset: 32 -17;
29918                }
29919                rel2 {
29920                   to: "top";
29921                   relative: 1.0 1.0;
29922                   offset: -33 -17;
29923                }
29924                text {
29925                   style: "about_style";
29926                   min: 0 1;
29927                }
29928             }
29929             description {
29930                state: "up" 0.0;
29931                inherit: "default" 0.0;
29932                align: 0.5 1.0;
29933                rel1 {
29934                   relative: 0.0 0.0;
29935                   offset: 32 0;
29936                }
29937                rel2 {
29938                   relative: 1.0 0.0;
29939                   offset: -33 -1;
29940                }
29941             }
29942          }
29943          part {
29944             name: "e.textblock.authors";
29945             type: TEXTBLOCK;
29946             mouse_events: 0;
29947             clip_to: "authors_clip";
29948             scale: 1;
29949             description {
29950                state: "default" 0.0;
29951                fixed: 1 1;
29952                align: 0.5 0.0;
29953                max: 10000 10000;
29954                min: 160 0;
29955                rel1 {
29956                   to: "bot";
29957                   relative: 0.0 1.0;
29958                   offset: 32 0;
29959                }
29960                rel2 {
29961                   to: "bot";
29962                   relative: 1.0 1.0;
29963                   offset: -33 0;
29964                }
29965                text {
29966                   style: "about_style";
29967                   min: 0 1;
29968                }
29969             }
29970             description {
29971                state: "up" 0.0;
29972                inherit: "default" 0.0;
29973                align: 0.5 1.0;
29974                rel1 {
29975                   relative: 0.0 0.0;
29976                   offset: 32 16;
29977                }
29978                rel2 {
29979                   relative: 1.0 0.0;
29980                   offset: -33 16;
29981                }
29982             }
29983          }
29984          part {
29985             name: "top";
29986             description {
29987                state: "default" 0.0;
29988                image.normal: "about_top.png";
29989                image.middle: 0;
29990                image.border: 28 28 0 28;
29991                rel2.to_y: "e.text.title";
29992                rel2.relative: 1.0 0.0;
29993                rel2.offset: -1 6;
29994                fill.smooth: 0;
29995             }
29996          }
29997          part {
29998             name: "bot";
29999             description {
30000                state: "default" 0.0;
30001                image.normal: "about_bot.png";
30002                image.middle: 0;
30003                image.border: 28 28 28 0;
30004                rel1.to_y: "e.text.title";
30005                rel1.relative: 0.0 1.0;
30006                rel1.offset: 0 -5;
30007                fill.smooth: 0;
30008             }
30009          }
30010          part {
30011             name: "mid";
30012             description {
30013                state: "default" 0.0;
30014                image.normal: "about_mid.png";
30015                rel1 {
30016                   to: "top";
30017                   relative: 0.0 1.0;
30018                   offset: 0 -1;
30019                }
30020                rel2 {
30021                   to: "bot";
30022                   relative: 1.0 0.0;
30023                   offset: -1 0;
30024                }
30025                fill.smooth: 0;
30026             }
30027          }
30028          part {
30029             name: "e.text.title";
30030             type: TEXT;
30031             mouse_events: 0;
30032             scale: 1;
30033             description {
30034                state: "default" 0.0;
30035                color: 0 0 0 255;
30036                align: 1.0 0.5;
30037                rel1 {
30038                   relative: 0.0 0.5;
30039                   offset: 0 0;
30040                }
30041                rel2 {
30042                   to_x: "logo";
30043                   relative: 0.0 0.5;
30044                   offset: 11 -1;
30045                }
30046                text {
30047                   font: "Sans:style=Bold";
30048                   size: 10;
30049                   min: 1 1;
30050                   align: 1.0 0.5;
30051                   text_class: "about_title";
30052                }
30053             }
30054          }
30055          part {
30056             name: "e.text.version";
30057             type: TEXT;
30058             mouse_events: 0;
30059             scale: 1;
30060             description {
30061                state: "default" 0.0;
30062                color: 0 0 0 255;
30063                align: 0.0 0.5;
30064                rel1 {
30065                   to_x: "logo";
30066                   relative: 1.0 0.5;
30067                   offset: -12 0;
30068                }
30069                rel2 {
30070                   relative: 1.0 0.5;
30071                   offset: -1 -1;
30072                }
30073                text {
30074                   font: "Sans:style=Bold";
30075                   size: 10;
30076                   min: 1 1;
30077                   align: 0.0 0.5;
30078                   text_class: "about_version";
30079                }
30080             }
30081          }
30082          part {
30083             name: "shadow";
30084             scale: 1;
30085             description {
30086                state: "default" 0.0;
30087                image.normal: "topsh.png";
30088                align: 0.0 0.0;
30089                min: 1 16;
30090                max: 99999 16;
30091                fill.smooth: 0;
30092             }
30093          }
30094          part {
30095             name: "shadow2";
30096             mouse_events: 0;
30097             description {
30098                state: "default" 0.0;
30099                rel1.relative: 0.0 1.0;
30100                rel1.offset: 0 -4;
30101                image.normal: "dia_botshad.png";
30102                fill {
30103                   smooth: 0;
30104                   size {
30105                      relative: 0.0 1.0;
30106                      offset: 64 0;
30107                   }
30108                }
30109             }
30110          }
30111          part {
30112             name: "logo";
30113             description {
30114                state: "default" 0.0;
30115                aspect: 1.0 1.0;
30116                aspect_preference: VERTICAL;
30117                image.normal: "logo_white_128.png";
30118                rel1 {
30119                   to: "top";
30120                   relative: 0.5 1.0;
30121                   offset: 0 -30;
30122                }
30123                rel2 {
30124                   to: "bot";
30125                   relative: 0.5 0.0;
30126                   offset: -1 29;
30127                }
30128             }
30129          }
30130          part {
30131             name: "button_image";
30132             mouse_events: 1;
30133             scale: 1;
30134             description {
30135                state: "default" 0.0;
30136                fixed: 1 1;
30137                align: 0.5 1.0;
30138                rel1.relative: 0.5 0.98;
30139                rel1.offset: 0 -1;
30140                rel2.relative: 0.5 0.98;
30141                rel2.offset: 0 -1;
30142                min: 64 32;
30143                max: 64 32;
30144                image {
30145                   normal: "bt_base2.png";
30146                   border: 7 7 7 7;
30147                }
30148             }
30149             description {
30150                state: "clicked" 0.0;
30151                inherit: "default" 0.0;
30152                image.normal: "bt_base1.png";
30153             }
30154          }
30155          part {
30156             name: "e.text.label";
30157             type: TEXT;
30158             effect: SOFT_SHADOW;
30159             mouse_events: 0;
30160             scale: 1;
30161             description {
30162                state: "default" 0.0;
30163                rel1 {
30164                   to: "button_image";
30165                   relative: 0.0  0.0;
30166                   offset: 3    3;
30167                }
30168                rel2 {
30169                   relative: 1.0  1.0;
30170                   offset: -4   -4;
30171                   to: "button_image";
30172                }
30173                color_class: "button_text";
30174                text {
30175                   text: "Close";
30176                   font: "Sans";
30177                   size: 10;
30178                   min: 1 1;
30179                   align: 0.5 0.5;
30180                   text_class: "button";
30181                }
30182             }
30183          }
30184          part {
30185             name: "over1";
30186             mouse_events: 0;
30187             description {
30188                state: "default" 0.0;
30189                rel1.to: "button_image";
30190                rel2.to: "button_image";
30191                rel2.relative: 1.0 0.5;
30192                image {
30193                   normal: "bt_hilight.png";
30194                   border: 7 7 7 0;
30195                }
30196             }
30197          }
30198          part {
30199             name: "over2";
30200             mouse_events: 0;
30201             description {
30202                state: "default" 0.0;
30203                rel1.to: "button_image";
30204                rel2.to: "button_image";
30205                image {
30206                   normal: "bt_shine.png";
30207                   border: 7 7 7 7;
30208                }
30209             }
30210          }
30211          part {
30212             name: "over3";
30213             mouse_events: 0;
30214             description {
30215                state: "default" 0.0;
30216                rel1.to: "button_image";
30217                rel2.to: "button_image";
30218                visible: 0;
30219                color: 255 255 255 0;
30220                image {
30221                   normal: "bt_glow.png";
30222                   border: 12 12 12 12;
30223                }
30224                fill.smooth : 0;
30225             }
30226             description {
30227                state: "clicked" 0.0;
30228                inherit: "default" 0.0;
30229                visible: 1;
30230                color: 255 255 255 255;
30231             }
30232          }
30233       }
30234       programs {
30235          program {
30236             name: "showa";
30237             signal: "show";
30238             source: "";
30239             action: STATE_SET "up" 0.0;
30240             transition: LINEAR 45.0;
30241             target: "e.textblock.about";
30242             after: "showa2";
30243          }
30244          program {
30245             name: "showa2";
30246             action: STATE_SET "default" 0.0;
30247             target: "e.textblock.about";
30248             after: "showa";
30249          }
30250          program {
30251             name: "showb";
30252             signal: "show";
30253             source: "";
30254             action: STATE_SET "up" 0.0;
30255             transition: LINEAR 45.0;
30256             target: "e.textblock.authors";
30257             after: "showb2";
30258          }
30259          program {
30260             name: "showb2";
30261             action: STATE_SET "default" 0.0;
30262             target: "e.textblock.authors";
30263             after: "showb";
30264          }
30265          program {
30266             name: "button_click";
30267             signal: "mouse,down,1";
30268             source: "button_image";
30269             action: STATE_SET "clicked" 0.0;
30270             target: "button_image";
30271             target: "over3";
30272          }
30273          program {
30274             name: "button_unclick";
30275             signal: "mouse,up,1";
30276             source: "button_image";
30277             action: STATE_SET "default" 0.0;
30278             target: "button_image";
30279             target: "over3";
30280          }
30281          program {
30282             name: "button_unclick2";
30283             signal: "mouse,clicked,1";
30284             source: "button_image";
30285             action: SIGNAL_EMIT "e,action,close" "";
30286          }
30287       }
30288    }
30289
30290
30291 /////////////////////////////////////////////////////////////////////////////
30292 /*** THEME ABOUT ***/
30293
30294    group {
30295       name: "e/theme/about";
30296       images {
30297          image: "silk.png" LOSSY 90;
30298          image: "topsh.png" COMP;
30299          image: "bnw.png" COMP;
30300          image: "bt_base1.png" COMP;
30301          image: "bt_base2.png" COMP;
30302          image: "bt_hilight.png" COMP;
30303          image: "bt_shine.png" COMP;
30304          image: "bt_glow.png" COMP;
30305       }
30306       styles {
30307          style {
30308             name: "theme_about_style";
30309             base: "font=Sans:style=Bold font_size=10 align=center color=#e0e0e0ff style=soft_shadow shadow_color=#0000001f wrap=word";
30310             tag: "br" "\n";
30311          }
30312       }
30313       // data.item: "borderless" "1";
30314       // data.item: "shaped" "1";
30315       min: 300 240;
30316       max: 640 640;
30317       parts {
30318          part {
30319             name: "background_image";
30320             description {
30321                state: "default" 0.0;
30322                image.normal: "silk.png";
30323                aspect: 1.0 1.0;
30324                aspect_preference: NONE;
30325             }
30326          }
30327          part {
30328             name: "shadow";
30329             scale: 1;
30330             description {
30331                state: "default" 0.0;
30332                image.normal: "topsh.png";
30333                align: 0.0 0.0;
30334                min: 1 16;
30335                max: 99999 16;
30336                fill.smooth: 0;
30337             }
30338          }
30339          part {
30340             name: "logo";
30341             description {
30342                state: "default" 0.0;
30343                image.normal: "bnw.png";
30344                align: 0.5 0.05;
30345                min: 230 110;
30346                max: 460 220;
30347                aspect: 2.090909091 2.090909091;
30348                aspect_preference: HORIZONTAL;
30349             }
30350          }
30351          part {
30352             name: "about";
30353             type: TEXTBLOCK;
30354             mouse_events: 0;
30355             scale: 1;
30356             description {
30357                state: "default" 0.0;
30358                rel1 {
30359                   to_y: "logo";
30360                   relative: 0.0 1.0;
30361                   offset: 8 0;
30362                }
30363                rel2 {
30364                   to_y: "button_image";
30365                   offset: -9 -19;
30366                   relative: 1.0 0.0;
30367                }
30368                text {
30369                   style: "theme_about_style";
30370                   min: 1 1;
30371                   text:
30372                             "Smooth as silk<br>"
30373                             "The default theme for<br>"
30374                             "Enlightenment<br>"
30375                             ;
30376                }
30377             }
30378          }
30379          part {
30380             name: "button_image";
30381             mouse_events: 1;
30382             scale: 1;
30383             description {
30384                state: "default" 0.0;
30385                fixed: 1 1;
30386                align: 0.5 1.0;
30387                rel1.relative: 0.5 0.98;
30388                rel1.offset: 0 -1;
30389                rel2.relative: 0.5 0.98;
30390                rel2.offset: 0 -1;
30391                min: 64 32;
30392                max: 64 32;
30393                image {
30394                   normal: "bt_base2.png";
30395                   border: 7 7 7 7;
30396                }
30397             }
30398             description {
30399                state: "clicked" 0.0;
30400                inherit: "default" 0.0;
30401                image.normal: "bt_base1.png";
30402             }
30403          }
30404          part {
30405             name: "e.text.label";
30406             type: TEXT;
30407             effect: SOFT_SHADOW;
30408             mouse_events: 0;
30409             scale: 1;
30410             description {
30411                state: "default" 0.0;
30412                rel1 {
30413                   to: "button_image";
30414                   relative: 0.0  0.0;
30415                   offset: 3    3;
30416                }
30417                rel2 {
30418                   relative: 1.0  1.0;
30419                   offset: -4   -4;
30420                   to: "button_image";
30421                }
30422                color_class: "button_text";
30423                text {
30424                   text: "Close";
30425                   font: "Sans";
30426                   size: 10;
30427                   min: 1 1;
30428                   align: 0.5 0.5;
30429                   text_class: "button";
30430                }
30431             }
30432          }
30433          part {
30434             name: "over1";
30435             mouse_events: 0;
30436             description {
30437                state: "default" 0.0;
30438                rel1.to: "button_image";
30439                rel2.to: "button_image";
30440                rel2.relative: 1.0 0.5;
30441                image {
30442                   normal: "bt_hilight.png";
30443                   border: 7 7 7 0;
30444                }
30445             }
30446          }
30447          part {
30448             name: "over2";
30449             mouse_events: 0;
30450             description {
30451                state: "default" 0.0;
30452                rel1.to: "button_image";
30453                rel2.to: "button_image";
30454                image {
30455                   normal: "bt_shine.png";
30456                   border: 7 7 7 7;
30457                }
30458             }
30459          }
30460          part {
30461             name: "over3";
30462             mouse_events: 0;
30463             description {
30464                state: "default" 0.0;
30465                rel1.to: "button_image";
30466                rel2.to: "button_image";
30467                visible: 0;
30468                color: 255 255 255 0;
30469                image {
30470                   normal: "bt_glow.png";
30471                   border: 12 12 12 12;
30472                }
30473                fill.smooth : 0;
30474             }
30475             description {
30476                state: "clicked" 0.0;
30477                inherit: "default" 0.0;
30478                visible: 1;
30479                color: 255 255 255 255;
30480             }
30481          }
30482       }
30483       programs {
30484          program {
30485             name: "button_click";
30486             signal: "mouse,down,1";
30487             source: "button_image";
30488             action: STATE_SET "clicked" 0.0;
30489             target: "button_image";
30490             target: "over3";
30491          }
30492          program {
30493             name: "button_unclick";
30494             signal: "mouse,up,1";
30495             source: "button_image";
30496             action: STATE_SET "default" 0.0;
30497             target: "button_image";
30498             target: "over3";
30499          }
30500          program {
30501             name: "button_unclick2";
30502             signal: "mouse,clicked,1";
30503             source: "button_image";
30504             action: SIGNAL_EMIT "e,action,close" "";
30505          }
30506       }
30507    }
30508
30509
30510 /////////////////////////////////////////////////////////////////////////////
30511 /*** ICONS ***/
30512
30513    #define ICON(NAME, FILE, SIZE)                     \
30514    group {                                            \
30515       name: "e/icons/"NAME ;                          \
30516       max: SIZE SIZE;                                 \
30517       parts {                                         \
30518          part {                                       \
30519             name: "icon";                             \
30520             repeat_events: 1;                        \
30521             description {                             \
30522                state: "default" 0.0;                  \
30523                aspect: 1.0 1.0;                       \
30524                aspect_preference: BOTH;               \
30525                image.image: FILE COMP;                \
30526                image.normal: FILE ;                   \
30527             }                                         \
30528          }                                            \
30529       }                                               \
30530    }
30531
30532    #define ICONMIME(NAME, FILE, SIZE) ICON("mimetypes/"NAME, FILE, SIZE)
30533    /* FreeDesktop.Org Icons
30534     * http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
30535     *
30536     * In the comment you can find the old e icon name.
30537     *
30538     * Icons marked with *** are not mentioned in the spec, but we still try to
30539     * follow the naming convention.
30540     *
30541     * TO ADD A NEW ICON:
30542     * 1. Search for a name in the spec OR
30543     * 2. Search for a name in kde (oxygen) and gnome (tango - human) icon set OR
30544     * 3. Try to follow the naming convention
30545     */
30546    //Standard Action Icons
30547    ICON("help-about","logo_black_128.png",64)                      // "enlightenment/about"
30548    ICON("list-add","icon_add.png",64)                              // "widget/add"
30549    ICON("list-remove","icon_del.png",64)                           // "widget/del"
30550    ICON("go-up","icon_up_arrow.png",64)                            // "widget/up_arrow" "widget/up_dir"
30551    ICON("go-down","icon_down_arrow.png",64)                        // "widget/down_arrow"
30552    ICON("go-next","icon_right_arrow.png",64)                       // "widget/new_dialog"
30553    ICON("go-previous","icon_left_arrow.png",64)                    // none
30554    ICON("bookmark-new","icon_add_fav.png",64)                      // "widget/add_fav"
30555    ICON("edit-swap","icon_swap.png",64)                     // *** // "widget/swap"
30556    ICON("edit-copy","icon_efm_copy.png",16)                        // EFMBUTTON("copy"
30557    ICON("edit-cut","icon_efm_cut.png",16)                          // EFMBUTTON("cut"
30558    ICON("edit-paste","icon_efm_paste.png",16)                      // EFMBUTTON("paste"
30559    ICON("edit-delete","icon_efm_delete.png",16)                    // EFMBUTTON("delete"
30560    ICON("edit-rename","icon_efm_rename.png",16)                    // EFMBUTTON("rename"
30561    ICON("edit-select-all","icon_efm_select.png",16)                // EFMBUTTON("select"
30562    ICON("document-open","icon_efm_open.png",16)                    // "widget/open" EFMBUTTON("open") EFMBUTTON("new")
30563    ICON("document-new","icon_new.png",64)                          // "widget/new"
30564    ICON("document-properties","icon_efm_properties.png",16)        // EFMBUTTON("properties"
30565    ICON("folder-new","icon_efm_new_dir.png",16)                    // EFMBUTTON("new_dir"
30566    ICON("view-sort","icon_efm_sort.png",16)                 // *** // EFMBUTTON("sort",
30567    ICON("view-order","icon_efm_sort.png",16)                // *** // EFMBUTTON("ordering"
30568    ICON("view-hidden-files","icon_efm_view.png",16)         // *** // EFMBUTTON("hidden_files"
30569    ICON("configure","icon_config.png",64)                          // "widget/config"
30570    ICON("system-run","icon_run.png",64)                            // "enlightenment/run"
30571    ICON("system-shutdown","icon_halt.png",128)                     // "enlightenment/halt"
30572    ICON("system-restart","icon_reboot.png",128)                    // "enlightenment/reboot"
30573    ICON("system-suspend","icon_suspend.png",128)                   // "enlightenment/suspend"
30574    ICON("system-suspend-hibernate","icon_hibernate.png",128)       // "enlightenment/hibernate"
30575    ICON("system-log-out","icon_logout.png",128)                    // "enlightenment/logout"
30576    ICON("system-lock-screen","icon_desklock_menu.png",128)         // "enlightenment/desklock_menu"
30577    ICON("window-close","icon_close.png",64)                        // "widget/close"
30578    ICON("dialog-ok-apply","icon_check.png",64)                     // "enlightenment/check"
30579    ICON("transform-scale","icon_resize.png",64)                    // "widget/resize"
30580    ICON("transform-move","icon_autoscroll.png",64)                 // "enlightenment/autoscroll"
30581    ICON("view-refresh","icon_efm_refresh.png",16)                  // EFMBUTTON("refresh"
30582    ICON("view-inherit","icon_dummy.png",64)                 // *** // EFMBUTTON("inherit"
30583    ICON("screenshot","icon_screenshot.png",64)                     // dunno
30584    //Standard Status Icons
30585    ICON("dialog-warning","icon_warning.png",128)                   // "enlightenment/warning"
30586    ICON("dialog-error","icon_warning.png",128)                     // "enlightenment/error"
30587    ICON("dialog-ask","icon_dummy.png",64)                          // "enlightenment/unknown"
30588    ICON("unknown","icon_dummy.png",64)                      // *** // "enlightenment/unknown"
30589    //Standard Application Icons
30590    ICON("preferences-desktop","icon_desktops.png",64)                         // "enlightenment/desktops"
30591    ICON("preferences-desktop-theme","icon_theme.png",64)                      // "enlightenment/themes"
30592    ICON("preferences-desktop-wallpaper","icon_wallpaper.png",64)              // "enlightenment/background"
30593    ICON("preferences-desktop-color","icon_colors.png",64)                     // "enlightenment/colors"
30594    ICON("preferences-desktop-font","icon_fonts.png",64)                       // "enlightenment/fonts"
30595    ICON("preferences-desktop-screensaver","icon_screensaver.png",64)          // "enlightenment/screensaver"
30596    ICON("preferences-desktop-display","icon_screen_setup.png",64)             // "enlightenment/screen_setup"
30597    ICON("preferences-desktop-keyboard","icon_keyboard.png",64)                // "enlightenment/keys"
30598    ICON("preferences-desktop-keyboard-shortcuts","icon_keys.png",64)          // "enlightenment/keys"
30599    ICON("preferences-desktop-pointer","icon_mouse.png",64)             // *** // "enlightenment/mouse"
30600    ICON("preferences-desktop-mouse","icon_mouse_clean.png",64)                // "enlightenment/mouse_clean"
30601    ICON("preferences-desktop-mouse-left","icon_mouse_left.png",64)     // *** // "enlightenment/mouse_left"
30602    ICON("preferences-desktop-mouse-right","icon_mouse_right.png",64)   // *** // "enlightenment/mouse_right"
30603    ICON("preferences-desktop-mouse-middle","icon_mouse_middle.png",64) // *** // "enlightenment/mouse_middle"
30604    ICON("preferences-desktop-mouse-wheel","icon_mouse_wheel.png",64)   // *** // "enlightenment/mouse_wheel"
30605    ICON("preferences-desktop-mouse-extra","icon_mouse_extra.png",64)   // *** // "enlightenment/mouse_extra"
30606    ICON("preferences-desktop-locale","icon_intl.png",64)                      // "enlightenment/intl"
30607    ICON("preferences-desktop-mixer","icon_mixer.png",64)                      // "enlightenment/mixer"
30608    ICON("preferences-desktop-shelf","icon_shelf.png",64)                        // *** // "enlightenment/shelf"
30609    ICON("preferences-desktop-shelf-bottom-desk","icon_shelf_bottom_desk.png",64)// *** // "enlightenment/shelf_bottom_desk"
30610    ICON("preferences-desktop-shelf-custom","icon_shelf_custom.png",64)          // *** // "enlightenment/shelf_custom"
30611    ICON("preferences-desktop-shelf-dock","icon_shelf_dock.png",64)              // *** // "enlightenment/shelf_dock"
30612    ICON("preferences-desktop-shelf-menu-bar","icon_shelf_menu_bar.png",64)      // *** // "enlightenment/shelf_menu_bar"
30613    ICON("preferences-desktop-shelf-panel","icon_shelf_panel.png",64)            // *** // "enlightenment/shelf_panel"
30614    ICON("preferences-desktop-shelf-top-desk","icon_shelf_top_desk.png",64)      // *** // "enlightenment/shelf_top_desk"
30615    ICON("preferences-desktop-window-remember","icon_window_remembers.png",64)   // *** // "enlightenment/window_remembers"
30616    ICON("preferences-position-bottom","icon_shelf_bottom.png",64)               // *** // "enlightenment/shelf_position_bottom"
30617    ICON("preferences-position-bottom-left","icon_shelf_bottom_left.png",64)     // *** // "enlightenment/shelf_position_bottom_left"
30618    ICON("preferences-position-bottom-right","icon_shelf_bottom_right.png",64)   // *** // "enlightenment/shelf_position_bottom_right"
30619    ICON("preferences-position-top","icon_shelf_top.png",64)                     // *** // "enlightenment/shelf_position_top"
30620    ICON("preferences-position-top-left","icon_shelf_top_left.png",64)           // *** // "enlightenment/shelf_position_top_left"
30621    ICON("preferences-position-top-right","icon_shelf_top_right.png",64)         // *** // "enlightenment/shelf_position_top_right"
30622    ICON("preferences-position-left","icon_shelf_left.png",64)                   // *** // "enlightenment/shelf_position_left"
30623    ICON("preferences-position-left-top","icon_shelf_left_top.png",64)           // *** // "enlightenment/shelf_position_left_top"
30624    ICON("preferences-position-left-bottom","icon_shelf_left_bottom.png",64)     // *** // "enlightenment/shelf_position_left_bottom"
30625    ICON("preferences-position-right","icon_shelf_right.png",64)                 // *** // "enlightenment/shelf_position_right"
30626    ICON("preferences-position-right-top","icon_shelf_right_top.png",64)         // *** // "enlightenment/shelf_position_right_top"
30627    ICON("preferences-position-right-bottom","icon_shelf_right_bottom.png",64)   // *** // "enlightenment/shelf_position_right_bottom"
30628    ICON("preferences-window-process","icon_window_process_management.png",64)    // *** // "enlightenment/window_process"
30629    ICON("preferences-window-manipulation","icon_window_manipulation.png",64)    // *** // "enlightenment/window_manipulation"
30630    ICON("preferences-window-maximize","icon_window_manipulation.png",64)        // *** // "enlightenment/window_maximize"
30631    ICON("preferences-window-stacking","icon_winlist.png",64)                    // *** // "enlightenment/window_stacking"
30632    ICON("preferences-window-geometry","icon_window_geometry.png",64)            // *** // "enlightenment/window_geometry"
30633    ICON("preferences-windows-lost","icon_lost_windows.png",64)                  // *** // "enlightenment/lost_windows"
30634    ICON("preferences-gradient","icon_gradient.png",64)           // *** // "enlightenment/gradient"
30635    ICON("preferences-focus","icon_window_focus.png",64)          // *** // "enlightenment/focus"
30636    ICON("preferences-engine","icon_engine.png",64)               // *** // "enlightenment/engine"
30637    ICON("preferences-dialogs","icon_dummy.png",64)               // *** // "enlightenment/dialogs"
30638    ICON("preferences-interaction","icon_interaction.png",64)     // *** // "enlightenment/interaction"
30639    ICON("preferences-imc","icon_imc.png",64)                     // *** // "enlightenment/imc"
30640    ICON("preferences-system-lock-screen","icon_desklock.png",64) // *** // "enlightenment/desklock"
30641    ICON("preferences-icon-theme","icon_icon_theme.png",64)       // *** // "enlightenment/icon_theme"
30642    ICON("preferences-transitions","icon_transitions.png",64)     // *** // "enlightenment/transitions"
30643    ICON("preferences-desktop-edge-bindings","icon_shelf_right.png",64)  // *** // "enlightenment/edges"
30644    ICON("preferences-toolbar","icon_toolbar.png",64)             // *** // "enlightenment/toolbar"
30645    ICON("preferences-profiles","icon_profiles.png",64)           // *** // "enlightenment/profiles"
30646    ICON("preferences-startup","icon_startup.png",64)             // *** // "enlightenment/startup"
30647    ICON("preferences-winlist","icon_winlist.png",64)             // *** // "enlightenment/winlist"
30648    ICON("preferences-menus","icon_menus.png",64)                 // *** // "enlightenment/menus"
30649    ICON("preferences-menu-settings","icon_menu_settings.png",64) // *** // "enlightenment/menu_settings"
30650    ICON("preferences-advanced","icon_advanced.png",64)           // *** // "enlightenment/advanced"
30651    ICON("preferences-behavior","icon_behavior.png",64)           // *** // "enlightenment/behavior"
30652    ICON("preferences-look","icon_look.png",64)                   // *** // "enlightenment/look"
30653    ICON("preferences-utils","icon_gadget.png",64)                // *** // "enlightenment/utils"
30654    ICON("preferences-extensions","icon_extensions.png",64)       // *** // "enlightenment/extensions"
30655    ICON("preferences-file-icons","icon_file_icons.png",64)       // *** // "enlightenment/file_icons"
30656    ICON("preferences-pager","icon_pager.png",64)                 // *** // "enlightenment/pager"
30657    ICON("preferences-scale","icon_scale.png",64)                 // *** // "enlightenment/scale"
30658    ICON("preferences-directories","icon_directories.png",64)     // *** // "enlightenment/directories"
30659    ICON("preferences-screen-normal","icon_screen_normal.png",64) // *** // "enlightenment/screen_normal"
30660    ICON("preferences-screen-around","icon_screen_around.png",64) // *** // "enlightenment/screen_around"
30661    ICON("preferences-screen-left","icon_screen_left.png",64)     // *** // "enlightenment/screen_left"
30662    ICON("preferences-screen-right","icon_screen_right.png",64)   // *** // "enlightenment/screen_right"
30663    ICON("preferences-screen-vflip","icon_screen_vflip.png",64)   // *** // "enlightenment/screen_vflip"
30664    ICON("preferences-screen-hflip","icon_screen_hflip.png",64)   // *** // "enlightenment/screen_hflip"
30665    ICON("preferences-applications","icon_applications.png",64)                 // *** // "enlightenment/applications"
30666    ICON("preferences-applications-add","icon_applications_new.png",64)         // *** // "enlightenment/add_application"
30667    ICON("preferences-applications-ibar","icon_applications_ibar.png",64)       // *** // "enlightenment/ibar_applications"
30668    ICON("preferences-applications-restart","icon_applications_restart.png",64) // *** // "enlightenment/restart_applications"
30669    ICON("preferences-applications-startup","icon_applications_startup.png",64) // *** // "enlightenment/startup_applications"
30670    ICON("preferences-desktop-default-applications","icon_advanced.png",64)
30671    ICON("preferences-preferences","icon_config.png",64)                             // "enlightenment/configuration" "enlightenment/settings"
30672    ICON("preferences-plugin","icon_modules.png",64)                                   // "enlightenment/modules"
30673    ICON("preferences-system","icon_configuration.png",64)                             // "enlightenment/configuration" "enlightenment/settings"
30674    ICON("preferences-system-windows","icon_windows.png",64)                           // "enlightenment/windows" "enlightenment/showhide"
30675    ICON("preferences-system-performance","icon_performance.png",64)                   // "enlightenment/performance"
30676    ICON("preferences-system-power-management","icon_power_management.png",64)         // "enlightenment/power_management"
30677    ICON("preferences-system-screen-resolution","icon_screen_resolution.png",64)// *** // "enlightenment/screen_resolution"
30678    ICON("preferences-illume","icon_illume.png",64)
30679    ICON("system-file-manager","icon_efm_folder.png",64)                               // "enlightenment/fileman"
30680    ICON("application-exit","icon_logout.png",64)                                      // "enlightenment/exit"
30681    ICON("enlightenment","logo_white_128.png",64)                               // *** // "enlightenment/e"
30682    //Standard Module Category Icons 
30683    ICON("modules-utils","icon_gadget.png",64)
30684    ICON("modules-system","icon_gadget.png",64)
30685    ICON("modules-look","icon_look.png",64)
30686    ICON("modules-files","icon_efm_folder.png",64)
30687    ICON("modules-launcher","icon_run.png",64)
30688    ICON("modules-core","logo_white_128.png",64)
30689    ICON("modules-mobile","icon_globe.png",64)
30690    ICON("modules-settings","icon_config.png",64)
30691    //Standard Emblem Icons
30692    ICON("emblem-symbolic-link","icon_dummy.png",64)                // EFMBUTTON("symlink")
30693    //Standard Place Icons
30694    ICON("start-here","logo_white_128.png",128)                     // "enlightenment/e"
30695    ICON("folder","icon_efm_folder.png",64)                         // "fileman/folder"
30696    ICON("user-home","icon_efm_home.png",64)                        // "fileman/home"
30697    ICON("user-temp","icon_efm_tmp.png",64)                  // *** // "fileman/tmp"
30698    ICON("user-desktop","icon_efm_desktop.png",64)                  // "fileman/desktop"
30699    ICON("user-bookmarks","icon_favorites.png",64)                  // "enlightenment/favorites"
30700    ICON("folder-image","icon_wallpaper.png",64)                    // "enlightenment/picture"
30701    ICON("network-website","icon_globe.png",64)                     // "enlightenment/website"
30702    ICON("system","icon_system.png",64)                      // *** // "enlightenment/system"
30703    //Standard Device Icons
30704    ICON("computer","icon_efm_root.png", 64)                        // "fileman/root"
30705    ICON("drive-harddisk","icon_efm_hdd.png", 128)                  // "fileman/hd" "fileman/hdd"
30706    ICON("drive-optical","icon_efm_cd.png", 128)                    // "fileman/??"
30707    ICON("media-flash","icon_efm_flash.png", 128)                   // "fileman/??"
30708    ICON("drive-removable-media","icon_efm_usbmedia.png", 128);
30709    ICON("media-eject","icon_efm_eject.png", 64)
30710    /* End of FreeDesktop.Org icons */
30711    //E Specific icons
30712    ICON("everything-launch","icon_advanced.png",64)
30713    ICON("everything-clipboard","icon_evry_clipboard.png", 256)
30714    //EFM Mime icons
30715    ICONMIME("inode/chardevice","icon_efm_file.png",128)
30716    ICONMIME("inode/blockdevice","icon_efm_file.png",128)
30717    ICONMIME("inode/directory-locked","icon_efm_file.png",128)
30718    ICONMIME("inode/directory","icon_efm_folder.png",128)
30719    ICONMIME("inode/fifo","icon_efm_file.png",128)
30720    ICONMIME("inode/socket","icon_efm_file.png",128)
30721
30722    // Window Border menu icons //
30723    #define BORDERICON(NAME, FILE)                     \
30724    group {                                            \
30725       name: "e/widgets/border/default/"NAME ;         \
30726       max: 64 64;                                     \
30727       parts {                                         \
30728          part {                                       \
30729             name: "icon";                             \
30730             mouse_events: 0;                         \
30731             description {                             \
30732                state: "default" 0.0;                  \
30733                aspect: 1.0 1.0;                       \
30734                aspect_preference: BOTH;               \
30735                image.image: FILE COMP;                \
30736                image.normal: FILE ;                   \
30737             }                                         \
30738          }                                            \
30739       }                                               \
30740    }
30741
30742    BORDERICON("basic","icon_border_more.png")
30743    BORDERICON("close","icon_border_close.png")
30744    BORDERICON("kill","icon_border_kill.png")
30745    BORDERICON("stacking","icon_border_stack_norm.png")
30746    BORDERICON("stack_on_top","icon_border_stack_top.png")
30747    BORDERICON("stack_normal","icon_border_stack_norm.png")
30748    BORDERICON("stack_below","icon_border_stack_bot.png")
30749    BORDERICON("move_icon", "icon_win_move.png")
30750    BORDERICON("resize_icon", "icon_win_resize.png");
30751    BORDERICON("maximize","icon_border_maximize.png")
30752    BORDERICON("fullscreen","icon_border_maximize.png")
30753    BORDERICON("minimize","icon_border_minimize.png")
30754    BORDERICON("stick","icon_border_pin.png")
30755    BORDERICON("sendto","icon_border_sendto.png")
30756    BORDERICON("skip","icon_border_skip.png")
30757    BORDERICON("skip_pager","icon_border_pager.png")
30758    BORDERICON("skip_taskbar","icon_border_skip.png")
30759    BORDERICON("skip_winlist","icon_border_skip.png")
30760    BORDERICON("borderless","icon_border_border.png")
30761    BORDERICON("remember","icon_border_remember.png")
30762    BORDERICON("shade","icon_border_shaded.png")
30763    BORDERICON("locks","icon_border_lock.png")
30764    BORDERICON("locks_user","icon_border_lock.png")
30765    BORDERICON("locks_application","icon_border_lock.png")
30766    BORDERICON("properties","icon_border_properties.png")
30767
30768    // EFM icons //
30769    /* #define EFMICON(NAME, FILE, SIZE)                    \
30770     * group { name: "e/icons/fileman/"NAME;                \
30771     *    max: SIZE SIZE;                                  \
30772     *    parts {                                           \
30773     *       part { name: "icon";                           \
30774     *     mouse_events: 0;                              \
30775     *     description { state: "default" 0.0;            \
30776     *        aspect: 1.0 1.0;                            \
30777     *        aspect_preference: BOTH;                    \
30778     *        image.image: FILE COMP;                     \
30779     *        image.normal: FILE ;                        \
30780     *     }                                              \
30781     *       }                                              \
30782     *    }                                                 \
30783     * } */
30784    //EFMICON("folder","icon_efm_folder.png", 128)
30785    //EFMICON("chrdev","icon_efm_file.png", 128)
30786    //EFMICON("blkdev","icon_efm_file.png", 128)
30787    //EFMICON("fifo","icon_efm_file.png", 128)
30788    //EFMICON("socket","icon_efm_file.png", 128)
30789    //EFMICON("executable","icon_efm_file.png", 128)
30790    //EFMICON("home","icon_efm_home.png", 128)
30791    //EFMICON("root","icon_efm_root.png", 128)
30792    //EFMICON("tmp","icon_efm_tmp.png", 128)
30793    //EFMICON("desktop","icon_efm_desktop.png", 128)
30794    //EFMICON("hdd","icon_efm_hdd.png", 128)
30795    //EFMICON("hd","icon_efm_hdd.png", 128)
30796    
30797    
30798    // EFM Mime type icons //
30799
30800    #define MIMEICON(NAME, FILE, SIZE)                 \
30801    group {                                            \
30802       name: "e/icons/fileman/mime/"NAME;              \
30803       max: SIZE SIZE;                                \
30804       parts {                                         \
30805          part {                                       \
30806             name: "icon";                             \
30807             mouse_events: 0;                         \
30808             description {                             \
30809                state: "default" 0.0;                  \
30810                aspect: 1.0 1.0;                       \
30811                aspect_preference: BOTH;               \
30812                image.image: FILE COMP;                \
30813                image.normal: FILE ;                   \
30814             }                                         \
30815          }                                            \
30816       }                                               \
30817    }
30818
30819    MIMEICON("application/pdf","icon_mime_pdf.png", 128);
30820    MIMEICON("application/x-deb","icon_mime_deb.png", 128);
30821    MIMEICON("application/x-bzip","icon_mime_package.png", 128);
30822    MIMEICON("application/zip","icon_mime_package.png", 128);
30823    MIMEICON("application/x-gzip","icon_mime_package.png", 128);
30824    MIMEICON("application/x-bzip-compressed-tar","icon_mime_package.png", 128);
30825    MIMEICON("application/x-bzip2-compressed-tar","icon_mime_package.png",128);
30826    MIMEICON("application/x-compressed-tar","icon_mime_package.png",128);
30827    MIMEICON("application/x-tar","icon_mime_package.png", 128);
30828    MIMEICON("application/x-rar","icon_mime_package.png", 128);
30829    MIMEICON("inode/chardevice","icon_efm_file.png", 128);
30830    MIMEICON("inode/blockdevice","icon_efm_file.png", 128);
30831    MIMEICON("inode/fifo","icon_efm_file.png", 128);
30832    MIMEICON("inode/socket","icon_efm_file.png", 128);
30833    MIMEICON("inode/directory","icon_efm_folder.png", 128);
30834    MIMEICON("inode/file","icon_efm_file.png", 128);
30835    MIMEICON("application/octet-stream","icon_efm_file.png", 128);
30836    MIMEICON("application/x-executable","icon_mime_executable_generic.png", 128);
30837    MIMEICON("application/x-ms-dos-executable","icon_mime_executable_generic.png", 128);
30838    MIMEICON("application/x-7z-compressed","icon_mime_package.png", 128);
30839    MIMEICON("application/vnd.ms-cab-compressed","icon_mime_package.png", 128);
30840    
30841    // Dynamic MIME Icons //
30842    #define MIMEBASE(MIME, FILE, NAME, SIZE)           \
30843    group {                                            \
30844       name: "e/icons/fileman/mime/"MIME;              \
30845       max: SIZE SIZE;                                \
30846       parts {                                         \
30847          part {                                       \
30848             name: "base";                             \
30849             mouse_events: 0;                          \
30850             description {                             \
30851                state: "default" 0.0;                  \
30852                aspect: 1.0 1.0;                       \
30853                aspect_preference: BOTH;               \
30854                image.image: FILE COMP;                \
30855                image.normal: FILE;                    \
30856             }                                         \
30857          }                                            \
30858          part {                                       \
30859             name: "name";                             \
30860             type: TEXT;                               \
30861             mouse_events: 0;                          \
30862             description {                             \
30863                state: "default" 0.0;                  \
30864                rel1.relative: 0.2444 0.6797;          \
30865                rel2.relative: 0.7478 0.8894;          \
30866                color: 245 245 245 255;                \
30867                text {                                 \
30868                   text: NAME;                       \
30869                   font: "Sans:style=Bold";          \
30870                   size: 4;                          \
30871                   fit: 1 1;                         \
30872                   min: 1 1;                         \
30873                   align: 0.5 0.0;                   \
30874                }                                      \
30875             }                                         \
30876          }                                            \
30877       }                                               \
30878    }
30879
30880    MIMEBASE("video/mpeg","icon_mime_video_generic.png", ".MPEG", 128);
30881    MIMEBASE("application/ogg","icon_mime_video_generic.png", ".OGG", 128);
30882    MIMEBASE("video/x-theora+ogg","icon_mime_video_generic.png", ".OGG", 128);
30883    MIMEBASE("video/x-msvideo","icon_mime_video_generic.png", ".AVI", 128);
30884    MIMEBASE("video/ogg","icon_mime_video_generic.png", ".OGG", 128);
30885    MIMEBASE("video/mp4","icon_mime_video_generic.png", ".MP4", 128);
30886    MIMEBASE("video/quicktime","icon_mime_video_generic.png", ".MOV", 128);
30887    MIMEBASE("video/x-matroska","icon_mime_video_generic.png", ".MKV", 128);
30888    MIMEBASE("video/x-flv","icon_mime_video_generic.png", ".FLV", 128);
30889    MIMEBASE("application/vnd.rn-realmedia","icon_mime_video_generic.png", ".REAL", 128);
30890    MIMEBASE("video/x-ms-wmv","icon_mime_video_generic.png", ".WMV", 128);
30891    MIMEBASE("image/png","icon_mime_image_generic.png", ".PNG", 128);
30892    MIMEBASE("image/jpeg","icon_mime_image_generic.png", ".JPEG", 128);
30893    MIMEBASE("image/gif","icon_mime_image_generic.png", ".GIF", 128);
30894    MIMEBASE("image/bmp","icon_mime_image_generic.png", ".BMP", 128);
30895    MIMEBASE("application/x-xcf","icon_mime_image_generic.png", ".XCF", 128);
30896    MIMEBASE("application/x-cbz","icon_mime_image_generic.png", ".CBZ", 128);
30897    MIMEBASE("application/x-cbr","icon_mime_image_generic.png", ".CBR", 128);
30898    MIMEBASE("audio/mpeg","icon_mime_audio_generic.png", ".MP3", 128);
30899    MIMEBASE("audio/x-wav","icon_mime_audio_generic.png", ".WAV", 128);
30900    MIMEBASE("audio/x-flac","icon_mime_audio_generic.png", ".FLAC", 128);
30901    MIMEBASE("audio/x-musepack","icon_mime_audio_generic.png", ".MPC", 128);
30902    MIMEBASE("audio/x-vorbis+ogg","icon_mime_audio_generic.png", ".OGG", 128);
30903    MIMEBASE("application/x-audacity-project","icon_mime_audio_generic.png", ".AUP", 128);
30904    MIMEBASE("audio/x-ms-wma","icon_mime_audio_generic.png", ".WMA", 128);
30905    MIMEBASE("text/css","icon_mime_text_generic.png", ".CSS", 128);
30906    MIMEBASE("text/html","icon_mime_text_generic.png", ".HTML", 128);
30907    MIMEBASE("text/x-csrc","icon_mime_text_generic.png", ".C", 128);
30908    MIMEBASE("text/x-chdr","icon_mime_text_generic.png", ".H", 128);
30909    MIMEBASE("text/x-c++src","icon_mime_text_generic.png", ".C++", 128);
30910    MIMEBASE("text/x-csharp","icon_mime_text_generic.png", ".C#", 128);
30911    MIMEBASE("text/x-patch","icon_mime_text_generic.png", ".PATCH", 128);
30912    MIMEBASE("text/plain","icon_mime_text_generic.png", ".TXT", 128);
30913    MIMEBASE("application/x-msword","icon_mime_text_generic.png", ".DOC", 128);
30914    MIMEBASE("application/vnd.ms-powerpoint","icon_mime_text_generic.png", ".PPT", 128);
30915    MIMEBASE("application/vnd.ms-excel","icon_mime_text_generic.png", ".XLS", 128);
30916    MIMEBASE("application/x-abiword","icon_mime_text_generic.png", ".ABW", 128);
30917    MIMEBASE("application/vnd.scribus","icon_mime_text_generic.png", ".SLA", 128);
30918    MIMEBASE("text/x-python","icon_mime_text_generic.png", ".PY", 128);
30919    MIMEBASE("application/x-awk","icon_mime_text_generic.png", ".AWK", 128);
30920    MIMEBASE("application/x-lyx","icon_mime_text_generic.png", ".LYX", 128);
30921    MIMEBASE("application/vnd.oasis.opendocument.spreadsheet","icon_mime_text_generic.png", ".ODS", 128);
30922    MIMEBASE("application/vnd.oasis.opendocument.text","icon_mime_text_generic.png", ".ODT", 128);
30923    MIMEBASE("application/vnd.oasis.opendocument.presentation","icon_mime_text_generic.png", ".ODP", 128);
30924    MIMEBASE("application/x-object","icon_efm_file.png", "", 128);
30925    MIMEBASE("application/x-shellscript","icon_applications.png", "", 128);
30926    MIMEBASE("application/x-font-ttf","icon_mime_font_generic.png", ".TTF", 128);
30927    MIMEBASE("application/x-font-pcf","icon_mime_font_generic.png", ".PCF", 128);
30928    MIMEBASE("application/x-font-bdf","icon_mime_font_generic.png", ".BDF", 128);
30929
30930    // Custom icons with actions or specific behaviours
30931    images {
30932       image: "icon_wallpaper_center_flat.png" COMP;
30933       image: "icon_wallpaper_center.png" COMP;
30934       image: "icon_wallpaper_screen.png" COMP;
30935       image: "icon_wallpaper_grad_screen.png" COMP;
30936    }
30937    group {
30938       name: "e/icons/enlightenment/wallpaper_stretch";
30939       max: 24 24;
30940       parts {
30941          part {
30942             name: "bg";
30943             mouse_events: 0;
30944             description {
30945                state: "default" 0.0;
30946                rel1.to: "screen";
30947                rel2.to: "screen";
30948                image {
30949                   normal: "icon_wallpaper_center_flat.png";
30950                   border: 5 5 5 5;
30951                }
30952             }
30953          }
30954          part {
30955             name: "screen";
30956             mouse_events: 0;
30957             description {
30958                state: "default" 0.0;
30959                aspect: 1.0 1.0;
30960                aspect_preference: BOTH;
30961                image {
30962                   normal: "icon_wallpaper_screen.png";
30963                   border: 2 2 2 2;
30964                }
30965             }
30966          }
30967       }
30968    }
30969    group {
30970       name: "e/icons/enlightenment/wallpaper_tile";
30971       max: 24 24;
30972       parts {
30973          part {
30974             name: "bg";
30975             mouse_events: 0;
30976             description {
30977                state: "default" 0.0;
30978                rel1.to: "screen";
30979                rel2.to: "screen";
30980                image {
30981                   normal: "icon_wallpaper_center_flat.png";
30982                   border: 5 5 5 5;
30983                }
30984                fill {
30985                   size {
30986                      relative: 0.33 0.33;
30987                   }
30988                }
30989             }
30990          }
30991          part {
30992             name: "screen";
30993             mouse_events: 0;
30994             description {
30995                state: "default" 0.0;
30996                aspect: 1.0 1.0;
30997                aspect_preference: BOTH;
30998                image {
30999                   normal: "icon_wallpaper_screen.png";
31000                   border: 2 2 2 2;
31001                }
31002             }
31003          }
31004       }
31005    }
31006    group {
31007       name: "e/icons/enlightenment/wallpaper_center";
31008       max: 24 24;
31009       parts {
31010          part {
31011             name: "bg";
31012             mouse_events: 0;
31013             description {
31014                state: "default" 0.0;
31015                rel1.to: "screen";
31016                rel2.to: "screen";
31017                rel1.relative: 0.125 0.125;
31018                rel2.relative: 0.875 0.875;
31019                image {
31020                   normal: "icon_wallpaper_center.png";
31021                   border: 5 5 5 5;
31022                }
31023             }
31024          }
31025          part {
31026             name: "screen";
31027             mouse_events: 0;
31028             description {
31029                state: "default" 0.0;
31030                aspect: 1.0 1.0;
31031                aspect_preference: BOTH;
31032                image {
31033                   normal: "icon_wallpaper_screen.png";
31034                   border: 2 2 2 2;
31035                }
31036             }
31037          }
31038       }
31039    }
31040    group {
31041       name: "e/icons/enlightenment/wallpaper_scale_aspect_in";
31042       max: 24 24;
31043       parts {
31044          part {
31045             name: "bg";
31046             mouse_events: 0;
31047             description {
31048                state: "default" 0.0;
31049                aspect: 1.5 1.5;
31050                aspect_preference: BOTH;
31051                rel1.to: "screen";
31052                rel2.to: "screen";
31053                image {
31054                   normal: "icon_wallpaper_center.png";
31055                   border: 5 5 5 5;
31056                }
31057             }
31058          }
31059          part {
31060             name: "screen";
31061             mouse_events: 0;
31062             description {
31063                state: "default" 0.0;
31064                aspect: 1.0 1.0;
31065                aspect_preference: BOTH;
31066                image {
31067                   normal: "icon_wallpaper_screen.png";
31068                   border: 2 2 2 2;
31069                }
31070             }
31071          }
31072       }
31073    }
31074    group {
31075       name: "e/icons/enlightenment/wallpaper_scale_aspect_out";
31076       max: 24 24;
31077       parts {
31078          part {
31079             name: "bg";
31080             mouse_events: 0;
31081             description {
31082                state: "default" 0.0;
31083                aspect: 1.5 1.5;
31084                aspect_preference: NONE;
31085                image {
31086                   normal: "icon_wallpaper_center.png";
31087                   border: 5 5 5 5;
31088                }
31089             }
31090          }
31091          part {
31092             name: "screen";
31093             mouse_events: 0;
31094             description {
31095                state: "default" 0.0;
31096                aspect: 1.0 1.0;
31097                aspect_preference: BOTH;
31098                image {
31099                   normal: "icon_wallpaper_screen.png";
31100                   border: 2 2 2 2;
31101                }
31102             }
31103          }
31104       }
31105    }
31106    group {
31107       name: "e/icons/enlightenment/gradient_h";
31108       max: 24 24;
31109       parts {
31110 #if 0
31111          part {
31112             name: "bg";
31113             type: GRADIENT;
31114             mouse_events: 0;
31115             description {
31116                state: "default" 0.0;
31117                rel1.to: "screen";
31118                rel2.to: "screen";
31119                gradient {
31120                   spectrum: "black_to_trans";
31121                   rel1.relative: 0 0.5;
31122                   rel1.offset: 0 0;
31123                   rel2.relative: 1 0.5;
31124                   rel2.offset: -1 0;
31125                }
31126             }
31127          }
31128 #endif
31129          part {
31130             name: "screen";
31131             mouse_events: 0;
31132             description {
31133                state: "default" 0.0;
31134                aspect: 1.0 1.0;
31135                aspect_preference: BOTH;
31136                image {
31137                   normal: "icon_wallpaper_grad_screen.png";
31138                   border: 2 2 2 2;
31139                }
31140             }
31141          }
31142       }
31143    }
31144    group {
31145       name: "e/icons/enlightenment/gradient_v";
31146       max: 24 24;
31147       parts {
31148 #if 0
31149          part {
31150             name: "bg";
31151             type: GRADIENT;
31152             mouse_events: 0;
31153             description {
31154                state: "default" 0.0;
31155                rel1.to: "screen";
31156                rel2.to: "screen";
31157                gradient.spectrum: "black_to_trans";
31158             }
31159          }
31160 #endif
31161          part {
31162             name: "screen";
31163             mouse_events: 0;
31164             description {
31165                state: "default" 0.0;
31166                aspect: 1.0 1.0;
31167                aspect_preference: BOTH;
31168                image {
31169                   normal: "icon_wallpaper_grad_screen.png";
31170                   border: 2 2 2 2;
31171                }
31172             }
31173          }
31174       }
31175    }
31176    group {
31177       name: "e/icons/enlightenment/gradient_du";
31178       max: 24 24;
31179       parts {
31180 #if 0
31181          part {
31182             name: "bg";
31183             type: GRADIENT;
31184             mouse_events: 0;
31185             description {
31186                state: "default" 0.0;
31187                rel1.to: "screen";
31188                rel2.to: "screen";
31189                gradient {
31190                   spectrum: "black_to_trans";
31191                   rel1.relative: 0 1;
31192                   rel1.offset: 0 -1;
31193                   rel2.relative: 1 0;
31194                   rel2.offset: -1 0;
31195                }
31196             }
31197          }
31198 #endif
31199          part {
31200             name: "screen";
31201             mouse_events: 0;
31202             description {
31203                state: "default" 0.0;
31204                aspect: 1.0 1.0;
31205                aspect_preference: BOTH;
31206                image {
31207                   normal: "icon_wallpaper_grad_screen.png";
31208                   border: 2 2 2 2;
31209                }
31210             }
31211          }
31212       }
31213    }
31214    group {
31215       name: "e/icons/enlightenment/gradient_dd";
31216       max: 24 24;
31217       parts {
31218 #if 0
31219          part {
31220             name: "bg";
31221             type: GRADIENT;
31222             mouse_events: 0;
31223             description {
31224                state: "default" 0.0;
31225                rel1.to: "screen";
31226                rel2.to: "screen";
31227                gradient {
31228                   spectrum: "black_to_trans";
31229                   rel1.relative: 0 0;
31230                   rel1.offset: 0 0;
31231                   rel2.relative: 1 1;
31232                   rel2.offset: -1 -1;
31233                }
31234             }
31235          }
31236 #endif
31237          part {
31238             name: "screen";
31239             mouse_events: 0;
31240             description {
31241                state: "default" 0.0;
31242                aspect: 1.0 1.0;
31243                aspect_preference: BOTH;
31244                image {
31245                   normal: "icon_wallpaper_grad_screen.png";
31246                   border: 2 2 2 2;
31247                }
31248             }
31249          }
31250       }
31251    }
31252    group {
31253       name: "e/icons/enlightenment/gradient_rad";
31254       max: 24 24;
31255       parts {
31256 #if 0
31257          part {
31258             name: "bg";
31259             type: GRADIENT;
31260             mouse_events: 0;
31261             description {
31262                state: "default" 0.0;
31263                rel1.to: "screen";
31264                rel2.to: "screen";
31265                gradient {
31266                   spectrum: "black_to_trans";
31267                   type: "radial";
31268                }
31269                fill {
31270                   origin.relative: 0.5 0.5;
31271                }
31272             }
31273          }
31274 #endif
31275          part {
31276             name: "screen";
31277             mouse_events: 0;
31278             description {
31279                state: "default" 0.0;
31280                aspect: 1.0 1.0;
31281                aspect_preference: BOTH;
31282                image {
31283                   normal: "icon_wallpaper_grad_screen.png";
31284                   border: 2 2 2 2;
31285                }
31286             }
31287          }
31288       }
31289    }
31290
31291
31292 /////////////////////////////////////////////////////////////////////////////
31293 /*** INIT SPLASH ***/
31294
31295    /* this first group is used for the primary screen (or only screen) so in
31296     * a multi-monitor setup whichever is first (screen 0) will get this
31297     * splash on it */
31298
31299    group {
31300       name: "e/init/splash";
31301       /* images used */
31302       images {
31303          image: "exq-bglight.png" COMP;
31304          image: "exq-logo.png" COMP;
31305          image: "exq-dot.png" COMP;
31306          image: "exq-dot-glow.png" COMP;
31307       }
31308       script {
31309          public is_ready;
31310          public do_end;
31311       }
31312       parts {
31313          part {
31314             name: "base";
31315             type: RECT;
31316             description {
31317                state: "default" 0.0;
31318                color: 0 0 0 255;
31319             }
31320          }
31321          part {
31322             name: "light";
31323             description {
31324                state: "default" 0.0;
31325                align: 0.5 0.222222222;
31326                rel1.relative: 0.104166667 0.515625;
31327                rel2.relative: 0.895833333 0.796875;
31328                aspect: 2.111111111 2.111111111;
31329                aspect_preference: HORIZONTAL;
31330                max: 380 180;
31331                image.normal: "exq-bglight.png";
31332                color: 255 255 255 0;
31333             }
31334             description {
31335                state: "visible" 0.0;
31336                inherit: "default" 0.0;
31337                color: 255 255 255 255;
31338             }
31339          }
31340          part {
31341             name: "logoclip";
31342             type: RECT;
31343             description {
31344                state: "default" 0.0;
31345                visible: 0;
31346                color: 255 255 255 0;
31347             }
31348             description {
31349                state: "visible" 0.0;
31350                inherit: "default" 0.0;
31351                visible: 1;
31352                color: 255 255 255 255;
31353             }
31354          }
31355          part {
31356             name: "logo";
31357             clip_to: "logoclip";
31358             description {
31359                state: "default" 0.0;
31360                align: 0.5 0.774193548;
31361                rel1.relative: 0.272916667 0.315625;
31362                rel2.relative: 0.727083333 0.6546875;
31363                aspect: 0.557603687 0.557603687;
31364                aspect_preference: BOTH;
31365                max: 121 217;
31366                image.normal: "exq-logo.png";
31367             }
31368          }
31369          part {
31370             name: "e.text.title";
31371             type: TEXT;
31372             scale: 1;
31373             description {
31374                state: "default" 0.0;
31375                rel1 {
31376                   to_y: "logo";
31377                   relative: 0.05 -0.4;
31378                }
31379                rel2 {
31380                   to_y: "logo";
31381                   relative: 0.95 -0.2;
31382                }
31383                color: 255 255 255 0;
31384                text {
31385                   font: "Sans:style=Bold";
31386                   size: 16;
31387                   // fit: 0 1;
31388                   text_class: "init_title";
31389                }
31390             }
31391             description {
31392                state: "visible" 0.0;
31393                inherit: "default" 0.0;
31394                color: 255 255 255 255;
31395             }
31396          }
31397          part {
31398             name: "e.text.status";
31399             type: TEXT;
31400             scale: 1;
31401             description {
31402                state: "default" 0.0;
31403                rel1 {
31404                   to: "e.text.title";
31405                   relative: 0.0 1.0;
31406                }
31407                rel2 {
31408                   to: "e.text.title";
31409                   relative: 1.0 1.5;
31410                }
31411                color: 255 255 255 0;
31412                text {
31413                   font: "Sans";
31414                   size: 10;
31415                   // fit: 0 1;
31416                   text_class: "init_text";
31417                }
31418             }
31419             description {
31420                state: "visible" 0.0;
31421                inherit: "default" 0.0;
31422                color: 255 255 255 128;
31423             }
31424          }
31425          part {
31426             name: "e.text.version";
31427             type: TEXT;
31428             effect: SOFT_SHADOW;
31429             description {
31430                state: "default" 0.0;
31431                align: 1.0 1.0;
31432                rel1 {
31433                   relative: 1.0 1.0;
31434                   offset: -2  -2;
31435                }
31436                rel2 {
31437                   relative: 1.0 1.0;
31438                   offset: -2  -2;
31439                }
31440                color: 255 255 255 64;
31441                color3: 0 0 0 32;
31442                text {
31443                   text: "0.17.0";
31444                   font: "Sans";
31445                   size: 8;
31446                   min: 1 1;
31447                   align: 0.0 0.0;
31448                   text_class: "init_version";
31449                }
31450             }
31451          }
31452          part {
31453             name: "p0-0";
31454             description {
31455                state: "default" 0.0;
31456                min: 22 22;
31457                max: 22 22;
31458                rel1 {
31459                   to: "logo";
31460                   relative: -0.5 0.9;
31461                }
31462                rel2 {
31463                   to: "logo";
31464                   relative: -0.5 0.9;
31465                }
31466                image.normal: "exq-dot.png";
31467                color: 255 255 255 0;
31468             }
31469             description {
31470                state: "visible" 0.0;
31471                inherit: "default" 0.0;
31472                color: 255 255 255 255;
31473             }
31474             description {
31475                state: "visible2" 0.0;
31476                inherit: "default" 0.0;
31477                color: 255 255 255 255;
31478                rel1.relative: -0.5 0.8;
31479                rel2.relative: -0.5 0.8;
31480             }
31481          }
31482          part {
31483             name: "p0-1";
31484             description {
31485                state: "default" 0.0;
31486                image.normal: "exq-dot-glow.png";
31487                color: 255 255 255 0;
31488                rel1.to: "p0-0";
31489                rel2.to: "p0-0";
31490             }
31491             description {
31492                state: "visible" 0.0;
31493                inherit: "default" 0.0;
31494                color: 255 255 255 255;
31495             }
31496             description {
31497                state: "visible2" 0.0;
31498                inherit: "default" 0.0;
31499                color: 255 255 255 255;
31500             }
31501          }
31502          part {
31503             name: "p0-0.1";
31504             description {
31505                state: "default" 0.0;
31506                image.normal: "exq-dot-glow.png";
31507                color: 255 255 255 0;
31508                min: 22 11;
31509                max: 22 11;
31510                rel1 {
31511                   to_x: "p0-0";
31512                   to_y: "logo";
31513                   relative: 0.0 1.0;
31514                }
31515                rel2 {
31516                   to_x: "p0-0";
31517                   to_y: "logo";
31518                   relative: 1.0 1.0;
31519                }
31520             }
31521             description {
31522                state: "visible" 0.0;
31523                inherit: "default" 0.0;
31524                color: 255 255 255 16;
31525             }
31526             description {
31527                state: "visible2" 0.0;
31528                inherit: "default" 0.0;
31529                color: 255 255 255 4;
31530             }
31531          }
31532          part {
31533             name: "p0-0.2";
31534             description {
31535                state: "default" 0.0;
31536                min: 22 22;
31537                max: 22 22;
31538                rel1 {
31539                   to_x: "p0-0";
31540                   to_y: "logo";
31541                   relative: 0.0 1.1;
31542                }
31543                rel2 {
31544                   to_x: "p0-0";
31545                   to_y: "logo";
31546                   relative: 1.0 1.1;
31547                }
31548                image.normal: "exq-dot.png";
31549                color: 255 255 255 0;
31550             }
31551             description {
31552                state: "visible" 0.0;
31553                inherit: "default" 0.0;
31554                color: 255 255 255 16;
31555             }
31556             description {
31557                state: "visible2" 0.0;
31558                inherit: "default" 0.0;
31559                color: 255 255 255 4;
31560                rel1.relative: 0.0 1.2;
31561                rel2.relative: 1.0 1.2;
31562             }
31563          }
31564          part {
31565             name: "p1-0";
31566             description {
31567                state: "default" 0.0;
31568                min: 22 22;
31569                max: 22 22;
31570                rel1 {
31571                   to: "logo";
31572                   relative: 0.0 0.9;
31573                }
31574                rel2 {
31575                   to: "logo";
31576                   relative: 0.0 0.9;
31577                }
31578                image.normal: "exq-dot.png";
31579                color: 255 255 255 0;
31580             }
31581             description {
31582                state: "visible" 0.0;
31583                inherit: "default" 0.0;
31584                color: 255 255 255 255;
31585             }
31586             description {
31587                state: "visible2" 0.0;
31588                inherit: "default" 0.0;
31589                color: 255 255 255 255;
31590                rel1.relative: 0.0 0.8;
31591                rel2.relative: 0.0 0.8;
31592             }
31593          }
31594          part {
31595             name: "p1-1";
31596             description {
31597                state: "default" 0.0;
31598                image.normal: "exq-dot-glow.png";
31599                color: 255 255 255 0;
31600                rel1.to: "p1-0";
31601                rel2.to: "p1-0";
31602             }
31603             description {
31604                state: "visible" 0.0;
31605                inherit: "default" 0.0;
31606                color: 255 255 255 255;
31607             }
31608             description {
31609                state: "visible2" 0.0;
31610                inherit: "default" 0.0;
31611                color: 255 255 255 255;
31612             }
31613          }
31614          part {
31615             name: "p1-0.1";
31616             description {
31617                state: "default" 0.0;
31618                image.normal: "exq-dot-glow.png";
31619                color: 255 255 255 0;
31620                min: 22 11;
31621                max: 22 11;
31622                rel1 {
31623                   to_x: "p1-0";
31624                   to_y: "logo";
31625                   relative: 0.0 1.0;
31626                }
31627                rel2 {
31628                   to_x: "p1-0";
31629                   to_y: "logo";
31630                   relative: 1.0 1.0;
31631                }
31632             }
31633             description {
31634                state: "visible" 0.0;
31635                inherit: "default" 0.0;
31636                color: 255 255 255 16;
31637             }
31638             description {
31639                state: "visible2" 0.0;
31640                inherit: "default" 0.0;
31641                color: 255 255 255 4;
31642             }
31643          }
31644          part {
31645             name: "p1-0.2";
31646             description {
31647                state: "default" 0.0;
31648                min: 22 22;
31649                max: 22 22;
31650                rel1 {
31651                   to_x: "p1-0";
31652                   to_y: "logo";
31653                   relative: 0.0 1.1;
31654                }
31655                rel2 {
31656                   to_x: "p1-0";
31657                   to_y: "logo";
31658                   relative: 1.0 1.1;
31659                }
31660                image.normal: "exq-dot.png";
31661                color: 255 255 255 0;
31662             }
31663             description {
31664                state: "visible" 0.0;
31665                inherit: "default" 0.0;
31666                color: 255 255 255 16;
31667             }
31668             description {
31669                state: "visible2" 0.0;
31670                inherit: "default" 0.0;
31671                color: 255 255 255 4;
31672                rel1.relative: 0.0 1.2;
31673                rel2.relative: 1.0 1.2;
31674             }
31675          }
31676          part {
31677             name: "p2-0";
31678             description {
31679                state: "default" 0.0;
31680                min: 22 22;
31681                max: 22 22;
31682                rel1 {
31683                   to: "logo";
31684                   relative: 0.5 0.9;
31685                }
31686                rel2 {
31687                   to: "logo";
31688                   relative: 0.5 0.9;
31689                }
31690                image.normal: "exq-dot.png";
31691                color: 255 255 255 0;
31692             }
31693             description {
31694                state: "visible" 0.0;
31695                inherit: "default" 0.0;
31696                color: 255 255 255 255;
31697             }
31698             description {
31699                state: "visible2" 0.0;
31700                inherit: "default" 0.0;
31701                color: 255 255 255 255;
31702                rel1.relative: 0.5 0.8;
31703                rel2.relative: 0.5 0.8;
31704             }
31705          }
31706          part {
31707             name: "p2-1";
31708             description {
31709                state: "default" 0.0;
31710                image.normal: "exq-dot-glow.png";
31711                color: 255 255 255 0;
31712                rel1.to: "p2-0";
31713                rel2.to: "p2-0";
31714             }
31715             description {
31716                state: "visible" 0.0;
31717                inherit: "default" 0.0;
31718                color: 255 255 255 255;
31719             }
31720             description {
31721                state: "visible2" 0.0;
31722                inherit: "default" 0.0;
31723                color: 255 255 255 255;
31724             }
31725          }
31726          part {
31727             name: "p2-0.1";
31728             description {
31729                state: "default" 0.0;
31730                image.normal: "exq-dot-glow.png";
31731                color: 255 255 255 0;
31732                min: 22 11;
31733                max: 22 11;
31734                rel1 {
31735                   to_x: "p2-0";
31736                   to_y: "logo";
31737                   relative: 0.0 1.0;
31738                }
31739                rel2 {
31740                   to_x: "p2-0";
31741                   to_y: "logo";
31742                   relative: 1.0 1.0;
31743                }
31744             }
31745             description {
31746                state: "visible" 0.0;
31747                inherit: "default" 0.0;
31748                color: 255 255 255 16;
31749             }
31750             description {
31751                state: "visible2" 0.0;
31752                inherit: "default" 0.0;
31753                color: 255 255 255 4;
31754             }
31755          }
31756          part {
31757             name: "p2-0.2";
31758             description {
31759                state: "default" 0.0;
31760                min: 22 22;
31761                max: 22 22;
31762                rel1 {
31763                   to_x: "p2-0";
31764                   to_y: "logo";
31765                   relative: 0.0 1.1;
31766                }
31767                rel2 {
31768                   to_x: "p2-0";
31769                   to_y: "logo";
31770                   relative: 1.0 1.1;
31771                }
31772                image.normal: "exq-dot.png";
31773                color: 255 255 255 0;
31774             }
31775             description {
31776                state: "visible" 0.0;
31777                inherit: "default" 0.0;
31778                color: 255 255 255 16;
31779             }
31780             description {
31781                state: "visible2" 0.0;
31782                inherit: "default" 0.0;
31783                color: 255 255 255 4;
31784                rel1.relative: 0.0 1.2;
31785                rel2.relative: 1.0 1.2;
31786             }
31787          }
31788          part {
31789             name: "p3-0";
31790             description {
31791                state: "default" 0.0;
31792                min: 22 22;
31793                max: 22 22;
31794                rel1 {
31795                   to: "logo";
31796                   relative: 1.0 0.9;
31797                }
31798                rel2 {
31799                   to: "logo";
31800                   relative: 1.0 0.9;
31801                }
31802                image.normal: "exq-dot.png";
31803                color: 255 255 255 0;
31804             }
31805             description {
31806                state: "visible" 0.0;
31807                inherit: "default" 0.0;
31808                color: 255 255 255 255;
31809             }
31810             description {
31811                state: "visible2" 0.0;
31812                inherit: "default" 0.0;
31813                color: 255 255 255 255;
31814                rel1.relative: 1.0 0.8;
31815                rel2.relative: 1.0 0.8;
31816             }
31817          }
31818          part {
31819             name: "p3-1";
31820             description {
31821                state: "default" 0.0;
31822                image.normal: "exq-dot-glow.png";
31823                color: 255 255 255 0;
31824                rel1.to: "p3-0";
31825                rel2.to: "p3-0";
31826             }
31827             description {
31828                state: "visible" 0.0;
31829                inherit: "default" 0.0;
31830                color: 255 255 255 255;
31831             }
31832             description {
31833                state: "visible2" 0.0;
31834                inherit: "default" 0.0;
31835                color: 255 255 255 255;
31836             }
31837          }
31838          part {
31839             name: "p3-0.1";
31840             description {
31841                state: "default" 0.0;
31842                image.normal: "exq-dot-glow.png";
31843                color: 255 255 255 0;
31844                min: 22 11;
31845                max: 22 11;
31846                rel1 {
31847                   to_x: "p3-0";
31848                   to_y: "logo";
31849                   relative: 0.0 1.0;
31850                }
31851                rel2 {
31852                   to_x: "p3-0";
31853                   to_y: "logo";
31854                   relative: 1.0 1.0;
31855                }
31856             }
31857             description {
31858                state: "visible" 0.0;
31859                inherit: "default" 0.0;
31860                color: 255 255 255 16;
31861             }
31862             description {
31863                state: "visible2" 0.0;
31864                inherit: "default" 0.0;
31865                color: 255 255 255 4;
31866             }
31867          }
31868          part {
31869             name: "p3-0.2";
31870             description {
31871                state: "default" 0.0;
31872                min: 22 22;
31873                max: 22 22;
31874                rel1 {
31875                   to_x: "p3-0";
31876                   to_y: "logo";
31877                   relative: 0.0 1.1;
31878                }
31879                rel2 {
31880                   to_x: "p3-0";
31881                   to_y: "logo";
31882                   relative: 1.0 1.1;
31883                }
31884                image.normal: "exq-dot.png";
31885                color: 255 255 255 0;
31886             }
31887             description {
31888                state: "visible" 0.0;
31889                inherit: "default" 0.0;
31890                color: 255 255 255 16;
31891             }
31892             description {
31893                state: "visible2" 0.0;
31894                inherit: "default" 0.0;
31895                color: 255 255 255 4;
31896                rel1.relative: 0.0 1.2;
31897                rel2.relative: 1.0 1.2;
31898             }
31899          }
31900          part {
31901             name: "p4-0";
31902             description {
31903                state: "default" 0.0;
31904                min: 22 22;
31905                max: 22 22;
31906                rel1 {
31907                   to: "logo";
31908                   relative: 1.5 0.9;
31909                }
31910                rel2 {
31911                   to: "logo";
31912                   relative: 1.5 0.9;
31913                }
31914                image.normal: "exq-dot.png";
31915                color: 255 255 255 0;
31916             }
31917             description {
31918                state: "visible" 0.0;
31919                inherit: "default" 0.0;
31920                color: 255 255 255 255;
31921             }
31922             description {
31923                state: "visible2" 0.0;
31924                inherit: "default" 0.0;
31925                color: 255 255 255 255;
31926                rel1.relative: 1.5 0.8;
31927                rel2.relative: 1.5 0.8;
31928             }
31929          }
31930          part {
31931             name: "p4-1";
31932             description {
31933                state: "default" 0.0;
31934                image.normal: "exq-dot-glow.png";
31935                color: 255 255 255 0;
31936                rel1.to: "p4-0";
31937                rel2.to: "p4-0";
31938             }
31939             description {
31940                state: "visible" 0.0;
31941                inherit: "default" 0.0;
31942                color: 255 255 255 255;
31943             }
31944             description {
31945                state: "visible2" 0.0;
31946                inherit: "default" 0.0;
31947                color: 255 255 255 255;
31948             }
31949          }
31950          part {
31951             name: "p4-0.1";
31952             description {
31953                state: "default" 0.0;
31954                image.normal: "exq-dot-glow.png";
31955                color: 255 255 255 0;
31956                min: 22 11;
31957                max: 22 11;
31958                rel1 {
31959                   to_x: "p4-0";
31960                   to_y: "logo";
31961                   relative: 0.0 1.0;
31962                }
31963                rel2 {
31964                   to_x: "p4-0";
31965                   to_y: "logo";
31966                   relative: 1.0 1.0;
31967                }
31968             }
31969             description {
31970                state: "visible" 0.0;
31971                inherit: "default" 0.0;
31972                color: 255 255 255 16;
31973             }
31974             description {
31975                state: "visible2" 0.0;
31976                inherit: "default" 0.0;
31977                color: 255 255 255 4;
31978             }
31979          }
31980          part {
31981             name: "p4-0.2";
31982             description {
31983                state: "default" 0.0;
31984                min: 22 22;
31985                max: 22 22;
31986                rel1 {
31987                   to_x: "p4-0";
31988                   to_y: "logo";
31989                   relative: 0.0 1.1;
31990                }
31991                rel2 {
31992                   to_x: "p4-0";
31993                   to_y: "logo";
31994                   relative: 1.0 1.1;
31995                }
31996                image.normal: "exq-dot.png";
31997                color: 255 255 255 0;
31998             }
31999             description {
32000                state: "visible" 0.0;
32001                inherit: "default" 0.0;
32002                color: 255 255 255 16;
32003             }
32004             description {
32005                state: "visible2" 0.0;
32006                inherit: "default" 0.0;
32007                color: 255 255 255 4;
32008                rel1.relative: 0.0 1.2;
32009                rel2.relative: 1.0 1.2;
32010             }
32011          }
32012       }
32013       programs {
32014          program {
32015             name: "init";
32016             signal: "load";
32017             source: "";
32018             script {
32019                set_int(is_ready, 0);
32020                set_int(do_end, 0);
32021             }
32022          }
32023          program {
32024             name: "show1";
32025             signal: "show";
32026             source: "";
32027             action: STATE_SET "visible" 0.0;
32028             transition: LINEAR 0.3;
32029             target: "light";
32030          }
32031          program {
32032             name: "show2";
32033             signal: "show";
32034             source: "";
32035             in: 0.1 0.0;
32036             action: STATE_SET "visible" 0.0;
32037             transition: LINEAR 0.4;
32038             target: "logoclip";
32039             target: "e.text.title";
32040          }
32041          program {
32042             name: "show3";
32043             signal: "show";
32044             source: "";
32045             action: STATE_SET "visible" 0.0;
32046             transition: LINEAR 0.2;
32047             target: "p0-0";
32048             target: "p0-0.1";
32049             target: "p0-0.2";
32050             target: "p1-0";
32051             target: "p1-0.1";
32052             target: "p1-0.2";
32053             target: "p2-0";
32054             target: "p2-0.1";
32055             target: "p2-0.2";
32056             target: "p3-0";
32057             target: "p3-0.1";
32058             target: "p3-0.2";
32059             target: "p4-0";
32060             target: "p4-0.1";
32061             target: "p4-0.2";
32062             target: "e.text.status";
32063             after: "pulsate1";
32064             after: "pulsate1.2";
32065             after: "pulsate2";
32066             after: "pulsate2.2";
32067             after: "pulsate3";
32068             after: "pulsate3.2";
32069             after: "pulsate4";
32070             after: "pulsate4.2";
32071             after: "pulsate5";
32072             after: "pulsate5.2";
32073             after: "ready";
32074          }
32075          program {
32076             name: "pulsate1";
32077             action: STATE_SET "visible" 0.0;
32078             transition: SINUSOIDAL 0.5;
32079             in: 0.2 0.2;
32080             after: "pulsate1.1";
32081             target: "p0-1";
32082          }
32083          program {
32084             name: "pulsate1.1";
32085             action: STATE_SET "default" 0.0;
32086             transition: SINUSOIDAL 0.5;
32087             after: "pulsate1";
32088             target: "p0-1";
32089          }
32090          program {
32091             name: "pulsate1.2";
32092             action: STATE_SET "visible2" 0.0;
32093             transition: SINUSOIDAL 0.6;
32094             in: 0.2 0.2;
32095             after: "pulsate1.2.1";
32096             target: "p0-0";
32097             target: "p0-0.1";
32098             target: "p0-0.2";
32099          }
32100          program {
32101             name: "pulsate1.2.1";
32102             action: STATE_SET "visible" 0.0;
32103             transition: SINUSOIDAL 0.7;
32104             after: "pulsate1.2";
32105             target: "p0-0";
32106             target: "p0-0.1";
32107             target: "p0-0.2";
32108          }
32109          program {
32110             name: "pulsate2";
32111             action: STATE_SET "visible" 0.0;
32112             transition: SINUSOIDAL 0.5;
32113             in: 0.2 0.2;
32114             after: "pulsate2.1";
32115             target: "p1-1";
32116          }
32117          program {
32118             name: "pulsate2.1";
32119             action: STATE_SET "default" 0.0;
32120             transition: SINUSOIDAL 0.5;
32121             after: "pulsate2";
32122             target: "p1-1";
32123          }
32124          program {
32125             name: "pulsate2.2";
32126             action: STATE_SET "visible2" 0.0;
32127             transition: SINUSOIDAL 0.6;
32128             in: 0.2 0.2;
32129             after: "pulsate2.2.1";
32130             target: "p1-0";
32131             target: "p1-0.1";
32132             target: "p1-0.2";
32133          }
32134          program {
32135             name: "pulsate2.2.1";
32136             action: STATE_SET "visible" 0.0;
32137             transition: SINUSOIDAL 0.7;
32138             after: "pulsate2.2";
32139             target: "p1-0";
32140             target: "p1-0.1";
32141             target: "p1-0.2";
32142          }
32143          program {
32144             name: "pulsate3";
32145             action: STATE_SET "visible" 0.0;
32146             transition: SINUSOIDAL 0.5;
32147             in: 0.2 0.2;
32148             after: "pulsate3.1";
32149             target: "p2-1";
32150          }
32151          program {
32152             name: "pulsate3.1";
32153             action: STATE_SET "default" 0.0;
32154             transition: SINUSOIDAL 0.5;
32155             after: "pulsate3";
32156             target: "p2-1";
32157          }
32158          program {
32159             name: "pulsate3.2";
32160             action: STATE_SET "visible2" 0.0;
32161             transition: SINUSOIDAL 0.6;
32162             in: 0.2 0.2;
32163             after: "pulsate3.2.1";
32164             target: "p2-0";
32165             target: "p2-0.1";
32166             target: "p2-0.2";
32167          }
32168          program {
32169             name: "pulsate3.2.1";
32170             action: STATE_SET "visible" 0.0;
32171             transition: SINUSOIDAL 0.7;
32172             after: "pulsate3.2";
32173             target: "p2-0";
32174             target: "p2-0.1";
32175             target: "p2-0.2";
32176          }
32177          program {
32178             name: "pulsate4";
32179             action: STATE_SET "visible" 0.0;
32180             transition: SINUSOIDAL 0.5;
32181             in: 0.2 0.2;
32182             after: "pulsate4.1";
32183             target: "p3-1";
32184          }
32185          program {
32186             name: "pulsate4.1";
32187             action: STATE_SET "default" 0.0;
32188             transition: SINUSOIDAL 0.5;
32189             after: "pulsate4";
32190             target: "p3-1";
32191          }
32192          program {
32193             name: "pulsate4.2";
32194             action: STATE_SET "visible2" 0.0;
32195             transition: SINUSOIDAL 0.6;
32196             in: 0.2 0.2;
32197             after: "pulsate4.2.1";
32198             target: "p3-0";
32199             target: "p3-0.1";
32200             target: "p3-0.2";
32201          }
32202          program {
32203             name: "pulsate4.2.1";
32204             action: STATE_SET "visible" 0.0;
32205             transition: SINUSOIDAL 0.7;
32206             after: "pulsate4.2";
32207             target: "p3-0";
32208             target: "p3-0.1";
32209             target: "p3-0.2";
32210          }
32211          program {
32212             name: "pulsate5";
32213             action: STATE_SET "visible" 0.0;
32214             transition: SINUSOIDAL 0.5;
32215             in: 0.2 0.2;
32216             after: "pulsate5.1";
32217             target: "p4-1";
32218          }
32219          program {
32220             name: "pulsate5.1";
32221             action: STATE_SET "default" 0.0;
32222             transition: SINUSOIDAL 0.5;
32223             after: "pulsate5";
32224             target: "p4-1";
32225          }
32226          program {
32227             name: "pulsate5.2";
32228             action: STATE_SET "visible2" 0.0;
32229             transition: SINUSOIDAL 0.6;
32230             in: 0.2 0.2;
32231             after: "pulsate5.2.1";
32232             target: "p4-0";
32233             target: "p4-0.1";
32234             target: "p4-0.2";
32235          }
32236          program {
32237             name: "pulsate5.2.1";
32238             action: STATE_SET "visible" 0.0;
32239             transition: SINUSOIDAL 0.7;
32240             after: "pulsate5.2";
32241             target: "p4-0";
32242             target: "p4-0.1";
32243             target: "p4-0.2";
32244          }
32245          program {
32246             name: "exit1";
32247             action: STATE_SET "default" 0.0;
32248             transition: ACCELERATE 2.0;
32249             target: "light";
32250             target: "logoclip";
32251             after: "exit4";
32252          }
32253          program {
32254             name: "exit4";
32255             action: SIGNAL_EMIT "e,state,done_ok" "e";
32256          }
32257          program {
32258             name: "ready";
32259             script {
32260                new val;
32261                val = get_int(do_end);
32262                if (val == 1)
32263                   run_program(PROGRAM:"exit1"); 
32264                else
32265                   set_int(is_ready, 1);
32266             }
32267          }
32268          program {
32269             name: "done1";
32270             /* when e tells the splash screen it is done
32271              * starting up, the init splash gets this signal */
32272             signal: "e,state,done";
32273             source: "e";
32274             script {
32275                new val;
32276                val = get_int(is_ready);
32277                if (val == 1)
32278                   run_program(PROGRAM:"exit1"); 
32279                else
32280                   set_int(do_end, 1);
32281             }
32282          }
32283       }
32284    }
32285    /* this group is used for other screens/xinerama zones etc. other than
32286     * the primary as only the primary shows the full splash - this just
32287     * shows the below image. it can animate etc. but not display status
32288     * etc. */
32289    group {
32290       name: "e/init/extra_screen";
32291       parts {
32292          part {
32293             name: "base";
32294             type: RECT;
32295             description {
32296                state: "default" 0.0;
32297                color: 0 0 0 255;
32298             }
32299          }
32300       }
32301    }
32302
32303
32304 /////////////////////////////////////////////////////////////////////////////
32305 /*** WALLPAPER MAIN DIALOG ***/
32306
32307    group {
32308       name: "e/conf/wallpaper/main/window";
32309       images {
32310          image: "dia_grad.png" COMP;
32311          image: "dia_topshad.png" COMP;
32312          image: "dia_botshad.png" COMP;
32313          image: "dia_botshad.png" COMP;
32314          image: "topsh.png" COMP;
32315          image: "wp-bot1.png" COMP;
32316          image: "wp-bot2.png" COMP;
32317          image: "wp-tb1.png" COMP;
32318          image: "wp-tb2.png" COMP;
32319          image: "wp-tb3.png" COMP;
32320          image: "wp-tbs.png" COMP;
32321          image: "big_arrow_up.png" COMP;
32322          image: "busy-1.png" COMP;
32323          image: "busy-2.png" COMP;
32324          image: "busy-3.png" COMP;
32325          image: "busy-4.png" COMP;
32326          image: "busy-5.png" COMP;
32327          image: "busy-6.png" COMP;
32328          image: "busy-7.png" COMP;
32329          image: "busy-8.png" COMP;
32330          image: "busy-9.png" COMP;
32331       }
32332       parts {
32333          part {
32334             name: "base";
32335             mouse_events: 0;
32336             description {
32337                state: "default" 0.0;
32338                color_class: "dialog_base";
32339                image.normal: "dia_grad.png";
32340                fill {
32341                   smooth: 0;
32342                   size {
32343                      relative: 0.0 1.0;
32344                      offset: 64 0;
32345                   }
32346                }
32347             }
32348          }
32349          part {
32350             name: "e.swallow.preview";
32351             type: SWALLOW;
32352             description {
32353                state: "default" 0.0;
32354             }
32355          }
32356          part {
32357             name: "events";
32358             type: RECT;
32359             description {
32360                state: "default" 0.0;
32361                color: 0 0 0 0;
32362             }
32363          }
32364          part {
32365             name: "e.swallow.list";
32366             type: SWALLOW;
32367             description {
32368                state: "default" 0.0;
32369                rel1 {
32370                   relative: 0.0 0.0;
32371                   offset: 2   2;
32372                }
32373                rel2 {
32374                   relative: 1.0 0.0;
32375                   offset: -3  6;
32376                   to_y: "bot1";
32377                }
32378             }
32379          }
32380          part {
32381             name: "bot1";
32382             mouse_events: 0;
32383             description {
32384                state: "default" 0.0;
32385                color_class: "dialog_base";
32386                rel1 {
32387                   to_y: "e.swallow.buttons";
32388                   relative: 0.0 0.0;
32389                   offset: 0 -15;
32390                }
32391                rel2 {
32392                   relative: 1.0 1.0;
32393                   offset: -1 -1;
32394                }
32395                image {
32396                   normal: "wp-bot1.png";
32397                   border: 0 0 21 0;
32398                }
32399                fill {
32400                   smooth: 0;
32401                   size {
32402                      relative: 0.0 1.0;
32403                      offset: 32 0;
32404                   }
32405                }
32406             }
32407          }
32408          part {
32409             name: "e.text.filename";
32410             type: TEXT;
32411             effect: SOFT_SHADOW;
32412             mouse_events: 0;
32413             scale: 1;
32414             description {
32415                state: "default" 0.0;
32416                align: 0.5 1.0;
32417                fixed: 0 1;
32418                rel1 {
32419                   to: "bot2";
32420                   relative: 0.0 1.0;
32421                   offset: 2 -11;
32422                }
32423                rel2 {
32424                   to: "bot2";
32425                   relative: 1.0 1.0;
32426                   offset: -3 -11;
32427                }
32428                color: 255 255 255 255;
32429                color3: 0 0 0 32;
32430                text {
32431                   font: "Sans:style=Bold";
32432                   size: 10;
32433                   min: 1 1;
32434                   align: 0.5 1.0;
32435                }
32436             }
32437          }
32438          part {
32439             name: "e.swallow.buttons";
32440             type: SWALLOW;
32441             description {
32442                state: "default" 0.0;
32443                align: 1.0 1.0;
32444                fixed: 1 1;
32445                rel1 {
32446                   to_y: "bot2";
32447                   relative: 1.0 0.0;
32448                   offset: -5   1;
32449                }
32450                rel2 {
32451                   to_y: "bot2";
32452                   relative: 1.0 0.0;
32453                   offset: -5  1;
32454                }
32455             }
32456          }
32457          part {
32458             name: "tbs";
32459             mouse_events: 0;
32460             description {
32461                state: "default" 0.0;
32462                rel1 {
32463                   relative: 0.0 1.0;
32464                   offset: 0 -1;
32465                }
32466                rel2 {
32467                   relative: 0.0 1.0;
32468                   offset: 0 -1;
32469                }
32470                image.normal: "wp-tbs.png";
32471                fill.smooth: 0;
32472             }
32473             description {
32474                state: "out" 0.0;
32475                inherit: "default" 0.0;
32476                rel1 {
32477                   to_y: "tb1";
32478                   relative: 0.0 0.0;
32479                   offset: 0 -100;
32480                }
32481                rel2 {
32482                   to_x: "tb3";
32483                   relative: 1.0 1.0;
32484                   offset: 200 -1;
32485                }
32486             }
32487          }
32488          part {
32489             name: "cover";
32490             type: RECT;
32491             description {
32492                state: "default" 0.0;
32493                color: 0 0 0 0;
32494                visible: 0;
32495             }
32496             description {
32497                state: "out" 0.0;
32498                inherit: "default" 0.0;
32499                visible: 1;
32500             }
32501          }
32502          part {
32503             name: "tb1";
32504             description {
32505                state: "default" 0.0;
32506                color_class: "dialog_base";
32507                rel1 {
32508                   to_x: "tb2";
32509                   to_y: "aup";
32510                   relative: 0.0 0.0;
32511                   offset: 0 -6;
32512                }
32513                rel2 {
32514                   to_x: "aup";
32515                   to_y: "tb2";
32516                   relative: 1.0 0.0;
32517                   offset: 15 -1;
32518                }
32519                image {
32520                   normal: "wp-tb1.png";
32521                   border: 2 11 3 0;
32522                }
32523                fill.smooth: 0;
32524             }
32525          }
32526          part {
32527             name: "tb2";
32528             description {
32529                state: "default" 0.0;
32530                color_class: "dialog_base";
32531                rel1 {
32532                   to_x: "e.swallow.extras";
32533                   to_y: "e.swallow.extras";
32534                   relative: 0.0 0.0;
32535                   offset: -4 -7;
32536                }
32537                rel2 {
32538                   to_x: "e.swallow.extras";
32539                   to_y: "e.swallow.extras";
32540                   relative: 1.0 1.0;
32541                   offset: -10 3;
32542                }
32543                image {
32544                   normal: "wp-tb2.png";
32545                   border: 2 2 4 0;
32546                }
32547                fill.smooth: 0;
32548             }
32549          }
32550          part {
32551             name: "tb3";
32552             description {
32553                state: "default" 0.0;
32554                color_class: "dialog_base";
32555                rel1 {
32556                   to_x: "tb2";
32557                   to_y: "tb2";
32558                   relative: 1.0 0.0;
32559                   offset: 0 0;
32560                }
32561                rel2 {
32562                   to_x: "e.swallow.extras";
32563                   to_y: "tb2";
32564                   relative: 1.0 1.0;
32565                   offset: 18 -1;
32566                }
32567                image {
32568                   normal: "wp-tb3.png";
32569                   border: 10 12 4 0;
32570                }
32571                fill.smooth: 0;
32572             }
32573          }
32574          part {
32575             name: "e.swallow.extras";
32576             type: SWALLOW;
32577             description {
32578                state: "default" 0.0;
32579                align: 0.0 0.0;
32580                fixed: 1 1;
32581                rel1 {
32582                   relative: 0.0 1.0;
32583                   offset: 4 0;
32584                }
32585                rel2 {
32586                   relative: 0.0 1.0;
32587                   offset: 4 0;
32588                }
32589             }
32590             description {
32591                state: "out" 0.0;
32592                inherit: "default" 0.0;
32593                align: 0.0 1.0;
32594                rel1 {
32595                   relative: 0.0 1.0;
32596                   offset: 4 -10;
32597                }
32598                rel2 {
32599                   relative: 0.0 1.0;
32600                   offset: 4 -10;
32601                }
32602             }
32603          }
32604          part {
32605             name: "aup";
32606             mouse_events: 0;
32607             description {
32608                state: "default" 0.0;
32609                fixed: 1 1;
32610                align: 0.0 1.0;
32611                min: 22 22;
32612                max: 22 22;
32613                rel1 {
32614                   to_x: "tb2";
32615                   to_y: "tb2";
32616                   relative: 0.0 0.0;
32617                   offset: 5 -5;
32618                }
32619                rel2 {
32620                   to_x: "tb2";
32621                   to_y: "tb2";
32622                   relative: 0.0 0.0;
32623                   offset: 5 -3;
32624                }
32625                image.normal: "big_arrow_up.png";
32626             }
32627          }
32628          part {
32629             name: "ain";
32630             type: RECT;
32631             description {
32632                state: "default" 0.0;
32633                rel1.to: "aup";
32634                rel2.to: "aup";
32635                color: 0 0 0 0;
32636             }
32637          }
32638          part {
32639             name: "aout";
32640             type: RECT;
32641             description {
32642                state: "default" 0.0;
32643                rel1.to: "aup";
32644                rel2.to: "aup";
32645                color: 0 0 0 0;
32646             }
32647             description {
32648                state: "out" 0.0;
32649                inherit: "default" 0.0;
32650                visible: 0;
32651             }
32652          }
32653          part {
32654             name: "bot2";
32655             mouse_events: 0;
32656             description {
32657                state: "default" 0.0;
32658                color_class: "dialog_base";
32659                rel1 {
32660                   relative: 0.0 1.0;
32661                   offset: 0 -16;
32662                }
32663                rel2 {
32664                   relative: 1.0 1.0;
32665                   offset: -1 -1;
32666                }
32667                image {
32668                   normal: "wp-bot2.png";
32669                }
32670                fill {
32671                   smooth: 0;
32672                   size {
32673                      relative: 0.0 1.0;
32674                      offset: 32 0;
32675                   }
32676                }
32677             }
32678          }
32679          part {
32680             name: "shadow1";
32681             mouse_events: 0;
32682             scale: 1;
32683             description {
32684                state: "default" 0.0;
32685                image.normal: "topsh.png";
32686                align: 0.0 0.0;
32687                min: 1 16;
32688                max: 99999 16;
32689                fill.smooth: 0;
32690             }
32691          }
32692          part {
32693             name: "shadow2";
32694             mouse_events: 0;
32695             description {
32696                state: "default" 0.0;
32697                rel1.relative: 0.0 1.0;
32698                rel1.offset: 0 -4;
32699                image.normal: "dia_botshad.png";
32700                fill {
32701                   smooth: 0;
32702                   size {
32703                      relative: 0.0 1.0;
32704                      offset: 64 0;
32705                   }
32706                }
32707             }
32708          }
32709          part {
32710             name: "busy_clip";
32711             type: RECT;
32712             description {
32713                state: "default" 0.0;
32714                visible: 0;
32715                color: 255 255 255 0;
32716             }
32717             description {
32718                state: "visible" 0.0;
32719                visible: 1;
32720                color: 255 255 255 255;
32721             }
32722          }
32723          part {
32724             name: "e.text.busy_label";
32725             type: TEXT;
32726             effect: SOFT_SHADOW;
32727             clip_to: "busy_clip";
32728             mouse_events: 0;
32729             scale: 1;
32730             description {
32731                state: "default" 0.0;
32732                fixed: 0 1;
32733                align: 0.5 0.0;
32734                rel1 {
32735                   to: "busy";
32736                   relative: 0.0 1.0;
32737                   offset: 0 4;
32738                }
32739                rel2 {
32740                   to: "busy";
32741                   relative: 1.0 1.0;
32742                   offset: -1 4;
32743                }
32744                color: 255 255 255 255;
32745                color3: 0 0 0 32;
32746                text {
32747                   font: "Sans:style=Bold";
32748                   size: 10;
32749                   min: 1 1;
32750                   align: 0.5 0.0;
32751                }
32752             }
32753          }
32754          part {
32755             name: "busy";
32756             mouse_events: 0;
32757             clip_to: "busy_clip";
32758             description {
32759                state: "default" 0.0;
32760                fixed: 1 1;
32761                min: 32 32;
32762                max: 32 32;
32763                aspect: 1.0 1.0;
32764                aspect_preference: BOTH;
32765                rel1 {
32766                   relative: 0.5 0.5;
32767                   offset: 0 0;
32768                }
32769                rel2 {
32770                   relative: 0.5 0.5;
32771                   offset: -1 1;
32772                }
32773                image {
32774                   normal: "busy-9.png";
32775                   tween: "busy-1.png";
32776                   tween: "busy-2.png";
32777                   tween: "busy-3.png";
32778                   tween: "busy-4.png";
32779                   tween: "busy-5.png";
32780                   tween: "busy-6.png";
32781                   tween: "busy-7.png";
32782                   tween: "busy-8.png";
32783                }
32784             }
32785          }
32786       }
32787       programs {
32788          program {
32789             name: "send_click";
32790             signal: "mouse,up,1";
32791             source: "events";
32792             action: SIGNAL_EMIT "e,action,click" "e";
32793          }
32794          program {
32795             name: "outb";
32796             signal: "mouse,down,1";
32797             source: "aout";
32798             action: SIGNAL_EMIT "e,action,panel,show" "e";
32799          }
32800          program {
32801             name: "out";
32802             signal: "e,action,panel,show";
32803             source: "e";
32804             action: STATE_SET "out" 0.0;
32805             target: "aout";
32806             target: "cover";
32807             after: "out2";
32808          }
32809          program {
32810             name: "out2";
32811             action: STATE_SET "out" 0.0;
32812             target: "e.swallow.extras";
32813             target: "tbs";
32814             transition: DECELERATE 0.5;
32815          }
32816          program {
32817             name: "in0";
32818             signal: "mouse,down,1";
32819             source: "cover";
32820             action: STATE_SET "default" 0.0;
32821             target: "aout";
32822             target: "cover";
32823             after: "in2";
32824          }
32825          program {
32826             name: "inb";
32827             signal: "mouse,down,1";
32828             source: "ain";
32829             action: SIGNAL_EMIT "e,action,panel,hide" "e";
32830          }
32831          program {
32832             name: "in";
32833             signal: "e,action,panel,hide";
32834             source: "e";
32835             action: STATE_SET "default" 0.0;
32836             target: "aout";
32837             after: "in2";
32838          }
32839          program {
32840             name: "in2";
32841             action: STATE_SET "default" 0.0;
32842             target: "e.swallow.extras";
32843             target: "tbs";
32844             target: "cover";
32845             transition: DECELERATE 1.0;
32846          }
32847          program {
32848             name: "busy1";
32849             signal: "e,state,busy,on";
32850             source: "e";
32851             action: STATE_SET "visible" 0.0;
32852             transition: LINEAR 1.0;
32853             target: "busy_clip";
32854          }
32855          program {
32856             name: "busy_anim";
32857             signal: "e,state,busy,on";
32858             source: "e";
32859             action: STATE_SET "default" 0.0;
32860             transition: LINEAR 0.3333;
32861             target: "busy";
32862             after: "busy_anim";
32863          }
32864          program {
32865             name: "busy2";
32866             signal: "e,state,busy,off";
32867             source: "e";
32868             action: STATE_SET "default" 0.0;
32869             transition: LINEAR 1.0;
32870             target: "busy_clip";
32871             after: "busy3";
32872          }
32873          program {
32874             name: "busy3";
32875             action: ACTION_STOP;
32876             target: "busy_anim";
32877          }
32878       }
32879    }
32880    group {
32881       name: "e/conf/wallpaper/main/mini";
32882       images {
32883          image: "e17_mini_button_shadow2.png" COMP;
32884          image: "glow.png" COMP;
32885       }
32886       parts {
32887          part {
32888             name: "icon_box_shadow";
32889             mouse_events: 0;
32890             description {
32891                state: "default" 0.0;
32892                visible: 0;
32893                rel1 {
32894                   to: "base";
32895                   relative: 0.0 0.0;
32896                   offset: -3 -3;
32897                }
32898                rel2 {
32899                   to: "base";
32900                   relative: 1.0 1.0;
32901                   offset: 4 4;
32902                }
32903                fill {
32904                   smooth: 0;
32905                }
32906                image {
32907                   normal: "e17_mini_button_shadow2.png";
32908                   border: 6 6 6 6;
32909                }
32910             }
32911             description {
32912                state: "visible" 0.0;
32913                inherit: "default" 0.0;
32914                visible: 1;
32915             }
32916          }
32917          part {
32918             name: "glow";
32919             mouse_events: 0;
32920             description {
32921                state: "default" 0.0;
32922                visible: 0;
32923                rel1 {
32924                   to: "icon_box";
32925                   offset: -10 -10;
32926                }
32927                rel2 {
32928                   to: "icon_box";
32929                   offset: 9 9;
32930                }
32931                fill.smooth: 0;
32932                image {
32933                   normal: "glow.png";
32934                   border: 10 10 10 10;
32935                }
32936                color: 255 255 255 0;
32937             }
32938             description {
32939                state: "visible" 0.0;
32940                inherit: "default" 0.0;
32941                visible: 1;
32942                color: 255 255 255 255;
32943             }
32944          }
32945          part {
32946             name: "icon_box";
32947             type: RECT;
32948             mouse_events: 0;
32949             description {
32950                state: "default" 0.0;
32951                visible: 0;
32952                align: 0.5 0.5;
32953                rel1 {
32954                   to: "base";
32955                   relative: 0.0 0.0;
32956                   offset: -1 -1;
32957                }
32958                rel2 {
32959                   to: "base";
32960                   relative: 1.0 1.0;
32961                   offset: 0 0;
32962                }
32963                color: 0 0 0 64;
32964             }
32965             description {
32966                state: "visible" 0.0;
32967                inherit: "default" 0.0;
32968                visible: 1;
32969             }
32970          }
32971          part {
32972             name: "base";
32973             mouse_events: 0;
32974             type: RECT;
32975             description {
32976                state: "default" 0.0;
32977                visible: 0;
32978                rel1 {
32979                   to: "icon_zoom";
32980                   relative: 0.0 0.0;
32981                   offset: 4   4;
32982                }
32983                rel2 {
32984                   to: "icon_zoom";
32985                   relative: 1.0 1.0;
32986                   offset: -5  -5;
32987                }
32988                color: 255 255 255 255;
32989             }
32990             description {
32991                state: "visible" 0.0;
32992                inherit: "default" 0.0;
32993                visible: 1;
32994             }
32995          }
32996          part {
32997             name: "icon_zoom";
32998             type: RECT;
32999             mouse_events: 0;
33000             description {
33001                state: "default" 0.0;
33002                visible: 0;
33003                rel1.relative: 0.0 0.0;
33004                rel2.relative: 1.0 1.0;
33005             }
33006             description {
33007                state: "min" 0.0;
33008                inherit: "default" 0.0;
33009                rel1.relative: 0.5 0.5;
33010                rel2.relative: 0.5 0.5;
33011             }
33012             description {
33013                state: "max" 0.0;
33014                inherit: "default" 0.0;
33015                rel1.relative: -0.2 -0.2;
33016                rel2.relative: 1.2 1.2;
33017             }
33018             description {
33019                state: "max2" 0.0;
33020                inherit: "default" 0.0;
33021                rel1.relative: -0.05 -0.05;
33022                rel2.relative: 1.05 1.05;
33023             }
33024          }
33025          part {
33026             name: "e.swallow.content";
33027             type: SWALLOW;
33028             description {
33029                state: "default" 0.0;
33030                rel1 {
33031                   to: "base";
33032                   relative: 0.0 0.0;
33033                   offset: 2   2;
33034                }
33035                rel2 {
33036                   to: "base";
33037                   relative: 1.0 1.0;
33038                   offset: -3  -3;
33039                }
33040             }
33041          }
33042          part {
33043             name: "events";
33044             type: RECT;
33045             description {
33046                state: "default" 0.0;
33047                color: 0 0 0 0;
33048                visible: 0;
33049             }
33050             description {
33051                state: "visible" 0.0;
33052                inherit: "default" 0.0;
33053                visible: 1;
33054             }
33055          }
33056       }
33057       programs {
33058          program {
33059             name: "sel";
33060             signal: "e,state,selected";
33061             source: "e";
33062             action: STATE_SET "visible" 0.0;
33063             transition: DECELERATE 0.2;
33064             target: "glow";
33065          }
33066          program {
33067             name: "unsel";
33068             signal: "e,state,unselected";
33069             source: "e";
33070             action: STATE_SET "default" 0.0;
33071             transition: DECELERATE 1.0;
33072             target: "glow";
33073          }
33074          program {
33075             name: "thumb_gen";
33076             signal: "e,action,thumb,gen";
33077             source: "e";
33078             action: STATE_SET "visible" 0.0;
33079             target: "icon_box_shadow";
33080             target: "icon_box";
33081             target: "base";
33082             target: "icon_zoom";
33083             target: "e.swallow.content";
33084             target: "events";
33085             after: "thumb_gen2";
33086          }
33087          program {
33088             name: "thumb_gen2";
33089             action: STATE_SET "min" 0.0;
33090             target: "icon_zoom";
33091             after: "thumb_gen3";
33092          }
33093          program {
33094             name: "thumb_gen3";
33095             action: STATE_SET "max" 0.0;
33096             target: "icon_zoom";
33097             transition: DECELERATE 0.2;
33098             after: "thumb_gen4";
33099          }
33100          program {
33101             name: "thumb_gen4";
33102             action: STATE_SET "default" 0.0;
33103             target: "icon_zoom";
33104             transition: SINUSOIDAL 0.1;
33105             after: "thumb_gen5";
33106          }
33107          program {
33108             name: "thumb_gen5";
33109             action: STATE_SET "max2" 0.0;
33110             target: "icon_zoom";
33111             transition: SINUSOIDAL 0.2;
33112             after: "thumb_gen6";
33113          }
33114          program {
33115             name: "thumb_gen6";
33116             action: STATE_SET "default" 0.0;
33117             target: "icon_zoom";
33118             transition: SINUSOIDAL 0.3;
33119          }
33120          program {
33121             name: "thumb_ungen";
33122             signal: "e,action,thumb,ungen";
33123             source: "e";
33124             action: STATE_SET "default" 0.0;
33125             target: "icon_box_shadow";
33126             target: "icon_box";
33127             target: "base";
33128             target: "icon_zoom";
33129             target: "e.swallow.content";
33130             target: "events";
33131             target: "glow";
33132             after: "thumb_gen2";
33133          }
33134       }
33135    }
33136    group {
33137       name: "e/conf/wallpaper/main/mini-theme";
33138       images {
33139          image: "e17_mini_button_shadow2.png" COMP;
33140          image: "theme-label.png" COMP;
33141          image: "glow.png" COMP;
33142       }
33143       parts {
33144          part {
33145             name: "icon_box_shadow";
33146             mouse_events: 0;
33147             description {
33148                state: "default" 0.0;
33149                visible: 0;
33150                rel1 {
33151                   to: "base";
33152                   relative: 0.0 0.0;
33153                   offset: -3 -3;
33154                }
33155                rel2 {
33156                   to: "base";
33157                   relative: 1.0 1.0;
33158                   offset: 4 4;
33159                }
33160                fill {
33161                   smooth: 0;
33162                }
33163                image {
33164                   normal: "e17_mini_button_shadow2.png";
33165                   border: 6 6 6 6;
33166                }
33167             }
33168             description {
33169                state: "visible" 0.0;
33170                inherit: "default" 0.0;
33171                visible: 1;
33172             }
33173          }
33174          part {
33175             name: "glow";
33176             mouse_events: 0;
33177             description {
33178                state: "default" 0.0;
33179                visible: 0;
33180                rel1 {
33181                   to: "icon_box";
33182                   offset: -10 -10;
33183                }
33184                rel2 {
33185                   to: "icon_box";
33186                   offset: 9 9;
33187                }
33188                fill.smooth: 0;
33189                image {
33190                   normal: "glow.png";
33191                   border: 10 10 10 10;
33192                }
33193                color: 255 255 255 0;
33194             }
33195             description {
33196                state: "visible" 0.0;
33197                inherit: "default" 0.0;
33198                visible: 1;
33199                color: 255 255 255 255;
33200             }
33201          }
33202          part {
33203             name: "icon_box";
33204             type: RECT;
33205             mouse_events: 0;
33206             description {
33207                state: "default" 0.0;
33208                visible: 0;
33209                align: 0.5 0.5;
33210                rel1 {
33211                   to: "base";
33212                   relative: 0.0 0.0;
33213                   offset: -1 -1;
33214                }
33215                rel2 {
33216                   to: "base";
33217                   relative: 1.0 1.0;
33218                   offset: 0 0;
33219                }
33220                color: 0 0 0 64;
33221             }
33222             description {
33223                state: "visible" 0.0;
33224                inherit: "default" 0.0;
33225                visible: 1;
33226             }
33227          }
33228          part {
33229             name: "base";
33230             mouse_events: 0;
33231             type: RECT;
33232             description {
33233                state: "default" 0.0;
33234                visible: 0;
33235                rel1 {
33236                   to: "icon_zoom";
33237                   relative: 0.0 0.0;
33238                   offset: 4   4;
33239                }
33240                rel2 {
33241                   to: "icon_zoom";
33242                   relative: 1.0 1.0;
33243                   offset: -5  -5;
33244                }
33245             }
33246             description {
33247                state: "visible" 0.0;
33248                inherit: "default" 0.0;
33249                visible: 1;
33250             }
33251          }
33252          part {
33253             name: "icon_zoom";
33254             type: RECT;
33255             mouse_events: 0;
33256             description {
33257                state: "default" 0.0;
33258                visible: 0;
33259                rel1.relative: 0.0 0.0;
33260                rel2.relative: 1.0 1.0;
33261             }
33262             description {
33263                state: "min" 0.0;
33264                inherit: "default" 0.0;
33265                rel1.relative: 0.5 0.5;
33266                rel2.relative: 0.5 0.5;
33267             }
33268             description {
33269                state: "max" 0.0;
33270                inherit: "default" 0.0;
33271                rel1.relative: -0.2 -0.2;
33272                rel2.relative: 1.2 1.2;
33273             }
33274             description {
33275                state: "max2" 0.0;
33276                inherit: "default" 0.0;
33277                rel1.relative: -0.05 -0.05;
33278                rel2.relative: 1.05 1.05;
33279             }
33280          }
33281          part {
33282             name: "e.swallow.content";
33283             type: SWALLOW;
33284             description {
33285                state: "default" 0.0;
33286                rel1 {
33287                   to: "base";
33288                   relative: 0.0 0.0;
33289                   offset: 2   2;
33290                }
33291                rel2 {
33292                   to: "base";
33293                   relative: 1.0 1.0;
33294                   offset: -3  -3;
33295                }
33296             }
33297          }
33298          part {
33299             name: "theme";
33300             mouse_events: 0;
33301             description {
33302                state: "default" 0.0;
33303                visible: 0;
33304                aspect: 1.709677419 1.709677419;
33305                rel1 {
33306                   to: "e.swallow.content";
33307                   relative: 0.6 0.6;
33308                   offset: -1   -1;
33309                }
33310                rel2 {
33311                   to: "e.swallow.content";
33312                   relative: 1.0 1.0;
33313                   offset: -1  -1;
33314                }
33315                image.normal: "theme-label.png";
33316             }
33317             description {
33318                state: "visible" 0.0;
33319                inherit: "default" 0.0;
33320                visible: 1;
33321             }
33322          }
33323          part {
33324             name: "events";
33325             type: RECT;
33326             description {
33327                state: "default" 0.0;
33328                color: 0 0 0 0;
33329                visible: 0;
33330             }
33331             description {
33332                state: "visible" 0.0;
33333                inherit: "default" 0.0;
33334                visible: 1;
33335             }
33336          }
33337       }
33338       programs {
33339          program {
33340             name: "sel";
33341             signal: "e,state,selected";
33342             source: "e";
33343             action: STATE_SET "visible" 0.0;
33344             transition: DECELERATE 0.2;
33345             target: "glow";
33346          }
33347          program {
33348             name: "unsel";
33349             signal: "e,state,unselected";
33350             source: "e";
33351             action: STATE_SET "default" 0.0;
33352             transition: DECELERATE 1.0;
33353             target: "glow";
33354          }
33355          program {
33356             name: "thumb_gen";
33357             signal: "e,action,thumb,gen";
33358             source: "e";
33359             action: STATE_SET "visible" 0.0;
33360             target: "icon_box_shadow";
33361             target: "icon_box";
33362             target: "base";
33363             target: "icon_zoom";
33364             target: "e.swallow.content";
33365             target: "events";
33366             target: "theme";
33367             after: "thumb_gen2";
33368          }
33369          program {
33370             name: "thumb_gen2";
33371             action: STATE_SET "min" 0.0;
33372             target: "icon_zoom";
33373             after: "thumb_gen3";
33374          }
33375          program {
33376             name: "thumb_gen3";
33377             action: STATE_SET "max" 0.0;
33378             target: "icon_zoom";
33379             transition: DECELERATE 0.2;
33380             after: "thumb_gen4";
33381          }
33382          program {
33383             name: "thumb_gen4";
33384             action: STATE_SET "default" 0.0;
33385             target: "icon_zoom";
33386             transition: SINUSOIDAL 0.1;
33387             after: "thumb_gen5";
33388          }
33389          program {
33390             name: "thumb_gen5";
33391             action: STATE_SET "max2" 0.0;
33392             target: "icon_zoom";
33393             transition: SINUSOIDAL 0.2;
33394             after: "thumb_gen6";
33395          }
33396          program {
33397             name: "thumb_gen6";
33398             action: STATE_SET "default" 0.0;
33399             target: "icon_zoom";
33400             transition: SINUSOIDAL 0.3;
33401          }
33402          program {
33403             name: "thumb_ungen";
33404             signal: "e,action,thumb,ungen";
33405             source: "e";
33406             action: STATE_SET "default" 0.0;
33407             target: "icon_box_shadow";
33408             target: "icon_box";
33409             target: "base";
33410             target: "icon_zoom";
33411             target: "e.swallow.content";
33412             target: "events";
33413             target: "theme";
33414             target: "glow";
33415             after: "thumb_gen2";
33416          }
33417       }
33418    }
33419    group {
33420       name: "e/conf/wallpaper/main/mini-remote";
33421       images {
33422          image: "e17_mini_button_shadow2.png" COMP;
33423       }
33424       parts {
33425          part {
33426             name: "icon_box_shadow";
33427             mouse_events: 0;
33428             description {
33429                state: "default" 0.0;
33430                visible: 0;
33431                rel1 {
33432                   to: "base";
33433                   relative: 0.0 0.0;
33434                   offset: -3 -3;
33435                }
33436                rel2 {
33437                   to: "base";
33438                   relative: 1.0 1.0;
33439                   offset: 4 4;
33440                }
33441                fill {
33442                   smooth: 0;
33443                }
33444                image {
33445                   normal: "e17_mini_button_shadow2.png";
33446                   border: 6 6 6 6;
33447                }
33448             }
33449             description {
33450                state: "visible" 0.0;
33451                inherit: "default" 0.0;
33452                visible: 1;
33453             }
33454          }
33455          part {
33456             name: "icon_box";
33457             type: RECT;
33458             mouse_events: 0;
33459             description {
33460                state: "default" 0.0;
33461                visible: 0;
33462                align: 0.5 0.5;
33463                rel1 {
33464                   to: "base";
33465                   relative: 0.0 0.0;
33466                   offset: -1 -1;
33467                }
33468                rel2 {
33469                   to: "base";
33470                   relative: 1.0 1.0;
33471                   offset: 0 0;
33472                }
33473                color: 0 0 0 64;
33474             }
33475             description {
33476                state: "visible" 0.0;
33477                inherit: "default" 0.0;
33478                visible: 1;
33479             }
33480          }
33481          part {
33482             name: "base";
33483             mouse_events: 0;
33484             type: RECT;
33485             description {
33486                state: "default" 0.0;
33487                visible: 0;
33488                rel1 {
33489                   to: "icon_zoom";
33490                   relative: 0.0 0.0;
33491                   offset: 4   4;
33492                }
33493                rel2 {
33494                   to: "icon_zoom";
33495                   relative: 1.0 1.0;
33496                   offset: -5  -5;
33497                }
33498                color: 200 0 0 255;
33499             }
33500             description {
33501                state: "visible" 0.0;
33502                inherit: "default" 0.0;
33503                visible: 1;
33504             }
33505          }
33506          part {
33507             name: "icon_zoom";
33508             type: RECT;
33509             mouse_events: 0;
33510             description {
33511                state: "default" 0.0;
33512                visible: 0;
33513                rel1.relative: 0.0 0.0;
33514                rel2.relative: 1.0 1.0;
33515             }
33516             description {
33517                state: "min" 0.0;
33518                inherit: "default" 0.0;
33519                rel1.relative: 0.5 0.5;
33520                rel2.relative: 0.5 0.5;
33521             }
33522             description {
33523                state: "max" 0.0;
33524                inherit: "default" 0.0;
33525                rel1.relative: -0.2 -0.2;
33526                rel2.relative: 1.2 1.2;
33527             }
33528             description {
33529                state: "max2" 0.0;
33530                inherit: "default" 0.0;
33531                rel1.relative: -0.05 -0.05;
33532                rel2.relative: 1.05 1.05;
33533             }
33534          }
33535          part {
33536             name: "e.swallow.content";
33537             type: SWALLOW;
33538             description {
33539                state: "default" 0.0;
33540                rel1 {
33541                   to: "base";
33542                   relative: 0.0 0.0;
33543                   offset: 2   2;
33544                }
33545                rel2 {
33546                   to: "base";
33547                   relative: 1.0 1.0;
33548                   offset: -3  -3;
33549                }
33550             }
33551          }
33552          part {
33553             name: "events";
33554             type: RECT;
33555             description {
33556                state: "default" 0.0;
33557                color: 0 0 0 0;
33558                visible: 0;
33559             }
33560             description {
33561                state: "visible" 0.0;
33562                inherit: "default" 0.0;
33563                visible: 1;
33564             }
33565          }
33566       }
33567       programs {
33568          program {
33569             name: "thumb_gen";
33570             signal: "e,action,thumb,gen";
33571             source: "e";
33572             action: STATE_SET "visible" 0.0;
33573             target: "icon_box_shadow";
33574             target: "icon_box";
33575             target: "base";
33576             target: "icon_zoom";
33577             target: "e.swallow.content";
33578             target: "events";
33579             after: "thumb_gen2";
33580          }
33581          program {
33582             name: "thumb_gen2";
33583             action: STATE_SET "min" 0.0;
33584             target: "icon_zoom";
33585             after: "thumb_gen3";
33586          }
33587          program {
33588             name: "thumb_gen3";
33589             action: STATE_SET "max" 0.0;
33590             target: "icon_zoom";
33591             transition: DECELERATE 0.2;
33592             after: "thumb_gen4";
33593          }
33594          program {
33595             name: "thumb_gen4";
33596             action: STATE_SET "default" 0.0;
33597             target: "icon_zoom";
33598             transition: SINUSOIDAL 0.1;
33599             after: "thumb_gen5";
33600          }
33601          program {
33602             name: "thumb_gen5";
33603             action: STATE_SET "max2" 0.0;
33604             target: "icon_zoom";
33605             transition: SINUSOIDAL 0.2;
33606             after: "thumb_gen6";
33607          }
33608          program {
33609             name: "thumb_gen6";
33610             action: STATE_SET "default" 0.0;
33611             target: "icon_zoom";
33612             transition: SINUSOIDAL 0.3;
33613          }
33614          program {
33615             name: "thumb_ungen";
33616             signal: "e,action,thumb,ungen";
33617             source: "e";
33618             action: STATE_SET "default" 0.0;
33619             target: "icon_box_shadow";
33620             target: "icon_box";
33621             target: "base";
33622             target: "icon_zoom";
33623             target: "e.swallow.content";
33624             target: "events";
33625             after: "thumb_gen2";
33626          }
33627       }
33628    }
33629    group {
33630       name: "e/conf/wallpaper/main/scrollframe";
33631       images {
33632          image: "arrow_up.png" COMP;
33633          image: "arrow_down.png" COMP;
33634          image: "bt_sm_base1.png" COMP;
33635          image: "bt_sm_base2.png" COMP;
33636          image: "bt_sm_shine.png" COMP;
33637          image: "bt_sm_hilight.png" COMP;
33638          image: "sb_runnerv.png" COMP;
33639       }
33640       parts {
33641          //    part { name: "clipper";
33642          //       type: RECT;
33643          //       mouse_events: 0;
33644          //       description { state: "default" 0.0;
33645          //       }
33646          //    }
33647          part {
33648             name: "e.swallow.content";
33649             // clip_to: "clipper";
33650             type: SWALLOW;
33651             description {
33652                state: "default" 0.0;
33653                rel1.offset: 0 0;
33654                rel2 {
33655                   relative: 0.0  1.0;
33656                   offset: -1   -1;
33657                   to_x: "sb_vbar";
33658                }
33659             }
33660          }
33661          part {
33662             name: "sb_vbar";
33663             type: RECT;
33664             mouse_events: 0;
33665             scale: 1;
33666             description {
33667                state: "default" 0.0;
33668                min: 17 17;
33669                align: 1.0 0.0;
33670                rel1 {
33671                   relative: 1.0 0.0;
33672                   offset: -1 0;
33673                }
33674                rel2 {
33675                   relative: 1.0 1.0;
33676                   offset: -1 -1;
33677                }
33678             }
33679             description {
33680                state: "hidden" 0.0;
33681                visible: 0;
33682                max: 0 99999;
33683                rel1 {
33684                   relative: 1.0 0.0;
33685                   offset: -1 0;
33686                }
33687                rel2 {
33688                   relative: 1.0 1.0;
33689                   offset: -1 -1;
33690                }
33691             }
33692          }
33693          part {
33694             name: "sb_vbar_base";
33695             type: RECT;
33696             clip_to: "sb_vbar";
33697             mouse_events: 1;
33698             description {
33699                state: "default" 0.0;
33700                color: 0 0 0 0;
33701                rel1 {
33702                   relative: 0.0  1.0;
33703                   offset: 0    -1;
33704                   to: "sb_vbar_a1";
33705                }
33706                rel2 {
33707                   relative: 1.0  0.0;
33708                   offset: -1    0;
33709                   to: "sb_vbar_a2";
33710                }
33711             }
33712          }
33713          part {
33714             name: "sb_vbar_runner";
33715             clip_to: "sb_vbar";
33716             mouse_events: 0;
33717             description {
33718                state: "default" 0.0;
33719                max: 3 99999;
33720                rel1.to: "sb_vbar_base";
33721                rel1.offset: 1 0;
33722                rel2.to: "sb_vbar_base";
33723                image {
33724                   normal: "sb_runnerv.png";
33725                   border: 0 0 4 4;
33726                }
33727                fill.smooth: 0;
33728             }
33729          }
33730          part {
33731             name: "sb_vbar_p1";
33732             type: RECT;
33733             clip_to: "sb_vbar";
33734             mouse_events: 1;
33735             description {
33736                state: "default" 0.0;
33737                color: 0 0 0 0;
33738                rel1 {
33739                   relative: 0.0 1.0;
33740                   to: "sb_vbar_a1";
33741                }
33742                rel2 {
33743                   relative: 1.0 0.0;
33744                   to: "e.dragable.vbar";
33745                }
33746             }
33747          }
33748          part {
33749             name: "sb_vbar_p2";
33750             type: RECT;
33751             clip_to: "sb_vbar";
33752             mouse_events: 1;
33753             description {
33754                state: "default" 0.0;
33755                color: 0 0 0 0;
33756                rel1 {
33757                   relative: 0.0 1.0;
33758                   to: "e.dragable.vbar";
33759                }
33760                rel2 {
33761                   relative: 1.0 0.0;
33762                   to: "sb_vbar_a2";
33763                }
33764             }
33765          }
33766          part {
33767             name: "e.dragable.vbar";
33768             clip_to: "sb_vbar";
33769             mouse_events: 1;
33770             scale: 1;
33771             dragable {
33772                x: 0 0 0;
33773                y: 1 1 0;
33774                confine: "sb_vbar_base";
33775             }
33776             description {
33777                state: "default" 0.0;
33778                min: 17 17;
33779                rel1 {
33780                   relative: 0.5  0.5;
33781                   offset: 0    0;
33782                   to: "sb_vbar_base";
33783                }
33784                rel2 {
33785                   relative: 0.5  0.5;
33786                   offset: 0    0;
33787                   to: "sb_vbar_base";
33788                }
33789                image {
33790                   normal: "bt_sm_base2.png";
33791                   border: 6 6 6 6;
33792                }
33793             }
33794             description {
33795                state: "clicked" 0.0;
33796                inherit: "default" 0.0;
33797                image.normal: "bt_sm_base1.png";
33798             }
33799          }
33800          part {
33801             name: "sb_vbar_over1";
33802             clip_to: "sb_vbar";
33803             mouse_events: 0;
33804             description {
33805                state: "default" 0.0;
33806                rel1.to: "e.dragable.vbar";
33807                rel2.relative: 1.0 0.5;
33808                rel2.to: "e.dragable.vbar";
33809                image {
33810                   normal: "bt_sm_hilight.png";
33811                   border: 6 6 6 0;
33812                }
33813             }
33814          }
33815          part {
33816             name: "sb_vbar_over2";
33817             clip_to: "sb_vbar";
33818             mouse_events: 0;
33819             description {
33820                state: "default" 0.0;
33821                rel1.to: "e.dragable.vbar";
33822                rel2.to: "e.dragable.vbar";
33823                image {
33824                   normal: "bt_sm_shine.png";
33825                   border: 6 6 6 0;
33826                }
33827             }
33828          }
33829          part {
33830             name: "sb_vbar_a1";
33831             type: RECT;
33832             clip_to: "sb_vbar";
33833             mouse_events: 1;
33834             description {
33835                state: "default" 0.0;
33836                min: 17 17;
33837                align: 0.5 0.0;
33838                aspect: 1.0 1.0;
33839                aspect_preference: HORIZONTAL;
33840                color: 0 0 0 0;
33841                rel1 {
33842                   to: "sb_vbar";
33843                   relative: 0.0  0.0;
33844                   offset: 0    0;
33845                }
33846                rel2 {
33847                   to: "sb_vbar";
33848                   relative: 1.0  0.0;
33849                   offset: -1   0;
33850                }
33851             }
33852          }
33853          part {
33854             name: "sb_vbar_a1_arrow";
33855             mouse_events: 0;
33856             clip_to: "sb_vbar";
33857             description {
33858                state: "default" 0.0;
33859                max: 9 9;
33860                rel1.to: "sb_vbar_a1";
33861                rel2.to: "sb_vbar_a1";
33862                image.normal: "arrow_up.png";
33863             }
33864             description {
33865                state: "clicked" 0.0;
33866                inherit: "default" 0.0;
33867                rel1.offset: 0 -1;
33868                rel2.offset: -1 -2;
33869             }
33870          }
33871          part {
33872             name: "sb_vbar_a2";
33873             type: RECT;
33874             clip_to: "sb_vbar";
33875             mouse_events: 1;
33876             description {
33877                state: "default" 0.0;
33878                min: 17 17;
33879                align: 0.5 1.0;
33880                aspect: 1.0 1.0;
33881                aspect_preference: HORIZONTAL;
33882                color: 0 0 0 0;
33883                rel1 {
33884                   to: "sb_vbar";
33885                   relative: 0.0  1.0;
33886                   offset: 0    0;
33887                }
33888                rel2 {
33889                   to: "sb_vbar";
33890                   relative: 1.0  1.0;
33891                   offset: -1   0;
33892                }
33893             }
33894          }
33895          part {
33896             name: "sb_vbar_a2_arrow";
33897             type: IMAGE;
33898             mouse_events: 0;
33899             clip_to: "sb_vbar";
33900             description {
33901                state: "default" 0.0;
33902                max: 9 9;
33903                rel1.to: "sb_vbar_a2";
33904                rel2.to: "sb_vbar_a2";
33905                image.normal: "arrow_down.png";
33906             }
33907             description {
33908                state: "clicked" 0.0;
33909                inherit: "default" 0.0;
33910                rel1.offset: 0 1;
33911                rel2.offset: -1 0;
33912             }
33913          }
33914       }
33915       programs {
33916          program {
33917             name: "sb_vbar_show";
33918             signal: "e,action,show,vbar";
33919             source: "e";
33920             action: STATE_SET "default" 0.0;
33921             target: "sb_vbar";
33922          }
33923          program {
33924             name: "sb_vbar_hide";
33925             signal: "e,action,hide,vbar";
33926             source: "e";
33927             action: STATE_SET "hidden" 0.0;
33928             target: "sb_vbar";
33929          }
33930          program {
33931             name: "sb_vbar_a1_down";
33932             signal: "mouse,down,1";
33933             source: "sb_vbar_a1";
33934             action: STATE_SET "clicked" 0.0;
33935             target: "sb_vbar_a1_arrow";
33936          }
33937          program {
33938             name: "sb_vbar_a1_down2";
33939             signal: "mouse,down,1";
33940             source: "sb_vbar_a1";
33941             action: DRAG_VAL_STEP 0.0 -1.0;
33942             target: "e.dragable.vbar";
33943          }
33944          program {
33945             name: "sb_vbar_a1_up";
33946             signal: "mouse,up,1";
33947             source: "sb_vbar_a1";
33948             action: STATE_SET "default" 0.0;
33949             target: "sb_vbar_a1_arrow";
33950          }
33951          program {
33952             name: "sb_vbar_a2_down";
33953             signal: "mouse,down,1";
33954             source: "sb_vbar_a2";
33955             action: STATE_SET "clicked" 0.0;
33956             target: "sb_vbar_a2_arrow";
33957          }
33958          program {
33959             name: "sb_vbar_a2_down2";
33960             signal: "mouse,down,1";
33961             source: "sb_vbar_a2";
33962             action: DRAG_VAL_STEP 0.0 1.0;
33963             target: "e.dragable.vbar";
33964          }
33965          program {
33966             name: "sb_vbar_a2_up";
33967             signal: "mouse,up,1";
33968             source: "sb_vbar_a2";
33969             action: STATE_SET "default" 0.0;
33970             target: "sb_vbar_a2_arrow";
33971          }
33972          program {
33973             name: "sb_vbar_p1_down";
33974             signal: "mouse,down,1";
33975             source: "sb_vbar_p1";
33976             action: DRAG_VAL_PAGE 0.0 -1.0;
33977             target: "e.dragable.vbar";
33978          }
33979          program {
33980             name: "sb_vbar_p2_down";
33981             signal: "mouse,down,1";
33982             source: "sb_vbar_p2";
33983             action: DRAG_VAL_PAGE  0.0 1.0;
33984             target: "e.dragable.vbar";
33985          }
33986          program {
33987             name: "sb_vbar_down";
33988             signal: "mouse,down,1";
33989             source: "e.dragable.vbar";
33990             action: STATE_SET "clicked" 0.0;
33991             target: "e.dragable.vbar";
33992          }
33993          program {
33994             name: "sb_vbar_up";
33995             signal: "mouse,up,1";
33996             source: "e.dragable.vbar";
33997             action: STATE_SET "default" 0.0;
33998             target: "e.dragable.vbar";
33999          }
34000       }
34001    }
34002
34003
34004 /////////////////////////////////////////////////////////////////////////////
34005 /*** MOD: EVERYTHING ***/
34006 ///////////////////////////////////////////////////////////////////////////////
34007
34008    group {
34009       name: "e/modules/everything/list";
34010       parts {
34011          part {
34012             name: "list_frame";
34013             type: RECT;
34014             description {
34015                state: "default" 0.0;
34016                visible: 0;
34017             }
34018          }
34019          part {
34020             name: "base";
34021             type: RECT;
34022             /* description {
34023              *    state: "default" 0.0;
34024              *    rel1 {
34025              *       relative: 0.0 1.0;
34026              *       to_x: "list_frame";
34027              *       to_y: "input_base";
34028              *    }
34029              *    rel2 {
34030              *       to_x: "list_frame";
34031              *       to_y: "input_base";
34032              *    }
34033              * } */
34034             description {
34035                state: "default" 0.0;
34036                /*inherit: "default" 0.0;*/
34037                rel1 {
34038                   relative: 0.0 1.0;
34039                   to_x: "list_frame";
34040                   to_y: "input_base";
34041                }
34042                rel2 {
34043                   to: "list_frame";
34044                   offset: -1 -1;
34045                }
34046             }
34047          }
34048          part {
34049             name: "input_base";
34050             type: RECT;
34051             /* description {
34052              *    state: "default" 0.0;
34053              *    rel1 {
34054              *       to_x: "base";
34055              *    }
34056              * 
34057              *    rel2 {
34058              *       relative: 1.0 0.0;
34059              *       to_x: "base";
34060              *       offset: -1 1;
34061              *    }
34062              * } */
34063             description {
34064                state: "default" 0.0;
34065                /* inherit: "default" 0.0; */
34066                rel1 {
34067                   to_x: "base";
34068                }
34069                rel2 {
34070                   relative: 1.0 0.0;
34071                   to_x: "base";
34072                   offset: -1 28;
34073                }
34074             }
34075          }
34076          part {
34077             name: "list_win_bg";
34078             type: RECT;
34079             description {
34080                state: "default" 0.0;
34081                rel1.to_x: "base";
34082                rel1.to_y: "input_base";
34083
34084                rel2.to: "base";
34085                /* rel2.offset: -1 -3; */
34086                color: 245 245 245 255;
34087             }
34088          }
34089          part {
34090             name: "bar_base";
34091             type: RECT;
34092             mouse_events: 0;
34093             description {
34094                state: "default" 0.0;
34095                visible: 0;
34096                rel1 {
34097                   relative: 0.0 1.0;
34098                   to: "base";
34099                   offset: 0 -26;
34100                }
34101                rel2 {
34102                   relative: 1.0 1.0;
34103                   to: "base";
34104                   offset: -1 -1;
34105                }
34106             }
34107          }
34108          part {
34109             name: "bar_clip";
34110             type: RECT;
34111             mouse_events: 0;
34112             description {
34113                state: "default" 0.0;
34114                rel1 {
34115                   to: "bar_base";
34116                   offset: 2 2;
34117                }
34118                rel2 {
34119                   to: "bar_base";
34120                   offset: -2 -2;
34121                }
34122             }
34123             description {
34124                state: "faded" 0.0;
34125                inherit: "default" 0.0;
34126                color: 255 255 255 0;
34127             }
34128          }
34129          part {
34130             name: "bar_bg";
34131             clip_to: "base";
34132             mouse_events: 0;
34133             description {
34134                state: "default" 0.0;
34135                min: 32 25;
34136                max: 9999 25;
34137                fixed: 1 1;
34138                rel1 {
34139                   offset: -1 2;
34140                   to: "bar_base";
34141                }
34142                rel2 {
34143                   offset: -1 -3;
34144                   to: "bar_base";
34145                }
34146                image {
34147                   normal: "bt_dis_base.png";
34148                   border: 4 4 4 4;
34149                }
34150                color: 255 255 255 255;
34151             }
34152          }
34153          part {
34154             name: "e.swallow.bar";
34155             clip_to: "bar_clip";
34156             type: SWALLOW;
34157             description {
34158                state: "default" 0.0;
34159                rel1.to: "bar_clip";
34160                rel1.offset: -1 0;
34161                rel2.to: "bar_clip";
34162                rel2.offset: -1 -1;
34163             }
34164          }
34165          part {
34166             name: "bar_over2";
34167             clip_to: "base";
34168             mouse_events: 0;
34169             description {
34170                state: "default" 0.0;
34171                rel1.to: "bar_bg";
34172                rel1.offset: -1 -2;
34173                rel2.to: "bar_bg";
34174                rel2.offset: 1 1;
34175                image {
34176                   normal: "bt_dis_shine.png";
34177                   border: 4 4 4 4;
34178                }
34179                color: 255 255 255 235;
34180             }
34181          }
34182          part {
34183             name: "bar_over1";
34184             clip_to: "base";
34185             mouse_events: 0;
34186             description {
34187                state: "default" 0.0;
34188                rel1.to: "bar_bg";
34189                rel1.offset: 0 -2;
34190                rel2.to: "bar_bg";
34191                rel2.offset: 1 -1;
34192                rel2.relative: 1.0 0.5;
34193                image {
34194                   normal: "bt_dis_hilight.png";
34195                   border: 4 4 4 0;
34196                }
34197                color: 255 255 255 128;
34198             }
34199          }
34200          part {
34201             name: "input_bg";
34202             clip_to: "input_base";
34203             description {
34204                state: "default" 0.0;
34205                fixed: 1 1;
34206                min: 32 32;
34207                max: 9999 32;
34208                rel1 {
34209                   offset: -1 0;
34210                   to: "input_base";
34211                }
34212                rel2 {
34213                   /* offset: 1 0; */
34214                   to: "input_base";
34215                }
34216                image {
34217                   normal: "bt_dis_base.png";
34218                   border: 4 4 4 4;
34219                }
34220                color: 235 235 235 255;
34221             }
34222          }
34223          part {
34224             name: "e.text.label";
34225             type: TEXT;
34226             effect: SHADOW;
34227             scale: 1;
34228             clip_to: "input_base";
34229             description {
34230                state: "default" 0.0;
34231                fixed: 0 1;
34232                align: 0.0 0.5;
34233                rel1 {
34234                   offset: 10  8;
34235                   to: "input_bg";
34236                }
34237                rel2 {
34238                   to: "input_bg";
34239                   relative: 0.0 1.0;
34240                   offset: 10  -4;
34241
34242                }
34243                color: 60 60 60 255;
34244                color3: 255 255 255 68;
34245                text {
34246                   font: "Sans:style=Bold";
34247                   size: 11;
34248                   align: 0.0 0.5;
34249                   min: 1 1;
34250                   text_class: "fileman_typebuf";
34251                }
34252             }
34253          }
34254          part {
34255             name: "cursor";
34256             /* type: RECT; */
34257             mouse_events: 0;
34258             description {
34259                state: "default" 0.0;
34260                min: 10 10;
34261                max: 10 10;
34262                align: 0.0 0.5;
34263                fixed: 1 1;
34264                rel1 {
34265                   relative: 1.0  0.0;
34266                   offset: -2    -2;
34267                   to: "e.text.label";
34268                }
34269                rel2 {
34270                   relative: 1.0  1.0;
34271                   offset: -2    -1;
34272                   to: "e.text.label";
34273                }
34274                image {
34275                normal: "icon_right_arrow.png";
34276                }
34277
34278                color: 20 20 20 250;
34279             }
34280             description {
34281                state: "faded" 0.0;
34282                inherit: "default" 0.0;
34283                color: 20 20 20 100;
34284             }
34285          }
34286          part {
34287             name: "list_clip";
34288             type: RECT;
34289             clip_to: "base";
34290             description {
34291                state: "default" 0.0;
34292                color: 255 255 255 255;
34293                fixed: 1 1;
34294                rel1 {
34295                   relative: 0.0 0.0;
34296                   offset: 2 0;
34297                   to: "base";
34298                }
34299                rel2 {
34300                   relative: 1.0 0.0;
34301                   offset: -3  0;
34302                   to_y: "bar_base";
34303                   to_x: "base";
34304                }
34305             }
34306          }
34307          part {
34308             name: "list_bg";
34309             clip_to: "base";
34310             description {
34311                state: "default" 0.0;
34312                image.normal: "vgrad_light.png";
34313                rel1 {
34314                   to: "list_clip";
34315                   offset: 0 0;
34316                }
34317                rel2 {
34318                   to: "list_clip";
34319                   offset: 0  0;
34320                }
34321                fill.smooth: 0;
34322                color: 240 240 240 255;
34323             }
34324          }
34325          part {
34326             name: "e.swallow.list";
34327             type: SWALLOW;
34328             clip_to: "list_clip";
34329             mouse_events: 1;
34330             description {
34331                state: "default" 0.0;
34332                min: 32 170;
34333                fixed: 1 1;
34334                rel1 {
34335                   relative: 0.0 0.0;
34336                   offset: 0 3;
34337                   to: "list_clip";
34338                }
34339                rel2 {
34340                   relative: 1.0 1.0;
34341                   offset: -1  -1;
34342                   to: "list_clip";
34343                }
34344             }
34345             description {
34346                state: "default" 1.0;
34347                inherit: "default" 0.0;
34348                rel1 {
34349                   relative: -1.0 0.0;
34350                }
34351                rel2 {
34352                   relative: 0.0 1.0;
34353                }
34354             }
34355          }
34356          part {
34357             name: "e.swallow.list2";
34358             type: SWALLOW;
34359             clip_to: "list_clip";
34360             mouse_events: 1;
34361             description {
34362                state: "default" 0.0;
34363                min: 32 170;
34364                fixed: 1 1;
34365                rel1 {
34366                   relative: 1.0 0.0;
34367                   offset: 0 3;
34368                   to: "list_clip";
34369                }
34370                rel2 {
34371                   relative: 2.0 1.0;
34372                   offset: -1  -1;
34373                   to: "list_clip";
34374                }
34375             }
34376             description {
34377                state: "default" 1.0;
34378                inherit: "default" 0.0;
34379                rel1 {
34380                   relative: 0.0 0.0;
34381                }
34382                rel2 {
34383                   relative: 1.0 1.0;
34384                }
34385             }
34386          }
34387          part {
34388             name: "list_over";
34389             clip_to: "base";
34390             mouse_events: 0;
34391             description {
34392                state: "default" 0.0;
34393                rel1 {
34394                   offset: -1 -1;
34395                   to: "list_bg";
34396                }
34397                rel2 {
34398                   offset: -1 -1;
34399                   to: "list_bg";
34400                }
34401                image {
34402                   normal: "inset_sunk.png";
34403                   border: 7 7 7 7;
34404                   middle: 0;
34405                }
34406                fill.smooth : 0;
34407                /* color: 200 200 200 255; */
34408             }
34409          }
34410          part {
34411             name: "box";
34412             mouse_events: 0;
34413             description {
34414                state: "default" 0.0;
34415                rel1 {
34416                   to: "input_base";
34417                offset: 1 0;
34418                }
34419                rel2 {
34420                   to: "base";
34421                offset: -2 -1;
34422                }
34423                image {
34424                   normal: "everything_box.png";
34425                   border: 4 4 4 4;
34426                   middle: 0;
34427                }
34428                fill.smooth : 1;
34429             }
34430          }
34431       }
34432       programs {
34433          program {
34434             name: "blink_off";
34435             signal: "show";
34436             source: "";
34437             action: STATE_SET "faded" 0.0;
34438             transition: SINUSOIDAL 0.6;
34439             target: "cursor";
34440             after: "blink_on";
34441          }
34442          program {
34443             name: "blink_on";
34444             action: STATE_SET "default" 0.0;
34445             transition: SINUSOIDAL 0.35;
34446             target: "cursor";
34447             after: "blink_off";
34448          }
34449         program {
34450             name: "show_list";
34451             signal: "e,state,list_show";
34452             source: "e";
34453             action: STATE_SET "visible" 0.0;
34454             target: "base";
34455          }
34456          program {
34457             name: "hide_list";
34458             signal: "e,state,list_hide";
34459             source: "e";
34460             action: STATE_SET "default" 0.0;
34461             transition: ACCELERATE 0.08;
34462             target: "base";
34463          }
34464          program {
34465             name: "show_entry";
34466             signal: "e,state,entry_show";
34467             source: "e";
34468             action: STATE_SET "visible" 0.0;
34469             target: "input_base";
34470          }
34471          program {
34472             name: "hide_entry";
34473             signal: "e,state,entry_hide";
34474             source: "e";
34475             action: STATE_SET "default" 0.0;
34476             transition: SINUSOIDAL 0.08;
34477             target: "input_base";
34478          }
34479          program {
34480             name: "update_list";
34481             signal: "e,signal,update";
34482             source: "e";
34483             action: STATE_SET "faded" 0.0;
34484             /* transition: SINUSOIDAL 0.5; */
34485             target: "bar_clip";
34486             after: "update_list2";
34487          }
34488          program {
34489             name: "update_list2";
34490             action: STATE_SET "default" 0.0;
34491             /* transition: SINUSOIDAL 0.15; */
34492             target: "bar_clip";
34493          }
34494
34495          program {
34496             name: "slide_left";
34497             signal: "e,action,slide,left";
34498             source: "e";
34499             action: STATE_SET "default" 0.0;
34500             target: "e.swallow.list";
34501             target: "e.swallow.list2";
34502             after: "slide_left2";
34503          }
34504          program {
34505             name: "slide_left2";
34506             action: STATE_SET "default" 1.0;
34507             transition: ACCELERATE 0.15;
34508             target: "e.swallow.list";
34509             target: "e.swallow.list2";
34510             after: "left_end";
34511          }
34512          program { name: "left_end";
34513             action: SIGNAL_EMIT "e,action,slide,left,finished" "";
34514          }
34515          program {
34516             name: "slide_right";
34517             signal: "e,action,slide,right";
34518             source: "e";
34519             action: STATE_SET "default" 1.0;
34520             target: "e.swallow.list";
34521             target: "e.swallow.list2";
34522             after: "slide_right2";
34523          }
34524          program {
34525             name: "slide_right2";
34526             action: STATE_SET "default" 0.0;
34527             transition: ACCELERATE 0.15;
34528             target: "e.swallow.list";
34529             target: "e.swallow.list2";
34530             after: "right_end";
34531          }
34532          program { name: "right_end";
34533             action: SIGNAL_EMIT "e,action,slide,right,finished" "";
34534          }
34535          program {
34536             name: "slide_default";
34537             signal: "e,action,slide,default";
34538             source: "e";
34539             action: STATE_SET "default" 0.0;
34540             target: "e.swallow.list";
34541             target: "e.swallow.list2";
34542          }
34543       }
34544    }
34545    group {
34546       name: "e/modules/everything/main";
34547       images {
34548          image: "inset_sunk.png" COMP;
34549          image: "everything_box.png" COMP;
34550          image: "everything_item_bg.png" COMP;
34551          image: "vgrad_dark.png" COMP;
34552          image: "bt_dis_hilight.png" COMP;
34553          image: "bt_dis_shine.png" COMP;
34554          image: "bt_dis_base.png" COMP;
34555          image: "bt_base2.png" COMP;
34556          image: "outline.png" COMP;
34557          image: "icon_left_arrow.png" COMP;
34558          image: "icon_right_arrow.png" COMP;
34559          image: "toolbar_sel.png" COMP;
34560          image: "icon_right_arrow.png" COMP;
34561          image: "bt_sm_base1.png" COMP;
34562          image: "bt_sm_base2.png" COMP;
34563          image: "bt_sm_shine.png" COMP;
34564          image: "bt_sm_hilight.png" COMP;
34565          image: "sb_runnerv.png" COMP;
34566       }
34567       parts {
34568
34569          /*************** top ***************/
34570          part {
34571             name: "win";
34572             type: RECT;
34573             mouse_events: 0;
34574             description {
34575                state: "default" 0.0;
34576                visible: 0;
34577                min: 286 48;
34578                rel2.relative: 1.0 0.0;
34579                rel2.offset: -1 48;
34580             }
34581          }
34582          part {
34583             name: "list";
34584             source: "e/modules/everything/list";
34585             type: GROUP;
34586             description {
34587                state: "default" 0.0;
34588                visible: 1;
34589                min: 300 155;
34590                rel1 {
34591                   to_y: "frame";
34592                   offset: -1 -3;
34593                   relative: 0.0 1.0;
34594               }
34595               rel2 {
34596                  offset: 0 -1;
34597                }
34598             }
34599          }
34600          part {
34601             name: "bar_base";
34602             type: RECT;
34603             mouse_events: 0;
34604             description {
34605                state: "default" 0.0;
34606                rel1 {
34607                   to: "frame";
34608                }
34609                rel2 {
34610                   to: "frame";
34611                }
34612             }
34613          }
34614          part {
34615             name: "bar_bg";
34616             clip_to: "bar_base";
34617             mouse_events: 0;
34618             description {
34619                state: "default" 0.0;
34620                /* min: 32 50;
34621                 * max: 9999 50; */
34622                fixed: 1 1;
34623                rel1 {
34624                   offset: -2 -1;
34625                   to: "bar_base";
34626                }
34627                rel2 {
34628                   offset: 1 0;
34629                   to: "bar_base";
34630                }
34631                image {
34632                   normal: "bt_dis_base.png";
34633                   border: 4 4 4 4;
34634                }
34635             }
34636          }
34637          part {
34638             name: "frame";
34639             mouse_events: 0;;
34640             description {
34641                state: "default" 0.0;
34642                rel1.to: "win";
34643                rel2.to: "win";
34644                image {
34645                   normal: "everything_box.png";
34646                   border: 4 4 4 4;
34647                   middle: 0;
34648                }
34649                fill.smooth : 1;
34650               color: 215 215 215 255;
34651             }
34652          }
34653          part {
34654             name: "selector_frame";
34655             type: RECT;
34656             description {
34657                state: "default" 0.0;
34658                color: 255 255 255 255;
34659                rel1 {
34660                   to: "frame";
34661                }
34662                rel2 {
34663                   offset: -2 -1;
34664                   to: "frame";
34665                }
34666             }
34667          }
34668          part {
34669             name: "subject_selector";
34670             type: GROUP;
34671             source: "e/modules/everything/selector_item";
34672             clip_to: "selector_frame";
34673             description {
34674                state: "default" 0.0;
34675                /* visible: 0; */
34676                rel1 {
34677                   relative: 0.0 0.0;
34678                   offset: 0 2;
34679                   to: "selector_frame";
34680                }
34681                rel2 {
34682                   relative: 0.5 1.0;
34683                   offset: -1 -1;
34684                   to_y: "selector_frame";
34685                }
34686             }
34687             description {
34688                state: "wide" 0;
34689                inherit: "default" 0.0;
34690                visible: 0;
34691                rel1 {
34692                   relative: -0.5 0.0;
34693                   offset: 0 2;
34694                }
34695                rel2 {
34696                   relative: 0.0 1.0;
34697                   offset: 0 -1;
34698                }
34699             }
34700          }
34701          part {
34702             name: "action_selector";
34703             type: GROUP;
34704             source: "e/modules/everything/selector_item";
34705             clip_to: "selector_frame";
34706             description {
34707                state: "default" 0.0;
34708                /* visible: 0; */
34709                rel1 {
34710                   relative: 0.5 0.0;
34711                   offset: 0 2;
34712                   to: "selector_frame";
34713                }
34714                rel2 {
34715                   relative: 1.0 1.0;
34716                   offset: -1 -1;
34717                   to: "selector_frame";
34718                }
34719             }
34720             description {
34721                state: "wide" 0;
34722                inherit: "default" 0.0;
34723                rel1 {
34724                   relative: 0.0 0.0;
34725                   offset: 0 2;
34726                }
34727                rel2 {
34728                   relative: 0.5 1.0;
34729                   offset: -1 -1;
34730                }
34731             }
34732          }
34733          part {
34734             name: "object_selector";
34735             type: GROUP;
34736             source: "e/modules/everything/selector_item";
34737             clip_to: "selector_frame";
34738             description {
34739                state: "default" 0.0;
34740                visible: 0;
34741                rel1 {
34742                   relative: 1.0 0.0;
34743                   offset: 0 2;
34744                   to: "selector_frame";
34745                }
34746                rel2 {
34747                   relative: 1.5 1.0;
34748                   offset: -1 -1;
34749                   to: "selector_frame";
34750                }
34751             }
34752             description {
34753                state: "wide" 0;
34754                inherit: "default" 0.0;
34755                visible: 1;
34756                rel1 {
34757                   relative: 0.5 0.0;
34758                   offset: 0 2;
34759                }
34760                rel2 {
34761                   relative: 1.0 1.0;
34762                   offset: -1 -1;
34763                }
34764             }
34765          }
34766
34767          part {
34768             name: "bar_over2";
34769             clip_to: "bar_base";
34770             mouse_events: 0;
34771             description {
34772                state: "default" 0.0;
34773                rel1.to: "bar_bg";
34774                rel1.offset: -2 -2;
34775                rel2.to: "bar_bg";
34776                rel2.offset: 1 2;
34777                image {
34778                   normal: "bt_dis_shine.png";
34779                   border: 4 4 4 4;
34780                }
34781             }
34782          }
34783          part {
34784             name: "bar_over1";
34785             clip_to: "bar_base";
34786             mouse_events: 0;
34787             description {
34788                state: "default" 0.0;
34789                rel1.to: "bar_bg";
34790                rel1.offset: -2 -2;
34791                rel2.to: "bar_bg";
34792                rel2.offset: 1 2;
34793                rel2.relative: 1.0 0.45;
34794                image {
34795                   normal: "bt_dis_hilight.png";
34796                   border: 4 4 4 0;
34797                }
34798                color: 255 255 255 235;
34799             }
34800          }
34801       }
34802       programs {
34803          program {
34804             name: "object_selector_hide";
34805             signal: "e,state,object_selector_hide";
34806             source: "e";
34807             action: STATE_SET "default" 0.00;
34808             transition: SINUSOIDAL 0.15;
34809             target: "object_selector";
34810             target: "subject_selector";
34811             target: "action_selector";
34812          }
34813          program {
34814             name: "object_selector_show";
34815             signal: "e,state,object_selector_show";
34816             source: "e";
34817             action: STATE_SET "wide" 0.00;
34818             transition: SINUSOIDAL 0.2;
34819             target: "object_selector";
34820             target: "subject_selector";
34821             target: "action_selector";
34822          }
34823       }
34824    }
34825    group {
34826       name: "e/modules/everything/selector_item";
34827       parts {
34828          part {
34829             name: "clip";
34830             type: RECT;
34831             mouse_events: 0;
34832             description {
34833                state: "default" 0.0;
34834             }
34835          }
34836          part {
34837             name: "bg";
34838             mouse_events: 0;
34839             description {
34840                state: "default" 0.0;
34841                color: 200 200 200 20;
34842                image {
34843                   normal: "toolbar_sel.png";
34844                   border: 3 3 2 2;
34845                }
34846                fill.smooth: 1;
34847                rel1.offset: 0 -1;
34848                rel2.offset: 2 -1;
34849             }
34850             description {
34851                state: "selected" 0.0;
34852                inherit: "default" 0.0;
34853                color: 200 200 200 255;
34854             }
34855          }
34856          part {
34857             name: "inner_clip";
34858             type: RECT;
34859             clip_to: "clip";
34860             mouse_events: 0;
34861             description {
34862                state: "default" 0.0;
34863                rel1.offset: 6   2;
34864                rel2.offset: -5   -5;
34865             }
34866          }
34867          part {
34868             name: "icon_clip";
34869             type: RECT;
34870             clip_to: "inner_clip";
34871             mouse_events: 0;
34872             description {
34873                state: "default" 0.0;
34874                color: 255 255 255 255;
34875             }
34876             description {
34877                state: "faded" 0.0;
34878                color: 255 255 255 120;
34879             }
34880          }
34881          part {
34882             name: "e.swallow.icons";
34883             type: SWALLOW;
34884             clip_to: "icon_clip";
34885             mouse_events: 0;
34886             description {
34887                state: "default" 0.0;
34888                min: 50 44;
34889                max: 50 44;
34890                aspect: 1.0 1.0;
34891                align: 0.0 0.5;
34892                aspect_preference: VERTICAL;
34893                rel1 {
34894                   offset: 5   5;
34895                }
34896                rel2 {
34897                   offset: -1  -8;
34898                }
34899             }
34900          }
34901          part {
34902             name: "e.swallow.thumb";
34903             type: SWALLOW;
34904             clip_to: "icon_clip";
34905             mouse_events: 0;
34906             description {
34907                state: "default" 0.0;
34908                min: 50 44;
34909                max: 50 44;
34910                aspect: 1.0 1.0;
34911                align: 0.0 0.5;
34912                aspect_preference: VERTICAL;
34913                rel1 {
34914                   offset: 5   5;
34915                }
34916                rel2 {
34917                   offset: -1  -8;
34918                }
34919             }
34920          }
34921
34922          part {
34923             name: "e.text.label";
34924             type: TEXT;
34925             mouse_events: 0;
34926             clip_to: "clip";
34927             scale: 1;
34928             mouse_events: 0;
34929             description {
34930                state: "default" 0.0;
34931                align: 0.0 1.0;
34932                fixed: 0 1;
34933                rel1.to: "e.swallow.icons";
34934                rel1.relative: 1.0 0.0;
34935                rel2.to: "clip";
34936                rel1.offset: 2 3;
34937                rel2.offset: -6 -7;
34938                /* visible: 0; */
34939                color: 24 24 24 255;
34940                text {
34941                   font: "Sans:style=Bold";
34942                   size: 9;
34943                   min: 0 1;
34944                   align: 0.0 1.0;
34945                   text_class: "fileman_typebuf";
34946                }
34947             }
34948             description {
34949                state: "selected" 0.0;
34950                inherit: "default" 0.0;
34951                color: 244 244 244 255;
34952                /* visible: 1; */
34953             }
34954          }
34955          part {
34956             name: "e.text.plugin";
34957             type: TEXT;
34958             clip_to: "inner_clip";
34959             effect: SOFT_SHADOW;
34960             mouse_events: 0;
34961             scale: 1;
34962             description {
34963                state: "default" 0.0;
34964                align: 1.0 0.0;
34965                rel1 {
34966                   offset: 6 6;
34967                   /* to_x: "e.swallow.icons"; */
34968                }
34969                rel2.offset: -10 -1;
34970                color: 20 20 20 255;
34971                color3: 0 0 0 0;
34972                text {
34973                   font: "Sans";
34974                   size: 9;
34975                   min: 0 1;
34976                   align: 1.0 0.0;
34977                   text_class: "fileman_icon";
34978                }
34979             }
34980             description {
34981                state: "selected" 0.0;
34982                inherit: "default" 0.0;
34983
34984                color: 240 240 240 255;
34985             }
34986          }
34987          part {
34988             name: "event";
34989             type: RECT;
34990             description {
34991                state: "default" 0.0;
34992                color: 0 0 0 0;
34993             }
34994          }
34995       }
34996       programs {
34997          program {
34998             name: "sel";
34999             signal: "e,state,selected";
35000             source: "e";
35001             action: STATE_SET "selected" 0.0;
35002             transition: SINUSOIDAL 0.1;
35003             /* target: "border";
35004              * target: "border_bg"; */
35005             target: "bg";
35006             target: "e.text.label";
35007             target: "e.text.plugin";
35008          }
35009          program {
35010             name: "unsel";
35011             signal: "e,state,unselected";
35012             source: "e";
35013             action: STATE_SET "default" 0.0;
35014             transition: SINUSOIDAL 0.2;
35015             /* target: "border";
35016              * target: "border_bg"; */
35017             target: "bg";
35018             target: "e.text.label";
35019             target: "e.text.plugin";
35020          }
35021          program {
35022             name: "update";
35023             signal: "e,signal,update";
35024             source: "e";
35025             action: STATE_SET "faded" 0.0;
35026             transition: DECELERATE 0.1;
35027             target: "icon_clip";
35028             after: "show_icon";
35029          }
35030          program {
35031             name: "show_icon";
35032             action: STATE_SET "default" 0.0;
35033             transition: ACCELERATE 0.3;
35034             target: "icon_clip";
35035          }
35036          program {
35037             name: "thumb_show";
35038             signal: "e,action,thumb,show";
35039             source: "e";
35040             action: STATE_SET "faded" 0.0;
35041             /* transition: SINUSOIDAL 0.05; */
35042             target: "icon_clip";
35043             after: "thumb_show2";
35044          }
35045          program {
35046             name: "thumb_show2";
35047             action: STATE_SET "default" 0.0;
35048             transition: SINUSOIDAL 0.2;
35049             target: "icon_clip";
35050          }
35051       }
35052    }
35053
35054    group {
35055       name: "e/modules/everything/tab_item";
35056       min: 50 10;
35057       parts {
35058          part {
35059             name: "clip";
35060             type: RECT;
35061             mouse_events: 0;
35062             description {
35063                state: "default" 0.0;
35064             rel1.relative: 0.05 0.0;
35065             rel2.relative: 0.95 1.0;
35066             }
35067          }
35068          part {
35069             name: "label2";
35070             type: TEXT;
35071             scale: 1;
35072             clip_to: "clip";
35073             mouse_events: 0;
35074             description {
35075                state: "default" 0.0;
35076                align: 0.5 0.5;
35077                fixed: 0 1;
35078                rel1.to: "e.text.label";
35079                rel2.to: "e.text.label";
35080                color: 0 0 0 255;
35081                text {
35082                   font: "Sans:style";
35083                   text_source: "e.text.label";
35084                   size: 10;
35085                   min: 0 1;
35086                   align: 0.5 0.5;
35087                   text_class: "fileman_icon";
35088                }
35089             }
35090             description {
35091                state: "selected" 0.0;
35092                inherit: "default" 0.0;
35093                color: 10 10 10 0;
35094                visible: 0;
35095             }
35096          }
35097          part {
35098             name: "bg";
35099             mouse_events: 0;
35100             description {
35101                state: "default" 0.0;
35102                color: 200 200 200 20;
35103                image {
35104                   normal: "toolbar_sel.png";
35105                   border: 2 2 0 0;
35106                }
35107                fill.smooth: 1;
35108             }
35109             description {
35110                state: "selected" 0.0;
35111                inherit: "default" 0.0;
35112                color: 200 200 200 255;
35113             }
35114          }
35115          part {
35116             name: "e.text.label";
35117             type: TEXT;
35118             mouse_events: 0;
35119             clip_to: "clip";
35120             scale: 1;
35121             mouse_events: 0;
35122             description {
35123                state: "default" 0.0;
35124                align: 0.5 0.5;
35125                fixed: 0 1;
35126                rel1.to: "clip";
35127                rel2.to: "clip";
35128                rel1.offset: 5 3;
35129                rel2.offset: -6 -1;
35130                visible: 0;
35131                color: 245 245 245 255;
35132                text {
35133                   font: "Sans:style=Bold";
35134                   size: 9;
35135                   min: 0 1;
35136                   align: 0.5 0.5;
35137                   text_class: "fileman_icon";
35138                }
35139             }
35140             description {
35141                state: "selected" 0.0;
35142                inherit: "default" 0.0;
35143                visible: 1;
35144             }
35145          }
35146          part {
35147             name: "event";
35148             type: RECT;
35149             description {
35150                state: "default" 0.0;
35151                color: 0 0 0 0;
35152             }
35153          }
35154       }
35155       programs {
35156          program {
35157             name: "go_active";
35158             signal: "e,state,selected";
35159             source: "e";
35160             action: STATE_SET "selected" 0.0;
35161             target: "bg";
35162             target: "e.text.label";
35163             target: "label2";
35164             transition: LINEAR 0.1;
35165          }
35166          program {
35167             name: "go_passive";
35168             signal: "e,state,unselected";
35169             source: "e";
35170             action: STATE_SET "default" 0.0;
35171             target: "bg";
35172             target: "e.text.label";
35173             target: "label2";
35174          }
35175       }
35176    }
35177
35178    group {
35179       name: "e/modules/everything/tab_item/back";
35180       min: 50 10;
35181       parts {
35182          part {
35183             name: "clip";
35184             type: RECT;
35185             mouse_events: 0;
35186             description {
35187                state: "default" 0.0;
35188             rel1.relative: 0.05 0.0;
35189             rel2.relative: 0.95 1.0;
35190             }
35191          }
35192          part {
35193             name: "label2";
35194             type: TEXT;
35195             scale: 1;
35196             clip_to: "clip";
35197             mouse_events: 0;
35198             description {
35199                state: "default" 0.0;
35200                align: 0.5 0.5;
35201                fixed: 0 1;
35202                rel1.to: "e.text.label";
35203                rel2.to: "e.text.label";
35204                color: 0 0 0 255;
35205                text {
35206                   font: "Sans:style";
35207                   text_source: "e.text.label";
35208                   size: 10;
35209                   min: 0 1;
35210                   align: 0.5 0.5;
35211                   text_class: "fileman_icon";
35212                }
35213             }
35214             description {
35215                state: "selected" 0.0;
35216                inherit: "default" 0.0;
35217                color: 10 10 10 0;
35218                visible: 0;
35219             }
35220          }
35221          part {
35222             name: "bg";
35223             mouse_events: 0;
35224             description {
35225                state: "default" 0.0;
35226                color: 255 255 255 40;
35227                image {
35228                   normal: "toolbar_sel.png";
35229                   border: 2 2 0 0;
35230                }
35231                fill.smooth: 1;
35232             }
35233             description {
35234                state: "selected" 0.0;
35235                inherit: "default" 0.0;
35236                color: 245 245 245 250;
35237             }
35238          }
35239          part {
35240             name: "e.text.label";
35241             type: TEXT;
35242             mouse_events: 0;
35243             clip_to: "clip";
35244             scale: 1;
35245             mouse_events: 0;
35246             description {
35247                state: "default" 0.0;
35248                align: 0.5 0.5;
35249                fixed: 0 1;
35250                rel1.to: "clip";
35251                rel2.to: "clip";
35252                rel1.offset: 5 3;
35253                rel2.offset: -6 -1;
35254                visible: 0;
35255                color: 245 245 245 255;
35256                text {
35257                   font: "Sans:style=Bold";
35258                   size: 9;
35259                   min: 0 1;
35260                   align: 0.5 0.5;
35261                   text_class: "fileman_icon";
35262                }
35263             }
35264             description {
35265                state: "selected" 0.0;
35266                inherit: "default" 0.0;
35267                visible: 1;
35268             }
35269          }
35270          part {
35271             name: "event";
35272             type: RECT;
35273             description {
35274                state: "default" 0.0;
35275                color: 0 0 0 0;
35276             }
35277          }
35278       }
35279       programs {
35280          program {
35281             name: "go_active";
35282             signal: "e,state,selected";
35283             source: "e";
35284             action: STATE_SET "selected" 0.0;
35285             target: "bg";
35286             target: "e.text.label";
35287             target: "label2";
35288             transition: LINEAR 0.1;
35289          }
35290          program {
35291             name: "go_passive";
35292             signal: "e,state,unselected";
35293             source: "e";
35294             action: STATE_SET "default" 0.0;
35295             target: "bg";
35296             target: "e.text.label";
35297             target: "label2";
35298          }
35299       }
35300    }
35301
35302 /////////////////////////////////////////////////////////////////////////////
35303 /*** EVERYTHING THUMB VIEW ***/
35304
35305    group {
35306       name: "e/modules/everything/thumbview/item/thumb";
35307       parts {
35308          part {
35309             name: "bg";
35310             mouse_events: 0;
35311             description {
35312                state: "default" 0.0;
35313                rel1 {
35314                   to: "base";
35315                   offset: -1 -3;
35316                }
35317                rel2 {
35318                   to: "base";
35319                   offset: 0 2;
35320                }
35321                fill.smooth: 0;
35322                image {
35323                   normal: "everything_item_bg.png";
35324                   border: 5 5 5 5;
35325                }
35326                color: 255 255 255 10;
35327             }
35328             description {
35329                state: "selected" 0.0;
35330                inherit: "default" 0.0;
35331                color: 255 255 255 190;
35332             }
35333          }
35334          part {
35335             name: "outline";
35336             mouse_events: 0;
35337             description {
35338                state: "default" 0.0;
35339                rel1.to: "bg";
35340                rel2.to: "bg";
35341                image {
35342                   normal: "outline.png";
35343                   border: 5 5 5 5;
35344                }
35345                color: 0 0 0 30;
35346             }
35347             description {
35348             state: "selected" 0.0;
35349                inherit: "default" 0.0;
35350                color: 0 0 0 220;
35351             }
35352
35353          }
35354          part {
35355             name: "bg_mark";
35356             mouse_events: 0;
35357             description {
35358                state: "default" 0.0;
35359                visible: 0;
35360                rel1.to: "bg";
35361                rel2.to: "bg";
35362                fill.smooth: 0;
35363                image {
35364                   normal: "everything_item_bg.png";
35365                   border: 5 5 5 5;
35366                }
35367             color: 255 255 255 0;
35368             }
35369             description {
35370                state: "marked" 0.0;
35371                inherit: "default" 0.0;
35372                visible: 1;
35373                color: 255 255 255 60;
35374             }
35375          }
35376          part {
35377             name: "base";
35378             mouse_events: 0;
35379             type: RECT;
35380             description {
35381                state: "default" 0.0;
35382                rel1 {
35383                   relative: 0.0 0.0;
35384                   offset: 0   4;
35385                }
35386                rel2 {
35387                   relative: 1.0 1.0;
35388                   offset: -5  -5;
35389                }
35390                color: 255 255 255 255;
35391             }
35392          }
35393          part {
35394             name: "clip";
35395             mouse_events: 0;
35396             type: RECT;
35397             /* clip_to: "base"; */
35398             description {
35399                state: "default" 0.0;
35400                rel1.to: "base";
35401                rel2.to: "base";
35402                color: 225 225 225 0;
35403             }
35404             description {
35405                state: "visible" 0.0;
35406                inherit: "default" 0.0;
35407                color: 255 255 255 255;
35408             }
35409          }
35410          part {
35411             name: "e.swallow.icon";
35412             clip_to: "clip";
35413             type: SWALLOW;
35414             mouse_events: 0;
35415             description {
35416                state: "default" 0.0;
35417                rel1 {
35418                   to: "base";
35419                   relative: 0.0 0.0;
35420                   offset: 4   0;
35421                }
35422                rel2 {
35423                   to: "base";
35424                   relative: 1.0 1.0;
35425                   offset: -3  -11;
35426                }
35427             }
35428          }
35429          part {
35430             name: "e.swallow.thumb";
35431             clip_to: "clip";
35432             type: SWALLOW;
35433             mouse_events: 0;
35434             description {
35435                state: "default" 0.0;
35436                aspect: 1.0 1.0;
35437                aspect_preference: VERTICAL;
35438                rel1 {
35439                   to: "base";
35440                   offset: 6   6;
35441                }
35442                rel2 {
35443                   to: "base";
35444                   offset: -5  -20;
35445                }
35446             }
35447          }
35448          part {
35449             name: "arrow";
35450             mouse_events: 0;
35451             description {
35452                state: "default" 0.0;
35453                min: 12 12;
35454                max: 12 12;
35455                /* aspect_preference: */
35456                visible: 0;
35457                align: 1.0 0.0;
35458                rel1 {
35459                   to: "base";
35460                   relative: 1.0 0.0;
35461                   offset: -3 2;
35462                }
35463                rel2 {
35464                   to: "base";
35465                   relative: 1.0 0.0;
35466                   offset: -3 2;
35467                }
35468                image {
35469                   normal: "icon_right_arrow.png";
35470                }
35471             }
35472             description {
35473                state: "visible" 0.0;
35474                inherit: "default" 0.0;
35475                visible: 1;
35476             }
35477          }
35478          part {
35479             name: "e.text.label";
35480             type: TEXT;
35481             clip_to: "base";
35482             effect: SOFT_SHADOW;
35483             mouse_events: 0;
35484             scale: 1;
35485             description {
35486                state: "default" 0.0;
35487                rel1 {
35488                   offset: 2 -12;
35489                   relative: 0.0 1.0;
35490                }
35491                rel2.offset: -2 -4;
35492                color3: 20 20 20 60;
35493                color: 255 255 255 255;
35494                text {
35495                   font: "Sans";
35496                   size: 10;
35497                   min: 0 1;
35498                   align: 0.5 0.0;
35499                   text_class: "fileman_icon";
35500                }
35501             }
35502             description {
35503                state: "selected" 0.0;
35504                inherit: "default" 0.0;
35505                rel1 {
35506                   offset: 2 -12;
35507                   relative: 0.0 1.0;
35508                }
35509                rel2.offset: -2 -4;
35510                color: 250 250 250 255;
35511                color3: 20 20 20 40;
35512             }
35513          }
35514          
35515          part {
35516             name: "over_clip";
35517             type: RECT;
35518             mouse_events: 0;
35519             description {
35520                state: "default" 0.0;
35521                color: 255 255 255 255;
35522                rel1 {
35523                   relative: 0.0 0.0;
35524                   offset: 0 0;
35525                }
35526                rel2 {
35527                   relative: 1.0 1.0;
35528                   offset: -1 -1;
35529                }
35530                visible: 0;
35531             }
35532             description {
35533                state: "visible" 0.0;
35534                inherit: "default" 0.0;
35535                color: 255 255 255 255;
35536                visible: 1;
35537             }
35538             description {
35539                state: "hidden" 0.0;
35540                inherit: "default" 0.0;
35541                rel1.relative: -0.5  -0.5;
35542                rel2.relative: 1.5  1.5;
35543                color: 255 255 255 0;
35544                visible: 1;
35545             }
35546             description {
35547                state: "huge" 0.0;
35548                inherit: "default" 0.0;
35549                color: 255 255 255 0;
35550                rel1.relative: -1.5 -1.5;
35551                rel2.relative: 2.5  2.5;
35552                visible: 1;
35553             }
35554          }
35555
35556          part {
35557             name: "over";
35558             type: PROXY;
35559             mouse_events: 0;
35560             clip_to: "over_clip";
35561             description {
35562                state: "default" 0.0;
35563                source: "e.swallow.icon";
35564                rel1.to: "over_clip";
35565                rel2.to: "over_clip";
35566                visible: 0;
35567             }
35568             description {
35569                state: "visible" 0.0;
35570                inherit: "default" 0.0;
35571                visible: 1;
35572             }
35573          }
35574          part {
35575             name: "over2";
35576             type: PROXY;
35577             mouse_events: 0;
35578             clip_to: "over_clip";
35579             description {
35580                state: "default" 0.0;
35581                source: "e.swallow.thumb";
35582                rel1.to: "over_clip";
35583                rel2.to: "over_clip";
35584                visible: 0;
35585             }
35586             description {
35587                state: "visible" 0.0;
35588                inherit: "default" 0.0;
35589                visible: 1;
35590             }
35591          }
35592          
35593          part {
35594             name: "event";
35595             type: RECT;
35596             description {
35597                state: "default" 0.0;
35598                color: 0 0 0 0;
35599             }
35600          }
35601       }
35602       programs {
35603          program {
35604             name: "sel";
35605             signal: "e,state,selected";
35606             source: "e";
35607             action: STATE_SET "selected" 0.0;
35608             target: "bg";
35609             target: "outline";
35610             target: "e.text.label";
35611          }
35612          program {
35613             name: "unsel";
35614             signal: "e,state,unselected";
35615             source: "e";
35616             action: STATE_SET "default" 0.0;
35617             transition: SINUSOIDAL 0.1;
35618             target: "bg";
35619             target: "outline";
35620             target: "e.text.label";
35621          }
35622          program {
35623             name: "mark";
35624             signal: "e,state,marked";
35625             source: "e";
35626             action: STATE_SET "marked" 0.0;
35627             target: "bg_mark";
35628             transition: ACCELERATE 0.15;
35629          }
35630          program {
35631             name: "unmark";
35632             signal: "e,state,unmarked";
35633             source: "e";
35634             action: STATE_SET "default" 0.0;
35635             transition: LINEAR 0.2;
35636             target: "bg_mark";
35637          }
35638          program {
35639             name: "arrow_show";
35640             signal: "e,state,browseable";
35641             source: "e";
35642             action: STATE_SET "visible" 0.0;
35643             target: "arrow";
35644          }
35645          program {
35646             name: "thumb_show_delayed";
35647             signal: "e,action,thumb,show_delayed";
35648             source: "e";
35649             action: STATE_SET "default" 0.0;
35650             target: "clip";
35651             after: "thumb_show2";
35652          }
35653          program {
35654             name: "thumb_show";
35655             signal: "e,action,thumb,show";
35656             source: "e";
35657             action: STATE_SET "visible" 0.0;
35658             target: "clip";
35659          }
35660          program {
35661             name: "thumb_show2";
35662             action: STATE_SET "visible" 0.0;
35663             transition: DECELERATE 0.1;
35664             target: "clip";
35665          }
35666          program {
35667             name: "go_big";
35668             action: STATE_SET "visible" 0.0;
35669             target: "over_clip";
35670             target: "over";
35671             target: "over2";
35672             after: "go_big2";
35673          }
35674
35675          program {
35676             name: "go_big2";
35677             action: STATE_SET "huge" 0.0;
35678             transition: DECELERATE 0.4;
35679             target: "over_clip";
35680             after: "go_big3";
35681          }
35682
35683          program {
35684             name: "go_big3";
35685             action: STATE_SET "default" 0.0;
35686             transition: DECELERATE 0.2;
35687             target: "over_clip";
35688             target: "over";
35689             target: "over2";
35690          }
35691          program {
35692             name: "action_go";
35693             signal: "e,action,go";
35694             source: "e";
35695             action: ACTION_STOP;
35696             target: "go_big";
35697             target: "go_big2";
35698             target: "go_big3";
35699             after: "go_big";
35700          }
35701       }
35702    }
35703    group {
35704       name: "e/modules/everything/thumbview/item/list";
35705       parts {
35706          part {
35707             name: "bg";
35708             mouse_events: 0;
35709             description {
35710                state: "default" 0.0;
35711                rel1 {
35712                   to: "base";
35713                   offset: -1 -1;
35714                }
35715                rel2 {
35716                   to: "base";
35717                   offset: -2 2;
35718                }
35719                fill.smooth: 0;
35720                image {
35721                   normal: "everything_item_bg.png";
35722                   border: 5 5 5 5;
35723                }
35724                color: 0 0 0 10;
35725             }
35726             description {
35727                state: "selected" 0.0;
35728                inherit: "default" 0.0;
35729                color: 0 0 0 190;
35730             }
35731          }
35732          part {
35733             name: "outline";
35734             mouse_events: 0;
35735             description {
35736                state: "default" 0.0;
35737                rel1.to: "bg";
35738                rel2.to: "bg";
35739                image {
35740                   normal: "outline.png";
35741                   border: 5 5 5 5;
35742                }
35743                color: 0 0 0 30;
35744             }
35745              description {
35746                state: "selected" 0.0;
35747                inherit: "default" 0.0;
35748                color: 0 0 0 220;
35749             }
35750          }
35751          part {
35752             name: "bg_mark";
35753             mouse_events: 0;
35754             description {
35755                state: "default" 0.0;
35756                visible: 0;
35757                rel1.to: "bg";
35758                rel2.to: "bg";
35759                fill.smooth: 0;
35760                color: 255 255 255 0;
35761                image {
35762                   normal: "everything_item_bg.png";
35763                   border: 5 5 5 5;
35764                }
35765             }
35766             description {
35767                state: "marked" 0.0;
35768                inherit: "default" 0.0;
35769                visible: 1;
35770                color: 255 255 255 60;
35771             }
35772          }
35773          part {
35774             name: "base";
35775             mouse_events: 0;
35776             type: RECT;
35777             description {
35778                state: "default" 0.0;
35779                color: 255 255 255 255;
35780                rel1 {
35781                   relative: 0.0 0.0;
35782                   offset: 0   3;
35783                }
35784                rel2 {
35785                   relative: 1.0 1.0;
35786                   offset: -5  -4;
35787                }
35788             }
35789          }
35790          part {
35791             name: "clip";
35792             mouse_events: 0;
35793             type: RECT;
35794             clip_to: "base";
35795             description {
35796                state: "default" 0.0;
35797                color: 225 225 225 0;
35798                rel1 {
35799                   to: "base";
35800                   relative: 0.0 0.0;
35801                   offset: 2   2;
35802                }
35803                rel2 {
35804                   to: "base";
35805                   relative: 0.0 1.0;
35806                   offset: 40   -1;
35807                }
35808             }
35809             description {
35810                state: "visible" 0.0;
35811                inherit: "default" 0.0;
35812                color: 255 255 255 255;
35813             }
35814          }
35815          part {
35816             name: "e.swallow.icon";
35817             clip_to: "clip";
35818             type: SWALLOW;
35819             mouse_events: 0;
35820             description {
35821                state: "default" 0.0;
35822                rel1.to: "clip";
35823                rel2.to: "clip";
35824             }
35825          }
35826          part {
35827             name: "e.swallow.thumb";
35828             clip_to: "clip";
35829             type: SWALLOW;
35830             mouse_events: 0;
35831             description {
35832                state: "default" 0.0;
35833                aspect: 1.0 1.0;
35834                aspect_preference: VERTICAL;
35835                rel1.to: "clip";
35836                rel2.to: "clip";
35837             }
35838          }
35839          part {
35840             name: "arrow";
35841             mouse_events: 0;
35842             description {
35843                state: "default" 0.0;
35844                align: 0.0 0.5;
35845                 min: 16 16;
35846                 max: 16 16;
35847                 visible: 0;
35848                rel1 {
35849                   to: "base";
35850                   relative: 1.0 0.0;
35851                   offset: -21  6;
35852                }
35853                rel2 {
35854                   to: "base";
35855                   relative: 1.0 1.0;
35856                   offset: 1 -7;
35857                }
35858                image {
35859                   normal: "icon_right_arrow.png";
35860                }
35861             }
35862             description {
35863                state: "visible" 0.0;
35864                inherit: "default" 0.0;
35865                visible: 1;
35866                rel1 {
35867                   to: "base";
35868                   relative: 1.0 0.0;
35869                   offset: -21  6;
35870                }
35871             }
35872          }
35873          part {
35874             name: "e.text.label";
35875             type: TEXT;
35876             clip_to: "base";
35877             effect: SOFT_SHADOW;
35878             mouse_events: 0;
35879             scale: 1;
35880             description {
35881                state: "default" 0.0;
35882                color: 0 0 0 255;
35883                color3: 255 255 255 30;
35884                rel1 {
35885                   to_x: "clip";
35886                   to_y: "base";
35887                   offset: 5 2;
35888                   relative: 1.0 0.0;
35889                }
35890                rel2 {
35891                   relative: 0.0 1.0;
35892                   offset: 4 -1;
35893                   to_x: "arrow";
35894                   to_y: "spacer";
35895                }
35896                text {
35897                   font: "Sans";
35898                   size: 10;
35899                   min: 0 1;
35900                   align: 0.0 0.0;
35901                   text_class: "fileman_icon";
35902                }
35903             }
35904             description {
35905                state: "selected" 0.0;
35906                inherit: "default" 0.0;
35907                color: 255 255 255 255;
35908                color3: 20 20 20 30;
35909             }
35910          }
35911          part {
35912             name: "e.text.detail";
35913             type: TEXT;
35914             clip_to: "base";
35915             mouse_events: 0;
35916             scale: 1;
35917             description {
35918                state: "default" 0.0;
35919                visible: 1;
35920                color: 80 80 80 255;
35921                rel1 {
35922                   to_x: "clip";
35923                   to_y: "base";
35924                   offset: 5 6;
35925                   relative: 1.0 0.5;
35926                }
35927                rel2 {
35928                   relative: 0.0 1.0;
35929                   offset: 4 -4;
35930                   to_y: "base";
35931                   to_x: "arrow";
35932                }
35933                text {
35934                   font: "Sans";
35935                   size: 8;
35936                   min: 0 1;
35937                   align: 0.0 0.0;
35938                   text_class: "fileman_icon";
35939                }
35940             }
35941             description {
35942                 state: "selected" 0.0;
35943                 inherit: "default" 0.0;
35944                 color: 200 200 200 255;
35945             }
35946          }
35947          part {
35948             name: "spacer";
35949             type: RECT;
35950             mouse_events: 0;
35951             description {
35952                state: "default" 0.0;
35953                visible: 0;
35954                rel1.to: "base";
35955                rel1.relative: 0.0 1.0;
35956                rel2.to: "base";
35957             }
35958             description {
35959                state: "detail" 0.0;
35960                inherit: "default" 0.0;
35961                rel1.to: "e.text.detail";
35962                rel2.to: "e.text.detail";
35963             }
35964          }
35965          part {
35966             name: "event";
35967             type: RECT;
35968             description {
35969                state: "default" 0.0;
35970                color: 0 0 0 0;
35971             }
35972          }
35973       }
35974       programs {
35975          program {
35976             name: "sel";
35977             signal: "e,state,selected";
35978             source: "e";
35979             action: STATE_SET "selected" 0.0;
35980             target: "bg";
35981             target: "outline";
35982             target: "e.text.label";
35983             target: "e.text.detail";
35984             transition: ACCELERATE 0.0;
35985          }
35986          program {
35987             name: "unsel";
35988             signal: "e,state,unselected";
35989             source: "e";
35990             action: STATE_SET "default" 0.0;
35991             transition: LINEAR 0.0;
35992             target: "bg";
35993             target: "outline";
35994             target: "e.text.label";
35995             target: "e.text.detail";
35996          }
35997          program {
35998             name: "mark";
35999             signal: "e,state,marked";
36000             source: "e";
36001             action: STATE_SET "marked" 0.0;
36002             target: "bg_mark";
36003             transition: ACCELERATE 0.15;
36004          }
36005          program {
36006             name: "unmark";
36007             signal: "e,state,unmarked";
36008             source: "e";
36009             action: STATE_SET "default" 0.0;
36010             transition: LINEAR 0.2;
36011             target: "bg_mark";
36012          }
36013          program {
36014             name: "arrow_show";
36015             signal: "e,state,browseable";
36016             source: "e";
36017             action: STATE_SET "visible" 0.0;
36018             target: "arrow";
36019          }
36020          program {
36021             name: "thumb_show_delayed";
36022             signal: "e,action,thumb,show_delayed";
36023             source: "e";
36024             action: STATE_SET "visible" 0.0;
36025             target: "clip";
36026             transition: DECELERATE 0.1;
36027          }
36028          program {
36029             name: "thumb_show";
36030             signal: "e,action,thumb,show";
36031             source: "e";
36032             action: STATE_SET "visible" 0.0;
36033             target: "clip";
36034          }
36035          program {
36036             name: "detail_show";
36037             signal: "e,state,detail,show";
36038             source: "e";
36039             action: STATE_SET "detail" 0.0;
36040             /* transition: ACCELERATE 0.08; */
36041             target: "spacer";
36042          }
36043          program {
36044             name: "detail_hide";
36045             signal: "e,state,detail,hide";
36046             source: "e";
36047             action: STATE_SET "default" 0.0;
36048             target: "spacer";
36049          }
36050       }
36051    }
36052    
36053    group {
36054       name: "e/modules/everything/thumbview/main/window";
36055       parts {
36056          part {
36057             name: "clip";
36058             type: RECT;
36059             mouse_events: 0;
36060             description {
36061                state: "default" 0.0;
36062                color: 255 255 255 0;
36063             }
36064           description {
36065                state: "visible" 0.0;
36066                color: 255 255 255 255;
36067             }
36068         }
36069         part {
36070             name: "e.swallow.list";
36071             type: SWALLOW;
36072           clip_to: "clip";
36073             description {
36074                state: "default" 0.0;
36075                rel1 {
36076                   relative: 0.0 0.0;
36077                   offset: 6   1;
36078                }
36079                rel2 {
36080                   relative: 1.0 1.0;
36081                   offset: -3  -3;
36082                }
36083             }
36084          }
36085          part {
36086             name: "left_arrow";
36087             mouse_events: 0;
36088             scale: 1;
36089             description {
36090                state: "default" 0.0;
36091                visible: 0;
36092                image.normal: "icon_left_arrow.png";
36093                aspect: 1.0 1.0;
36094                aspect_preference: VERTICAL;
36095                align: 0.0 0.5;
36096                min: 32 32;
36097                max: 32 32;
36098                color: 255 255 255 0;
36099             }
36100             description {
36101                state: "visible" 0.0;
36102                inherit: "default" 0.0;
36103                visible: 1;
36104                color: 255 255 255 255;
36105             }
36106          }
36107          part {
36108             name: "right_arrow";
36109             mouse_events: 0;
36110             scale: 1;
36111             description {
36112                state: "default" 0.0;
36113                visible: 0;
36114                image.normal: "icon_right_arrow.png";
36115                aspect: 1.0 1.0;
36116                aspect_preference: VERTICAL;
36117                align: 1.0 0.5;
36118                min: 32 32;
36119                max: 32 32;
36120                color: 255 255 255 0;
36121             }
36122             description {
36123                state: "visible" 0.0;
36124                inherit: "default" 0.0;
36125                visible: 1;
36126                color: 255 255 255 255;
36127             }
36128          }
36129          part {
36130             name: "event";
36131             repeat_events: 1;
36132             type: RECT;
36133             description {
36134                state: "default" 0.0;
36135                color: 0 0 0 0;
36136             }
36137          }
36138       }
36139       programs {
36140          program {
36141             name: "go_into_show";
36142             signal: "e,action,show,into";
36143             source: "e";
36144             action: STATE_SET "visible" 0.0;
36145             transition: LINEAR 0.5;
36146             target: "right_arrow";
36147          }
36148          program {
36149             name: "go_into_hide";
36150             signal: "e,action,hide,into";
36151             source: "e";
36152             action: STATE_SET "default" 0.0;
36153             target: "right_arrow";
36154             transition: LINEAR 0.5;
36155          }
36156          program {
36157             name: "go_back_show";
36158             signal: "e,action,show,back";
36159             source: "e";
36160             action: STATE_SET "visible" 0.0;
36161             transition: LINEAR 0.5;
36162             target: "left_arrow";
36163          }
36164          program {
36165             name: "go_back_hide";
36166             signal: "e,action,hide,back";
36167             source: "e";
36168             action: STATE_SET "default" 0.0;
36169             target: "left_arrow";
36170             transition: LINEAR 0.5;
36171          }
36172          program {
36173             name: "hiding";
36174             signal: "e,action,hide,list";
36175             source: "e";
36176             action: STATE_SET "default" 0.0;
36177             target: "clip";
36178             transition: LINEAR 0.25;
36179          }
36180          program {
36181             name: "showing";
36182             signal: "e,action,show,list";
36183             source: "e";
36184             action: STATE_SET "visible" 0.0;
36185             target: "clip";
36186             transition: LINEAR 0.15;
36187          }
36188       }
36189    }
36190    group {
36191       name: "e/modules/everything/thumbview/main/scrollframe";
36192       images {
36193          image: "bt_sm_base1.png" COMP;
36194          image: "bt_sm_base2.png" COMP;
36195          image: "bt_sm_shine.png" COMP;
36196          image: "bt_sm_hilight.png" COMP;
36197          image: "sb_runnerv.png" COMP;
36198       }
36199       parts {
36200          part {
36201             name: "e.swallow.content";
36202             type: SWALLOW;
36203             description {
36204                state: "default" 0.0;
36205                rel1.offset: 0 0;
36206                rel2 {
36207                   relative: 0.0  1.0;
36208                   offset: 2   -1;
36209                   to_x: "sb_vbar";
36210                }
36211             }
36212          }
36213          part {
36214             name: "sb_vbar";
36215             type: RECT;
36216             mouse_events: 0;
36217             scale: 1;
36218             description {
36219                state: "default" 0.0;
36220                min: 9 17;
36221                align: 1.0 0.0;
36222                rel1 {
36223                   relative: 1.0 0.0;
36224                   offset: -1 0;
36225                }
36226                rel2 {
36227                   relative: 1.0 1.0;
36228                   offset: -1 -1;
36229                }
36230             }
36231             description {
36232                state: "hidden" 0.0;
36233                visible: 0;
36234                max: 0 99999;
36235                rel1 {
36236                   relative: 1.0 0.0;
36237                   offset: -1 0;
36238                }
36239                rel2 {
36240                   relative: 1.0 1.0;
36241                   offset: -1 -1;
36242                }
36243             }
36244          }
36245          part {
36246             name: "sb_vbar_base";
36247             type: RECT;
36248             clip_to: "sb_vbar";
36249             mouse_events: 1;
36250             description {
36251                state: "default" 0.0;
36252                color: 0 0 0 0;
36253                rel1 {
36254                   relative: 0.0  1.0;
36255                   offset: 0    -1;
36256                   to: "sb_vbar_a1";
36257                }
36258                rel2 {
36259                   relative: 1.0  0.0;
36260                   offset: -1    0;
36261                   to: "sb_vbar_a2";
36262                }
36263             }
36264          }
36265          part {
36266             name: "sb_vbar_runner";
36267             clip_to: "sb_vbar";
36268             mouse_events: 0;
36269             description {
36270                state: "default" 0.0;
36271                max: 3 99999;
36272                rel1.to: "sb_vbar_base";
36273                rel1.offset: -2 0;
36274                rel2.to: "sb_vbar_base";
36275                image {
36276                   normal: "sb_runnerv.png";
36277                   border: 0 0 4 4;
36278                }
36279                fill.smooth: 0;
36280             }
36281          }
36282          part {
36283             name: "sb_vbar_p1";
36284             type: RECT;
36285             clip_to: "sb_vbar";
36286             mouse_events: 1;
36287             description {
36288                state: "default" 0.0;
36289                color: 0 0 0 0;
36290                rel1 {
36291                   relative: 0.0 1.0;
36292                   to: "sb_vbar_a1";
36293                }
36294                rel2 {
36295                   relative: 1.0 0.0;
36296                   to: "e.dragable.vbar";
36297                }
36298             }
36299          }
36300          part {
36301             name: "sb_vbar_p2";
36302             type: RECT;
36303             clip_to: "sb_vbar";
36304             mouse_events: 1;
36305             description {
36306                state: "default" 0.0;
36307                color: 0 0 0 0;
36308                rel1 {
36309                   relative: 0.0 1.0;
36310                   to: "e.dragable.vbar";
36311                }
36312                rel2 {
36313                   relative: 1.0 0.0;
36314                   to: "sb_vbar_a2";
36315                }
36316             }
36317          }
36318          part {
36319             name: "e.dragable.vbar";
36320             clip_to: "sb_vbar";
36321             mouse_events: 1;
36322             scale: 1;
36323             dragable {
36324                x: 0 0 0;
36325                y: 1 1 0;
36326                confine: "sb_vbar_base";
36327             }
36328             description {
36329                state: "default" 0.0;
36330                min: 9 17;
36331                rel1 {
36332                   relative: 0.5  0.5;
36333                   offset: -1    0;
36334                   to: "sb_vbar_base";
36335                }
36336                rel2 {
36337                   relative: 0.5  0.5;
36338                   offset: -1    0;
36339                   to: "sb_vbar_base";
36340                }
36341                image {
36342                   normal: "bt_sm_base2.png";
36343                   border: 6 6 6 6;
36344                }
36345             }
36346             description {
36347                state: "clicked" 0.0;
36348                inherit: "default" 0.0;
36349                image.normal: "bt_sm_base1.png";
36350             }
36351          }
36352          part {
36353             name: "sb_vbar_over1";
36354             clip_to: "sb_vbar";
36355             mouse_events: 0;
36356             description {
36357                state: "default" 0.0;
36358                rel1.to: "e.dragable.vbar";
36359                rel2.relative: 1.0 0.5;
36360                rel2.to: "e.dragable.vbar";
36361                image {
36362                   normal: "bt_sm_hilight.png";
36363                   border: 6 6 6 0;
36364                }
36365             color: 180 180 180 255;
36366             }
36367          }
36368          part {
36369             name: "sb_vbar_over2";
36370             clip_to: "sb_vbar";
36371             mouse_events: 0;
36372             description {
36373                state: "default" 0.0;
36374                rel1.to: "e.dragable.vbar";
36375                rel2.to: "e.dragable.vbar";
36376                image {
36377                   normal: "bt_sm_shine.png";
36378                   border: 6 6 6 0;
36379                }
36380             color: 180 180 180 255;
36381             }
36382          }
36383          part {
36384             name: "sb_vbar_a1";
36385             type: RECT;
36386             clip_to: "sb_vbar";
36387             mouse_events: 1;
36388             description {
36389                state: "default" 0.0;
36390                min: 9 17;
36391                align: 0.5 0.0;
36392                /* aspect: 1.0 1.0; */
36393                aspect_preference: HORIZONTAL;
36394                color: 0 0 0 0;
36395                rel1 {
36396                   to: "sb_vbar";
36397                   relative: 0.0  0.0;
36398                   offset: 0    0;
36399                }
36400                rel2 {
36401                   to: "sb_vbar";
36402                   relative: 1.0  0.0;
36403                   offset: -1   0;
36404                }
36405             }
36406          }
36407          part {
36408             name: "sb_vbar_a2";
36409             type: RECT;
36410             clip_to: "sb_vbar";
36411             mouse_events: 1;
36412             description {
36413                state: "default" 0.0;
36414                min: 9 17;
36415                align: 0.5 1.0;
36416                /* aspect: 1.0 1.0; */
36417                aspect_preference: HORIZONTAL;
36418                color: 0 0 0 0;
36419                rel1 {
36420                   to: "sb_vbar";
36421                   relative: 0.0  1.0;
36422                   offset: 0    0;
36423                }
36424                rel2 {
36425                   to: "sb_vbar";
36426                   relative: 1.0  1.0;
36427                   offset: -1   0;
36428                }
36429             }
36430          }
36431       }
36432       programs {
36433          program {
36434             name: "sb_vbar_show";
36435             signal: "e,action,show,vbar";
36436             source: "e";
36437             action: STATE_SET "default" 0.0;
36438             target: "sb_vbar";
36439          }
36440          program {
36441             name: "sb_vbar_hide";
36442             signal: "e,action,hide,vbar";
36443             source: "e";
36444             action: STATE_SET "hidden" 0.0;
36445             target: "sb_vbar";
36446          }
36447          program {
36448             name: "sb_vbar_a1_down2";
36449             signal: "mouse,down,1";
36450             source: "sb_vbar_a1";
36451             action: DRAG_VAL_STEP 0.0 -1.0;
36452             target: "e.dragable.vbar";
36453          }
36454          program {
36455             name: "sb_vbar_a2_down2";
36456             signal: "mouse,down,1";
36457             source: "sb_vbar_a2";
36458             action: DRAG_VAL_STEP 0.0 1.0;
36459             target: "e.dragable.vbar";
36460          }
36461          program {
36462             name: "sb_vbar_p1_down";
36463             signal: "mouse,down,1";
36464             source: "sb_vbar_p1";
36465             action: DRAG_VAL_PAGE 0.0 -1.0;
36466             target: "e.dragable.vbar";
36467          }
36468          program {
36469             name: "sb_vbar_p2_down";
36470             signal: "mouse,down,1";
36471             source: "sb_vbar_p2";
36472             action: DRAG_VAL_PAGE  0.0 1.0;
36473             target: "e.dragable.vbar";
36474          }
36475          program {
36476             name: "sb_vbar_down";
36477             signal: "mouse,down,1";
36478             source: "e.dragable.vbar";
36479             action: STATE_SET "clicked" 0.0;
36480             target: "e.dragable.vbar";
36481          }
36482          program {
36483             name: "sb_vbar_up";
36484             signal: "mouse,up,1";
36485             source: "e.dragable.vbar";
36486             action: STATE_SET "default" 0.0;
36487             target: "e.dragable.vbar";
36488          }
36489       }
36490    }
36491
36492    group {
36493       name: "e/modules/everything/textblock";
36494       styles {
36495          style {
36496             name: "everything_textblock_style";
36497             base: "font=Sans font_size=10 align=left color=#000";
36498             tag: "hilight" "+ font=Sans:style=Bold color=#0c0c0c";
36499             tag: "b" "+ font=Sans:style=Bold font_size=9";
36500             tag: "br" "\n";
36501             tag: "/title" "- \n \n";
36502          }
36503       }
36504       parts {
36505          part {
36506             name: "e.textblock.text";
36507             type: TEXTBLOCK;
36508             mouse_events: 0;
36509             scale: 1;
36510             description {
36511                state: "default" 0.0;
36512                rel1.offset: 4 4;
36513                rel2.offset: -5 -5;
36514                text {
36515                   style: "everything_textblock_style";
36516                   min: 1 1;
36517                }
36518             }
36519          }
36520       }
36521    }
36522
36523    group {
36524       name: "e/modules/everything/gadget";
36525       max: 128 128;
36526       parts {
36527    
36528          part {
36529             name: "icon";
36530             mouse_events: 0;
36531             description {
36532                state: "default" 0.0;
36533                aspect: 1.0 1.0;
36534                aspect_preference: BOTH;
36535                image.normal: "logo_white_128.png";
36536             }
36537             description {
36538                state: "active" 0.0;
36539                inherit: "default" 0.0;
36540                visible: 0;
36541                color: 255 255 255 0;
36542             }
36543          }
36544
36545          part {
36546             name: "e.swallow.icon";
36547             type: SWALLOW;
36548             mouse_events: 0;
36549             description {
36550                state: "default" 0.0;
36551                aspect: 1.0 1.0;
36552                aspect_preference: BOTH;
36553                visible: 0;
36554             }
36555             description {
36556                state: "active" 0.0;
36557                inherit: "default" 0.0;
36558                visible: 1;
36559                color: 255 255 255 0;
36560             }
36561          }
36562
36563          part {
36564             name: "event";
36565             type: RECT;
36566             mouse_events: 1;
36567             description {
36568                state: "default" 0.0;
36569                color: 0 0 0 0;
36570                rel1 {
36571                   relative: 0.0 0.0;
36572                   offset: 0 0;
36573                }
36574                rel2 {
36575                   relative: 1.0 1.0;
36576                   offset: -1 -1;
36577                }
36578             }
36579          }
36580       }
36581       programs {
36582          program {
36583             name: "on";
36584             signal: "e,state,icon,plugin";
36585             source: "e";
36586             action: STATE_SET "active" 0.0;
36587             target: "e.swallow.icon";
36588             target: "icon";
36589          }
36590          program {
36591             name: "off";
36592             signal: "e,state,icon,default";
36593             source: "e";
36594             action: STATE_SET "default" 0.0;
36595             target: "e.swallow.icon";
36596             target: "icon";
36597          }
36598       }
36599    }
36600
36601 /////////////////////////////////////////////////////////////////////////////
36602 /*** MOD: CONF_COLORS ***/
36603
36604    group {
36605       name: "e/modules/conf_colors/preview/solid";
36606       parts {
36607          part {
36608             name: "e.rect";
36609             type: RECT;
36610             mouse_events: 0;
36611             description {
36612                state: "default" 0.0;
36613                color: 255 255 255 255;
36614                color_class: "color_preview";
36615                rel1 {
36616                   relative: 0.0 0.0;
36617                   offset: 0 0;
36618                }
36619                rel2 {
36620                   relative: 1.0 1.0;
36621                   offset: -1 -1;
36622                }
36623             }
36624          }
36625       }
36626    }
36627    group {
36628       name: "e/modules/conf_colors/preview/text";
36629       parts {
36630          part {
36631             name: "e.text";
36632             type: TEXT;
36633             effect: OUTLINE_SOFT_SHADOW;
36634             mouse_events: 0;
36635             description {
36636                state: "default" 0.0;
36637                color: 255 255 255 255;
36638                color2: 255 255 255 255;
36639                color3: 255 255 255 255;
36640                color_class: "color_preview";
36641                rel1 {
36642                   relative: 0.0 0.0;
36643                   offset: 0 0;
36644                }
36645                rel2 {
36646                   relative: 1.0 1.0;
36647                   offset: -1 -1;
36648                }
36649                text {
36650                   font: "Sans:style=Bold";
36651                   size: 16;
36652                   text: "Aa";
36653                   min: 1 1;
36654                }
36655             }
36656          }
36657       }
36658    }
36659    group {
36660       name: "e/modules/conf_colors/preview/unknown";
36661       parts {
36662          part {
36663             name: "c1";
36664             type: RECT;
36665             mouse_events: 0;
36666             description {
36667                state: "default" 0.0;
36668                color: 255 255 255 255;
36669                color_class: "color_preview_c1";
36670                rel1 {
36671                   relative: 0.0 0.0;
36672                   offset: 0 0;
36673                }
36674                rel2 {
36675                   relative: 1.0 1.0;
36676                   offset: -7 -1;
36677                }
36678             }
36679          }
36680          part {
36681             name: "c2";
36682             type: RECT;
36683             mouse_events: 0;
36684             description {
36685                state: "default" 0.0;
36686                color: 255 255 255 255;
36687                color_class: "color_preview_c2";
36688                rel1 {
36689                   relative: 1.0 0.0;
36690                   offset: -6 0;
36691                }
36692                rel2 {
36693                   relative: 1.0 1.0;
36694                   offset: -4 -1;
36695                }
36696             }
36697          }
36698          part {
36699             name: "c3";
36700             type: RECT;
36701             mouse_events: 0;
36702             description {
36703                state: "default" 0.0;
36704                color: 255 255 255 255;
36705                color_class: "color_preview_c3";
36706                rel1 {
36707                   relative: 1.0 0.0;
36708                   offset: -3 0;
36709                }
36710                rel2 {
36711                   relative: 1.0 1.0;
36712                   offset: -1 -1;
36713                }
36714             }
36715          }
36716       }
36717    }
36718
36719 /////////////////////////////////////////////////////////////////////////////
36720 /*** MOD: CONF ***/
36721
36722         group {
36723                 name: "e/modules/conf/main";
36724                 images {
36725                         image: "icon_configuration.png" COMP;
36726                         image: "bt_base1.png" COMP;
36727                         image: "bt_base2.png" COMP;
36728                         image: "bt_hilight.png" COMP;
36729                         image: "bt_shine.png" COMP;
36730                         image: "bt_glow.png" COMP;
36731                 }
36732                 min: 16 16;
36733                 max: 128 128;
36734                 parts {
36735                         part {
36736                                 name: "button_image";
36737                                 mouse_events: 1;
36738                                 scale: 1;
36739                                 description {
36740                                         state: "default" 0.0;
36741                                         fixed: 1 1;
36742                                         align: 0.5 0.5;
36743                min: 32 16;
36744                                         image {
36745                                                 normal: "bt_base2.png";
36746                                                 border: 7 7 7 7;
36747                                         }
36748                                 }
36749                                 description {
36750                                         state: "clicked" 0.0;
36751                                         inherit: "default" 0.0;
36752                                         image.normal: "bt_base1.png";
36753                                 }
36754                                 program {
36755                                         name: "button_down";
36756                                         signal: "mouse,down,1";
36757                                         source: "button_image";
36758                                         action: STATE_SET "clicked" 0.0;
36759                                         target: "button_image";
36760                                         target: "over3";
36761                                 }
36762                                 program {
36763                                         name: "button_up";
36764                                         signal: "mouse,up,1";
36765                                         source: "button_image";
36766                                         action: STATE_SET "default" 0.0;
36767                                         target: "button_image";
36768                                         target: "over3";
36769                                 }
36770                                 program {
36771                                         name: "button_click";
36772                                         signal: "mouse,clicked,1";
36773                                         source: "button_image";
36774                                         action: SIGNAL_EMIT "e,action,conf" "";
36775                                 }
36776                         }
36777                         part {
36778                                 name: "icon";
36779                                 mouse_events: 0;
36780                                 description {
36781                                         state: "default" 0.0;
36782                                         aspect: 1.0 1.0;
36783                                         aspect_preference: BOTH;
36784                                         visible: 1;
36785                                         image.normal: "icon_configuration.png";
36786                                         rel1 {
36787                                                 to: "button_image";
36788                                                 relative: 0.0  0.0;
36789                                                 offset: 3    3;
36790                                         }
36791                                         rel2 {
36792                                                 relative: 1.0  1.0;
36793                                                 offset: -4   -4;
36794                                                 to: "button_image";
36795                                         }
36796                                 }
36797                         }
36798                         part {
36799                                 name: "over1";
36800                                 mouse_events: 0;
36801                                 description {
36802                                         state: "default" 0.0;
36803                                         rel1.to: "button_image";
36804                                         rel2.to: "button_image";
36805                                         rel2.relative: 1.0 0.5;
36806                                         image {
36807                                                 normal: "bt_hilight.png";
36808                                                 border: 7 7 7 0;
36809                                         }
36810                                 }
36811                         }
36812                         part {
36813                                 name: "over2";
36814                                 mouse_events: 0;
36815                                 description {
36816                                         state: "default" 0.0;
36817                                         rel1.to: "button_image";
36818                                         rel2.to: "button_image";
36819                                         image {
36820                                                 normal: "bt_shine.png";
36821                                                 border: 7 7 7 7;
36822                                         }
36823                                 }
36824                         }
36825                         part {
36826                                 name: "over3";
36827                                 mouse_events: 0;
36828                                 description {
36829                                         state: "default" 0.0;
36830                                         rel1.to: "button_image";
36831                                         rel2.to: "button_image";
36832                                         visible: 0;
36833                                         color: 255 255 255 0;
36834                                         image {
36835                                                 normal: "bt_glow.png";
36836                                                 border: 12 12 12 12;
36837                                         }
36838                                         fill.smooth : 0;
36839                                 }
36840                                 description {
36841                                         state: "clicked" 0.0;
36842                                         inherit: "default" 0.0;
36843                                         visible: 1;
36844                                         color: 255 255 255 255;
36845                                 }
36846                         }
36847                 }
36848         }
36849
36850 /////////////////////////////////////////////////////////////////////////////
36851 /*** MOD: ILLUME-HOME-TOGGLE ***/
36852
36853         group {
36854                 name: "e/modules/illume_home_toggle/main";
36855                 images.image: "illume-home.png" COMP;
36856                 images {
36857                         image: "bt_base1.png" COMP;
36858                         image: "bt_base2.png" COMP;
36859                         image: "bt_hilight.png" COMP;
36860                         image: "bt_shine.png" COMP;
36861                         image: "bt_glow.png" COMP;
36862                 }
36863                 min: 16 16;
36864                 max: 128 128;
36865                 parts {
36866                         part {
36867                                 name: "button_image";
36868                                 mouse_events: 1;
36869                                 scale: 1;
36870                                 description {
36871                                         state: "default" 0.0;
36872                                         fixed: 1 1;
36873                                         align: 0.5 0.5;
36874                min: 32 16;
36875                                         image {
36876                                                 normal: "bt_base2.png";
36877                                                 border: 7 7 7 7;
36878                                         }
36879                                 }
36880                                 description {
36881                                         state: "clicked" 0.0;
36882                                         inherit: "default" 0.0;
36883                                         image.normal: "bt_base1.png";
36884                                 }
36885                                 program {
36886                                         name: "button_down";
36887                                         signal: "mouse,down,1";
36888                                         source: "button_image";
36889                                         action: STATE_SET "clicked" 0.0;
36890                                         target: "button_image";
36891                                         target: "over3";
36892                                 }
36893                                 program {
36894                                         name: "button_up";
36895                                         signal: "mouse,up,1";
36896                                         source: "button_image";
36897                                         action: STATE_SET "default" 0.0;
36898                                         target: "button_image";
36899                                         target: "over3";
36900                                 }
36901                                 program {
36902                                         name: "button_click";
36903                                         signal: "mouse,clicked,1";
36904                                         source: "button_image";
36905                                         action: SIGNAL_EMIT "e,action,home" "";
36906                                 }
36907                         }
36908                         part {
36909                                 name: "icon";
36910                                 mouse_events: 0;
36911                                 description {
36912                                         state: "default" 0.0;
36913                                         aspect: 1.0 1.0;
36914                                         aspect_preference: BOTH;
36915                                         image.normal: "illume-home.png";
36916                                         rel1 {
36917                                                 to: "button_image";
36918                                                 relative: 0.0  0.0;
36919                                                 offset: 3    3;
36920                                         }
36921                                         rel2 {
36922                                                 relative: 1.0  1.0;
36923                                                 offset: -4   -4;
36924                                                 to: "button_image";
36925                                         }
36926                                 }
36927                         }
36928                         part {
36929                                 name: "over1";
36930                                 mouse_events: 0;
36931                                 description {
36932                                         state: "default" 0.0;
36933                                         rel1.to: "button_image";
36934                                         rel2.to: "button_image";
36935                                         rel2.relative: 1.0 0.5;
36936                                         image {
36937                                                 normal: "bt_hilight.png";
36938                                                 border: 7 7 7 0;
36939                                         }
36940                                 }
36941                         }
36942                         part {
36943                                 name: "over2";
36944                                 mouse_events: 0;
36945                                 description {
36946                                         state: "default" 0.0;
36947                                         rel1.to: "button_image";
36948                                         rel2.to: "button_image";
36949                                         image {
36950                                                 normal: "bt_shine.png";
36951                                                 border: 7 7 7 7;
36952                                         }
36953                                 }
36954                         }
36955                         part {
36956                                 name: "over3";
36957                                 mouse_events: 0;
36958                                 description {
36959                                         state: "default" 0.0;
36960                                         rel1.to: "button_image";
36961                                         rel2.to: "button_image";
36962                                         visible: 0;
36963                                         color: 255 255 255 0;
36964                                         image {
36965                                                 normal: "bt_glow.png";
36966                                                 border: 12 12 12 12;
36967                                         }
36968                                         fill.smooth : 0;
36969                                 }
36970                                 description {
36971                                         state: "clicked" 0.0;
36972                                         inherit: "default" 0.0;
36973                                         visible: 1;
36974                                         color: 255 255 255 255;
36975                                 }
36976                         }
36977                 }
36978         }
36979
36980 /////////////////////////////////////////////////////////////////////////////
36981 /*** MOD: ILLUME-KBD-TOGGLE ***/
36982
36983         group {
36984                 name: "e/modules/illume_kbd_toggle/main";
36985                 images.image: "illume-kbd.png" COMP;
36986                 images.image: "illume-kbd-on.png" COMP;
36987                 images {
36988                         image: "bt_base1.png" COMP;
36989                         image: "bt_base2.png" COMP;
36990                         image: "bt_hilight.png" COMP;
36991                         image: "bt_shine.png" COMP;
36992                         image: "bt_glow.png" COMP;
36993                 }
36994                 min: 16 16;
36995                 max: 128 128;
36996                 parts {
36997                         part {
36998                                 name: "button_image";
36999                                 mouse_events: 1;
37000                                 scale: 1;
37001                                 description {
37002                                         state: "default" 0.0;
37003                                         fixed: 1 1;
37004                                         align: 0.5 0.5;
37005                                         min: 32 16;
37006                                         image {
37007                                                 normal: "bt_base2.png";
37008                                                 border: 7 7 7 7;
37009                                         }
37010                                 }
37011                                 description {
37012                                         state: "clicked" 0.0;
37013                                         inherit: "default" 0.0;
37014                                         image.normal: "bt_base1.png";
37015                                 }
37016                                 program {
37017                                         name: "button_down";
37018                                         signal: "mouse,down,1";
37019                                         source: "button_image";
37020                                         action: STATE_SET "clicked" 0.0;
37021                                         target: "button_image";
37022                                         target: "over3";
37023                                 }
37024                                 program {
37025                                         name: "button_up";
37026                                         signal: "mouse,up,1";
37027                                         source: "button_image";
37028                                         action: STATE_SET "default" 0.0;
37029                                         target: "button_image";
37030                                         target: "over3";
37031                                 }
37032                                 program {
37033                                         name: "enable";
37034                                         signal: "mouse,clicked,1";
37035                                         source: "button_image";
37036                                         action: SIGNAL_EMIT "e,action,vkbd,enable" "";
37037                                 }
37038                         }
37039                         part {
37040                                 name: "icon";
37041                                 mouse_events: 0;
37042                                 description {
37043                                         state: "default" 0.0;
37044                                         aspect: 1.0 1.0;
37045                                         aspect_preference: BOTH;
37046                                         image.normal: "illume-kbd.png";
37047                                         rel1 {
37048                                                 to: "button_image";
37049                                                 relative: 0.0  0.0;
37050                                                 offset: 3    3;
37051                                         }
37052                                         rel2 {
37053                                                 relative: 1.0  1.0;
37054                                                 offset: -4   -4;
37055                                                 to: "button_image";
37056                                         }
37057                                 }
37058                                 description { state: "on" 0.0;
37059                                         inherit: "default" 0.0;
37060                                         image.normal: "illume-kbd-on.png";
37061                                 }
37062                                 program { name: "state_on";
37063                                    signal: "e,state,vkbd,on";
37064                                    source: "e";
37065                                    action: STATE_SET "on" 0.0;
37066                                    target: "icon";
37067                                    target: "on";
37068                                 }
37069                                 program { name: "state_off";
37070                                    signal: "e,state,vkbd,off";
37071                                    source: "e";
37072                                    action: STATE_SET "default" 0.0;
37073                                    target: "icon";
37074                                    target: "on";
37075                                 }
37076                         }
37077                         part { name: "on";
37078                                 type: RECT;
37079                                 mouse_events: 1;
37080                                 description { state: "default" 0.0;
37081                                         visible: 0;
37082                                         color: 0 0 0 0;
37083                                         rel1.to: "button_image";
37084                                         rel2.to: "button_image";
37085                                 }
37086                                 description { state: "on" 0.0;
37087                                         inherit: "default" 0.0;
37088                                         visible: 1;
37089                                 }
37090                                 program { name: "disable";
37091                                         signal: "mouse,clicked,1";
37092                                         source: "on";
37093                                         action: SIGNAL_EMIT "e,action,vkbd,disable" "";
37094                                 }
37095                         }
37096                         part {
37097                                 name: "over1";
37098                                 mouse_events: 0;
37099                                 description {
37100                                         state: "default" 0.0;
37101                                         rel1.to: "button_image";
37102                                         rel2.to: "button_image";
37103                                         rel2.relative: 1.0 0.5;
37104                                         image {
37105                                                 normal: "bt_hilight.png";
37106                                                 border: 7 7 7 0;
37107                                         }
37108                                 }
37109                         }
37110                         part {
37111                                 name: "over2";
37112                                 mouse_events: 0;
37113                                 description {
37114                                         state: "default" 0.0;
37115                                         rel1.to: "button_image";
37116                                         rel2.to: "button_image";
37117                                         image {
37118                                                 normal: "bt_shine.png";
37119                                                 border: 7 7 7 7;
37120                                         }
37121                                 }
37122                         }
37123                         part {
37124                                 name: "over3";
37125                                 mouse_events: 0;
37126                                 description {
37127                                         state: "default" 0.0;
37128                                         rel1.to: "button_image";
37129                                         rel2.to: "button_image";
37130                                         visible: 0;
37131                                         color: 255 255 255 0;
37132                                         image {
37133                                                 normal: "bt_glow.png";
37134                                                 border: 12 12 12 12;
37135                                         }
37136                                         fill.smooth : 0;
37137                                 }
37138                                 description {
37139                                         state: "clicked" 0.0;
37140                                         inherit: "default" 0.0;
37141                                         visible: 1;
37142                                         color: 255 255 255 255;
37143                                 }
37144                         }
37145                 }
37146         }
37147
37148 /////////////////////////////////////////////////////////////////////////////
37149 /*** MOD: ILLUME-MODE-TOGGLE ***/
37150
37151         group {
37152                 name: "e/modules/illume_mode_toggle/main";
37153                 images.image: "illume-mode-single.png" COMP;
37154                 images.image: "illume-mode-dual-left.png" COMP;
37155                 images.image: "illume-mode-dual-top.png" COMP;
37156                 images {
37157                         image: "bt_base1.png" COMP;
37158                         image: "bt_base2.png" COMP;
37159                         image: "bt_hilight.png" COMP;
37160                         image: "bt_shine.png" COMP;
37161                         image: "bt_glow.png" COMP;
37162                 }
37163                 min: 16 16;
37164                 max: 128 128;
37165                 parts {
37166                         part {
37167                                 name: "button_image";
37168                                 mouse_events: 1;
37169                                 scale: 1;
37170                                 description {
37171                                         state: "default" 0.0;
37172                                         fixed: 1 1;
37173                                         align: 0.5 0.5;
37174                                         min: 32 16;
37175                                         image {
37176                                                 normal: "bt_base2.png";
37177                                                 border: 7 7 7 7;
37178                                         }
37179                                 }
37180                                 description {
37181                                         state: "clicked" 0.0;
37182                                         inherit: "default" 0.0;
37183                                         image.normal: "bt_base1.png";
37184                                 }
37185                                 program {
37186                                         name: "button_down";
37187                                         signal: "mouse,down,1";
37188                                         source: "button_image";
37189                                         action: STATE_SET "clicked" 0.0;
37190                                         target: "button_image";
37191                                         target: "over3";
37192                                 }
37193                                 program {
37194                                         name: "button_up";
37195                                         signal: "mouse,up,1";
37196                                         source: "button_image";
37197                                         action: STATE_SET "default" 0.0;
37198                                         target: "button_image";
37199                                         target: "over3";
37200                                 }
37201                                 program {
37202                                         name: "enable";
37203                                         signal: "mouse,clicked,1";
37204                                         source: "button_image";
37205                                         action: SIGNAL_EMIT "e,action,mode,dual,top" "";
37206                                 }
37207                         }
37208                         part {
37209                                 name: "icon";
37210                                 mouse_events: 0;
37211                                 description {
37212                                         state: "default" 0.0;
37213                                         aspect: 1.0 1.0;
37214                                         aspect_preference: BOTH;
37215                                         image.normal: "illume-mode-single.png";
37216                                         rel1 {
37217                                                 to: "button_image";
37218                                                 relative: 0.0  0.0;
37219                                                 offset: 3    3;
37220                                         }
37221                                         rel2 {
37222                                                 relative: 1.0  1.0;
37223                                                 offset: -4   -4;
37224                                                 to: "button_image";
37225                                         }
37226                                 }
37227                                 description { state: "dual_left" 0.0;
37228                                         inherit: "default" 0.0;
37229                                         image.normal: "illume-mode-dual-left.png";
37230                                 }
37231                                 description { state: "dual_top" 0.0;
37232                                         inherit: "default" 0.0;
37233                                         image.normal: "illume-mode-dual-top.png";
37234                                 }
37235                                 program { name: "state_single";
37236                                    signal: "e,mode,single";
37237                                    source: "e";
37238                                    action: STATE_SET "default" 0.0;
37239                                    target: "icon";
37240                                    target: "dual_left";
37241                                    target: "dual_top";
37242                                 }
37243                                 program { name: "state_dual_left";
37244                                    signal: "e,mode,dual,left";
37245                                    source: "e";
37246                                    action: STATE_SET "dual_left" 0.0;
37247                                    target: "icon";
37248                                    target: "dual_left";
37249                                    target: "dual_top";
37250                                 }
37251                                 program { name: "state_dual_top";
37252                                    signal: "e,mode,dual,top";
37253                                    source: "e";
37254                                    action: STATE_SET "dual_top" 0.0;
37255                                    target: "icon";
37256                                    target: "dual_left";
37257                                    target: "dual_top";
37258                                 }
37259                         }
37260                         part { name: "dual_top";
37261                                 type: RECT;
37262                                 mouse_events: 1;
37263                                 description { state: "default" 0.0;
37264                                         visible: 0;
37265                                         color: 0 0 0 0;
37266                                         rel1.to: "button_image";
37267                                         rel2.to: "button_image";
37268                                 }
37269                                 description { state: "dual_top" 0.0;
37270                                         inherit: "default" 0.0;
37271                                         visible: 1;
37272                                 }
37273                                 description { state: "dual_left" 0.0;
37274                                         inherit: "default" 0.0;
37275                                         visible: 0;
37276                                 }
37277                                 program { name: "dual_top";
37278                                         signal: "mouse,clicked,1";
37279                                         source: "dual_top";
37280                                         action: SIGNAL_EMIT "e,action,mode,dual,left" "";
37281                                 }
37282                         }
37283                         part { name: "dual_left";
37284                                 type: RECT;
37285                                 mouse_events: 1;
37286                                 description { state: "default" 0.0;
37287                                         visible: 0;
37288                                         color: 0 0 0 0;
37289                                         rel1.to: "button_image";
37290                                         rel2.to: "button_image";
37291                                 }
37292                                 description { state: "dual_top" 0.0;
37293                                         inherit: "default" 0.0;
37294                                         visible: 0;
37295                                 }
37296                                 description { state: "dual_left" 0.0;
37297                                         inherit: "default" 0.0;
37298                                         visible: 1;
37299                                 }
37300                                 program { name: "dual_left";
37301                                         signal: "mouse,clicked,1";
37302                                         source: "dual_left";
37303                                         action: SIGNAL_EMIT "e,action,mode,single" "";
37304                                 }
37305                         }
37306                         part {
37307                                 name: "over1";
37308                                 mouse_events: 0;
37309                                 description {
37310                                         state: "default" 0.0;
37311                                         rel1.to: "button_image";
37312                                         rel2.to: "button_image";
37313                                         rel2.relative: 1.0 0.5;
37314                                         image {
37315                                                 normal: "bt_hilight.png";
37316                                                 border: 7 7 7 0;
37317                                         }
37318                                 }
37319                         }
37320                         part {
37321                                 name: "over2";
37322                                 mouse_events: 0;
37323                                 description {
37324                                         state: "default" 0.0;
37325                                         rel1.to: "button_image";
37326                                         rel2.to: "button_image";
37327                                         image {
37328                                                 normal: "bt_shine.png";
37329                                                 border: 7 7 7 7;
37330                                         }
37331                                 }
37332                         }
37333                         part {
37334                                 name: "over3";
37335                                 mouse_events: 0;
37336                                 description {
37337                                         state: "default" 0.0;
37338                                         rel1.to: "button_image";
37339                                         rel2.to: "button_image";
37340                                         visible: 0;
37341                                         color: 255 255 255 0;
37342                                         image {
37343                                                 normal: "bt_glow.png";
37344                                                 border: 12 12 12 12;
37345                                         }
37346                                         fill.smooth : 0;
37347                                 }
37348                                 description {
37349                                         state: "clicked" 0.0;
37350                                         inherit: "default" 0.0;
37351                                         visible: 1;
37352                                         color: 255 255 255 255;
37353                                 }
37354                         }
37355                 }
37356         }
37357
37358 /////////////////////////////////////////////////////////////////////////////
37359 /*** MOD: COMP ***/
37360
37361    group { name: "e/modules/comp/preview";
37362       parts {
37363          part { name: "e.swallow.preview";
37364             type: SWALLOW;
37365             mouse_events: 0;
37366             description { state: "default" 0.0; }
37367          }
37368          part { name: "e.text.label";
37369             type: TEXT;
37370             effect: SOFT_SHADOW;
37371             mouse_events: 0;
37372             scale: 1;
37373             description { state: "default" 0.0;
37374                fixed: 0 1;
37375                color: 224 224 224 255;
37376                color3: 0 0 0 32;
37377                text {
37378                   font: "Sans:style=Bold";
37379                   size: 10;
37380                   min: 1 1;
37381                   align: 0.5 0.5;
37382                   text_class: "fileman_icon";
37383                }
37384             }
37385          }
37386       }
37387    }
37388
37389    group { name: "e/modules/comp/screen/base/default";
37390       parts {
37391          part { name: "black"; type: RECT;
37392             mouse_events: 0;
37393             description { state: "default" 0.0;
37394                visible: 1;
37395                color: 0 0 0 255;
37396             }
37397          }
37398       }
37399    }
37400    group { name: "e/modules/comp/screen/overlay/default";
37401       images {
37402          image: "bg_shadow.png" COMP;
37403       }
37404       parts {
37405          part { name: "clip"; type: RECT;
37406             mouse_events: 0;
37407             description { state: "default" 0.0;
37408                visible: 1;
37409             }
37410          }
37411          part { name: "shadow";
37412             mouse_events: 0;
37413             clip_to: "clip";
37414             description { state: "default" 0.0;
37415                rel1.relative: -1.0 -1.0;
37416                rel2.relative: 2.0 2.0;
37417                image.normal: "bg_shadow.png";
37418                fill.smooth: 0;
37419                visible: 0;
37420                color: 255 255 255 0;
37421             }
37422             description { state: "visible" 0.0;
37423                inherit: "default" 0.0;
37424                rel1.relative: 0.0 0.0;
37425                rel2.relative: 1.0 1.0;
37426                visible: 1;
37427                color: 255 255 255 255;
37428             }
37429          }
37430          part { name: "blanker"; type: RECT;
37431             mouse_events: 0;
37432             description { state: "default" 0.0;
37433                visible: 0;
37434                color: 0 0 0 0;
37435             }
37436             description { state: "visible" 0.0;
37437                inherit: "default" 0.0;
37438                visible: 1;
37439                color: 0 0 0 255;
37440             }
37441          }
37442          part { name: "suspender"; type: RECT;
37443             mouse_events: 0;
37444             description { state: "default" 0.0;
37445                visible: 0;
37446                color: 0 0 0 0;
37447             }
37448             description { state: "visible" 0.0;
37449                inherit: "default" 0.0;
37450                visible: 1;
37451                color: 0 0 0 255;
37452             }
37453          }
37454       }
37455       programs {
37456          program { name: "save-on";
37457             signal: "e,state,screensaver,on";
37458             source: "e";
37459             action: STATE_SET "visible" 0.0;
37460             transition: ACCELERATE 3.0 CURRENT;
37461             target: "blanker";
37462          }
37463          program { name: "save-on2";
37464             signal: "e,state,screensaver,on";
37465             source: "e";
37466             action: STATE_SET "visible" 0.0;
37467             transition: DECELERATE 1.5 CURRENT;
37468             target: "shadow";
37469          }
37470          program { name: "save-off";
37471             signal: "e,state,screensaver,off";
37472             source: "e";
37473             action: STATE_SET "default" 0.0;
37474             transition: ACCELERATE 0.5 CURRENT;
37475             target: "blanker";
37476             target: "shadow";
37477          }
37478          program { name: "save-off2";
37479             signal: "e,state,screensaver,off";
37480             source: "e";
37481             action: STATE_SET "default" 0.0;
37482             transition: ACCELERATE 0.25 CURRENT;
37483             target: "shadow";
37484          }
37485          program { name: "suspend";
37486             signal: "e,state,sys,suspend";
37487             source: "e";
37488             action: STATE_SET "visible" 0.0;
37489             transition: ACCELERATE 0.5 CURRENT;
37490             target: "suspender";
37491             after: "suspend_done";
37492          }
37493          program { name: "suspend_done";
37494             action: SIGNAL_EMIT "e,state,sys,suspend,done" "e";
37495          }
37496          program { name: "hibernate";
37497             signal: "e,state,sys,hibernate";
37498             source: "e";
37499             action: STATE_SET "visible" 0.0;
37500             transition: ACCELERATE 0.5 CURRENT;
37501             target: "suspender";
37502             after: "hibernate_done";
37503          }
37504          program { name: "hibernate_done";
37505             action: SIGNAL_EMIT "e,state,sys,hibernate,done" "e";
37506          }
37507          program { name: "resume";
37508             signal: "e,state,sys,resume";
37509             source: "e";
37510             action: STATE_SET "default" 0.0;
37511             transition: DECELERATE 1.0 CURRENT;
37512             target: "suspender";
37513          }
37514          program { name: "reboot";
37515             signal: "e,state,sys,reboot";
37516             source: "e";
37517             action: STATE_SET "visible" 0.0;
37518             transition: ACCELERATE 0.5 CURRENT;
37519             target: "suspender";
37520             after: "reboot_done";
37521          }
37522          program { name: "reboot_done";
37523             action: SIGNAL_EMIT "e,state,sys,reboot,done" "e";
37524          }
37525          program { name: "halt";
37526             signal: "e,state,sys,halt";
37527             source: "e";
37528             action: STATE_SET "visible" 0.0;
37529             transition: ACCELERATE 0.5 CURRENT;
37530             target: "suspender";
37531             after: "halt_done";
37532          }
37533          program { name: "halt_done";
37534             action: SIGNAL_EMIT "e,state,sys,halt,done" "e";
37535          }
37536          program { name: "logout";
37537             signal: "e,state,sys,logout";
37538             source: "e";
37539             action: STATE_SET "visible" 0.0;
37540             transition: ACCELERATE 0.5 CURRENT;
37541             target: "suspender";
37542             after: "logout_done";
37543          }
37544          program { name: "logout_done";
37545             action: SIGNAL_EMIT "e,state,sys,logout,done" "e";
37546          }
37547       }
37548    }
37549
37550    group { name: "e/comp/default";
37551       images {
37552          image: "comp-sh1.png" COMP;
37553          image: "bt_glow.png" COMP;
37554       }
37555       parts {
37556          part { name: "clipper";
37557             type: RECT;
37558             mouse_events: 0;
37559             description { state: "default" 0.0;
37560                visible: 0;
37561                color: 255 255 255 0;
37562                rel1 {
37563                   relative: -1.0  -1.0;
37564                   offset: -9999 -9999;
37565                }
37566                rel2 {
37567                   relative: 2.0   2.0;
37568                   offset: 9999  9999;
37569                }
37570             }
37571             description { state: "visible" 0.0;
37572                inherit: "default" 0.0;
37573                visible: 1;
37574                color: 255 255 255 255;
37575             }
37576          }
37577          part { name: "shadow";
37578             mouse_events: 0;
37579             clip_to: "clipper";
37580             description { state: "default" 0.0;
37581                image {
37582                   normal: "comp-sh1.png";
37583                   border: 18 18 18 18;
37584                   middle: 0;
37585                }
37586                fill.smooth: 0;
37587                rel1 {
37588                   to: "e.swallow.content";
37589                   relative: 0.0  0.0;
37590                   offset: -16  -14;
37591                }
37592                rel2 {
37593                   to: "e.swallow.content";
37594                   relative: 1.0  1.0;
37595                   offset: 15   17;
37596                }
37597             }
37598             description { state: "hidden" 0.0;
37599                inherit: "default" 0.0;
37600                visible: 0;
37601             }
37602          }
37603          part { name: "shower";
37604             type: RECT;
37605             mouse_events: 0;
37606             description { state: "default" 0.0;
37607                visible: 0;
37608                rel1 {
37609                   relative: 0.05  0.05;
37610                   offset: 0    0;
37611                }
37612                rel2 {
37613                   relative: 0.95  0.95;
37614                   offset: -1   -1;
37615                }
37616             }
37617             description { state: "visible" 0.0;
37618                inherit: "default" 0.0;
37619                rel1 {
37620                   relative: 0.0  0.0;
37621                }
37622                rel2 {
37623                   relative: 1.0  1.0;
37624                }
37625             }
37626          }
37627          part { name: "e.swallow.content";
37628             type: SWALLOW;
37629             clip_to: "clipper";
37630             mouse_events: 0;
37631             description { state: "default" 0.0;
37632                rel1 {
37633                   to: "shower";
37634                }
37635                rel2 {
37636                   to: "shower";
37637                }
37638             }
37639          }
37640          part { name: "glow";
37641             mouse_events: 0;
37642             description { state: "default" 0.0;
37643                visible: 0;
37644                rel1.to: "e.swallow.content";
37645                rel1.offset: -3 -3;
37646                rel2.to: "e.swallow.content";
37647                rel2.offset: 2  2;
37648                color: 255 255 255 0;
37649                image {
37650                   normal: "bt_glow.png";
37651                   border: 8 8 8 8;
37652                   middle: 0;
37653                }
37654                fill.smooth: 0;
37655             }
37656             description { state: "active" 0.0;
37657                inherit: "default" 0.0;
37658                visible: 1;
37659                color: 255 255 255 255;
37660             }
37661             description { state: "faded" 0.0;
37662                inherit: "default" 0.0;
37663                visible: 1;
37664                color: 255 255 255 0;
37665                rel1.offset: -23 -22;
37666                rel2.offset: 22  22;
37667             }
37668          }
37669       }
37670       programs {
37671          program { name: "shadow-on";
37672             signal: "e,state,shadow,on";
37673             source: "e";
37674             action: STATE_SET "default" 0.0;
37675             target: "shadow";
37676          }
37677          program { name: "shadow-off";
37678             signal: "e,state,shadow,off";
37679             source: "e";
37680             action: STATE_SET "hidden" 0.0;
37681             target: "shadow";
37682          }
37683          program { name: "show1";
37684             signal: "e,state,visible,on";
37685             source: "e";
37686             action: STATE_SET "visible" 0.0;
37687             transition: DECELERATE 0.15;
37688             target: "clipper";
37689             target: "shower";
37690             after: "show2";
37691          }
37692          program { name: "show2";
37693             action: SIGNAL_EMIT "e,action,show,done" "e";
37694          }
37695          program { name: "hide1";
37696             signal: "e,state,visible,off";
37697             source: "e";
37698             action: STATE_SET "default" 0.0;
37699             transition: DECELERATE 0.30;
37700             target: "clipper";
37701             target: "shower";
37702             after: "hide2";
37703          }
37704          program { name: "hide2";
37705             action: SIGNAL_EMIT "e,action,hide,done" "e";
37706          }
37707          program { name: "urgent-on";
37708             signal: "e,state,urgent,on";
37709             source: "e";
37710             action: STATE_SET "active" 0.0;
37711             target: "glow";
37712             after: "urgent2";
37713          }
37714          program { name: "urgent2";
37715             action: STATE_SET "faded" 0.0;
37716             transition: DECELERATE 0.5;
37717             target: "glow";
37718             after: "urgent-on";
37719          }
37720          program { name: "urgent-off";
37721             signal: "e,state,urgent,off";
37722             source: "e";
37723             action: STATE_SET "default" 0.0;
37724             target: "glow";
37725          }
37726       }
37727    }
37728 //----
37729    group { name: "e/comp/wobble";
37730       images {
37731          image: "comp-sh1.png" COMP;
37732          image: "bt_glow.png" COMP;
37733       }
37734       parts {
37735          part { name: "focus-clipper";
37736             type: RECT;
37737             mouse_events: 0;
37738             description { state: "default" 0.0;
37739                color_class: "comp_focus-out_color";
37740                rel1 {
37741                   relative: -1.0  -1.0;
37742                   offset: -9999 -9999;
37743                }
37744                rel2 {
37745                   relative: 2.0   2.0;
37746                   offset: 9999  9999;
37747                }
37748             }
37749             description { state: "focused" 0.0;
37750                inherit: "default" 0.0;
37751                color_class: "";
37752                color: 255 255 255 255;
37753             }
37754          }
37755          part { name: "clipper";
37756             type: RECT;
37757             mouse_events: 0;
37758             clip_to: "focus-clipper";
37759             description { state: "default" 0.0;
37760                visible: 0;
37761                color: 255 255 255 0;
37762                rel1 {
37763                   relative: -1.0  -1.0;
37764                   offset: -9999 -9999;
37765                }
37766                rel2 {
37767                   relative: 2.0   2.0;
37768                   offset: 9999  9999;
37769                }
37770             }
37771             description { state: "visible" 0.0;
37772                inherit: "default" 0.0;
37773                visible: 1;
37774                color: 255 255 255 255;
37775             }
37776          }
37777          part { name: "shadow";
37778             mouse_events: 0;
37779             clip_to: "clipper";
37780             description { state: "default" 0.0;
37781                image {
37782                   normal: "comp-sh1.png";
37783                   border: 18 18 18 18;
37784                   middle: 0;
37785                }
37786                fill.smooth: 0;
37787                rel1 {
37788                   to: "e.swallow.content";
37789                   relative: 0.0  0.0;
37790                   offset: -16  -14;
37791                }
37792                rel2 {
37793                   to: "e.swallow.content";
37794                   relative: 1.0  1.0;
37795                   offset: 15   17;
37796                }
37797             }
37798             description { state: "hidden" 0.0;
37799                inherit: "default" 0.0;
37800                visible: 0;
37801             }
37802          }
37803          part { name: "shower";
37804             type: RECT;
37805             mouse_events: 0;
37806             description { state: "default" 0.0;
37807                visible: 0;
37808                rel1 {
37809                   relative: 0.05  0.05;
37810                   offset: 0    0;
37811                }
37812                rel2 {
37813                   relative: 0.95  0.95;
37814                   offset: -1   -1;
37815                }
37816             }
37817             description { state: "visible" 0.0;
37818                inherit: "default" 0.0;
37819                rel1 {
37820                   relative: 0.0  0.0;
37821                }
37822                rel2 {
37823                   relative: 1.0  1.0;
37824                }
37825             }
37826          }
37827          part { name: "e.swallow.content";
37828             type: SWALLOW;
37829             clip_to: "clipper";
37830             mouse_events: 0;
37831             description { state: "default" 0.0;
37832                rel1 {
37833                   to: "shower";
37834                }
37835                rel2 {
37836                   to: "shower";
37837                }
37838             }
37839             description { state: "focus1" 0.0;
37840                inherit: "default" 0.0;
37841                rel1.offset: -10 -10;
37842                rel2.offset: 9   9;
37843             }
37844             description { state: "focus2" 0.0;
37845                inherit: "default" 0.0;
37846                rel1.offset: 4   4;
37847                rel2.offset: -5  -5;
37848             }
37849             description { state: "focus3" 0.0;
37850                inherit: "default" 0.0;
37851                rel1.offset: -3  -3;
37852                rel2.offset: 2   2;
37853             }
37854             description { state: "focus4" 0.0;
37855                inherit: "default" 0.0;
37856                rel1.offset: 1   1;
37857                rel2.offset: -2  -2;
37858             }
37859          }
37860          part { name: "glow";
37861             mouse_events: 0;
37862             description { state: "default" 0.0;
37863                visible: 0;
37864                rel1.to: "e.swallow.content";
37865                rel1.offset: -3 -3;
37866                rel2.to: "e.swallow.content";
37867                rel2.offset: 2  2;
37868                color: 255 255 255 0;
37869                image {
37870                   normal: "bt_glow.png";
37871                   border: 8 8 8 8;
37872                   middle: 0;
37873                }
37874                fill.smooth: 0;
37875             }
37876             description { state: "active" 0.0;
37877                inherit: "default" 0.0;
37878                visible: 1;
37879                color: 255 255 255 255;
37880             }
37881             description { state: "faded" 0.0;
37882                inherit: "default" 0.0;
37883                visible: 1;
37884                color: 255 255 255 0;
37885                rel1.offset: -23 -22;
37886                rel2.offset: 22  22;
37887             }
37888          }
37889       }
37890       programs {
37891          program { name: "shadow-on";
37892             signal: "e,state,shadow,on";
37893             source: "e";
37894             action: STATE_SET "default" 0.0;
37895             target: "shadow";
37896          }
37897          program { name: "shadow-off";
37898             signal: "e,state,shadow,off";
37899             source: "e";
37900             action: STATE_SET "hidden" 0.0;
37901             target: "shadow";
37902          }
37903          program { name: "show1";
37904             signal: "e,state,visible,on";
37905             source: "e";
37906             action: STATE_SET "visible" 0.0;
37907             transition: DECELERATE 0.15;
37908             target: "clipper";
37909             target: "shower";
37910             after: "show2";
37911          }
37912          program { name: "show2";
37913             action: SIGNAL_EMIT "e,action,show,done" "e";
37914          }
37915          program { name: "hide1";
37916             signal: "e,state,visible,off";
37917             source: "e";
37918             action: STATE_SET "default" 0.0;
37919             transition: DECELERATE 0.30;
37920             target: "clipper";
37921             target: "shower";
37922             after: "hide2";
37923          }
37924          program { name: "hide2";
37925             action: SIGNAL_EMIT "e,action,hide,done" "e";
37926          }
37927          program { name: "focus";
37928             signal: "e,state,focus,on";
37929             source: "e";
37930             action: STATE_SET "focused" 0.0;
37931             transition: SINUSOIDAL 0.2;
37932             target: "focus-clipper";
37933          }
37934          program { name: "unfocus";
37935             signal: "e,state,focus,off";
37936             source: "e";
37937             action: STATE_SET "default" 0.0;
37938             transition: SINUSOIDAL 0.5;
37939             target: "focus-clipper";
37940          }
37941          program { name: "focus1";
37942             signal: "e,state,focus,on";
37943             source: "e";
37944             action: STATE_SET "focus1" 0.0;
37945             transition: SINUSOIDAL 0.1;
37946             target: "e.swallow.content";
37947             after: "focus2";
37948          }
37949          program { name: "focus2";
37950             action: STATE_SET "focus2" 0.0;
37951             transition: SINUSOIDAL 0.1;
37952             target: "e.swallow.content";
37953             after: "focus3";
37954          }
37955          program { name: "focus3";
37956             action: STATE_SET "focus3" 0.0;
37957             transition: SINUSOIDAL 0.1;
37958             target: "e.swallow.content";
37959             after: "focus4";
37960          }
37961          program { name: "focus4";
37962             action: STATE_SET "focus4" 0.0;
37963             transition: SINUSOIDAL 0.1;
37964             target: "e.swallow.content";
37965             after: "focus5";
37966          }
37967          program { name: "focus5";
37968             action: STATE_SET "default" 0.0;
37969             transition: SINUSOIDAL 0.1;
37970             target: "e.swallow.content";
37971          }
37972          program { name: "urgent-on";
37973             signal: "e,state,urgent,on";
37974             source: "e";
37975             action: STATE_SET "active" 0.0;
37976             target: "glow";
37977             after: "urgent2";
37978          }
37979          program { name: "urgent2";
37980             action: STATE_SET "faded" 0.0;
37981             transition: DECELERATE 0.5;
37982             target: "glow";
37983             after: "urgent-on";
37984          }
37985          program { name: "urgent-off";
37986             signal: "e,state,urgent,off";
37987             source: "e";
37988             action: STATE_SET "default" 0.0;
37989             target: "glow";
37990          }
37991       }
37992    }
37993 //----
37994    group { name: "e/comp/none";
37995       parts {
37996          part { name: "e.swallow.content";
37997             type: SWALLOW;
37998             mouse_events: 0;
37999             description { state: "default" 0.0;
38000             }
38001          }
38002       }
38003       programs {
38004          program { name: "show1";
38005             signal: "e,state,visible,on";
38006             source: "e";
38007             action: SIGNAL_EMIT "e,action,show,done" "e";
38008          }
38009          program { name: "hide1";
38010             signal: "e,state,visible,off";
38011             source: "e";
38012             action: SIGNAL_EMIT "e,action,hide,done" "e";
38013          }
38014       }
38015    }
38016 //----
38017    group { name: "e/comp/still";
38018       images {
38019          image: "comp-sh1.png" COMP;
38020       }
38021       parts {
38022          part { name: "shadow";
38023             mouse_events: 0;
38024             description { state: "default" 0.0;
38025                image {
38026                   normal: "comp-sh1.png";
38027                   border: 18 18 18 18;
38028                   middle: 0;
38029                }
38030                fill {
38031                   smooth: 0;
38032                }
38033                rel1 {
38034                   to: "e.swallow.content";
38035                   relative: 0.0  0.0;
38036                   offset: -16  -14;
38037                }
38038                rel2 {
38039                   to: "e.swallow.content";
38040                   relative: 1.0  1.0;
38041                   offset: 15   17;
38042                }
38043             }
38044             description { state: "hidden" 0.0;
38045                inherit: "default" 0.0;
38046                visible: 0;
38047             }
38048          }
38049          part { name: "focus-clipper";
38050             type: RECT;
38051             mouse_events: 0;
38052             description { state: "default" 0.0;
38053                color_class: "comp_focus-out_color";
38054                rel1 {
38055                   relative: -1.0  -1.0;
38056                   offset: -9999 -9999;
38057                }
38058                rel2 {
38059                   relative: 2.0   2.0;
38060                   offset: 9999  9999;
38061                }
38062             }
38063             description { state: "focused" 0.0;
38064                inherit: "default" 0.0;
38065                color_class: "";
38066                color: 255 255 255 255;
38067             }
38068          }
38069          part { name: "e.swallow.content";
38070             type: SWALLOW;
38071             mouse_events: 0;
38072             clip_to: "focus-clipper";
38073             description { state: "default" 0.0;
38074             }
38075          }
38076       }
38077       programs {
38078          program { name: "shadow-on";
38079             signal: "e,state,shadow,on";
38080             source: "e";
38081             action: STATE_SET "default" 0.0;
38082             target: "shadow";
38083          }
38084          program { name: "shadow-off";
38085             signal: "e,state,shadow,off";
38086             source: "e";
38087             action: STATE_SET "hidden" 0.0;
38088             target: "shadow";
38089          }
38090          program { name: "show1";
38091             signal: "e,state,visible,on";
38092             source: "e";
38093             action: SIGNAL_EMIT "e,action,show,done" "e";
38094          }
38095          program { name: "hide1";
38096             signal: "e,state,visible,off";
38097             source: "e";
38098             action: SIGNAL_EMIT "e,action,hide,done" "e";
38099          }
38100          program { name: "focus";
38101             signal: "e,state,focus,on";
38102             source: "e";
38103             action: STATE_SET "focused" 0.0;
38104             transition: SINUSOIDAL 0.2;
38105             target: "focus-clipper";
38106          }
38107          program { name: "unfocus";
38108             signal: "e,state,focus,off";
38109             source: "e";
38110             action: STATE_SET "default" 0.0;
38111             transition: SINUSOIDAL 0.5;
38112             target: "focus-clipper";
38113          }
38114       }
38115    }
38116 //----
38117    group { name: "e/comp/popup";
38118       images {
38119          image: "comp-sh1.png" COMP;
38120       }
38121       parts {
38122          part { name: "clipper";
38123             type: RECT;
38124             mouse_events: 0;
38125             description { state: "default" 0.0;
38126                visible: 0;
38127                color: 255 255 255 0;
38128                rel1 {
38129                   relative: -1.0  -1.0;
38130                   offset: -9999 -9999;
38131                }
38132                rel2 {
38133                   relative: 2.0   2.0;
38134                   offset: 9999  9999;
38135                }
38136             }
38137             description { state: "visible" 0.0;
38138                inherit: "default" 0.0;
38139                visible: 1;
38140                color: 255 255 255 255;
38141             }
38142          }
38143          part { name: "shadow";
38144             mouse_events: 0;
38145             clip_to: "clipper";
38146             description { state: "default" 0.0;
38147                image {
38148                   normal: "comp-sh1.png";
38149                   border: 18 18 18 18;
38150                   middle: 0;
38151                }
38152                fill.smooth: 0;
38153                rel1 {
38154                   to: "e.swallow.content";
38155                   relative: 0.0  0.0;
38156                   offset: -16  -14;
38157                }
38158                rel2 {
38159                   to: "e.swallow.content";
38160                   relative: 1.0  1.0;
38161                   offset: 15   17;
38162                }
38163             }
38164             description { state: "hidden" 0.0;
38165                inherit: "default" 0.0;
38166                visible: 0;
38167             }
38168          }
38169          part { name: "shower";
38170             type: RECT;
38171             mouse_events: 0;
38172             description { state: "default" 0.0;
38173                visible: 0;
38174                rel1 {
38175                   relative: 0.05  0.05;
38176                   offset: 0    0;
38177                }
38178                rel2 {
38179                   relative: 0.95  0.95;
38180                   offset: -1   -1;
38181                }
38182             }
38183             description { state: "visible" 0.0;
38184                inherit: "default" 0.0;
38185                rel1 {
38186                   relative: 0.0  0.0;
38187                }
38188                rel2 {
38189                   relative: 1.0  1.0;
38190                }
38191             }
38192          }
38193          part { name: "e.swallow.content";
38194             type: SWALLOW;
38195             clip_to: "clipper";
38196             mouse_events: 0;
38197             description { state: "default" 0.0;
38198                rel1 {
38199                   to: "shower";
38200                }
38201                rel2 {
38202                   to: "shower";
38203                }
38204             }
38205          }
38206       }
38207       programs {
38208          program { name: "shadow-on";
38209             signal: "e,state,shadow,on";
38210             source: "e";
38211             action: STATE_SET "default" 0.0;
38212             target: "shadow";
38213          }
38214          program { name: "shadow-off";
38215             signal: "e,state,shadow,off";
38216             source: "e";
38217             action: STATE_SET "hidden" 0.0;
38218             target: "shadow";
38219          }
38220          program { name: "show1";
38221             signal: "e,state,visible,on";
38222             source: "e";
38223             action: STATE_SET "visible" 0.0;
38224             transition: DECELERATE 0.15;
38225             target: "clipper";
38226             target: "shower";
38227             after: "show2";
38228          }
38229          program { name: "show2";
38230             action: SIGNAL_EMIT "e,action,show,done" "e";
38231          }
38232          program { name: "hide1";
38233             signal: "e,state,visible,off";
38234             source: "e";
38235             action: STATE_SET "default" 0.0;
38236             transition: DECELERATE 0.30;
38237             target: "clipper";
38238             target: "shower";
38239             after: "hide2";
38240          }
38241          program { name: "hide2";
38242             action: SIGNAL_EMIT "e,action,hide,done" "e";
38243          }
38244       }
38245    }
38246 //----
38247    group { name: "e/comp/menu";
38248       images {
38249          image: "comp-sh1.png" COMP;
38250       }
38251       parts {
38252          part { name: "clipper";
38253             type: RECT;
38254             mouse_events: 0;
38255             description { state: "default" 0.0;
38256                visible: 0;
38257                color: 255 255 255 0;
38258                rel1 {
38259                   relative: -1.0  -1.0;
38260                   offset: -9999 -9999;
38261                }
38262                rel2 {
38263                   relative: 2.0   2.0;
38264                   offset: 9999  9999;
38265                }
38266             }
38267             description { state: "visible" 0.0;
38268                inherit: "default" 0.0;
38269                visible: 1;
38270                color: 255 255 255 255;
38271             }
38272          }
38273          part { name: "shadow";
38274             mouse_events: 0;
38275             clip_to: "clipper";
38276             description { state: "default" 0.0;
38277                image {
38278                   normal: "comp-sh1.png";
38279                   border: 18 18 18 18;
38280                   middle: 0;
38281                }
38282                fill.smooth: 0;
38283                rel1 {
38284                   to: "e.swallow.content";
38285                   relative: 0.0  0.0;
38286                   offset: -16  -14;
38287                }
38288                rel2 {
38289                   to: "e.swallow.content";
38290                   relative: 1.0  1.0;
38291                   offset: 15   17;
38292                }
38293             }
38294             description { state: "hidden" 0.0;
38295                inherit: "default" 0.0;
38296                visible: 0;
38297             }
38298          }
38299          part { name: "shower";
38300             type: RECT;
38301             mouse_events: 0;
38302             description { state: "default" 0.0;
38303                visible: 0;
38304                rel1 {
38305                   relative: 0.1  0.0;
38306                   offset: 0    0;
38307                }
38308                rel2 {
38309                   relative: 0.9  0.8;
38310                   offset: -1   -1;
38311                }
38312             }
38313             description { state: "visible" 0.0;
38314                inherit: "default" 0.0;
38315                rel1 {
38316                   relative: 0.0  0.0;
38317                }
38318                rel2 {
38319                   relative: 1.0  1.0;
38320                }
38321             }
38322          }
38323          part { name: "e.swallow.content";
38324             type: SWALLOW;
38325             clip_to: "clipper";
38326             mouse_events: 0;
38327             description { state: "default" 0.0;
38328                rel1 {
38329                   to: "shower";
38330                }
38331                rel2 {
38332                   to: "shower";
38333                }
38334             }
38335          }
38336       }
38337       programs {
38338          program { name: "shadow-on";
38339             signal: "e,state,shadow,on";
38340             source: "e";
38341             action: STATE_SET "default" 0.0;
38342             target: "shadow";
38343          }
38344          program { name: "shadow-off";
38345             signal: "e,state,shadow,off";
38346             source: "e";
38347             action: STATE_SET "hidden" 0.0;
38348             target: "shadow";
38349          }
38350          program { name: "show1";
38351             signal: "e,state,visible,on";
38352             source: "e";
38353             action: STATE_SET "visible" 0.0;
38354             transition: DECELERATE 0.15;
38355             target: "clipper";
38356             target: "shower";
38357             after: "show2";
38358          }
38359          program { name: "show2";
38360             action: SIGNAL_EMIT "e,action,show,done" "e";
38361          }
38362          program { name: "hide1";
38363             signal: "e,state,visible,off";
38364             source: "e";
38365             action: STATE_SET "default" 0.0;
38366             transition: DECELERATE 0.30;
38367             target: "clipper";
38368             target: "shower";
38369             after: "hide2";
38370          }
38371          program { name: "hide2";
38372             action: SIGNAL_EMIT "e,action,hide,done" "e";
38373          }
38374       }
38375    }
38376    group { name: "e/comp/everything";
38377       images {
38378          image: "comp-sh1.png" COMP;
38379       }
38380       parts {
38381         part { name: "clipper";
38382         type: RECT;
38383         mouse_events: 0;
38384         clip_to: "clipper2";
38385           description { state: "default" 0.0;
38386           visible: 0;
38387           color: 255 255 255 0;
38388             rel1 {
38389             relative: -1.0  -1.0;
38390             offset: -9999 -9999;
38391             }
38392             rel2 {
38393             relative: 2.0   2.0;
38394             offset: 9999  9999;
38395             }
38396           }
38397           description { state: "visible" 0.0;
38398           inherit: "default" 0.0;
38399           visible: 1;
38400           color: 255 255 255 255;
38401           }
38402           description { state: "big" 0.0;
38403           inherit: "default" 0.0;
38404           color: 255 255 255 0;
38405           }
38406         }
38407         part { name: "clipper2";
38408         type: RECT;
38409         mouse_events: 0;
38410           description { state: "default" 0.0;
38411           color: 255 255 255 255;
38412           rel1.to: "clipper";
38413           rel2.to: "clipper";
38414           }
38415           description { state: "visible" 0.0;
38416           inherit: "default" 0.0;
38417           }
38418           description { state: "big" 0.0;
38419           inherit: "default" 0.0;
38420           color: 255 255 255 0;
38421           }
38422         }
38423         part { name: "shadow";
38424         mouse_events: 0;
38425         clip_to: "clipper";
38426           description { state: "default" 0.0;
38427             image {
38428             normal: "comp-sh1.png";
38429             border: 18 18 18 18;
38430             middle: 0;
38431             }
38432           fill.smooth: 0;
38433             rel1 {
38434             to: "e.swallow.content";
38435             relative: 0.0  0.0;
38436             offset: -16  -14;
38437             }
38438             rel2 {
38439             to: "e.swallow.content";
38440             relative: 1.0  1.0;
38441             offset: 15   17;
38442             }
38443           }
38444           description { state: "hidden" 0.0;
38445           inherit: "default" 0.0;
38446           visible: 0;
38447           }
38448         }
38449         part { name: "shower";
38450         type: RECT;
38451         mouse_events: 0;
38452           description { state: "default" 0.0;
38453           visible: 0;
38454             rel1 {
38455             relative: 0.05  0.05;
38456             offset: 0    0;
38457             }
38458             rel2 {
38459             relative: 0.95  0.95;
38460             offset: -1   -1;
38461             }
38462           }
38463           description { state: "visible" 0.0;
38464           inherit: "default" 0.0;
38465             rel1 {
38466             relative: 0.0  0.0;
38467             }
38468             rel2 {
38469             relative: 1.0  1.0;
38470             }
38471           }
38472           description { state: "big" 0.0;
38473           inherit: "default" 0.0;
38474             rel1 {
38475             relative: -0.3  -0.3;
38476             }
38477             rel2 {
38478             relative: 1.3  1.3;
38479             }
38480           }
38481         }
38482         part { name: "e.swallow.content";
38483         type: SWALLOW;
38484         clip_to: "clipper";
38485         mouse_events: 0;
38486           description { state: "default" 0.0;
38487             rel1 {
38488             to: "shower";
38489             }
38490             rel2 {
38491             to: "shower";
38492             }
38493           }
38494         }
38495       }
38496      programs {
38497        program { name: "shadow-on";
38498        signal: "e,state,shadow,on";
38499        source: "e";
38500        action: STATE_SET "default" 0.0;
38501        target: "shadow";
38502        }
38503        program { name: "shadow-off";
38504        signal: "e,state,shadow,off";
38505        source: "e";
38506        action: STATE_SET "hidden" 0.0;
38507        target: "shadow";
38508        }
38509        program { name: "show1";
38510        signal: "e,state,visible,on";
38511        source: "e";
38512        action: STATE_SET "visible" 0.0;
38513        transition: DECELERATE 0.05;
38514        target: "clipper";
38515        target: "clipper2";
38516        target: "shower";
38517        after: "show2";
38518        }
38519        program { name: "show2";
38520        action: SIGNAL_EMIT "e,action,show,done" "e";
38521        }
38522        program { name: "hide1";
38523        signal: "e,state,visible,off";
38524        source: "e";
38525        action: STATE_SET "big" 0.0;
38526        transition: ACCELERATE 0.25;
38527        target: "clipper";
38528        target: "clipper2";
38529        target: "shower";
38530        after: "hide2";
38531        }
38532        program { name: "hide2";
38533        action: STATE_SET "default" 0.0;
38534        target: "clipper";
38535        target: "clipper2";
38536        target: "shower";
38537        after: "hide3";         
38538        }
38539        program { name: "hide3";
38540        action: SIGNAL_EMIT "e,action,hide,done" "e";
38541        }
38542      }
38543    }
38544
38545    //----
38546 /*
38547    group { name: "e/comp/slow";
38548       images {
38549          image: "comp-sh1.png" COMP;
38550       }
38551       parts {
38552          part { name: "clipper";
38553             type: RECT;
38554             mouse_events: 0;
38555             description { state: "default" 0.0;
38556                visible: 0;
38557                color: 255 255 255 0;
38558                rel1 {
38559                   relative: -1.0  -1.0;
38560                   offset: -9999 -9999;
38561                }
38562                rel2 {
38563                   relative: 2.0   2.0;
38564                   offset: 9999  9999;
38565                }
38566             }
38567             description { state: "visible" 0.0;
38568                inherit: "default" 0.0;
38569                visible: 1;
38570                color: 255 255 255 255;
38571             }
38572          }
38573          part { name: "shadow";
38574             mouse_events: 0;
38575             clip_to: "clipper";
38576             description { state: "default" 0.0;
38577                image {
38578                   normal: "comp-sh1.png";
38579                   border: 18 18 18 18;
38580                   middle: 0;
38581                }
38582                fill {
38583                   smooth: 0;
38584                }
38585                rel1 {
38586                   to: "e.swallow.content";
38587                   relative: 0.0  0.0;
38588                   offset: -16  -14;
38589                }
38590                rel2 {
38591                   to: "e.swallow.content";
38592                   relative: 1.0  1.0;
38593                   offset: 15   17;
38594                }
38595             }
38596             description { state: "hidden" 0.0;
38597                inherit: "default" 0.0;
38598                visible: 0;
38599             }
38600          }
38601          part { name: "e.swallow.content";
38602             type: SWALLOW;
38603             clip_to: "clipper";
38604             mouse_events: 0;
38605             description { state: "default" 0.0;
38606                rel1 {
38607                   relative: 0.05  0.05;
38608                   offset: 0    0;
38609                }
38610                rel2 {
38611                   relative: 0.95  0.95;
38612                   offset: -1   -1;
38613                }
38614             }
38615             description { state: "visible" 0.0;
38616                inherit: "default" 0.0;
38617                rel1 {
38618                   relative: 0.0  0.0;
38619                }
38620                rel2 {
38621                   relative: 1.0  1.0;
38622                }
38623             }
38624          }
38625       }
38626       programs {
38627          program { name: "shadow-on";
38628             signal: "e,state,shadow,on";
38629             source: "e";
38630             action: STATE_SET "default" 0.0;
38631             target: "shadow";
38632          }
38633          program { name: "shadow-off";
38634             signal: "e,state,shadow,off";
38635             source: "e";
38636             action: STATE_SET "hidden" 0.0;
38637             target: "shadow";
38638          }
38639          program { name: "show1";
38640             signal: "e,state,visible,on";
38641             source: "e";
38642             action: STATE_SET "visible" 0.0;
38643             transition: DECELERATE 0.4;
38644             target: "clipper";
38645             target: "e.swallow.content";
38646             after: "show2";
38647          }
38648          program { name: "show2";
38649             action: SIGNAL_EMIT "e,action,show,done" "e";
38650          }
38651          program { name: "hide1";
38652             signal: "e,state,visible,off";
38653             source: "e";
38654             action: STATE_SET "default" 0.0;
38655             transition: DECELERATE 0.8;
38656             target: "clipper";
38657             target: "e.swallow.content";
38658             after: "hide2";
38659          }
38660          program { name: "hide2";
38661             action: SIGNAL_EMIT "e,action,hide,done" "e";
38662          }
38663       }
38664    }
38665 //----
38666    group { name: "e/comp/fast";
38667       images {
38668          image: "comp-sh1.png" COMP;
38669       }
38670       parts {
38671          part { name: "clipper";
38672             type: RECT;
38673             mouse_events: 0;
38674             description { state: "default" 0.0;
38675                visible: 0;
38676                color: 255 255 255 0;
38677                rel1 {
38678                   relative: -1.0  -1.0;
38679                   offset: -9999 -9999;
38680                }
38681                rel2 {
38682                   relative: 2.0   2.0;
38683                   offset: 9999  9999;
38684                }
38685             }
38686             description { state: "visible" 0.0;
38687                inherit: "default" 0.0;
38688                visible: 1;
38689                color: 255 255 255 255;
38690             }
38691          }
38692          part { name: "shadow";
38693             mouse_events: 0;
38694             clip_to: "clipper";
38695             description { state: "default" 0.0;
38696                image {
38697                   normal: "comp-sh1.png";
38698                   border: 18 18 18 18;
38699                   middle: 0;
38700                }
38701                fill {
38702                   smooth: 0;
38703                }
38704                rel1 {
38705                   to: "e.swallow.content";
38706                   relative: 0.0  0.0;
38707                   offset: -16  -14;
38708                }
38709                rel2 {
38710                   to: "e.swallow.content";
38711                   relative: 1.0  1.0;
38712                   offset: 15   17;
38713                }
38714             }
38715             description { state: "hidden" 0.0;
38716                inherit: "default" 0.0;
38717                visible: 0;
38718             }
38719          }
38720          part { name: "e.swallow.content";
38721             type: SWALLOW;
38722             clip_to: "clipper";
38723             mouse_events: 0;
38724             description { state: "default" 0.0;
38725                rel1 {
38726                   relative: 0.05  0.05;
38727                   offset: 0    0;
38728                }
38729                rel2 {
38730                   relative: 0.95  0.95;
38731                   offset: -1   -1;
38732                }
38733             }
38734             description { state: "visible" 0.0;
38735                inherit: "default" 0.0;
38736                rel1 {
38737                   relative: 0.0  0.0;
38738                }
38739                rel2 {
38740                   relative: 1.0  1.0;
38741                }
38742             }
38743          }
38744       }
38745       programs {
38746          program { name: "shadow-on";
38747             signal: "e,state,shadow,on";
38748             source: "e";
38749             action: STATE_SET "default" 0.0;
38750             target: "shadow";
38751          }
38752          program { name: "shadow-off";
38753             signal: "e,state,shadow,off";
38754             source: "e";
38755             action: STATE_SET "hidden" 0.0;
38756             target: "shadow";
38757          }
38758          program { name: "show1";
38759             signal: "e,state,visible,on";
38760             source: "e";
38761             action: STATE_SET "visible" 0.0;
38762             transition: DECELERATE 0.1;
38763             target: "clipper";
38764             target: "e.swallow.content";
38765             after: "show2";
38766          }
38767          program { name: "show2";
38768             action: SIGNAL_EMIT "e,action,show,done" "e";
38769          }
38770          program { name: "hide1";
38771             signal: "e,state,visible,off";
38772             source: "e";
38773             action: STATE_SET "default" 0.0;
38774             transition: DECELERATE 0.1;
38775             target: "clipper";
38776             target: "e.swallow.content";
38777             after: "hide2";
38778          }
38779          program { name: "hide2";
38780             action: SIGNAL_EMIT "e,action,hide,done" "e";
38781          }
38782       }
38783    }
38784 //----
38785    group { name: "e/comp/focus-out-colored";
38786       images {
38787          image: "comp-sh1.png" COMP;
38788          image: "bt_glow.png" COMP;
38789       }
38790       parts {
38791          part { name: "clipper";
38792             type: RECT;
38793             mouse_events: 0;
38794             description { state: "default" 0.0;
38795                visible: 0;
38796                color: 255 255 255 0;
38797                rel1 {
38798                   relative: -1.0  -1.0;
38799                   offset: -9999 -9999;
38800                }
38801                rel2 {
38802                   relative: 2.0   2.0;
38803                   offset: 9999  9999;
38804                }
38805             }
38806             description { state: "visible" 0.0;
38807                inherit: "default" 0.0;
38808                visible: 1;
38809                color: 255 255 255 255;
38810             }
38811          }
38812          part { name: "shadow";
38813             mouse_events: 0;
38814             clip_to: "clipper";
38815             description { state: "default" 0.0;
38816                image {
38817                   normal: "comp-sh1.png";
38818                   border: 18 18 18 18;
38819                   middle: 0;
38820                }
38821                fill.smooth: 0;
38822                rel1 {
38823                   to: "e.swallow.content";
38824                   relative: 0.0  0.0;
38825                   offset: -16  -14;
38826                }
38827                rel2 {
38828                   to: "e.swallow.content";
38829                   relative: 1.0  1.0;
38830                   offset: 15   17;
38831                }
38832             }
38833             description { state: "hidden" 0.0;
38834                inherit: "default" 0.0;
38835                visible: 0;
38836             }
38837          }
38838          part { name: "shower";
38839             type: RECT;
38840             mouse_events: 0;
38841             description { state: "default" 0.0;
38842                visible: 0;
38843                rel1 {
38844                   relative: 0.05  0.05;
38845                   offset: 0    0;
38846                }
38847                rel2 {
38848                   relative: 0.95  0.95;
38849                   offset: -1   -1;
38850                }
38851             }
38852             description { state: "visible" 0.0;
38853                inherit: "default" 0.0;
38854                rel1 {
38855                   relative: 0.0  0.0;
38856                }
38857                rel2 {
38858                   relative: 1.0  1.0;
38859                }
38860             }
38861          }
38862          part { name: "clipper-content";
38863             type: RECT;
38864             clip_to: "clipper";
38865             mouse_events: 0;
38866             description { state: "default" 0.0;
38867                color: 255 255 255 255;
38868             }
38869             description { state: "unfocus" 0.0;
38870                inherit: "default" 0.0;
38871                color: 255 255 255 200;
38872 //               color_class: "comp_focus-out_color";
38873             }
38874          }
38875          part { name: "e.swallow.content";
38876             type: SWALLOW;
38877             clip_to: "clipper-content";
38878             mouse_events: 0;
38879             description { state: "default" 0.0;
38880                rel1 {
38881                   to: "shower";
38882                }
38883                rel2 {
38884                   to: "shower";
38885                }
38886             }
38887          }
38888          part { name: "glow";
38889             mouse_events: 0;
38890             description { state: "default" 0.0;
38891                visible: 0;
38892                rel1.to: "e.swallow.content";
38893                rel1.offset: -3 -3;
38894                rel2.to: "e.swallow.content";
38895                rel2.offset: 2  2;
38896                color: 255 255 255 0;
38897                image {
38898                   normal: "bt_glow.png";
38899                   border: 8 8 8 8;
38900                   middle: 0;
38901                }
38902                fill.smooth: 0;
38903             }
38904             description { state: "active" 0.0;
38905                inherit: "default" 0.0;
38906                visible: 1;
38907                color: 255 255 255 255;
38908             }
38909             description { state: "faded" 0.0;
38910                inherit: "default" 0.0;
38911                visible: 1;
38912                color: 255 255 255 0;
38913                rel1.offset: -23 -22;
38914                rel2.offset: 22  22;
38915             }
38916          }
38917       }
38918       programs {
38919          program { name: "shadow-on";
38920             signal: "e,state,shadow,on";
38921             source: "e";
38922             action: STATE_SET "default" 0.0;
38923             target: "shadow";
38924          }
38925          program { name: "shadow-off";
38926             signal: "e,state,shadow,off";
38927             source: "e";
38928             action: STATE_SET "hidden" 0.0;
38929             target: "shadow";
38930          }
38931          program { name: "show1";
38932             signal: "e,state,visible,on";
38933             source: "e";
38934             action: STATE_SET "visible" 0.0;
38935             transition: DECELERATE 0.15;
38936             target: "clipper";
38937             target: "shower";
38938             after: "show2";
38939          }
38940          program { name: "show2";
38941             action: SIGNAL_EMIT "e,action,show,done" "e";
38942          }
38943          program { name: "hide1";
38944             signal: "e,state,visible,off";
38945             source: "e";
38946             action: STATE_SET "default" 0.0;
38947             transition: DECELERATE 0.30;
38948             target: "clipper";
38949             target: "shower";
38950             after: "hide2";
38951          }
38952          program { name: "hide2";
38953             action: SIGNAL_EMIT "e,action,hide,done" "e";
38954          }
38955          program { name: "unfocus";
38956             signal: "e,state,focus,off";
38957             source: "e";
38958             action: STATE_SET "unfocus" 0.0;
38959             transition: ACCELERATE 0.2;
38960             target: "clipper-content";
38961          }
38962          program { name: "focus";
38963             signal: "e,state,focus,on";
38964             source: "e";
38965             action: STATE_SET "default" 0.0;
38966             transition: ACCELERATE 0.2;
38967             target: "clipper-content";
38968          }
38969          program { name: "urgent-on";
38970             signal: "e,state,urgent,on";
38971             source: "e";
38972             action: STATE_SET "active" 0.0;
38973             target: "glow";
38974             after: "urgent2";
38975          }
38976          program { name: "urgent2";
38977             action: STATE_SET "faded" 0.0;
38978             transition: DECELERATE 0.5;
38979             target: "glow";
38980             after: "urgent-on";
38981          }
38982          program { name: "urgent-off";
38983             signal: "e,state,urgent,off";
38984             source: "e";
38985             action: STATE_SET "default" 0.0;
38986             target: "glow";
38987          }
38988       }
38989    }
38990  */
38991 //----
38992    group { name: "e/comp/fullscreen";
38993       // a comp shadow can have a data item wanting another object in the
38994       // background behind the comp obj and a fg object just above it
38995       // as well as a screen overlay
38996       data {
38997          item: "screen.bg" "fullscreen.bg";
38998 //         item: "screen.fg" "fullscreen.fg";
38999 //         item: "screen.overlay" "fullscreen.overlay";
39000       }
39001       images {
39002          image: "comp-sh1.png" COMP;
39003          image: "bg_shadow.png" COMP;
39004       }
39005       parts {
39006          part { name: "clipper";
39007             type: RECT;
39008             mouse_events: 0;
39009             description { state: "default" 0.0;
39010                visible: 0;
39011                color: 255 255 255 0;
39012                rel1 {
39013                   relative: -1.0  -1.0;
39014                   offset: -9999 -9999;
39015                }
39016                rel2 {
39017                   relative: 2.0   2.0;
39018                   offset: 9999  9999;
39019                }
39020             }
39021             description { state: "visible1" 0.0;
39022                inherit: "default" 0.0;
39023                visible: 1;
39024                color: 255 255 255 255;
39025             }
39026             description { state: "visible2" 0.0;
39027                inherit: "default" 0.0;
39028                visible: 1;
39029                color: 255 255 255 255;
39030             }
39031          }
39032          part { name: "clipper_sh";
39033             type: RECT;
39034             mouse_events: 0;
39035             description { state: "default" 0.0;
39036                visible: 0;
39037                color: 255 255 255 0;
39038                rel1 {
39039                   relative: -1.0  -1.0;
39040                   offset: -9999 -9999;
39041                }
39042                rel2 {
39043                   relative: 2.0   2.0;
39044                   offset: 9999  9999;
39045                }
39046             }
39047             description { state: "visible1" 0.0;
39048                inherit: "default" 0.0;
39049                visible: 1;
39050                color: 255 255 255 100;
39051             }
39052             description { state: "visible2" 0.0;
39053                inherit: "default" 0.0;
39054                visible: 0;
39055                color: 255 255 255 0;
39056             }
39057          }
39058          part { name: "clipper_all";
39059             type: RECT;
39060             mouse_events: 0;
39061             description { state: "default" 0.0;
39062                visible: 1;
39063             }
39064          }
39065          part { name: "scr_shadow";
39066             mouse_events: 0;
39067             clip_to: "clipper_all";
39068             description { state: "default" 0.0;
39069                rel1.relative: -1.0 -1.0;
39070                rel2.relative: 2.0 2.0;
39071                image.normal: "bg_shadow.png";
39072                fill.smooth: 0;
39073                visible: 0;
39074                color: 255 255 255 0;
39075             }
39076             description { state: "visible" 0.0;
39077                inherit: "default" 0.0;
39078                rel1.relative: 0.0 0.0;
39079                rel2.relative: 1.0 1.0;
39080                visible: 1;
39081                color: 255 255 255 255;
39082             }
39083          }
39084          part { name: "scr_shade";
39085             type: RECT;
39086             mouse_events: 0;
39087             description { state: "default" 0.0;
39088                visible: 0;
39089                color: 0 0 0 0;
39090             }
39091             description { state: "visible" 0.0;
39092                inherit: "default" 0.0;
39093                visible: 1;
39094                color: 0 0 0 255;
39095             }
39096          }
39097          part { name: "shadow";
39098             mouse_events: 0;
39099             clip_to: "clipper_sh";
39100             description { state: "default" 0.0;
39101                image {
39102                   normal: "comp-sh1.png";
39103                   border: 18 18 18 18;
39104                   middle: 0;
39105                }
39106                fill.smooth: 0;
39107                rel1 {
39108                   to: "e.swallow.content";
39109                   relative: 0.0  0.0;
39110                   offset: -16  -14;
39111                }
39112                rel2 {
39113                   to: "e.swallow.content";
39114                   relative: 1.0  1.0;
39115                   offset: 15   17;
39116                }
39117             }
39118             description { state: "hidden" 0.0;
39119                inherit: "default" 0.0;
39120                visible: 0;
39121             }
39122          }
39123          part { name: "shower";
39124             type: RECT;
39125             mouse_events: 0;
39126             description { state: "default" 0.0;
39127                visible: 0;
39128                rel1 {
39129                   relative: 0.5  0.5;
39130                   offset: 0    0;
39131                }
39132                rel2 {
39133                   relative: 0.5  0.5;
39134                   offset: -1   -1;
39135                }
39136             }
39137             description { state: "visible1" 0.0;
39138                inherit: "default" 0.0;
39139                rel1 {
39140                   relative: 0.1  0.49;
39141                   offset: 0    0;
39142                }
39143                rel2 {
39144                   relative: 0.9  0.51;
39145                   offset: -1   -1;
39146                }
39147             }
39148             description { state: "visible2" 0.0;
39149                inherit: "default" 0.0;
39150                rel1 {
39151                   relative: 0.0  0.0;
39152                }
39153                rel2 {
39154                   relative: 1.0  1.0;
39155                }
39156             }
39157          }
39158          part { name: "e.swallow.content";
39159             type: SWALLOW;
39160             clip_to: "clipper";
39161             mouse_events: 0;
39162             description { state: "default" 0.0;
39163                rel1 {
39164                   to: "shower";
39165                }
39166                rel2 {
39167                   to: "shower";
39168                }
39169             }
39170          }
39171          part { name: "fader";
39172             type: RECT;
39173             description { state: "default" 0.0;
39174                visible: 0;
39175                color: 255 255 255 0;
39176                rel1.to: "e.swallow.content";
39177                rel2.to: "e.swallow.content";
39178             }
39179             description { state: "visible1" 0.0;
39180                inherit: "default" 0.0;
39181                visible: 1;
39182                color: 255 255 255 255;
39183             }
39184             description { state: "visible2" 0.0;
39185                inherit: "default" 0.0;
39186                visible: 0;
39187                color: 255 255 255 0;
39188             }
39189          }
39190       }
39191       programs {
39192          program { name: "shadow-on";
39193             signal: "e,state,shadow,on";
39194             source: "e";
39195             action: STATE_SET "default" 0.0;
39196             target: "shadow";
39197          }
39198          program { name: "shadow-off";
39199             signal: "e,state,shadow,off";
39200             source: "e";
39201             action: STATE_SET "hidden" 0.0;
39202             target: "shadow";
39203          }
39204          program { name: "show0";
39205             signal: "e,state,visible,on";
39206             source: "e";
39207             action: STATE_SET "visible" 0.0;
39208             transition: DECELERATE 0.25;
39209             target: "scr_shadow";
39210             target: "scr_shade";
39211          }
39212          program { name: "show1";
39213             signal: "e,state,visible,on";
39214             source: "e";
39215             action: STATE_SET "visible1" 0.0;
39216             transition: DECELERATE 0.05;
39217             target: "clipper";
39218             target: "clipper_sh";
39219             target: "shower";
39220             target: "fader";
39221             after: "show2";
39222          }
39223          program { name: "show2";
39224             action: STATE_SET "visible2" 0.0;
39225             transition: DECELERATE 0.20;
39226             target: "clipper";
39227             target: "clipper_sh";
39228             target: "shower";
39229             target: "fader";
39230             after: "show3";
39231          }
39232          program { name: "show3";
39233             action: SIGNAL_EMIT "e,action,show,done" "e";
39234          }
39235          program { name: "hide0";
39236             signal: "e,state,visible,off";
39237             source: "e";
39238             action: STATE_SET "default" 0.0;
39239             transition: DECELERATE 0.25;
39240             target: "scr_shadow";
39241             target: "scr_shade";
39242          }
39243          program { name: "hide1";
39244             signal: "e,state,visible,off";
39245             source: "e";
39246             action: STATE_SET "visible1" 0.0;
39247             transition: DECELERATE 0.20;
39248             target: "clipper";
39249             target: "clipper_sh";
39250             target: "shower";
39251             target: "fader";
39252             after: "hide2";
39253          }
39254          program { name: "hide2";
39255             action: STATE_SET "default" 0.0;
39256             transition: DECELERATE 0.05;
39257             target: "clipper";
39258             target: "clipper_sh";
39259             target: "shower";
39260             target: "fader";
39261             after: "hide3";
39262          }
39263          program { name: "hide3";
39264             action: SIGNAL_EMIT "e,action,hide,done" "e";
39265          }
39266       }
39267    }
39268
39269
39270    group {
39271    name: "modules/efm_navigation/main";
39272       
39273       images {
39274       image: "bt_base1.png" COMP;
39275       image: "bt_base2.png" COMP;
39276       image: "bt_dis_base.png" COMP;
39277       image: "bt_hilight.png" COMP;
39278       image: "bt_shine.png" COMP;
39279       image: "bt_dis_hilight.png" COMP;
39280       image: "bt_dis_shine.png" COMP;
39281       image: "icon_left_arrow.png" COMP;
39282       image: "icon_right_arrow.png" COMP;
39283       image: "icon_up_arrow.png" COMP;
39284       image: "refresh.png" COMP;
39285       image: "favorites.png" COMP;
39286       }
39287
39288       parts {
39289          part {
39290          name: "base";
39291          type: RECT;
39292          mouse_events: 1;
39293
39294             description {
39295             state: "default" 0.0;
39296             color: 0 0 0 0;
39297             }
39298          }
39299          part {
39300          name: "begin";
39301          type: RECT;
39302          mouse_events: 0;
39303             description {
39304             state: "default" 0.0;
39305             max: 1 1;
39306             align: 0.0 0.0;
39307             color: 0 0 0 0;
39308             }
39309          }
39310
39311 #define NAV_BUTTON(NAME, ICON, REL_TO, OFF_X)   \
39312          part {                                 \
39313          name: NAME"_bg";                       \
39314          mouse_events: 1;                       \
39315          repeat_events: 1;                      \
39316          type: IMAGE;                           \
39317             description {                       \
39318             state: "default" 0.0;               \
39319             min: 28 28;                         \
39320             max: 28 28;                         \
39321             aspect: 1.0 1.0;                    \
39322             aspect_preference: VERTICAL;        \
39323             align: 0.0 0.5;                     \
39324                rel1 {                           \
39325                to_x: REL_TO;                    \
39326                relative: 1.0 0.0;               \
39327                offset: OFF_X 0;                 \
39328                }                                \
39329                image {                          \
39330                normal: "bt_base2.png";          \
39331                border: 7 7 7 7;                 \
39332                }                                \
39333             }                                   \
39334             description {                       \
39335             state: "down" 0.0;                  \
39336             inherit: "default" 0.0;             \
39337             image.normal: "bt_base1.png";       \
39338             }                                   \
39339             description {                       \
39340             state: "disabled" 0.0;              \
39341             inherit: "default" 0.0;             \
39342             image.normal: "bt_dis_base.png";    \
39343             image.border: 4 4 4 4;              \
39344             }                                   \
39345          }                                      \
39346          part {                                 \
39347          name: NAME"_img";                      \
39348          mouse_events: 0;                       \
39349          type: IMAGE;                           \
39350             description {                       \
39351             state: "default" 0.0;               \
39352             min: 16 16;                         \
39353             max: 16 16;                         \
39354                rel1 {                           \
39355                offset: 7 7;                     \
39356                to: NAME"_bg";                   \
39357                }                                \
39358                rel2 {                           \
39359                offset: -8 -8;                   \
39360                to: NAME"_bg";                   \
39361                }                                \
39362             image.normal: ICON".png";           \
39363             }                                   \
39364          }                                      \
39365          part {                                 \
39366          name: NAME"_fg1";                      \
39367          type: IMAGE;                           \
39368          mouse_events: 1;                       \
39369          repeat_events: 1;                      \
39370             description {                       \
39371             state: "default" 0.0;               \
39372             rel1.to: NAME"_bg";                 \
39373             rel2.to: NAME"_bg";                 \
39374             rel2.relative: 1.0 0.5;             \
39375                image {                          \
39376                normal: "bt_hilight.png";        \
39377                border: 7 7 7 0;                 \
39378                }                                \
39379             }                                   \
39380             description {                       \
39381             state: "disabled" 0.0;              \
39382             inherit: "default" 0.0;             \
39383             image.normal: "bt_dis_hilight.png"; \
39384             image.border: 4 4 4 0;              \
39385             }                                   \
39386          }                                      \
39387          part {                                 \
39388          name: NAME"_fg2";                      \
39389          type: IMAGE;                           \
39390          mouse_events: 1;                       \
39391          repeat_events: 1;                      \
39392             description {                       \
39393             state: "default" 0.0;               \
39394             rel1.to: NAME"_bg";                 \
39395             rel2.to: NAME"_bg";                 \
39396                image {                          \
39397                normal: "bt_shine.png";          \
39398                border: 7 7 7 7;                 \
39399                }                                \
39400             }                                   \
39401             description {                       \
39402             state: "disabled" 0.0;              \
39403             inherit: "default" 0.0;             \
39404             image.normal: "bt_dis_shine.png";   \
39405             }                                   \
39406          }                                      \
39407          part {                                 \
39408          name: NAME"_event_eater";              \
39409          type: RECT;                            \
39410          mouse_events: 1;                       \
39411          repeat_events: 0;                      \
39412             description {                       \
39413             state: "default" 0.0;               \
39414             visible: 0;                         \
39415             color: 255 255 255 0;               \
39416             rel1.to: NAME"_bg";                 \
39417             rel2.to: NAME"_bg";                 \
39418             }                                   \
39419             description {                       \
39420             state: "disabled" 0.0;              \
39421             inherit: "default" 0.0;             \
39422             visible: 1;                         \
39423             }                                   \
39424          }                                      \
39425
39426          
39427          NAV_BUTTON("back",       "icon_left_arrow",  "begin", 5);
39428          NAV_BUTTON("forward",    "icon_right_arrow", "back_bg", 1);
39429          NAV_BUTTON("up",         "icon_up_arrow",    "forward_bg", 10);
39430          NAV_BUTTON("refresh",    "refresh",          "up_bg", 1);
39431          NAV_BUTTON("favorites",  "favorites",        "refresh_bg", 1);
39432
39433          part {
39434          name: "e.swallow.pathbar";
39435          type: SWALLOW;
39436             description {
39437             state: "default" 0.0;
39438             align: 0.0 0.5;
39439
39440                /* rel1.to_x: "favorites_base"; */
39441             rel1.to_x: "favorites_bg";
39442             rel1.relative: 1.0 0.0;
39443             rel1.offset: 10 0;
39444             rel2.offset: -2 -1;
39445             color: 200 0 0 200;
39446             }
39447          }
39448                         
39449       }
39450
39451       programs {
39452 #define NAV_BUTTON_PROG(NAME)                                   \
39453          program {                                              \
39454          name: NAME"_click";                                    \
39455          signal: "mouse,down,1";                                \
39456          source: "bg";                                          \
39457          action: STATE_SET "down" 0.0;                          \
39458          target: NAME"_bg";                                     \
39459          }                                                      \
39460          program {                                              \
39461          name: NAME"_unclick";                                  \
39462          signal: "mouse,up,1";                                  \
39463          source: "bg";                                          \
39464          action: STATE_SET "default" 0.0;                       \
39465          target: NAME"_bg";                                     \
39466          }                                                      \
39467          program        {                                       \
39468          name: NAME"_send";                                     \
39469          signal: "mouse,clicked,1";                             \
39470          source: NAME"_bg";                                     \
39471          action: SIGNAL_EMIT "e,action,"NAME",click" "";        \
39472          }                                                      \
39473          program        {                                       \
39474          name: NAME"_disable";                                  \
39475          signal: "e,state,"NAME",disabled";                     \
39476          source: "e";                                           \
39477          action: STATE_SET "disabled" 0.0;                      \
39478          target: NAME"_bg";                                     \
39479          target: NAME"_fg1";                                    \
39480          target: NAME"_fg2";                                    \
39481          target: NAME"_event_eater";                            \
39482          }                                                      \
39483          program        {                                       \
39484          name: NAME"_enable";                                   \
39485          signal: "e,state,"NAME",enabled";                      \
39486          source: "e";                                           \
39487          action: STATE_SET "default" 0.0;                       \
39488          target: NAME"_bg";                                     \
39489          target: NAME"_fg1";                                    \
39490          target: NAME"_fg2";                                    \
39491          target: NAME"_event_eater";                            \
39492          }                                                      \
39493
39494          NAV_BUTTON_PROG("back");
39495          NAV_BUTTON_PROG("forward");
39496          NAV_BUTTON_PROG("up");
39497          NAV_BUTTON_PROG("refresh");
39498          NAV_BUTTON_PROG("favorites");
39499       }
39500    }
39501
39502
39503    group {
39504    name: "modules/efm_navigation/pathbar_scrollframe";
39505       images {
39506       image: "icon_left_arrow.png" COMP;
39507       image: "icon_right_arrow.png" COMP;
39508       }
39509
39510       parts {
39511          part {
39512          name: "base";
39513          type: RECT;
39514          mouse_events: 1;
39515             description {
39516             state: "default" 0.0;
39517                rel1 {
39518                to_x: "left_arrow";
39519                relative: 1.0 0.0;
39520                }
39521                rel2 {
39522                to_x: "right_arrow";
39523                relative: 0.0 1.0;
39524                }
39525             color: 0 0 0 0;
39526             }
39527          }
39528          part {
39529          name: "clipper";
39530          type: RECT;
39531          mouse_events: 0;
39532             description {
39533             state: "default" 0.0;
39534             rel1.to: "base";
39535             rel2.to: "base";
39536             }
39537          }
39538          part {
39539          name: "e.swallow.content";
39540          type: SWALLOW;
39541          clip_to: "clipper";
39542             description {
39543             state: "default" 0.0;
39544             rel1.to: "clipper";
39545             rel2.to: "clipper";
39546             }
39547          }
39548          part {
39549          name: "left_arrow";
39550          type: IMAGE;
39551          mouse_events: 1;
39552          scale: 1;
39553             description {
39554             state: "default" 0.0;
39555                /* aspect: 1.0 1.0;
39556                 * aspect_preference: VERTICAL; */
39557             align: 0.0 0.5;
39558             min: 16 16;
39559             max: 16 16;
39560             image.normal: "icon_left_arrow.png";
39561             }
39562          }
39563          part {
39564          name: "right_arrow";
39565          type: IMAGE;
39566          mouse_events: 1;
39567          scale: 1;
39568             description {
39569             state: "default" 0.0;
39570             align: 1.0 0.5;
39571             min: 16 16;
39572             max: 16 16;
39573             image.normal: "icon_right_arrow.png";
39574             }
39575          }
39576          part {
39577          name: "e.dragable.hbar";
39578          mouse_events: 0;
39579             dragable {
39580             x: 1 1 0;
39581             y: 0 0 0;
39582             confine: "base";
39583             }
39584             description {
39585             state: "default" 0.0;
39586             visible: 0;
39587             rel1.to: "base";
39588             rel2.to: "base";
39589             }
39590          }
39591          part {
39592          name: "event";
39593   type: SPACER;
39594          mouse_events: 1;
39595          repeat_events: 1;
39596             description {
39597             state: "default" 0.0;
39598             }
39599          }
39600       }
39601       program {
39602       name: "sb_left";
39603       signal: "mouse,down,1";
39604       source: "left_arrow";
39605       action: DRAG_VAL_STEP -5.0 0.0;
39606       target: "e.dragable.hbar";
39607       }
39608       program {
39609       name: "sb_right";
39610       signal: "mouse,down,1";
39611       source: "right_arrow";
39612       action: DRAG_VAL_STEP 5.0 0.0;
39613       target: "e.dragable.hbar";
39614       }
39615
39616    }
39617
39618    group {
39619    name: "modules/efm_navigation/pathbar_button";
39620       images {
39621       image: "bt_base1.png" COMP;
39622       image: "bt_base2.png" COMP;
39623       image: "bt_dis_base.png" COMP;
39624       image: "bt_hilight.png" COMP;
39625       image: "bt_shine.png" COMP;
39626       image: "bt_dis_hilight.png" COMP;
39627       image: "bt_dis_shine.png" COMP;
39628       }
39629
39630       parts {
39631          part {
39632          name: "bg";
39633          type: IMAGE;
39634          mouse_events: 0;
39635             description {
39636             state: "default" 0.0;
39637             min: 28 28;
39638                image {
39639                normal: "bt_base2.png";
39640                border: 7 7 7 7;
39641                }
39642             }
39643             description {
39644             state: "down" 0.0;
39645             inherit: "default" 0.0;
39646             image.normal: "bt_base1.png";
39647             }
39648          }
39649          part {
39650          name: "label3";
39651          type: TEXT;
39652          mouse_events: 0;
39653          scale: 1;
39654             description {
39655             state: "default" 0.0;
39656             rel1.to: "e.text.label";
39657             rel2.to: "e.text.label";
39658             visible: 0;
39659                text {
39660                font: "Sans";
39661                text_source: "e.text.label";
39662                size: 10;
39663                min: 1 1;
39664                }
39665             }
39666          }
39667          part {
39668          name: "label2";
39669          type: TEXT;
39670          mouse_events: 0;
39671          scale: 1;
39672             description {
39673             state: "default" 0.0;
39674             max: 150 32;
39675             rel1.to: "e.text.label";
39676             rel2.to: "e.text.label";
39677             color: 224 224 224 255;
39678                text {
39679                font: "Sans";
39680                text_source: "e.text.label";
39681                size: 10;
39682                min: 0 1;
39683                align: 0.5 0.5;
39684                elipsis: 0.0;
39685                }
39686             }
39687             description {
39688             state: "selected" 0.0;
39689             inherit: "default" 0.0;
39690             visible: 0;
39691             }
39692          }
39693          part {
39694          name: "e.text.label";
39695          type: TEXT;
39696          mouse_events: 0;
39697          scale: 1;
39698             description {
39699             state: "default" 0.0;
39700             max: 150 32;
39701             rel1.offset: 7 0;
39702             rel2.offset: -8 -1;
39703             visible: 0;
39704             color: 255 255 255 255;
39705                text {
39706                font: "Sans:style=Bold";
39707                size: 10;
39708                min: 0 1;
39709                max: 1 0;
39710                align: 0.5 0.5;
39711                elipsis: 0.0;
39712                }
39713             }
39714             description {
39715             state: "selected" 0.0;
39716             inherit: "default" 0.0;
39717             visible: 1;
39718             }
39719          }
39720          part {
39721          name: "fg1";
39722          type: IMAGE;
39723          mouse_events: 0;
39724             description {
39725             state: "default" 0.0;
39726             rel1.to: "bg";
39727                rel2 {
39728                to: "bg";
39729                relative: 1.0 0.5;
39730                }
39731                image {
39732                normal: "bt_hilight.png";
39733                border: 7 7 7 0;
39734                }
39735             }
39736          }
39737          part {
39738          name: "fg2";
39739          type: IMAGE;
39740          mouse_events: 0;
39741             description {
39742             state: "default" 0.0;
39743             rel1.to: "bg";
39744             rel2.to: "bg";
39745                image {
39746                normal: "bt_shine.png";
39747                border: 7 7 7 7;
39748                }
39749             }
39750          }
39751          part {
39752          name: "event";
39753          type: RECT;
39754          mouse_events: 1;
39755          ignore_flags: ON_HOLD;
39756             description {
39757             state: "default" 0.0;
39758             color: 0 0 0 0;
39759             }
39760          }
39761       }
39762       programs {
39763          program {
39764          name: "click";
39765          signal: "mouse,down,1";
39766          source: "event";
39767          action: STATE_SET "down" 0.0;
39768          target: "bg";
39769          }
39770          program {
39771          name: "unclick";
39772          signal: "mouse,up,1";
39773          source: "event";
39774          action: STATE_SET "default" 0.0;
39775          target: "bg";
39776          }
39777          program {
39778          name: "send";
39779          signal: "mouse,clicked,1";
39780          source: "event";
39781          action: SIGNAL_EMIT "e,action,click" "";
39782          }
39783          program {
39784          name: "select";
39785          signal: "e,state,selected";
39786          source: "e";
39787          action: STATE_SET "selected" 0.0;
39788          target: "e.text.label";
39789          target: "label2";
39790          }
39791          program {
39792          name: "normal";
39793          signal: "e,state,default";
39794          source: "e";
39795          action: STATE_SET "default" 0.0;
39796          target: "e.text.label";
39797          target: "label2";
39798          }
39799       }
39800    }
39801
39802 /////////////////////////////////////////////////////////////////////////////
39803 /*** MOD: TASKS ***/
39804
39805    group { name:"modules/tasks/item";
39806       images {
39807          image: "bt_base1.png" COMP;
39808          image: "bt_base2.png" COMP;
39809          image: "bt_hilight.png" COMP;
39810          image: "bt_shine.png" COMP;
39811          image: "bt_glow.png" COMP;
39812          image: "bt_dis_base.png" COMP;
39813          image: "bt_dis_hilight.png" COMP;
39814          image: "exclam.png" COMP;
39815       }
39816       parts {
39817          part { name: "button_image";
39818             mouse_events: 1;
39819             description { state: "default" 0.0;
39820                image {
39821                   normal: "bt_dis_base.png";
39822                   border: 4 4 4 4;
39823                }
39824             }
39825             description { state: "clicked" 0.0;
39826                inherit: "default" 0.0;
39827                image.normal: "bt_base1.png";
39828             }
39829             description { state: "focused" 0.0;
39830                inherit: "default" 0.0;
39831                image {
39832                   normal: "bt_base2.png";
39833                   border: 7 7 7 7;
39834                }
39835             }
39836          }
39837          part { name: "icon_area"; type: RECT;
39838             mouse_events: 0;
39839             description { state: "default" 0.0;
39840                visible: 0;
39841                aspect: 1.0 1.0;
39842                aspect_preference: VERTICAL;
39843                align: 0.0 0.5;
39844                rel1 {
39845                   relative: 0.0 0.0;
39846                   offset: 3  3;
39847                   to: "button_image";
39848                }
39849                rel2 {
39850                   relative: 0.0 1.0;
39851                   offset: 3   -4;
39852                   to: "button_image";
39853                }
39854             }
39855             description { state: "iconified" 0.0;
39856                inherit: "default" 0.0;
39857                rel1.relative: 0.0 0.25;
39858                rel2.relative: 0.0 0.75;
39859             }
39860          }
39861          part { name: "icon_area2"; type: RECT;
39862             description { state: "default" 0.0;
39863                visible: 0;
39864                rel1.to: "icon_area";
39865                rel2.to: "icon_area";
39866             }
39867             description { state: "uw0" 0.0;
39868                inherit: "default" 0.0;
39869                rel1.offset: -3 -2;
39870                rel2.offset: -4 -3;
39871             }
39872             description { state: "uw1" 0.0;
39873                inherit: "default" 0.0;
39874                rel1.offset: 5 -2;
39875                rel2.offset: 4 -3;
39876             }
39877             description { state: "uw2" 0.0;
39878                inherit: "default" 0.0;
39879                rel1.offset: -1 4;
39880                rel2.offset: -2 3;
39881             }
39882             description { state: "uw3" 0.0;
39883                inherit: "default" 0.0;
39884                rel1.offset: -2 -1;
39885                rel2.offset: -3 -2;
39886             }
39887             description { state: "uw4" 0.0;
39888                inherit: "default" 0.0;
39889                rel1.offset: -4 1;
39890                rel2.offset: -5 0;
39891             }
39892          }
39893          part { name: "e.swallow.icon";
39894             type: SWALLOW;
39895             mouse_events: 0;
39896             description { state: "default" 0.0;
39897                aspect: 1.0 1.0;
39898                rel1.to: "icon_area2";
39899                rel2.to: "icon_area2";
39900             }
39901          }
39902          part { name: "urgent";
39903             mouse_events: 0;
39904             description { state: "default" 0.0;
39905                visible: 0;
39906                color: 255 255 255 0;
39907                aspect: 1.0 1.0;
39908                aspect_preference: BOTH;
39909                rel1.to: "icon_area";
39910                rel2.to: "icon_area";
39911                image.normal: "exclam.png";
39912             }
39913             description { state: "visible" 0.0;
39914                inherit: "default" 0.0;
39915                visible: 1;
39916                color: 255 255 255 255;
39917             }
39918          }
39919          part { name: "urgent2";
39920             mouse_events: 0;
39921             description { state: "default" 0.0;
39922                visible: 0;
39923                color: 255 255 255 0;
39924                aspect: 1.0 1.0;
39925                aspect_preference: BOTH;
39926                rel1.to: "icon_area";
39927                rel2.to: "icon_area";
39928                image.normal: "exclam.png";
39929             }
39930             description { state: "visible" 0.0;
39931                inherit: "default" 0.0;
39932                visible: 1;
39933                color: 255 255 255 255;
39934             }
39935             description { state: "faded" 0.0;
39936                inherit: "default" 0.0;
39937                rel1.relative: -1.0 -1.0;
39938                rel2.relative: 2.0 2.0;
39939                visible: 1;
39940                color: 255 255 255 0;
39941             }
39942          }
39943          part { name: "e.text.label"; type: TEXT;
39944             effect: SOFT_SHADOW;
39945             mouse_events: 0;
39946             scale: 1;
39947             description { state: "default" 0.0;
39948                rel1 {
39949                   relative: 1.0  0.0;
39950                   offset: 2    3;
39951                   to_x: "icon_area";
39952                   to_y: "button_image";
39953                }
39954                rel2 {
39955                   relative: 1.0  1.0;
39956                   offset: -4   -4;
39957                   to: "button_image";
39958                }
39959                color_class: "tasks_text";
39960                text {
39961                   font: "Sans";
39962                   size: 10;
39963                   min: 0 1;
39964                   align: 0.0 0.5;
39965                   text_class: "tasks_text";
39966                }
39967             }
39968             description { state: "clicked" 0.0;
39969                inherit: "default" 0.0;
39970                color_class: "tasks_text_focused";
39971                text.font: "Sans:style=Bold";
39972                text.text_class: "tasks_text_focused";
39973             }
39974             description { state: "focused" 0.0;
39975                inherit: "default" 0.0;
39976                color_class: "tasks_text_focused";
39977                text.font: "Sans:style=Bold";
39978                text.text_class: "tasks_text_focused";
39979             }
39980          }
39981          part { name: "over1";
39982             mouse_events: 0;
39983             description { state: "default" 0.0;
39984                rel2.relative: 1.0 0.5;
39985                image {
39986                   normal: "bt_dis_hilight.png";
39987                   border: 4 4 4 0;
39988                }
39989             }
39990             description { state: "focused" 0.0;
39991                inherit: "default" 0.0;
39992                image {
39993                   normal: "bt_hilight.png";
39994                   border: 7 7 7 0;
39995                }
39996             }
39997          }
39998          part { name: "over2";
39999             mouse_events: 0;
40000             description { state: "default" 0.0;
40001                visible: 0;
40002                rel1.to: "button_image";
40003                rel2.to: "button_image";
40004                image {
40005                   normal: "bt_shine.png";
40006                   border: 7 7 7 7;
40007                }
40008             }
40009             description { state: "focused" 0.0;
40010                inherit: "default" 0.0;
40011                visible: 1;
40012             }
40013          }
40014          part { name: "over3";
40015             mouse_events: 0;
40016             description { state: "default" 0.0;
40017                visible: 0;
40018                color: 255 255 255 0;
40019                image {
40020                   normal: "bt_glow.png";
40021                   border: 7 7 9 9;
40022                }
40023                fill.smooth : 0;
40024             }
40025             description { state: "clicked" 0.0;
40026                inherit: "default" 0.0;
40027                visible: 1;
40028                color: 255 255 255 255;
40029             }
40030          }
40031       }
40032       programs {
40033          program { name: "button_click";
40034             signal: "mouse,down,1";
40035             source: "button_image";
40036             action: STATE_SET "clicked" 0.0;
40037             target: "button_image";
40038             target: "over3";
40039             target: "e.text.label";
40040          }
40041          program { name: "button_unclick";
40042             signal: "mouse,up,1";
40043             source: "button_image";
40044             action: STATE_SET "default" 0.0;
40045             target: "button_image";
40046             target: "over3";
40047             target: "e.text.label";
40048          }
40049          program { name: "button_unclick2";
40050             signal: "mouse,clicked,1";
40051             source: "button_image";
40052             action: SIGNAL_EMIT "e,action,click" "";
40053          }
40054          program { name: "focused";
40055             signal: "e,state,focused";
40056             source: "e";
40057             action: STATE_SET "focused" 0.0;
40058             target: "button_image";
40059             target: "over1";
40060             target: "e.text.label";
40061          }
40062          program { name: "unfocused";
40063             signal: "e,state,unfocused";
40064             source: "e";
40065             action: STATE_SET "default" 0.0;
40066             target: "button_image";
40067             target: "over1";
40068             target: "e.text.label";
40069          }
40070          program { name: "urgent";
40071             signal: "e,state,urgent";
40072             source: "e";
40073             action: STATE_SET "visible" 0.0;
40074             transition: DECELERATE 0.5;
40075             target: "urgent";
40076             target: "urgent2";
40077             after: "urgent2";
40078          }
40079          program { name: "urgent2";
40080             action: STATE_SET "faded" 0.0;
40081             transition: LINEAR 0.5;
40082             target: "urgent2";
40083             after: "urgent3";
40084          }
40085          program { name: "urgent3";
40086             action: STATE_SET "visible" 0.0;
40087             target: "urgent2";
40088             after: "urgent2";
40089          }
40090          program { name: "urgentw0";
40091             signal: "e,state,urgent";
40092             source: "e";
40093             action: STATE_SET "default" 0.0;
40094             transition: DECELERATE 0.1;
40095             target: "icon_area2";
40096             after: "urgentw1";
40097          }
40098          program { name: "urgentw1";
40099             action: STATE_SET "uw1" 0.0;
40100             transition: DECELERATE 0.1;
40101             target: "icon_area2";
40102             after: "urgentw2";
40103          }
40104          program { name: "urgentw2";
40105             action: STATE_SET "uw2" 0.0;
40106             target: "icon_area2";
40107             transition: DECELERATE 0.1;
40108             after: "urgentw3";
40109          }
40110          program { name: "urgentw3";
40111             action: STATE_SET "uw3" 0.0;
40112             transition: DECELERATE 0.1;
40113             target: "icon_area2";
40114             after: "urgentw4";
40115          }
40116          program { name: "urgentw4";
40117             action: STATE_SET "uw4" 0.0;
40118             transition: DECELERATE 0.1;
40119             target: "icon_area2";
40120             after: "urgentw0";
40121          }
40122          program { name: "not_urgent";
40123             signal: "e,state,not_urgent";
40124             source: "e";
40125             action: ACTION_STOP;
40126             target: "urgentw0";
40127             target: "urgentw1";
40128             target: "urgentw2";
40129             target: "urgentw3";
40130             target: "urgentw4";
40131             target: "urgent";
40132             target: "urgent2";
40133             target: "urgent3";
40134             after: "not_urgent2";
40135          }
40136          program { name: "not_urgent2";
40137             action: STATE_SET "default" 0.0;
40138             target: "urgent";
40139             target: "urgent2";
40140             target: "icon_area2";
40141          }
40142          program { name: "iconified";
40143             signal: "e,state,iconified";
40144             source: "e";
40145             action: STATE_SET "iconified" 0.0;
40146             transition: DECELERATE 1.0;
40147             target: "icon_area";
40148          }
40149          program { name: "uniconified";
40150             signal: "e,state,uniconified";
40151             source: "e";
40152             action: STATE_SET "default" 0.0;
40153             transition: DECELERATE 1.0;
40154             target: "icon_area";
40155          }
40156       }
40157    }
40158    group { name:"modules/tasks/item_vert";
40159       images {
40160          image: "bt_base1.png" COMP;
40161          image: "bt_base2.png" COMP;
40162          image: "bt_hilight.png" COMP;
40163          image: "bt_shine.png" COMP;
40164          image: "bt_glow.png" COMP;
40165          image: "bt_dis_base.png" COMP;
40166          image: "bt_dis_hilight.png" COMP;
40167          image: "exclam.png" COMP;
40168       }
40169       parts {
40170          part { name: "button_image";
40171             mouse_events: 1;
40172             description { state: "default" 0.0;
40173                image {
40174                   normal: "bt_dis_base.png";
40175                   border: 4 4 4 4;
40176                }
40177             }
40178             description { state: "clicked" 0.0;
40179                inherit: "default" 0.0;
40180                image.normal: "bt_base1.png";
40181             }
40182             description { state: "focused" 0.0;
40183                inherit: "default" 0.0;
40184                image {
40185                   normal: "bt_base2.png";
40186                   border: 7 7 7 7;
40187                }
40188             }
40189          }
40190          part { name: "icon_area"; type: RECT;
40191             mouse_events: 0;
40192             description { state: "default" 0.0;
40193                visible: 0;
40194                aspect: 1.0 1.0;
40195                aspect_preference: BOTH;
40196                align: 0.5 0.5;
40197                rel1 {
40198                   offset: 3  3;
40199                   to: "button_image";
40200                }
40201                rel2 {
40202                   offset: -4   -4;
40203                   to: "button_image";
40204                }
40205             }
40206             description { state: "iconified" 0.0;
40207                inherit: "default" 0.0;
40208                rel1.relative: 0.25 0.25;
40209                rel2.relative: 0.75 0.75;
40210             }
40211          }
40212          part { name: "icon_area2"; type: RECT;
40213             description { state: "default" 0.0;
40214                visible: 0;
40215                rel1.to: "icon_area";
40216                rel2.to: "icon_area";
40217             }
40218             description { state: "uw0" 0.0;
40219                inherit: "default" 0.0;
40220                rel1.offset: -3 -2;
40221                rel2.offset: -4 -3;
40222             }
40223             description { state: "uw1" 0.0;
40224                inherit: "default" 0.0;
40225                rel1.offset: 5 -2;
40226                rel2.offset: 4 -3;
40227             }
40228             description { state: "uw2" 0.0;
40229                inherit: "default" 0.0;
40230                rel1.offset: -1 4;
40231                rel2.offset: -2 3;
40232             }
40233             description { state: "uw3" 0.0;
40234                inherit: "default" 0.0;
40235                rel1.offset: -2 -1;
40236                rel2.offset: -3 -2;
40237             }
40238             description { state: "uw4" 0.0;
40239                inherit: "default" 0.0;
40240                rel1.offset: -4 1;
40241                rel2.offset: -5 0;
40242             }
40243          }
40244          part { name: "e.swallow.icon";
40245             type: SWALLOW;
40246             mouse_events: 0;
40247             description { state: "default" 0.0;
40248                aspect: 1.0 1.0;
40249                rel1.to: "icon_area2";
40250                rel2.to: "icon_area2";
40251             }
40252          }
40253          part { name: "urgent";
40254             mouse_events: 0;
40255             description { state: "default" 0.0;
40256                visible: 0;
40257                color: 255 255 255 0;
40258                aspect: 1.0 1.0;
40259                aspect_preference: BOTH;
40260                rel1.to: "icon_area";
40261                rel2.to: "icon_area";
40262                image.normal: "exclam.png";
40263             }
40264             description { state: "visible" 0.0;
40265                inherit: "default" 0.0;
40266                visible: 1;
40267                color: 255 255 255 255;
40268             }
40269          }
40270          part { name: "urgent2";
40271             mouse_events: 0;
40272             description { state: "default" 0.0;
40273                visible: 0;
40274                color: 255 255 255 0;
40275                aspect: 1.0 1.0;
40276                aspect_preference: BOTH;
40277                rel1.to: "icon_area";
40278                rel2.to: "icon_area";
40279                image.normal: "exclam.png";
40280             }
40281             description { state: "visible" 0.0;
40282                inherit: "default" 0.0;
40283                visible: 1;
40284                color: 255 255 255 255;
40285             }
40286             description { state: "faded" 0.0;
40287                inherit: "default" 0.0;
40288                rel1.relative: -1.0 -1.0;
40289                rel2.relative: 2.0 2.0;
40290                visible: 1;
40291                color: 255 255 255 0;
40292             }
40293          }
40294          part { name: "over1";
40295             mouse_events: 0;
40296             description { state: "default" 0.0;
40297                rel2.relative: 1.0 0.5;
40298                image {
40299                   normal: "bt_dis_hilight.png";
40300                   border: 4 4 4 0;
40301                }
40302             }
40303             description { state: "focused" 0.0;
40304                inherit: "default" 0.0;
40305                image {
40306                   normal: "bt_hilight.png";
40307                   border: 7 7 7 0;
40308                }
40309             }
40310          }
40311          part { name: "over2";
40312             mouse_events: 0;
40313             description { state: "default" 0.0;
40314                visible: 0;
40315                rel1.to: "button_image";
40316                rel2.to: "button_image";
40317                image {
40318                   normal: "bt_shine.png";
40319                   border: 7 7 7 7;
40320                }
40321             }
40322             description { state: "focused" 0.0;
40323                inherit: "default" 0.0;
40324                visible: 1;
40325             }
40326          }
40327          part { name: "over3";
40328             mouse_events: 0;
40329             description { state: "default" 0.0;
40330                visible: 0;
40331                color: 255 255 255 0;
40332                image {
40333                   normal: "bt_glow.png";
40334                   border: 7 7 9 9;
40335                }
40336                fill.smooth : 0;
40337             }
40338             description { state: "clicked" 0.0;
40339                inherit: "default" 0.0;
40340                visible: 1;
40341                color: 255 255 255 255;
40342             }
40343          }
40344       }
40345       programs {
40346          program { name: "button_click";
40347             signal: "mouse,down,1";
40348             source: "button_image";
40349             action: STATE_SET "clicked" 0.0;
40350             target: "button_image";
40351             target: "over3";
40352          }
40353          program { name: "button_unclick";
40354             signal: "mouse,up,1";
40355             source: "button_image";
40356             action: STATE_SET "default" 0.0;
40357             target: "button_image";
40358             target: "over3";
40359          }
40360          program { name: "button_unclick2";
40361             signal: "mouse,clicked,1";
40362             source: "button_image";
40363             action: SIGNAL_EMIT "e,action,click" "";
40364          }
40365          program { name: "focused";
40366             signal: "e,state,focused";
40367             source: "e";
40368             action: STATE_SET "focused" 0.0;
40369             target: "button_image";
40370             target: "over1";
40371          }
40372          program { name: "unfocused";
40373             signal: "e,state,unfocused";
40374             source: "e";
40375             action: STATE_SET "default" 0.0;
40376             target: "button_image";
40377             target: "over1";
40378          }
40379          program { name: "urgent";
40380             signal: "e,state,urgent";
40381             source: "e";
40382             action: STATE_SET "visible" 0.0;
40383             transition: DECELERATE 0.5;
40384             target: "urgent";
40385             target: "urgent2";
40386             after: "urgent2";
40387          }
40388          program { name: "urgent2";
40389             action: STATE_SET "faded" 0.0;
40390             transition: LINEAR 0.5;
40391             target: "urgent2";
40392             after: "urgent3";
40393          }
40394          program { name: "urgent3";
40395             action: STATE_SET "visible" 0.0;
40396             target: "urgent2";
40397             after: "urgent2";
40398          }
40399          program { name: "urgentw0";
40400             signal: "e,state,urgent";
40401             source: "e";
40402             action: STATE_SET "default" 0.0;
40403             transition: DECELERATE 0.1;
40404             target: "icon_area2";
40405             after: "urgentw1";
40406          }
40407          program { name: "urgentw1";
40408             action: STATE_SET "uw1" 0.0;
40409             transition: DECELERATE 0.1;
40410             target: "icon_area2";
40411             after: "urgentw2";
40412          }
40413          program { name: "urgentw2";
40414             action: STATE_SET "uw2" 0.0;
40415             target: "icon_area2";
40416             transition: DECELERATE 0.1;
40417             after: "urgentw3";
40418          }
40419          program { name: "urgentw3";
40420             action: STATE_SET "uw3" 0.0;
40421             transition: DECELERATE 0.1;
40422             target: "icon_area2";
40423             after: "urgentw4";
40424          }
40425          program { name: "urgentw4";
40426             action: STATE_SET "uw4" 0.0;
40427             transition: DECELERATE 0.1;
40428             target: "icon_area2";
40429             after: "urgentw0";
40430          }
40431          program { name: "not_urgent";
40432             signal: "e,state,not_urgent";
40433             source: "e";
40434             action: ACTION_STOP;
40435             target: "urgentw0";
40436             target: "urgentw1";
40437             target: "urgentw2";
40438             target: "urgentw3";
40439             target: "urgentw4";
40440             target: "urgent";
40441             target: "urgent2";
40442             target: "urgent3";
40443             after: "not_urgent2";
40444          }
40445          program { name: "not_urgent2";
40446             action: STATE_SET "default" 0.0;
40447             target: "urgent";
40448             target: "urgent2";
40449             target: "icon_area2";
40450          }
40451          program { name: "iconified";
40452             signal: "e,state,iconified";
40453             source: "e";
40454             action: STATE_SET "iconified" 0.0;
40455             transition: DECELERATE 1.0;
40456             target: "icon_area";
40457          }
40458          program { name: "uniconified";
40459             signal: "e,state,uniconified";
40460             source: "e";
40461             action: STATE_SET "default" 0.0;
40462             transition: DECELERATE 1.0;
40463             target: "icon_area";
40464          }
40465       }
40466    }
40467
40468 /////////////////////////////////////////////////////////////////////////////
40469 /*** MOD: XKBSWITCH ***/
40470    group { name: "modules/xkbswitch/main";
40471       images {
40472          image: "xkbshad.png" COMP;
40473       }
40474       max: 128 128;
40475       parts {
40476          part { name: "shadow";
40477             mouse_events: 1;
40478             description { state: "default" 0.0;
40479                rel1.to: "e.swallow.flag";
40480                rel1.offset: -2 -1;
40481                rel2.to: "e.swallow.flag";
40482                rel2.offset: 1 2;
40483                image {
40484                   normal: "xkbshad.png";
40485                   border: 5 5 5 5;
40486                }
40487             }
40488          }
40489          part { name: "e.swallow.flag";
40490             type: SWALLOW;
40491             mouse_events: 0;
40492             description { state: "default" 0.0;
40493                rel1.offset: 2 3;
40494                rel2.offset: -3 -4;
40495             }
40496          }
40497          part { name: "e.text.label"; type: TEXT;
40498             effect: SOFT_SHADOW;
40499             mouse_events: 0;
40500             description { state: "default" 0.0;
40501                rel1 {
40502                   to: "e.swallow.flag";
40503                   relative: 0.0 0.5;
40504                }
40505                rel2 {
40506                   to: "e.swallow.flag";
40507                   relative: 1.0 0.5;
40508                }
40509                color: 255 255 255 0;
40510                color3: 0 0 0 0;
40511                text {
40512                   font: "Sans";
40513                   size: 9;
40514                   min: 0 1;
40515                   text_class: "module_small";
40516                }
40517             }
40518             description { state: "visible" 0.0;
40519                inherit: "default" 0.0;
40520                color: 255 255 255 255;
40521                color3: 0 0 0 24;
40522             }
40523          }
40524          part { name: "event"; type: RECT;
40525             mouse_events: 1;
40526             description { state: "default" 0.0;
40527                color: 0 0 0 0;
40528             }
40529          }
40530       }
40531       programs {
40532          program { name: "fade1";
40533             signal: "mouse,in";
40534             source: "event";
40535             action: STATE_SET "visible" 0.0;
40536             transition: DECELERATE 1.0;
40537             target: "e.text.label";
40538          }
40539          program { name: "fade2";
40540             signal: "mouse,out";
40541             source: "event";
40542             action: STATE_SET "default" 0.0;
40543             transition: DECELERATE 1.0;
40544             target: "e.text.label";
40545          }
40546       }
40547    }
40548
40549    group { name: "modules/xkbswitch/noflag";
40550       max: 128 128;
40551       parts {
40552          part { name: "e.text.label"; type: TEXT;
40553             effect: SOFT_SHADOW;
40554             mouse_events: 0;
40555             description { state: "default" 0.0;
40556                rel1 {
40557                   relative: 0.0 0.5;
40558                }
40559                rel2 {
40560                   relative: 1.0 0.5;
40561                }
40562                color: 255 255 255 255;
40563                color3: 0 0 0 24;
40564                text {
40565                   font: "Sans";
40566                   size: 9;
40567                   min: 0 1;
40568                   text_class: "module_small";
40569                }
40570             }
40571          }
40572          part { name: "event"; type: RECT;
40573             mouse_events: 1;
40574             description { state: "default" 0.0;
40575                color: 0 0 0 0;
40576             }
40577          }
40578       }
40579    }
40580 }