update for beta release
[framework/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 collections {
282 /* begin the collection of edje groups that are in this file */
283
284 /////////////////////////////////////////////////////////////////////////////
285 /*** DEFAULT WALLPAPER ***/
286    group {
287       name: "e/desktop/background";
288       /* the name of the group */
289       /* this section defines that images are to be included and how to
290        * encode them */
291       images {
292          image: "bg_shadow.png" COMP;
293          /* the encoding method is "COMP". this
294           * is lossless, but compressed */
295          image: "bg_over.png" LOSSY 80;
296          /* the encoding is "LOSSY". this loses quality (80% quality level)
297           * but uses less space in return. uses JPEG and can do alpha channels
298           * too */
299          image: "bg_base.png" COMP;
300       }
301       /* this section actually contains the list of parts from bottom to top
302        * (defining the layering/stacking order) */
303       parts {
304          part {
305             name: "background_image";
306             /* this is the base background */
307             description {
308                state: "default" 0.0;
309                /* its default state */
310                /* note a part has 1 or more states described here. Each state
311                 * has a name AND a value. If the value is not useful then set
312                 * it to 0.0. The names do not need to be unique within a part
313                 * but the name + value combination needs to be unique. At some
314                 * points edje is able to select a state given a value other
315                 * other than 0.0 - in that case Edje will find the state with
316                 * the same name but closest value to the one being asked for.
317                 * This allows you to create many states that act as a
318                 * meticulously defined series of states from 0.0 to 1.0
319                 * (example - a "fuel gauge") where the theme may provide as many
320                 * or few as the designer wants, and edje will just chose the
321                 * closest match to what it wants. In almost all cases you will
322                 * not use this feature, but this explains the "0.0" you see
323                 * everywhere */
324                /* nb - i am using a shortcut notation. you can use this
325                 * parent.child: blah; in a key to avoid doing
326                 * parent { child: blah; }
327                 */
328                image.normal: "bg_base.png";
329                /* use the vgrad_dark.png im */
330                fill {
331                   /* now specify how the image is to fill the part */
332                   smooth: 0;
333                   /* set smooth swcaling off */
334                   size {
335                      relative: 0 1.0;
336                      /* X and Y point relative to the part
337                       * as a whole for the size (dont scale
338                       * in X but scale 100% in Y */
339                      offset: 761 0;
340                      /* offsets from the relative scale point
341                       * so here offset is 36 to the right in
342                       * X and at the Y relative point. this
343                       * means tile horizontally, but scale
344                       * vertically */
345                   }
346                }
347             }
348          }
349          part {
350             name: "over";
351             description {
352                state: "default" 0.0;
353                image.normal: "bg_over.png";
354                /* tiled at 800x600 */
355                fill.size.relative: 0 0;
356                fill.size.offset: 800 600;
357                fill.smooth: 0;
358             }
359          }
360          /* a circular shadow on top */
361          part { name: "shadow";
362             description { state: "default" 0.0;
363                image.normal: "bg_shadow.png";
364                fill.smooth: 0;
365             }
366          }
367       }
368    }
369    group {
370       name: "e/desktop/background/scrollframe";
371       parts {
372          part {
373             name: "clipper";
374             type: RECT;
375             mouse_events: 0;
376             description {
377                state: "default" 0.0;
378             }
379          }
380          part {
381             name: "e.swallow.content";
382             clip_to: "clipper";
383             type: SWALLOW;
384             description {
385                state: "default" 0.0;
386                rel1.offset: 0 0;
387                rel2 {
388                   relative: 0.0  0.0;
389                   offset: -1   -1;
390                }
391             }
392          }
393       }
394    }
395    group {
396       name: "e/desktop/background/scrollframe";
397       parts {
398          part {
399             name: "clipper";
400             type: RECT;
401             mouse_events: 0;
402             description {
403                state: "default" 0.0;
404             }
405          }
406          part {
407             name: "e.swallow.content";
408             clip_to: "clipper";
409             type: SWALLOW;
410             description {
411                state: "default" 0.0;
412                rel1.offset: 0 0;
413                rel2 {
414                   relative: 0.0  0.0;
415                   offset: -1   -1;
416                }
417             }
418          }
419       }
420    }
421
422 /////////////////////////////////////////////////////////////////////////////
423 /*** DEFAULT WINDOW BORDER ***/
424    group {
425       name: "e/widgets/border/default/border";
426       /* more images - for the border specifically. remember each images {}
427        * section fills a global images namespace, so if you re-use an image
428        * between sections, only 1 copy is kept, so names here are unique. if
429        * different image {} sections specify the same image but use different
430        * compression specifications, the compression scheme is undefined and
431        * may use any one of the schemes requested, so make sure you use the
432        * same compression scheme */
433       images {
434          image: "bd_top.png" COMP;
435          image: "bd_top_hilight.png" COMP;
436          image: "bd_bottom.png" COMP;
437          image: "bd_title_bg.png" COMP;
438          image: "bd_title_over.png" COMP;
439          image: "bd_resize_b.png" COMP;
440          image: "busy-1.png" COMP;
441          image: "busy-2.png" COMP;
442          image: "busy-3.png" COMP;
443          image: "busy-4.png" COMP;
444          image: "busy-5.png" COMP;
445          image: "busy-6.png" COMP;
446          image: "busy-7.png" COMP;
447          image: "busy-8.png" COMP;
448          image: "busy-9.png" COMP;
449          image: "exclam.png" COMP;
450          image: "bd_button_close_shadow.png" COMP;
451          image: "bd_button_close_focused.png" COMP;
452          image: "bd_button_close_unfocused.png" COMP;
453          image: "bd_button_max_shadow.png" COMP;
454          image: "bd_button_max_focused.png" COMP;
455          image: "bd_button_max_unfocused.png" COMP;
456          image: "bd_button_min_shadow.png" COMP;
457          image: "bd_button_min_focused.png" COMP;
458          image: "bd_button_min_unfocused.png" COMP;
459       }
460       /* this would tell E that the border is not a solid rectanle, but is
461        * shaped (has transparent sections) and so would follow a different
462        * code path for such borders. the default is not shaped, so this is
463        * not enabled here, but left commented out for illustration purposes */
464       //      data.item: "shaped" "1";
465       parts {
466          part {
467             name: "top";
468             mouse_events: 0;
469             /* accept no mouse events here */
470             description {
471                state: "default" 0.0;
472                rel1 {
473                   /* this defines the top-left (rel1) point of the part
474                    * and where it is placed. the below values are
475                    * actually the default values, so there is no need
476                    * to actually declare them. */
477                   relative: 0.0 0.0;
478                   /* make this point relative to the top
479                    * left of the whole eje object (there
480                    * is no to: section so it's the whole
481                    * object). note that the point is
482                    * calculated as:
483                    *   p.x = obj.width * relative.x
484                    *   p.y = obj.height * relative.y
485                    * (as the to item is the whole object)
486                    */
487                   offset: 0 0;
488                   /* and from the relative point, have an offset
489                    * of 0 pixels - i.e. - none */
490                }
491                rel2 {
492                   relative: 1.0 1.0;
493                   /* the bottom-right is relative to the
494                    * base of the title - this way the
495                    * title region will scale based on font
496                    * size */
497                   offset: -1 -1;
498                   /* relative to the bottom right */
499                   to_y: "title_base";
500                   /* only y is relative to title_base. the
501                    * rest is relative to the whole object
502                    * (because its not specified) */
503                }
504                color_class: "border_top";
505                image {
506                   /* define the image to use */
507                   normal: "bd_top.png";
508                   /* the image */
509                   border: 2 2 2 2;
510                   /* border scaling attributes. this is the
511                    * number of pixels NOT to scale on the
512                    * left, right, top and bottom edges of the
513                    * image. this allows "bevelled" effects
514                    * or anything similar to look correct and
515                    * not scale/blur etc. along with the image
516                    * when it needs resizing */
517                }
518             }
519          }
520          part {
521             name: "bottom";
522             /* this is the bottom of the window */
523             mouse_events: 0;
524             description {
525                state: "default" 0.0;
526                rel1 {
527                   relative: 0.0 1.0;
528                   /* relative to the bottom-left of the edje
529                    * but 4 pixels up */
530                   offset: 0 -4;
531                }
532                rel2 {
533                   relative: 1.0 1.0;
534                   offset: -1 -1;
535                }
536                color_class: "border_bottom";
537                image {
538                   normal: "bd_bottom.png";
539                   border: 2 2 0 0;
540                   /* the left and right pixels are not to
541                    * be scaled when stretching */
542                }
543             }
544             description {
545                state: "shaded" 0.0;
546                /* when in a shaded state then
547                 * don't display this part */
548                inherit: "default" 0.0;
549                visible: 0;
550             }
551             description {
552                state: "max" 0.0;
553                /* whem maximised too */
554                inherit: "default" 0.0;
555                visible: 0;
556             }
557          }
558          part {
559             name: "icon_area";
560             /* this is an invisible rectangle that we
561              * use to place icons within. we use this
562              * to keep it fixed as the "icone area" so
563              * the actual swallow part that swallows
564              * the icon can be moved/resized for
565              * animations */
566             type: RECT;
567             description {
568                state: "default" 0.0;
569                visible: 0;
570                align: 0.0 0.5;
571                /* alignt to the left, but center vertically */
572                aspect: 1.0 1.0;
573                /* prefer ans aspect of 1.0 (ie width / height
574                 * is 1.0 - i.e. - square. aspect here is
575                 * min and max aspect that will be "allowed"
576                 * (since both min and max are 1.0 respectively
577                 * in order). */
578                aspect_preference: VERTICAL;
579                /* this means that the vertical
580                 * axis controls aspect and the
581                 * icon_area part size will be
582                 * governed by the height of the
583                 * part (the width simply following
584                 * along behind) */
585                rel1 {
586                   /* rel1 - top-left corner of this part */
587                   relative: 0.0 0.0;
588                   offset: 2 2;
589                   /* 2 pixels in from the top-left of the border
590                    * corner */
591                }
592                rel2 {
593                   relative: 0.0 1.0;
594                   /* bottom-right of this part is also 2
595                    * pixels in from the left (but align will
596                    * mean it goes to the right) and be 2
597                    * pixels in from the bottom edge of
598                    * "title_base" (remember rel2 is the
599                    * pixel immediately OUTSIDE the part.
600                    * i.e. x + width & y + height). */
601                   offset: 2 -3;
602                   to_y: "title_base";
603                }
604             }
605             description {
606                state: "active" 0.0;
607                /* and an active state */
608                inherit: "default" 0.0;
609                rel1 {
610                   offset: 2 3;
611                   /* 1 pixel down from default so it looks like it
612                    * is pressed down a bit */
613                }
614                rel2 {
615                   offset: 2 -2;
616                   /* same here - down 1 pixel from "default" */
617                }
618             }
619          }
620          part {
621             name: "icon_area2";
622             /* this area is another invisible rect
623              * that is used for shuffling around parts
624              * that are relative to it. the states
625              * below are just a few "random" offsets
626              * to make it look like whatever is
627              * relative to icon_area2 is "jiggling"
628              * around */
629             type: RECT;
630             description {
631                state: "default" 0.0;
632                visible: 0;
633                rel1.to: "icon_area";
634                rel2.to: "icon_area";
635             }
636             description {
637                state: "uw0" 0.0;
638                /* jiggle */
639                inherit: "default" 0.0;
640                rel1.offset: -3 -2;
641                rel2.offset: -4 -3;
642             }
643             description {
644                state: "uw1" 0.0;
645                /* jiggle some more */
646                inherit: "default" 0.0;
647                rel1.offset: 5 -2;
648                rel2.offset: 4 -3;
649             }
650             description {
651                state: "uw2" 0.0;
652                /* look at me - jiggling! */
653                inherit: "default" 0.0;
654                rel1.offset: -1 4;
655                rel2.offset: -2 3;
656             }
657             description {
658                state: "uw3" 0.0;
659                /* jiggling about */
660                inherit: "default" 0.0;
661                rel1.offset: -2 -1;
662                rel2.offset: -3 -2;
663             }
664             description {
665                state: "uw4" 0.0;
666                /* one more jiggle for the dummies */
667                inherit: "default" 0.0;
668                rel1.offset: -4 1;
669                rel2.offset: -5 0;
670             }
671          }
672          part {
673             name: "busy";
674             /* this is an animation to spin a wheel when the app
675              * seems too busy to respond to pings */
676             mouse_events: 0;
677             description {
678                state: "default" 0.0;
679                visible: 0;
680                /* nomrally the busy part is not visible */
681                color: 255 255 255 0;
682                /* and its alpha is 0 - se will fade it
683                 * inm later so alpha to 0 (but 255 255
684                 * 255 for white so we dont also go from
685                 * dark to white while fading) */
686                max: 32 32;
687                /* no bigger than 32x32 - but allow it to be
688                 * smaller if needed */
689                aspect: 1.0 1.0;
690                /* square aspect */
691                aspect_preference: BOTH;
692                /* both axes determine aspect. that
693                 * means that the icon area may
694                 * be 100x50, but the aspect is 1.0
695                 * so therefore it will be 50x50 as the
696                 * max size. if the area is 50x100 it
697                 * will still be 50x50 as it must fit
698                 * WITHIN the bounds of BOTH axes */
699                rel1.to: "icon_area";
700                rel2.to: "icon_area";
701                image {
702                   tween: "busy-1.png";
703                   tween: "busy-2.png";
704                   tween: "busy-3.png";
705                   tween: "busy-4.png";
706                   tween: "busy-5.png";
707                   tween: "busy-6.png";
708                   tween: "busy-7.png";
709                   tween: "busy-8.png";
710                   normal: "busy-9.png";
711                   /* and we use image tweening. that
712                    * means that we flip through a series
713                    * of images when moving TO this state
714                    * over the transition time. it's like
715                    * specifying multiple frames of an
716                    * animatin sequence. the "final"
717                    * state is "normal". the images
718                    * between are the "tween" images
719                    * listed in order working towards
720                    * the "normal" image */
721                }
722             }
723             description {
724                state: "visible" 0.0;
725                /* the visible state - inherit the
726                 * default one as its all the same, but
727                 * its visible and faded in */
728                inherit: "default" 0.0;
729                visible: 1;
730                color: 255 255 255 255;
731             }
732          }
733          part {
734             name: "e.swallow.icon";
735             /* finally a swallow part - this is
736              * just a placeholder to SWALLOW
737              * other external evas objects into
738              * this region and edje will control
739              * any object swallowed as if it were
740              * this part itself (move, resize,
741              * etc.) */
742             type: SWALLOW;
743             description {
744                state: "default" 0.0;
745                aspect: 1.0 1.0;
746                aspect_preference: BOTH;
747                rel1.to: "icon_area2";
748                rel2.to: "icon_area2";
749             }
750             description {
751                state: "shrunk" 0.0;
752                inherit: "default" 0.0;
753                rel1.relative: 0.3 0.3;
754                rel2.relative: 0.7 0.7;
755             }
756          }
757          part {
758             name: "urgent";
759             /* this is the urgnt part it is normally not
760              * visible, but when the window is in an
761              * urgent state (the app has set the urgency
762              * hint) then we go to the visible state */
763             mouse_events: 0;
764             description {
765                state: "default" 0.0;
766                visible: 0;
767                color: 255 255 255 0;
768                aspect: 1.0 1.0;
769                aspect_preference: BOTH;
770                rel1.to: "icon_area";
771                rel2.to: "icon_area";
772                image.normal: "exclam.png";
773             }
774             description {
775                state: "visible" 0.0;
776                /* and in the visible state put the
777                 * exlamation image on top of the icon */
778                inherit: "default" 0.0;
779                visible: 1;
780                color: 255 255 255 255;
781             }
782          }
783          part {
784             name: "urgent2";
785             /* this is another urgent element. it is actually
786              * zoomed out to be larger and faded out at the
787              * same time to give a "pulsating" look to the
788              * exclamation mark to bring attention to it */
789             mouse_events: 0;
790             description {
791                state: "default" 0.0;
792                visible: 0;
793                color: 255 255 255 0;
794                aspect: 1.0 1.0;
795                aspect_preference: BOTH;
796                rel1.to: "icon_area";
797                rel2.to: "icon_area";
798                image.normal: "exclam.png";
799             }
800             description {
801                state: "visible" 0.0;
802                inherit: "default" 0.0;
803                visible: 1;
804                color: 255 255 255 255;
805             }
806             description {
807                state: "faded" 0.0;
808                inherit: "default" 0.0;
809                rel1.relative: -1.0 -1.0;
810                rel2.relative: 2.0 2.0;
811                visible: 1;
812                color: 255 255 255 0;
813             }
814          }
815          part {
816             name: "e.text.title";
817             /* this is a text part - the black
818              * text on the white title top image */
819             type: TEXT;
820             mouse_events: 0;
821             scale: 1;
822             /* allow this part to scale by a scale factor (dpi) */
823             description {
824                state: "default" 0.0;
825                visible: 1;
826                align: 0.0 0.0;
827                /* align top and left */
828                rel1 {
829                   relative: 1.0 0.0;
830                   offset: 9 2;
831                   to_x: "icon_area";
832                   /* relative to the right side of the icon
833                    * area but 9 pixels away */
834                }
835                rel2 {
836                   relative: 1.0 0.0;
837                   /* and the bottom right is inset by 8
838                    * pixels from the right of "title_base"
839                    * but as its aligned to the top we can
840                    * keep this at 2 pixels from the top of
841                    * the whole edje object and let alignment
842                    * make it extend downward from that point
843                    * with the text size defining the min size
844                    * vertically below */
845                   offset: -8 2;
846                   to_x: "title_base";
847                }
848                color_class: "border_title";
849                /* give it a color class so people
850                 * can re-color it if they want */
851                text {
852                   font: "Sans:style=Bold";
853                   /* Use the Bold style
854                    * of the Sans font from
855                    * fontconfig */
856                   size: 10;
857                   /* size in pixels - 10 */
858                   min: 0 1;
859                   /* the text will not determine minimum horizontal
860                    * size but WILL determine minimal vertical size
861                    * (thus 0 1 - horiz then vert flags) */
862                   align: 0.0 0.0;
863                   /* align text to top-left of the region
864                    * given */
865                   text_class: "title_bar";
866                   /* text class - so font and size
867                    * can be changed by users */
868                }
869             }
870             description {
871                state: "focused" 0.0;
872                /* when the border is focused
873                 * then make the text fade out
874                 * and vanish */
875                inherit: "default" 0.0;
876                visible: 0;
877                color: 0 0 0 0;
878             }
879          }
880          part {
881             name: "bt_close";
882             /* the close button shadow */
883             mouse_events: 0;
884             description {
885                state: "default" 0.0;
886                align: 1.0 0.5;
887                min: 22 22;
888                /* min and max size are the same, so never
889                 * resize this */
890                max: 22 22;
891                aspect: 1.0 1.0;
892                /* square - always */
893                aspect_preference: VERTICAL;
894                /* the vetical axis controls size
895                 * when applying the aspect ratio
896                 * hint above */
897                rel1 {
898                   relative: 1.0 0.0;
899                   offset: -2 1;
900                   to_x: "top";
901                   to_y: "top";
902                }
903                rel2 {
904                   relative: 1.0 1.0;
905                   offset: -2 -2;
906                   to_x: "top";
907                   to_y: "top";
908                }
909                image.normal: "bd_button_close_shadow.png";
910             }
911          }
912          part {
913             name: "bt_max";
914             /* maximize button shadow */
915             mouse_events: 0;
916             description {
917                state: "default" 0.0;
918                align: 1.0 0.5;
919                min: 22 22;
920                max: 22 22;
921                aspect: 1.0 1.0;
922                aspect_preference: VERTICAL;
923                rel1 {
924                   relative: 0.0 0.0;
925                   offset: -2 1;
926                   to_x: "bt_close";
927                   /* left of the close button */
928                   to_y: "top";
929                }
930                rel2 {
931                   relative: 0.0 1.0;
932                   offset: -2 -2;
933                   to_x: "bt_close";
934                   /* left of the close button */
935                   to_y: "top";
936                }
937                image.normal: "bd_button_max_shadow.png";
938             }
939          }
940          part {
941             name: "bt_min";
942             /* minimize button shadow */
943             mouse_events: 0;
944             description {
945                state: "default" 0.0;
946                align: 1.0 0.5;
947                min: 22 22;
948                max: 22 22;
949                aspect: 1.0 1.0;
950                aspect_preference: VERTICAL;
951                rel1 {
952                   relative: 0.0 0.0;
953                   offset: -2 1;
954                   to_x: "bt_max";
955                   /* left of the maximize button */
956                   to_y: "top";
957                }
958                rel2 {
959                   relative: 0.0 1.0;
960                   offset: -2 -2;
961                   to_x: "bt_max";
962                   /* left of the maximize button */
963                   to_y: "top";
964                }
965                image.normal: "bd_button_min_shadow.png";
966             }
967          }
968          part {
969             name: "top_hilight";
970             /* an overlayed image to give the top of
971              * a border a shiny look - very subtle */
972             mouse_events: 0;
973             description {
974                state: "default" 0.0;
975                rel1 {
976                   relative: 0.0 0.0;
977                   offset: 0 0;
978                   to: "top";
979                }
980                rel2 {
981                   relative: 1.0 0.5;
982                   offset: -1 0;
983                   to: "top";
984                }
985                color_class: "border_top_hilight";
986                image {
987                   normal: "bd_top_hilight.png";
988                }
989                fill.smooth: 0;
990             }
991          }
992          part {
993             name: "buttons_unfoc";
994             /* this is a rect part used to clip &
995              * thus control the visibility of a group
996              * of other parts (the images for the
997              * buttons themselves) with just 1 part
998              * doing the control as it acts as a
999              * master switch for all things clipped
1000              * to this part */
1001             type: RECT;
1002             description {
1003                state: "default" 0.0;
1004                visible: 1;
1005                color: 255 255 255 255;
1006                /* visible and solid */
1007             }
1008             description {
1009                state: "focused" 0.0;
1010                inherit: "default" 0.0;
1011                visible: 0;
1012                color: 255 255 255 0;
1013                /* invisible and transparent */
1014             }
1015          }
1016          part {
1017             name: "bt_close_unfoc";
1018             mouse_events: 0;
1019             clip_to: "buttons_unfoc";
1020             /* clipping (thus visible region and
1021              * color + alpah is controlled by the
1022              * clip object */
1023             description {
1024                state: "default" 0.0;
1025                rel1.to: "bt_close";
1026                rel2.to: "bt_close";
1027                image.normal: "bd_button_close_unfocused.png";
1028             }
1029             description {
1030                state: "active" 0.0;
1031                inherit: "default" 0.0;
1032                rel1.offset: 0 1;
1033                rel2.offset: -1 0;
1034             }
1035          }
1036          part {
1037             name: "bt_max_unfoc";
1038             mouse_events: 0;
1039             clip_to: "buttons_unfoc";
1040             description {
1041                state: "default" 0.0;
1042                rel1.to: "bt_max";
1043                rel2.to: "bt_max";
1044                image.normal: "bd_button_max_unfocused.png";
1045             }
1046             description {
1047                state: "active" 0.0;
1048                inherit: "default" 0.0;
1049                rel1.offset: 0 1;
1050                rel2.offset: -1 0;
1051             }
1052          }
1053          part {
1054             name: "bt_min_unfoc";
1055             mouse_events: 0;
1056             clip_to: "buttons_unfoc";
1057             description {
1058                state: "default" 0.0;
1059                rel1.to: "bt_min";
1060                rel2.to: "bt_min";
1061                image.normal: "bd_button_min_unfocused.png";
1062             }
1063             description {
1064                state: "active" 0.0;
1065                inherit: "default" 0.0;
1066                rel1.offset: 0 1;
1067                rel2.offset: -1 0;
1068             }
1069          }
1070          part {
1071             name: "buttons_foc";
1072             /* another rect object for clipping */
1073             type: RECT;
1074             description {
1075                state: "default" 0.0;
1076                visible: 0;
1077                color: 255 255 255 0;
1078             }
1079             description {
1080                state: "focused" 0.0;
1081                inherit: "default" 0.0;
1082                visible: 1;
1083                color: 255 255 255 255;
1084             }
1085          }
1086          part {
1087             name: "bt_close_foc";
1088             mouse_events: 0;
1089             clip_to: "buttons_foc";
1090             /* controlled by the other clip object */
1091             description {
1092                state: "default" 0.0;
1093                rel1.to: "bt_close";
1094                rel2.to: "bt_close";
1095                image.normal: "bd_button_close_focused.png";
1096             }
1097             description {
1098                state: "active" 0.0;
1099                inherit: "default" 0.0;
1100                rel1.offset: 0 1;
1101                rel2.offset: -1 0;
1102             }
1103          }
1104          part {
1105             name: "bt_max_foc";
1106             mouse_events: 0;
1107             clip_to: "buttons_foc";
1108             description {
1109                state: "default" 0.0;
1110                rel1.to: "bt_max";
1111                rel2.to: "bt_max";
1112                image.normal: "bd_button_max_focused.png";
1113             }
1114             description {
1115                state: "active" 0.0;
1116                inherit: "default" 0.0;
1117                rel1.offset: 0 1;
1118                rel2.offset: -1 0;
1119             }
1120          }
1121          part {
1122             name: "bt_min_foc";
1123             mouse_events: 0;
1124             clip_to: "buttons_foc";
1125             description {
1126                state: "default" 0.0;
1127                rel1.to: "bt_min";
1128                rel2.to: "bt_min";
1129                image.normal: "bd_button_min_focused.png";
1130             }
1131             description {
1132                state: "active" 0.0;
1133                inherit: "default" 0.0;
1134                rel1.offset: 0 1;
1135                rel2.offset: -1 0;
1136             }
1137          }
1138          part {
1139             name: "title_base";
1140             /* an invisible rect part/object used for
1141              * layout purposes */
1142             type: RECT;
1143             mouse_events: 0;
1144             description {
1145                state: "default" 0.0;
1146                visible: 0;
1147                rel1 {
1148                   relative: 1.0 0.0;
1149                   offset: 0 0;
1150                   to_x: "icon_area";
1151                }
1152                rel2 {
1153                   relative: 0.0 1.0;
1154                   offset: -3 4;
1155                   to_y: "e.text.title";
1156                   to_x: "bt_min";
1157                }
1158             }
1159          }
1160          part {
1161             name: "title_back";
1162             mouse_events: 0;
1163             description {
1164                state: "default" 0.0;
1165                visible: 0;
1166                rel1 {
1167                   to: "title_base";
1168                }
1169                rel2 {
1170                   to: "title_base";
1171                   relative: 1.0 0.0;
1172                }
1173                image {
1174                   normal: "bd_title_bg.png";
1175                   border: 7 7 2 7;
1176                }
1177                fill.smooth: 0;
1178             }
1179             description {
1180                state: "focused" 0.0;
1181                inherit: "default" 0.0;
1182                visible: 1;
1183                rel2 {
1184                   to: "title_base";
1185                   relative: 1.0 1.0;
1186                }
1187             }
1188          }
1189          part {
1190             name: "title2";
1191             /* this is interesting. it's another text part
1192              * that also displays the title text, but
1193              * normally is not visible. it is only made
1194              * visibile when the window becomes focused.
1195              * what is interesting is we tell it to source
1196              * the text content from another part - i.e.
1197              * the master "title" part which E sets the
1198              * text of. when that changes this part also
1199              * changes its text. this is a good way to
1200              * use multiple text objects for effects and
1201              * other things that can copy/mimic the content
1202              * of another part */
1203             type: TEXT;
1204             mouse_events: 0;
1205             scale: 1;
1206             effect: SOFT_SHADOW;
1207             /* different style to before - because its
1208              * focused */
1209             description {
1210                state: "default" 0.0;
1211                visible: 0;
1212                align: 0.0 1.0;
1213                rel1 {
1214                   to_x: "e.text.title";
1215                   to_y: "title_back";
1216                   relative: 0.0 1.0;
1217                   offset: -1 0;
1218                }
1219                rel2 {
1220                   to_x: "e.text.title";
1221                   to_y: "title_back";
1222                   relative: 1.0 1.0;
1223                   offset: 0 0;
1224                }
1225                color_class: "border_title_active";
1226                text {
1227                   text_source: "e.text.title";
1228                   /* and here is the magic. tell
1229                    * the text to be sourced from
1230                    * another part */
1231                   font: "Sans:style=Bold";
1232                   size: 10;
1233                   align: 0.0 0.0;
1234                   min: 0 1;
1235                   text_class: "title_bar";
1236                }
1237             }
1238             description {
1239                state: "focused" 0.0;
1240                inherit: "default" 0.0;
1241                visible: 1;
1242             }
1243          }
1244          part {
1245             name: "title_over";
1246             mouse_events: 0;
1247             description {
1248                state: "default" 0.0;
1249                visible: 0;
1250                rel1.to: "title_back";
1251                rel2.to: "title_back";
1252                image {
1253                   normal: "bd_title_over.png";
1254                   border: 7 7 2 7;
1255                }
1256                fill.smooth: 0;
1257             }
1258             description {
1259                state: "focused" 0.0;
1260                inherit: "default" 0.0;
1261                visible: 1;
1262             }
1263          }
1264          part {
1265             name: "bottom_clip";
1266             type: RECT;
1267             description {
1268                state: "default" 0.0;
1269                rel1.to: "bottom";
1270                rel2.to: "bottom";
1271                color: 255 255 255 255;
1272             }
1273          }
1274          part {
1275             name: "resize_b";
1276             mouse_events: 0;
1277             clip_to: "bottom_clip";
1278             description {
1279                state: "default" 0.0;
1280                min: 20 10;
1281                max: 20 10;
1282                rel1 {
1283                   to: "bottom";
1284                   relative: 0.5 0.0;
1285                   offset: 0 -10;
1286                }
1287                rel2 {
1288                   to: "bottom";
1289                   relative: 0.5 0.0;
1290                   offset: 0 -1;
1291                }
1292                image {
1293                   normal: "bd_resize_b.png";
1294                }
1295             }
1296             description {
1297                state: "past" 0.0;
1298                inherit: "default" 0.0;
1299                rel1 {
1300                   relative: 0.5 1.0;
1301                   offset: 0 0;
1302                }
1303                rel2 {
1304                   relative: 0.5 1.0;
1305                   offset: 0 9;
1306                }
1307             }
1308          }
1309          part {
1310             name: "e.swallow.client";
1311             /* this determines where the actual
1312              * client window will be placed in
1313              * the border design */
1314             type: SWALLOW;
1315             description {
1316                state: "default" 0.0;
1317                rel1 {
1318                   relative: 0.0 1.0;
1319                   offset: 0 0;
1320                   to_y: "top";
1321                }
1322                rel2 {
1323                   relative: 1.0 0.0;
1324                   offset: -1 -1;
1325                   to_y: "bottom";
1326                }
1327             }
1328             description {
1329                state: "shaded" 0.0;
1330                inherit: "default" 0.0;
1331                rel2 {
1332                   relative: 1.0 1.0;
1333                   offset: -1 -1;
1334                   to_y: "bottom";
1335                }
1336             }
1337             description {
1338                state: "max" 0.0;
1339                inherit: "default" 0.0;
1340                rel1 {
1341                   relative: 0.0 1.0;
1342                   offset: 0 0;
1343                   to_y: "top";
1344                }
1345                rel2 {
1346                   relative: 1.0 1.0;
1347                   offset: -1 -1;
1348                   to_y: "bottom";
1349                }
1350             }
1351          }
1352          /* these transparent rect parts are used for catching events in a way
1353           * here objects for design don't affect the events. these parts
1354           * are named speciifcally because E has config listening for specific
1355           * signals (events) coming from these named parts and based on those
1356           * will perform certain actions. these are actually all configurable
1357           * by the user, so if they want, clicking the logical "titlebar" could
1358           * close the window, not move it, and so on. the user decides this.
1359           * the theme designer simply indicates the "logcal" use of the theme
1360           * elements they have created */
1361          part {
1362             name: "e.event.titlebar";
1363             type: RECT;
1364             description {
1365                state: "default" 0.0;
1366                rel1.to: "title_base";
1367                rel2.to: "title_base";
1368                color: 0 0 0 0;
1369             }
1370          }
1371          part {
1372             name: "e.event.resize.t";
1373             type: RECT;
1374             description {
1375                state: "default" 0.0;
1376                rel1 {
1377                   relative: 0.0 0.0;
1378                   offset: 0 0;
1379                }
1380                rel2 {
1381                   relative: 1.0 0.0;
1382                   offset: -1 3;
1383                }
1384                color: 0 0 0 0;
1385             }
1386             description {
1387                state: "shaded" 0.0;
1388                inherit: "default" 0.0;
1389                visible: 0;
1390             }
1391          }
1392          part {
1393             name: "e.event.resize.b";
1394             type: RECT;
1395             description {
1396                state: "default" 0.0;
1397                rel1 {
1398                   relative: 0.0 1.0;
1399                   offset: 0 -4;
1400                }
1401                rel2 {
1402                   relative: 1.0 1.0;
1403                   offset: -1 -1;
1404                }
1405                color: 0 0 0 0;
1406             }
1407             description {
1408                state: "shaded" 0.0;
1409                inherit: "default" 0.0;
1410                visible: 0;
1411             }
1412          }
1413          part {
1414             name: "e.event.resize.tl";
1415             type: RECT;
1416             description {
1417                state: "default" 0.0;
1418                rel1 {
1419                   relative: 0.0 0.0;
1420                   offset: 0 0;
1421                }
1422                rel2 {
1423                   relative: 0.0 0.0;
1424                   offset: 15 15;
1425                }
1426                color: 0 0 0 0;
1427             }
1428             description {
1429                state: "shaded" 0.0;
1430                inherit: "default" 0.0;
1431                visible: 0;
1432             }
1433          }
1434          part {
1435             name: "e.event.resize.tr";
1436             type: RECT;
1437             description {
1438                state: "default" 0.0;
1439                rel1 {
1440                   relative: 1.0 0.0;
1441                   offset: -16 0;
1442                }
1443                rel2 {
1444                   relative: 1.0 0.0;
1445                   offset: -1 15;
1446                }
1447                color: 0 0 0 0;
1448             }
1449             description {
1450                state: "shaded" 0.0;
1451                inherit: "default" 0.0;
1452                visible: 0;
1453             }
1454          }
1455          part {
1456             name: "e.event.resize.bl";
1457             type: RECT;
1458             description {
1459                state: "default" 0.0;
1460                rel1 {
1461                   relative: 0.0 1.0;
1462                   offset: 0 -16;
1463                }
1464                rel2 {
1465                   relative: 0.0 1.0;
1466                   offset: 15 -1;
1467                }
1468                color: 0 0 0 0;
1469             }
1470             description {
1471                state: "shaded" 0.0;
1472                inherit: "default" 0.0;
1473                visible: 0;
1474             }
1475          }
1476          part {
1477             name: "e.event.resize.br";
1478             type: RECT;
1479             description {
1480                state: "default" 0.0;
1481                rel1 {
1482                   relative: 1.0 1.0;
1483                   offset: -16 -16;
1484                }
1485                rel2 {
1486                   relative: 1.0 1.0;
1487                   offset: -1 -1;
1488                }
1489                color: 0 0 0 0;
1490             }
1491             description {
1492                state: "shaded" 0.0;
1493                inherit: "default" 0.0;
1494                visible: 0;
1495             }
1496          }
1497          part {
1498             name: "e.event.icon";
1499             type: RECT;
1500             description {
1501                state: "default" 0.0;
1502                rel1.to: "icon_area";
1503                rel2.to: "icon_area";
1504                color: 0 0 0 0;
1505             }
1506          }
1507          part {
1508             name: "e.event.close";
1509             type: RECT;
1510             description {
1511                state: "default" 0.0;
1512                rel1.to: "bt_close";
1513                rel2.to: "bt_close";
1514                color: 0 0 0 0;
1515             }
1516          }
1517          part {
1518             name: "e.event.minimize";
1519             type: RECT;
1520             description {
1521                state: "default" 0.0;
1522                rel1.to: "bt_min";
1523                rel2.to: "bt_min";
1524                color: 0 0 0 0;
1525             }
1526          }
1527          part {
1528             name: "e.event.maximize";
1529             type: RECT;
1530             description {
1531                state: "default" 0.0;
1532                rel1.to: "bt_max";
1533                rel2.to: "bt_max";
1534                color: 0 0 0 0;
1535             }
1536          }
1537       }
1538       /* programs - these are basically snippets of simple logic to respond to
1539        * incoming signals (generated by signal emisions by code or events) */
1540       programs {
1541          program {
1542             name: "focus_in";
1543             /* name of the program. must be unique
1544              * within the list of programs attached
1545              * to a group of parts */
1546             signal: "e,state,focused";
1547             /* what signal triggers this program,
1548              * if any. this can also be a glob like
1549              * "mouse,down,*" for example. note
1550              * that globs are slower to match
1551              * and empty strings are literal matches
1552              * too */
1553             source: "e";
1554             /* the source of the signal - this must also match for
1555              * the program to be run */
1556             action: STATE_SET "focused" 0.0;
1557             /* the action the program will
1558              * perform. in this case
1559              * it will set the state to
1560              * "focused" @ value 0.0 */
1561             transition: LINEAR 0.2;
1562             /* the time for the transition of the
1563              * action - it's a linear interpolation
1564              * of states here over 0.2 seconds */
1565             target: "title_back";
1566             /* these are the targets for the action.
1567              * i.e. which parts will have their state
1568              * set to "focused" over 0.2 seconds */
1569             target: "title2";
1570             target: "title_over";
1571             target: "buttons_foc";
1572             target: "buttons_unfoc";
1573             target: "e.text.title";
1574          }
1575          program {
1576             name: "focus_out";
1577             /* this program is run when focus is
1578              * removed from a window border */
1579             signal: "e,state,unfocused";
1580             source: "e";
1581             action: STATE_SET "default" 0.0;
1582             transition: LINEAR 0.2;
1583             target: "title_back";
1584             target: "title2";
1585             target: "title_over";
1586             target: "buttons_foc";
1587             target: "buttons_unfoc";
1588             target: "e.text.title";
1589          }
1590          program {
1591             name: "urgent";
1592             /* this program is run when the border is
1593              * meant to display an "urgent" state
1594              * (the application has something
1595              * important to show the user) */
1596             signal: "e,state,urgent";
1597             source: "e";
1598             action: STATE_SET "visible" 0.0;
1599             transition: DECELERATE 0.5;
1600             /* instead of a linear transition
1601              * this will vary from state A to B
1602              * but slow down towards the end */
1603             target: "urgent";
1604             target: "urgent2";
1605             after: "urgent2";
1606             /* when this program and its transition are
1607              * finished then chain (run) the "urgent2"
1608              * program below. this way a series of actions
1609              * and trnasitions can be chained together one
1610              * after the other */
1611          }
1612          program {
1613             name: "urgent2";
1614             action: STATE_SET "faded" 0.0;
1615             transition: LINEAR 0.5;
1616             target: "urgent2";
1617             after: "urgent3";
1618          }
1619          program {
1620             name: "urgent3";
1621             action: STATE_SET "visible" 0.0;
1622             target: "urgent2";
1623             /* notice - no transition. when not specified
1624              * it is assumed that the action should happen
1625              * immediately with no transition over time */
1626             after: "urgent2";
1627          }
1628          program {
1629             name: "urgentw0";
1630             /* these ae a list of icon "wobble"
1631              * programs to indicate urgency */
1632             signal: "e,state,urgent";
1633             source: "e";
1634             action: STATE_SET "default" 0.0;
1635             transition: DECELERATE 0.1;
1636             target: "icon_area2";
1637             after: "urgentw1";
1638          }
1639          program {
1640             name: "urgentw1";
1641             action: STATE_SET "uw1" 0.0;
1642             transition: DECELERATE 0.1;
1643             target: "icon_area2";
1644             after: "urgentw2";
1645          }
1646          program {
1647             name: "urgentw2";
1648             action: STATE_SET "uw2" 0.0;
1649             target: "icon_area2";
1650             transition: DECELERATE 0.1;
1651             after: "urgentw3";
1652          }
1653          program {
1654             name: "urgentw3";
1655             action: STATE_SET "uw3" 0.0;
1656             transition: DECELERATE 0.1;
1657             target: "icon_area2";
1658             after: "urgentw4";
1659          }
1660          program {
1661             name: "urgentw4";
1662             action: STATE_SET "uw4" 0.0;
1663             transition: DECELERATE 0.1;
1664             target: "icon_area2";
1665             after: "urgentw0";
1666          }
1667          program {
1668             name: "not_urgent";
1669             /* run when the window stops being
1670              * urgent */
1671             signal: "e,state,not_urgent";
1672             source: "e";
1673             action: ACTION_STOP;
1674             /* this action will stop other running programs
1675              * that are currently active. the programs to
1676              * stop are named in the targets below */
1677             target: "urgentw0";
1678             target: "urgentw1";
1679             target: "urgentw2";
1680             target: "urgentw3";
1681             target: "urgentw4";
1682             target: "urgent";
1683             target: "urgent2";
1684             target: "urgent3";
1685             after: "not_urgent2";
1686          }
1687          program {
1688             name: "not_urgent2";
1689             action: STATE_SET "default" 0.0;
1690             target: "urgent";
1691             target: "urgent2";
1692             target: "icon_area2";
1693          }
1694          program {
1695             name: "hung";
1696             /* run when an app is known to be hung/not
1697              * responding to ping requests */
1698             signal: "e,state,hung";
1699             source: "e";
1700             action: STATE_SET "shrunk" 0.0;
1701             target: "e.swallow.icon";
1702             transition: DECELERATE 0.5;
1703          }
1704          program {
1705             name: "unhung";
1706             /* when an app was hung but has started to
1707              * respond again, this is run */
1708             signal: "e,state,unhung";
1709             source: "e";
1710             action: ACTION_STOP;
1711             target: "busy_anim";
1712          }
1713          program {
1714             name: "unhung2";
1715             signal: "e,state,unhung";
1716             source: "e";
1717             action: STATE_SET "default" 0.0;
1718             target: "e.swallow.icon";
1719             target: "busy";
1720             transition: ACCELERATE 0.5;
1721          }
1722          program {
1723             name: "busy_anim";
1724             /* multiple programs can be triggered
1725              * from the same signals so this is
1726              * also run when an app becomes "hung" */
1727             signal: "e,state,hung";
1728             source: "e";
1729             action: STATE_SET "visible" 0.0;
1730             transition: LINEAR 0.3333;
1731             target: "busy";
1732             after: "busy_anim";
1733          }
1734          // don't have states/anim for a generic iconify action
1735          //    program { name: "xx";
1736          //       signal: "e,action,iconify";
1737          //       source: "e";
1738          //    }
1739          // don't have states/anim for a generic uniconify action
1740          //    program { name: "xx";
1741          //       signal: "e,action,uniconify";
1742          //       source: "e";
1743          //    }
1744          // don't have states/anim for a generic maximize action
1745          //    program { name: "xx";
1746          //       signal: "e,action,maximize";
1747          //       source: "e";
1748          //    }
1749          // don't have states/anim for a generic unmaximize action
1750          //    program { name: "xx";
1751          //       signal: "e,action,unmaximize";
1752          //       source: "e";
1753          //    }
1754          program {
1755             name: "max_full";
1756             /* run on fullscreen maximize */
1757             signal: "e,action,maximize,fullscreen";
1758             source: "e";
1759             action: STATE_SET "max" 0.0;
1760             target: "bottom";
1761             target: "e.swallow.client";
1762          }
1763          program {
1764             name: "unmax_full";
1765             /* run on unmaximize from fullscreen */
1766             signal: "e,action,unmaximize,fullscreen";
1767             source: "e";
1768             action: STATE_SET "default" 0.0;
1769             target: "bottom";
1770             target: "e.swallow.client";
1771          }
1772          // don't have any animation or stat change to do at the start of shading
1773          //    program { name: "xx";
1774          //       signal: "e,state,shading";
1775          //       source: "e";
1776          //    }
1777          program {
1778             name: "shade_end";
1779             /* run when the window finishes its
1780              * shading animation */
1781             signal: "e,state,shaded";
1782             source: "e";
1783             action: STATE_SET "shaded" 0.0;
1784             target: "bottom";
1785             target: "e.swallow.client";
1786             target: "e.event.resize.tl";
1787             target: "e.event.resize.tr";
1788             target: "e.event.resize.bl";
1789             target: "e.event.resize.br";
1790             target: "e.event.resize.t";
1791             target: "e.event.resize.b";
1792          }
1793          program {
1794             name: "unshade_start";
1795             /* run when the window starts
1796              * unshading itself */
1797             signal: "e,state,unshading";
1798             source: "e";
1799             action: STATE_SET "default" 0.0;
1800             target: "bottom";
1801             target: "e.swallow.client";
1802             target: "e.event.resize.tl";
1803             target: "e.event.resize.tr";
1804             target: "e.event.resize.bl";
1805             target: "e.event.resize.br";
1806             target: "e.event.resize.t";
1807             target: "e.event.resize.b";
1808          }
1809          // don't have any animation or stat change to do at the end of unshading
1810          //    program { name: "xx";
1811          //       signal: "e,state,unshaded";
1812          //       source: "e";
1813          //    }
1814          program {
1815             name: "resize_b_on";
1816             signal: "mouse,in";
1817             /* on mouse enter... */
1818             source: "e.event.resize.b";
1819             /* in this named part */
1820             action: ACTION_STOP;
1821             /* stop the following programs */
1822             target: "resize_b_on2";
1823             target: "resize_b_on3";
1824             after: "resize_b_on2";
1825             /* then run... */
1826          }
1827          program {
1828             name: "resize_b_on2";
1829             action: STATE_SET "default" 0.0;
1830             target: "resize_b";
1831             after: "resize_b_on3";
1832          }
1833          program {
1834             name: "resize_b_on3";
1835             action: STATE_SET "past" 0.0;
1836             transition: LINEAR 0.5;
1837             target: "resize_b";
1838             after: "resize_b_on2";
1839          }
1840          program {
1841             name: "resize_b_off";
1842             signal: "mouse,out";
1843             /* on mouse leave... */
1844             source: "e.event.resize.b";
1845             action: ACTION_STOP;
1846             target: "resize_b_on";
1847             target: "resize_b_on2";
1848             target: "resize_b_on3";
1849          }
1850          program {
1851             name: "icon_down";
1852             signal: "mouse,down,*";
1853             /* if any mouse button is pressed... */
1854             source: "e.event.icon";
1855             action: STATE_SET "active" 0.0;
1856             target: "icon_area";
1857          }
1858          program {
1859             name: "icon_up";
1860             signal: "mouse,up,*";
1861             /* if any mouse button is released... */
1862             source: "e.event.icon";
1863             action: STATE_SET "default" 0.0;
1864             target: "icon_area";
1865          }
1866          program {
1867             name: "bt_close_down";
1868             signal: "mouse,down,*";
1869             source: "e.event.close";
1870             action: STATE_SET "active" 0.0;
1871             target: "bt_close_unfoc";
1872             target: "bt_close_foc";
1873          }
1874          program {
1875             name: "bt_close_up";
1876             signal: "mouse,up,*";
1877             source: "e.event.close";
1878             action: STATE_SET "default" 0.0;
1879             target: "bt_close_unfoc";
1880             target: "bt_close_foc";
1881          }
1882          program {
1883             name: "bt_max_down";
1884             signal: "mouse,down,*";
1885             source: "e.event.maximize";
1886             action: STATE_SET "active" 0.0;
1887             target: "bt_max_unfoc";
1888             target: "bt_max_foc";
1889          }
1890          program {
1891             name: "bt_max_up";
1892             signal: "mouse,up,*";
1893             source: "e.event.maximize";
1894             action: STATE_SET "default" 0.0;
1895             target: "bt_max_unfoc";
1896             target: "bt_max_foc";
1897          }
1898          program {
1899             name: "bt_min_down";
1900             signal: "mouse,down,*";
1901             source: "e.event.minimize";
1902             action: STATE_SET "active" 0.0;
1903             target: "bt_min_unfoc";
1904             target: "bt_min_foc";
1905          }
1906          program {
1907             name: "bt_min_up";
1908             signal: "mouse,up,*";
1909             source: "e.event.minimize";
1910             action: STATE_SET "default" 0.0;
1911             target: "bt_min_unfoc";
1912             target: "bt_min_foc";
1913          }
1914       }
1915    }
1916    /* more border types - see comments in the default border for information */
1917    /*** SHAPED WINDOW BORDER ***/
1918    group {
1919       name: "e/widgets/border/shaped/border";
1920       images {
1921          image: "bd_top.png" COMP;
1922          image: "bd_top_hilight.png" COMP;
1923          image: "bd_bottom.png" COMP;
1924          image: "bd_title_bg.png" COMP;
1925          image: "bd_title_over.png" COMP;
1926          image: "bd_resize_b.png" COMP;
1927          image: "busy-1.png" COMP;
1928          image: "busy-2.png" COMP;
1929          image: "busy-3.png" COMP;
1930          image: "busy-4.png" COMP;
1931          image: "busy-5.png" COMP;
1932          image: "busy-6.png" COMP;
1933          image: "busy-7.png" COMP;
1934          image: "busy-8.png" COMP;
1935          image: "busy-9.png" COMP;
1936          image: "exclam.png" COMP;
1937          image: "bd_button_close_shadow.png" COMP;
1938          image: "bd_button_close_focused.png" COMP;
1939          image: "bd_button_close_unfocused.png" COMP;
1940          image: "bd_button_max_shadow.png" COMP;
1941          image: "bd_button_max_focused.png" COMP;
1942          image: "bd_button_max_unfocused.png" COMP;
1943          image: "bd_button_min_shadow.png" COMP;
1944          image: "bd_button_min_focused.png" COMP;
1945          image: "bd_button_min_unfocused.png" COMP;
1946       }
1947       data.item: "shaped" "1";
1948       parts {
1949          part {
1950             name: "top";
1951             mouse_events: 0;
1952             description {
1953                state: "default" 0.0;
1954                rel1 {
1955                   relative: 0.0 0.0;
1956                   offset: 0 0;
1957                }
1958                rel2 {
1959                   relative: 1.0 1.0;
1960                   offset: -1 -1;
1961                   to_y: "title_base";
1962                }
1963                color_class: "border_top";
1964                image {
1965                   normal: "bd_top.png";
1966                   border: 2 2 2 2;
1967                }
1968             }
1969          }
1970          part {
1971             name: "bottom";
1972             mouse_events: 0;
1973             description {
1974                state: "default" 0.0;
1975                rel1 {
1976                   relative: 0.0 1.0;
1977                   offset: 0 -4;
1978                }
1979                rel2 {
1980                   relative: 1.0 1.0;
1981                   offset: -1 -1;
1982                }
1983                color_class: "border_bottom";
1984                image {
1985                   normal: "bd_bottom.png";
1986                   border: 2 2 0 0;
1987                }
1988             }
1989             description {
1990                state: "shaded" 0.0;
1991                inherit: "default" 0.0;
1992                visible: 0;
1993             }
1994             description {
1995                state: "max" 0.0;
1996                inherit: "default" 0.0;
1997                visible: 0;
1998             }
1999          }
2000          part {
2001             name: "icon_area";
2002             type: RECT;
2003             description {
2004                state: "default" 0.0;
2005                visible: 0;
2006                align: 0.0 0.5;
2007                aspect: 1.0 1.0;
2008                aspect_preference: VERTICAL;
2009                rel1 {
2010                   relative: 0.0 0.0;
2011                   offset: 2 2;
2012                }
2013                rel2 {
2014                   relative: 0.0 1.0;
2015                   offset: 2 -3;
2016                   to_y: "title_base";
2017                }
2018             }
2019             description {
2020                state: "active" 0.0;
2021                inherit: "default" 0.0;
2022                rel1 {
2023                   offset: 2 3;
2024                }
2025                rel2 {
2026                   offset: 2 -2;
2027                }
2028             }
2029          }
2030          part {
2031             name: "icon_area2";
2032             type: RECT;
2033             description {
2034                state: "default" 0.0;
2035                visible: 0;
2036                rel1.to: "icon_area";
2037                rel2.to: "icon_area";
2038             }
2039             description {
2040                state: "uw0" 0.0;
2041                inherit: "default" 0.0;
2042                rel1.offset: -3 -2;
2043                rel2.offset: -4 -3;
2044             }
2045             description {
2046                state: "uw1" 0.0;
2047                inherit: "default" 0.0;
2048                rel1.offset: 5 -2;
2049                rel2.offset: 4 -3;
2050             }
2051             description {
2052                state: "uw2" 0.0;
2053                inherit: "default" 0.0;
2054                rel1.offset: -1 4;
2055                rel2.offset: -2 3;
2056             }
2057             description {
2058                state: "uw3" 0.0;
2059                inherit: "default" 0.0;
2060                rel1.offset: -2 -1;
2061                rel2.offset: -3 -2;
2062             }
2063             description {
2064                state: "uw4" 0.0;
2065                inherit: "default" 0.0;
2066                rel1.offset: -4 1;
2067                rel2.offset: -5 0;
2068             }
2069          }
2070          part {
2071             name: "busy";
2072             mouse_events: 0;
2073             description {
2074                state: "default" 0.0;
2075                visible: 0;
2076                color: 255 255 255 0;
2077                max: 32 32;
2078                aspect: 1.0 1.0;
2079                aspect_preference: BOTH;
2080                rel1.to: "icon_area";
2081                rel2.to: "icon_area";
2082                image {
2083                   tween: "busy-1.png";
2084                   tween: "busy-2.png";
2085                   tween: "busy-3.png";
2086                   tween: "busy-4.png";
2087                   tween: "busy-5.png";
2088                   tween: "busy-6.png";
2089                   tween: "busy-7.png";
2090                   tween: "busy-8.png";
2091                   normal: "busy-9.png";
2092                }
2093             }
2094             description {
2095                state: "visible" 0.0;
2096                inherit: "default" 0.0;
2097                visible: 1;
2098                color: 255 255 255 255;
2099             }
2100          }
2101          part {
2102             name: "e.swallow.icon";
2103             type: SWALLOW;
2104             description {
2105                state: "default" 0.0;
2106                aspect: 1.0 1.0;
2107                aspect_preference: BOTH;
2108                rel1.to: "icon_area2";
2109                rel2.to: "icon_area2";
2110             }
2111             description {
2112                state: "shrunk" 0.0;
2113                inherit: "default" 0.0;
2114                rel1.relative: 0.3 0.3;
2115                rel2.relative: 0.7 0.7;
2116             }
2117          }
2118          part {
2119             name: "urgent";
2120             mouse_events: 0;
2121             description {
2122                state: "default" 0.0;
2123                visible: 0;
2124                color: 255 255 255 0;
2125                aspect: 1.0 1.0;
2126                aspect_preference: BOTH;
2127                rel1.to: "icon_area";
2128                rel2.to: "icon_area";
2129                image.normal: "exclam.png";
2130             }
2131             description {
2132                state: "visible" 0.0;
2133                inherit: "default" 0.0;
2134                visible: 1;
2135                color: 255 255 255 255;
2136             }
2137          }
2138          part {
2139             name: "urgent2";
2140             mouse_events: 0;
2141             description {
2142                state: "default" 0.0;
2143                visible: 0;
2144                color: 255 255 255 0;
2145                aspect: 1.0 1.0;
2146                aspect_preference: BOTH;
2147                rel1.to: "icon_area";
2148                rel2.to: "icon_area";
2149                image.normal: "exclam.png";
2150             }
2151             description {
2152                state: "visible" 0.0;
2153                inherit: "default" 0.0;
2154                visible: 1;
2155                color: 255 255 255 255;
2156             }
2157             description {
2158                state: "faded" 0.0;
2159                inherit: "default" 0.0;
2160                rel1.relative: -1.0 -1.0;
2161                rel2.relative: 2.0 2.0;
2162                visible: 1;
2163                color: 255 255 255 0;
2164             }
2165          }
2166          part {
2167             name: "e.text.title";
2168             type: TEXT;
2169             mouse_events: 0;
2170             scale: 1;
2171             description {
2172                state: "default" 0.0;
2173                visible: 1;
2174                align: 0.0 0.0;
2175                rel1 {
2176                   relative: 1.0 0.0;
2177                   offset: 9 2;
2178                   to_x: "icon_area";
2179                }
2180                rel2 {
2181                   relative: 1.0 0.0;
2182                   offset: -8 2;
2183                   to_x: "title_base";
2184                }
2185                color_class: "border_title";
2186                text {
2187                   font: "Sans:style=Bold";
2188                   size: 10;
2189                   min: 0 1;
2190                   align: 0.0 0.0;
2191                   text_class: "title_bar";
2192                }
2193             }
2194             description {
2195                state: "focused" 0.0;
2196                inherit: "default" 0.0;
2197                visible: 0;
2198                color: 0 0 0 0;
2199             }
2200          }
2201          part {
2202             name: "bt_close";
2203             mouse_events: 0;
2204             description {
2205                state: "default" 0.0;
2206                align: 1.0 0.5;
2207                min: 22 22;
2208                max: 22 22;
2209                aspect: 1.0 1.0;
2210                aspect_preference: VERTICAL;
2211                rel1 {
2212                   relative: 1.0 0.0;
2213                   offset: -2 1;
2214                   to_x: "top";
2215                   to_y: "top";
2216                }
2217                rel2 {
2218                   relative: 1.0 1.0;
2219                   offset: -2 -2;
2220                   to_x: "top";
2221                   to_y: "top";
2222                }
2223                image.normal: "bd_button_close_shadow.png";
2224             }
2225          }
2226          part {
2227             name: "bt_max";
2228             mouse_events: 0;
2229             description {
2230                state: "default" 0.0;
2231                align: 1.0 0.5;
2232                min: 22 22;
2233                max: 22 22;
2234                aspect: 1.0 1.0;
2235                aspect_preference: VERTICAL;
2236                rel1 {
2237                   relative: 0.0 0.0;
2238                   offset: -2 1;
2239                   to_x: "bt_close";
2240                   to_y: "top";
2241                }
2242                rel2 {
2243                   relative: 0.0 1.0;
2244                   offset: -2 -2;
2245                   to_x: "bt_close";
2246                   to_y: "top";
2247                }
2248                image.normal: "bd_button_max_shadow.png";
2249             }
2250          }
2251          part {
2252             name: "bt_min";
2253             mouse_events: 0;
2254             description {
2255                state: "default" 0.0;
2256                align: 1.0 0.5;
2257                min: 22 22;
2258                max: 22 22;
2259                aspect: 1.0 1.0;
2260                aspect_preference: VERTICAL;
2261                rel1 {
2262                   relative: 0.0 0.0;
2263                   offset: -2 1;
2264                   to_x: "bt_max";
2265                   to_y: "top";
2266                }
2267                rel2 {
2268                   relative: 0.0 1.0;
2269                   offset: -2 -2;
2270                   to_x: "bt_max";
2271                   to_y: "top";
2272                }
2273                image.normal: "bd_button_min_shadow.png";
2274             }
2275          }
2276          part {
2277             name: "top_hilight";
2278             mouse_events: 0;
2279             description {
2280                state: "default" 0.0;
2281                rel1 {
2282                   relative: 0.0 0.0;
2283                   offset: 0 0;
2284                   to: "top";
2285                }
2286                rel2 {
2287                   relative: 1.0 0.5;
2288                   offset: -1 0;
2289                   to: "top";
2290                }
2291                color_class: "border_top_hilight";
2292                image {
2293                   normal: "bd_top_hilight.png";
2294                }
2295                fill.smooth: 0;
2296             }
2297          }
2298          part {
2299             name: "buttons_unfoc";
2300             type: RECT;
2301             description {
2302                state: "default" 0.0;
2303                visible: 1;
2304                color: 255 255 255 255;
2305             }
2306             description {
2307                state: "focused" 0.0;
2308                inherit: "default" 0.0;
2309                visible: 0;
2310                color: 255 255 255 0;
2311             }
2312          }
2313          part {
2314             name: "bt_close_unfoc";
2315             mouse_events: 0;
2316             clip_to: "buttons_unfoc";
2317             description {
2318                state: "default" 0.0;
2319                rel1.to: "bt_close";
2320                rel2.to: "bt_close";
2321                image.normal: "bd_button_close_unfocused.png";
2322             }
2323             description {
2324                state: "active" 0.0;
2325                inherit: "default" 0.0;
2326                rel1.offset: 0 1;
2327                rel2.offset: -1 0;
2328             }
2329          }
2330          part {
2331             name: "bt_max_unfoc";
2332             mouse_events: 0;
2333             clip_to: "buttons_unfoc";
2334             description {
2335                state: "default" 0.0;
2336                rel1.to: "bt_max";
2337                rel2.to: "bt_max";
2338                image.normal: "bd_button_max_unfocused.png";
2339             }
2340             description {
2341                state: "active" 0.0;
2342                inherit: "default" 0.0;
2343                rel1.offset: 0 1;
2344                rel2.offset: -1 0;
2345             }
2346          }
2347          part {
2348             name: "bt_min_unfoc";
2349             mouse_events: 0;
2350             clip_to: "buttons_unfoc";
2351             description {
2352                state: "default" 0.0;
2353                rel1.to: "bt_min";
2354                rel2.to: "bt_min";
2355                image.normal: "bd_button_min_unfocused.png";
2356             }
2357             description {
2358                state: "active" 0.0;
2359                inherit: "default" 0.0;
2360                rel1.offset: 0 1;
2361                rel2.offset: -1 0;
2362             }
2363          }
2364          part {
2365             name: "buttons_foc";
2366             type: RECT;
2367             description {
2368                state: "default" 0.0;
2369                visible: 0;
2370                color: 255 255 255 0;
2371             }
2372             description {
2373                state: "focused" 0.0;
2374                inherit: "default" 0.0;
2375                visible: 1;
2376                color: 255 255 255 255;
2377             }
2378          }
2379          part {
2380             name: "bt_close_foc";
2381             mouse_events: 0;
2382             clip_to: "buttons_foc";
2383             description {
2384                state: "default" 0.0;
2385                rel1.to: "bt_close";
2386                rel2.to: "bt_close";
2387                image.normal: "bd_button_close_focused.png";
2388             }
2389             description {
2390                state: "active" 0.0;
2391                inherit: "default" 0.0;
2392                rel1.offset: 0 1;
2393                rel2.offset: -1 0;
2394             }
2395          }
2396          part {
2397             name: "bt_max_foc";
2398             mouse_events: 0;
2399             clip_to: "buttons_foc";
2400             description {
2401                state: "default" 0.0;
2402                rel1.to: "bt_max";
2403                rel2.to: "bt_max";
2404                image.normal: "bd_button_max_focused.png";
2405             }
2406             description {
2407                state: "active" 0.0;
2408                inherit: "default" 0.0;
2409                rel1.offset: 0 1;
2410                rel2.offset: -1 0;
2411             }
2412          }
2413          part {
2414             name: "bt_min_foc";
2415             mouse_events: 0;
2416             clip_to: "buttons_foc";
2417             description {
2418                state: "default" 0.0;
2419                rel1.to: "bt_min";
2420                rel2.to: "bt_min";
2421                image.normal: "bd_button_min_focused.png";
2422             }
2423             description {
2424                state: "active" 0.0;
2425                inherit: "default" 0.0;
2426                rel1.offset: 0 1;
2427                rel2.offset: -1 0;
2428             }
2429          }
2430          part {
2431             name: "title_base";
2432             type: RECT;
2433             mouse_events: 0;
2434             description {
2435                state: "default" 0.0;
2436                visible: 0;
2437                rel1 {
2438                   relative: 1.0 0.0;
2439                   offset: 0 0;
2440                   to_x: "icon_area";
2441                }
2442                rel2 {
2443                   relative: 0.0 1.0;
2444                   offset: -3 4;
2445                   to_y: "e.text.title";
2446                   to_x: "bt_min";
2447                }
2448             }
2449          }
2450          part {
2451             name: "title_back";
2452             mouse_events: 0;
2453             description {
2454                state: "default" 0.0;
2455                visible: 0;
2456                rel1 {
2457                   to: "title_base";
2458                }
2459                rel2 {
2460                   to: "title_base";
2461                   relative: 1.0 0.0;
2462                }
2463                image {
2464                   normal: "bd_title_bg.png";
2465                   border: 7 7 2 7;
2466                }
2467                fill.smooth: 0;
2468             }
2469             description {
2470                state: "focused" 0.0;
2471                inherit: "default" 0.0;
2472                visible: 1;
2473                rel2 {
2474                   to: "title_base";
2475                   relative: 1.0 1.0;
2476                }
2477             }
2478          }
2479          part {
2480             name: "title2";
2481             type: TEXT;
2482             mouse_events: 0;
2483             scale: 1;
2484             effect: SOFT_SHADOW;
2485             description {
2486                state: "default" 0.0;
2487                visible: 0;
2488                align: 0.0 1.0;
2489                rel1 {
2490                   to_x: "e.text.title";
2491                   to_y: "title_back";
2492                   relative: 0.0 1.0;
2493                   offset: -1 0;
2494                }
2495                rel2 {
2496                   to_x: "e.text.title";
2497                   to_y: "title_back";
2498                   relative: 1.0 1.0;
2499                   offset: 0 1;
2500                }
2501                color_class: "border_title_active";
2502                text {
2503                   text_source: "e.text.title";
2504                   font: "Sans:style=Bold";
2505                   size: 10;
2506                   align: 0.0 0.0;
2507                   min: 0 1;
2508                   text_class: "title_bar";
2509                }
2510             }
2511             description {
2512                state: "focused" 0.0;
2513                inherit: "default" 0.0;
2514                visible: 1;
2515             }
2516          }
2517          part {
2518             name: "title_over";
2519             mouse_events: 0;
2520             description {
2521                state: "default" 0.0;
2522                visible: 0;
2523                rel1.to: "title_back";
2524                rel2.to: "title_back";
2525                image {
2526                   normal: "bd_title_over.png";
2527                   border: 7 7 2 7;
2528                }
2529                fill.smooth: 0;
2530             }
2531             description {
2532                state: "focused" 0.0;
2533                inherit: "default" 0.0;
2534                visible: 1;
2535             }
2536          }
2537          part {
2538             name: "bottom_clip";
2539             type: RECT;
2540             description {
2541                state: "default" 0.0;
2542                rel1.to: "bottom";
2543                rel2.to: "bottom";
2544                color: 255 255 255 255;
2545             }
2546          }
2547          part {
2548             name: "resize_b";
2549             mouse_events: 0;
2550             clip_to: "bottom_clip";
2551             description {
2552                state: "default" 0.0;
2553                min: 20 10;
2554                max: 20 10;
2555                rel1 {
2556                   to: "bottom";
2557                   relative: 0.5 0.0;
2558                   offset: 0 -10;
2559                }
2560                rel2 {
2561                   to: "bottom";
2562                   relative: 0.5 0.0;
2563                   offset: 0 -1;
2564                }
2565                image {
2566                   normal: "bd_resize_b.png";
2567                }
2568             }
2569             description {
2570                state: "past" 0.0;
2571                inherit: "default" 0.0;
2572                rel1 {
2573                   relative: 0.5 1.0;
2574                   offset: 0 0;
2575                }
2576                rel2 {
2577                   relative: 0.5 1.0;
2578                   offset: 0 9;
2579                }
2580             }
2581          }
2582          part {
2583             name: "e.swallow.client";
2584             type: SWALLOW;
2585             description {
2586                state: "default" 0.0;
2587                rel1 {
2588                   relative: 0.0 1.0;
2589                   offset: 0 0;
2590                   to_y: "top";
2591                }
2592                rel2 {
2593                   relative: 1.0 0.0;
2594                   offset: -1 -1;
2595                   to_y: "bottom";
2596                }
2597             }
2598             description {
2599                state: "shaded" 0.0;
2600                inherit: "default" 0.0;
2601                rel2 {
2602                   relative: 1.0 1.0;
2603                   offset: -1 -1;
2604                   to_y: "bottom";
2605                }
2606             }
2607             description {
2608                state: "max" 0.0;
2609                inherit: "default" 0.0;
2610                rel1 {
2611                   relative: 0.0 1.0;
2612                   offset: 0 0;
2613                   to_y: "top";
2614                }
2615                rel2 {
2616                   relative: 1.0 1.0;
2617                   offset: -1 -1;
2618                   to_y: "bottom";
2619                }
2620             }
2621          }
2622          part {
2623             name: "e.event.titlebar";
2624             type: RECT;
2625             description {
2626                state: "default" 0.0;
2627                rel1.to: "title_base";
2628                rel2.to: "title_base";
2629                color: 0 0 0 0;
2630             }
2631          }
2632          part {
2633             name: "e.event.resize.t";
2634             type: RECT;
2635             description {
2636                state: "default" 0.0;
2637                rel1 {
2638                   relative: 0.0 0.0;
2639                   offset: 0 0;
2640                }
2641                rel2 {
2642                   relative: 1.0 0.0;
2643                   offset: -1 3;
2644                }
2645                color: 0 0 0 0;
2646             }
2647             description {
2648                state: "shaded" 0.0;
2649                inherit: "default" 0.0;
2650                visible: 0;
2651             }
2652          }
2653          part {
2654             name: "e.event.resize.b";
2655             type: RECT;
2656             description {
2657                state: "default" 0.0;
2658                rel1 {
2659                   relative: 0.0 1.0;
2660                   offset: 0 -4;
2661                }
2662                rel2 {
2663                   relative: 1.0 1.0;
2664                   offset: -1 -1;
2665                }
2666                color: 0 0 0 0;
2667             }
2668             description {
2669                state: "shaded" 0.0;
2670                inherit: "default" 0.0;
2671                visible: 0;
2672             }
2673          }
2674          part {
2675             name: "e.event.resize.tl";
2676             type: RECT;
2677             description {
2678                state: "default" 0.0;
2679                rel1 {
2680                   relative: 0.0 0.0;
2681                   offset: 0 0;
2682                }
2683                rel2 {
2684                   relative: 0.0 0.0;
2685                   offset: 15 15;
2686                }
2687                color: 0 0 0 0;
2688             }
2689             description {
2690                state: "shaded" 0.0;
2691                inherit: "default" 0.0;
2692                visible: 0;
2693             }
2694          }
2695          part {
2696             name: "e.event.resize.tr";
2697             type: RECT;
2698             description {
2699                state: "default" 0.0;
2700                rel1 {
2701                   relative: 1.0 0.0;
2702                   offset: -16 0;
2703                }
2704                rel2 {
2705                   relative: 1.0 0.0;
2706                   offset: -1 15;
2707                }
2708                color: 0 0 0 0;
2709             }
2710             description {
2711                state: "shaded" 0.0;
2712                inherit: "default" 0.0;
2713                visible: 0;
2714             }
2715          }
2716          part {
2717             name: "e.event.resize.bl";
2718             type: RECT;
2719             description {
2720                state: "default" 0.0;
2721                rel1 {
2722                   relative: 0.0 1.0;
2723                   offset: 0 -16;
2724                }
2725                rel2 {
2726                   relative: 0.0 1.0;
2727                   offset: 15 -1;
2728                }
2729                color: 0 0 0 0;
2730             }
2731             description {
2732                state: "shaded" 0.0;
2733                inherit: "default" 0.0;
2734                visible: 0;
2735             }
2736          }
2737          part {
2738             name: "e.event.resize.br";
2739             type: RECT;
2740             description {
2741                state: "default" 0.0;
2742                rel1 {
2743                   relative: 1.0 1.0;
2744                   offset: -16 -16;
2745                }
2746                rel2 {
2747                   relative: 1.0 1.0;
2748                   offset: -1 -1;
2749                }
2750                color: 0 0 0 0;
2751             }
2752             description {
2753                state: "shaded" 0.0;
2754                inherit: "default" 0.0;
2755                visible: 0;
2756             }
2757          }
2758          part {
2759             name: "e.event.icon";
2760             type: RECT;
2761             description {
2762                state: "default" 0.0;
2763                rel1.to: "icon_area";
2764                rel2.to: "icon_area";
2765                color: 0 0 0 0;
2766             }
2767          }
2768          part {
2769             name: "e.event.close";
2770             type: RECT;
2771             description {
2772                state: "default" 0.0;
2773                rel1.to: "bt_close";
2774                rel2.to: "bt_close";
2775                color: 0 0 0 0;
2776             }
2777          }
2778          part {
2779             name: "e.event.minimize";
2780             type: RECT;
2781             description {
2782                state: "default" 0.0;
2783                rel1.to: "bt_min";
2784                rel2.to: "bt_min";
2785                color: 0 0 0 0;
2786             }
2787          }
2788          part {
2789             name: "e.event.maximize";
2790             type: RECT;
2791             description {
2792                state: "default" 0.0;
2793                rel1.to: "bt_max";
2794                rel2.to: "bt_max";
2795                color: 0 0 0 0;
2796             }
2797          }
2798       }
2799       programs {
2800          program {
2801             name: "focus_in";
2802             signal: "e,state,focused";
2803             source: "e";
2804             action: STATE_SET "focused" 0.0;
2805             transition: LINEAR 0.2;
2806             target: "title_back";
2807             target: "title2";
2808             target: "title_over";
2809             target: "buttons_foc";
2810             target: "buttons_unfoc";
2811             target: "e.text.title";
2812          }
2813          program {
2814             name: "focus_out";
2815             signal: "e,state,unfocused";
2816             source: "e";
2817             action: STATE_SET "default" 0.0;
2818             transition: LINEAR 0.2;
2819             target: "title_back";
2820             target: "title2";
2821             target: "title_over";
2822             target: "buttons_foc";
2823             target: "buttons_unfoc";
2824             target: "e.text.title";
2825          }
2826          program {
2827             name: "urgent";
2828             signal: "e,state,urgent";
2829             source: "e";
2830             action: STATE_SET "visible" 0.0;
2831             target: "urgent";
2832             target: "urgent2";
2833             transition: DECELERATE 0.5;
2834             after: "urgent2";
2835          }
2836          program {
2837             name: "urgent2";
2838             action: STATE_SET "faded" 0.0;
2839             target: "urgent2";
2840             transition: LINEAR 0.5;
2841             after: "urgent3";
2842          }
2843          program {
2844             name: "urgent3";
2845             action: STATE_SET "visible" 0.0;
2846             target: "urgent2";
2847             after: "urgent2";
2848          }
2849          program {
2850             name: "urgentw0";
2851             signal: "e,state,urgent";
2852             source: "e";
2853             action: STATE_SET "default" 0.0;
2854             target: "icon_area2";
2855             transition: DECELERATE 0.1;
2856             after: "urgentw1";
2857          }
2858          program {
2859             name: "urgentw1";
2860             action: STATE_SET "uw1" 0.0;
2861             target: "icon_area2";
2862             transition: DECELERATE 0.1;
2863             after: "urgentw2";
2864          }
2865          program {
2866             name: "urgentw2";
2867             action: STATE_SET "uw2" 0.0;
2868             target: "icon_area2";
2869             transition: DECELERATE 0.1;
2870             after: "urgentw3";
2871          }
2872          program {
2873             name: "urgentw3";
2874             action: STATE_SET "uw3" 0.0;
2875             target: "icon_area2";
2876             transition: DECELERATE 0.1;
2877             after: "urgentw4";
2878          }
2879          program {
2880             name: "urgentw4";
2881             action: STATE_SET "uw4" 0.0;
2882             target: "icon_area2";
2883             transition: DECELERATE 0.1;
2884             after: "urgentw0";
2885          }
2886          program {
2887             name: "not_urgent";
2888             signal: "e,state,not_urgent";
2889             source: "e";
2890             action: ACTION_STOP;
2891             target: "urgentw0";
2892             target: "urgentw1";
2893             target: "urgentw2";
2894             target: "urgentw3";
2895             target: "urgentw4";
2896             target: "urgent";
2897             target: "urgent2";
2898             target: "urgent3";
2899             after: "not_urgent2";
2900          }
2901          program {
2902             name: "not_urgent2";
2903             action: STATE_SET "default" 0.0;
2904             target: "urgent";
2905             target: "urgent2";
2906             target: "icon_area2";
2907          }
2908          program {
2909             name: "hung";
2910             signal: "e,state,hung";
2911             source: "e";
2912             /* FIXME: */
2913             action: STATE_SET "shrunk" 0.0;
2914             target: "e.swallow.icon";
2915             transition: DECELERATE 0.5;
2916          }
2917          program {
2918             name: "unhung";
2919             signal: "e,state,unhung";
2920             source: "e";
2921             /* FIXME: */
2922             action: ACTION_STOP;
2923             target: "busy_anim";
2924          }
2925          program {
2926             name: "unhung2";
2927             signal: "e,state,unhung";
2928             source: "e";
2929             /* FIXME: */
2930             action: STATE_SET "default" 0.0;
2931             target: "e.swallow.icon";
2932             target: "busy";
2933             transition: ACCELERATE 0.5;
2934          }
2935          program {
2936             name: "busy_anim";
2937             signal: "e,state,hung";
2938             source: "e";
2939             action: STATE_SET "visible" 0.0;
2940             transition: LINEAR 0.3333;
2941             target: "busy";
2942             after: "busy_anim";
2943          }
2944          program {
2945             name: "max_full";
2946             signal: "e,action,maximize,fullscreen";
2947             source: "e";
2948             action: STATE_SET "max" 0.0;
2949             target: "bottom";
2950             target: "e.swallow.client";
2951          }
2952          program {
2953             name: "unmax_full";
2954             signal: "e,action,unmaximize,fullscreen";
2955             source: "e";
2956             action: STATE_SET "default" 0.0;
2957             target: "bottom";
2958             target: "e.swallow.client";
2959          }
2960          program {
2961             name: "shade_end";
2962             signal: "e,state,shaded";
2963             source: "e";
2964             action: STATE_SET "shaded" 0.0;
2965             target: "bottom";
2966             target: "e.swallow.client";
2967             target: "e.event.resize.tl";
2968             target: "e.event.resize.tr";
2969             target: "e.event.resize.bl";
2970             target: "e.event.resize.br";
2971             target: "e.event.resize.t";
2972             target: "e.event.resize.b";
2973          }
2974          program {
2975             name: "unshade_start";
2976             signal: "e,state,unshading";
2977             source: "e";
2978             action: STATE_SET "default" 0.0;
2979             target: "bottom";
2980             target: "e.swallow.client";
2981             target: "e.event.resize.tl";
2982             target: "e.event.resize.tr";
2983             target: "e.event.resize.bl";
2984             target: "e.event.resize.br";
2985             target: "e.event.resize.t";
2986             target: "e.event.resize.b";
2987          }
2988          program {
2989             name: "resize_b_on";
2990             signal: "mouse,in";
2991             source: "e.event.resize.b";
2992             action: ACTION_STOP;
2993             target: "resize_b_on2";
2994             target: "resize_b_on3";
2995             after: "resize_b_on2";
2996          }
2997          program {
2998             name: "resize_b_on2";
2999             action: STATE_SET "default" 0.0;
3000             target: "resize_b";
3001             after: "resize_b_on3";
3002          }
3003          program {
3004             name: "resize_b_on3";
3005             action: STATE_SET "past" 0.0;
3006             transition: LINEAR 0.5;
3007             target: "resize_b";
3008             after: "resize_b_on2";
3009          }
3010          program {
3011             name: "resize_b_off";
3012             signal: "mouse,out";
3013             source: "e.event.resize.b";
3014             action: ACTION_STOP;
3015             target: "resize_b_on";
3016             target: "resize_b_on2";
3017             target: "resize_b_on3";
3018          }
3019          program {
3020             name: "icon_down";
3021             signal: "mouse,down,*";
3022             source: "e.event.icon";
3023             action: STATE_SET "active" 0.0;
3024             target: "icon_area";
3025          }
3026          program {
3027             name: "icon_up";
3028             signal: "mouse,up,*";
3029             source: "e.event.icon";
3030             action: STATE_SET "default" 0.0;
3031             target: "icon_area";
3032          }
3033          program {
3034             name: "bt_close_down";
3035             signal: "mouse,down,*";
3036             source: "e.event.close";
3037             action: STATE_SET "active" 0.0;
3038             target: "bt_close_unfoc";
3039             target: "bt_close_foc";
3040          }
3041          program {
3042             name: "bt_close_up";
3043             signal: "mouse,up,*";
3044             source: "e.event.close";
3045             action: STATE_SET "default" 0.0;
3046             target: "bt_close_unfoc";
3047             target: "bt_close_foc";
3048          }
3049          program {
3050             name: "bt_max_down";
3051             signal: "mouse,down,*";
3052             source: "e.event.maximize";
3053             action: STATE_SET "active" 0.0;
3054             target: "bt_max_unfoc";
3055             target: "bt_max_foc";
3056          }
3057          program {
3058             name: "bt_max_up";
3059             signal: "mouse,up,*";
3060             source: "e.event.maximize";
3061             action: STATE_SET "default" 0.0;
3062             target: "bt_max_unfoc";
3063             target: "bt_max_foc";
3064          }
3065          program {
3066             name: "bt_min_down";
3067             signal: "mouse,down,*";
3068             source: "e.event.minimize";
3069             action: STATE_SET "active" 0.0;
3070             target: "bt_min_unfoc";
3071             target: "bt_min_foc";
3072          }
3073          program {
3074             name: "bt_min_up";
3075             signal: "mouse,up,*";
3076             source: "e.event.minimize";
3077             action: STATE_SET "default" 0.0;
3078             target: "bt_min_unfoc";
3079             target: "bt_min_foc";
3080          }
3081       }
3082    }
3083    /*** NORESIZE WINDOW BORDER ***/
3084    group {
3085       name: "e/widgets/border/noresize/border";
3086       images {
3087          image: "bd_top.png" COMP;
3088          image: "bd_top_hilight.png" COMP;
3089          image: "bd_title_bg.png" COMP;
3090          image: "bd_title_over.png" COMP;
3091          image: "busy-1.png" COMP;
3092          image: "busy-2.png" COMP;
3093          image: "busy-3.png" COMP;
3094          image: "busy-4.png" COMP;
3095          image: "busy-5.png" COMP;
3096          image: "busy-6.png" COMP;
3097          image: "busy-7.png" COMP;
3098          image: "busy-8.png" COMP;
3099          image: "busy-9.png" COMP;
3100          image: "exclam.png" COMP;
3101          image: "bd_button_close_shadow.png" COMP;
3102          image: "bd_button_close_focused.png" COMP;
3103          image: "bd_button_close_unfocused.png" COMP;
3104          image: "bd_button_max_shadow.png" COMP;
3105          image: "bd_button_max_focused.png" COMP;
3106          image: "bd_button_max_unfocused.png" COMP;
3107          image: "bd_button_min_shadow.png" COMP;
3108          image: "bd_button_min_focused.png" COMP;
3109          image: "bd_button_min_unfocused.png" COMP;
3110       }
3111       parts {
3112          part {
3113             name: "top";
3114             mouse_events: 0;
3115             description {
3116                state: "default" 0.0;
3117                rel1 {
3118                   relative: 0.0 0.0;
3119                   offset: 0 0;
3120                }
3121                rel2 {
3122                   relative: 1.0 1.0;
3123                   offset: -1 -1;
3124                   to_y: "title_base";
3125                }
3126                color_class: "border_top";
3127                image {
3128                   normal: "bd_top.png";
3129                   border: 2 2 2 2;
3130                }
3131             }
3132          }
3133          part {
3134             name: "icon_area";
3135             type: RECT;
3136             description {
3137                state: "default" 0.0;
3138                visible: 0;
3139                align: 0.0 0.5;
3140                aspect: 1.0 1.0;
3141                aspect_preference: VERTICAL;
3142                rel1 {
3143                   relative: 0.0 0.0;
3144                   offset: 2 2;
3145                }
3146                rel2 {
3147                   relative: 0.0 1.0;
3148                   offset: 2 -3;
3149                   to_y: "title_base";
3150                }
3151             }
3152             description {
3153                state: "active" 0.0;
3154                inherit: "default" 0.0;
3155                rel1 {
3156                   offset: 2 3;
3157                }
3158                rel2 {
3159                   offset: 2 -2;
3160                }
3161             }
3162          }
3163          part {
3164             name: "icon_area2";
3165             type: RECT;
3166             description {
3167                state: "default" 0.0;
3168                visible: 0;
3169                rel1.to: "icon_area";
3170                rel2.to: "icon_area";
3171             }
3172             description {
3173                state: "uw0" 0.0;
3174                inherit: "default" 0.0;
3175                rel1.offset: -3 -2;
3176                rel2.offset: -4 -3;
3177             }
3178             description {
3179                state: "uw1" 0.0;
3180                inherit: "default" 0.0;
3181                rel1.offset: 5 -2;
3182                rel2.offset: 4 -3;
3183             }
3184             description {
3185                state: "uw2" 0.0;
3186                inherit: "default" 0.0;
3187                rel1.offset: -1 4;
3188                rel2.offset: -2 3;
3189             }
3190             description {
3191                state: "uw3" 0.0;
3192                inherit: "default" 0.0;
3193                rel1.offset: -2 -1;
3194                rel2.offset: -3 -2;
3195             }
3196             description {
3197                state: "uw4" 0.0;
3198                inherit: "default" 0.0;
3199                rel1.offset: -4 1;
3200                rel2.offset: -5 0;
3201             }
3202          }
3203          part {
3204             name: "busy";
3205             mouse_events: 0;
3206             description {
3207                state: "default" 0.0;
3208                visible: 0;
3209                color: 255 255 255 0;
3210                max: 32 32;
3211                aspect: 1.0 1.0;
3212                aspect_preference: BOTH;
3213                rel1.to: "icon_area";
3214                rel2.to: "icon_area";
3215                image {
3216                   tween: "busy-1.png";
3217                   tween: "busy-2.png";
3218                   tween: "busy-3.png";
3219                   tween: "busy-4.png";
3220                   tween: "busy-5.png";
3221                   tween: "busy-6.png";
3222                   tween: "busy-7.png";
3223                   tween: "busy-8.png";
3224                   normal: "busy-9.png";
3225                }
3226             }
3227             description {
3228                state: "visible" 0.0;
3229                inherit: "default" 0.0;
3230                visible: 1;
3231                color: 255 255 255 255;
3232             }
3233          }
3234          part {
3235             name: "e.swallow.icon";
3236             type: SWALLOW;
3237             description {
3238                state: "default" 0.0;
3239                aspect: 1.0 1.0;
3240                aspect_preference: BOTH;
3241                rel1.to: "icon_area2";
3242                rel2.to: "icon_area2";
3243             }
3244             description {
3245                state: "shrunk" 0.0;
3246                inherit: "default" 0.0;
3247                rel1.relative: 0.3 0.3;
3248                rel2.relative: 0.7 0.7;
3249             }
3250          }
3251          part {
3252             name: "urgent";
3253             mouse_events: 0;
3254             description {
3255                state: "default" 0.0;
3256                visible: 0;
3257                color: 255 255 255 0;
3258                aspect: 1.0 1.0;
3259                aspect_preference: BOTH;
3260                rel1.to: "icon_area";
3261                rel2.to: "icon_area";
3262                image.normal: "exclam.png";
3263             }
3264             description {
3265                state: "visible" 0.0;
3266                inherit: "default" 0.0;
3267                visible: 1;
3268                color: 255 255 255 255;
3269             }
3270          }
3271          part {
3272             name: "urgent2";
3273             mouse_events: 0;
3274             description {
3275                state: "default" 0.0;
3276                visible: 0;
3277                color: 255 255 255 0;
3278                aspect: 1.0 1.0;
3279                aspect_preference: BOTH;
3280                rel1.to: "icon_area";
3281                rel2.to: "icon_area";
3282                image.normal: "exclam.png";
3283             }
3284             description {
3285                state: "visible" 0.0;
3286                inherit: "default" 0.0;
3287                visible: 1;
3288                color: 255 255 255 255;
3289             }
3290             description {
3291                state: "faded" 0.0;
3292                inherit: "default" 0.0;
3293                rel1.relative: -1.0 -1.0;
3294                rel2.relative: 2.0 2.0;
3295                visible: 1;
3296                color: 255 255 255 0;
3297             }
3298          }
3299          part {
3300             name: "e.text.title";
3301             type: TEXT;
3302             mouse_events: 0;
3303             scale: 1;
3304             description {
3305                state: "default" 0.0;
3306                visible: 1;
3307                align: 0.0 0.0;
3308                rel1 {
3309                   relative: 1.0 0.0;
3310                   offset: 9 2;
3311                   to_x: "icon_area";
3312                }
3313                rel2 {
3314                   relative: 1.0 0.0;
3315                   offset: -8 2;
3316                   to_x: "title_base";
3317                }
3318                color_class: "border_title";
3319                text {
3320                   font: "Sans:style=Bold";
3321                   size: 10;
3322                   min: 0 1;
3323                   align: 0.0 0.0;
3324                   text_class: "title_bar";
3325                }
3326             }
3327             description {
3328                state: "focused" 0.0;
3329                inherit: "default" 0.0;
3330                visible: 0;
3331                color: 0 0 0 0;
3332             }
3333          }
3334          part {
3335             name: "bt_close";
3336             mouse_events: 0;
3337             description {
3338                state: "default" 0.0;
3339                align: 1.0 0.5;
3340                min: 22 22;
3341                max: 22 22;
3342                aspect: 1.0 1.0;
3343                aspect_preference: VERTICAL;
3344                rel1 {
3345                   relative: 1.0 0.0;
3346                   offset: -2 1;
3347                   to_x: "top";
3348                   to_y: "top";
3349                }
3350                rel2 {
3351                   relative: 1.0 1.0;
3352                   offset: -2 -2;
3353                   to_x: "top";
3354                   to_y: "top";
3355                }
3356                image.normal: "bd_button_close_shadow.png";
3357             }
3358          }
3359          part {
3360             name: "bt_max";
3361             mouse_events: 0;
3362             description {
3363                state: "default" 0.0;
3364                align: 1.0 0.5;
3365                min: 22 22;
3366                max: 22 22;
3367                aspect: 1.0 1.0;
3368                aspect_preference: VERTICAL;
3369                rel1 {
3370                   relative: 0.0 0.0;
3371                   offset: -2 1;
3372                   to_x: "bt_close";
3373                   to_y: "top";
3374                }
3375                rel2 {
3376                   relative: 0.0 1.0;
3377                   offset: -2 -2;
3378                   to_x: "bt_close";
3379                   to_y: "top";
3380                }
3381                image.normal: "bd_button_max_shadow.png";
3382             }
3383          }
3384          part {
3385             name: "bt_min";
3386             mouse_events: 0;
3387             description {
3388                state: "default" 0.0;
3389                align: 1.0 0.5;
3390                min: 22 22;
3391                max: 22 22;
3392                aspect: 1.0 1.0;
3393                aspect_preference: VERTICAL;
3394                rel1 {
3395                   relative: 0.0 0.0;
3396                   offset: -2 1;
3397                   to_x: "bt_max";
3398                   to_y: "top";
3399                }
3400                rel2 {
3401                   relative: 0.0 1.0;
3402                   offset: -2 -2;
3403                   to_x: "bt_max";
3404                   to_y: "top";
3405                }
3406                image.normal: "bd_button_min_shadow.png";
3407             }
3408          }
3409          part {
3410             name: "top_hilight";
3411             mouse_events: 0;
3412             description {
3413                state: "default" 0.0;
3414                rel1 {
3415                   relative: 0.0 0.0;
3416                   offset: 0 0;
3417                   to: "top";
3418                }
3419                rel2 {
3420                   relative: 1.0 0.5;
3421                   offset: -1 0;
3422                   to: "top";
3423                }
3424                color_class: "border_top_hilight";
3425                image {
3426                   normal: "bd_top_hilight.png";
3427                }
3428                fill.smooth: 0;
3429             }
3430          }
3431          part {
3432             name: "buttons_unfoc";
3433             type: RECT;
3434             description {
3435                state: "default" 0.0;
3436                visible: 1;
3437                color: 255 255 255 255;
3438             }
3439             description {
3440                state: "focused" 0.0;
3441                inherit: "default" 0.0;
3442                visible: 0;
3443                color: 255 255 255 0;
3444             }
3445          }
3446          part {
3447             name: "bt_close_unfoc";
3448             mouse_events: 0;
3449             clip_to: "buttons_unfoc";
3450             description {
3451                state: "default" 0.0;
3452                rel1.to: "bt_close";
3453                rel2.to: "bt_close";
3454                image.normal: "bd_button_close_unfocused.png";
3455             }
3456             description {
3457                state: "active" 0.0;
3458                inherit: "default" 0.0;
3459                rel1.offset: 0 1;
3460                rel2.offset: -1 0;
3461             }
3462          }
3463          part {
3464             name: "bt_max_unfoc";
3465             mouse_events: 0;
3466             clip_to: "buttons_unfoc";
3467             description {
3468                state: "default" 0.0;
3469                rel1.to: "bt_max";
3470                rel2.to: "bt_max";
3471                image.normal: "bd_button_max_unfocused.png";
3472             }
3473             description {
3474                state: "active" 0.0;
3475                inherit: "default" 0.0;
3476                rel1.offset: 0 1;
3477                rel2.offset: -1 0;
3478             }
3479          }
3480          part {
3481             name: "bt_min_unfoc";
3482             mouse_events: 0;
3483             clip_to: "buttons_unfoc";
3484             description {
3485                state: "default" 0.0;
3486                rel1.to: "bt_min";
3487                rel2.to: "bt_min";
3488                image.normal: "bd_button_min_unfocused.png";
3489             }
3490             description {
3491                state: "active" 0.0;
3492                inherit: "default" 0.0;
3493                rel1.offset: 0 1;
3494                rel2.offset: -1 0;
3495             }
3496          }
3497          part {
3498             name: "buttons_foc";
3499             type: RECT;
3500             description {
3501                state: "default" 0.0;
3502                visible: 0;
3503                color: 255 255 255 0;
3504             }
3505             description {
3506                state: "focused" 0.0;
3507                inherit: "default" 0.0;
3508                visible: 1;
3509                color: 255 255 255 255;
3510             }
3511          }
3512          part {
3513             name: "bt_close_foc";
3514             mouse_events: 0;
3515             clip_to: "buttons_foc";
3516             description {
3517                state: "default" 0.0;
3518                rel1.to: "bt_close";
3519                rel2.to: "bt_close";
3520                image.normal: "bd_button_close_focused.png";
3521             }
3522             description {
3523                state: "active" 0.0;
3524                inherit: "default" 0.0;
3525                rel1.offset: 0 1;
3526                rel2.offset: -1 0;
3527             }
3528          }
3529          part {
3530             name: "bt_max_foc";
3531             mouse_events: 0;
3532             clip_to: "buttons_foc";
3533             description {
3534                state: "default" 0.0;
3535                rel1.to: "bt_max";
3536                rel2.to: "bt_max";
3537                image.normal: "bd_button_max_focused.png";
3538             }
3539             description {
3540                state: "active" 0.0;
3541                inherit: "default" 0.0;
3542                rel1.offset: 0 1;
3543                rel2.offset: -1 0;
3544             }
3545          }
3546          part {
3547             name: "bt_min_foc";
3548             mouse_events: 0;
3549             clip_to: "buttons_foc";
3550             description {
3551                state: "default" 0.0;
3552                rel1.to: "bt_min";
3553                rel2.to: "bt_min";
3554                image.normal: "bd_button_min_focused.png";
3555             }
3556             description {
3557                state: "active" 0.0;
3558                inherit: "default" 0.0;
3559                rel1.offset: 0 1;
3560                rel2.offset: -1 0;
3561             }
3562          }
3563          part {
3564             name: "title_base";
3565             type: RECT;
3566             mouse_events: 0;
3567             description {
3568                state: "default" 0.0;
3569                visible: 0;
3570                rel1 {
3571                   relative: 1.0 0.0;
3572                   offset: 0 0;
3573                   to_x: "icon_area";
3574                }
3575                rel2 {
3576                   relative: 0.0 1.0;
3577                   offset: -3 4;
3578                   to_y: "e.text.title";
3579                   to_x: "bt_min";
3580                }
3581             }
3582          }
3583          part {
3584             name: "title_back";
3585             mouse_events: 0;
3586             description {
3587                state: "default" 0.0;
3588                visible: 0;
3589                rel1 {
3590                   to: "title_base";
3591                }
3592                rel2 {
3593                   to: "title_base";
3594                   relative: 1.0 0.0;
3595                }
3596                image {
3597                   normal: "bd_title_bg.png";
3598                   border: 7 7 2 7;
3599                }
3600                fill.smooth: 0;
3601             }
3602             description {
3603                state: "focused" 0.0;
3604                inherit: "default" 0.0;
3605                visible: 1;
3606                rel2 {
3607                   to: "title_base";
3608                   relative: 1.0 1.0;
3609                }
3610             }
3611          }
3612          part {
3613             name: "title2";
3614             type: TEXT;
3615             mouse_events: 0;
3616             scale: 1;
3617             effect: SOFT_SHADOW;
3618             description {
3619                state: "default" 0.0;
3620                visible: 0;
3621                align: 0.0 1.0;
3622                rel1 {
3623                   to_x: "e.text.title";
3624                   to_y: "title_back";
3625                   relative: 0.0 1.0;
3626                   offset: -1 0;
3627                }
3628                rel2 {
3629                   to_x: "e.text.title";
3630                   to_y: "title_back";
3631                   relative: 1.0 1.0;
3632                   offset: 0 1;
3633                }
3634                color_class: "border_title_active";
3635                text {
3636                   text_source: "e.text.title";
3637                   font: "Sans:style=Bold";
3638                   size: 10;
3639                   align: 0.0 0.0;
3640                   min: 0 1;
3641                   text_class: "title_bar";
3642                }
3643             }
3644             description {
3645                state: "focused" 0.0;
3646                inherit: "default" 0.0;
3647                visible: 1;
3648             }
3649          }
3650          part {
3651             name: "title_over";
3652             mouse_events: 0;
3653             description {
3654                state: "default" 0.0;
3655                visible: 0;
3656                rel1.to: "title_back";
3657                rel2.to: "title_back";
3658                image {
3659                   normal: "bd_title_over.png";
3660                   border: 7 7 2 7;
3661                }
3662                fill.smooth: 0;
3663             }
3664             description {
3665                state: "focused" 0.0;
3666                inherit: "default" 0.0;
3667                visible: 1;
3668             }
3669          }
3670          part {
3671             name: "e.swallow.client";
3672             type: SWALLOW;
3673             description {
3674                state: "default" 0.0;
3675                rel1 {
3676                   relative: 0.0 1.0;
3677                   offset: 0 0;
3678                   to_y: "top";
3679                }
3680                rel2 {
3681                   relative: 1.0 1.0;
3682                   offset: -1 -1;
3683                }
3684             }
3685             description {
3686                state: "shaded" 0.0;
3687                inherit: "default" 0.0;
3688                rel2 {
3689                   relative: 1.0 1.0;
3690                   offset: -1 -1;
3691                }
3692             }
3693             description {
3694                state: "max" 0.0;
3695                inherit: "default" 0.0;
3696                rel1 {
3697                   relative: 0.0 1.0;
3698                   offset: 0 0;
3699                   to_y: "top";
3700                }
3701                rel2 {
3702                   relative: 1.0 1.0;
3703                   offset: -1 -1;
3704                }
3705             }
3706          }
3707          part {
3708             name: "e.event.titlebar";
3709             type: RECT;
3710             description {
3711                state: "default" 0.0;
3712                rel1.to: "title_base";
3713                rel2.to: "title_base";
3714                color: 0 0 0 0;
3715             }
3716          }
3717          part {
3718             name: "e.event.icon";
3719             type: RECT;
3720             description {
3721                state: "default" 0.0;
3722                rel1.to: "icon_area";
3723                rel2.to: "icon_area";
3724                color: 0 0 0 0;
3725             }
3726          }
3727          part {
3728             name: "e.event.close";
3729             type: RECT;
3730             description {
3731                state: "default" 0.0;
3732                rel1.to: "bt_close";
3733                rel2.to: "bt_close";
3734                color: 0 0 0 0;
3735             }
3736          }
3737          part {
3738             name: "e.event.minimize";
3739             type: RECT;
3740             description {
3741                state: "default" 0.0;
3742                rel1.to: "bt_min";
3743                rel2.to: "bt_min";
3744                color: 0 0 0 0;
3745             }
3746          }
3747          part {
3748             name: "e.event.maximize";
3749             type: RECT;
3750             description {
3751                state: "default" 0.0;
3752                rel1.to: "bt_max";
3753                rel2.to: "bt_max";
3754                color: 0 0 0 0;
3755             }
3756          }
3757       }
3758       programs {
3759          program {
3760             name: "focus_in";
3761             signal: "e,state,focused";
3762             source: "e";
3763             action: STATE_SET "focused" 0.0;
3764             transition: LINEAR 0.2;
3765             target: "title_back";
3766             target: "title2";
3767             target: "title_over";
3768             target: "buttons_foc";
3769             target: "buttons_unfoc";
3770             target: "e.text.title";
3771          }
3772          program {
3773             name: "focus_out";
3774             signal: "e,state,unfocused";
3775             source: "e";
3776             action: STATE_SET "default" 0.0;
3777             transition: LINEAR 0.2;
3778             target: "title_back";
3779             target: "title2";
3780             target: "title_over";
3781             target: "buttons_foc";
3782             target: "buttons_unfoc";
3783             target: "e.text.title";
3784          }
3785          program {
3786             name: "urgent";
3787             signal: "e,state,urgent";
3788             source: "e";
3789             action: STATE_SET "visible" 0.0;
3790             target: "urgent";
3791             target: "urgent2";
3792             transition: DECELERATE 0.5;
3793             after: "urgent2";
3794          }
3795          program {
3796             name: "urgent2";
3797             action: STATE_SET "faded" 0.0;
3798             target: "urgent2";
3799             transition: LINEAR 0.5;
3800             after: "urgent3";
3801          }
3802          program {
3803             name: "urgent3";
3804             action: STATE_SET "visible" 0.0;
3805             target: "urgent2";
3806             after: "urgent2";
3807          }
3808          program {
3809             name: "urgentw0";
3810             signal: "e,state,urgent";
3811             source: "e";
3812             action: STATE_SET "default" 0.0;
3813             target: "icon_area2";
3814             transition: DECELERATE 0.1;
3815             after: "urgentw1";
3816          }
3817          program {
3818             name: "urgentw1";
3819             action: STATE_SET "uw1" 0.0;
3820             target: "icon_area2";
3821             transition: DECELERATE 0.1;
3822             after: "urgentw2";
3823          }
3824          program {
3825             name: "urgentw2";
3826             action: STATE_SET "uw2" 0.0;
3827             target: "icon_area2";
3828             transition: DECELERATE 0.1;
3829             after: "urgentw3";
3830          }
3831          program {
3832             name: "urgentw3";
3833             action: STATE_SET "uw3" 0.0;
3834             target: "icon_area2";
3835             transition: DECELERATE 0.1;
3836             after: "urgentw4";
3837          }
3838          program {
3839             name: "urgentw4";
3840             action: STATE_SET "uw4" 0.0;
3841             target: "icon_area2";
3842             transition: DECELERATE 0.1;
3843             after: "urgentw0";
3844          }
3845          program {
3846             name: "not_urgent";
3847             signal: "e,state,not_urgent";
3848             source: "e";
3849             action: ACTION_STOP;
3850             target: "urgentw0";
3851             target: "urgentw1";
3852             target: "urgentw2";
3853             target: "urgentw3";
3854             target: "urgentw4";
3855             target: "urgent";
3856             target: "urgent2";
3857             target: "urgent3";
3858             after: "not_urgent2";
3859          }
3860          program {
3861             name: "not_urgent2";
3862             action: STATE_SET "default" 0.0;
3863             target: "urgent";
3864             target: "urgent2";
3865             target: "icon_area2";
3866          }
3867          program {
3868             name: "hung";
3869             signal: "e,state,hung";
3870             source: "e";
3871             /* FIXME: */
3872             action: STATE_SET "shrunk" 0.0;
3873             target: "e.swallow.icon";
3874             transition: DECELERATE 0.5;
3875          }
3876          program {
3877             name: "unhung";
3878             signal: "e,state,unhung";
3879             source: "e";
3880             /* FIXME: */
3881             action: ACTION_STOP;
3882             target: "busy_anim";
3883          }
3884          program {
3885             name: "unhung2";
3886             signal: "e,state,unhung";
3887             source: "e";
3888             /* FIXME: */
3889             action: STATE_SET "default" 0.0;
3890             target: "e.swallow.icon";
3891             target: "busy";
3892             transition: ACCELERATE 0.5;
3893          }
3894          program {
3895             name: "busy_anim";
3896             signal: "e,state,hung";
3897             source: "e";
3898             action: STATE_SET "visible" 0.0;
3899             transition: LINEAR 0.3333;
3900             target: "busy";
3901             after: "busy_anim";
3902          }
3903          program {
3904             name: "max_full";
3905             signal: "e,action,maximize,fullscreen";
3906             source: "e";
3907             action: STATE_SET "max" 0.0;
3908             target: "e.swallow.client";
3909          }
3910          program {
3911             name: "unmax_full";
3912             signal: "e,action,unmaximize,fullscreen";
3913             source: "e";
3914             action: STATE_SET "default" 0.0;
3915             target: "e.swallow.client";
3916          }
3917          program {
3918             name: "shade_end";
3919             signal: "e,state,shaded";
3920             source: "e";
3921             action: STATE_SET "shaded" 0.0;
3922             target: "e.swallow.client";
3923          }
3924          program {
3925             name: "unshade_start";
3926             signal: "e,state,unshading";
3927             source: "e";
3928             action: STATE_SET "default" 0.0;
3929             target: "e.swallow.client";
3930          }
3931          program {
3932             name: "icon_down";
3933             signal: "mouse,down,*";
3934             source: "e.event.icon";
3935             action: STATE_SET "active" 0.0;
3936             target: "icon_area";
3937          }
3938          program {
3939             name: "icon_up";
3940             signal: "mouse,up,*";
3941             source: "e.event.icon";
3942             action: STATE_SET "default" 0.0;
3943             target: "icon_area";
3944          }
3945          program {
3946             name: "bt_close_down";
3947             signal: "mouse,down,*";
3948             source: "e.event.close";
3949             action: STATE_SET "active" 0.0;
3950             target: "bt_close_unfoc";
3951             target: "bt_close_foc";
3952          }
3953          program {
3954             name: "bt_close_up";
3955             signal: "mouse,up,*";
3956             source: "e.event.close";
3957             action: STATE_SET "default" 0.0;
3958             target: "bt_close_unfoc";
3959             target: "bt_close_foc";
3960          }
3961          program {
3962             name: "bt_max_down";
3963             signal: "mouse,down,*";
3964             source: "e.event.maximize";
3965             action: STATE_SET "active" 0.0;
3966             target: "bt_max_unfoc";
3967             target: "bt_max_foc";
3968          }
3969          program {
3970             name: "bt_max_up";
3971             signal: "mouse,up,*";
3972             source: "e.event.maximize";
3973             action: STATE_SET "default" 0.0;
3974             target: "bt_max_unfoc";
3975             target: "bt_max_foc";
3976          }
3977          program {
3978             name: "bt_min_down";
3979             signal: "mouse,down,*";
3980             source: "e.event.minimize";
3981             action: STATE_SET "active" 0.0;
3982             target: "bt_min_unfoc";
3983             target: "bt_min_foc";
3984          }
3985          program {
3986             name: "bt_min_up";
3987             signal: "mouse,up,*";
3988             source: "e.event.minimize";
3989             action: STATE_SET "default" 0.0;
3990             target: "bt_min_unfoc";
3991             target: "bt_min_foc";
3992          }
3993       }
3994    }
3995    /*** DIALOG WINDOW BORDER ***/
3996    group {
3997       name: "e/widgets/border/dialog/border";
3998       images {
3999          image: "bd_top.png" COMP;
4000          image: "bd_top_hilight.png" COMP;
4001          image: "bd_bottom.png" COMP;
4002          image: "bd_title_bg.png" COMP;
4003          image: "bd_title_over.png" COMP;
4004          image: "bd_resize_b.png" COMP;
4005          image: "busy-1.png" COMP;
4006          image: "busy-2.png" COMP;
4007          image: "busy-3.png" COMP;
4008          image: "busy-4.png" COMP;
4009          image: "busy-5.png" COMP;
4010          image: "busy-6.png" COMP;
4011          image: "busy-7.png" COMP;
4012          image: "busy-8.png" COMP;
4013          image: "busy-9.png" COMP;
4014          image: "exclam.png" COMP;
4015          image: "bd_button_close_shadow.png" COMP;
4016          image: "bd_button_close_focused.png" COMP;
4017          image: "bd_button_close_unfocused.png" COMP;
4018       }
4019       parts {
4020          part {
4021             name: "top";
4022             mouse_events: 0;
4023             description {
4024                state: "default" 0.0;
4025                rel1 {
4026                   relative: 0.0 0.0;
4027                   offset: 0 0;
4028                }
4029                rel2 {
4030                   relative: 1.0 1.0;
4031                   offset: -1 -1;
4032                   to_y: "title_base";
4033                }
4034                color_class: "border_top";
4035                image {
4036                   normal: "bd_top.png";
4037                   border: 2 2 2 2;
4038                }
4039             }
4040          }
4041          part {
4042             name: "bottom";
4043             mouse_events: 0;
4044             description {
4045                state: "default" 0.0;
4046                rel1 {
4047                   relative: 0.0 1.0;
4048                   offset: 0 -4;
4049                }
4050                rel2 {
4051                   relative: 1.0 1.0;
4052                   offset: -1 -1;
4053                }
4054                color_class: "border_bottom";
4055                image {
4056                   normal: "bd_bottom.png";
4057                   border: 2 2 0 0;
4058                }
4059             }
4060             description {
4061                state: "shaded" 0.0;
4062                inherit: "default" 0.0;
4063                visible: 0;
4064             }
4065             description {
4066                state: "max" 0.0;
4067                inherit: "default" 0.0;
4068                visible: 0;
4069             }
4070          }
4071          part {
4072             name: "icon_area";
4073             type: RECT;
4074             description {
4075                state: "default" 0.0;
4076                visible: 0;
4077                align: 0.0 0.5;
4078                aspect: 1.0 1.0;
4079                aspect_preference: VERTICAL;
4080                rel1 {
4081                   relative: 0.0 0.0;
4082                   offset: 2 2;
4083                }
4084                rel2 {
4085                   relative: 0.0 1.0;
4086                   offset: 2 -3;
4087                   to_y: "title_base";
4088                }
4089             }
4090             description {
4091                state: "active" 0.0;
4092                inherit: "default" 0.0;
4093                rel1 {
4094                   offset: 2 3;
4095                }
4096                rel2 {
4097                   offset: 2 -2;
4098                }
4099             }
4100          }
4101          part {
4102             name: "icon_area2";
4103             type: RECT;
4104             description {
4105                state: "default" 0.0;
4106                visible: 0;
4107                rel1.to: "icon_area";
4108                rel2.to: "icon_area";
4109             }
4110             description {
4111                state: "uw0" 0.0;
4112                inherit: "default" 0.0;
4113                rel1.offset: -3 -2;
4114                rel2.offset: -4 -3;
4115             }
4116             description {
4117                state: "uw1" 0.0;
4118                inherit: "default" 0.0;
4119                rel1.offset: 5 -2;
4120                rel2.offset: 4 -3;
4121             }
4122             description {
4123                state: "uw2" 0.0;
4124                inherit: "default" 0.0;
4125                rel1.offset: -1 4;
4126                rel2.offset: -2 3;
4127             }
4128             description {
4129                state: "uw3" 0.0;
4130                inherit: "default" 0.0;
4131                rel1.offset: -2 -1;
4132                rel2.offset: -3 -2;
4133             }
4134             description {
4135                state: "uw4" 0.0;
4136                inherit: "default" 0.0;
4137                rel1.offset: -4 1;
4138                rel2.offset: -5 0;
4139             }
4140          }
4141          part {
4142             name: "busy";
4143             mouse_events: 0;
4144             description {
4145                state: "default" 0.0;
4146                visible: 0;
4147                color: 255 255 255 0;
4148                max: 32 32;
4149                aspect: 1.0 1.0;
4150                aspect_preference: BOTH;
4151                rel1.to: "icon_area";
4152                rel2.to: "icon_area";
4153                image {
4154                   tween: "busy-1.png";
4155                   tween: "busy-2.png";
4156                   tween: "busy-3.png";
4157                   tween: "busy-4.png";
4158                   tween: "busy-5.png";
4159                   tween: "busy-6.png";
4160                   tween: "busy-7.png";
4161                   tween: "busy-8.png";
4162                   normal: "busy-9.png";
4163                }
4164             }
4165             description {
4166                state: "visible" 0.0;
4167                inherit: "default" 0.0;
4168                visible: 1;
4169                color: 255 255 255 255;
4170             }
4171          }
4172          part {
4173             name: "e.swallow.icon";
4174             type: SWALLOW;
4175             description {
4176                state: "default" 0.0;
4177                aspect: 1.0 1.0;
4178                aspect_preference: BOTH;
4179                rel1.to: "icon_area2";
4180                rel2.to: "icon_area2";
4181             }
4182             description {
4183                state: "shrunk" 0.0;
4184                inherit: "default" 0.0;
4185                rel1.relative: 0.3 0.3;
4186                rel2.relative: 0.7 0.7;
4187             }
4188          }
4189          part {
4190             name: "urgent";
4191             mouse_events: 0;
4192             description {
4193                state: "default" 0.0;
4194                visible: 0;
4195                color: 255 255 255 0;
4196                aspect: 1.0 1.0;
4197                aspect_preference: BOTH;
4198                rel1.to: "icon_area";
4199                rel2.to: "icon_area";
4200                image.normal: "exclam.png";
4201             }
4202             description {
4203                state: "visible" 0.0;
4204                inherit: "default" 0.0;
4205                visible: 1;
4206                color: 255 255 255 255;
4207             }
4208          }
4209          part {
4210             name: "urgent2";
4211             mouse_events: 0;
4212             description {
4213                state: "default" 0.0;
4214                visible: 0;
4215                color: 255 255 255 0;
4216                aspect: 1.0 1.0;
4217                aspect_preference: BOTH;
4218                rel1.to: "icon_area";
4219                rel2.to: "icon_area";
4220                image.normal: "exclam.png";
4221             }
4222             description {
4223                state: "visible" 0.0;
4224                inherit: "default" 0.0;
4225                visible: 1;
4226                color: 255 255 255 255;
4227             }
4228             description {
4229                state: "faded" 0.0;
4230                inherit: "default" 0.0;
4231                rel1.relative: -1.0 -1.0;
4232                rel2.relative: 2.0 2.0;
4233                visible: 1;
4234                color: 255 255 255 0;
4235             }
4236          }
4237          part {
4238             name: "e.text.title";
4239             type: TEXT;
4240             mouse_events: 0;
4241             scale: 1;
4242             description {
4243                state: "default" 0.0;
4244                visible: 1;
4245                align: 0.0 0.0;
4246                rel1 {
4247                   relative: 1.0 0.0;
4248                   offset: 9 2;
4249                   to_x: "icon_area";
4250                }
4251                rel2 {
4252                   relative: 1.0 0.0;
4253                   offset: -8 2;
4254                   to_x: "title_base";
4255                }
4256                color_class: "border_title";
4257                text {
4258                   font: "Sans:style=Bold";
4259                   size: 10;
4260                   min: 0 1;
4261                   align: 0.0 0.0;
4262                   text_class: "title_bar";
4263                }
4264             }
4265             description {
4266                state: "focused" 0.0;
4267                inherit: "default" 0.0;
4268                visible: 0;
4269                color: 0 0 0 0;
4270             }
4271          }
4272          part {
4273             name: "bt_close";
4274             mouse_events: 0;
4275             description {
4276                state: "default" 0.0;
4277                align: 1.0 0.5;
4278                min: 22 22;
4279                max: 22 22;
4280                aspect: 1.0 1.0;
4281                aspect_preference: VERTICAL;
4282                rel1 {
4283                   relative: 1.0 0.0;
4284                   offset: -2 1;
4285                   to_x: "top";
4286                   to_y: "top";
4287                }
4288                rel2 {
4289                   relative: 1.0 1.0;
4290                   offset: -2 -2;
4291                   to_x: "top";
4292                   to_y: "top";
4293                }
4294                image.normal: "bd_button_close_shadow.png";
4295             }
4296          }
4297          part {
4298             name: "top_hilight";
4299             mouse_events: 0;
4300             description {
4301                state: "default" 0.0;
4302                rel1 {
4303                   relative: 0.0 0.0;
4304                   offset: 0 0;
4305                   to: "top";
4306                }
4307                rel2 {
4308                   relative: 1.0 0.5;
4309                   offset: -1 0;
4310                   to: "top";
4311                }
4312                color_class: "border_top_hilight";
4313                image {
4314                   normal: "bd_top_hilight.png";
4315                }
4316                fill.smooth: 0;
4317             }
4318          }
4319          part {
4320             name: "buttons_unfoc";
4321             type: RECT;
4322             description {
4323                state: "default" 0.0;
4324                visible: 1;
4325                color: 255 255 255 255;
4326             }
4327             description {
4328                state: "focused" 0.0;
4329                inherit: "default" 0.0;
4330                visible: 0;
4331                color: 255 255 255 0;
4332             }
4333          }
4334          part {
4335             name: "bt_close_unfoc";
4336             mouse_events: 0;
4337             clip_to: "buttons_unfoc";
4338             description {
4339                state: "default" 0.0;
4340                rel1.to: "bt_close";
4341                rel2.to: "bt_close";
4342                image.normal: "bd_button_close_unfocused.png";
4343             }
4344             description {
4345                state: "active" 0.0;
4346                inherit: "default" 0.0;
4347                rel1.offset: 0 1;
4348                rel2.offset: -1 0;
4349             }
4350          }
4351          part {
4352             name: "buttons_foc";
4353             type: RECT;
4354             description {
4355                state: "default" 0.0;
4356                visible: 0;
4357                color: 255 255 255 0;
4358             }
4359             description {
4360                state: "focused" 0.0;
4361                inherit: "default" 0.0;
4362                visible: 1;
4363                color: 255 255 255 255;
4364             }
4365          }
4366          part {
4367             name: "bt_close_foc";
4368             mouse_events: 0;
4369             clip_to: "buttons_foc";
4370             description {
4371                state: "default" 0.0;
4372                rel1.to: "bt_close";
4373                rel2.to: "bt_close";
4374                image.normal: "bd_button_close_focused.png";
4375             }
4376             description {
4377                state: "active" 0.0;
4378                inherit: "default" 0.0;
4379                rel1.offset: 0 1;
4380                rel2.offset: -1 0;
4381             }
4382          }
4383          part {
4384             name: "title_base";
4385             type: RECT;
4386             mouse_events: 0;
4387             description {
4388                state: "default" 0.0;
4389                visible: 0;
4390                rel1 {
4391                   relative: 1.0 0.0;
4392                   offset: 0 0;
4393                   to_x: "icon_area";
4394                }
4395                rel2 {
4396                   relative: 0.0 1.0;
4397                   offset: -3 4;
4398                   to_y: "e.text.title";
4399                   to_x: "bt_close";
4400                }
4401             }
4402          }
4403          part {
4404             name: "title_back";
4405             mouse_events: 0;
4406             description {
4407                state: "default" 0.0;
4408                visible: 0;
4409                rel1 {
4410                   to: "title_base";
4411                }
4412                rel2 {
4413                   to: "title_base";
4414                   relative: 1.0 0.0;
4415                }
4416                image {
4417                   normal: "bd_title_bg.png";
4418                   border: 7 7 2 7;
4419                }
4420                fill.smooth: 0;
4421             }
4422             description {
4423                state: "focused" 0.0;
4424                inherit: "default" 0.0;
4425                visible: 1;
4426                rel2 {
4427                   to: "title_base";
4428                   relative: 1.0 1.0;
4429                }
4430             }
4431          }
4432          part {
4433             name: "title2";
4434             type: TEXT;
4435             mouse_events: 0;
4436             scale: 1;
4437             effect: SOFT_SHADOW;
4438             description {
4439                state: "default" 0.0;
4440                visible: 0;
4441                align: 0.0 1.0;
4442                rel1 {
4443                   to_x: "e.text.title";
4444                   to_y: "title_back";
4445                   relative: 0.0 1.0;
4446                   offset: -1 0;
4447                }
4448                rel2 {
4449                   to_x: "e.text.title";
4450                   to_y: "title_back";
4451                   relative: 1.0 1.0;
4452                   offset: 0 1;
4453                }
4454                color_class: "border_title_active";
4455                text {
4456                   text_source: "e.text.title";
4457                   font: "Sans:style=Bold";
4458                   size: 10;
4459                   align: 0.0 0.0;
4460                   min: 0 1;
4461                   text_class: "title_bar";
4462                }
4463             }
4464             description {
4465                state: "focused" 0.0;
4466                inherit: "default" 0.0;
4467                visible: 1;
4468             }
4469          }
4470          part {
4471             name: "title_over";
4472             mouse_events: 0;
4473             description {
4474                state: "default" 0.0;
4475                visible: 0;
4476                rel1.to: "title_back";
4477                rel2.to: "title_back";
4478                image {
4479                   normal: "bd_title_over.png";
4480                   border: 7 7 2 7;
4481                }
4482                fill.smooth: 0;
4483             }
4484             description {
4485                state: "focused" 0.0;
4486                inherit: "default" 0.0;
4487                visible: 1;
4488             }
4489          }
4490          part {
4491             name: "bottom_clip";
4492             type: RECT;
4493             description {
4494                state: "default" 0.0;
4495                rel1.to: "bottom";
4496                rel2.to: "bottom";
4497                color: 255 255 255 255;
4498             }
4499          }
4500          part {
4501             name: "resize_b";
4502             mouse_events: 0;
4503             clip_to: "bottom_clip";
4504             description {
4505                state: "default" 0.0;
4506                min: 20 10;
4507                max: 20 10;
4508                rel1 {
4509                   to: "bottom";
4510                   relative: 0.5 0.0;
4511                   offset: 0 -10;
4512                }
4513                rel2 {
4514                   to: "bottom";
4515                   relative: 0.5 0.0;
4516                   offset: 0 -1;
4517                }
4518                image {
4519                   normal: "bd_resize_b.png";
4520                }
4521             }
4522             description {
4523                state: "past" 0.0;
4524                inherit: "default" 0.0;
4525                rel1 {
4526                   relative: 0.5 1.0;
4527                   offset: 0 0;
4528                }
4529                rel2 {
4530                   relative: 0.5 1.0;
4531                   offset: 0 9;
4532                }
4533             }
4534          }
4535          part {
4536             name: "e.swallow.client";
4537             type: SWALLOW;
4538             description {
4539                state: "default" 0.0;
4540                rel1 {
4541                   relative: 0.0 1.0;
4542                   offset: 0 0;
4543                   to_y: "top";
4544                }
4545                rel2 {
4546                   relative: 1.0 0.0;
4547                   offset: -1 -1;
4548                   to_y: "bottom";
4549                }
4550             }
4551             description {
4552                state: "shaded" 0.0;
4553                inherit: "default" 0.0;
4554                rel2 {
4555                   relative: 1.0 1.0;
4556                   offset: -1 -1;
4557                   to_y: "bottom";
4558                }
4559             }
4560             description {
4561                state: "max" 0.0;
4562                inherit: "default" 0.0;
4563                rel1 {
4564                   relative: 0.0 1.0;
4565                   offset: 0 0;
4566                   to_y: "top";
4567                }
4568                rel2 {
4569                   relative: 1.0 1.0;
4570                   offset: -1 -1;
4571                   to_y: "bottom";
4572                }
4573             }
4574          }
4575          part {
4576             name: "e.event.titlebar";
4577             type: RECT;
4578             description {
4579                state: "default" 0.0;
4580                rel1.to: "title_base";
4581                rel2.to: "title_base";
4582                color: 0 0 0 0;
4583             }
4584          }
4585          part {
4586             name: "e.event.resize.t";
4587             type: RECT;
4588             description {
4589                state: "default" 0.0;
4590                rel1 {
4591                   relative: 0.0 0.0;
4592                   offset: 0 0;
4593                }
4594                rel2 {
4595                   relative: 1.0 0.0;
4596                   offset: -1 3;
4597                }
4598                color: 0 0 0 0;
4599             }
4600             description {
4601                state: "shaded" 0.0;
4602                inherit: "default" 0.0;
4603                visible: 0;
4604             }
4605          }
4606          part {
4607             name: "e.event.resize.b";
4608             type: RECT;
4609             description {
4610                state: "default" 0.0;
4611                rel1 {
4612                   relative: 0.0 1.0;
4613                   offset: 0 -4;
4614                }
4615                rel2 {
4616                   relative: 1.0 1.0;
4617                   offset: -1 -1;
4618                }
4619                color: 0 0 0 0;
4620             }
4621             description {
4622                state: "shaded" 0.0;
4623                inherit: "default" 0.0;
4624                visible: 0;
4625             }
4626          }
4627          part {
4628             name: "e.event.resize.tl";
4629             type: RECT;
4630             description {
4631                state: "default" 0.0;
4632                rel1 {
4633                   relative: 0.0 0.0;
4634                   offset: 0 0;
4635                }
4636                rel2 {
4637                   relative: 0.0 0.0;
4638                   offset: 15 15;
4639                }
4640                color: 0 0 0 0;
4641             }
4642             description {
4643                state: "shaded" 0.0;
4644                inherit: "default" 0.0;
4645                visible: 0;
4646             }
4647          }
4648          part {
4649             name: "e.event.resize.tr";
4650             type: RECT;
4651             description {
4652                state: "default" 0.0;
4653                rel1 {
4654                   relative: 1.0 0.0;
4655                   offset: -16 0;
4656                }
4657                rel2 {
4658                   relative: 1.0 0.0;
4659                   offset: -1 15;
4660                }
4661                color: 0 0 0 0;
4662             }
4663             description {
4664                state: "shaded" 0.0;
4665                inherit: "default" 0.0;
4666                visible: 0;
4667             }
4668          }
4669          part {
4670             name: "e.event.resize.bl";
4671             type: RECT;
4672             description {
4673                state: "default" 0.0;
4674                rel1 {
4675                   relative: 0.0 1.0;
4676                   offset: 0 -16;
4677                }
4678                rel2 {
4679                   relative: 0.0 1.0;
4680                   offset: 15 -1;
4681                }
4682                color: 0 0 0 0;
4683             }
4684             description {
4685                state: "shaded" 0.0;
4686                inherit: "default" 0.0;
4687                visible: 0;
4688             }
4689          }
4690          part {
4691             name: "e.event.resize.br";
4692             type: RECT;
4693             description {
4694                state: "default" 0.0;
4695                rel1 {
4696                   relative: 1.0 1.0;
4697                   offset: -16 -16;
4698                }
4699                rel2 {
4700                   relative: 1.0 1.0;
4701                   offset: -1 -1;
4702                }
4703                color: 0 0 0 0;
4704             }
4705             description {
4706                state: "shaded" 0.0;
4707                inherit: "default" 0.0;
4708                visible: 0;
4709             }
4710          }
4711          part {
4712             name: "e.event.icon";
4713             type: RECT;
4714             description {
4715                state: "default" 0.0;
4716                rel1.to: "icon_area";
4717                rel2.to: "icon_area";
4718                color: 0 0 0 0;
4719             }
4720          }
4721          part {
4722             name: "e.event.close";
4723             type: RECT;
4724             description {
4725                state: "default" 0.0;
4726                rel1.to: "bt_close";
4727                rel2.to: "bt_close";
4728                color: 0 0 0 0;
4729             }
4730          }
4731       }
4732       programs {
4733          program {
4734             name: "focus_in";
4735             signal: "e,state,focused";
4736             source: "e";
4737             action: STATE_SET "focused" 0.0;
4738             transition: LINEAR 0.2;
4739             target: "title_back";
4740             target: "title2";
4741             target: "title_over";
4742             target: "buttons_foc";
4743             target: "buttons_unfoc";
4744             target: "e.text.title";
4745          }
4746          program {
4747             name: "focus_out";
4748             signal: "e,state,unfocused";
4749             source: "e";
4750             action: STATE_SET "default" 0.0;
4751             transition: LINEAR 0.2;
4752             target: "title_back";
4753             target: "title2";
4754             target: "title_over";
4755             target: "buttons_foc";
4756             target: "buttons_unfoc";
4757             target: "e.text.title";
4758          }
4759          program {
4760             name: "urgent";
4761             signal: "e,state,urgent";
4762             source: "e";
4763             action: STATE_SET "visible" 0.0;
4764             target: "urgent";
4765             target: "urgent2";
4766             transition: DECELERATE 0.5;
4767             after: "urgent2";
4768          }
4769          program {
4770             name: "urgent2";
4771             action: STATE_SET "faded" 0.0;
4772             target: "urgent2";
4773             transition: LINEAR 0.5;
4774             after: "urgent3";
4775          }
4776          program {
4777             name: "urgent3";
4778             action: STATE_SET "visible" 0.0;
4779             target: "urgent2";
4780             after: "urgent2";
4781          }
4782          program {
4783             name: "urgentw0";
4784             signal: "e,state,urgent";
4785             source: "e";
4786             action: STATE_SET "default" 0.0;
4787             target: "icon_area2";
4788             transition: DECELERATE 0.1;
4789             after: "urgentw1";
4790          }
4791          program {
4792             name: "urgentw1";
4793             action: STATE_SET "uw1" 0.0;
4794             target: "icon_area2";
4795             transition: DECELERATE 0.1;
4796             after: "urgentw2";
4797          }
4798          program {
4799             name: "urgentw2";
4800             action: STATE_SET "uw2" 0.0;
4801             target: "icon_area2";
4802             transition: DECELERATE 0.1;
4803             after: "urgentw3";
4804          }
4805          program {
4806             name: "urgentw3";
4807             action: STATE_SET "uw3" 0.0;
4808             target: "icon_area2";
4809             transition: DECELERATE 0.1;
4810             after: "urgentw4";
4811          }
4812          program {
4813             name: "urgentw4";
4814             action: STATE_SET "uw4" 0.0;
4815             target: "icon_area2";
4816             transition: DECELERATE 0.1;
4817             after: "urgentw0";
4818          }
4819          program {
4820             name: "not_urgent";
4821             signal: "e,state,not_urgent";
4822             source: "e";
4823             action: ACTION_STOP;
4824             target: "urgentw0";
4825             target: "urgentw1";
4826             target: "urgentw2";
4827             target: "urgentw3";
4828             target: "urgentw4";
4829             target: "urgent";
4830             target: "urgent2";
4831             target: "urgent3";
4832             after: "not_urgent2";
4833          }
4834          program {
4835             name: "not_urgent2";
4836             action: STATE_SET "default" 0.0;
4837             target: "urgent";
4838             target: "urgent2";
4839             target: "icon_area2";
4840          }
4841          program {
4842             name: "hung";
4843             signal: "e,state,hung";
4844             source: "e";
4845             /* FIXME: */
4846             action: STATE_SET "shrunk" 0.0;
4847             target: "e.swallow.icon";
4848             transition: DECELERATE 0.5;
4849          }
4850          program {
4851             name: "unhung";
4852             signal: "e,state,unhung";
4853             source: "e";
4854             /* FIXME: */
4855             action: ACTION_STOP;
4856             target: "busy_anim";
4857          }
4858          program {
4859             name: "unhung2";
4860             signal: "e,state,unhung";
4861             source: "e";
4862             /* FIXME: */
4863             action: STATE_SET "default" 0.0;
4864             target: "e.swallow.icon";
4865             target: "busy";
4866             transition: ACCELERATE 0.5;
4867          }
4868          program {
4869             name: "busy_anim";
4870             signal: "e,state,hung";
4871             source: "e";
4872             action: STATE_SET "visible" 0.0;
4873             transition: LINEAR 0.3333;
4874             target: "busy";
4875             after: "busy_anim";
4876          }
4877          program {
4878             name: "max_full";
4879             signal: "e,action,maximize,fullscreen";
4880             source: "e";
4881             action: STATE_SET "max" 0.0;
4882             target: "bottom";
4883             target: "e.swallow.client";
4884          }
4885          program {
4886             name: "unmax_full";
4887             signal: "e,action,unmaximize,fullscreen";
4888             source: "e";
4889             action: STATE_SET "default" 0.0;
4890             target: "bottom";
4891             target: "e.swallow.client";
4892          }
4893          program {
4894             name: "shade_end";
4895             signal: "e,state,shaded";
4896             source: "e";
4897             action: STATE_SET "shaded" 0.0;
4898             target: "bottom";
4899             target: "e.swallow.client";
4900             target: "e.event.resize.tl";
4901             target: "e.event.resize.tr";
4902             target: "e.event.resize.bl";
4903             target: "e.event.resize.br";
4904             target: "e.event.resize.t";
4905             target: "e.event.resize.b";
4906          }
4907          program {
4908             name: "unshade_start";
4909             signal: "e,state,unshading";
4910             source: "e";
4911             action: STATE_SET "default" 0.0;
4912             target: "bottom";
4913             target: "e.swallow.client";
4914             target: "e.event.resize.tl";
4915             target: "e.event.resize.tr";
4916             target: "e.event.resize.bl";
4917             target: "e.event.resize.br";
4918             target: "e.event.resize.t";
4919             target: "e.event.resize.b";
4920          }
4921          program {
4922             name: "resize_b_on";
4923             signal: "mouse,in";
4924             source: "e.event.resize.b";
4925             action: ACTION_STOP;
4926             target: "resize_b_on2";
4927             target: "resize_b_on3";
4928             after: "resize_b_on2";
4929          }
4930          program {
4931             name: "resize_b_on2";
4932             action: STATE_SET "default" 0.0;
4933             target: "resize_b";
4934             after: "resize_b_on3";
4935          }
4936          program {
4937             name: "resize_b_on3";
4938             action: STATE_SET "past" 0.0;
4939             transition: LINEAR 0.5;
4940             target: "resize_b";
4941             after: "resize_b_on2";
4942          }
4943          program {
4944             name: "resize_b_off";
4945             signal: "mouse,out";
4946             source: "e.event.resize.b";
4947             action: ACTION_STOP;
4948             target: "resize_b_on";
4949             target: "resize_b_on2";
4950             target: "resize_b_on3";
4951          }
4952          program {
4953             name: "icon_down";
4954             signal: "mouse,down,*";
4955             source: "e.event.icon";
4956             action: STATE_SET "active" 0.0;
4957             target: "icon_area";
4958          }
4959          program {
4960             name: "icon_up";
4961             signal: "mouse,up,*";
4962             source: "e.event.icon";
4963             action: STATE_SET "default" 0.0;
4964             target: "icon_area";
4965          }
4966          program {
4967             name: "bt_close_down";
4968             signal: "mouse,down,*";
4969             source: "e.event.close";
4970             action: STATE_SET "active" 0.0;
4971             target: "bt_close_unfoc";
4972             target: "bt_close_foc";
4973          }
4974          program {
4975             name: "bt_close_up";
4976             signal: "mouse,up,*";
4977             source: "e.event.close";
4978             action: STATE_SET "default" 0.0;
4979             target: "bt_close_unfoc";
4980             target: "bt_close_foc";
4981          }
4982       }
4983    }
4984    /*** NORESIZE DIALOG WINDOW BORDER ***/
4985    group {
4986       name: "e/widgets/border/noresize_dialog/border";
4987       images {
4988          image: "bd_top.png" COMP;
4989          image: "bd_top_hilight.png" COMP;
4990          image: "bd_title_bg.png" COMP;
4991          image: "bd_title_over.png" COMP;
4992          image: "busy-1.png" COMP;
4993          image: "busy-2.png" COMP;
4994          image: "busy-3.png" COMP;
4995          image: "busy-4.png" COMP;
4996          image: "busy-5.png" COMP;
4997          image: "busy-6.png" COMP;
4998          image: "busy-7.png" COMP;
4999          image: "busy-8.png" COMP;
5000          image: "busy-9.png" COMP;
5001          image: "exclam.png" COMP;
5002          image: "bd_button_close_shadow.png" COMP;
5003          image: "bd_button_close_focused.png" COMP;
5004          image: "bd_button_close_unfocused.png" COMP;
5005       }
5006       parts {
5007          part {
5008             name: "top";
5009             mouse_events: 0;
5010             description {
5011                state: "default" 0.0;
5012                rel1 {
5013                   relative: 0.0 0.0;
5014                   offset: 0 0;
5015                }
5016                rel2 {
5017                   relative: 1.0 1.0;
5018                   offset: -1 -1;
5019                   to_y: "title_base";
5020                }
5021                color_class: "border_top";
5022                image {
5023                   normal: "bd_top.png";
5024                   border: 2 2 2 2;
5025                }
5026             }
5027          }
5028          part {
5029             name: "icon_area";
5030             type: RECT;
5031             description {
5032                state: "default" 0.0;
5033                visible: 0;
5034                align: 0.0 0.5;
5035                aspect: 1.0 1.0;
5036                aspect_preference: VERTICAL;
5037                rel1 {
5038                   relative: 0.0 0.0;
5039                   offset: 2 2;
5040                }
5041                rel2 {
5042                   relative: 0.0 1.0;
5043                   offset: 2 -3;
5044                   to_y: "title_base";
5045                }
5046             }
5047             description {
5048                state: "active" 0.0;
5049                inherit: "default" 0.0;
5050                rel1 {
5051                   offset: 2 3;
5052                }
5053                rel2 {
5054                   offset: 2 -2;
5055                }
5056             }
5057          }
5058          part {
5059             name: "icon_area2";
5060             type: RECT;
5061             description {
5062                state: "default" 0.0;
5063                visible: 0;
5064                rel1.to: "icon_area";
5065                rel2.to: "icon_area";
5066             }
5067             description {
5068                state: "uw0" 0.0;
5069                inherit: "default" 0.0;
5070                rel1.offset: -3 -2;
5071                rel2.offset: -4 -3;
5072             }
5073             description {
5074                state: "uw1" 0.0;
5075                inherit: "default" 0.0;
5076                rel1.offset: 5 -2;
5077                rel2.offset: 4 -3;
5078             }
5079             description {
5080                state: "uw2" 0.0;
5081                inherit: "default" 0.0;
5082                rel1.offset: -1 4;
5083                rel2.offset: -2 3;
5084             }
5085             description {
5086                state: "uw3" 0.0;
5087                inherit: "default" 0.0;
5088                rel1.offset: -2 -1;
5089                rel2.offset: -3 -2;
5090             }
5091             description {
5092                state: "uw4" 0.0;
5093                inherit: "default" 0.0;
5094                rel1.offset: -4 1;
5095                rel2.offset: -5 0;
5096             }
5097          }
5098          part {
5099             name: "busy";
5100             mouse_events: 0;
5101             description {
5102                state: "default" 0.0;
5103                visible: 0;
5104                color: 255 255 255 0;
5105                max: 32 32;
5106                aspect: 1.0 1.0;
5107                aspect_preference: BOTH;
5108                rel1.to: "icon_area";
5109                rel2.to: "icon_area";
5110                image {
5111                   tween: "busy-1.png";
5112                   tween: "busy-2.png";
5113                   tween: "busy-3.png";
5114                   tween: "busy-4.png";
5115                   tween: "busy-5.png";
5116                   tween: "busy-6.png";
5117                   tween: "busy-7.png";
5118                   tween: "busy-8.png";
5119                   normal: "busy-9.png";
5120                }
5121             }
5122             description {
5123                state: "visible" 0.0;
5124                inherit: "default" 0.0;
5125                visible: 1;
5126                color: 255 255 255 255;
5127             }
5128          }
5129          part {
5130             name: "e.swallow.icon";
5131             type: SWALLOW;
5132             description {
5133                state: "default" 0.0;
5134                aspect: 1.0 1.0;
5135                aspect_preference: BOTH;
5136                rel1.to: "icon_area2";
5137                rel2.to: "icon_area2";
5138             }
5139             description {
5140                state: "shrunk" 0.0;
5141                inherit: "default" 0.0;
5142                rel1.relative: 0.3 0.3;
5143                rel2.relative: 0.7 0.7;
5144             }
5145          }
5146          part {
5147             name: "urgent";
5148             mouse_events: 0;
5149             description {
5150                state: "default" 0.0;
5151                visible: 0;
5152                color: 255 255 255 0;
5153                aspect: 1.0 1.0;
5154                aspect_preference: BOTH;
5155                rel1.to: "icon_area";
5156                rel2.to: "icon_area";
5157                image.normal: "exclam.png";
5158             }
5159             description {
5160                state: "visible" 0.0;
5161                inherit: "default" 0.0;
5162                visible: 1;
5163                color: 255 255 255 255;
5164             }
5165          }
5166          part {
5167             name: "urgent2";
5168             mouse_events: 0;
5169             description {
5170                state: "default" 0.0;
5171                visible: 0;
5172                color: 255 255 255 0;
5173                aspect: 1.0 1.0;
5174                aspect_preference: BOTH;
5175                rel1.to: "icon_area";
5176                rel2.to: "icon_area";
5177                image.normal: "exclam.png";
5178             }
5179             description {
5180                state: "visible" 0.0;
5181                inherit: "default" 0.0;
5182                visible: 1;
5183                color: 255 255 255 255;
5184             }
5185             description {
5186                state: "faded" 0.0;
5187                inherit: "default" 0.0;
5188                rel1.relative: -1.0 -1.0;
5189                rel2.relative: 2.0 2.0;
5190                visible: 1;
5191                color: 255 255 255 0;
5192             }
5193          }
5194          part {
5195             name: "e.text.title";
5196             type: TEXT;
5197             mouse_events: 0;
5198             scale: 1;
5199             description {
5200                state: "default" 0.0;
5201                visible: 1;
5202                align: 0.0 0.0;
5203                rel1 {
5204                   relative: 1.0 0.0;
5205                   offset: 9 2;
5206                   to_x: "icon_area";
5207                }
5208                rel2 {
5209                   relative: 1.0 0.0;
5210                   offset: -8 2;
5211                   to_x: "title_base";
5212                }
5213                color_class: "border_title";
5214                text {
5215                   font: "Sans:style=Bold";
5216                   size: 10;
5217                   min: 0 1;
5218                   align: 0.0 0.0;
5219                   text_class: "title_bar";
5220                }
5221             }
5222             description {
5223                state: "focused" 0.0;
5224                inherit: "default" 0.0;
5225                visible: 0;
5226                color: 0 0 0 0;
5227             }
5228          }
5229          part {
5230             name: "bt_close";
5231             mouse_events: 0;
5232             description {
5233                state: "default" 0.0;
5234                align: 1.0 0.5;
5235                min: 22 22;
5236                max: 22 22;
5237                aspect: 1.0 1.0;
5238                aspect_preference: VERTICAL;
5239                rel1 {
5240                   relative: 1.0 0.0;
5241                   offset: -2 1;
5242                   to_x: "top";
5243                   to_y: "top";
5244                }
5245                rel2 {
5246                   relative: 1.0 1.0;
5247                   offset: -2 -2;
5248                   to_x: "top";
5249                   to_y: "top";
5250                }
5251                image.normal: "bd_button_close_shadow.png";
5252             }
5253          }
5254          part {
5255             name: "top_hilight";
5256             mouse_events: 0;
5257             description {
5258                state: "default" 0.0;
5259                rel1 {
5260                   relative: 0.0 0.0;
5261                   offset: 0 0;
5262                   to: "top";
5263                }
5264                rel2 {
5265                   relative: 1.0 0.5;
5266                   offset: -1 0;
5267                   to: "top";
5268                }
5269                color_class: "border_top_hilight";
5270                image {
5271                   normal: "bd_top_hilight.png";
5272                }
5273                fill.smooth: 0;
5274             }
5275          }
5276          part {
5277             name: "buttons_unfoc";
5278             type: RECT;
5279             description {
5280                state: "default" 0.0;
5281                visible: 1;
5282                color: 255 255 255 255;
5283             }
5284             description {
5285                state: "focused" 0.0;
5286                inherit: "default" 0.0;
5287                visible: 0;
5288                color: 255 255 255 0;
5289             }
5290          }
5291          part {
5292             name: "bt_close_unfoc";
5293             mouse_events: 0;
5294             clip_to: "buttons_unfoc";
5295             description {
5296                state: "default" 0.0;
5297                rel1.to: "bt_close";
5298                rel2.to: "bt_close";
5299                image.normal: "bd_button_close_unfocused.png";
5300             }
5301             description {
5302                state: "active" 0.0;
5303                inherit: "default" 0.0;
5304                rel1.offset: 0 1;
5305                rel2.offset: -1 0;
5306             }
5307          }
5308          part {
5309             name: "buttons_foc";
5310             type: RECT;
5311             description {
5312                state: "default" 0.0;
5313                visible: 0;
5314                color: 255 255 255 0;
5315             }
5316             description {
5317                state: "focused" 0.0;
5318                inherit: "default" 0.0;
5319                visible: 1;
5320                color: 255 255 255 255;
5321             }
5322          }
5323          part {
5324             name: "bt_close_foc";
5325             mouse_events: 0;
5326             clip_to: "buttons_foc";
5327             description {
5328                state: "default" 0.0;
5329                rel1.to: "bt_close";
5330                rel2.to: "bt_close";
5331                image.normal: "bd_button_close_focused.png";
5332             }
5333             description {
5334                state: "active" 0.0;
5335                inherit: "default" 0.0;
5336                rel1.offset: 0 1;
5337                rel2.offset: -1 0;
5338             }
5339          }
5340          part {
5341             name: "title_base";
5342             type: RECT;
5343             mouse_events: 0;
5344             description {
5345                state: "default" 0.0;
5346                visible: 0;
5347                rel1 {
5348                   relative: 1.0 0.0;
5349                   offset: 0 0;
5350                   to_x: "icon_area";
5351                }
5352                rel2 {
5353                   relative: 0.0 1.0;
5354                   offset: -3 4;
5355                   to_y: "e.text.title";
5356                   to_x: "bt_close";
5357                }
5358             }
5359          }
5360          part {
5361             name: "title_back";
5362             mouse_events: 0;
5363             description {
5364                state: "default" 0.0;
5365                visible: 0;
5366                rel1 {
5367                   to: "title_base";
5368                }
5369                rel2 {
5370                   to: "title_base";
5371                   relative: 1.0 0.0;
5372                }
5373                image {
5374                   normal: "bd_title_bg.png";
5375                   border: 7 7 2 7;
5376                }
5377                fill.smooth: 0;
5378             }
5379             description {
5380                state: "focused" 0.0;
5381                inherit: "default" 0.0;
5382                visible: 1;
5383                rel2 {
5384                   to: "title_base";
5385                   relative: 1.0 1.0;
5386                }
5387             }
5388          }
5389          part {
5390             name: "title2";
5391             type: TEXT;
5392             mouse_events: 0;
5393             scale: 1;
5394             effect: SOFT_SHADOW;
5395             description {
5396                state: "default" 0.0;
5397                visible: 0;
5398                align: 0.0 1.0;
5399                rel1 {
5400                   to_x: "e.text.title";
5401                   to_y: "title_back";
5402                   relative: 0.0 1.0;
5403                   offset: -1 0;
5404                }
5405                rel2 {
5406                   to_x: "e.text.title";
5407                   to_y: "title_back";
5408                   relative: 1.0 1.0;
5409                   offset: 0 1;
5410                }
5411                color_class: "border_title_active";
5412                text {
5413                   text_source: "e.text.title";
5414                   font: "Sans:style=Bold";
5415                   size: 10;
5416                   align: 0.0 0.0;
5417                   min: 0 1;
5418                   text_class: "title_bar";
5419                }
5420             }
5421             description {
5422                state: "focused" 0.0;
5423                inherit: "default" 0.0;
5424                visible: 1;
5425             }
5426          }
5427          part {
5428             name: "title_over";
5429             mouse_events: 0;
5430             description {
5431                state: "default" 0.0;
5432                visible: 0;
5433                rel1.to: "title_back";
5434                rel2.to: "title_back";
5435                image {
5436                   normal: "bd_title_over.png";
5437                   border: 7 7 2 7;
5438                }
5439                fill.smooth: 0;
5440             }
5441             description {
5442                state: "focused" 0.0;
5443                inherit: "default" 0.0;
5444                visible: 1;
5445             }
5446          }
5447          part {
5448             name: "e.swallow.client";
5449             type: SWALLOW;
5450             description {
5451                state: "default" 0.0;
5452                rel1 {
5453                   relative: 0.0 1.0;
5454                   offset: 0 0;
5455                   to_y: "top";
5456                }
5457                rel2 {
5458                   relative: 1.0 1.0;
5459                }
5460             }
5461             description {
5462                state: "shaded" 0.0;
5463                inherit: "default" 0.0;
5464                rel2 {
5465                   relative: 1.0 1.0;
5466                   offset: -1 -1;
5467                }
5468             }
5469             description {
5470                state: "max" 0.0;
5471                inherit: "default" 0.0;
5472                rel1 {
5473                   relative: 0.0 1.0;
5474                   offset: 0 0;
5475                   to_y: "top";
5476                }
5477                rel2 {
5478                   relative: 1.0 1.0;
5479                   offset: -1 -1;
5480                }
5481             }
5482          }
5483          part {
5484             name: "e.event.titlebar";
5485             type: RECT;
5486             description {
5487                state: "default" 0.0;
5488                rel1.to: "title_base";
5489                rel2.to: "title_base";
5490                color: 0 0 0 0;
5491             }
5492          }
5493          part {
5494             name: "e.event.icon";
5495             type: RECT;
5496             description {
5497                state: "default" 0.0;
5498                rel1.to: "icon_area";
5499                rel2.to: "icon_area";
5500                color: 0 0 0 0;
5501             }
5502          }
5503          part {
5504             name: "e.event.close";
5505             type: RECT;
5506             description {
5507                state: "default" 0.0;
5508                rel1.to: "bt_close";
5509                rel2.to: "bt_close";
5510                color: 0 0 0 0;
5511             }
5512          }
5513       }
5514       programs {
5515          program {
5516             name: "focus_in";
5517             signal: "e,state,focused";
5518             source: "e";
5519             action: STATE_SET "focused" 0.0;
5520             transition: LINEAR 0.2;
5521             target: "title_back";
5522             target: "title2";
5523             target: "title_over";
5524             target: "buttons_foc";
5525             target: "buttons_unfoc";
5526             target: "e.text.title";
5527          }
5528          program {
5529             name: "focus_out";
5530             signal: "e,state,unfocused";
5531             source: "e";
5532             action: STATE_SET "default" 0.0;
5533             transition: LINEAR 0.2;
5534             target: "title_back";
5535             target: "title2";
5536             target: "title_over";
5537             target: "buttons_foc";
5538             target: "buttons_unfoc";
5539             target: "e.text.title";
5540          }
5541          program {
5542             name: "urgent";
5543             signal: "e,state,urgent";
5544             source: "e";
5545             action: STATE_SET "visible" 0.0;
5546             target: "urgent";
5547             target: "urgent2";
5548             transition: DECELERATE 0.5;
5549             after: "urgent2";
5550          }
5551          program {
5552             name: "urgent2";
5553             action: STATE_SET "faded" 0.0;
5554             target: "urgent2";
5555             transition: LINEAR 0.5;
5556             after: "urgent3";
5557          }
5558          program {
5559             name: "urgent3";
5560             action: STATE_SET "visible" 0.0;
5561             target: "urgent2";
5562             after: "urgent2";
5563          }
5564          program {
5565             name: "urgentw0";
5566             signal: "e,state,urgent";
5567             source: "e";
5568             action: STATE_SET "default" 0.0;
5569             target: "icon_area2";
5570             transition: DECELERATE 0.1;
5571             after: "urgentw1";
5572          }
5573          program {
5574             name: "urgentw1";
5575             action: STATE_SET "uw1" 0.0;
5576             target: "icon_area2";
5577             transition: DECELERATE 0.1;
5578             after: "urgentw2";
5579          }
5580          program {
5581             name: "urgentw2";
5582             action: STATE_SET "uw2" 0.0;
5583             target: "icon_area2";
5584             transition: DECELERATE 0.1;
5585             after: "urgentw3";
5586          }
5587          program {
5588             name: "urgentw3";
5589             action: STATE_SET "uw3" 0.0;
5590             target: "icon_area2";
5591             transition: DECELERATE 0.1;
5592             after: "urgentw4";
5593          }
5594          program {
5595             name: "urgentw4";
5596             action: STATE_SET "uw4" 0.0;
5597             target: "icon_area2";
5598             transition: DECELERATE 0.1;
5599             after: "urgentw0";
5600          }
5601          program {
5602             name: "not_urgent";
5603             signal: "e,state,not_urgent";
5604             source: "e";
5605             action: ACTION_STOP;
5606             target: "urgentw0";
5607             target: "urgentw1";
5608             target: "urgentw2";
5609             target: "urgentw3";
5610             target: "urgentw4";
5611             target: "urgent";
5612             target: "urgent2";
5613             target: "urgent3";
5614             after: "not_urgent2";
5615          }
5616          program {
5617             name: "not_urgent2";
5618             action: STATE_SET "default" 0.0;
5619             target: "urgent";
5620             target: "urgent2";
5621             target: "icon_area2";
5622          }
5623          program {
5624             name: "hung";
5625             signal: "e,state,hung";
5626             source: "e";
5627             /* FIXME: */
5628             action: STATE_SET "shrunk" 0.0;
5629             target: "e.swallow.icon";
5630             transition: DECELERATE 0.5;
5631          }
5632          program {
5633             name: "unhung";
5634             signal: "e,state,unhung";
5635             source: "e";
5636             /* FIXME: */
5637             action: ACTION_STOP;
5638             target: "busy_anim";
5639          }
5640          program {
5641             name: "unhung2";
5642             signal: "e,state,unhung";
5643             source: "e";
5644             /* FIXME: */
5645             action: STATE_SET "default" 0.0;
5646             target: "e.swallow.icon";
5647             target: "busy";
5648             transition: ACCELERATE 0.5;
5649          }
5650          program {
5651             name: "busy_anim";
5652             signal: "e,state,hung";
5653             source: "e";
5654             action: STATE_SET "visible" 0.0;
5655             transition: LINEAR 0.3333;
5656             target: "busy";
5657             after: "busy_anim";
5658          }
5659          program {
5660             name: "max_full";
5661             signal: "e,action,maximize,fullscreen";
5662             source: "e";
5663             action: STATE_SET "max" 0.0;
5664             target: "e.swallow.client";
5665          }
5666          program {
5667             name: "unmax_full";
5668             signal: "e,action,unmaximize,fullscreen";
5669             source: "e";
5670             action: STATE_SET "default" 0.0;
5671             target: "e.swallow.client";
5672          }
5673          program {
5674             name: "shade_end";
5675             signal: "e,state,shaded";
5676             source: "e";
5677             action: STATE_SET "shaded" 0.0;
5678             target: "e.swallow.client";
5679          }
5680          program {
5681             name: "unshade_start";
5682             signal: "e,state,unshading";
5683             source: "e";
5684             action: STATE_SET "default" 0.0;
5685             target: "e.swallow.client";
5686          }
5687          program {
5688             name: "icon_down";
5689             signal: "mouse,down,*";
5690             source: "e.event.icon";
5691             action: STATE_SET "active" 0.0;
5692             target: "icon_area";
5693          }
5694          program {
5695             name: "icon_up";
5696             signal: "mouse,up,*";
5697             source: "e.event.icon";
5698             action: STATE_SET "default" 0.0;
5699             target: "icon_area";
5700          }
5701          program {
5702             name: "bt_close_down";
5703             signal: "mouse,down,*";
5704             source: "e.event.close";
5705             action: STATE_SET "active" 0.0;
5706             target: "bt_close_unfoc";
5707             target: "bt_close_foc";
5708          }
5709          program {
5710             name: "bt_close_up";
5711             signal: "mouse,up,*";
5712             source: "e.event.close";
5713             action: STATE_SET "default" 0.0;
5714             target: "bt_close_unfoc";
5715             target: "bt_close_foc";
5716          }
5717       }
5718    }
5719    /*** BONUS BORDERS TO CHOOSE FROM ***/
5720    group {
5721       name: "e/widgets/border/pixel/border";
5722       parts {
5723          part {
5724             name: "px1";
5725             type: RECT;
5726             description {
5727                state: "default" 0.0;
5728                rel1 {
5729                   relative: 0.0 0.0;
5730                   offset: 0 0;
5731                }
5732                rel2 {
5733                   relative: 1.0 0.0;
5734                   offset: -1 0;
5735                }
5736                color: 0 0 0 255;
5737             }
5738          }
5739          part {
5740             name: "px2";
5741             type: RECT;
5742             description {
5743                state: "default" 0.0;
5744                rel1 {
5745                   relative: 0.0 1.0;
5746                   offset: 0 -1;
5747                }
5748                rel2 {
5749                   relative: 1.0 1.0;
5750                   offset: -1 -1;
5751                }
5752                color: 0 0 0 255;
5753             }
5754          }
5755          part {
5756             name: "px3";
5757             type: RECT;
5758             description {
5759                state: "default" 0.0;
5760                rel1 {
5761                   relative: 0.0 0.0;
5762                   offset: 0 1;
5763                }
5764                rel2 {
5765                   relative: 0.0 1.0;
5766                   offset: 0 -2;
5767                }
5768                color: 0 0 0 255;
5769             }
5770          }
5771          part {
5772             name: "px4";
5773             type: RECT;
5774             description {
5775                state: "default" 0.0;
5776                rel1 {
5777                   relative: 1.0 0.0;
5778                   offset: -1 1;
5779                }
5780                rel2 {
5781                   relative: 1.0 1.0;
5782                   offset: -1 -2;
5783                }
5784                color: 0 0 0 255;
5785             }
5786          }
5787          part {
5788             name: "e.swallow.client";
5789             type: SWALLOW;
5790             description {
5791                state: "default" 0.0;
5792                rel1 {
5793                   relative: 0.0 0.0;
5794                   offset: 1 1;
5795                }
5796                rel2 {
5797                   relative: 1.0 1.0;
5798                   offset: -2 -2;
5799                }
5800             }
5801          }
5802       }
5803    }
5804
5805
5806 /////////////////////////////////////////////////////////////////////////////
5807 /*** THE DEFAULT MOUSE CURSOR - COLOR ***/
5808
5809    group {
5810       name: "e/pointer/enlightenment/default/color";
5811       images {
5812          image: "pointer.png" COMP;
5813          image: "pointer_glow.png" COMP;
5814          image: "pointer_glint_01.png" COMP;
5815          image: "pointer_glint_02.png" COMP;
5816          image: "pointer_glint_03.png" COMP;
5817          image: "pointer_glint_04.png" COMP;
5818          image: "pointer_glint_05.png" COMP;
5819          image: "pointer_glint_06.png" COMP;
5820          image: "pointer_glint_07.png" COMP;
5821          image: "pointer_glint_08.png" COMP;
5822          image: "pointer_glint_09.png" COMP;
5823          image: "pointer_glint_10.png" COMP;
5824          image: "pointer_glint_11.png" COMP;
5825          image: "pointer_glint_12.png" COMP;
5826       }
5827       parts {
5828          part {
5829             name: "base";
5830             mouse_events: 0;
5831             description {
5832                state: "default" 0.0;
5833                aspect: 0.71875 0.71875;
5834                /* force a specific aspect ratio so
5835                 * when it gets scaled it wont squash
5836                 * or stretch */
5837                aspect_preference: BOTH;
5838                /* both axes control aspect - thus it
5839                 * will be WITHIN the bounds the axes
5840                 * of thre part describe */
5841                image {
5842                   normal: "pointer.png";
5843                }
5844             }
5845          }
5846          part {
5847             name: "glow";
5848             /* this overlay is used to put a white glow
5849              * around the pointer, so when the pointer is
5850              * idle every now and again it will pulsate
5851              * with this glow to just remind you where the
5852              * pointer is (if you lose a black-ish
5853              * pointer on a black background) */
5854             mouse_events: 0;
5855             description {
5856                state: "default" 0.0;
5857                rel1.to: "base";
5858                rel2.to: "base";
5859                visible: 0;
5860                color: 255 255 255 0;
5861                image.normal: "pointer_glow.png";
5862             }
5863             description {
5864                state: "visible" 0.0;
5865                inherit: "default" 0.0;
5866                visible: 1;
5867                color: 255 255 255 255;
5868             }
5869          }
5870          part {
5871             name: "glint";
5872             /* this overlay flips a series of small images
5873              * over the pointer. they look like a white
5874              * light/refelection when put over the pointer
5875              * base image - and produce a "glinting" effect
5876              * when played back fast */
5877             mouse_events: 0;
5878             description {
5879                state: "default" 0.0;
5880                rel1.to: "base";
5881                rel2.to: "base";
5882                visible: 0;
5883                image.normal: "pointer_glint_12.png";
5884             }
5885             description {
5886                state: "visible" 0.0;
5887                inherit: "default" 0.0;
5888                visible: 1;
5889                image.tween: "pointer_glint_01.png";
5890                image.tween: "pointer_glint_02.png";
5891                image.tween: "pointer_glint_03.png";
5892                image.tween: "pointer_glint_04.png";
5893                image.tween: "pointer_glint_05.png";
5894                image.tween: "pointer_glint_06.png";
5895                image.tween: "pointer_glint_07.png";
5896                image.tween: "pointer_glint_08.png";
5897                image.tween: "pointer_glint_09.png";
5898                image.tween: "pointer_glint_10.png";
5899                image.tween: "pointer_glint_11.png";
5900                image.normal: "pointer_glint_12.png";
5901             }
5902          }
5903          part {
5904             name: "e.swallow.hotspot";
5905             /* this is a "fake" swallow part
5906              * that is used by e to determine
5907              * the pointer hotspot - or where
5908              * the actual mouse events get
5909              * reported from on the cursor */
5910             type: SWALLOW;
5911             description {
5912                state: "default" 0.0;
5913                visible: 0;
5914                rel1 {
5915                   /* the hotspot will scale with the cursor here */
5916                   to: "base";
5917                   relative: 0.27 0.125;
5918                   offset: 0 0;
5919                }
5920                rel2 {
5921                   to: "base";
5922                   relative: 0.27 0.125;
5923                   offset: 0 0;
5924                }
5925             }
5926          }
5927       }
5928       programs {
5929          program {
5930             name: "mouse_down";
5931             /* called every time e detects a mouse
5932              * press */
5933             signal: "e,action,mouse,down";
5934             source: "e";
5935             action: STATE_SET "visible" 0.0;
5936             transition: LINEAR 0.3;
5937             target: "glint";
5938             after: "mouse_down2";
5939          }
5940          program {
5941             name: "mouse_down2";
5942             action: STATE_SET "default" 0.0;
5943             target: "glint";
5944          }
5945          program {
5946             name: "mouse_idle";
5947             /* called when e thinks the mouse went
5948              * idle and isn't moving */
5949             signal: "e,state,mouse,idle";
5950             source: "e";
5951             action: STATE_SET "visible" 0.0;
5952             in: 5.0 0.0;
5953             transition: SINUSOIDAL 1.0;
5954             target: "glow";
5955             after: "mouse_idle2";
5956          }
5957          program {
5958             name: "mouse_idle2";
5959             action: STATE_SET "default" 0.0;
5960             transition: SINUSOIDAL 2.0;
5961             target: "glow";
5962             after: "mouse_idle";
5963          }
5964          program {
5965             name: "mouse_active";
5966             /* called when e sees the mouse become
5967              * active again */
5968             signal: "e,state,mouse,active";
5969             source: "e";
5970             action: STATE_SET "default" 0.0;
5971             target: "glow";
5972             after: "mouse_active2";
5973          }
5974          program {
5975             name: "mouse_active2";
5976             action: ACTION_STOP;
5977             target: "mouse_idle";
5978             target: "mouse_idle2";
5979          }
5980          // when mouse button is released. not used here
5981          //         program { name: "xx";
5982          //       signal: "e,action,mouse,up";
5983          //       source: "e";
5984          //    }
5985          // when mouse button is moved. not used here
5986          //         program { name: "xx";
5987          //       signal: "e,action,mouse,move";
5988          //       source: "e";
5989          //    }
5990          // when mouse wheel is scrolled. not used here
5991          //         program { name: "xx";
5992          //       signal: "e,action,mouse,wheel";
5993          //       source: "e";
5994          //    }
5995       }
5996    }
5997
5998
5999 /////////////////////////////////////////////////////////////////////////////
6000 /*** THE DEFAULT MOUSE CURSOR - MONOCHROME. REALLY BORING ***/
6001    /* This pointer is used if the Xserver does not support full ARGB color
6002     * pointers. This can happen if X is old or the driver or libxcursor did
6003     * not exist when ecore was compiled. since the cursor will be literally
6004     * reduced down to black and white with a single transparency mask,
6005     * colors other than black and whigte will be lost (and be approximated
6006     * with dithering) and any translucency other than completely opaque or
6007     * completely transparent pixels will also be lost. it then makes sense
6008     * to have a special black and white only image with no semi-transparency
6009     * so when this is displayed it will look directly as intended by the
6010     * artist */
6011
6012    group {
6013       name: "e/pointer/enlightenment/default/mono";
6014       images {
6015          image: "pointer_mono.png" COMP;
6016          /* a simple mono cursor image */
6017       }
6018       parts {
6019          part {
6020             name: "e/pointer";
6021             mouse_events: 0;
6022             description {
6023                state: "default" 0.0;
6024                image {
6025                   normal: "pointer_mono.png";
6026                }
6027             }
6028          }
6029          part {
6030             name: "hotspot";
6031             /* this cursor also has a hotspot */
6032             type: SWALLOW;
6033             description {
6034                state: "default" 0.0;
6035                visible: 0;
6036                rel1 {
6037                   relative: 0.0 0.0;
6038                   offset: 1 1;
6039                }
6040                rel2 {
6041                   relative: 0.0 0.0;
6042                   offset: 1 1;
6043                }
6044             }
6045          }
6046       }
6047    }
6048
6049
6050 /////////////////////////////////////////////////////////////////////////////
6051 /*** SLIDESEL */
6052
6053    /* this is a horizontal slide selector in e where you drag it horizontally
6054     * and different icons appear with text near it indicating what is
6055     * selected. not actually used anywhere, currently, but in e nevertheless */
6056
6057    group {
6058       name: "e/widgets/slidesel";
6059       images {
6060          image: "bt_dis_base.png" COMP;
6061          image: "bt_dis_hilight.png" COMP;
6062          image: "bt_dis_shine.png" COMP;
6063       }
6064       parts {
6065          part {
6066             name: "base";
6067             mouse_events: 1;
6068             description {
6069                state: "default" 0.0;
6070                rel1 {
6071                   to_y: "e.text.label";
6072                   relative: 0.0 1.0;
6073                   offset: 2 2;
6074                }
6075                rel2.offset: -3 -3;
6076                image {
6077                   normal: "bt_dis_base.png";
6078                   border: 4 4 4 4;
6079                }
6080             }
6081          }
6082          part {
6083             name: "clipper";
6084             type: RECT;
6085             mouse_events: 0;
6086             description {
6087                state: "default" 0.0;
6088                rel1 {
6089                   to: "base";
6090                   offset: 2 2;
6091                }
6092                rel2 {
6093                   to: "base";
6094                   offset: -3 -3;
6095                }
6096             }
6097          }
6098          part {
6099             name: "e.swallow.content";
6100             clip_to: "clipper";
6101             type: SWALLOW;
6102             description {
6103                state: "default" 0.0;
6104                rel1.to: "clipper";
6105                rel2.to: "clipper";
6106             }
6107          }
6108          part {
6109             name: "over2";
6110             mouse_events: 0;
6111             description {
6112                state: "default" 0.0;
6113                rel1.to: "base";
6114                rel2.to: "base";
6115                image {
6116                   normal: "bt_dis_shine.png";
6117                   border: 4 4 4 4;
6118                }
6119             }
6120          }
6121          part {
6122             name: "over1";
6123             mouse_events: 0;
6124             description {
6125                state: "default" 0.0;
6126                rel1.to: "base";
6127                rel2.to: "base";
6128                rel2.relative: 1.0 0.5;
6129                image {
6130                   normal: "bt_dis_hilight.png";
6131                   border: 4 4 4 0;
6132                }
6133             }
6134          }
6135          part {
6136             name: "e.text.label";
6137             type: TEXT;
6138             effect: SOFT_SHADOW;
6139             mouse_events: 0;
6140             description {
6141                state: "default" 0.0;
6142                align: 0.5 0.0;
6143                rel1 {
6144                   relative: 0.0 0.0;
6145                   offset: 2 2;
6146                }
6147                rel2 {
6148                   relative: 1.0 0.0;
6149                   offset: -3 2;
6150                }
6151                align: 0.0 0.0;
6152                color: 255 255 255 255;
6153                color3: 0 0 0 32;
6154                text {
6155                   font: "Sans:style=Bold";
6156                   size: 10;
6157                   min: 0 1;
6158                   align: 0.5 0.0;
6159                   text_class: "slidesel_label";
6160                }
6161             }
6162          }
6163       }
6164    }
6165
6166
6167 /////////////////////////////////////////////////////////////////////////////
6168 /*** TOOLBAR ****/
6169
6170    group {
6171       name: "e/widgets/toolbar";
6172       images {
6173          image: "bt_dis_base.png" COMP;
6174          image: "bt_dis_hilight.png" COMP;
6175          image: "bt_dis_shine.png" COMP;
6176          image: "icon_left_arrow.png" COMP;
6177          image: "icon_right_arrow.png" COMP;
6178       }
6179       parts {
6180          part {
6181             name: "base";
6182             mouse_events: 1;
6183             description {
6184                state: "default" 0.0;
6185                rel1 {
6186                   relative: 0.0 0.0;
6187                   offset: 2 2;
6188                }
6189                rel2.offset: -3 -3;
6190                image {
6191                   normal: "bt_dis_base.png";
6192                   border: 4 4 4 4;
6193                }
6194             }
6195          }
6196          part {
6197             name: "clipper";
6198             type: RECT;
6199             mouse_events: 0;
6200             description {
6201                state: "default" 0.0;
6202                rel1 {
6203                   to: "base";
6204                   offset: 2 2;
6205                }
6206                rel2 {
6207                   to: "base";
6208                   offset: -3 -3;
6209                }
6210             }
6211          }
6212          part {
6213             name: "e.swallow.content";
6214             clip_to: "clipper";
6215             type: SWALLOW;
6216             description {
6217                state: "default" 0.0;
6218                rel1.to: "clipper";
6219                rel2.to: "clipper";
6220             }
6221          }
6222          part {
6223             name: "over2";
6224             mouse_events: 0;
6225             description {
6226                state: "default" 0.0;
6227                rel1.to: "base";
6228                rel2.to: "base";
6229                image {
6230                   normal: "bt_dis_shine.png";
6231                   border: 4 4 4 4;
6232                }
6233             }
6234          }
6235          part {
6236             name: "over1";
6237             mouse_events: 0;
6238             description {
6239                state: "default" 0.0;
6240                rel1.to: "base";
6241                rel2.to: "base";
6242                rel2.relative: 1.0 0.5;
6243                image {
6244                   normal: "bt_dis_hilight.png";
6245                   border: 4 4 4 0;
6246                }
6247                color: 255 255 255 128;
6248             }
6249          }
6250          part {
6251             name: "left_arrow";
6252             mouse_events: 1;
6253             scale: 1;
6254             description {
6255                state: "default" 0.0;
6256                image.normal: "icon_left_arrow.png";
6257                aspect: 1.0 1.0;
6258                aspect_preference: VERTICAL;
6259                align: 0.0 0.5;
6260                min: 32 32;
6261                max: 32 32;
6262             }
6263             description {
6264                state: "hidden" 0.0;
6265                inherit: "default" 0.0;
6266                visible: 0;
6267                color: 255 255 255 0;
6268             }
6269          }
6270          part {
6271             name: "right_arrow";
6272             mouse_events: 1;
6273             scale: 1;
6274             description {
6275                state: "default" 0.0;
6276                image.normal: "icon_right_arrow.png";
6277                aspect: 1.0 1.0;
6278                aspect_preference: VERTICAL;
6279                align: 1.0 0.5;
6280                min: 32 32;
6281                max: 32 32;
6282             }
6283             description {
6284                state: "hidden" 0.0;
6285                inherit: "default" 0.0;
6286                visible: 0;
6287                color: 255 255 255 0;
6288             }
6289          }
6290          part {
6291             name: "e.dragable.hbar";
6292             mouse_events: 0;
6293             dragable {
6294                x: 1 1 0;
6295                y: 0 0 0;
6296                confine: "base";
6297             }
6298             description {
6299                state: "default" 0.0;
6300                visible: 0;
6301                rel1.to: "base";
6302                rel2.to: "base";
6303             }
6304          }
6305          part {
6306             name: "event";
6307             type: RECT;
6308             mouse_events: 1;
6309             repeat_events: 1;
6310             description {
6311                state: "default" 0.0;
6312                color: 0 0 0 0;
6313             }
6314          }
6315       }
6316       programs {
6317          program {
6318             name: "sb_hbar_show";
6319             signal: "e,action,show,hbar";
6320             source: "e";
6321             action: STATE_SET "default" 0.0;
6322             transition: LINEAR 0.5;
6323             target: "left_arrow";
6324             target: "right_arrow";
6325          }
6326          program {
6327             name: "sb_hbar_hide";
6328             signal: "e,action,hide,hbar";
6329             source: "e";
6330             action: STATE_SET "hidden" 0.0;
6331             target: "left_arrow";
6332             target: "right_arrow";
6333             transition: LINEAR 0.5;
6334          }
6335          program {
6336             name: "sb_left";
6337             signal: "mouse,down,1";
6338             source: "left_arrow";
6339             action: SIGNAL_EMIT "e,action,prev" "e";
6340          }
6341          program {
6342             name: "sb_right";
6343             signal: "mouse,down,1";
6344             source: "right_arrow";
6345             action: SIGNAL_EMIT "e,action,next" "e";
6346          }
6347       }
6348    }
6349    group {
6350       name: "e/widgets/toolbar/item";
6351       images {
6352          image: "toolbar_sel.png" COMP;
6353       }
6354       parts {
6355          part {
6356             name: "label2";
6357             type: TEXT;
6358             mouse_events: 0;
6359             scale: 1;
6360             description {
6361                state: "default" 0.0;
6362                align: 0.5 1.0;
6363                fixed: 0 1;
6364                rel1.to: "e.text.label";
6365                rel2.to: "e.text.label";
6366                color: 0 0 0 255;
6367                text {
6368                   font: "Sans";
6369                   text_source: "e.text.label";
6370                   size: 10;
6371                   min: 1 1;
6372                   align: 0.5 0.5;
6373                   text_class: "fileman_icon";
6374                }
6375             }
6376             description {
6377                state: "selected" 0.0;
6378                inherit: "default" 0.0;
6379                visible: 0;
6380             }
6381          }
6382          part {
6383             name: "bg";
6384             mouse_events: 0;
6385             description {
6386                state: "default" 0.0;
6387                visible: 0;
6388                color: 255 255 255 0;
6389                image {
6390                   normal: "toolbar_sel.png";
6391                   border: 3 3 0 0;
6392                }
6393                fill.smooth: 0;
6394             }
6395             description {
6396                state: "selected" 0.0;
6397                inherit: "default" 0.0;
6398                visible: 1;
6399                color: 255 255 255 255;
6400             }
6401          }
6402          part {
6403             name: "e.swallow.icon";
6404             type: SWALLOW;
6405             description {
6406                state: "default" 0.0;
6407                align: 0.5 0.5;
6408                // aspect: 1.0 1.0;
6409                // aspect_preference: VERTICAL;
6410                rel1 {
6411                   relative: 0.0 0.0;
6412                   offset: 2 2;
6413                }
6414                rel2 {
6415                   to_y: "e.text.label";
6416                   relative: 1.0 0.0;
6417                   offset: -3 -1;
6418                }
6419                color: 0 0 0 0;
6420             }
6421          }
6422          part {
6423             name: "e.text.label";
6424             type: TEXT;
6425             effect: SOFT_SHADOW;
6426             mouse_events: 0;
6427             scale: 1;
6428             description {
6429                state: "default" 0.0;
6430                align: 0.5 1.0;
6431                fixed: 0 1;
6432                rel1 {
6433                   relative: 0.0 1.0;
6434                   offset: 0 2;
6435                }
6436                rel2 {
6437                   relative: 1.0 1.0;
6438                   offset: -1 -1;
6439                }
6440                visible: 0;
6441                color: 224 224 224 255;
6442                color3: 0 0 0 32;
6443                text {
6444                   font: "Sans:style=Bold";
6445                   size: 10;
6446                   min: 1 1;
6447                   align: 0.5 0.5;
6448                   text_class: "fileman_icon";
6449                }
6450             }
6451             description {
6452                state: "selected" 0.0;
6453                inherit: "default" 0.0;
6454                visible: 1;
6455             }
6456          }
6457          part {
6458             name: "event";
6459             type: RECT;
6460             mouse_events: 1;
6461             ignore_flags: ON_HOLD;
6462             description {
6463                state: "default" 0.0;
6464                color: 0 0 0 0;
6465             }
6466          }
6467       }
6468       programs {
6469          program {
6470             name: "go_active";
6471             signal: "e,state,selected";
6472             source: "e";
6473             action: STATE_SET "selected" 0.0;
6474             target: "bg";
6475             target: "e.text.label";
6476             target: "label2";
6477             transition: LINEAR 0.2;
6478          }
6479          program {
6480             name: "go_passive";
6481             signal: "e,state,unselected";
6482             source: "e";
6483             action: STATE_SET "default" 0.0;
6484             target: "bg";
6485             target: "e.text.label";
6486             target: "label2";
6487             transition: LINEAR 0.1;
6488          }
6489          program {
6490             name: "go";
6491             signal: "mouse,up,1";
6492             source: "event";
6493             action: SIGNAL_EMIT "e,action,click" "e";
6494          }
6495       }
6496    }
6497
6498
6499 /////////////////////////////////////////////////////////////////////////////
6500 /*** MENUS ***/
6501
6502    /* this is the background for all menus. it also may optionally display a
6503     * title for the menu. this is wrapped around all the menu items that are
6504     * laid out in a vertical list from top to bottom */
6505
6506    group {
6507       name: "e/widgets/menu/default/background";
6508       images {
6509          image: "base_bg.png" COMP;
6510          image: "bd_top_hilight.png" COMP;
6511          image: "bd_title_bg.png" COMP;
6512          image: "bd_title_over.png" COMP;
6513       }
6514       parts {
6515          part {
6516             name: "base";
6517             mouse_events: 0;
6518             description {
6519                state: "default" 0.0;
6520                align: 0.5 0.0;
6521                color_class: "menu_base";
6522                image {
6523                   normal: "base_bg.png";
6524                   border: 2 2 2 2;
6525                }
6526                fill.smooth: 0;
6527                /* note - a shortcut for avoiding doing
6528                 * fill { smooth: 0; } */
6529             }
6530          }
6531          part {
6532             name: "top_hilight";
6533             mouse_events: 0;
6534             description {
6535                state: "default" 0.0;
6536                rel1 {
6537                   relative: 0.0 0.0;
6538                   offset: 0 0;
6539                }
6540                rel2 {
6541                   relative: 1.0 0.0;
6542                   offset: -1 15;
6543                }
6544                image.normal: "bd_top_hilight.png";
6545                fill.smooth: 0;
6546             }
6547          }
6548          part {
6549             name: "title_back";
6550             mouse_events: 0;
6551             description {
6552                state: "default" 0.0;
6553                visible: 0;
6554                rel1 {
6555                   relative: 0.0 0.0;
6556                   offset: 4 0;
6557                }
6558                rel2 {
6559                   relative: 1.0 0.0;
6560                   offset: -5 0;
6561                }
6562                image {
6563                   normal: "bd_title_bg.png";
6564                   border: 7 7 2 7;
6565                }
6566                fill.smooth: 0;
6567             }
6568             description {
6569                state: "active" 0.0;
6570                inherit: "default" 0.0;
6571                visible: 1;
6572                rel1 {
6573                   relative: 0.0 0.0;
6574                   offset: 4 0;
6575                }
6576                rel2 {
6577                   to_y: "e.text.title";
6578                   relative: 1.0 1.0;
6579                   offset: -5 -4;
6580                }
6581             }
6582          }
6583          part {
6584             name: "e.text.title";
6585             /* e sets the text of this to the title
6586              * if there is any */
6587             type: TEXT;
6588             mouse_events: 0;
6589             scale: 1;
6590             effect: SOFT_SHADOW;
6591             description {
6592                state: "default" 0.0;
6593                fixed: 1 1;
6594                visible: 0;
6595                align: 0.5 0.0;
6596                rel1 {
6597                   relative: 0.0 0.0;
6598                   offset: 0 0;
6599                }
6600                rel2 {
6601                   relative: 1.0 0.0;
6602                   offset: -1 0;
6603                }
6604                color_class: "menu_title";
6605                text {
6606                   text_source: "e.text.title";
6607                   font: "Sans:style=Bold";
6608                   size: 10;
6609                   align: 0.5 0.0;
6610                   min: 0 0;
6611                   text_class: "menu_title";
6612                }
6613             }
6614             description {
6615                state: "active" 0.0;
6616                inherit: "default" 0.0;
6617                visible: 1;
6618                color_class: "menu_title_active";
6619                text.min: 1 1;
6620             }
6621          }
6622          part {
6623             name: "title_over";
6624             mouse_events: 0;
6625             description {
6626                state: "default" 0.0;
6627                visible: 0;
6628                rel1.to: "title_back";
6629                rel2.to: "title_back";
6630                image {
6631                   normal: "bd_title_over.png";
6632                   border: 7 7 2 7;
6633                }
6634                fill.smooth: 0;
6635             }
6636             description {
6637                state: "active" 0.0;
6638                inherit: "default" 0.0;
6639                visible: 1;
6640             }
6641          }
6642          part {
6643             name: "e.swallow.content";
6644             /* this swallow part determines
6645              * where in the menu the vertical
6646              * list of menu items is put */
6647             type: SWALLOW;
6648             description {
6649                state: "default" 0.0;
6650                rel1 {
6651                   to_y: "e.text.title";
6652                   relative: 0.0 1.0;
6653                   offset: 2 1;
6654                }
6655                rel2 {
6656                   relative: 1.0 1.0;
6657                   offset: -3 -3;
6658                }
6659             }
6660          }
6661       }
6662       programs {
6663          program {
6664             name: "on";
6665             /* this program is run when e emits a signal
6666              * to display a title. e will also set the
6667              * title text */
6668             signal: "e,action,show,title";
6669             source: "e";
6670             action: STATE_SET "active" 0.0;
6671             target: "title_back";
6672             target: "e.text.title";
6673             target: "title_over";
6674          }
6675          program {
6676             name: "off";
6677             /* run when the title is removed */
6678             signal: "e,action,hide,title";
6679             source: "e";
6680             action: STATE_SET "default" 0.0;
6681             target: "title_back";
6682             target: "e.text.title";
6683             target: "title_over";
6684          }
6685       }
6686    }
6687    /* this is placed as a horizontal separator between menu items in the
6688     * vertical menu item list. it has no functionality other than being
6689     * a visual separator */
6690    group {
6691       name: "e/widgets/menu/default/separator";
6692       images {
6693          image: "menu_sep.png" COMP;
6694       }
6695       parts {
6696          part {
6697             name: "separator";
6698             mouse_events: 0;
6699             description {
6700                state: "default" 0.0;
6701                min: 16 2;
6702                rel1.offset: 2 2;
6703                rel2.offset: -3 -3;
6704                image {
6705                   normal: "menu_sep.png";
6706                   border: 2 2 0 0;
6707                }
6708                fill.smooth: 0;
6709             }
6710          }
6711       }
6712    }
6713    /* this is used for regular menu items. this is what swallows/holds the
6714     * whole line of the menu item, icon, check/radio mark, label and submenu
6715     * indicator, where applicable */
6716    group {
6717       name: "e/widgets/menu/default/item_bg";
6718       /* this is idential to the regular menu item above, but used only for
6719        * items that have a submenu. this is to allow for a possible different
6720        * look for submenu holding items. here this is identical to to the
6721        * normal menu item, thus we are making use of the alias directive that
6722        * gives a group the ability to go by manu names */
6723       alias: "e/widgets/menu/default/submenu_bg";
6724       images {
6725          image: "menu_sel_bg.png" COMP;
6726          image: "menu_sel_fg.png" COMP;
6727       }
6728       parts {
6729          part {
6730             name: "bg";
6731             mouse_events: 0;
6732             description {
6733                state: "default" 0.0;
6734                visible: 0;
6735                color: 255 255 255 0;
6736                rel1 {
6737                   relative: 0.0 0.0;
6738                   offset: -5 -3;
6739                }
6740                rel2 {
6741                   relative: 1.0 1.0;
6742                   offset: 4 5;
6743                }
6744                image {
6745                   normal: "menu_sel_bg.png";
6746                   border: 8 8 5 9;
6747                }
6748             }
6749             description {
6750                state: "selected" 0.0;
6751                inherit: "default" 0.0;
6752                visible: 1;
6753                color: 255 255 255 255;
6754                rel1 {
6755                   relative: 0.0 0.0;
6756                   offset: -2 0;
6757                }
6758                rel2 {
6759                   relative: 1.0 1.0;
6760                   offset: 1 2;
6761                }
6762             }
6763          }
6764          part {
6765             name: "e.swallow.content";
6766             /* all item content will go here */
6767             type: SWALLOW;
6768             description {
6769                state: "default" 0.0;
6770                align: 0.0 0.0;
6771                rel1.offset: 2 1;
6772                rel2.offset: -3 -2;
6773             }
6774          }
6775          part {
6776             name: "fg";
6777             mouse_events: 0;
6778             description {
6779                state: "default" 0.0;
6780                visible: 0;
6781                color: 255 255 255 0;
6782                rel1.to: "bg";
6783                rel2.to: "bg";
6784                image {
6785                   normal: "menu_sel_fg.png";
6786                   border: 8 8 5 9;
6787                }
6788             }
6789             description {
6790                state: "selected" 0.0;
6791                inherit: "default" 0.0;
6792                visible: 1;
6793                color: 255 255 255 255;
6794             }
6795          }
6796       }
6797       programs {
6798          program {
6799             name: "sel";
6800             /* when the menu item is selected (hilighted)
6801              * this program is run to give the whole item
6802              * an overall selected look */
6803             signal: "e,state,selected";
6804             source: "e";
6805             action: STATE_SET "selected" 0.0;
6806             transition: LINEAR 0.2;
6807             target: "bg";
6808             target: "fg";
6809          }
6810          program {
6811             name: "unsel";
6812             /* when selection is removed from the menu
6813              * item */
6814             signal: "e,state,unselected";
6815             source: "e";
6816             action: STATE_SET "default" 0.0;
6817             transition: LINEAR 0.1;
6818             target: "bg";
6819             target: "fg";
6820          }
6821       }
6822    }
6823    /* this group holds a menu icon. here we just use it to add padding around
6824     * the icon. And to gray-out when disabled */
6825    group {
6826       name: "e/widgets/menu/default/icon";
6827       parts {
6828          part {
6829             name: "clip";
6830             type: RECT;
6831             description {
6832                min: 10 10;
6833                state: "default" 0.0;
6834                color: 255 255 255 255;
6835             }
6836             description {
6837                state: "disabled" 0.0;
6838                color: 255 255 255 128;
6839             }
6840          }
6841          part {
6842             name: "e.swallow.content";
6843             /* icon is swallowed here */
6844             type: SWALLOW;
6845             clip_to: "clip";
6846             description {
6847                state: "default" 0.0;
6848                min: 16 16;
6849                max: 24 24;
6850                fixed: 1 1;
6851                rel1 {
6852                   relative: 0.0 0.0;
6853                   offset: 2 2;
6854                }
6855                rel2 {
6856                   relative: 1.0 1.0;
6857                   offset: -3 -3;
6858                }
6859             }
6860          }
6861       }
6862       programs {
6863          program {
6864             name: "enable";
6865             /* enable */
6866             signal: "e,state,enable";
6867             source: "e";
6868             action: STATE_SET "default" 0.0;
6869             target: "clip";
6870          }
6871          program {
6872             name: "disable";
6873             /* disable */
6874             signal: "e,state,disable";
6875             source: "e";
6876             action: STATE_SET "disabled" 0.0;
6877             target: "clip";
6878          }
6879       }
6880    }
6881    /* this is the actual text label for the menu item */
6882    group {
6883       name: "e/widgets/menu/default/label";
6884       parts {
6885          part {
6886             name: "e.text.label";
6887             /* e sets the text of this */
6888             type: TEXT;
6889             effect: SOFT_SHADOW;
6890             mouse_events: 0;
6891             scale: 1;
6892             description {
6893                state: "default" 0.0;
6894                rel1 {
6895                   relative: 0.0 0.0;
6896                   offset: 1 -1;
6897                }
6898                rel2 {
6899                   relative: 1.0 1.0;
6900                   offset: -1 1;
6901                }
6902                color_class: "menu_item";
6903                text {
6904                   font: "Sans";
6905                   size: 10;
6906                   min: 1 1;
6907                   align: 0.0 0.5;
6908                   text_class: "menu_item";
6909                }
6910             }
6911             description {
6912                state: "selected" 0.0;
6913                inherit: "default" 0.0;
6914                color_class: "menu_item_active";
6915             }
6916             description {
6917                state: "disabled" 0.0;
6918                inherit: "default" 0.0;
6919                color_class: "menu_item_disabled";
6920             }
6921          }
6922       }
6923       programs {
6924          program {
6925             name: "sel";
6926             /* when the menu item is actually selected */
6927             signal: "e,state,selected";
6928             source: "e";
6929             action: STATE_SET "selected" 0.0;
6930             transition: LINEAR 0.2;
6931             target: "e.text.label";
6932          }
6933          program {
6934             name: "unsel";
6935             /* on de-select */
6936             signal: "e,state,unselected";
6937             source: "e";
6938             action: STATE_SET "default" 0.0;
6939             transition: LINEAR 0.3;
6940             target: "e.text.label";
6941          }
6942          program {
6943             name: "enable";
6944             /* enable */
6945             signal: "e,state,enable";
6946             source: "e";
6947             action: STATE_SET "default" 0.0;
6948             transition: LINEAR 0.3;
6949             target: "e.text.label";
6950          }
6951          program {
6952             name: "disable";
6953             /* disable */
6954             signal: "e,state,disable";
6955             source: "e";
6956             action: STATE_SET "disabled" 0.0;
6957             //transition: LINEAR 0.3;
6958             target: "e.text.label";
6959          }
6960       }
6961    }
6962    /* this is a small arrow on the right of the menu item to indicate that it
6963     * has a submenu after it */
6964    group {
6965       name: "e/widgets/menu/default/submenu";
6966       images {
6967          image: "menu_arrow_normal.png" COMP;
6968          image: "menu_arrow_sel.png" COMP;
6969       }
6970       parts {
6971          part {
6972             name: "arrow";
6973             mouse_events: 0;
6974             description {
6975                state: "default" 0.0;
6976                min: 9 12;
6977                max: 9 12;
6978                rel1 {
6979                   relative: 0.0 0.0;
6980                   offset: 4 1;
6981                }
6982                rel2 {
6983                   relative: 1.0 1.0;
6984                   offset: -3 -1;
6985                }
6986                image.normal: "menu_arrow_normal.png";
6987             }
6988             description {
6989                state: "selected" 0.0;
6990                inherit: "default" 0.0;
6991                image.normal: "menu_arrow_sel.png";
6992             }
6993          }
6994       }
6995       programs {
6996          program {
6997             name: "sel";
6998             signal: "e,state,selected";
6999             source: "e";
7000             action: STATE_SET "selected" 0.0;
7001             target: "arrow";
7002          }
7003          program {
7004             name: "unsel";
7005             signal: "e,state,unselected";
7006             source: "e";
7007             action: STATE_SET "default" 0.0;
7008             target: "arrow";
7009          }
7010       }
7011    }
7012    /* this is placed left of the icon in a menu item (if any icon) or left
7013     * of the label if no icon is present. this is a checkbox to indicate if
7014     * the menu item is enabled or disabled */
7015    group {
7016       name: "e/widgets/menu/default/check";
7017       images {
7018          image: "check_base.png" COMP;
7019          image: "check_on.png" COMP;
7020          image: "check_sel.png" COMP;
7021       }
7022       parts {
7023          part {
7024             name: "base";
7025             mouse_events: 0;
7026             scale: 1;
7027             description {
7028                state: "default" 0.0;
7029                min: 16 16;
7030                max: 16 16;
7031                image.normal: "check_base.png";
7032             }
7033          }
7034          part {
7035             name: "mark";
7036             mouse_events: 0;
7037             clip_to: "mark_hold";
7038             description {
7039                state: "default" 0.0;
7040                rel1.to: "mark_hold";
7041                rel2.to: "mark_hold";
7042                image.normal: "check_on.png";
7043             }
7044             description {
7045                state: "selected" 0.0;
7046                inherit: "default" 0.0;
7047                image.normal: "check_sel.png";
7048             }
7049          }
7050          part {
7051             name: "mark_hold";
7052             type: RECT;
7053             mouse_events: 0;
7054             description {
7055                state: "default" 0.0;
7056                visible: 0;
7057                color: 255 255 255 0;
7058                rel1 {
7059                   to: "base";
7060                   offset: -5 -5;
7061                }
7062                rel2 {
7063                   to: "base";
7064                   offset: 4 4;
7065                }
7066             }
7067             description {
7068                state: "on" 0.0;
7069                inherit: "default" 0.0;
7070                visible: 1;
7071                color: 255 255 255 255;
7072                rel1.offset: 0 0;
7073                rel2.offset: -1 -1;
7074             }
7075          }
7076       }
7077       programs {
7078          program {
7079             name: "sel";
7080             /* on selection of the menu item */
7081             signal: "e,state,selected";
7082             source: "e";
7083             action: STATE_SET "selected" 0.0;
7084             target: "mark";
7085          }
7086          program {
7087             name: "unsel";
7088             /* de-select */
7089             signal: "e,state,unselected";
7090             source: "e";
7091             action: STATE_SET "default" 0.0;
7092             target: "mark";
7093          }
7094          program {
7095             name: "on";
7096             /* if the checkmark is to be displayed */
7097             signal: "e,state,on";
7098             source: "e";
7099             action: STATE_SET "on" 0.0;
7100             transition: LINEAR 0.15;
7101             target: "mark_hold";
7102          }
7103          program {
7104             name: "off";
7105             /* check mark is not to be displayed */
7106             signal: "e,state,off";
7107             source: "e";
7108             action: STATE_SET "default" 0.0;
7109             transition: LINEAR 0.2;
7110             target: "mark_hold";
7111          }
7112       }
7113    }
7114    /* for a radio menu item - same as check, but only one of a group of radio
7115     * menu item can be selected at any one time */
7116    group {
7117       name: "e/widgets/menu/default/radio";
7118       images {
7119          image: "radio_base.png" COMP;
7120          image: "radio_on.png" COMP;
7121          image: "radio_sel.png" COMP;
7122       }
7123       parts {
7124          part {
7125             name: "base";
7126             mouse_events: 0;
7127             scale: 1;
7128             description {
7129                state: "default" 0.0;
7130                min: 16 16;
7131                max: 16 16;
7132                image.normal: "radio_base.png";
7133             }
7134             description {
7135                state: "selected" 0.0;
7136                inherit: "default" 0.0;
7137                image.normal: "menu_arrow_sel.png";
7138             }
7139          }
7140          part {
7141             name: "mark";
7142             mouse_events: 0;
7143             clip_to: "mark_hold";
7144             description {
7145                state: "default" 0.0;
7146                rel1.to: "mark_hold";
7147                rel2.to: "mark_hold";
7148                image.normal: "radio_on.png";
7149             }
7150             description {
7151                state: "selected" 0.0;
7152                inherit: "default" 0.0;
7153                image.normal: "radio_sel.png";
7154             }
7155          }
7156          part {
7157             name: "mark_hold";
7158             type: RECT;
7159             mouse_events: 0;
7160             description {
7161                state: "default" 0.0;
7162                visible: 0;
7163                color: 255 255 255 0;
7164                rel1 {
7165                   to: "base";
7166                   offset: -5 -5;
7167                }
7168                rel2 {
7169                   to: "base";
7170                   offset: 4 4;
7171                }
7172             }
7173             description {
7174                state: "on" 0.0;
7175                inherit: "default" 0.0;
7176                visible: 1;
7177                color: 255 255 255 255;
7178                rel1.offset: 0 0;
7179                rel2.offset: -1 -1;
7180             }
7181          }
7182       }
7183       programs {
7184          program {
7185             name: "sel";
7186             signal: "e,state,selected";
7187             source: "e";
7188             action: STATE_SET "selected" 0.0;
7189             target: "mark";
7190          }
7191          program {
7192             name: "unsel";
7193             signal: "e,state,unselected";
7194             source: "e";
7195             action: STATE_SET "default" 0.0;
7196             target: "mark";
7197          }
7198          program {
7199             name: "on";
7200             signal: "e,state,on";
7201             source: "e";
7202             action: STATE_SET "on" 0.0;
7203             transition: LINEAR 0.15;
7204             target: "mark_hold";
7205          }
7206          program {
7207             name: "off";
7208             signal: "e,state,off";
7209             source: "e";
7210             action: STATE_SET "default" 0.0;
7211             transition: LINEAR 0.2;
7212             target: "mark_hold";
7213          }
7214       }
7215    }
7216
7217
7218 /////////////////////////////////////////////////////////////////////////////
7219 /*** SHELF ***/
7220
7221    /* Shelves are "panels" that  are placed around the edges of the screen
7222     * to hold useful gadgets to control things - like switch desktops
7223     * (the pager module and its gadget), launch programs, and anything else
7224     * someone wants to put in there. The way to add gadgets to a shelf is to
7225     * write a module that places a gadget there. This means that it might end
7226     * up containing all sorts of things and the artist needs to be aware of
7227     * that and make sure the shelf border and background etc. won't interfere
7228     * with all manner of things that may get placed there */
7229
7230    group {
7231       name: "e/shelf/default/base";
7232       data {
7233          /* this tells e the shelf is shaped, not rectangular */
7234          //    item: "shaped" "1";
7235          /* this tells e the number of pixels of the shelf to leave "exposed"
7236           * when auto-hiding the shelf */
7237          item: "hidden_state_size" "1";
7238          /* This makes the border hide instantly after the given amount of
7239           * seconds - in this case 3 seconds. This means there will be no
7240           * visible part of the shelf after this time at all as it will be
7241           * totally hidden */
7242          //    item: "instant_delay" "3.0";
7243       }
7244       images {
7245          image: "base_bg.png" COMP;
7246       }
7247       parts {
7248          part {
7249             name: "base";
7250             mouse_events: 0;
7251             description {
7252                state: "default" 0.0;
7253                color_class: "shelf_base";
7254                image.normal: "base_bg.png";
7255                image.border: 2 2 2 2;
7256                fill.smooth: 0;
7257             }
7258          }
7259          part {
7260             name: "e.swallow.content";
7261             type: SWALLOW;
7262             description {
7263                state: "default" 0.0;
7264                rel1 {
7265                   relative: 0.0 0.0;
7266                   offset: 3 3;
7267                }
7268                rel2 {
7269                   relative: 1.0 1.0;
7270                   offset: -4 -4;
7271                }
7272             }
7273          }
7274       }
7275       programs {
7276          // tell us what oriantation we are in. not used here
7277          //      program { name: "xx";
7278          //    signal: "e,state,orientation,top";
7279          //    source: "e";
7280          //      }
7281          // tell us what oriantation we are in. not used here
7282          //      program { name: "xx";
7283          //    signal: "e,state,orientation,top_left";
7284          //    source: "e";
7285          //      }
7286          // tell us what oriantation we are in. not used here
7287          //      program { name: "xx";
7288          //    signal: "e,state,orientation,top_right";
7289          //    source: "e";
7290          //      }
7291          // tell us what oriantation we are in. not used here
7292          //      program { name: "xx";
7293          //    signal: "e,state,orientation,bottom";
7294          //    source: "e";
7295          //      }
7296          // tell us what oriantation we are in. not used here
7297          //      program { name: "xx";
7298          //    signal: "e,state,orientation,bottom_left";
7299          //    source: "e";
7300          //      }
7301          // tell us what oriantation we are in. not used here
7302          //      program { name: "xx";
7303          //    signal: "e,state,orientation,bottom_right";
7304          //    source: "e";
7305          //      }
7306          // tell us what oriantation we are in. not used here
7307          //      program { name: "xx";
7308          //    signal: "e,state,orientation,left";
7309          //    source: "e";
7310          //      }
7311          // tell us what oriantation we are in. not used here
7312          //      program { name: "xx";
7313          //    signal: "e,state,orientation,left_top";
7314          //    source: "e";
7315          //      }
7316          // tell us what oriantation we are in. not used here
7317          //      program { name: "xx";
7318          //    signal: "e,state,orientation,left_bottom";
7319          //    source: "e";
7320          //      }
7321          // tell us what oriantation we are in. not used here
7322          //      program { name: "xx";
7323          //    signal: "e,state,orientation,right";
7324          //    source: "e";
7325          //      }
7326          // tell us what oriantation we are in. not used here
7327          //      program { name: "xx";
7328          //    signal: "e,state,orientation,right_top";
7329          //    source: "e";
7330          //      }
7331          // tell us what oriantation we are in. not used here
7332          //      program { name: "xx";
7333          //    signal: "e,state,orientation,right_bottom";
7334          //    source: "e";
7335          //      }
7336          // tell us we became a visible shelf. not used here
7337          //      program { name: "xx";
7338          //    signal: "e,state,visible";
7339          //    source: "e";
7340          //      }
7341          // tell us we became a hidden shelf. not used here
7342          //      program { name: "xx";
7343          //    signal: "e,state,hidden";
7344          //    source: "e";
7345          //      }
7346       }
7347    }
7348    /* This is put around gadgets in the shelf if they ask for an "inset" style
7349     * framing. This puts some sort of bordering around them to make them look
7350     * "inset" into the shelf or screen. this is meant to go with the default
7351     * shelf style as implied in the group name */
7352    group {
7353       name: "e/shelf/default/inset";
7354       images {
7355          image: "inset_sunk.png" COMP;
7356       }
7357       parts {
7358          part {
7359             name: "base";
7360             type: RECT;
7361             description {
7362                state: "default" 0.0;
7363                rel1 {
7364                   to: "inset";
7365                   offset: 1 1;
7366                }
7367                rel2 {
7368                   to: "inset";
7369                   offset: -2 -2;
7370                }
7371                color: 255 255 255 255;
7372             }
7373          }
7374          part {
7375             name: "clip";
7376             type: RECT;
7377             description {
7378                state: "default" 0.0;
7379                rel1.to: "base";
7380                rel2.to: "base";
7381                color: 255 255 255 255;
7382             }
7383          }
7384          part {
7385             name: "e.swallow.content";
7386             type: SWALLOW;
7387             clip_to: "clip";
7388             description {
7389                state: "default" 0.0;
7390                rel1 {
7391                   to: "base";
7392                   offset: 1 1;
7393                }
7394                rel2 {
7395                   to: "base";
7396                   offset: -2 -2;
7397                }
7398             }
7399          }
7400          part {
7401             name: "inset";
7402             mouse_events: 0;
7403             description {
7404                state: "default" 0.0;
7405                rel1.offset: 1 1;
7406                rel2.offset: -2 -2;
7407                image.normal: "inset_sunk.png";
7408                image.middle: 0;
7409                /* here we say the "middle" part of the image
7410                 * between the borders is not filled - it's
7411                 * empty, so don't draw it - ignore it */
7412                image.border: 7 7 7 7;
7413                fill.smooth: 0;
7414             }
7415          }
7416       }
7417       programs {
7418          // tell us what oriantation we are in. not used here
7419          //      program { name: "xx";
7420          //    signal: "e,state,orientation,top";
7421          //    source: "e";
7422          //      }
7423          // tell us what oriantation we are in. not used here
7424          //      program { name: "xx";
7425          //    signal: "e,state,orientation,top_left";
7426          //    source: "e";
7427          //      }
7428          // tell us what oriantation we are in. not used here
7429          //      program { name: "xx";
7430          //    signal: "e,state,orientation,top_right";
7431          //    source: "e";
7432          //      }
7433          // tell us what oriantation we are in. not used here
7434          //      program { name: "xx";
7435          //    signal: "e,state,orientation,bottom";
7436          //    source: "e";
7437          //      }
7438          // tell us what oriantation we are in. not used here
7439          //      program { name: "xx";
7440          //    signal: "e,state,orientation,bottom_left";
7441          //    source: "e";
7442          //      }
7443          // tell us what oriantation we are in. not used here
7444          //      program { name: "xx";
7445          //    signal: "e,state,orientation,bottom_right";
7446          //    source: "e";
7447          //      }
7448          // tell us what oriantation we are in. not used here
7449          //      program { name: "xx";
7450          //    signal: "e,state,orientation,left";
7451          //    source: "e";
7452          //      }
7453          // tell us what oriantation we are in. not used here
7454          //      program { name: "xx";
7455          //    signal: "e,state,orientation,left_top";
7456          //    source: "e";
7457          //      }
7458          // tell us what oriantation we are in. not used here
7459          //      program { name: "xx";
7460          //    signal: "e,state,orientation,left_bottom";
7461          //    source: "e";
7462          //      }
7463          // tell us what oriantation we are in. not used here
7464          //      program { name: "xx";
7465          //    signal: "e,state,orientation,right";
7466          //    source: "e";
7467          //      }
7468          // tell us what oriantation we are in. not used here
7469          //      program { name: "xx";
7470          //    signal: "e,state,orientation,right_top";
7471          //    source: "e";
7472          //      }
7473          // tell us what oriantation we are in. not used here
7474          //      program { name: "xx";
7475          //    signal: "e,state,orientation,right_bottom";
7476          //    source: "e";
7477          //      }
7478       }
7479    }
7480    /* Same as inset, but meant to be with no decorations that are visible. here
7481     * we simply make the content swallow inset a bit from the edges to align
7482     * with any plain style inset boxes */
7483    group {
7484       name: "e/shelf/default/plain";
7485       parts {
7486          part {
7487             name: "clip";
7488             type: RECT;
7489             description {
7490                state: "default" 0.0;
7491                color: 255 255 255 255;
7492             }
7493          }
7494          part {
7495             name: "e.swallow.content";
7496             type: SWALLOW;
7497             clip_to: "clip";
7498             description {
7499                state: "default" 0.0;
7500                rel1.offset: 1 1;
7501                rel2.offset: -2 -2;
7502             }
7503          }
7504       }
7505    }
7506    /* This is the "invisible" shelf. Yes. Even it has visual config in edje.
7507     * The idea is that it will remain invisible, BUT will allow the designer
7508     * to do some layout and padding. This gets the same signals as the
7509     * default shelf and can provide the same data items */
7510    group {
7511       name: "e/shelf/invisible/base";
7512       data.item: "shaped" "1";
7513       parts {
7514          part {
7515             name: "e.swallow.content";
7516             type: SWALLOW;
7517             description {
7518                state: "default" 0.0;
7519                rel1 {
7520                   relative: 0.0 0.0;
7521                   offset: 0 0;
7522                }
7523                rel2 {
7524                   relative: 1.0 1.0;
7525                   offset: -1 -1;
7526                }
7527             }
7528          }
7529       }
7530    }
7531    group {
7532       name: "e/shelf/invisible/inset";
7533       images {
7534          image: "inset_sunk_dark.png" COMP;
7535       }
7536       parts {
7537          part {
7538             name: "base";
7539             type: RECT;
7540             description {
7541                state: "default" 0.0;
7542                rel1 {
7543                   to: "inset";
7544                   offset: 1 1;
7545                }
7546                rel2 {
7547                   to: "inset";
7548                   offset: -2 -2;
7549                }
7550                color: 0 0 0 32;
7551             }
7552          }
7553          part {
7554             name: "clip";
7555             type: RECT;
7556             description {
7557                state: "default" 0.0;
7558                rel1.to: "base";
7559                rel2.to: "base";
7560                color: 255 255 255 255;
7561             }
7562          }
7563          part {
7564             name: "e.swallow.content";
7565             type: SWALLOW;
7566             clip_to: "clip";
7567             description {
7568                state: "default" 0.0;
7569                rel1 {
7570                   to: "base";
7571                   offset: 1 1;
7572                }
7573                rel2 {
7574                   to: "base";
7575                   offset: -2 -2;
7576                }
7577             }
7578          }
7579          part {
7580             name: "inset";
7581             mouse_events: 0;
7582             description {
7583                state: "default" 0.0;
7584                rel1.offset: 1 1;
7585                rel2.offset: -2 -2;
7586                image.normal: "inset_sunk_dark.png";
7587                image.middle: 0;
7588                image.border: 7 7 7 7;
7589                fill.smooth: 0;
7590             }
7591          }
7592       }
7593    }
7594    group {
7595       name: "e/shelf/invisible/plain";
7596       parts {
7597          part {
7598             name: "clip";
7599             type: RECT;
7600             description {
7601                state: "default" 0.0;
7602                color: 255 255 255 255;
7603             }
7604          }
7605          part {
7606             name: "e.swallow.content";
7607             type: SWALLOW;
7608             clip_to: "clip";
7609             description {
7610                state: "default" 0.0;
7611                rel1.offset: 1 1;
7612                rel2.offset: -2 -2;
7613             }
7614          }
7615       }
7616    }
7617    /* This is the alternate shelf. It provides a stylistic alternative to
7618     * make the shelf more dynamic to your tastes and wallpaper. It is
7619     * selected in the Shelf Configuration. More alternative shelfs can
7620     * be provided by using more group names. eg, "e/shelf/black/base" */
7621    group {
7622       name: "e/shelf/alternate/base";
7623       images {
7624          image: "shelf_alt_bg.png" COMP;
7625          //     image: "shelf_alt_bg_left.png" COMP;
7626          //     image: "shelf_alt_bg_right.png" COMP;
7627          image: "shelf_alt_over.png" COMP;
7628          //     image: "shelf_alt_over_left.png" COMP;
7629          //     image: "shelf_alt_over_right.png" COMP;
7630          image: "shelf_alt_shine.png" COMP;
7631       }
7632       parts {
7633          part {
7634             name: "base";
7635             mouse_events: 0;
7636             description {
7637                state: "default" 0.0;
7638                color_class: "shelf_base";
7639                image.normal: "shelf_alt_bg.png";
7640                fill.smooth: 0;
7641             }
7642             //        description { state: "left" 0.0;
7643             //           image.normal: "shelf_alt_bg_left.png";
7644             //           fill.smooth: 0;
7645             //        }
7646             //        description { state: "right" 0.0;
7647             //           image.normal: "shelf_alt_bg_right.png";
7648             //           fill.smooth: 0;
7649             //        }
7650          }
7651          part {
7652             name: "e.swallow.content";
7653             type: SWALLOW;
7654             description {
7655                state: "default" 0.0;
7656                rel1 {
7657                   relative: 0.0 0.0;
7658                   offset: 3 3;
7659                }
7660                rel2 {
7661                   relative: 1.0 1.0;
7662                   offset: -4 -4;
7663                }
7664             }
7665          }
7666          part {
7667             name: "shine";
7668             mouse_events: 0;
7669             description {
7670                state: "default" 0.0;
7671                image.normal: "shelf_alt_shine.png";
7672                rel2.relative: 1.0 0.5;
7673                fill.smooth: 0;
7674             }
7675             //        description { state: "left" 0.0;
7676             //           inherit: "default" 0.0;
7677             //           color: 255 255 255 0;
7678             //        }
7679             //        description { state: "right" 0.0;
7680             //           inherit: "default" 0.0;
7681             //           color: 255 255 255 0;
7682             //        }
7683          }
7684          part {
7685             name: "over";
7686             mouse_events: 0;
7687             description {
7688                state: "default" 0.0;
7689                image.normal: "shelf_alt_over.png";
7690                image.border: 5 5 5 5;
7691                image.middle: 0;
7692                fill.smooth: 0;
7693             }
7694             //        description { state: "left" 0.0;
7695             //           image.normal: "shelf_alt_over_left.png";
7696             //           image.border: 5 5 5 5;
7697             //           image.middle: 0;
7698             //           fill.smooth: 0;
7699             //        }
7700             //        description { state: "right" 0.0;
7701             //           image.normal: "shelf_alt_over_right.png";
7702             //           image.border: 5 5 5 5;
7703             //           image.middle: 0;
7704             //           fill.smooth: 0;
7705             //        }
7706          }
7707       }
7708       /* Because programs can not respond to 2 different types of signals,
7709        * the programs are split into individual programs that point towards
7710        * the base program for its orientation. */
7711       programs {
7712          /* Left orientation */
7713          //     program { name: "left";
7714          //        signal: "e,state,orientation,left";
7715          //        source: "e";
7716          //        action: STATE_SET "left" 0.0;
7717          //        target: "base";
7718          //        target: "over";
7719          //        target: "shine";
7720          //     }
7721          //     program { name: "left_top";
7722          //        signal: "e,state,orientation,left_top";
7723          //        source: "e";
7724          //        after: "left";
7725          //     }
7726          //     program { name: "left_bottom";
7727          //        signal: "e,state,orientation,left_bottom";
7728          //        source: "e";
7729          //        after: "left";
7730          //     }
7731          //     /* Right orientation */
7732          //     program { name: "right";
7733          //        signal: "e,state,orientation,right";
7734          //        source: "e";
7735          //        action: STATE_SET "right" 0.0;
7736          //        target: "base";
7737          //        target: "over";
7738          //        target: "shine";
7739          //     }
7740          //     program { name: "right_top";
7741          //        signal: "e,state,orientation,right_top";
7742          //        source: "e";
7743          //        after: "right";
7744          //     }
7745          //     program { name: "right_bottom";
7746          //        signal: "e,state,orientation,right_bottom";
7747          //        source: "e";
7748          //        after: "right";
7749          //     }
7750       }
7751    }
7752    /* This is the alternate shelf. It provides a stylistic alternative to
7753     * make the shelf more dynamic to your tastes and wallpaper. It is
7754     * selected in the Shelf Configuration. More alternative shelfs can
7755     * be provided by using more group names. eg, "e/shelf/black/base" */
7756    group { name: "e/shelf/alternate_vertical/base";
7757       images {
7758          image: "shelf_alt_vert_bg.png" COMP;
7759 //       image: "shelf_alt_bg_left.png" COMP;
7760 //       image: "shelf_alt_bg_right.png" COMP;
7761          image: "shelf_alt_over.png" COMP;
7762 //       image: "shelf_alt_over_left.png" COMP;
7763 //       image: "shelf_alt_over_right.png" COMP;
7764       }
7765       parts {
7766          part { name: "base";
7767             mouse_events: 0;
7768             description { state: "default" 0.0;
7769                color_class: "shelf_base";
7770                image.normal: "shelf_alt_vert_bg.png";
7771                fill.smooth: 0;
7772             }
7773 //          description { state: "left" 0.0;
7774 //             image.normal: "shelf_alt_bg_left.png";
7775 //             fill.smooth: 0;
7776 //          }
7777 //          description { state: "right" 0.0;
7778 //             image.normal: "shelf_alt_bg_right.png";
7779 //             fill.smooth: 0;
7780 //          }
7781          }
7782          part { name: "e.swallow.content";
7783             type: SWALLOW;
7784             description { state: "default" 0.0;
7785                rel1 {
7786                   relative: 0.0 0.0;
7787                   offset: 3 3;
7788                }
7789                rel2 {
7790                   relative: 1.0 1.0;
7791                   offset: -4 -4;
7792                }
7793             }
7794          }
7795          part { name: "over";
7796             mouse_events: 0;
7797             description { state: "default" 0.0;
7798                image.normal: "shelf_alt_over.png";
7799                image.border: 5 5 5 5;
7800                image.middle: 0;
7801                fill.smooth: 0;
7802             }
7803 //          description { state: "left" 0.0;
7804 //             image.normal: "shelf_alt_over_left.png";
7805 //             image.border: 5 5 5 5;
7806 //             image.middle: 0;
7807 //             fill.smooth: 0;
7808 //          }
7809 //          description { state: "right" 0.0;
7810 //             image.normal: "shelf_alt_over_right.png";
7811 //             image.border: 5 5 5 5;
7812 //             image.middle: 0;
7813 //             fill.smooth: 0;
7814 //          }
7815          }
7816       }
7817       /* Because programs can not respond to 2 different types of signals,
7818        * the programs are split into individual programs that point towards
7819        * the base program for its orientation. */
7820       programs {
7821          /* Left orientation */
7822 //       program { name: "left";
7823 //          signal: "e,state,orientation,left";
7824 //          source: "e";
7825 //          action: STATE_SET "left" 0.0;
7826 //          target: "base";
7827 //          target: "over";
7828 //          target: "shine";
7829 //       }
7830 //       program { name: "left_top";
7831 //          signal: "e,state,orientation,left_top";
7832 //          source: "e";
7833 //          after: "left";
7834 //       }
7835 //       program { name: "left_bottom";
7836 //          signal: "e,state,orientation,left_bottom";
7837 //          source: "e";
7838 //          after: "left";
7839 //       }
7840 //       /* Right orientation */
7841 //       program { name: "right";
7842 //          signal: "e,state,orientation,right";
7843 //          source: "e";
7844 //          action: STATE_SET "right" 0.0;
7845 //          target: "base";
7846 //          target: "over";
7847 //          target: "shine";
7848 //       }
7849 //       program { name: "right_top";
7850 //          signal: "e,state,orientation,right_top";
7851 //          source: "e";
7852 //          after: "right";
7853 //       }
7854 //       program { name: "right_bottom";
7855 //          signal: "e,state,orientation,right_bottom";
7856 //          source: "e";
7857 //          after: "right";
7858 //       }
7859       }
7860    }
7861    group {
7862       name: "e/shelf/alternate/inset";
7863       images {
7864          image: "inset_raised.png" COMP;
7865       }
7866       parts {
7867          part {
7868             name: "base";
7869             type: RECT;
7870             description {
7871                state: "default" 0.0;
7872                rel1 {
7873                   to: "inset";
7874                   offset: 4 4;
7875                }
7876                rel2 {
7877                   to: "inset";
7878                   offset: -5 -5;
7879                }
7880                color: 0 0 0 0;
7881             }
7882          }
7883          part {
7884             name: "clip";
7885             type: RECT;
7886             description {
7887                state: "default" 0.0;
7888                rel1.to: "base";
7889                rel2.to: "base";
7890                color: 255 255 255 255;
7891             }
7892          }
7893          part {
7894             name: "e.swallow.content";
7895             type: SWALLOW;
7896             clip_to: "clip";
7897             description {
7898                state: "default" 0.0;
7899                rel1 {
7900                   to: "base";
7901                   offset: 0 0;
7902                }
7903                rel2 {
7904                   to: "base";
7905                   offset: -1 -1;
7906                }
7907             }
7908          }
7909          part {
7910             name: "inset";
7911             mouse_events: 0;
7912             description {
7913                state: "default" 0.0;
7914                rel1.offset: -1 -1;
7915                rel2.offset: 0 0;
7916                image.normal: "inset_raised.png";
7917                image.middle: 0;
7918                image.border: 7 7 7 7;
7919                fill.smooth: 0;
7920             }
7921          }
7922       }
7923    }
7924    group {
7925       name: "e/shelf/alternate/plain";
7926       parts {
7927          part {
7928             name: "clip";
7929             type: RECT;
7930             description {
7931                state: "default" 0.0;
7932                color: 255 255 255 255;
7933             }
7934          }
7935          part {
7936             name: "e.swallow.content";
7937             type: SWALLOW;
7938             clip_to: "clip";
7939             description {
7940                state: "default" 0.0;
7941                rel1.offset: 1 1;
7942                rel2.offset: -2 -2;
7943             }
7944          }
7945       }
7946    }
7947
7948
7949 /////////////////////////////////////////////////////////////////////////////
7950 /*** MOD: CONNMAN ***/
7951
7952    // ICONS: receive the following signals, all with source being "e"
7953    //    e,favorite,{yes,no}
7954    //    e,auto_connect,{yes,no}
7955    //    e,pass_required,{yes,no}
7956    //    e,state,{idle,association,configuration,ready,disconnect,failure}
7957    //    e,mode,{managed,adhoc,gprs,edge,umts}
7958    //    e,security,{none,wep,psk,ieee8021x,wpa,rsn}
7959    // and also the following message:
7960    //    id=1, type=MSG_INT, description=strength (0-100)
7961
7962    group {
7963       name: "e/modules/connman/icon/ethernet";
7964       max: 128 128;
7965       min: 16 16;
7966       parts {
7967          part {
7968             name: "icon";
7969             type: IMAGE;
7970             mouse_events: 0;
7971             description {
7972                state: "default" 0.0;
7973                aspect: 1.0 1.0;
7974                aspect_preference: BOTH;
7975                image.image: "connman-ethernet.png" COMP;
7976                image.normal: "connman-ethernet.png";
7977             }
7978          }
7979       }
7980    }
7981    group {
7982       name: "e/modules/connman/icon/wifi";
7983       max: 128 128;
7984       min: 16 16;
7985       images {
7986          image: "connman-wifi-good.png" COMP;
7987          image: "connman-wifi-medium.png" COMP;
7988          image: "connman-wifi-bad.png" COMP;
7989       }
7990       script {
7991          public message(Msg_Type:type, id, ...) {
7992             if ((type == MSG_INT) && (id == 1)) {
7993                new strength;
7994                strength = getarg(2);
7995                if (strength >= 65)
7996                   run_program(PROGRAM:"strength,good"); 
7997                else if (strength >= 35)
7998                   run_program(PROGRAM:"strength,medium"); 
7999                else
8000                   run_program(PROGRAM:"strength,bad");
8001             }
8002          }
8003       }
8004       parts {
8005          part {
8006             name: "icon";
8007             type: IMAGE;
8008             mouse_events: 0;
8009             description {
8010                state: "default" 0.0;
8011                aspect: 1.0 1.0;
8012                aspect_preference: BOTH;
8013                image.normal: "connman-wifi-good.png";
8014             }
8015             description {
8016                state: "medium" 0.0;
8017                inherit: "default" 0.0;
8018                image.normal: "connman-wifi-medium.png";
8019             }
8020             description {
8021                state: "bad" 0.0;
8022                inherit: "default" 0.0;
8023                image.normal: "connman-wifi-bad.png";
8024             }
8025          }
8026          programs {
8027             program {
8028                name: "strength,good";
8029                action: STATE_SET "default" 0.0;
8030                target: "icon";
8031             }
8032             program {
8033                name: "strength,medium";
8034                action: STATE_SET "medium" 0.0;
8035                target: "icon";
8036             }
8037             program {
8038                name: "strength,bad";
8039                action: STATE_SET "bad" 0.0;
8040                target: "icon";
8041             }
8042          }
8043       }
8044    }
8045    // GADGET and TIP all have the same parts and signals:
8046    //
8047    // SIGNALS:
8048    //    e,unavailable: connmand is not running (nothing else works)
8049    //    e,available: connmand is running
8050    //
8051    //    e,changed,offline_mode,{yes,no}
8052    //    e,changed,connected,{yes,no}
8053    //    e,changed,service,{system,ethernet,wifi,wimax,bluetooth,cellular,vpn}
8054    //    e,changed,technology,{wifi,ethernet,bluetooth,wimax,cellular}
8055    //    e,changed,state,{idle,association,configuration,ready,disconnect,failure}
8056    //    e,changed,mode,{managed,adhoc,gprs,edge,umts}
8057    //    e,changed,security,{none,wep,psk,ieee8021x,wpa,rsn}
8058    //    e,changed,favorite,{yes,no}
8059    //    e,changed,auto_connect,{yes,no}
8060    //    e,changed,pass_required,{yes,no}
8061    //    e,changed,error,{yes,no}
8062    //    e,changed,ipv4_address,{yes,no}
8063    //
8064    // PARTS:
8065    //    e.text.offline_mode (filled with offline message)
8066    //    e.text.name
8067    //    e.text.error
8068    //    e.text.technology
8069    //    e.text.state
8070    //    e.text.ipv4_address
8071    //
8072    // MESSAGES:
8073    //    id=1, type=MSG_INT, description=strength (0-100)
8074    group {
8075       name: "e/modules/connman/main";
8076       images {
8077          image: "connman-disconnect.png" COMP;
8078          image: "connman-disconnect-offline.png" COMP;
8079          image: "connman-connecting-1.png" COMP;
8080          image: "connman-connecting-2.png" COMP;
8081          image: "connman-connecting-3.png" COMP;
8082          image: "connman-connecting-4.png" COMP;
8083          image: "connman-ethernet.png" COMP;
8084          image: "connman-wifi-good.png" COMP;
8085          image: "connman-wifi-medium.png" COMP;
8086          image: "connman-wifi-bad.png" COMP;
8087       }
8088       //max: 128 128;
8089       min: 16 16;
8090       script {
8091          public message(Msg_Type:type, id, ...) {
8092             if ((type == MSG_INT) && (id == 1)) {
8093                new strength;
8094                strength = getarg(2);
8095                if (strength >= 65)
8096                   run_program(PROGRAM:"strength,good"); 
8097                else if (strength >= 35)
8098                   run_program(PROGRAM:"strength,medium"); 
8099                else
8100                   run_program(PROGRAM:"strength,bad");
8101             }
8102          }
8103       }
8104       parts {
8105          part {
8106             name: "eventarea";
8107             type: RECT;
8108             mouse_events: 1;
8109             description {
8110                state: "default" 0.0;
8111                color: 255 255 255 0;
8112             }
8113          }
8114          part {
8115             name: "availability";
8116             type: RECT;
8117             mouse_events: 0;
8118             description {
8119                state: "default" 0.0;
8120                color: 255 128 128 0;
8121                visible: 0;
8122             }
8123             description {
8124                state: "unavailable" 0.0;
8125                inherit: "default" 0.0;
8126                color: 255 128 128 255;
8127                visible: 1;
8128             }
8129          }
8130          programs {
8131             program {
8132                name: "e,available";
8133                signal: "e,available";
8134                source: "e";
8135                action: STATE_SET "default" 0.0;
8136                target: "availability";
8137                transition: LINEAR 0.2;
8138             }
8139             program {
8140                name: "e,unavailable";
8141                signal: "e,unavailable";
8142                source: "e";
8143                action: STATE_SET "unavailable" 0.0;
8144                target: "availability";
8145                transition: LINEAR 0.2;
8146             }
8147          }
8148          part {
8149             name: "state-clipper";
8150             type: RECT;
8151             mouse_events: 0;
8152             description {
8153                state: "default" 0.0;
8154                color: 255 255 255 255;
8155             }
8156             description {
8157                state: "inverted" 0.0;
8158                color: 255 255 255 0;
8159                visible: 0;
8160             }
8161          }
8162          part {
8163             name: "state-inverted-clipper";
8164             type: RECT;
8165             mouse_events: 0;
8166             description {
8167                state: "default" 0.0;
8168                color: 255 255 255 0;
8169                visible: 0;
8170             }
8171             description {
8172                state: "inverted" 0.0;
8173                color: 255 255 255 255;
8174                visible: 1;
8175             }
8176          }
8177          programs {
8178             program {
8179                name: "e,changed,state,online";
8180                signal: "e,changed,state,online";
8181                source: "e";
8182                action: STATE_SET "default" 0.0;
8183                target: "state-clipper";
8184                target: "state-inverted-clipper";
8185                after: "state-connecting-stop";
8186             }
8187             program {
8188                name: "e,changed,state,ready";
8189                signal: "e,changed,state,ready";
8190                source: "e";
8191                action: STATE_SET "default" 0.0;
8192                target: "state-clipper";
8193                target: "state-inverted-clipper";
8194                after: "state-connecting-stop";
8195             }
8196             program {
8197                name: "e,changed,state,failure";
8198                signal: "e,changed,state,failure";
8199                source: "e";
8200                action: STATE_SET "default" 0.0;
8201                target: "state-clipper";
8202                target: "state-inverted-clipper";
8203                after: "state-connecting-stop";
8204             }
8205             program {
8206                name: "e,changed,state,disconnect";
8207                signal: "e,changed,state,disconnect";
8208                source: "e";
8209                action: STATE_SET "default" 0.0;
8210                target: "state-clipper";
8211                target: "state-inverted-clipper";
8212                after: "state-connecting-stop";
8213             }
8214             program {
8215                name: "e,changed,state,idle";
8216                signal: "e,changed,state,idle";
8217                source: "e";
8218                action: STATE_SET "default" 0.0;
8219                target: "state-clipper";
8220                target: "state-inverted-clipper";
8221                after: "state-connecting-stop";
8222             }
8223             program {
8224                name: "e,changed,state,association";
8225                signal: "e,changed,state,association";
8226                source: "e";
8227                action: STATE_SET "inverted" 0.0;
8228                target: "state-clipper";
8229                target: "state-inverted-clipper";
8230                after: "state-connecting";
8231             }
8232             program {
8233                name: "e,changed,state,configuration";
8234                signal: "e,changed,state,configuration";
8235                source: "e";
8236                action: STATE_SET "inverted" 0.0;
8237                target: "state-clipper";
8238                target: "state-inverted-clipper";
8239                after: "state-connecting";
8240             }
8241             program {
8242                name: "state-connecting-stop";
8243                action: ACTION_STOP;
8244                target: "state-connecting";
8245                after: "state-connecting-stop2";
8246             }
8247             program {
8248                name: "state-connecting-stop2";
8249                action: STATE_SET "default" 0.0;
8250                target: "connecting";
8251             }
8252             program {
8253                name: "state-connecting";
8254                action: STATE_SET "connecting" 0.0;
8255                target: "connecting";
8256                transition: LINEAR 0.5333;
8257                after: "state-connecting";
8258             }
8259          }
8260          part {
8261             name: "disconnected-visibility";
8262             type: RECT;
8263             mouse_events: 0;
8264             clip_to: "state-clipper";
8265             description {
8266                state: "default" 0.0;
8267                color: 255 255 255 0;
8268                visible: 0;
8269             }
8270             description {
8271                state: "visible" 0.0;
8272                inherit: "default" 0.0;
8273                color: 255 255 255 255;
8274                visible: 1;
8275             }
8276          }
8277          part {
8278             name: "disconnected";
8279             type: IMAGE;
8280             mouse_events: 0;
8281             clip_to: "disconnected-visibility";
8282             description {
8283                state: "default" 0.0;
8284                aspect: 1.0 1.0;
8285                aspect_preference: BOTH;
8286                fixed: 1 1;
8287                image.normal: "connman-disconnect.png";
8288             }
8289             description {
8290                state: "offline" 0.0;
8291                inherit: "default" 0.0;
8292                image.normal: "connman-disconnect-offline.png";
8293             }
8294          }
8295          part {
8296             name: "connecting";
8297             type: IMAGE;
8298             mouse_events: 0;
8299             clip_to: "state-inverted-clipper";
8300             description {
8301                state: "default" 0.0;
8302                aspect: 1.0 1.0;
8303                aspect_preference: BOTH;
8304                fixed: 1 1;
8305                image.normal: "connman-disconnect.png";
8306             }
8307             description {
8308                state: "connecting" 0.0;
8309                inherit: "default" 0.0;
8310                image.tween: "connman-connecting-1.png";
8311                image.tween: "connman-connecting-2.png";
8312                image.tween: "connman-connecting-3.png";
8313                image.normal: "connman-connecting-4.png";
8314             }
8315          }
8316          part {
8317             name: "ethernet-visibility";
8318             type: RECT;
8319             mouse_events: 0;
8320             clip_to: "state-clipper";
8321             description {
8322                state: "default" 0.0;
8323                color: 255 255 255 0;
8324                visible: 0;
8325             }
8326             description {
8327                state: "visible" 0.0;
8328                inherit: "default" 0.0;
8329                color: 255 255 255 255;
8330                visible: 1;
8331             }
8332          }
8333          part {
8334             name: "ethernet";
8335             type: IMAGE;
8336             mouse_events: 0;
8337             clip_to: "ethernet-visibility";
8338             description {
8339                state: "default" 0.0;
8340                aspect: 1.0 1.0;
8341                aspect_preference: BOTH;
8342                fixed: 1 1;
8343                image.normal: "connman-ethernet.png";
8344             }
8345          }
8346          part {
8347             name: "wifi-visibility";
8348             type: RECT;
8349             mouse_events: 0;
8350             clip_to: "state-clipper";
8351             description {
8352                state: "default" 0.0;
8353                color: 255 255 255 0;
8354                visible: 0;
8355             }
8356             description {
8357                state: "visible" 0.0;
8358                inherit: "default" 0.0;
8359                color: 255 255 255 255;
8360                visible: 1;
8361             }
8362          }
8363          part {
8364             name: "wifi";
8365             type: IMAGE;
8366             mouse_events: 0;
8367             clip_to: "wifi-visibility";
8368             description {
8369                state: "default" 0.0;
8370                aspect: 1.0 1.0;
8371                aspect_preference: BOTH;
8372                fixed: 1 1;
8373                image.normal: "connman-wifi-good.png";
8374             }
8375             description {
8376                state: "good" 0.0;
8377                inherit: "default" 0.0;
8378             }
8379             description {
8380                state: "medium" 0.0;
8381                inherit: "default" 0.0;
8382                image.normal: "connman-wifi-medium.png";
8383             }
8384             description {
8385                state: "bad" 0.0;
8386                inherit: "default" 0.0;
8387                image.normal: "connman-wifi-bad.png";
8388             }
8389          }
8390          // TODO: wimax, cellular, bluetooth
8391          programs {
8392             program {
8393                name: "strength,good";
8394                action: STATE_SET "good" 0.0;
8395                target: "wifi";
8396                // add wimax, cellular, bluetooth
8397             }
8398             program {
8399                name: "strength,medium";
8400                action: STATE_SET "medium" 0.0;
8401                target: "wifi";
8402                // add wimax, cellular, bluetooth
8403             }
8404             program {
8405                name: "strength,bad";
8406                action: STATE_SET "bad" 0.0;
8407                target: "wifi";
8408                // add wimax, cellular, bluetooth
8409             }
8410             program {
8411                signal: "e,changed,offline_mode,yes";
8412                source: "e";
8413                action: STATE_SET "offline" 0.0;
8414                target: "disconnected";
8415             }
8416             program {
8417                signal: "e,changed,offline_mode,no";
8418                source: "e";
8419                action: STATE_SET "default" 0.0;
8420                target: "disconnected";
8421             }
8422             program {
8423                name: "e,changed,technology,none";
8424                signal: "e,changed,technology,none";
8425                source: "e";
8426                action: STATE_SET "visible" 0.0;
8427                target: "disconnected-visibility";
8428                after: "e,changed,technology,none,others";
8429             }
8430             program {
8431                name: "e,changed,technology,none,others";
8432                action: STATE_SET "default" 0.0;
8433                target: "ethernet-visibility";
8434                target: "wifi-visibility";
8435                // add wimax, cellular, bluetooth
8436             }
8437             program {
8438                name: "e,changed,technology,ethernet";
8439                signal: "e,changed,technology,ethernet";
8440                source: "e";
8441                action: STATE_SET "visible" 0.0;
8442                target: "ethernet-visibility";
8443                after: "e,changed,technology,ethernet,others";
8444             }
8445             program {
8446                name: "e,changed,technology,ethernet,others";
8447                action: STATE_SET "default" 0.0;
8448                target: "disconnected-visibility";
8449                target: "wifi-visibility";
8450                // add wimax, cellular, bluetooth
8451             }
8452             program {
8453                name: "e,changed,technology,wifi";
8454                signal: "e,changed,technology,wifi";
8455                source: "e";
8456                action: STATE_SET "visible" 0.0;
8457                target: "wifi-visibility";
8458                after: "e,changed,technology,wifi,others";
8459             }
8460             program {
8461                name: "e,changed,technology,wifi,others";
8462                action: STATE_SET "default" 0.0;
8463                target: "disconnected-visibility";
8464                target: "ethernet-visibility";
8465                // add wimax, cellular, bluetooth
8466             }
8467          }
8468          part {
8469             name: "e.text.name";
8470             type: TEXT;
8471             mouse_events: 0;
8472             effect: SOFT_SHADOW;
8473             description {
8474                state: "default" 0.0;
8475                color: 224 224 224 255;
8476                color3: 0 0 0 64;
8477                align: 0.5 1.0;
8478                rel1 {
8479                   relative: 0.0 1.0;
8480                   offset: 0 -20;
8481                }
8482                rel2 {
8483                   relative: 1.0 1.0;
8484                   offset: -1 -1;
8485                }
8486                text {
8487                   font: "Sans";
8488                   size: 8;
8489                   align: 0.5 1.0;
8490                   text: "";
8491                   min: 0 1;
8492                }
8493             }
8494             description {
8495                state: "hidden" 0.0;
8496                inherit: "default" 0.0;
8497                visible: 0;
8498             }
8499          }
8500          programs {
8501             program {
8502                name: "resize";
8503                signal: "resize";
8504                script {
8505                   new x, y, w, h;
8506                   get_geometry(PART:"eventarea", x, y, w, h);
8507                   if (w <= 32)
8508                      set_state(PART:"e.text.name", "hidden", 0.0); 
8509                   else
8510                      set_state(PART:"e.text.name", "default", 0.0);
8511                }
8512             }
8513             program {
8514                name: "e,changed,connected,no";
8515                signal: "e,changed,connected,no";
8516                source: "e";
8517                action: STATE_SET "hidden" 0.0;
8518                target: "e.text.name";
8519             }
8520             program {
8521                name: "e,changed,connected,yes";
8522                signal: "e,changed,connected,yes";
8523                source: "e";
8524                action: STATE_SET "default" 0.0;
8525                target: "e.text.name";
8526             }
8527          }
8528       }
8529    }
8530    group {
8531       /* This group is interesting in that it specifies programs
8532        * after the part that they effect, instead of at the
8533        * end of the group. It is a good demonstation of freestyle
8534        * formatting in edje.
8535        */
8536       name: "e/modules/connman/tip";
8537       images {
8538          image: "inset_sunk.png" COMP;
8539          image: "connman-disconnect.png" COMP;
8540          image: "connman-disconnect-offline.png" COMP;
8541          image: "connman-connecting-1.png" COMP;
8542          image: "connman-connecting-2.png" COMP;
8543          image: "connman-connecting-3.png" COMP;
8544          image: "connman-connecting-4.png" COMP;
8545          image: "connman-ethernet.png" COMP;
8546          image: "connman-wifi.png" COMP;
8547       }
8548       min: 350 148;
8549       script {
8550          public message(Msg_Type:type, id, ...) {
8551             if ((type == MSG_INT) && (id == 1)) {
8552                new strength;
8553                new buf[32];
8554                new Float:val;
8555                strength = getarg(2);
8556                if (strength > 0) {
8557                   val = float(strength) / 100.0;
8558                   snprintf(buf, sizeof(buf), "%d%%", strength);
8559                   set_text(PART:"strength", buf);
8560                   set_drag(PART:"strength_gauge_knob", val, 0.0);
8561                   run_program(PROGRAM:"strength,show");
8562                } 
8563                else run_program(PROGRAM:"strength,hide");
8564                
8565                if (strength >= 65)
8566                   run_program(PROGRAM:"strength,good"); 
8567                else if (strength >= 35)
8568                   run_program(PROGRAM:"strength,medium"); 
8569                else
8570                   run_program(PROGRAM:"strength,bad");
8571             }
8572          }
8573       }
8574       parts {
8575          part {
8576             name: "state-clipper";
8577             type: RECT;
8578             mouse_events: 0;
8579             description {
8580                state: "default" 0.0;
8581                color: 255 255 255 255;
8582             }
8583             description {
8584                state: "inverted" 0.0;
8585                color: 255 255 255 0;
8586                visible: 0;
8587             }
8588          }
8589          part {
8590             name: "state-inverted-clipper";
8591             type: RECT;
8592             mouse_events: 0;
8593             description {
8594                state: "default" 0.0;
8595                color: 255 255 255 0;
8596                visible: 0;
8597             }
8598             description {
8599                state: "inverted" 0.0;
8600                color: 255 255 255 255;
8601                visible: 1;
8602             }
8603          }
8604          programs {
8605             program {
8606                name: "e,changed,state,online";
8607                signal: "e,changed,state,online";
8608                source: "e";
8609                action: STATE_SET "default" 0.0;
8610                target: "state-clipper";
8611                target: "state-inverted-clipper";
8612                after: "state-connecting-stop";
8613             }
8614             program {
8615                name: "e,changed,state,ready";
8616                signal: "e,changed,state,ready";
8617                source: "e";
8618                action: STATE_SET "default" 0.0;
8619                target: "state-clipper";
8620                target: "state-inverted-clipper";
8621                after: "state-connecting-stop";
8622             }
8623             program {
8624                name: "e,changed,state,failure";
8625                signal: "e,changed,state,failure";
8626                source: "e";
8627                action: STATE_SET "default" 0.0;
8628                target: "state-clipper";
8629                target: "state-inverted-clipper";
8630                after: "state-connecting-stop";
8631             }
8632             program {
8633                name: "e,changed,state,disconnect";
8634                signal: "e,changed,state,disconnect";
8635                source: "e";
8636                action: STATE_SET "default" 0.0;
8637                target: "state-clipper";
8638                target: "state-inverted-clipper";
8639                after: "state-connecting-stop";
8640             }
8641             program {
8642                name: "e,changed,state,idle";
8643                signal: "e,changed,state,idle";
8644                source: "e";
8645                action: STATE_SET "default" 0.0;
8646                target: "state-clipper";
8647                target: "state-inverted-clipper";
8648                after: "state-connecting-stop";
8649             }
8650             program {
8651                name: "e,changed,state,association";
8652                signal: "e,changed,state,association";
8653                source: "e";
8654                action: STATE_SET "inverted" 0.0;
8655                target: "state-clipper";
8656                target: "state-inverted-clipper";
8657                after: "state-connecting";
8658             }
8659             program {
8660                name: "e,changed,state,configuration";
8661                signal: "e,changed,state,configuration";
8662                source: "e";
8663                action: STATE_SET "inverted" 0.0;
8664                target: "state-clipper";
8665                target: "state-inverted-clipper";
8666                after: "state-connecting";
8667             }
8668             program {
8669                name: "state-connecting-stop";
8670                action: ACTION_STOP;
8671                target: "state-connecting";
8672                after: "state-connecting-stop2";
8673             }
8674             program {
8675                name: "state-connecting-stop2";
8676                action: STATE_SET "default" 0.0;
8677                target: "connecting";
8678             }
8679             program {
8680                name: "state-connecting";
8681                action: STATE_SET "connecting" 0.0;
8682                target: "connecting";
8683                transition: LINEAR 0.5333;
8684                after: "state-connecting";
8685             }
8686          }
8687          part {
8688             name: "technology";
8689             type: RECT;
8690             mouse_events: 0;
8691             description {
8692                state: "default" 0.0;
8693                color: 255 255 255 0;
8694                min: 128 128;
8695                max: 128 128;
8696                align: 0.0 0.0;
8697                fixed: 1 1;
8698                rel1 {
8699                   relative: 0.0 0.0;
8700                   offset: 10 10;
8701                }
8702                rel2 {
8703                   relative: 0.0 0.0;
8704                   offset: 137 137;
8705                }
8706             }
8707          }
8708          part {
8709             name: "disconnected-visibility";
8710             type: RECT;
8711             mouse_events: 0;
8712             clip_to: "state-clipper";
8713             description {
8714                state: "default" 0.0;
8715                color: 255 255 255 0;
8716                visible: 0;
8717             }
8718             description {
8719                state: "visible" 0.0;
8720                inherit: "default" 0.0;
8721                color: 255 255 255 255;
8722                visible: 1;
8723             }
8724          }
8725          part {
8726             name: "disconnected";
8727             type: IMAGE;
8728             mouse_events: 0;
8729             clip_to: "disconnected-visibility";
8730             description {
8731                state: "default" 0.0;
8732                aspect: 1.0 1.0;
8733                aspect_preference: BOTH;
8734                fixed: 1 1;
8735                image.normal: "connman-disconnect.png";
8736                rel1.to: "technology";
8737                rel2.to: "technology";
8738             }
8739             description {
8740                state: "offline" 0.0;
8741                inherit: "default" 0.0;
8742                image.normal: "connman-disconnect-offline.png";
8743             }
8744          }
8745          programs {
8746             program {
8747                signal: "load";
8748                after: "e,changed,technology,none";
8749             }
8750          }
8751          part {
8752             name: "connecting";
8753             type: IMAGE;
8754             mouse_events: 0;
8755             clip_to: "state-inverted-clipper";
8756             description {
8757                state: "default" 0.0;
8758                aspect: 1.0 1.0;
8759                aspect_preference: BOTH;
8760                fixed: 1 1;
8761                image.normal: "connman-disconnect.png";
8762                rel1.to: "technology";
8763                rel2.to: "technology";
8764             }
8765             description {
8766                state: "connecting" 0.0;
8767                inherit: "default" 0.0;
8768                image.tween: "connman-connecting-1.png";
8769                image.tween: "connman-connecting-2.png";
8770                image.tween: "connman-connecting-3.png";
8771                image.normal: "connman-connecting-4.png";
8772             }
8773          }
8774          part {
8775             name: "ethernet-visibility";
8776             type: RECT;
8777             mouse_events: 0;
8778             clip_to: "state-clipper";
8779             description {
8780                state: "default" 0.0;
8781                color: 255 255 255 0;
8782                visible: 0;
8783             }
8784             description {
8785                state: "visible" 0.0;
8786                inherit: "default" 0.0;
8787                color: 255 255 255 255;
8788                visible: 1;
8789             }
8790          }
8791          part {
8792             name: "ethernet";
8793             type: IMAGE;
8794             mouse_events: 0;
8795             clip_to: "ethernet-visibility";
8796             description {
8797                state: "default" 0.0;
8798                aspect: 1.0 1.0;
8799                aspect_preference: BOTH;
8800                fixed: 1 1;
8801                image.normal: "connman-ethernet.png";
8802                rel1.to: "technology";
8803                rel2.to: "technology";
8804             }
8805          }
8806          part {
8807             name: "wifi-visibility";
8808             type: RECT;
8809             mouse_events: 0;
8810             clip_to: "state-clipper";
8811             description {
8812                state: "default" 0.0;
8813                color: 255 255 255 0;
8814                visible: 0;
8815             }
8816             description {
8817                state: "visible" 0.0;
8818                inherit: "default" 0.0;
8819                color: 255 255 255 255;
8820                visible: 1;
8821             }
8822          }
8823          part {
8824             name: "wifi";
8825             type: IMAGE;
8826             mouse_events: 0;
8827             clip_to: "wifi-visibility";
8828             description {
8829                state: "default" 0.0;
8830                aspect: 1.0 1.0;
8831                aspect_preference: BOTH;
8832                fixed: 1 1;
8833                image.normal: "connman-wifi-good.png";
8834                rel1.to: "technology";
8835                rel2.to: "technology";
8836             }
8837             description {
8838                state: "good" 0.0;
8839                inherit: "default" 0.0;
8840             }
8841             description {
8842                state: "medium" 0.0;
8843                inherit: "default" 0.0;
8844                image.normal: "connman-wifi-medium.png";
8845             }
8846             description {
8847                state: "bad" 0.0;
8848                inherit: "default" 0.0;
8849                image.normal: "connman-wifi-bad.png";
8850             }
8851          }
8852          // TODO: wimax, cellular, bluetooth
8853          programs {
8854             program {
8855                name: "strength,good";
8856                action: STATE_SET "good" 0.0;
8857                target: "wifi";
8858                // add wimax, cellular, bluetooth
8859             }
8860             program {
8861                name: "strength,medium";
8862                action: STATE_SET "medium" 0.0;
8863                target: "wifi";
8864                // add wimax, cellular, bluetooth
8865             }
8866             program {
8867                name: "strength,bad";
8868                action: STATE_SET "bad" 0.0;
8869                target: "wifi";
8870                // add wimax, cellular, bluetooth
8871             }
8872             program {
8873                signal: "e,changed,offline_mode,yes";
8874                source: "e";
8875                action: STATE_SET "offline" 0.0;
8876                target: "disconnected";
8877             }
8878             program {
8879                signal: "e,changed,offline_mode,no";
8880                source: "e";
8881                action: STATE_SET "default" 0.0;
8882                target: "disconnected";
8883             }
8884             program {
8885                name: "e,changed,technology,none";
8886                signal: "e,changed,technology,none";
8887                source: "e";
8888                action: STATE_SET "visible" 0.0;
8889                target: "disconnected-visibility";
8890                after: "e,changed,technology,none,others";
8891             }
8892             program {
8893                name: "e,changed,technology,none,others";
8894                action: STATE_SET "default" 0.0;
8895                target: "ethernet-visibility";
8896                target: "wifi-visibility";
8897                // add wimax, cellular, bluetooth
8898             }
8899             program {
8900                name: "e,changed,technology,ethernet";
8901                signal: "e,changed,technology,ethernet";
8902                source: "e";
8903                action: STATE_SET "visible" 0.0;
8904                target: "ethernet-visibility";
8905                after: "e,changed,technology,ethernet,others";
8906             }
8907             program {
8908                name: "e,changed,technology,ethernet,others";
8909                action: STATE_SET "default" 0.0;
8910                target: "disconnected-visibility";
8911                target: "wifi-visibility";
8912                // add wimax, cellular, bluetooth
8913             }
8914             program {
8915                name: "e,changed,technology,wifi";
8916                signal: "e,changed,technology,wifi";
8917                source: "e";
8918                action: STATE_SET "visible" 0.0;
8919                target: "wifi-visibility";
8920                after: "e,changed,technology,wifi,others";
8921             }
8922             program {
8923                name: "e,changed,technology,wifi,others";
8924                action: STATE_SET "default" 0.0;
8925                target: "disconnected-visibility";
8926                target: "ethernet-visibility";
8927                // add wimax, cellular, bluetooth
8928             }
8929             program {
8930                name: "e,changed,connected,no";
8931                signal: "e,changed,connected,no";
8932                source: "e";
8933                action: STATE_SET "visible" 0.0;
8934                target: "disconnected-visibility";
8935                after: "e,changed,technology,none,others";
8936                after: "strength,hide";
8937                after: "e,changed,connected,no,others";
8938                after: "e,changed,ipv4_address,no";
8939             }
8940             program {
8941                name: "e,changed,connected,no,others";
8942                action: STATE_SET "hidden" 0.0;
8943                target: "e.text.error";
8944             }
8945          }
8946          part {
8947             name: "e.text.name";
8948             type: TEXT;
8949             mouse_events: 0;
8950             effect: SOFT_SHADOW;
8951             description {
8952                state: "default" 0.0;
8953                color: 240 240 240 255;
8954                color3: 0 0 0 64;
8955                align: 0.0 0.0;
8956                fixed: 1 1;
8957                rel1 {
8958                   to_x: "technology";
8959                   relative: 1.0 0.0;
8960                   offset: 10 10;
8961                }
8962                rel2 {
8963                   relative: 1.0 0.0;
8964                   offset: -10 30;
8965                }
8966                text {
8967                   font: "Sans:style=Bold";
8968                   size: 16;
8969                   align: 0.0 0.0;
8970                   text: "";
8971                   min: 1 1;
8972                }
8973             }
8974          }
8975          part {
8976             name: "e.text.state";
8977             type: TEXT;
8978             mouse_events: 0;
8979             description {
8980                state: "default" 0.0;
8981                color: 16 16 16 255;
8982                align: 0.0 0.0;
8983                fixed: 1 1;
8984                rel1 {
8985                   to_x: "technology";
8986                   to_y: "e.text.name";
8987                   relative: 1.0 1.0;
8988                   offset: 10 10;
8989                }
8990                rel2 {
8991                   to_y: "e.text.name";
8992                   relative: 1.0 1.0;
8993                   offset: -10 25;
8994                }
8995                text {
8996                   font: "Sans:style=Bold";
8997                   size: 12;
8998                   align: 0.0 0.0;
8999                   text: "";
9000                   min: 1 1;
9001                }
9002             }
9003          }
9004          part {
9005             name: "strength_gauge_bg";
9006             type: IMAGE;
9007             scale: 1;
9008             mouse_events: 0;
9009             description {
9010                state: "default" 0.0;
9011                min: 100 10;
9012                max: 99999 99999;
9013                rel1 {
9014                   to_x: "technology";
9015                   to_y: "strength";
9016                   relative: 1.0 0.0;
9017                   offset: 10 -2;
9018                }
9019                rel2 {
9020                   to_y: "strength";
9021                   relative: 1.0 1.0;
9022                   offset: -10 1;
9023                }
9024                image {
9025                   normal: "inset_sunk.png";
9026                   border: 6 6 6 6;
9027                }
9028             }
9029             description {
9030                state: "hidden" 0.0;
9031                inherit: "default" 0.0;
9032                visible: 0;
9033                min: 0 0;
9034                max: 0 0;
9035             }
9036          }
9037          part {
9038             name: "strength_gauge_confine";
9039             type: RECT;
9040             scale: 1;
9041             mouse_events: 0;
9042             description {
9043                state: "default" 0.0;
9044                color: 0 255 0 0;
9045                rel1 {
9046                   to: "strength_gauge_bg";
9047                   offset: 1 1;
9048                }
9049                rel2 {
9050                   to: "strength_gauge_bg";
9051                   offset: -2 -2;
9052                }
9053             }
9054             description {
9055                state: "hidden" 0.0;
9056                inherit: "default" 0.0;
9057                visible: 0;
9058             }
9059          }
9060          part {
9061             name: "strength_gauge_knob";
9062             mouse_events: 0;
9063             scale: 1;
9064             type: RECT;
9065             dragable {
9066                x: 1 1 0;
9067                y: 0 0 0;
9068                confine: "strength_gauge_confine";
9069             }
9070             description {
9071                state: "default" 0.0;
9072                min: 0 0;
9073                max: 0 0;
9074             }
9075             description {
9076                state: "hidden" 0.0;
9077                inherit: "default" 0.0;
9078                visible: 0;
9079             }
9080          }
9081          part {
9082             name: "strength_gauge_fill";
9083             mouse_events: 0;
9084             type: RECT;
9085             description {
9086                state: "default" 0.0;
9087                color: 55 55 55 100;
9088                rel1.to: "strength_gauge_confine";
9089                rel2 {
9090                   to_x: "strength_gauge_knob";
9091                   to_y: "strength_gauge_confine";
9092                }
9093             }
9094             description {
9095                state: "hidden" 0.0;
9096                inherit: "default" 0.0;
9097                visible: 0;
9098             }
9099          }
9100          part {
9101             name: "strength";
9102             type: TEXT;
9103             mouse_events: 0;
9104             description {
9105                state: "default" 0.0;
9106                color: 16 16 16 255;
9107                align: 0.5 0.0;
9108                fixed: 1 1;
9109                rel1 {
9110                   to_x: "strength_gauge_confine";
9111                   to_y: "e.text.state";
9112                   relative: 0.5 1.0;
9113                   offset: -1 10;
9114                }
9115                rel2 {
9116                   to_x: "strength_gauge_confine";
9117                   to_y: "e.text.state";
9118                   relative: 0.5 1.0;
9119                   offset: 1 25;
9120                }
9121                text {
9122                   font: "Sans";
9123                   size: 10;
9124                   align: 0.5 0.5;
9125                   text: "";
9126                   min: 1 1;
9127                }
9128             }
9129             description {
9130                state: "hidden" 0.0;
9131                inherit: "default" 0.0;
9132                visible: 0;
9133                rel1 {
9134                   to_x: "technology";
9135                   to_y: "e.text.state";
9136                   relative: 1.0 1.0;
9137                   offset: 0 0;
9138                }
9139                rel2 {
9140                   /* = rel1 */
9141                   to_x: "technology";
9142                   to_y: "e.text.state";
9143                   relative: 1.0 1.0;
9144                   offset: 0 0;
9145                }
9146             }
9147          }
9148          programs {
9149             program {
9150                name: "strength,show";
9151                action: STATE_SET "default" 0.0;
9152                target: "strength";
9153                target: "strength_gauge_bg";
9154                target: "strength_gauge_confine";
9155                target: "strength_gauge_knob";
9156                target: "strength_gauge_fill";
9157             }
9158             program {
9159                name: "strength,hide";
9160                action: STATE_SET "hidden" 0.0;
9161                target: "strength";
9162                target: "strength_gauge_bg";
9163                target: "strength_gauge_confine";
9164                target: "strength_gauge_knob";
9165                target: "strength_gauge_fill";
9166             }
9167          }
9168          part {
9169             name: "e.text.error";
9170             type: TEXT;
9171             mouse_events: 0;
9172             description {
9173                state: "default" 0.0;
9174                color: 255 96 96 255;
9175                align: 0.0 0.0;
9176                fixed: 1 1;
9177                rel1 {
9178                   to_x: "technology";
9179                   to_y: "strength";
9180                   relative: 1.0 1.0;
9181                   offset: 10 10;
9182                }
9183                rel2 {
9184                   to_y: "strength";
9185                   relative: 1.0 1.0;
9186                   offset: -10 25;
9187                }
9188                text {
9189                   font: "Sans";
9190                   size: 10;
9191                   align: 0.0 0.0;
9192                   text: "";
9193                   min: 1 1;
9194                }
9195             }
9196             description {
9197                state: "hidden" 0.0;
9198                inherit: "default" 0.0;
9199                visible: 0;
9200                max: 0 0;
9201                rel1 {
9202                   to_x: "technology";
9203                   to_y: "strength";
9204                   relative: 1.0 1.0;
9205                   offset: 0 0;
9206                }
9207                rel2 {
9208                   /* = rel1 */
9209                   to_x: "technology";
9210                   to_y: "strength";
9211                   relative: 1.0 1.0;
9212                   offset: 0 0;
9213                }
9214             }
9215          }
9216          programs {
9217             program {
9218                name: "e,changed,error,yes";
9219                signal: "e,changed,error,yes";
9220                source: "e";
9221                action: STATE_SET "default" 0.0;
9222                target: "e.text.error";
9223             }
9224             program {
9225                name: "e,changed,error,no";
9226                signal: "e,changed,error,no";
9227                source: "e";
9228                action: STATE_SET "hidden" 0.0;
9229                target: "e.text.error";
9230             }
9231          }
9232          part {
9233             name: "e.text.ipv4_address";
9234             type: TEXT;
9235             mouse_events: 0;
9236             description {
9237                state: "default" 0.0;
9238                color: 96 96 96 255;
9239                align: 0.0 0.0;
9240                fixed: 1 1;
9241                rel1 {
9242                   to_x: "technology";
9243                   to_y: "e.text.error";
9244                   relative: 1.0 1.0;
9245                   offset: 10 10;
9246                }
9247                rel2 {
9248                   to_y: "e.text.error";
9249                   relative: 1.0 1.0;
9250                   offset: -10 25;
9251                }
9252                text {
9253                   font: "Sans";
9254                   size: 10;
9255                   align: 0.0 0.0;
9256                   text: "";
9257                   min: 1 1;
9258                }
9259             }
9260             description {
9261                state: "hidden" 0.0;
9262                inherit: "default" 0.0;
9263                max: 0 0;
9264                visible: 0;
9265                rel1 {
9266                   to_x: "technology";
9267                   to_y: "e.text.error";
9268                   relative: 1.0 1.0;
9269                   offset: 0 0;
9270                }
9271                rel2 {
9272                   /* = rel1 */
9273                   to_x: "technology";
9274                   to_y: "e.text.error";
9275                   relative: 1.0 1.0;
9276                   offset: 0 0;
9277                }
9278             }
9279          }
9280          programs {
9281             program {
9282                name: "e,changed,ipv4_address,yes";
9283                signal: "e,changed,ipv4_address,yes";
9284                source: "e";
9285                action: STATE_SET "default" 0.0;
9286                target: "e.text.ipv4_address";
9287             }
9288             program {
9289                name: "e,changed,ipv4_address,no";
9290                signal: "e,changed,ipv4_address,no";
9291                source: "e";
9292                action: STATE_SET "hidden" 0.0;
9293                target: "e.text.ipv4_address";
9294             }
9295          }
9296          part {
9297             name: "e.text.offline_mode";
9298             type: TEXT;
9299             mouse_events: 0;
9300             description {
9301                state: "default" 0.0;
9302                color: 16 16 16 255;
9303                align: 0.0 0.0;
9304                fixed: 1 1;
9305                rel1 {
9306                   to_x: "technology";
9307                   to_y: "e.text.ipv4_address";
9308                   relative: 1.0 1.0;
9309                   offset: 10 10;
9310                }
9311                rel2 {
9312                   to_y: "e.text.ipv4_address";
9313                   relative: 1.0 1.0;
9314                   offset: -10 25;
9315                }
9316                text {
9317                   font: "Sans";
9318                   size: 10;
9319                   align: 0.0 0.0;
9320                   text: "";
9321                   min: 1 1;
9322                }
9323             }
9324             description {
9325                state: "hidden" 0.0;
9326                inherit: "default" 0.0;
9327                max: 0 0;
9328                visible: 0;
9329                rel1 {
9330                   to_x: "technology";
9331                   to_y: "e.text.ipv4_address";
9332                   relative: 1.0 1.0;
9333                   offset: 0 0;
9334                }
9335                rel2 {
9336                   /* = rel1 */
9337                   to_x: "technology";
9338                   to_y: "e.text.ipv4_address";
9339                   relative: 1.0 1.0;
9340                   offset: 0 0;
9341                }
9342             }
9343          }
9344          programs {
9345             program {
9346                name: "e,changed,offline_mode,yes";
9347                signal: "e,changed,offline_mode,yes";
9348                source: "e";
9349                action: STATE_SET "default" 0.0;
9350                target: "e.text.offline_mode";
9351             }
9352             program {
9353                name: "e,changed,offline_mode,no";
9354                signal: "e,changed,offline_mode,no";
9355                source: "e";
9356                action: STATE_SET "hidden" 0.0;
9357                target: "e.text.offline_mode";
9358             }
9359          }
9360       }
9361    }
9362
9363
9364 /////////////////////////////////////////////////////////////////////////////
9365 /*** MOD: BLUEZ ***/
9366
9367    group {
9368       name: "e/modules/bluez/main";
9369       images {
9370          image: "bluetooth-powered.png" COMP;
9371          image: "bluetooth-inactive.png" COMP;
9372          image: "bluetooth-hidden.png" COMP;
9373       }
9374       //max: 128 128;
9375       min: 16 16;
9376       parts {
9377          part {
9378             name: "eventarea";
9379             type: RECT;
9380             mouse_events: 1;
9381             description {
9382                state: "default" 0.0;
9383                color: 255 255 255 0;
9384             }
9385          }
9386          part {
9387             name: "state-clipper";
9388             type: RECT;
9389             mouse_events: 0;
9390             description {
9391                state: "default" 0.0;
9392                color: 255 255 255 255;
9393             }
9394          }
9395          part {
9396             name: "state";
9397             type: IMAGE;
9398             mouse_events: 0;
9399             clip_to: "state-clipper";
9400             description {
9401                state: "default" 0.0;
9402                aspect: 1.0 1.0;
9403                aspect_preference: BOTH;
9404                fixed: 1 1;
9405                image.normal: "bluetooth-inactive.png";
9406             }
9407             description {
9408                state: "powered" 0.0;
9409                inherit: "default" 0.0;
9410                image.normal: "bluetooth-powered.png";
9411             }
9412             description {
9413                state: "hidden" 0.0;
9414                inherit: "default" 0.0;
9415                image.normal: "bluetooth-hidden.png";
9416             }
9417          }
9418          programs {
9419             program {
9420                signal: "e,changed,service,none";
9421                source: "e";
9422                action: STATE_SET "default" 0.0;
9423                target: "state";
9424             }
9425             program {
9426                signal: "e,changed,off";
9427                source: "e";
9428                action: STATE_SET "default" 0.0;
9429                target: "state";
9430             }
9431             program {
9432                signal: "e,changed,powered";
9433                source: "e";
9434                action: STATE_SET "powered" 0.0;
9435                target: "state";
9436             }
9437             program {
9438                signal: "e,changed,hidden";
9439                source: "e";
9440                action: STATE_SET "hidden" 0.0;
9441                target: "state";
9442             }
9443          }
9444          part {
9445             name: "e.text.name";
9446             type: TEXT;
9447             mouse_events: 0;
9448             effect: SOFT_SHADOW;
9449             description {
9450                state: "default" 0.0;
9451                color: 224 224 224 255;
9452                color3: 0 0 0 64;
9453                align: 0.5 1.0;
9454                rel1 {
9455                   relative: 0.0 1.0;
9456                   offset: 0 -20;
9457                }
9458                rel2 {
9459                   relative: 1.0 1.0;
9460                   offset: -1 -1;
9461                }
9462                text {
9463                   font: "Sans";
9464                   size: 8;
9465                   align: 0.5 1.0;
9466                   text: "";
9467                   min: 1 1;
9468                }
9469             }
9470             description {
9471                state: "hidden" 0.0;
9472                inherit: "default" 0.0;
9473                visible: 0;
9474             }
9475          }
9476          programs {
9477             program {
9478                name: "resize";
9479                signal: "resize";
9480                script {
9481                   new x, y, w, h, tx, ty, tw, th;
9482                   get_geometry(PART:"eventarea", x, y, w, h);
9483                   get_geometry(PART:"e.text.name", tx, ty, tw, th);
9484                   if ((w <= 32) || (tw >= w))
9485                      set_state(PART:"e.text.name", "hidden", 0.0); 
9486                   else
9487                      set_state(PART:"e.text.name", "default", 0.0);
9488                }
9489             }
9490             program {
9491                signal: "e,changed,name";
9492                source: "e";
9493                action: STATE_SET "default" 0.0;
9494                // show so calcs take effect!
9495                target: "e.text.name";
9496                after: "resize";
9497             }
9498          }
9499       }
9500    }
9501    group {
9502       name: "e/modules/bluez/tip";
9503       images {
9504          image: "bluetooth-powered.png" COMP;
9505          image: "bluetooth-inactive.png" COMP;
9506          image: "bluetooth-hidden.png" COMP;
9507       }
9508       min: 200 84;
9509       parts {
9510          part {
9511             name: "state-clipper";
9512             type: RECT;
9513             mouse_events: 0;
9514             description {
9515                state: "default" 0.0;
9516                color: 255 255 255 255;
9517             }
9518          }
9519          part {
9520             name: "state";
9521             type: IMAGE;
9522             mouse_events: 0;
9523             clip_to: "state-clipper";
9524             description {
9525                state: "default" 0.0;
9526                aspect: 1.0 1.0;
9527                aspect_preference: BOTH;
9528                fixed: 1 1;
9529                rel1 {
9530                   relative: 0.0 0.0;
9531                   offset: 10 10;
9532                }
9533                rel2 {
9534                   relative: 0.0 0.0;
9535                   offset: 73 73;
9536                }
9537                image.normal: "bluetooth-inactive.png";
9538             }
9539             description {
9540                state: "powered" 0.0;
9541                inherit: "default" 0.0;
9542                image.normal: "bluetooth-powered.png";
9543             }
9544             description {
9545                state: "hidden" 0.0;
9546                inherit: "default" 0.0;
9547                image.normal: "bluetooth-hidden.png";
9548             }
9549          }
9550          programs {
9551             program {
9552                signal: "e,changed,off";
9553                source: "e";
9554                action: STATE_SET "default" 0.0;
9555                target: "state";
9556             }
9557             program {
9558                signal: "e,changed,powered";
9559                source: "e";
9560                action: STATE_SET "powered" 0.0;
9561                target: "state";
9562             }
9563             program {
9564                signal: "e,changed,hidden";
9565                source: "e";
9566                action: STATE_SET "hidden" 0.0;
9567                target: "state";
9568             }
9569          }
9570          part {
9571             name: "e.text.name";
9572             type: TEXT;
9573             mouse_events: 0;
9574             effect: SOFT_SHADOW;
9575             description {
9576                state: "default" 0.0;
9577                color: 240 240 240 255;
9578                color3: 0 0 0 64;
9579                align: 0.0 0.0;
9580                rel1 {
9581                   to_x: "state";
9582                   relative: 1.0 0.0;
9583                   offset: 10 20;
9584                }
9585                rel2 {
9586                   relative: 1.0 0.0;
9587                   offset: -10 40;
9588                }
9589                text {
9590                   font: "Sans:style=Bold";
9591                   size: 16;
9592                   align: 0.0 0.0;
9593                   text: "Bluetooth Manager";
9594                   min: 1 0;
9595                }
9596             }
9597          }
9598          part {
9599             name: "e.text.status";
9600             type: TEXT;
9601             mouse_events: 0;
9602             clip_to: "state-clipper";
9603             description {
9604                state: "default" 0.0;
9605                color: 16 16 16 255;
9606                rel1 {
9607                   to_y: "e.text.name";
9608                   to_x: "state";
9609                   relative: 1.0 1.0;
9610                   offset: 10 10;
9611                }
9612                rel2 {
9613                   to_y: "e.text.name";
9614                   relative: 1.0 1.0;
9615                   offset: -10 25;
9616                }
9617                text {
9618                   font: "Sans";
9619                   size: 10;
9620                   align: 0.0 0.0;
9621                   text: "";
9622                   min: 1 0;
9623                }
9624             }
9625          }
9626       }
9627    }
9628
9629
9630 /////////////////////////////////////////////////////////////////////////////
9631 /*** MOD: OFONO ***/
9632
9633 // GADGET and TIP all have the same parts and signals:
9634 //
9635 // PARTS:
9636 //    e.text.name
9637 //    e.text.status
9638 //    e.text.op
9639 //
9640 // SIGNALS:
9641 //    e,unavailable: ofonod is not running (nothing else works)
9642 //    e,available: ofonod is running
9643 //    e,name,available: there is info about device name
9644 //    e,name,unavailable: there is no info about device name
9645 //    e,netinfo,available: there is info about network
9646 //    e,netinfo,unavailable: there is no info about network
9647 //
9648 // MESSAGES:
9649 //    id=1, type=MSG_INT, description=strength (0-100)
9650
9651    group {
9652       name: "e/modules/ofono/main";
9653       max: 128 128;
9654       min: 1 1;
9655       images {
9656          image: "gsm_0.png" COMP;
9657          image: "gsm_1.png" COMP;
9658          image: "gsm_2.png" COMP;
9659          image: "gsm_3.png" COMP;
9660          image: "gsm_4.png" COMP;
9661          image: "gsm_no.png" COMP;
9662       }
9663       script {
9664          public message(Msg_Type:type, id, ...) {
9665             if ((type == MSG_INT) && (id == 1)) {
9666                new strength;
9667                strength = getarg(2);
9668                if (strength >= 80)
9669                   run_program(PROGRAM:"strength,5");
9670                else if (strength >= 60)
9671                   run_program(PROGRAM:"strength,4");
9672                else if (strength >= 40)
9673                   run_program(PROGRAM:"strength,3");
9674                else if (strength >= 20)
9675                   run_program(PROGRAM:"strength,2");
9676                else if (strength >= 1)
9677                   run_program(PROGRAM:"strength,1");
9678                else
9679                   run_program(PROGRAM:"strength,no");
9680             }
9681          }
9682       }
9683       parts {
9684          part {
9685             name: "eventarea";
9686             type: RECT;
9687             mouse_events: 1;
9688             description {
9689                state: "default" 0.0;
9690                color: 255 255 255 0;
9691             }
9692          }
9693          part {
9694             name: "eventarea.image";
9695             type: IMAGE;
9696             description {
9697                state: "default" 0.0;
9698                aspect: 1.6 1.7;
9699                aspect_preference: HORIZONTAL;
9700                image.normal: "gsm_no.png";
9701                rel1.to: "eventarea";
9702                rel2.to: "eventarea";
9703             }
9704             description {
9705                state: "strength,5" 0.0;
9706                inherit: "default" 0.0;
9707                image.normal: "gsm_4.png";
9708             }
9709             description {
9710                state: "strength,4" 0.0;
9711                inherit: "default" 0.0;
9712                image.normal: "gsm_3.png";
9713             }
9714             description {
9715                state: "strength,3" 0.0;
9716                inherit: "default" 0.0;
9717                image.normal: "gsm_2.png";
9718             }
9719             description {
9720                state: "strength,2" 0.0;
9721                inherit: "default" 0.0;
9722                image.normal: "gsm_1.png";
9723             }
9724             description {
9725                state: "strength,1" 0.0;
9726                inherit: "default" 0.0;
9727                image.normal: "gsm_0.png";
9728             }
9729             description {
9730                state: "strength,no" 0.0;
9731                inherit: "default" 0.0;
9732                image.normal: "gsm_no.png";
9733             }
9734             description {
9735                state: "disabled" 0.0;
9736                inherit: "default" 0.0;
9737                color: 255 255 255 100;
9738             }
9739          }
9740          programs {
9741             program {
9742                name: "strength,5";
9743                action: STATE_SET "strength,5" 0.0;
9744                target: "eventarea.image";
9745             }
9746             program {
9747                name: "strength,4";
9748                action: STATE_SET "strength,4" 0.0;
9749                target: "eventarea.image";
9750             }
9751             program {
9752                name: "strength,3";
9753                action: STATE_SET "strength,3" 0.0;
9754                target: "eventarea.image";
9755             }
9756             program {
9757                name: "strength,2";
9758                action: STATE_SET "strength,2" 0.0;
9759                target: "eventarea.image";
9760             }
9761             program {
9762                name: "strength,1";
9763                action: STATE_SET "strength,1" 0.0;
9764                target: "eventarea.image";
9765             }
9766             program {
9767                name: "strength,0";
9768                action: STATE_SET "strength,0" 0.0;
9769                target: "eventarea.image";
9770             }
9771             program {
9772                name: "strength,no";
9773                action: STATE_SET "strength,no" 0.0;
9774                target: "eventarea.image";
9775             }
9776             program {
9777                name: "e,available";
9778                signal: "e,available";
9779                source: "e";
9780                action: STATE_SET "default" 0.0;
9781                target: "eventarea.image";
9782             }
9783             program {
9784                name: "e,unavailable";
9785                signal: "e,unavailable";
9786                source: "e";
9787                action: STATE_SET "disabled" 0.0;
9788                target: "eventarea.image";
9789             }
9790             program {
9791                name: "netinfo,unavailable";
9792                signal: "e,netinfo,unavailable";
9793                source: "e";
9794                action: STATE_SET "default" 0.0;
9795                target: "eventarea.image";
9796             }
9797          }
9798          part {
9799             name: "e.text.name";
9800             type: TEXT;
9801             mouse_events: 0;
9802             effect: SOFT_SHADOW;
9803             description {
9804                state: "default" 0.0;
9805                color: 224 224 224 255;
9806                color3: 0 0 0 64;
9807                align: 0.5 1.0;
9808                rel1 {
9809                   relative: 0.0 1.0;
9810                   offset: 0 -20;
9811                }
9812                rel2 {
9813                   relative: 1.0 1.0;
9814                   offset: -1 -1;
9815                }
9816                text {
9817                   font: "Sans";
9818                   size: 8;
9819                   align: 0.5 1.0;
9820                   text: "";
9821                   min: 0 1;
9822                }
9823             }
9824             description {
9825                state: "hidden" 0.0;
9826                inherit: "default" 0.0;
9827                visible: 0;
9828             }
9829          }
9830          programs {
9831             program {
9832                name: "resize";
9833                signal: "resize";
9834                script {
9835                   new x, y, w, h;
9836                   get_geometry(PART:"eventarea", x, y, w, h);
9837                   if (w <= 32)
9838                      set_state(PART:"e.text.name", "hidden", 0.0); 
9839                   else
9840                      set_state(PART:"e.text.name", "default", 0.0);
9841                }
9842             }
9843          }
9844       }
9845    }
9846    group {
9847       name: "e/modules/ofono/tip";
9848       min: 220 80;
9849       images {
9850          image: "inset_sunk.png" COMP;
9851       }
9852       script {
9853          public message(Msg_Type:type, id, ...) {
9854             if ((type == MSG_INT) && (id == 1)) {
9855                new strength;
9856                new Float:val;
9857                strength = getarg(2);
9858                val = float(strength) / 100.0;
9859                set_drag(PART:"strength_gauge_knob", val, 0.0);
9860             }
9861          }
9862       }
9863       parts {
9864          part {
9865             name: "e.text.error";
9866             type: TEXT;
9867             mouse_events: 0;
9868             description {
9869                state: "default" 0.0;
9870                color: 150 150 150 255;
9871                fixed: 1 1;
9872                visible: 0;
9873                text {
9874                   font: "Sans:style=Bold";
9875                   size: 16;
9876                   text: "";
9877                   min: 1 1;
9878                }
9879             }
9880             description {
9881                state: "shown" 0.0;
9882                inherit: "default" 0.0;
9883                visible: 1;
9884             }
9885          }
9886          programs {
9887             program {
9888                name: "error,e,available";
9889                signal: "e,available";
9890                source: "e";
9891                action: STATE_SET "default" 0.0;
9892                target: "e.text.error";
9893             }
9894             program {
9895                name: "error,e,unavailable";
9896                signal: "e,unavailable";
9897                source: "e";
9898                action: STATE_SET "shown" 0.0;
9899                target: "e.text.error";
9900             }
9901             program {
9902                name: "error,netinfo,available";
9903                signal: "e,netinfo,available";
9904                source: "e";
9905                action: STATE_SET "default" 0.0;
9906                target: "e.text.error";
9907             }
9908             program {
9909                name: "error,netinfo,unavailable";
9910                signal: "e,netinfo,unavailable";
9911                source: "e";
9912                action: STATE_SET "shown" 0.0;
9913                target: "e.text.error";
9914             }
9915          }
9916          part {
9917             name: "e.text.name";
9918             type: TEXT;
9919             mouse_events: 0;
9920             effect: SOFT_SHADOW;
9921             description {
9922                state: "default" 0.0;
9923                color: 240 240 240 255;
9924                color3: 0 0 0 64;
9925                align: 0.0 0.0;
9926                fixed: 1 1;
9927                visible: 0;
9928                rel1 {
9929                   relative: 0.0 0.0;
9930                   offset: 10 5;
9931                }
9932                text {
9933                   font: "Sans:style=Bold";
9934                   size: 16;
9935                   align: 0.0 0.0;
9936                   text: "";
9937                   min: 1 1;
9938                }
9939             }
9940             description {
9941                state: "shown" 0.0;
9942                inherit: "default" 0.0;
9943                visible: 1;
9944             }
9945          }
9946          programs {
9947             program {
9948                name: "name,available";
9949                signal: "e,available";
9950                source: "e";
9951                action: STATE_SET "default" 0.0;
9952                target: "e.text.name";
9953             }
9954             program {
9955                name: "name,unavailable";
9956                signal: "e,unavailable";
9957                source: "e";
9958                action: STATE_SET "shown" 0.0;
9959                target: "e.text.name";
9960             }
9961          }
9962          part {
9963             name: "e.text.op";
9964             type: TEXT;
9965             mouse_events: 0;
9966             effect: SOFT_SHADOW;
9967             description {
9968                state: "default" 0.0;
9969                color: 240 240 240 255;
9970                color3: 0 0 0 64;
9971                align: 0.0 0.0;
9972                fixed: 1 1;
9973                visible: 1;
9974                rel1 {
9975                   relative: 0.0 0.0;
9976                   offset: 10 5;
9977                }
9978                text {
9979                   font: "Sans:style=Bold";
9980                   size: 16;
9981                   align: 0.0 0.0;
9982                   text: "";
9983                   min: 1 1;
9984                }
9985             }
9986             description {
9987                state: "hidden" 0.0;
9988                inherit: "default" 0.0;
9989                visible: 0;
9990             }
9991          }
9992          programs {
9993             program {
9994                name: "op,available";
9995                signal: "e,available";
9996                source: "e";
9997                action: STATE_SET "default" 0.0;
9998                target: "e.text.op";
9999             }
10000             program {
10001                name: "op,unavailable";
10002                signal: "e,unavailable";
10003                source: "e";
10004                action: STATE_SET "hidden" 0.0;
10005                target: "e.text.op";
10006             }
10007             program {
10008                name: "op,netinfo,unavailable";
10009                signal: "e,netinfo,unavailable";
10010                source: "e";
10011                action: STATE_SET "hidden" 0.0;
10012                target: "e.text.op";
10013             }
10014          }
10015          part {
10016             name: "e.text.status";
10017             type: TEXT;
10018             mouse_events: 0;
10019             description {
10020                state: "default" 0.0;
10021                color: 0 0 0 255;
10022                align: 0.0 0.0;
10023                fixed: 1 1;
10024                visible: 0;
10025                rel1 {
10026                   relative: 0.0 0.0;
10027                   offset: 10 30;
10028                }
10029                text {
10030                   font: "Sans";
10031                   size: 10;
10032                   align: 0.0 0.0;
10033                   text: "";
10034                   min: 1 1;
10035                }
10036             }
10037             description {
10038                state: "shown" 0.0;
10039                inherit: "default" 0.0;
10040                visible: 1;
10041             }
10042          }
10043          programs {
10044             program {
10045                name: "status,available";
10046                signal: "e,netinfo,available";
10047                source: "e";
10048                action: STATE_SET "shown" 0.0;
10049                target: "e.text.status";
10050             }
10051             program {
10052                name: "status,unavailable";
10053                signal: "e,netinfo,unavailable";
10054                source: "e";
10055                action: STATE_SET "default" 0.0;
10056                target: "e.text.status";
10057             }
10058          }
10059          part {
10060             name: "strength_gauge_bg";
10061             type: IMAGE;
10062             scale: 1;
10063             mouse_events: 0;
10064             description {
10065                state: "default" 0.0;
10066                min: 100 10;
10067                max: 99999 99999;
10068                visible: 0;
10069                rel1 {
10070                   relative: 0.0 0.0;
10071                   offset: 10 55;
10072                }
10073                rel2 {
10074                   relative: 1.0 1.0;
10075                   offset: -10 -10;
10076                }
10077                image {
10078                   normal: "inset_sunk.png";
10079                   border: 6 6 6 6;
10080                }
10081             }
10082             description {
10083                state: "shown" 0.0;
10084                inherit: "default" 0.0;
10085                visible: 1;
10086             }
10087          }
10088          programs {
10089             program {
10090                name: "strength,available";
10091                signal: "e,netinfo,available";
10092                source: "e";
10093                action: STATE_SET "shown" 0.0;
10094                target: "strength_gauge_bg";
10095             }
10096             program {
10097                name: "strength,unavailable";
10098                signal: "e,netinfo,unavailable";
10099                source: "e";
10100                action: STATE_SET "default" 0.0;
10101                target: "strength_gauge_bg";
10102             }
10103          }
10104          part {
10105             name: "strength_gauge_confine";
10106             type: RECT;
10107             scale: 1;
10108             mouse_events: 0;
10109             description {
10110                state: "default" 0.0;
10111                color: 255 255 255 0;
10112                visible: 0;
10113                rel1 {
10114                   to: "strength_gauge_bg";
10115                   offset: 1 1;
10116                }
10117                rel2 {
10118                   to: "strength_gauge_bg";
10119                   offset: -2 -2;
10120                }
10121             }
10122          }
10123          part {
10124             name: "strength_gauge_knob";
10125             mouse_events: 0;
10126             scale: 1;
10127             type: RECT;
10128             dragable {
10129                x: 1 1 0;
10130                y: 0 0 0;
10131                confine: "strength_gauge_confine";
10132                confine: "strength_gauge_bg";
10133             }
10134             description {
10135                state: "default" 0.0;
10136                color: 255 255 255 0;
10137                visible: 0;
10138                min: 0 0;
10139                max: 0 0;
10140             }
10141          }
10142          part {
10143             name: "strength_gauge_fill";
10144             mouse_events: 0;
10145             type: RECT;
10146             description {
10147                state: "default" 0.0;
10148                color: 55 55 55 100;
10149                fixed: 1 1;
10150                rel1.to: "strength_gauge_confine";
10151                rel2 {
10152                   to_x: "strength_gauge_knob";
10153                   to_y: "strength_gauge_confine";
10154                }
10155             }
10156          }
10157       }
10158    }
10159
10160
10161 /////////////////////////////////////////////////////////////////////////////
10162 /*** MOD: CONF_EDGEBINDINGS ***/
10163
10164 /* This group draws the edge and corners for the user to pick.
10165  * XXX: Needs some love from masters of the brush! */
10166
10167    group {
10168       name: "e/modules/conf_edgebindings/selection";
10169       parts {
10170          part {
10171             name: "e.swallow.background";
10172             type: SWALLOW;
10173             mouse_events: 0;
10174             description {
10175                state: "default" 0.0;
10176                min: 210 150;
10177                rel1.offset: 4 4;
10178                rel2 {
10179                   relative: 0.5 1;
10180                   offset: -2 -5;
10181                }
10182             }
10183          }
10184          part {
10185             name: "e.edge.top_left";
10186             type: RECT;
10187             description {
10188                state: "default" 0.0;
10189                rel1 {
10190                   to: "e.swallow.background";
10191                }
10192                rel2 {
10193                   relative: 0 0;
10194                   offset: 20 20;
10195                   to: "e.swallow.background";
10196                }
10197                color: 255 0 0 150;
10198             }
10199          }
10200          part {
10201             name: "e.edge.top";
10202             type: RECT;
10203             description {
10204                state: "default" 0.0;
10205                rel1 {
10206                   offset: 20 0;
10207                   to: "e.swallow.background";
10208                }
10209                rel2 {
10210                   relative: 1 0;
10211                   offset: -20 15;
10212                   to: "e.swallow.background";
10213                }
10214                color: 255 255 0 150;
10215             }
10216          }
10217          part {
10218             name: "e.edge.top_right";
10219             type: RECT;
10220             description {
10221                state: "default" 0.0;
10222                rel1 {
10223                   relative: 1 0;
10224                   offset: -20 0;
10225                   to: "e.swallow.background";
10226                }
10227                rel2 {
10228                   relative: 1 0;
10229                   offset: 0 20;
10230                   to: "e.swallow.background";
10231                }
10232                color: 255 0 0 150;
10233             }
10234          }
10235          part {
10236             name: "e.edge.right";
10237             type: RECT;
10238             description {
10239                state: "default" 0.0;
10240                rel1 {
10241                   relative: 1 0;
10242                   offset: -15 20;
10243                   to: "e.swallow.background";
10244                }
10245                rel2 {
10246                   relative: 1 1;
10247                   offset: 0 -20;
10248                   to: "e.swallow.background";
10249                }
10250                color: 255 255 0 150;
10251             }
10252          }
10253          part {
10254             name: "e.edge.bottom_right";
10255             type: RECT;
10256             description {
10257                state: "default" 0.0;
10258                rel1 {
10259                   relative: 1 1;
10260                   offset: -20 -20;
10261                   to: "e.swallow.background";
10262                }
10263                rel2 {
10264                   relative: 1 1;
10265                   offset: 0 0;
10266                   to: "e.swallow.background";
10267                }
10268                color: 255 0 0 150;
10269             }
10270          }
10271          part {
10272             name: "e.edge.bottom";
10273             type: RECT;
10274             description {
10275                state: "default" 0.0;
10276                rel1 {
10277                   relative: 0 1;
10278                   offset: 20 -15;
10279                   to: "e.swallow.background";
10280                }
10281                rel2 {
10282                   relative: 1 1;
10283                   offset: -20 0;
10284                   to: "e.swallow.background";
10285                }
10286                color: 255 255 0 150;
10287             }
10288          }
10289          part {
10290             name: "e.edge.bottom_left";
10291             type: RECT;
10292             description {
10293                state: "default" 0.0;
10294                rel1 {
10295                   relative: 0 1;
10296                   offset: 0 -20;
10297                   to: "e.swallow.background";
10298                }
10299                rel2 {
10300                   relative: 0 1;
10301                   offset: 20 0;
10302                   to: "e.swallow.background";
10303                }
10304                color: 255 0 0 150;
10305             }
10306          }
10307          part {
10308             name: "e.edge.left";
10309             type: RECT;
10310             description {
10311                state: "default" 0.0;
10312                rel1 {
10313                   relative: 0 0;
10314                   offset: 0 20;
10315                   to: "e.swallow.background";
10316                }
10317                rel2 {
10318                   relative: 0 1;
10319                   offset: 15 -20;
10320                   to: "e.swallow.background";
10321                }
10322                color: 255 255 0 150;
10323             }
10324          }
10325          part {
10326             name: "e.swallow.check";
10327             type: SWALLOW;
10328             description {
10329                state: "default" 0.0;
10330                rel1 {
10331                   relative: 1 1;
10332                   offset: 5 4;
10333                   to_x: "e.swallow.background";
10334                   to_y: "e.text.description";
10335                }
10336                rel2 {
10337                   relative: 1 1;
10338                   offset: -5 30;
10339                   to_y: "e.text.description";
10340                }
10341             }
10342          }
10343          part {
10344             name: "e.swallow.slider";
10345             type: SWALLOW;
10346             description {
10347                state: "default" 0.0;
10348                rel1 {
10349                   relative: 1 1;
10350                   offset: 5 2;
10351                   to_x: "e.swallow.background";
10352                   to_y: "e.swallow.check";
10353                }
10354                rel2 {
10355                   relative: 1 1;
10356                   offset: -5 -5;
10357                }
10358             }
10359          }
10360          part {
10361             name: "e.text.description";
10362             type: TEXTBLOCK;
10363             mouse_events: 0;
10364             scale: 1;
10365             description {
10366                state: "default" 0.0;
10367                rel1 {
10368                   relative: 1 0;
10369                   offset: 5 4;
10370                   to_x: "e.swallow.background";
10371                }
10372                rel2 {
10373                   relative: 1 1;
10374                   offset: -5 -45;
10375                }
10376                text {
10377                   style: "dialog_style";
10378                   min: 1 1;
10379                }
10380             }
10381          }
10382          part {
10383             name: "e.text.selection";
10384             type: TEXT;
10385             effect: SOFT_SHADOW;
10386             mouse_events: 0;
10387             description {
10388                state: "default" 0.0;
10389                align: 0.5 0.5;
10390                rel1 {
10391                   relative: 1 1;
10392                   offset: 5 5;
10393                   to: "e.edge.top_left";
10394                }
10395                rel2 {
10396                   relative: 0 0;
10397                   offset: -5 -5;
10398                   to: "e.edge.bottom_right";
10399                }
10400                color: 224 224 224 255;
10401                color3: 0 0 0 64;
10402                text {
10403                   font: "Sans:style=Bold";
10404                   size: 12;
10405                   align: 0.5 0.5;
10406                   fit: 1 1;
10407                }
10408             }
10409          }
10410       }
10411    }
10412
10413
10414 /////////////////////////////////////////////////////////////////////////////
10415 /*** MOD: START ***/
10416
10417    /* This is for the "start" module - i.e. a "start" button. It simply
10418     * provides such a button/gadget in a shelf that pops up E's main
10419     * menu - a nice familiarity feature for those from the windows world.
10420     * Other than that it really does nothing, so this button can be quite
10421     * imaginative as it has few functional requirements */
10422
10423    group {
10424       name: "e/modules/start/main";
10425       max: 128 128;
10426       images {
10427          image: "logo_white_128.png" COMP;
10428          image: "logo_black_128.png" COMP;
10429       }
10430       parts {
10431          part {
10432             name: "base";
10433             description {
10434                state: "default" 0.0;
10435                aspect: 1.0 1.0;
10436                aspect_preference: BOTH;
10437                image.normal: "logo_white_128.png";
10438             }
10439             description {
10440                state: "active" 0.0;
10441                inherit: "default" 0.0;
10442                visible: 0;
10443                color: 255 255 255 0;
10444             }
10445          }
10446          part {
10447             name: "over";
10448             description {
10449                state: "default" 0.0;
10450                visible: 0;
10451                rel1.relative: -0.5 -0.5;
10452                rel2.relative: 1.5 1.5;
10453                color: 255 255 255 0;
10454                aspect: 1.0 1.0;
10455                aspect_preference: BOTH;
10456                image.normal: "logo_black_128.png";
10457             }
10458             description {
10459                state: "active" 0.0;
10460                inherit: "default" 0.0;
10461                rel1.relative: 0.0 0.0;
10462                rel2.relative: 1.0 1.0;
10463                visible: 1;
10464                color: 255 255 255 255;
10465             }
10466          }
10467       }
10468       programs {
10469          program {
10470             name: "on";
10471             signal: "e,state,focused";
10472             source: "e";
10473             action: STATE_SET "active" 0.0;
10474             transition: LINEAR 0.2;
10475             target: "base";
10476             target: "over";
10477          }
10478          program {
10479             name: "off";
10480             signal: "e,state,unfocused";
10481             source: "e";
10482             action: STATE_SET "default" 0.0;
10483             transition: LINEAR 0.3;
10484             target: "base";
10485             target: "over";
10486          }
10487       }
10488    }
10489
10490
10491 /////////////////////////////////////////////////////////////////////////////
10492 /*** MOD: PAGER ***/
10493
10494    group {
10495       name: "e/modules/pager/popup";
10496       images {
10497          image: "base_bg.png" COMP;
10498          image: "bd_top_hilight.png" COMP;
10499          image: "bd_title_bg.png" COMP;
10500          image: "bd_title_over.png";
10501       }
10502       parts {
10503          part {
10504             name: "base";
10505             mouse_events: 0;
10506             description {
10507                state: "default" 0.0;
10508                image {
10509                   normal: "base_bg.png";
10510                   border: 2 2 2 2;
10511                }
10512                fill.smooth: 0;
10513             }
10514          }
10515          part {
10516             name: "top_hilight";
10517             mouse_events: 0;
10518             description {
10519                state: "default" 0.0;
10520                rel1 {
10521                   relative: 0.0 0.0;
10522                   offset: 0 0;
10523                }
10524                rel2 {
10525                   relative: 1.0 0.0;
10526                   offset: -1 15;
10527                }
10528                image.normal: "bd_top_hilight.png";
10529                fill.smooth: 0;
10530             }
10531          }
10532          part {
10533             name: "title_back";
10534             mouse_events: 0;
10535             description {
10536                state: "default" 0.0;
10537                rel1 {
10538                   relative: 0.0 0.0;
10539                   offset: 4 0;
10540                }
10541                rel2 {
10542                   to_y: "e.text.label";
10543                   relative: 1.0 1.0;
10544                   offset: -5 -4;
10545                }
10546                image {
10547                   normal: "bd_title_bg.png";
10548                   border: 7 7 2 7;
10549                }
10550                fill.smooth: 0;
10551             }
10552          }
10553          part {
10554             name: "e.text.label";
10555             type: TEXT;
10556             mouse_events: 0;
10557             scale: 1;
10558             effect: SOFT_SHADOW;
10559             description {
10560                state: "default" 0.0;
10561                fixed: 1 1;
10562                align: 0.5 0.0;
10563                rel1 {
10564                   relative: 0.0 0.0;
10565                   offset: 0 0;
10566                }
10567                rel2 {
10568                   relative: 1.0 0.0;
10569                   offset: -1 0;
10570                }
10571                color: 224 224 224 255;
10572                color3: 0 0 0 64;
10573                text {
10574                   font: "Sans:style=Bold";
10575                   size: 10;
10576                   align: 0.5 0.0;
10577                   min: 1 1;
10578                }
10579             }
10580          }
10581          part {
10582             name: "title_over";
10583             mouse_events: 0;
10584             description {
10585                state: "default" 0.0;
10586                rel1.to: "title_back";
10587                rel2.to: "title_back";
10588                image {
10589                   normal: "bd_title_over.png";
10590                   border: 7 7 2 7;
10591                }
10592                fill.smooth: 0;
10593             }
10594          }
10595          part {
10596             name: "e.swallow.content";
10597             type: SWALLOW;
10598             description {
10599                state: "default" 0.0;
10600                rel1 {
10601                   to_y: "e.text.label";
10602                   relative: 0.0 1.0;
10603                   offset: 12 11;
10604                }
10605                rel2 {
10606                   relative: 1.0 1.0;
10607                   offset: -13 -13;
10608                }
10609             }
10610          }
10611       }
10612    }
10613    group {
10614       name: "e/modules/pager/desk";
10615       images {
10616          image: "pager_base1.png" COMP;
10617          image: "pager_base2.png" COMP;
10618          image: "pager_hi1.png" COMP;
10619          image: "pager_hi2.png" COMP;
10620          image: "pager_base_pattern.png" COMP;
10621       }
10622       parts {
10623          part {
10624             name: "zoom";
10625             type: RECT;
10626             mouse_events: 0;
10627             description {
10628                state: "default" 0.0;
10629                visible: 0;
10630                rel1.offset: 0 0;
10631                rel2.offset: -1 -1;
10632             }
10633             description {
10634                state: "active" 0.0;
10635                inherit: "default" 0.0;
10636                rel1.offset: -3 -3;
10637                rel2.offset: 2 2;
10638             }
10639          }
10640          part {
10641             name: "base";
10642             description {
10643                state: "default" 0.0;
10644                visible: 1;
10645                color: 255 255 255 255;
10646                rel1 {
10647                   to: "zoom";
10648                   offset: -1 -1;
10649                }
10650                rel2 {
10651                   to: "zoom";
10652                   offset: 0 0;
10653                }
10654                image.normal: "pager_base2.png";
10655                image.border: 5 5 5 5;
10656                fill.smooth: 0;
10657             }
10658             description {
10659                state: "active" 0.0;
10660                inherit: "default" 0.0;
10661                visible: 0;
10662                color: 255 255 255 0;
10663             }
10664          }
10665          part {
10666             name: "base2";
10667             description {
10668                state: "default" 0.0;
10669                visible: 0;
10670                color: 255 255 255 0;
10671                rel1 {
10672                   to: "zoom";
10673                   offset: -11 -11;
10674                }
10675                rel2 {
10676                   to: "zoom";
10677                   offset: 10 10;
10678                }
10679                image.normal: "pager_base1.png";
10680                image.border: 5 5 5 5;
10681                fill.smooth: 0;
10682             }
10683             description {
10684                state: "active" 0.0;
10685                inherit: "default" 0.0;
10686                visible: 1;
10687                color: 255 255 255 255;
10688                rel1.offset: -1 -1;
10689                rel2.offset: 0 0;
10690             }
10691          }
10692          part {
10693             name: "pattern";
10694             mouse_events: 0;
10695             description {
10696                state: "default" 0.0;
10697                visible: 0;
10698                color: 255 255 255 0;
10699                rel1.to: "over2";
10700                rel2.to: "over2";
10701                image.normal: "pager_base_pattern.png";
10702                fill.size.relative: 0.0 0.0;
10703                fill.size.offset: 12 12;
10704             }
10705             description {
10706                state: "active" 0.0;
10707                inherit: "default" 0.0;
10708                visible: 1;
10709                color: 255 255 255 255;
10710             }
10711          }
10712          part {
10713             name: "clip";
10714             type: RECT;
10715             mouse_events: 0;
10716             description {
10717                state: "default" 0.0;
10718                color: 255 255 255 128;
10719                rel1 {
10720                   to: "base";
10721                   offset: 4 4;
10722                }
10723                rel2 {
10724                   to: "base";
10725                   offset: -5 -5;
10726                }
10727             }
10728             description {
10729                state: "active" 0.0;
10730                inherit: "default" 0.0;
10731                color: 255 255 255 255;
10732             }
10733          }
10734          part {
10735             name: "e.swallow.content";
10736             type: SWALLOW;
10737             clip_to: "clip";
10738             description {
10739                state: "default" 0.0;
10740                rel1.to: "clip";
10741                rel2.to: "clip";
10742             }
10743          }
10744          part {
10745             name: "e.text.label";
10746             type: TEXT;
10747             mouse_events: 0;
10748             scale: 1;
10749             description {
10750                state: "default" 0.0;
10751                rel1.to: "clip";
10752                rel2.to: "clip";
10753                color: 0 0 0 0;
10754                color_class: "module_label";
10755                text {
10756                   font: "Sans:style=Bold";
10757                   size: 8;
10758                   align: 0.5 0.5;
10759                   text_class: "module_small";
10760                }
10761             }
10762             description {
10763                state: "active" 0.0;
10764                inherit: "default" 0.0;
10765                color: 0 0 0 128;
10766             }
10767          }
10768          part {
10769             name: "over";
10770             mouse_events: 0;
10771             description {
10772                state: "default" 0.0;
10773                visible: 1;
10774                color: 255 255 255 255;
10775                image.normal: "pager_hi2.png";
10776                rel1 {
10777                   to: "base";
10778                   offset: 3 3;
10779                }
10780                rel2 {
10781                   to: "base";
10782                   offset: -4 -4;
10783                }
10784                image.border: 2 2 2 2;
10785                image.middle: 0;
10786                fill.smooth: 0;
10787             }
10788             description {
10789                state: "active" 0.0;
10790                inherit: "default" 0.0;
10791                visible: 0;
10792                color: 255 255 255 0;
10793             }
10794          }
10795          part {
10796             name: "over2";
10797             mouse_events: 0;
10798             description {
10799                state: "default" 0.0;
10800                visible: 0;
10801                color: 255 255 255 0;
10802                image.normal: "pager_hi1.png";
10803                rel1 {
10804                   to: "base2";
10805                   offset: 3 3;
10806                }
10807                rel2 {
10808                   to: "base2";
10809                   offset: -4 -4;
10810                }
10811                image.border: 2 2 2 2;
10812                image.middle: 0;
10813                fill.smooth: 0;
10814             }
10815             description {
10816                state: "active" 0.0;
10817                inherit: "default" 0.0;
10818                visible: 1;
10819                color: 255 255 255 255;
10820             }
10821          }
10822          part {
10823             name: "e.eventarea";
10824             type: RECT;
10825             mouse_events: 1;
10826             repeat_events: 1;
10827             description {
10828                state: "default" 0.0;
10829                visible: 1;
10830                color: 255 255 255 0;
10831             }
10832          }
10833       }
10834       programs {
10835          program {
10836             name: "on";
10837             signal: "e,state,selected";
10838             source: "e";
10839             action: STATE_SET "active" 0.0;
10840             transition: LINEAR 0.2;
10841             target: "base";
10842             target: "base2";
10843             target: "pattern";
10844             target: "clip";
10845             target: "over";
10846             target: "over2";
10847          }
10848          program {
10849             name: "off";
10850             signal: "e,state,unselected";
10851             source: "e";
10852             action: STATE_SET "default" 0.0;
10853             transition: LINEAR 0.3;
10854             target: "base";
10855             target: "base2";
10856             target: "pattern";
10857             target: "clip";
10858             target: "over";
10859             target: "over2";
10860          }
10861          program {
10862             name: "drg";
10863             signal: "e,action,drag,in";
10864             source: "e";
10865             action: STATE_SET "active" 0.0;
10866             transition: SINUSOIDAL 0.2;
10867             target: "zoom";
10868             after: "drg2";
10869          }
10870          program {
10871             name: "drg2";
10872             action: STATE_SET "default" 0.0;
10873             transition: SINUSOIDAL 0.2;
10874             target: "zoom";
10875             after: "drg";
10876          }
10877          program {
10878             name: "ndrg";
10879             signal: "e,action,drag,out";
10880             source: "e";
10881             action: ACTION_STOP;
10882             target: "drg";
10883             target: "drg2";
10884             after: "ndrg2";
10885          }
10886          program {
10887             name: "ndrg2";
10888             action: STATE_SET "default" 0.0;
10889             target: "zoom";
10890          }
10891          program {
10892             name: "name_show";
10893             signal: "mouse,in";
10894             source: "e.eventarea";
10895             action: STATE_SET "active" 0.0;
10896             transition: SINUSOIDAL 0.1;
10897             target: "e.text.label";
10898          }
10899          program {
10900             name: "name_hide";
10901             signal: "mouse,out";
10902             source: "e.eventarea";
10903             action: STATE_SET "default" 0.0;
10904             transition: SINUSOIDAL 0.2;
10905             target: "e.text.label";
10906          }
10907          // don't have any states/anim for urgent windows on a desktop
10908          //    program { name: "xx";
10909          //       signal: "e,state,urgent";
10910          //       source: "e";
10911          //    }
10912          // don't have any states/anim for urgent windows on a desktop
10913          //    program { name: "xx";
10914          //       signal: "e,state,not_urgent";
10915          //       source: "e";
10916          //    }
10917       }
10918    }
10919    group {
10920       name: "e/modules/pager/window";
10921       images {
10922          image: "pager_window.png" COMP;
10923          image: "pager_window_unsel.png" COMP;
10924          image: "exclam.png" COMP;
10925       }
10926       parts {
10927          part {
10928             name: "icon_area";
10929             type: RECT;
10930             description {
10931                state: "default" 0.0;
10932                color: 0 0 0 0;
10933             }
10934          }
10935          part {
10936             name: "icon_area2";
10937             type: RECT;
10938             description {
10939                state: "default" 0.0;
10940                visible: 0;
10941             }
10942             description {
10943                state: "uw0" 0.0;
10944                inherit: "default" 0.0;
10945                rel1.offset: -3 -2;
10946                rel2.offset: -4 -3;
10947             }
10948             description {
10949                state: "uw1" 0.0;
10950                inherit: "default" 0.0;
10951                rel1.offset: 5 -2;
10952                rel2.offset: 4 -3;
10953             }
10954             description {
10955                state: "uw2" 0.0;
10956                inherit: "default" 0.0;
10957                rel1.offset: -1 4;
10958                rel2.offset: -2 3;
10959             }
10960             description {
10961                state: "uw3" 0.0;
10962                inherit: "default" 0.0;
10963                rel1.offset: -2 -1;
10964                rel2.offset: -3 -2;
10965             }
10966             description {
10967                state: "uw4" 0.0;
10968                inherit: "default" 0.0;
10969                rel1.offset: -4 1;
10970                rel2.offset: -5 0;
10971             }
10972          }
10973          part {
10974             name: "base";
10975             mouse_events: 0;
10976             description {
10977                state: "default" 0.0;
10978                rel1 {
10979                   to: "icon_area2";
10980                   offset: -3 -3;
10981                }
10982                rel2 {
10983                   to: "icon_area2";
10984                   offset: 2 2;
10985                }
10986                image.normal: "pager_window_unsel.png";
10987                image.border: 9 9 7 6;
10988             }
10989             description {
10990                state: "focused" 0.0;
10991                inherit: "default" 0.0;
10992                image.normal: "pager_window.png";
10993             }
10994          }
10995          part {
10996             name: "e.swallow.icon";
10997             type: SWALLOW;
10998             description {
10999                state: "default" 0.0;
11000                align: 1.0 1.0;
11001                max: 24  24;
11002                aspect: 1.0 1.0;
11003                aspect_preference: BOTH;
11004                rel1 {
11005                   to: "base";
11006                   offset: 4 7;
11007                }
11008                rel2 {
11009                   to: "base";
11010                   offset: -5 -7;
11011                }
11012             }
11013          }
11014          part {
11015             name: "urgent";
11016             mouse_events: 0;
11017             description {
11018                state: "default" 0.0;
11019                visible: 0;
11020                color: 255 255 255 0;
11021                aspect: 1.0 1.0;
11022                aspect_preference: BOTH;
11023                image.normal: "exclam.png";
11024             }
11025             description {
11026                state: "visible" 0.0;
11027                inherit: "default" 0.0;
11028                visible: 1;
11029                color: 255 255 255 255;
11030             }
11031          }
11032          part {
11033             name: "urgent2";
11034             mouse_events: 0;
11035             description {
11036                state: "default" 0.0;
11037                visible: 0;
11038                color: 255 255 255 0;
11039                aspect: 1.0 1.0;
11040                aspect_preference: BOTH;
11041                image.normal: "exclam.png";
11042             }
11043             description {
11044                state: "visible" 0.0;
11045                inherit: "default" 0.0;
11046                visible: 1;
11047                color: 255 255 255 255;
11048             }
11049             description {
11050                state: "faded" 0.0;
11051                inherit: "default" 0.0;
11052                rel1.relative: -1.0 -1.0;
11053                rel2.relative: 2.0 2.0;
11054                visible: 1;
11055                color: 255 255 255 0;
11056             }
11057          }
11058       }
11059       programs {
11060          program {
11061             name: "focus_in";
11062             signal: "e,state,focused";
11063             source: "e";
11064             action: STATE_SET "focused" 0.0;
11065             target: "base";
11066          }
11067          program {
11068             name: "focus_out";
11069             signal: "e,state,unfocused";
11070             source: "e";
11071             action: STATE_SET "default" 0.0;
11072             target: "base";
11073          }
11074          program {
11075             name: "urgent";
11076             signal: "e,state,urgent";
11077             source: "e";
11078             action: STATE_SET "visible" 0.0;
11079             transition: DECELERATE 0.5;
11080             target: "urgent";
11081             target: "urgent2";
11082             after: "urgent2";
11083          }
11084          program {
11085             name: "urgent2";
11086             action: STATE_SET "faded" 0.0;
11087             transition: LINEAR 0.5;
11088             target: "urgent2";
11089             after: "urgent3";
11090          }
11091          program {
11092             name: "urgent3";
11093             action: STATE_SET "visible" 0.0;
11094             target: "urgent2";
11095             after: "urgent2";
11096          }
11097          program {
11098             name: "urgentw0";
11099             signal: "e,state,urgent";
11100             source: "e";
11101             action: STATE_SET "default" 0.0;
11102             transition: DECELERATE 0.1;
11103             target: "icon_area2";
11104             after: "urgentw1";
11105          }
11106          program {
11107             name: "urgentw1";
11108             action: STATE_SET "uw1" 0.0;
11109             transition: DECELERATE 0.1;
11110             target: "icon_area2";
11111             after: "urgentw2";
11112          }
11113          program {
11114             name: "urgentw2";
11115             action: STATE_SET "uw2" 0.0;
11116             target: "icon_area2";
11117             transition: DECELERATE 0.1;
11118             after: "urgentw3";
11119          }
11120          program {
11121             name: "urgentw3";
11122             action: STATE_SET "uw3" 0.0;
11123             transition: DECELERATE 0.1;
11124             target: "icon_area2";
11125             after: "urgentw4";
11126          }
11127          program {
11128             name: "urgentw4";
11129             action: STATE_SET "uw4" 0.0;
11130             transition: DECELERATE 0.1;
11131             target: "icon_area2";
11132             after: "urgentw0";
11133          }
11134          program {
11135             name: "not_urgent";
11136             signal: "e,state,not_urgent";
11137             source: "e";
11138             action: ACTION_STOP;
11139             target: "urgentw0";
11140             target: "urgentw1";
11141             target: "urgentw2";
11142             target: "urgentw3";
11143             target: "urgentw4";
11144             target: "urgent";
11145             target: "urgent2";
11146             target: "urgent3";
11147             after: "not_urgent2";
11148          }
11149          program {
11150             name: "not_urgent2";
11151             action: STATE_SET "default" 0.0;
11152             target: "urgent";
11153             target: "urgent2";
11154             target: "icon_area2";
11155          }
11156       }
11157    }
11158
11159
11160 /////////////////////////////////////////////////////////////////////////////
11161 /*** MOD: BATTERY ***/
11162
11163    group {
11164       name: "e/modules/battery/main";
11165       images {
11166          image: "batt_base.png" COMP;
11167          image: "batt_level.png" COMP;
11168          image: "batt_over.png" COMP;
11169          image: "batt_power.png" COMP;
11170       }
11171       min: 16 16;
11172       max: 128 128;
11173       script {
11174          public message(Msg_Type:type, id, ...) {
11175             if ((type == MSG_FLOAT) && (id == 1)) {
11176                new Float:val;
11177                new r;
11178                new g;
11179                new b;
11180                val = getfarg(2);
11181                if (val < 0.35) {
11182                   new Float:val1;
11183                   new Float:val2;
11184                   val1 = val - 0.10;
11185                   if (val1 < 0.0) val1 = 0.0;
11186                      val2 = 0.125 - val1;
11187                   if (val2 < 0.0) val2 = 0.0;
11188                      val2 = val2 / 0.125;
11189                      r = round(val2 * 255.0, ROUND);
11190                      val2 = val1;
11191                   if (val2 > 0.125) val2 = 0.125;
11192                      val2 = val2 / 0.125;
11193                      g = round(val2 * 255.0, ROUND);
11194                      b = 0;
11195                } 
11196                else {
11197                   r = 0;
11198                   g = 255;
11199                   b = 0;
11200                }
11201                custom_state(PART:"fill", "default", 0.0);
11202                set_state_val(PART:"fill", STATE_COLOR, r, g, b, 255);
11203                set_state_val(PART:"fill", STATE_COLOR, r, g, b, 255);
11204                set_state_val(PART:"fill", STATE_COLOR, r, g, b, 255);
11205                set_state(PART:"fill", "custom", 0.0);
11206                
11207                custom_state(PART:"fill_clip", "default", 0.0);
11208                set_state_val(PART:"fill_clip", STATE_REL1, 0.0, 1.0 - val);
11209                set_state(PART:"fill_clip", "custom", 0.0);
11210             }
11211          }
11212       }
11213       parts {
11214          part { name: "fade_clip";
11215             type: RECT;
11216             mouse_events: 0;
11217             description { state: "default" 0.0;
11218                color: 255 255 255 255;
11219             }
11220             description { state: "faded" 0.0;
11221                color: 255 255 255 160;
11222             }
11223          }
11224          part { name: "info_clip";
11225             type: RECT;
11226             mouse_events: 0;
11227             clip_to: "fade_clip";
11228             description { state: "default" 0.0;
11229                color: 255 255 255 0;
11230             }
11231             description { state: "visible" 0.0;
11232                color: 255 255 255 255;
11233             }
11234          }
11235          part { name: "pulse_clip";
11236             type: RECT;
11237             mouse_events: 0;
11238             clip_to: "fade_clip";
11239             description { state: "default" 0.0;
11240                color: 255 255 255 255;
11241             }
11242             description { state: "faded" 1.0;
11243                color: 255 255 255 255;
11244             }
11245             description { state: "faded" 0.0;
11246                color: 255 255 255 0;
11247             }
11248          }
11249          part { name: "fill_region";
11250             mouse_events: 0;
11251             type: RECT;
11252             description { state: "default" 0.0;
11253                visible: 0;
11254                rel1.relative: 0.0 (26/128);
11255                rel2.relative: 1.0 ((128-14)/128);
11256             }
11257          }
11258          part { name: "fill_clip";
11259             type: RECT;
11260             mouse_events: 0;
11261             clip_to: "pulse_clip";
11262             description { state: "default" 0.0;
11263                rel1.to: "fill_region";
11264                rel1.relative: 0.0 0.5;
11265                rel2.to: "fill_region";
11266                color: 255 255 255 255;
11267             }
11268          }
11269          part { name: "base";
11270             clip_to: "pulse_clip";
11271             description { state: "default" 0.0;
11272                aspect: 1.0 1.0;
11273                aspect_preference: BOTH;
11274                image.normal: "batt_base.png";
11275             }
11276          }
11277          part { name: "fill";
11278             mouse_events: 0;
11279             clip_to: "fill_clip";
11280             description { state: "default" 0.0;
11281                rel1.to: "base";
11282                rel2.to: "base";
11283                image.normal: "batt_level.png";
11284             }
11285          }
11286          part { name: "over";
11287             mouse_events: 0;
11288             clip_to: "pulse_clip";
11289             description { state: "default" 0.0;
11290                rel1.to: "base";
11291                rel2.to: "base";
11292                image.normal: "batt_over.png";
11293             }
11294          }
11295          part { name: "power";
11296             mouse_events: 0;
11297             description { state: "default" 0.0;
11298                rel1.to: "base";
11299                rel2.to: "base";
11300                image.normal: "batt_power.png";
11301                visible: 0;
11302             }
11303             description { state: "visible" 0.0;
11304                inherit: "default" 0.0;
11305                visible: 1;
11306             }
11307          }
11308          part { name: "e.text.reading";
11309             mouse_events: 0;
11310             type: TEXT;
11311             scale: 1;
11312             clip_to: "info_clip";
11313             effect: OUTLINE;
11314             description { state: "default" 0.0;
11315                align: 1.0 0.5;
11316                rel1.relative: 0.5 0.0;
11317                rel2.relative: 1.0 0.3;
11318                color: 0 0 0 255;
11319                color2: 255 255 255 128;
11320                color_class: "module_label";
11321                text {
11322                   font: "Sans";
11323                   size: 8;
11324                   min: 1 1;
11325                   align: 1.0 0.5;
11326                   text_class: "module_small";
11327                }
11328             }
11329          }
11330          part { name: "e.text.time";
11331             mouse_events: 0;
11332             type: TEXT;
11333             scale: 1;
11334             clip_to: "info_clip";
11335             effect: OUTLINE;
11336             description { state: "default" 0.0;
11337                align: 1.0 0.5;
11338                rel1.relative: 0.5 0.3;
11339                rel2.relative: 1.0 0.6;
11340                color: 0 0 0 255;
11341                color2: 255 255 255 128;
11342                color_class: "module_label";
11343                text {
11344                   font: "Sans";
11345                   size: 8;
11346                   min: 1 1;
11347                   align: 1.0 0.5;
11348                   text_class: "module_small";
11349                }
11350             }
11351          }
11352       }
11353       programs {
11354          program { name: "hover1";
11355             signal: "mouse,in";
11356             source: "base";
11357             action: STATE_SET "visible" 0.0;
11358             transition: LINEAR 0.3;
11359             target: "info_clip";
11360          }
11361          program { name: "hover2";
11362             signal: "mouse,out";
11363             source: "base";
11364             action: STATE_SET "default" 0.0;
11365             transition: LINEAR 0.3;
11366             target: "info_clip";
11367          }
11368          program { name: "charge";
11369             signal: "e,state,charging";
11370             source: "e";
11371             action: STATE_SET "visible" 0.0;
11372             target: "power";
11373          }
11374          program { name: "discharge";
11375             signal: "e,state,discharging";
11376             source: "e";
11377             action: STATE_SET "default" 0.0;
11378             target: "power";
11379          }
11380          program { name: "unknown";
11381             signal: "e,state,unknown";
11382             source: "e";
11383             action: STATE_SET "faded" 0.0;
11384             target: "fade_clip";
11385          }
11386          program { name: "pulse";
11387             signal: "e,action,pulse,start";
11388             source: "e";
11389             action: STATE_SET "faded" 0.0;
11390             transition: ACCELERATE 0.3;
11391             after: "pulse2";
11392             target: "pulse_clip";
11393          }
11394          program { name: "pulse2";
11395             action: STATE_SET "faded" 1.0;
11396             transition: ACCELERATE 0.1;
11397             target: "pulse_clip";
11398          }
11399          program { name: "pulsestop";
11400             signal: "e,action,pulse,stop";
11401             source: "e";
11402             action: STATE_SET "default" 0.0;
11403             target: "pulse_clip";
11404          }
11405       }
11406    }
11407    group {
11408       name: "e/modules/battery/popup";
11409       min: 240 64;
11410       parts {
11411          part {
11412             name: "battery";
11413             type: SWALLOW;
11414             mouse_events: 1;
11415             repeat_events: 1;
11416             description {
11417                state: "default" 0.0;
11418                min: 1 1;
11419                max: 120 120;
11420                aspect: 1.0 1.0;
11421                aspect_preference: VERTICAL;
11422                align: 0.0 0.5;
11423                rel1.relative: 0.0 0.0;
11424                rel2.relative: 1.0 1.0;
11425                color: 255 255 255 255;
11426             }
11427          }
11428          part {
11429             name: "e.text.title";
11430             type: TEXT;
11431             mouse_events: 0;
11432             scale: 1;
11433             description {
11434                state: "default" 0.0;
11435                rel1 {
11436                   relative: 1.0 0.0;
11437                   to_x: battery;
11438                   offset: 0 0;
11439                }
11440                rel2 {
11441                   relative: 1.0 0.5;
11442                   offset: -1 -1;
11443                }
11444                color: 0 0 0 255;
11445                text {
11446                   text: "Your battery is low!";
11447                   font: "Sans:style=Bold";
11448                   size: 10;
11449                   min: 1 1;
11450                   align: 0.5 0.5;
11451                   text_class: "module_large";
11452                }
11453             }
11454          }
11455          part {
11456             name: "e.text.label";
11457             type: TEXT;
11458             mouse_events: 0;
11459             scale: 1;
11460             description {
11461                state: "default" 0.0;
11462                rel1 {
11463                   relative: 1.0 0.5;
11464                   to_x: battery;
11465                   offset: 0 0;
11466                }
11467                rel2 {
11468                   relative: 1.0 1.0;
11469                   offset: -1 -1;
11470                }
11471                color: 0 0 0 255;
11472                text {
11473                   text: "AC power is recommended.";
11474                   font: "Sans";
11475                   size: 10;
11476                   min: 1 1;
11477                   align: 0.5 0.5;
11478                   text_class: "module_normal";
11479                }
11480             }
11481          }
11482       }
11483    }
11484
11485
11486 /////////////////////////////////////////////////////////////////////////////
11487 /*** MOD: TEMPERATURE ***/
11488
11489    group {
11490       name: "e/modules/temperature/main";
11491       images {
11492          image: "temp_base.png" COMP;
11493          image: "temp_mid.png" COMP;
11494          image: "temp_over.png" COMP;
11495       }
11496       min: 16 16;
11497       max: 128 128;
11498       script {
11499          public message(Msg_Type:type, id, ...) {
11500             if ((type == MSG_FLOAT) && (id == 1)) {
11501                new Float:val;
11502                val = getfarg(2);
11503                set_drag(PART:"temp_top", 0.0, val);
11504             }
11505          }
11506       }
11507       parts {
11508          part {
11509             name: "base";
11510             clip_to: "fade_clip";
11511             description {
11512                state: "default" 0.0;
11513                aspect: 0.387 0.387;
11514                aspect_preference: BOTH;
11515                align: 0.5 0.5;
11516                max: 48 124;
11517                rel1 {
11518                   relative: 0.0 0.0;
11519                }
11520                rel2 {
11521                   relative: 1.0 1.0;
11522                }
11523                image {
11524                   normal: "temp_base.png";
11525                }
11526             }
11527          }
11528          part {
11529             name: "temp";
11530             clip_to: "temp_clip";
11531             description {
11532                state: "default" 0.0;
11533                rel1 {
11534                   to: "base";
11535                }
11536                rel2 {
11537                   to: "base";
11538                }
11539                image {
11540                   normal: "temp_mid.png";
11541                }
11542             }
11543          }
11544          part {
11545             name: "overlay";
11546             clip_to: "fade_clip";
11547             description {
11548                state: "default" 0.0;
11549                rel1 {
11550                   to: "base";
11551                }
11552                rel2 {
11553                   to: "base";
11554                }
11555                image {
11556                   normal: "temp_over.png";
11557                }
11558             }
11559          }
11560          part {
11561             name: "e.text.reading";
11562             type: TEXT;
11563             scale: 1;
11564             effect: OUTLINE_SOFT_SHADOW;
11565             clip_to: "fade_clip";
11566             description {
11567                state: "default" 0.0;
11568                align: 1.0 0.0;
11569                rel1 {
11570                   relative: 1.0  0.0;
11571                   to_x: "temp";
11572                }
11573                rel2 {
11574                   relative: 1.0  0.0;
11575                }
11576                color: 255 255 255 0;
11577                color2: 0 0 0 0;
11578                color3: 0 0 0 0;
11579                color_class: "module_label";
11580                text {
11581                   font: "Sans:style=Bold";
11582                   size: 8;
11583                   min: 1 1;
11584                   align: 0.0 0.0;
11585                   text_class: "module_small";
11586                }
11587             }
11588             description {
11589                state: "visible" 0.0;
11590                inherit: "default" 0.0;
11591                color: 255 255 255 255;
11592                color2: 0 0 0 128;
11593                color3: 0 0 0 32;
11594             }
11595          }
11596          part {
11597             name: "fade_clip";
11598             type: RECT;
11599             mouse_events: 0;
11600             description {
11601                state: "default" 0.0;
11602                color: 255 255 255 255;
11603             }
11604             description {
11605                state: "faded" 0.0;
11606                color: 255 255 255 128;
11607             }
11608          }
11609          part {
11610             name: "temp_clip";
11611             type: RECT;
11612             clip_to: "fade_clip";
11613             mouse_events: 0;
11614             description {
11615                state: "default" 0.0;
11616                rel1 {
11617                   to_x: "base";
11618                   to_y: "temp_top";
11619                }
11620                rel2 {
11621                   to: "base";
11622                }
11623             }
11624          }
11625          part {
11626             name: "temp_top";
11627             type: RECT;
11628             dragable {
11629                x: 0 0 0;
11630                y: -1 1 0;
11631                confine: "temp_limit";
11632             }
11633             mouse_events: 0;
11634             description {
11635                state: "default" 0.0;
11636                visible: 0;
11637             }
11638          }
11639          part {
11640             name: "temp_limit";
11641             type: RECT;
11642             mouse_events: 0;
11643             description {
11644                state: "default" 0.0;
11645                visible: 0;
11646                rel1 {
11647                   relative: 0.0 0.081;
11648                   to: "base";
11649                }
11650                rel2 {
11651                   relative: 1.0 0.637;
11652                   to: "base";
11653                }
11654             }
11655          }
11656          part {
11657             name: "over";
11658             type: RECT;
11659             description {
11660                state: "default" 0.0;
11661                color: 0 0 0 0;
11662             }
11663          }
11664       }
11665       programs {
11666          program {
11667             name: "hover1";
11668             signal: "mouse,in";
11669             source: "over";
11670             action: STATE_SET "visible" 0.0;
11671             transition: LINEAR 0.3;
11672             target: "e.text.reading";
11673          }
11674          program {
11675             name: "hover2";
11676             signal: "mouse,out";
11677             source: "over";
11678             action: STATE_SET "default" 0.0;
11679             transition: LINEAR 1.0;
11680             target: "e.text.reading";
11681          }
11682          program {
11683             name: "known";
11684             signal: "e,state,known";
11685             source: "e";
11686             action: STATE_SET "default" 0.0;
11687             target: "fade_clip";
11688          }
11689          program {
11690             name: "unknown";
11691             signal: "e,state,unknown";
11692             source: "e";
11693             action: STATE_SET "faded" 0.0;
11694             target: "fade_clip";
11695          }
11696       }
11697    }
11698
11699
11700 /////////////////////////////////////////////////////////////////////////////
11701 /*** MOD: BACKLIGHT ***/
11702    group { name: "e/modules/backlight/main";
11703       images {
11704          image: "bulb-0.png" COMP;
11705          image: "bulb-1.png" COMP;
11706          image: "bulb-2.png" COMP;
11707       }
11708       min: 16 16;
11709       max: 128 128;
11710       script {      
11711        public message(Msg_Type:type, id, ...) {
11712           if ((type == MSG_FLOAT) && (id == 0)) {
11713              new Float:val;
11714              val = getfarg(2);
11715              set_tween_state(PART:"glow", val, "default", 0.0, "full", 0.0);
11716              set_tween_state(PART:"glow2", val, "default", 0.0, "full", 0.0);
11717           }
11718        }
11719       }
11720       parts {
11721          part {
11722             name: "glow";
11723             description { state: "default" 0.0;
11724                rel1.to: "base";
11725                rel2.to: "base";
11726                image.normal: "bulb-1.png";
11727                color: 255 255 255 0;
11728             }
11729             description { state: "full" 0.0;
11730                inherit: "default" 0.0;
11731                color: 255 255 255 255;
11732             }
11733          }
11734          part {
11735             name: "base";
11736             description { state: "default" 0.0;
11737                aspect: 1.0 1.0;
11738                aspect_preference: BOTH;
11739                image.normal: "bulb-0.png";
11740             }
11741          }
11742          part {
11743             name: "glow2";
11744             description { state: "default" 0.0;
11745                rel1.to: "base";
11746                rel2.to: "base";
11747                image.normal: "bulb-2.png";
11748                color: 255 255 255 0;
11749             }
11750             description { state: "full" 0.0;
11751                inherit: "default" 0.0;
11752                color: 255 255 255 255;
11753             }
11754          }
11755       }
11756    }
11757
11758 /////////////////////////////////////////////////////////////////////////////
11759
11760 /*** MOD: CLOCK ***/
11761    group { name: "e/modules/clock/digital";
11762       min: 56 16;
11763       max: 512 128;
11764       images {
11765          image: "flip_base.png" COMP;
11766          image: "flip_base_shad.png" COMP;
11767          image: "flip_shad.png" COMP;
11768          image: "flip_0t.png" COMP;
11769          image: "flip_0b.png" COMP;
11770          image: "flip_1t.png" COMP;
11771          image: "flip_1b.png" COMP;
11772          image: "flip_2t.png" COMP;
11773          image: "flip_2b.png" COMP;
11774          image: "flip_3t.png" COMP;
11775          image: "flip_3b.png" COMP;
11776          image: "flip_4t.png" COMP;
11777          image: "flip_4b.png" COMP;
11778          image: "flip_5t.png" COMP;
11779          image: "flip_5b.png" COMP;
11780          image: "flip_6t.png" COMP;
11781          image: "flip_6b.png" COMP;
11782          image: "flip_7t.png" COMP;
11783          image: "flip_7b.png" COMP;
11784          image: "flip_8t.png" COMP;
11785          image: "flip_8b.png" COMP;
11786          image: "flip_9t.png" COMP;
11787          image: "flip_9b.png" COMP;
11788          image: "flip_amt.png" COMP;
11789          image: "flip_amb.png" COMP;
11790          image: "flip_pmt.png" COMP;
11791          image: "flip_pmb.png" COMP;
11792          image: "flip_colon.png" COMP;
11793       }
11794       script {
11795 #define DIGPRG(nom, ns) \
11796          public ns ## v0_cur, ns ## v0_pre, ns ## v0_lock, ns ## v0_next; \
11797          public ns ## animator2(val, Float:pos) { \
11798             new st1[11], st2[11], v; \
11799             v = get_int(ns ## v0_cur); \
11800             snprintf(st1, 10, "%ih", v); \
11801             snprintf(st2, 10, "%i", v); \
11802             set_tween_state(PART:nom"bot", pos, st1, 0.0, st2, 0.0); \
11803             set_tween_state(PART:nom"sh", pos, "half", 0.0, "full", 0.0); \
11804             if (pos >= 1.0) { \
11805                set_state(PART:nom"sh", "default", 0.0); \
11806                set_int(ns ## v0_lock, 0); \
11807             } \
11808          } \
11809          public ns ## animator1(val, Float:pos) { \
11810             new st1[11], st2[11], v; \
11811             v = get_int(ns ## v0_pre); \
11812             snprintf(st1, 10, "%i", v); \
11813             snprintf(st2, 10, "%ih", v); \
11814             set_tween_state(PART:nom"top", pos, st1, 0.0, st2, 0.0); \
11815             set_tween_state(PART:nom"sh", pos, "default", 0.0, "half", 0.0); \
11816             if (pos >= 1.0) anim(0.1, #ns"animator2", val); \
11817          } \
11818          public ns ## valset(value) { \
11819             new v, buf[11]; \
11820             v = get_int(ns ## v0_cur); \
11821             if (v == value) return; \
11822             if (get_int(ns ## v0_lock) == 1) { \
11823                set_state(PART:nom"sh", "default", 0.0); \
11824             } \
11825             set_int(ns ## v0_pre, v); \
11826             set_int(ns ## v0_cur, value); \
11827             set_int(ns ## v0_lock, 1); \
11828             snprintf(buf, 10, "%i", get_int(ns ## v0_pre)); \
11829             set_state(PART:nom"bot0", buf, 0.0); \
11830             snprintf(buf, 10, "%ih", get_int(ns ## v0_cur)); \
11831             set_state(PART:nom"bot", buf, 0.0); \
11832             snprintf(buf, 10, "%i", get_int(ns ## v0_cur)); \
11833             set_state(PART:nom"top0", buf, 0.0); \
11834             snprintf(buf, 10, "%i", get_int(ns ## v0_pre)); \
11835             set_state(PART:nom"top", buf, 0.0); \
11836             set_state(PART:nom"sh", "default", 0.0); \
11837             anim(0.1, #ns"animator1", 1); \
11838          }
11839
11840          DIGPRG("s1", s1)
11841          DIGPRG("s2", s2)
11842
11843          DIGPRG("m1", m1)
11844          DIGPRG("m2", m2)
11845
11846          DIGPRG("h1", h1)
11847          DIGPRG("h2", h2)
11848
11849          DIGPRG("ap", ap)
11850                            
11851          public do_seconds, do_24h, tick_timer;
11852          
11853          public clock_cb(val) {
11854             new year, month, day, yearday, weekday, hour, minute;
11855             new Float:second;
11856             new v, dosec, do24h, tim;
11857
11858             date(year, month, day, yearday, weekday, hour, minute, second);
11859             dosec = get_int(do_seconds);
11860             if (dosec) {
11861                v = round(second);
11862                tim = timer(1.0 - (second - v), "clock_cb", 1);
11863                // set seconds to v
11864                s1valset(v / 10);
11865                s2valset(v % 10);
11866             }
11867             else {
11868                tim = timer(60.0 - (second), "clock_cb", 1);
11869             }
11870             set_int(tick_timer, tim);
11871
11872             // set minutes to minute
11873             m1valset(minute / 10);
11874             m2valset(minute % 10);
11875
11876             // set hours to hour
11877             do24h = get_int(do_24h);
11878             if (do24h) {
11879                h1valset(hour / 10);
11880                h2valset(hour % 10);
11881             }
11882             else {
11883                new pm;
11884                
11885                // if 12 or later, its pm
11886                if (hour >= 12) {
11887                   pm = 1;
11888                   // if we are after 12 (1, 2, 3 etc.) then mod by 12
11889                   if (hour > 12) hour = hour % 12;
11890                }
11891                else {
11892                   pm = 0;
11893                   // make after midnight be 12:XX AM :)
11894                   if (hour == 0) hour = 12;
11895                }
11896                h1valset(hour / 10);
11897                h2valset(hour % 10);
11898                apvalset(pm);
11899             }
11900          }
11901          
11902          public eval_fields() {
11903             new do24h, dosec;
11904             
11905             dosec = get_int(do_seconds);
11906             do24h = get_int(do_24h);
11907             custom_state(PART:"hours1", "default", 0.0);
11908             custom_state(PART:"hours2", "default", 0.0);
11909             custom_state(PART:"mins1", "default", 0.0);
11910             custom_state(PART:"mins2", "default", 0.0);
11911             custom_state(PART:"secs1", "default", 0.0);
11912             custom_state(PART:"secs2", "default", 0.0);
11913             custom_state(PART:"ampm", "default", 0.0);
11914             if ((dosec) && (!do24h)) { // sec + ampm
11915                set_state_val(PART:"hours1", STATE_REL1, (0.0/16.0), 0.0);
11916                set_state_val(PART:"hours1", STATE_REL2, (2.0/16.0), 1.0);
11917                set_state_val(PART:"hours2", STATE_REL1, (2.0/16.0), 0.0);
11918                set_state_val(PART:"hours2", STATE_REL2, (4.0/16.0), 1.0);
11919                set_state_val(PART:"mins1", STATE_REL1, (5.0/16.0), 0.0);
11920                set_state_val(PART:"mins1", STATE_REL2, (7.0/16.0), 1.0);
11921                set_state_val(PART:"mins2", STATE_REL1, (7.0/16.0), 0.0);
11922                set_state_val(PART:"mins2", STATE_REL2, (9.0/16.0), 1.0);
11923                set_state_val(PART:"secs1", STATE_REL1, (10.0/16.0), 0.0);
11924                set_state_val(PART:"secs1", STATE_REL2, (12.0/16.0), 1.0);
11925                set_state_val(PART:"secs2", STATE_REL1, (12.0/16.0), 0.0);
11926                set_state_val(PART:"secs2", STATE_REL2, (14.0/16.0), 1.0);
11927                set_state_val(PART:"ampm", STATE_REL1, (14.0/16.0), 0.0);
11928                set_state_val(PART:"ampm", STATE_REL2, (16.0/16.0), 1.0);
11929                set_min_size(16 * 4, 16);
11930                set_max_size(16 * 32, 128);
11931             }
11932             else if ((dosec) && (do24h)) { // sec + -
11933                set_state_val(PART:"hours1", STATE_REL1, (0.0/14.0), 0.0);
11934                set_state_val(PART:"hours1", STATE_REL2, (2.0/14.0), 1.0);
11935                set_state_val(PART:"hours2", STATE_REL1, (2.0/14.0), 0.0);
11936                set_state_val(PART:"hours2", STATE_REL2, (4.0/14.0), 1.0);
11937                set_state_val(PART:"mins1", STATE_REL1, (5.0/14.0), 0.0);
11938                set_state_val(PART:"mins1", STATE_REL2, (7.0/14.0), 1.0);
11939                set_state_val(PART:"mins2", STATE_REL1, (7.0/14.0), 0.0);
11940                set_state_val(PART:"mins2", STATE_REL2, (9.0/14.0), 1.0);
11941                set_state_val(PART:"secs1", STATE_REL1, (10.0/14.0), 0.0);
11942                set_state_val(PART:"secs1", STATE_REL2, (12.0/14.0), 1.0);
11943                set_state_val(PART:"secs2", STATE_REL1, (12.0/14.0), 0.0);
11944                set_state_val(PART:"secs2", STATE_REL2, (14.0/14.0), 1.0);
11945                set_state_val(PART:"ampm", STATE_REL1, (0.0/1.0), 0.0);
11946                set_state_val(PART:"ampm", STATE_REL2, (0.0/1.0), 1.0);
11947                set_min_size(14 * 4, 16);
11948                set_max_size(14 * 32, 128);
11949             }
11950             else if ((!dosec) && (!do24h)) { // - + ampm
11951                set_state_val(PART:"hours1", STATE_REL1, (0.0/11.0), 0.0);
11952                set_state_val(PART:"hours1", STATE_REL2, (2.0/11.0), 1.0);
11953                set_state_val(PART:"hours2", STATE_REL1, (2.0/11.0), 0.0);
11954                set_state_val(PART:"hours2", STATE_REL2, (4.0/11.0), 1.0);
11955                set_state_val(PART:"mins1", STATE_REL1, (5.0/11.0), 0.0);
11956                set_state_val(PART:"mins1", STATE_REL2, (7.0/11.0), 1.0);
11957                set_state_val(PART:"mins2", STATE_REL1, (7.0/11.0), 0.0);
11958                set_state_val(PART:"mins2", STATE_REL2, (9.0/11.0), 1.0);
11959                set_state_val(PART:"secs1", STATE_REL1, (0.0/1.0), 0.0);
11960                set_state_val(PART:"secs1", STATE_REL2, (0.0/1.0), 1.0);
11961                set_state_val(PART:"secs2", STATE_REL1, (0.0/1.0), 0.0);
11962                set_state_val(PART:"secs2", STATE_REL2, (0.0/1.0), 1.0);
11963                set_state_val(PART:"ampm", STATE_REL1, (9.0/11.0), 0.0);
11964                set_state_val(PART:"ampm", STATE_REL2, (11.0/11.0), 1.0);
11965                set_min_size(11 * 4, 16);
11966                set_max_size(11 * 32, 128);
11967             }
11968             else if ((!dosec) && (do24h)) { // - + -
11969                set_state_val(PART:"hours1", STATE_REL1, (0.0/9.0), 0.0);
11970                set_state_val(PART:"hours1", STATE_REL2, (2.0/9.0), 1.0);
11971                set_state_val(PART:"hours2", STATE_REL1, (2.0/9.0), 0.0);
11972                set_state_val(PART:"hours2", STATE_REL2, (4.0/9.0), 1.0);
11973                set_state_val(PART:"mins1", STATE_REL1, (5.0/9.0), 0.0);
11974                set_state_val(PART:"mins1", STATE_REL2, (7.0/9.0), 1.0);
11975                set_state_val(PART:"mins2", STATE_REL1, (7.0/9.0), 0.0);
11976                set_state_val(PART:"mins2", STATE_REL2, (9.0/9.0), 1.0);
11977                set_state_val(PART:"secs1", STATE_REL1, (0.0/1.0), 0.0);
11978                set_state_val(PART:"secs1", STATE_REL2, (0.0/1.0), 1.0);
11979                set_state_val(PART:"secs2", STATE_REL1, (0.0/1.0), 0.0);
11980                set_state_val(PART:"secs2", STATE_REL2, (0.0/1.0), 1.0);
11981                set_state_val(PART:"ampm", STATE_REL1, (0.0/1.0), 0.0);
11982                set_state_val(PART:"ampm", STATE_REL2, (0.0/1.0), 1.0);
11983                set_min_size(9 * 4, 16);
11984                set_max_size(9 * 32, 128);
11985             }
11986             set_state(PART:"hours1", "custom", 0.0);
11987             set_state(PART:"hours2", "custom", 0.0);
11988             set_state(PART:"mins1", "custom", 0.0);
11989             set_state(PART:"mins2", "custom", 0.0);
11990             set_state(PART:"secs1", "custom", 0.0);
11991             set_state(PART:"secs2", "custom", 0.0);
11992             set_state(PART:"ampm", "custom", 0.0);
11993             emit("e,state,sizing,changed", "");
11994          }
11995       }
11996       parts {
11997          part { name: "hclip"; type: RECT;
11998             description { state: "default" 0.0;
11999             }
12000             description { state: "hidden" 0.0;
12001                visible: 0;
12002             }
12003          }
12004          part { name: "mclip"; type: RECT;
12005             description { state: "default" 0.0;
12006             }
12007             description { state: "hidden" 0.0;
12008                visible: 0;
12009             }
12010          }
12011          part { name: "sclip"; type: RECT;
12012             description { state: "default" 0.0;
12013             }
12014             description { state: "hidden" 0.0;
12015                visible: 0;
12016             }
12017          }
12018          part { name: "ampmclip"; type: RECT;
12019             description { state: "default" 0.0;
12020             }
12021             description { state: "hidden" 0.0;
12022                visible: 0;
12023             }
12024          }
12025          part { name: "hours1"; type: RECT;
12026             description { state: "default" 0.0;
12027                visible: 0;
12028                rel1.relative: (0/16) 0.0;
12029                rel2.relative: (2/16) 1.0;
12030             }
12031          }
12032          part { name: "hours2"; type: RECT;
12033             description { state: "default" 0.0;
12034                visible: 0;
12035                rel1.relative: (2/16) 0.0;
12036                rel2.relative: (4/16) 1.0;
12037             }
12038          }
12039          part { name: "hcolon1";
12040             clip_to: "mclip";
12041             description { state: "default" 0.0;
12042                rel1.to: "hours2";
12043                rel1.relative: 1.0 0.0;
12044                rel1.offset: 1 1;
12045                rel2.to: "mins1";
12046                rel2.relative: 0.0 1.0;
12047                rel2.offset: 0 0;
12048                image.normal: "flip_colon.png";
12049                min: 2 4;
12050                aspect: 0.25 0.25;
12051                aspect_preference: BOTH;
12052             }
12053          }
12054          part { name: "hcolon2";
12055             clip_to: "mclip";
12056             description { state: "default" 0.0;
12057                rel1.to: "hcolon1";
12058                rel1.offset: -1 -1;
12059                rel2.to: "hcolon1";
12060                rel2.offset: -2 -2;
12061                color: 0 0 0 255;
12062                image.normal: "flip_colon.png";
12063             }
12064          }
12065          part { name: "mins1"; type: RECT;
12066             description { state: "default" 0.0;
12067                visible: 0;
12068                rel1.relative: (5/16) 0.0;
12069                rel2.relative: (7/16) 1.0;
12070             }
12071          }
12072          part { name: "mins2"; type: RECT;
12073             description { state: "default" 0.0;
12074                visible: 0;
12075                rel1.relative: (7/16) 0.0;
12076                rel2.relative: (9/16) 1.0;
12077             }
12078          }
12079          part { name: "mcolon1";
12080             clip_to: "sclip";
12081             description { state: "default" 0.0;
12082                rel1.to: "mins2";
12083                rel1.relative: 1.0 0.0;
12084                rel1.offset: 1 1;
12085                rel2.to: "secs1";
12086                rel2.relative: 0.0 1.0;
12087                rel2.offset: 0 0;
12088                image.normal: "flip_colon.png";
12089                min: 2 4;
12090                aspect: 0.25 0.25;
12091                aspect_preference: BOTH;
12092             }
12093          }
12094          part { name: "mcolon2";
12095             clip_to: "sclip";
12096             description { state: "default" 0.0;
12097                rel1.to: "mcolon1";
12098                rel1.offset: -1 -1;
12099                rel2.to: "mcolon1";
12100                rel2.offset: -2 -2;
12101                color: 0 0 0 255;
12102                image.normal: "flip_colon.png";
12103             }
12104          }
12105          part { name: "secs1"; type: RECT;
12106             description { state: "default" 0.0;
12107                visible: 0;
12108                rel1.relative: (10/16) 0.0;
12109                rel2.relative: (12/16) 1.0;
12110            }
12111          }
12112          part { name: "secs2"; type: RECT;
12113             description { state: "default" 0.0;
12114                visible: 0;
12115                rel1.relative: (12/16) 0.0;
12116                rel2.relative: (14/16) 1.0;
12117            }
12118          }
12119          part { name: "ampm"; type: RECT;
12120             description { state: "default" 0.0;
12121                visible: 0;
12122                rel1.relative: (14/16) 0.0;
12123                rel2.relative: (16/16) 1.0;
12124             }
12125          }
12126          
12127 #define DIGIT(nom, relto, clipto) \
12128          part { name: nom"base"; \
12129             scale: 1; \
12130             description { state: "default" 0.0; \
12131                rel1.to: relto; \
12132                rel1.offset: 1 1; \
12133                rel2.to: relto; \
12134                rel2.offset: -2 -2; \
12135                min: 2 4; \
12136                aspect: 0.5 0.5; \
12137                aspect_preference: BOTH; \
12138             } \
12139          } \
12140          part { name: nom"shad"; \
12141             clip_to: clipto; \
12142             description { state: "default" 0.0; \
12143                rel1.offset: -4 -4; \
12144                rel1.to: nom"base"; \
12145                rel2.offset: 3 3; \
12146                rel2.to: nom"base"; \
12147                image { \
12148                   normal: "flip_base_shad.png"; \
12149                   border: 8 8 8 8; \
12150                } \
12151             } \
12152          } \
12153          part { name: nom"b"; type: RECT; \
12154             description { state: "default" 0.0; \
12155                visible: 0; \
12156                rel1.to: nom"base"; \
12157                rel1.relative: 0.0 0.5; \
12158                rel2.to: nom"base"; \
12159             } \
12160          } \
12161          part { name: nom"t"; type: RECT; \
12162             description { state: "default" 0.0; \
12163                visible: 0; \
12164                rel1.to: nom"base"; \
12165                rel2.to: nom"base"; \
12166                rel2.relative: 1.0 0.5; \
12167             } \
12168          } \
12169          part { name: nom"bot0"; \
12170             clip_to: clipto; \
12171             description { state: "default" 0.0; \
12172                rel1.to: nom"b"; \
12173                rel2.to: nom"b"; \
12174                image.normal: "flip_0b.png"; \
12175             } \
12176             description { state: "0" 0.0; \
12177                inherit: "default" 0.0; \
12178                image.normal: "flip_0b.png"; \
12179             } \
12180             description { state: "1" 0.0; \
12181                inherit: "default" 0.0; \
12182                image.normal: "flip_1b.png"; \
12183             } \
12184             description { state: "2" 0.0; \
12185                inherit: "default" 0.0; \
12186                image.normal: "flip_2b.png"; \
12187             } \
12188             description { state: "3" 0.0; \
12189                inherit: "default" 0.0; \
12190                image.normal: "flip_3b.png"; \
12191             } \
12192             description { state: "4" 0.0; \
12193                inherit: "default" 0.0; \
12194                image.normal: "flip_4b.png"; \
12195             } \
12196             description { state: "5" 0.0; \
12197                inherit: "default" 0.0; \
12198                image.normal: "flip_5b.png"; \
12199             } \
12200             description { state: "6" 0.0; \
12201                inherit: "default" 0.0; \
12202                image.normal: "flip_6b.png"; \
12203             } \
12204             description { state: "7" 0.0; \
12205                inherit: "default" 0.0; \
12206                image.normal: "flip_7b.png"; \
12207             } \
12208             description { state: "8" 0.0; \
12209                inherit: "default" 0.0; \
12210                image.normal: "flip_8b.png"; \
12211             } \
12212             description { state: "9" 0.0; \
12213                inherit: "default" 0.0; \
12214                image.normal: "flip_9b.png"; \
12215             } \
12216          } \
12217          part { name: nom"sh"; \
12218             clip_to: clipto; \
12219             description { state: "default" 0.0; \
12220                rel1.to: nom"b"; \
12221                rel2.to: nom"b"; \
12222                rel2.relative: 1.0 0.0; \
12223                image.normal: "flip_shad.png"; \
12224             } \
12225             description { state: "half" 0.0; \
12226                inherit: "default" 0.0; \
12227                rel2.relative: 1.0 0.5; \
12228             } \
12229             description { state: "full" 0.0; \
12230                inherit: "default" 0.0; \
12231                rel2.relative: 1.0 1.0; \
12232             } \
12233          } \
12234          part { name: nom"bot"; \
12235             clip_to: clipto; \
12236             description { state: "default" 0.0; \
12237                rel1.to: nom"b"; \
12238                rel2.to: nom"b"; \
12239                image.normal: "flip_0b.png"; \
12240             } \
12241             description { state: "0" 0.0; \
12242                inherit: "default" 0.0; \
12243                rel2.relative: 1.0 1.0; \
12244                image.normal: "flip_0b.png"; \
12245             } \
12246             description { state: "0h" 0.0; \
12247                inherit: "default" 0.0; \
12248                visible: 0; \
12249                rel2.relative: 1.0 0.0; \
12250                image.normal: "flip_0b.png"; \
12251             } \
12252             description { state: "1" 0.0; \
12253                inherit: "default" 0.0; \
12254                rel2.relative: 1.0 1.0; \
12255                image.normal: "flip_1b.png"; \
12256             } \
12257             description { state: "1h" 0.0; \
12258                inherit: "default" 0.0; \
12259                visible: 0; \
12260                rel2.relative: 1.0 0.0; \
12261                image.normal: "flip_1b.png"; \
12262             } \
12263             description { state: "2" 0.0; \
12264                inherit: "default" 0.0; \
12265                rel2.relative: 1.0 1.0; \
12266                image.normal: "flip_2b.png"; \
12267             } \
12268             description { state: "2h" 0.0; \
12269                inherit: "default" 0.0; \
12270                visible: 0; \
12271                rel2.relative: 1.0 0.0; \
12272                image.normal: "flip_2b.png"; \
12273             } \
12274             description { state: "3" 0.0; \
12275                inherit: "default" 0.0; \
12276                rel2.relative: 1.0 1.0; \
12277                image.normal: "flip_3b.png"; \
12278             } \
12279             description { state: "3h" 0.0; \
12280                inherit: "default" 0.0; \
12281                visible: 0; \
12282                rel2.relative: 1.0 0.0; \
12283                image.normal: "flip_3b.png"; \
12284             } \
12285             description { state: "4" 0.0; \
12286                inherit: "default" 0.0; \
12287                rel2.relative: 1.0 1.0; \
12288                image.normal: "flip_4b.png"; \
12289             } \
12290             description { state: "4h" 0.0; \
12291                inherit: "default" 0.0; \
12292                visible: 0; \
12293                rel2.relative: 1.0 0.0; \
12294                image.normal: "flip_4b.png"; \
12295             } \
12296             description { state: "5" 0.0; \
12297                inherit: "default" 0.0; \
12298                rel2.relative: 1.0 1.0; \
12299                image.normal: "flip_5b.png"; \
12300             } \
12301             description { state: "5h" 0.0; \
12302                inherit: "default" 0.0; \
12303                visible: 0; \
12304                rel2.relative: 1.0 0.0; \
12305                image.normal: "flip_5b.png"; \
12306             } \
12307             description { state: "6" 0.0; \
12308                inherit: "default" 0.0; \
12309                rel2.relative: 1.0 1.0; \
12310                image.normal: "flip_6b.png"; \
12311             } \
12312             description { state: "6h" 0.0; \
12313                inherit: "default" 0.0; \
12314                visible: 0; \
12315                rel2.relative: 1.0 0.0; \
12316                image.normal: "flip_6b.png"; \
12317             } \
12318             description { state: "7" 0.0; \
12319                inherit: "default" 0.0; \
12320                rel2.relative: 1.0 1.0; \
12321                image.normal: "flip_7b.png"; \
12322             } \
12323             description { state: "7h" 0.0; \
12324                inherit: "default" 0.0; \
12325                visible: 0; \
12326                rel2.relative: 1.0 0.0; \
12327                image.normal: "flip_7b.png"; \
12328             } \
12329             description { state: "8" 0.0; \
12330                inherit: "default" 0.0; \
12331                rel2.relative: 1.0 1.0; \
12332                image.normal: "flip_8b.png"; \
12333             } \
12334             description { state: "8h" 0.0; \
12335                inherit: "default" 0.0; \
12336                visible: 0; \
12337                rel2.relative: 1.0 0.0; \
12338                image.normal: "flip_8b.png"; \
12339             } \
12340             description { state: "9" 0.0; \
12341                inherit: "default" 0.0; \
12342                rel2.relative: 1.0 1.0; \
12343                image.normal: "flip_9b.png"; \
12344             } \
12345             description { state: "9h" 0.0; \
12346                inherit: "default" 0.0; \
12347                visible: 0; \
12348                rel2.relative: 1.0 0.0; \
12349                image.normal: "flip_9b.png"; \
12350             } \
12351          } \
12352          part { name: nom"top0"; \
12353             clip_to: clipto; \
12354             description { state: "default" 0.0; \
12355                rel1.to: nom"t"; \
12356                rel2.to: nom"t"; \
12357                image.normal: "flip_0t.png"; \
12358             } \
12359             description { state: "0" 0.0; \
12360                inherit: "default" 0.0; \
12361                image.normal: "flip_0t.png"; \
12362             } \
12363             description { state: "1" 0.0; \
12364                inherit: "default" 0.0; \
12365                image.normal: "flip_1t.png"; \
12366             } \
12367             description { state: "2" 0.0; \
12368                inherit: "default" 0.0; \
12369                image.normal: "flip_2t.png"; \
12370             } \
12371             description { state: "3" 0.0; \
12372                inherit: "default" 0.0; \
12373                image.normal: "flip_3t.png"; \
12374             } \
12375             description { state: "4" 0.0; \
12376                inherit: "default" 0.0; \
12377                image.normal: "flip_4t.png"; \
12378             } \
12379             description { state: "5" 0.0; \
12380                inherit: "default" 0.0; \
12381                image.normal: "flip_5t.png"; \
12382             } \
12383             description { state: "6" 0.0; \
12384                inherit: "default" 0.0; \
12385                image.normal: "flip_6t.png"; \
12386             } \
12387             description { state: "7" 0.0; \
12388                inherit: "default" 0.0; \
12389                image.normal: "flip_7t.png"; \
12390             } \
12391             description { state: "8" 0.0; \
12392                inherit: "default" 0.0; \
12393                image.normal: "flip_8t.png"; \
12394             } \
12395             description { state: "9" 0.0; \
12396                inherit: "default" 0.0; \
12397                image.normal: "flip_9t.png"; \
12398             } \
12399          } \
12400          part { name: nom"top"; \
12401             clip_to: clipto; \
12402             description { state: "default" 0.0; \
12403                rel1.to: nom"t"; \
12404                rel2.to: nom"t"; \
12405                image.normal: "flip_0t.png"; \
12406             } \
12407             description { state: "0" 0.0; \
12408                inherit: "default" 0.0; \
12409                rel1.relative: 0.0 0.0; \
12410                image.normal: "flip_0t.png"; \
12411             } \
12412             description { state: "0h" 0.0; \
12413                inherit: "default" 0.0; \
12414                color: 128 128 128 255; \
12415                visible: 0; \
12416                rel1.relative: 0.0 1.0; \
12417                image.normal: "flip_0t.png"; \
12418             } \
12419             description { state: "1" 0.0; \
12420                inherit: "default" 0.0; \
12421                rel1.relative: 0.0 0.0; \
12422                image.normal: "flip_1t.png"; \
12423             } \
12424             description { state: "1h" 0.0; \
12425                inherit: "default" 0.0; \
12426                color: 128 128 128 255; \
12427                visible: 0; \
12428                rel1.relative: 0.0 1.0; \
12429                image.normal: "flip_1t.png"; \
12430             } \
12431             description { state: "2" 0.0; \
12432                inherit: "default" 0.0; \
12433                rel1.relative: 0.0 0.0; \
12434                image.normal: "flip_2t.png"; \
12435             } \
12436             description { state: "2h" 0.0; \
12437                inherit: "default" 0.0; \
12438                color: 128 128 128 255; \
12439                visible: 0; \
12440                rel1.relative: 0.0 1.0; \
12441                image.normal: "flip_2t.png"; \
12442             } \
12443             description { state: "3" 0.0; \
12444                inherit: "default" 0.0; \
12445                rel1.relative: 0.0 0.0; \
12446                image.normal: "flip_3t.png"; \
12447             } \
12448             description { state: "3h" 0.0; \
12449                inherit: "default" 0.0; \
12450                color: 128 128 128 255; \
12451                visible: 0; \
12452                rel1.relative: 0.0 1.0; \
12453                image.normal: "flip_3t.png"; \
12454             } \
12455             description { state: "4" 0.0; \
12456                inherit: "default" 0.0; \
12457                rel1.relative: 0.0 0.0; \
12458                image.normal: "flip_4t.png"; \
12459             } \
12460             description { state: "4h" 0.0; \
12461                inherit: "default" 0.0; \
12462                color: 128 128 128 255; \
12463                visible: 0; \
12464                rel1.relative: 0.0 1.0; \
12465                image.normal: "flip_4t.png"; \
12466             } \
12467             description { state: "5" 0.0; \
12468                inherit: "default" 0.0; \
12469                rel1.relative: 0.0 0.0; \
12470                image.normal: "flip_5t.png"; \
12471             } \
12472             description { state: "5h" 0.0; \
12473                inherit: "default" 0.0; \
12474                color: 128 128 128 255; \
12475                visible: 0; \
12476                rel1.relative: 0.0 1.0; \
12477                image.normal: "flip_5t.png"; \
12478             } \
12479             description { state: "6" 0.0; \
12480                inherit: "default" 0.0; \
12481                rel1.relative: 0.0 0.0; \
12482                image.normal: "flip_6t.png"; \
12483             } \
12484             description { state: "6h" 0.0; \
12485                inherit: "default" 0.0; \
12486                color: 128 128 128 255; \
12487                visible: 0; \
12488                rel1.relative: 0.0 1.0; \
12489                image.normal: "flip_6t.png"; \
12490             } \
12491             description { state: "7" 0.0; \
12492                inherit: "default" 0.0; \
12493                rel1.relative: 0.0 0.0; \
12494                image.normal: "flip_7t.png"; \
12495             } \
12496             description { state: "7h" 0.0; \
12497                inherit: "default" 0.0; \
12498                color: 128 128 128 255; \
12499                visible: 0; \
12500                rel1.relative: 0.0 1.0; \
12501                image.normal: "flip_7t.png"; \
12502             } \
12503             description { state: "8" 0.0; \
12504                inherit: "default" 0.0; \
12505                rel1.relative: 0.0 0.0; \
12506                image.normal: "flip_8t.png"; \
12507             } \
12508             description { state: "8h" 0.0; \
12509                inherit: "default" 0.0; \
12510                color: 128 128 128 255; \
12511                visible: 0; \
12512                rel1.relative: 0.0 1.0; \
12513                image.normal: "flip_8t.png"; \
12514             } \
12515             description { state: "9" 0.0; \
12516                inherit: "default" 0.0; \
12517                rel1.relative: 0.0 0.0; \
12518                image.normal: "flip_9t.png"; \
12519             } \
12520             description { state: "9h" 0.0; \
12521                inherit: "default" 0.0; \
12522                color: 128 128 128 255; \
12523                visible: 0; \
12524                rel1.relative: 0.0 1.0; \
12525                image.normal: "flip_9t.png"; \
12526             } \
12527          }
12528          
12529          DIGIT("h1", "hours1", "hclip");
12530          DIGIT("h2", "hours2", "hclip");
12531
12532          DIGIT("m1", "mins1", "mclip");
12533          DIGIT("m2", "mins2", "mclip");
12534
12535          DIGIT("s1", "secs1", "sclip");
12536          DIGIT("s2", "secs2", "sclip");
12537
12538 #define DIGAP(nom, relto, clipto) \
12539          part { name: nom"base"; \
12540             scale: 1; \
12541             description { state: "default" 0.0; \
12542                rel1.to: relto; \
12543                rel1.offset: 1 1; \
12544                rel2.to: relto; \
12545                rel2.offset: -2 -2; \
12546                min: 2 4; \
12547                aspect: 0.5 0.5; \
12548                aspect_preference: BOTH; \
12549             } \
12550          } \
12551          part { name: nom"shad"; \
12552             clip_to: clipto; \
12553             description { state: "default" 0.0; \
12554                rel1.offset: -4 -4; \
12555                rel1.to: nom"base"; \
12556                rel2.offset: 3 3; \
12557                rel2.to: nom"base"; \
12558                image { \
12559                   normal: "flip_base_shad.png"; \
12560                   border: 8 8 8 8; \
12561                } \
12562             } \
12563          } \
12564          part { name: nom"b"; type: RECT; \
12565             description { state: "default" 0.0; \
12566                visible: 0; \
12567                rel1.to: nom"base"; \
12568                rel1.relative: 0.0 0.5; \
12569                rel2.to: nom"base"; \
12570             } \
12571          } \
12572          part { name: nom"t"; type: RECT; \
12573             description { state: "default" 0.0; \
12574                visible: 0; \
12575                rel1.to: nom"base"; \
12576                rel2.to: nom"base"; \
12577                rel2.relative: 1.0 0.5; \
12578             } \
12579          } \
12580          part { name: nom"bot0"; \
12581             clip_to: clipto; \
12582             description { state: "default" 0.0; \
12583                rel1.to: nom"b"; \
12584                rel2.to: nom"b"; \
12585                image.normal: "flip_amb.png"; \
12586             } \
12587             description { state: "0" 0.0; \
12588                inherit: "default" 0.0; \
12589                image.normal: "flip_amb.png"; \
12590             } \
12591             description { state: "1" 0.0; \
12592                inherit: "default" 0.0; \
12593                image.normal: "flip_pmb.png"; \
12594             } \
12595          } \
12596          part { name: nom"sh"; \
12597             clip_to: clipto; \
12598             description { state: "default" 0.0; \
12599                rel1.to: nom"b"; \
12600                rel2.to: nom"b"; \
12601                rel2.relative: 1.0 0.0; \
12602                image.normal: "flip_shad.png"; \
12603             } \
12604             description { state: "half" 0.0; \
12605                inherit: "default" 0.0; \
12606                rel2.relative: 1.0 0.5; \
12607             } \
12608             description { state: "full" 0.0; \
12609                inherit: "default" 0.0; \
12610                rel2.relative: 1.0 1.0; \
12611             } \
12612          } \
12613          part { name: nom"bot"; \
12614             clip_to: clipto; \
12615             description { state: "default" 0.0; \
12616                rel1.to: nom"b"; \
12617                rel2.to: nom"b"; \
12618                image.normal: "flip_amb.png"; \
12619             } \
12620             description { state: "0" 0.0; \
12621                inherit: "default" 0.0; \
12622                rel2.relative: 1.0 1.0; \
12623                image.normal: "flip_amb.png"; \
12624             } \
12625             description { state: "0h" 0.0; \
12626                inherit: "default" 0.0; \
12627                visible: 0; \
12628                rel2.relative: 1.0 0.0; \
12629                image.normal: "flip_amb.png"; \
12630             } \
12631             description { state: "1" 0.0; \
12632                inherit: "default" 0.0; \
12633                rel2.relative: 1.0 1.0; \
12634                image.normal: "flip_pmb.png"; \
12635             } \
12636             description { state: "1h" 0.0; \
12637                inherit: "default" 0.0; \
12638                visible: 0; \
12639                rel2.relative: 1.0 0.0; \
12640                image.normal: "flip_pmb.png"; \
12641             } \
12642          } \
12643          part { name: nom"top0"; \
12644             clip_to: clipto; \
12645             description { state: "default" 0.0; \
12646                rel1.to: nom"t"; \
12647                rel2.to: nom"t"; \
12648                image.normal: "flip_amt.png"; \
12649             } \
12650             description { state: "0" 0.0; \
12651                inherit: "default" 0.0; \
12652                image.normal: "flip_amt.png"; \
12653             } \
12654             description { state: "1" 0.0; \
12655                inherit: "default" 0.0; \
12656                image.normal: "flip_pmt.png"; \
12657             } \
12658          } \
12659          part { name: nom"top"; \
12660             clip_to: clipto; \
12661             description { state: "default" 0.0; \
12662                rel1.to: nom"t"; \
12663                rel2.to: nom"t"; \
12664                image.normal: "flip_amt.png"; \
12665             } \
12666             description { state: "0" 0.0; \
12667                inherit: "default" 0.0; \
12668                rel1.relative: 0.0 0.0; \
12669                image.normal: "flip_amt.png"; \
12670             } \
12671             description { state: "0h" 0.0; \
12672                inherit: "default" 0.0; \
12673                color: 128 128 128 255; \
12674                visible: 0; \
12675                rel1.relative: 0.0 1.0; \
12676                image.normal: "flip_amt.png"; \
12677             } \
12678             description { state: "1" 0.0; \
12679                inherit: "default" 0.0; \
12680                rel1.relative: 0.0 0.0; \
12681                image.normal: "flip_pmt.png"; \
12682             } \
12683             description { state: "1h" 0.0; \
12684                inherit: "default" 0.0; \
12685                color: 128 128 128 255; \
12686                visible: 0; \
12687                rel1.relative: 0.0 1.0; \
12688                image.normal: "flip_pmt.png"; \
12689             } \
12690          }
12691
12692          DIGAP("ap", "ampm", "ampmclip");
12693          
12694 ///////////////////////////////////////////////////////////////////         
12695          
12696          part { name: "event"; type: RECT;
12697             mouse_events: 1;
12698             description { state: "default" 0.0;
12699                color: 0 0 0 0;
12700             }
12701          }
12702       }
12703       programs {
12704          program { name: "init";
12705             signal: "load";
12706             source: "";
12707             script {
12708                clock_cb(0);
12709             }
12710          }
12711          program { name: "secon";
12712             signal: "e,state,seconds,on";
12713             source: "e";
12714             action: STATE_SET "default" 0.0;
12715             target: "secs1";
12716             after: "sec2";
12717          }
12718          program { name: "sec2";
12719             script {
12720                new tim;
12721                
12722                set_int(do_seconds, 1);
12723                set_state(PART:"sclip", "default", 0.0);
12724                eval_fields();
12725                tim = get_int(tick_timer);
12726                if (tim) {
12727                   cancel_timer(tim);
12728                   set_int(tick_timer, 0);
12729                }
12730                clock_cb(0);
12731             }
12732          }
12733          program { name: "secoff";
12734             signal: "e,state,seconds,off";
12735             source: "e";
12736             action: STATE_SET "default" 0.0;
12737             target: "secs1";
12738             after: "sec3";
12739          }
12740          program { name: "sec3";
12741             script {
12742                new tim;
12743                
12744                set_int(do_seconds, 0);
12745                set_state(PART:"sclip", "hidden", 0.0);
12746                eval_fields();
12747                tim = get_int(tick_timer);
12748                if (tim) {
12749                   cancel_timer(tim);
12750                   set_int(tick_timer, 0);
12751                }
12752                clock_cb(0);
12753             }
12754          }
12755          program { name: "24h";
12756             signal: "e,state,24h,on";
12757             source: "e";
12758             script {
12759                new tim;
12760                
12761                set_int(do_24h, 1);
12762                set_state(PART:"ampmclip", "hidden", 0.0);
12763                eval_fields();
12764                tim = get_int(tick_timer);
12765                if (tim) {
12766                   cancel_timer(tim);
12767                   set_int(tick_timer, 0);
12768                }
12769                clock_cb(0);
12770             }
12771          }
12772          program { name: "12h";
12773             signal: "e,state,24h,off";
12774             source: "e";
12775             script {
12776                new tim;
12777                
12778                set_int(do_24h, 0);
12779                set_state(PART:"ampmclip", "default", 0.0);
12780                eval_fields();
12781                tim = get_int(tick_timer);
12782                if (tim) {
12783                   cancel_timer(tim);
12784                   set_int(tick_timer, 0);
12785                }
12786                clock_cb(0);
12787             }
12788          }
12789       }
12790    }
12791    group { name: "e/modules/clock/main";
12792       images {
12793          image: "clock_base.png" COMP;
12794          image: "tacho_fg.png" COMP;
12795          image: "ch-h1.png" COMP;
12796          image: "ch-h2.png" COMP;
12797          image: "ch-m1.png" COMP;
12798          image: "ch-m2.png" COMP;
12799          image: "ch-s1.png" COMP;
12800          image: "ch-s2.png" COMP;
12801          image: "ch-h1-2.png" COMP;
12802          image: "ch-h2-2.png" COMP;
12803          image: "ch-m1-2.png" COMP;
12804          image: "ch-m2-2.png" COMP;
12805          image: "ch-s1-2.png" COMP;
12806          image: "ch-s2-2.png" COMP;
12807          image: "ch-h1-3.png" COMP;
12808          image: "ch-h2-3.png" COMP;
12809          image: "ch-m1-3.png" COMP;
12810          image: "ch-m2-3.png" COMP;
12811          image: "ch-s1-3.png" COMP;
12812          image: "ch-s2-3.png" COMP;
12813       }
12814       min: 16 16;
12815       max: 128 128;
12816       script {
12817          public do_seconds, tick_timer;
12818          
12819          public clock_cb(val) {
12820             new year, month, day, yearday, weekday, hour, minute;
12821             new Float:second;
12822             new v, dosec, tim;
12823             new x, y, w, h;
12824
12825             date(year, month, day, yearday, weekday, hour, minute, second);
12826             get_geometry(PART:"hour", x, y, w, h);
12827             dosec = get_int(do_seconds);
12828             if (dosec) {
12829                v = round(second);
12830                tim = timer(1.0 - (second - v), "clock_cb", 1);
12831                
12832                custom_state(PART:"seconds", "default", 0.0);
12833                set_state_val(PART:"seconds", STATE_MAP_ROT_Z, (v * 360.0) / 60.0);
12834                if (h < 22) 
12835                   set_state_val(PART:"seconds", STATE_IMAGE, IMAGE:"ch-s1-3.png");
12836                else if (h < 44) 
12837                   set_state_val(PART:"seconds", STATE_IMAGE, IMAGE:"ch-s1-2.png");
12838                else 
12839                   set_state_val(PART:"seconds", STATE_IMAGE, IMAGE:"ch-s1.png");
12840                set_state(PART:"seconds", "custom", 0.0);
12841                
12842                custom_state(PART:"seconds-sh", "default", 0.0);
12843                set_state_val(PART:"seconds-sh", STATE_MAP_ROT_Z, (v * 360.0) / 60.0);
12844                if (h < 22) 
12845                   set_state_val(PART:"seconds-sh", STATE_IMAGE, IMAGE:"ch-s2-3.png");
12846                else if (h < 44) 
12847                   set_state_val(PART:"seconds-sh", STATE_IMAGE, IMAGE:"ch-s2-2.png");
12848                else 
12849                   set_state_val(PART:"seconds-sh", STATE_IMAGE, IMAGE:"ch-s2.png");
12850                set_state(PART:"seconds-sh", "custom", 0.0);
12851             }
12852             else {
12853                tim = timer(60.0 - (second), "clock_cb", 1);
12854             }
12855             set_int(tick_timer, tim);
12856
12857             custom_state(PART:"minutes", "default", 0.0);
12858             set_state_val(PART:"minutes", STATE_MAP_ROT_Z, (float(minute) * 360.0) / 60.0);
12859             if (h < 22) 
12860                set_state_val(PART:"minutes", STATE_IMAGE, IMAGE:"ch-m1-3.png");
12861             else if (h < 44) 
12862                set_state_val(PART:"minutes", STATE_IMAGE, IMAGE:"ch-m1-2.png");
12863             else 
12864                set_state_val(PART:"minutes", STATE_IMAGE, IMAGE:"ch-m1.png");
12865             set_state(PART:"minutes", "custom", 0.0);
12866
12867             custom_state(PART:"minutes-sh", "default", 0.0);
12868             set_state_val(PART:"minutes-sh", STATE_MAP_ROT_Z, (float(minute) * 360.0) / 60.0);
12869             if (h < 22) 
12870                set_state_val(PART:"minutes-sh", STATE_IMAGE, IMAGE:"ch-m2-3.png");
12871             else if (h < 44) 
12872                set_state_val(PART:"minutes-sh", STATE_IMAGE, IMAGE:"ch-m2-2.png");
12873             else 
12874                set_state_val(PART:"minutes-sh", STATE_IMAGE, IMAGE:"ch-m2.png");
12875             set_state(PART:"minutes-sh", "custom", 0.0);
12876
12877             custom_state(PART:"hour", "default", 0.0);
12878             set_state_val(PART:"hour", STATE_MAP_ROT_Z, ((float(hour) + (float(minute) / 60.0)) * 360.0) / 12.0);
12879             if (h < 22) 
12880                set_state_val(PART:"hour", STATE_IMAGE, IMAGE:"ch-h1-3.png");
12881             else if (h < 44) 
12882                set_state_val(PART:"hour", STATE_IMAGE, IMAGE:"ch-h1-2.png");
12883             else 
12884                set_state_val(PART:"hour", STATE_IMAGE, IMAGE:"ch-h1.png");
12885             set_state(PART:"hour", "custom", 0.0);
12886             
12887             custom_state(PART:"hour-sh", "default", 0.0);
12888             set_state_val(PART:"hour-sh", STATE_MAP_ROT_Z, ((float(hour) + (float(minute) / 60.0)) * 360.0) / 12.0);
12889             if (h < 22) 
12890                set_state_val(PART:"hour-sh", STATE_IMAGE, IMAGE:"ch-h2-3.png");
12891             else if (h < 44) 
12892                set_state_val(PART:"hour-sh", STATE_IMAGE, IMAGE:"ch-h2-2.png");
12893             else 
12894                set_state_val(PART:"hour-sh", STATE_IMAGE, IMAGE:"ch-h2.png");
12895             set_state(PART:"hour-sh", "custom", 0.0);
12896          }
12897       }
12898       parts {
12899          part {
12900             name: "base";
12901             description {
12902                state: "default" 0.0;
12903                aspect: 1.0 1.0;
12904                aspect_preference: BOTH;
12905                image.normal: "clock_base.png";
12906             }
12907          }
12908          part {
12909             name: "base2";
12910             type: RECT;
12911             mouse_events: 0;
12912             description {
12913                state: "default" 0.0;
12914                visible: 0;
12915                rel1 {
12916                   to: "base";
12917                   relative: (2.0/128.0) (2.0/128.0);
12918                }
12919                rel2 {
12920                   to: "base";
12921                   relative: (1.0+(2.0/128.0)) (1.0+(2.0/128.0));
12922                }
12923             }
12924          }
12925          part {
12926             name: "seconds-sh";
12927             mouse_events: 0;
12928             description { state: "default" 0.0;
12929                rel1 {
12930                   to: "base2";
12931                   relative: 0.3125 0.0;
12932                }
12933                rel2 {
12934                   to: "base2";
12935                   relative: 0.6875 0.6875;
12936                }
12937                image.normal: "ch-s2.png";
12938                map {
12939                   on: 1;
12940                   rotation {
12941                      center: "base2";
12942                   }
12943                }
12944             }
12945             description { state: "hidden" 0.0;
12946                inherit: "default" 0.0;
12947                visible: 0;
12948             }
12949          }
12950          part {
12951             name: "seconds";
12952             mouse_events: 0;
12953             description { state: "default" 0.0;
12954                rel1 {
12955                   to: "base";
12956                   relative: 0.3125 0.0;
12957                }
12958                rel2 {
12959                   to: "base";
12960                   relative: 0.6875 0.6875;
12961                }
12962                image.normal: "ch-s1.png";
12963                map {
12964                   on: 1;
12965                   rotation {
12966                      center: "base";
12967                   }
12968                }
12969             }
12970             description { state: "hidden" 0.0;
12971                inherit: "default" 0.0;
12972                visible: 0;
12973             }
12974          }
12975          part {
12976             name: "minutes-sh";
12977             mouse_events: 0;
12978             description {
12979                state: "default" 0.0;
12980                rel1 {
12981                   to: "base2";
12982                   relative: 0.3125 0.0;
12983                }
12984                rel2 {
12985                   to: "base2";
12986                   relative: 0.6875 0.6875;
12987                }
12988                image.normal: "ch-m2.png";
12989                map {
12990                   on: 1;
12991                   rotation {
12992                      center: "base2";
12993                   }
12994                }
12995             }
12996          }
12997          part {
12998             name: "minutes";
12999             mouse_events: 0;
13000             description {
13001                state: "default" 0.0;
13002                rel1 {
13003                   to: "base";
13004                   relative: 0.3125 0.0;
13005                }
13006                rel2 {
13007                   to: "base";
13008                   relative: 0.6875 0.6875;
13009                }
13010                image.normal: "ch-m1.png";
13011                map {
13012                   on: 1;
13013                   rotation {
13014                      center: "base";
13015                   }
13016                }
13017             }
13018          }
13019          part {
13020             name: "hour-sh";
13021             mouse_events: 0;
13022             description {
13023                state: "default" 0.0;
13024                rel1 {
13025                   to: "base2";
13026                   relative: 0.3125 0.0;
13027                }
13028                rel2 {
13029                   to: "base2";
13030                   relative: 0.6875 0.6875;
13031                }
13032                image.normal: "ch-h2.png";
13033                map {
13034                   on: 1;
13035                   rotation {
13036                      center: "base2";
13037                   }
13038                }
13039             }
13040          }
13041          part {
13042             name: "hour";
13043             mouse_events: 0;
13044             description {
13045                state: "default" 0.0;
13046                rel1 {
13047                   to: "base";
13048                   relative: 0.3125 0.0;
13049                }
13050                rel2 {
13051                   to: "base";
13052                   relative: 0.6875 0.6875;
13053                }
13054                image.normal: "ch-h1.png";
13055                map {
13056                   on: 1;
13057                   rotation {
13058                      center: "base";
13059                   }
13060                }
13061             }
13062          }
13063          part {
13064             name: "over";
13065             mouse_events: 0;
13066             description {
13067                state: "default" 0.0;
13068                rel1.to: "base";
13069                rel2.to: "base";
13070                image.normal: "tacho_fg.png";
13071             }
13072          }
13073       }
13074       programs {
13075          program { name: "init";
13076             signal: "load";
13077             source: "";
13078             script {
13079                clock_cb(0);
13080             }
13081          }
13082          program { name: "secon";
13083             signal: "e,state,seconds,on";
13084             source: "e";
13085             action: STATE_SET "default" 0.0;
13086             target: "seconds";
13087             target: "seconds-sh";
13088             after: "sec2";
13089          }
13090          program { name: "sec2";
13091             script {
13092                new tim;
13093                
13094                set_int(do_seconds, 1);
13095                tim = get_int(tick_timer);
13096                if (tim) {
13097                   cancel_timer(tim);
13098                   set_int(tick_timer, 0);
13099                }
13100                clock_cb(0);
13101             }
13102          }
13103          program { name: "secoff";
13104             signal: "e,state,seconds,off";
13105             source: "e";
13106             action: STATE_SET "hidden" 0.0;
13107             target: "seconds";
13108             target: "seconds-sh";
13109             after: "sec3";
13110          }
13111          program { name: "sec3";
13112             script {
13113                new tim;
13114                
13115                set_int(do_seconds, 0);
13116                tim = get_int(tick_timer);
13117                if (tim) {
13118                   cancel_timer(tim);
13119                   set_int(tick_timer, 0);
13120                }
13121                clock_cb(0);
13122             }
13123          }
13124       }
13125    }
13126
13127    group { name: "e/modules/clock/calendar/dayname";
13128       parts {
13129          part { name: "e.text.label";
13130             type: TEXT;
13131             effect: SHADOW;
13132             mouse_events: 0;
13133             description { state: "default" 0.0;
13134                align: 0.5 0.5;
13135                color: 0 0 0 64;
13136                color3: 255 255 255 255;
13137                rel1.offset: 3 3;
13138                rel2.offset: -3 -3;
13139                text {
13140                   text: "XXX";
13141                   font: "Sans";
13142                   align: 0.5 0.5;
13143                   size: 8;
13144                   min: 1 1;
13145                   text_class: "module_small";
13146                }
13147             }
13148          }
13149       }
13150    }
13151    group { name: "e/modules/clock/calendar/day";
13152       images {
13153          image: "inset_sunk.png" COMP;
13154       }
13155       parts {
13156          part { name: "hidden"; type: RECT;
13157             mouse_events: 0;
13158             description { state: "default" 0.0;
13159                color: 255 255 255 255;
13160             }
13161             description { state: "hidden" 0.0;
13162                inherit: "default" 0.0;
13163                color: 255 255 255 64;
13164             }
13165          }
13166          part { name: "weekend"; type: RECT;
13167             mouse_events: 0;
13168             clip_to: "hidden";
13169             description { state: "default" 0.0;
13170                color: 0 0 0 0;
13171                rel1.offset: 1 1;
13172                rel2.offset: -2 -2;
13173             }
13174             description { state: "weekend" 0.0;
13175                inherit: "default" 0.0;
13176                color: 255 0 0 64;
13177             }
13178          }
13179          part { name: "day"; type: RECT;
13180             mouse_events: 0;
13181             clip_to: "hidden";
13182             description { state: "default" 0.0;
13183                color: 255 255 255 0;
13184                rel1.offset: 1 1;
13185                rel2.offset: -2 -2;
13186             }
13187             description { state: "today" 0.0;
13188                inherit: "default" 0.0;
13189                color: 0 0 0 200;
13190             }
13191          }
13192          part { name: "e.text.label";
13193             type: TEXT;
13194             mouse_events: 0;
13195             clip_to: "hidden";
13196             description { state: "default" 0.0;
13197                align: 0.5 0.5;
13198                color: 0 0 0 255;
13199               color3: 0 0 0 32;
13200                rel1.offset: 2 2;
13201                rel2.offset: -3 -3;
13202                text {
13203                   text: "88";
13204                   font: "Sans";
13205                   align: 0.5 0.5;
13206                   size: 8;
13207                   min: 1 1;
13208                   text_class: "module_small";
13209                }
13210             }
13211             description { state: "today" 0.0;
13212                inherit: "default" 0.0;
13213                color: 255 255 255 255;
13214             }
13215          }
13216          part { name: "inset";
13217             mouse_events: 0;
13218             clip_to: "hidden";
13219             description { state: "default" 0.0;
13220                image.normal: "inset_sunk.png";
13221                image.middle: 0;
13222                image.border: 7 7 7 7;
13223                fill.smooth: 0;
13224                color: 255 255 255 128;
13225             }
13226          }
13227       }
13228       programs {
13229          program { name: "weekend";
13230             signal: "e,state,weekend";
13231             source: "e";
13232             action: STATE_SET "weekend" 0.0;
13233             target: "weekend";
13234          }
13235          program { name: "weekday";
13236             signal: "e,state,weekday";
13237             source: "e";
13238             action: STATE_SET "default" 0.0;
13239             target: "weekend";
13240          }
13241          program { name: "hidden";
13242             signal: "e,state,hidden";
13243             source: "e";
13244             action: STATE_SET "hidden" 0.0;
13245             target: "hidden";
13246          }
13247          program { name: "visible";
13248             signal: "e,state,visible";
13249             source: "e";
13250             action: STATE_SET "default" 0.0;
13251             target: "hidden";
13252          }
13253          program { name: "today";
13254             signal: "e,state,today";
13255             source: "e";
13256             action: STATE_SET "today" 0.0;
13257             target: "day";
13258             target: "e.text.label";
13259          }
13260          program { name: "someday";
13261             signal: "e,state,someday";
13262             source: "e";
13263             action: STATE_SET "default" 0.0;
13264             target: "day";
13265             target: "e.text.label";
13266          }
13267       }
13268    }
13269    group { name: "e/modules/clock/calendar";
13270       images {
13271          image: "arrow_left.png" COMP;
13272          image: "arrow_right.png" COMP;
13273          image: "inset_sunk.png" COMP;
13274          image: "ilist_1.png" COMP;
13275          image: "ilist_2.png" COMP;
13276          image: "ilist_item_shadow.png" COMP;
13277       }
13278       parts {
13279          part { name: "e.text.month";
13280             type: TEXT;
13281             effect: SOFT_SHADOW;
13282             mouse_events: 1;
13283             description { state: "default" 0.0;
13284                fixed: 0 1;
13285                align: 0.0 0.0;
13286                rel1 {
13287                   to_x: "prev";
13288                   relative: 1.0 0.0;
13289                }
13290                rel2 {
13291                   relative: 1.0 0.0;
13292                }
13293                color: 255 255 255 255;
13294                color3: 0 0 0 32;
13295                text {
13296                   font: "Sans:style=Bold";
13297                   align: 0.0 0.5;
13298                   size: 10;
13299                   min: 0 1;
13300                   text_class: "module_normal";
13301                }
13302             }
13303          }
13304          part { name: "e.text.year";
13305             type: TEXT;
13306             effect: SOFT_SHADOW;
13307             mouse_events: 0;
13308             description { state: "default" 0.0;
13309                fixed: 0 1;
13310                align: 1.0 0.0;
13311                rel1 {
13312                   relative: 0.0 0.0;
13313                }
13314                rel2 {
13315                   to_x: "next";
13316                   relative: 0.0 0.0;
13317                }
13318                color: 255 255 255 255;
13319                color3: 0 0 0 32;
13320                text {
13321                   font: "Sans:style=Bold";
13322                   align: 1.0 0.5;
13323                   size: 10;
13324                   min: 0 1;
13325                   text_class: "module_normal";
13326                }
13327             }
13328          }
13329          part { name: "previm";
13330             mouse_events: 0;
13331             description { state: "default" 0.0;
13332                min: 9 9;
13333                max: 9 9;
13334                rel1.to: "prev";
13335                rel2.to: "prev";
13336                image.normal: "arrow_left.png";
13337             }
13338             description { state: "pressed" 0.0;
13339                inherit: "default" 0.0;
13340                rel1.offset: 0 2;
13341                rel2.offset: -1 1;
13342             }
13343          }
13344          part { name: "prev";
13345             type: RECT;
13346             description { state: "default" 0.0;
13347                align: 0.0 0.5;
13348                color: 0 0 0 0;
13349                aspect: 1.0 1.0;
13350                aspect_preference: VERTICAL;
13351                rel1.to_y: "e.text.month";
13352                rel1.relative: 0.0 0.0;
13353                rel2.to_y: "e.text.month";
13354                rel2.relative: 0.0 1.0;
13355             }
13356             program { name: "prev_down";
13357                signal: "mouse,down,1";
13358                source: "prev";
13359                action: STATE_SET "pressed" 0.0;
13360                target: "previm";
13361             }
13362             program { name: "prev_up";
13363                signal: "mouse,up,1";
13364                source: "prev";
13365                action: STATE_SET "default" 0.0;
13366                target: "previm";
13367             }
13368             program { name: "prev_clicked";
13369                signal: "mouse,clicked,1";
13370                source: "prev";
13371                action: SIGNAL_EMIT "e,action,prev" "";
13372             }
13373          }
13374          part { name: "nextim";
13375             mouse_events: 0;
13376             description { state: "default" 0.0;
13377                min: 9 9;
13378                max: 9 9;
13379                rel1.to: "next";
13380                rel2.to: "next";
13381                image.normal: "arrow_right.png";
13382             }
13383             description { state: "pressed" 0.0;
13384                inherit: "default" 0.0;
13385                rel1.offset: 0 2;
13386                rel2.offset: -1 1;
13387             }
13388          }
13389          part { name: "next";
13390             type: RECT;
13391             description { state: "default" 0.0;
13392                align: 1.0 0.5;
13393                color: 0 0 0 0;
13394                aspect: 1.0 1.0;
13395                aspect_preference: VERTICAL;
13396                rel1.to_y: "e.text.month";
13397                rel1.relative: 1.0 0.0;
13398                rel2.to_y: "e.text.month";
13399                rel2.relative: 1.0 1.0;
13400             }
13401             program { name: "next_down";
13402                signal: "mouse,down,1";
13403                source: "next";
13404                action: STATE_SET "pressed" 0.0;
13405                target: "nextim";
13406             }
13407             program { name: "next_up";
13408                signal: "mouse,up,1";
13409                source: "next";
13410                action: STATE_SET "default" 0.0;
13411                target: "nextim";
13412             }
13413             program { name: "next_clicked";
13414                signal: "mouse,clicked,1";
13415                source: "next";
13416                action: SIGNAL_EMIT "e,action,next" "";
13417             }
13418          }
13419          part { name: "days_bg1";
13420             mouse_events: 0;
13421             description { state: "default" 0.0;
13422                rel1.to: "e.table.days";
13423                rel1.offset: -1 -1;
13424                rel2.to: "e.table.days";
13425                rel2.offset: 0 0;
13426                image.normal: "ilist_2.png";
13427                image.border: 2 2 2 2;
13428             }
13429          }
13430          part { name: "daynames_bg0";
13431             mouse_events: 0;
13432             description { state: "default" 0.0;
13433                fixed: 0 1;
13434                align: 0.0 0.0;
13435                min: 0 10;
13436                rel1 {
13437                   to: "daynames_bg1";
13438                   relative: 0.0 1.0;
13439                   offset: 0 0;
13440                }
13441                rel2 {
13442                   to: "daynames_bg1";
13443                   relative: 1.0 1.0;
13444                   offset: -1 0;
13445                }
13446                image.normal: "ilist_item_shadow.png";
13447                fill.smooth: 0;
13448             }
13449          }
13450          part { name: "daynames_bg1";
13451             mouse_events: 0;
13452             description { state: "default" 0.0;
13453                rel1.to: "e.table.daynames";
13454                rel1.offset: -1 -1;
13455                rel2.to: "e.table.daynames";
13456                rel2.offset: 0 0;
13457                image.normal: "ilist_1.png";
13458                image.border: 2 2 2 2;
13459             }
13460          }
13461          part { name: "e.table.daynames"; type: TABLE;
13462             description { state: "default" 0.0;
13463                fixed: 0 1;
13464                align: 0.5 0.0;
13465                rel1.to_y: "e.text.month";
13466                rel1.relative: 0.0 1.0;
13467                rel1.offset: 2 2;
13468                rel2.to_y: "e.text.month";
13469                rel2.relative: 1.0 1.0;
13470                rel2.offset: -3 2;
13471                step: 7 1;
13472                table {
13473                   homogeneous: TABLE;
13474                   padding: 1 1;
13475                   align: 0.5 0.5;
13476                   min: 1 1;
13477                }
13478             }
13479             table { items {
13480 #define DAYNAME(x) \
13481    item { \
13482       position: x 0; \
13483       span: 1 1; \
13484       source: "e/modules/clock/calendar/dayname"; \
13485       weight: 1.0 1.0; \
13486       align: -1.0 -1.0; \
13487    }
13488                DAYNAME(0);
13489                DAYNAME(1);
13490                DAYNAME(2);
13491                DAYNAME(3);
13492                DAYNAME(4);
13493                DAYNAME(5);
13494                DAYNAME(6);
13495             } }
13496          }
13497          part { name: "e.table.days"; type: TABLE;
13498             description { state: "default" 0.0;
13499                rel1.to_y: "e.table.daynames";
13500                rel1.relative: 0.0 1.0;
13501                rel1.offset: 2 2;
13502                rel2.offset: -3 -3;
13503                step: 7 5;
13504                table {
13505                   homogeneous: TABLE;
13506                   padding: 1 1;
13507                   align: 0.5 0.5;
13508                   min: 1 1;
13509                }
13510             }
13511             table { items {
13512 #define DAY(x, y) \
13513    item { \
13514       position: x y; \
13515       span: 1 1; \
13516       source: "e/modules/clock/calendar/day"; \
13517       weight: 1.0 1.0; \
13518       align: -1.0 -1.0; \
13519    }
13520                DAY(0, 0);
13521                DAY(1, 0);
13522                DAY(2, 0);
13523                DAY(3, 0);
13524                DAY(4, 0);
13525                DAY(5, 0);
13526                DAY(6, 0);
13527
13528                DAY(0, 1);
13529                DAY(1, 1);
13530                DAY(2, 1);
13531                DAY(3, 1);
13532                DAY(4, 1);
13533                DAY(5, 1);
13534                DAY(6, 1);
13535
13536                DAY(0, 2);
13537                DAY(1, 2);
13538                DAY(2, 2);
13539                DAY(3, 2);
13540                DAY(4, 2);
13541                DAY(5, 2);
13542                DAY(6, 2);
13543
13544                DAY(0, 3);
13545                DAY(1, 3);
13546                DAY(2, 3);
13547                DAY(3, 3);
13548                DAY(4, 3);
13549                DAY(5, 3);
13550                DAY(6, 3);
13551                
13552                DAY(0, 4);
13553                DAY(1, 4);
13554                DAY(2, 4);
13555                DAY(3, 4);
13556                DAY(4, 4);
13557                DAY(5, 4);
13558                DAY(6, 4);
13559
13560                DAY(0, 5);
13561                DAY(1, 5);
13562                DAY(2, 5);
13563                DAY(3, 5);
13564                DAY(4, 5);
13565                DAY(5, 5);
13566                DAY(6, 5);
13567             } }
13568          }
13569          part { name: "inset";
13570             mouse_events: 1;
13571             description { state: "default" 0.0;
13572                image.normal: "inset_sunk.png";
13573                image.middle: 0;
13574                image.border: 7 7 7 7;
13575                fill.smooth: 0;
13576                rel1.to: "e.table.daynames";
13577                rel1.offset: -2 -2;
13578                rel2.to: "e.table.days";
13579                rel2.offset: 2 2;
13580             }
13581          }
13582       }
13583       programs {
13584          program {
13585             name: "mw_next";
13586             source: "*";
13587             signal: "mouse,wheel,0,-1";
13588             action: SIGNAL_EMIT "e,action,prev" "";
13589          }
13590          program {
13591             name: "mw_right";
13592             source: "*";
13593             signal: "mouse,wheel,0,1";
13594             action: SIGNAL_EMIT "e,action,next" "";
13595          }
13596       }
13597    }
13598
13599 /////////////////////////////////////////////////////////////////////////////
13600 /*** MOD: CPUFREQ ***/
13601
13602 #if 0
13603    group {
13604       name: "e/modules/cpufreq/main";
13605       images {
13606          image: "tacho_bg.png" COMP;
13607          image: "tacho_fg.png" COMP;
13608          image: "tacho_dial_00.png" COMP;
13609          image: "tacho_dial_01.png" COMP;
13610          image: "tacho_dial_02.png" COMP;
13611          image: "tacho_dial_03.png" COMP;
13612          image: "tacho_dial_04.png" COMP;
13613          image: "tacho_dial_05.png" COMP;
13614          image: "tacho_dial_06.png" COMP;
13615          image: "tacho_dial_07.png" COMP;
13616          image: "tacho_dial_08.png" COMP;
13617          image: "tacho_dial_09.png" COMP;
13618          image: "tacho_dial_10.png" COMP;
13619          image: "tacho_dial_11.png" COMP;
13620          image: "tacho_dial_12.png" COMP;
13621          image: "tacho_dial_13.png" COMP;
13622          image: "tacho_dial_14.png" COMP;
13623          image: "tacho_dial_15.png" COMP;
13624       }
13625       min: 16 16;
13626       max: 128 128;
13627       script {
13628          public available_frequencies;
13629          public available_governors;
13630          public message(Msg_Type:type, id, ...) {
13631             if ((type == MSG_INT_SET) && (id == 1)) {
13632                while (count(available_frequencies) > 0) {
13633                   remove(available_frequencies, 0);
13634                }
13635                for (new i = 2; i < numargs(); i++) {
13636                   append_int(available_frequencies, getarg(i));
13637                }
13638             } 
13639             else if ((type == MSG_STRING_SET) && (id == 2)) {
13640                new text[100];
13641                while (count(available_governors) > 0) {
13642                   remove(available_governors, 0);
13643                }
13644                for (new i = 2; i < numargs(); i++) {
13645                   snprintf(text, 100, "%s", getarg(i));
13646                   append_str(available_governors, text);
13647                }
13648             } 
13649             else if ((type == MSG_INT_SET) && (id == 3)) {
13650                new f = getarg(2);
13651                new use_buttons = getarg(3);
13652                new Float:freq, Float:min_freq, Float:max_freq;
13653                new text[100];
13654                freq = f;
13655                min_freq = fetch_int(available_frequencies, 0);
13656                max_freq = fetch_int(available_frequencies,
13657                              count(available_frequencies) - 1);
13658                freq = (freq - min_freq) / (max_freq - min_freq);
13659                set_state(PART:"meter", "default", freq);
13660                if (f < 1000000) {
13661                   snprintf(text, 100, "%i", f / 1000);
13662                } 
13663                else {
13664                   snprintf(text, 100, "%i.%i", f / 1000000,
13665                             (f % 1000000) / 100000);
13666                }
13667                set_text(PART:"readout", text);
13668                if (use_buttons == 0) {
13669                   // set_state(PART:"increase_button", "inactive", 0.0);
13670                   // set_state(PART:"decrease_button", "inactive", 0.0);
13671                   // set_state(PART:"increase", "inactive", 0.0);
13672                   // set_state(PART:"decrease", "inactive", 0.0);
13673                } 
13674                else {
13675                   // set_state(PART:"increase_button", "default", 0.0);
13676                   // set_state(PART:"decrease_button", "default", 0.0);
13677                   // set_state(PART:"increase", "default", 0.0);
13678                   // set_state(PART:"decrease", "default", 0.0);
13679                }
13680             } 
13681             else if((type == MSG_STRING) && (id == 4)) {
13682                new text[100];
13683                snprintf(text, 100, "%s", getarg(2));
13684             }
13685          }
13686       }
13687       parts {
13688          part {
13689             name: "fade_clip";
13690             type: RECT;
13691             mouse_events: 0;
13692             description {
13693                state: "default" 0.0;
13694                color: 255 255 255 255;
13695             }
13696             description {
13697                state: "faded" 0.0;
13698                color: 255 255 255 128;
13699             }
13700          }
13701          part {
13702             name: "base";
13703             clip_to: "fade_clip";
13704             description {
13705                state: "default" 0.0;
13706                aspect: 1.0 1.0;
13707                aspect_preference: BOTH;
13708                image.normal: "tacho_bg.png";
13709             }
13710          }
13711          part {
13712             name: "readout";
13713             type: TEXT;
13714             scale: 1;
13715             // effect: OUTLINE_SOFT_SHADOW;
13716             mouse_events: 0;
13717             clip_to: "fade_clip";
13718             description {
13719                state: "default" 0.0;
13720                rel1 {
13721                   relative: 0.6 0.7;
13722                   offset: 0 0;
13723                }
13724                rel2 {
13725                   relative: 0.6 0.7;
13726                   offset: 0 0;
13727                }
13728                color: 255 255 255 255;
13729                color2: 0 0 0 128;
13730                color3: 0 0 0 32;
13731                color_class: "module_label";
13732                text {
13733                   text: "??? Ghz";
13734                   font: "Sans:style=Bold";
13735                   size: 6;
13736                   align: 0.5 0.5;
13737                   min: 1 1;
13738                   text_class: "module_small";
13739                }
13740             }
13741          }
13742          part {
13743             name: "meter";
13744             clip_to: "fade_clip";
13745             mouse_events: 0;
13746             description {
13747                state: "default" 0.0000;
13748                image.normal: "tacho_dial_00.png";
13749                rel1.to: "base";
13750                rel2.to: "base";
13751             }
13752             description {
13753                state: "default" 0.0666;
13754                image.normal: "tacho_dial_01.png";
13755                rel1.to: "base";
13756                rel2.to: "base";
13757             }
13758             description {
13759                state: "default" 0.1333;
13760                image.normal: "tacho_dial_02.png";
13761                rel1.to: "base";
13762                rel2.to: "base";
13763             }
13764             description {
13765                state: "default" 0.2000;
13766                image.normal: "tacho_dial_03.png";
13767                rel1.to: "base";
13768                rel2.to: "base";
13769             }
13770             description {
13771                state: "default" 0.2666;
13772                image.normal: "tacho_dial_04.png";
13773                rel1.to: "base";
13774                rel2.to: "base";
13775             }
13776             description {
13777                state: "default" 0.3333;
13778                image.normal: "tacho_dial_05.png";
13779                rel1.to: "base";
13780                rel2.to: "base";
13781             }
13782             description {
13783                state: "default" 0.4000;
13784                image.normal: "tacho_dial_06.png";
13785                rel1.to: "base";
13786                rel2.to: "base";
13787             }
13788             description {
13789                state: "default" 0.4666;
13790                image.normal: "tacho_dial_07.png";
13791                rel1.to: "base";
13792                rel2.to: "base";
13793             }
13794             description {
13795                state: "default" 0.5333;
13796                image.normal: "tacho_dial_08.png";
13797                rel1.to: "base";
13798                rel2.to: "base";
13799             }
13800             description {
13801                state: "default" 0.6000;
13802                image.normal: "tacho_dial_09.png";
13803                rel1.to: "base";
13804                rel2.to: "base";
13805             }
13806             description {
13807                state: "default" 0.6666;
13808                image.normal: "tacho_dial_10.png";
13809                rel1.to: "base";
13810                rel2.to: "base";
13811             }
13812             description {
13813                state: "default" 0.7333;
13814                image.normal: "tacho_dial_11.png";
13815                rel1.to: "base";
13816                rel2.to: "base";
13817             }
13818             description {
13819                state: "default" 0.8000;
13820                image.normal: "tacho_dial_12.png";
13821                rel1.to: "base";
13822                rel2.to: "base";
13823             }
13824             description {
13825                state: "default" 0.8666;
13826                image.normal: "tacho_dial_13.png";
13827                rel1.to: "base";
13828                rel2.to: "base";
13829             }
13830             description {
13831                state: "default" 0.9333;
13832                image.normal: "tacho_dial_14.png";
13833                rel1.to: "base";
13834                rel2.to: "base";
13835             }
13836             description {
13837                state: "default" 1.0000;
13838                image.normal: "tacho_dial_15.png";
13839                rel1.to: "base";
13840                rel2.to: "base";
13841             }
13842          }
13843          part {
13844             name: "over";
13845             clip_to: "fade_clip";
13846             mouse_events: 0;
13847             description {
13848                state: "default" 0.0;
13849                rel1.to: "base";
13850                rel2.to: "base";
13851                image.normal: "tacho_fg.png";
13852             }
13853          }
13854       }
13855       programs {
13856       /*
13857          program {
13858             name: "next_governor";
13859             signal: "mouse,down,1";
13860             source: "cpu";
13861             action: SIGNAL_EMIT "e,action,governor,next" "";
13862          }
13863          program {
13864             name: "next_governor2";
13865             signal: "mouse,down,1";
13866             source: "cpu";
13867             action: STATE_SET "clicked" 0.0;
13868             target: "cpu";
13869          }
13870          program {
13871             name: "next_governor3";
13872             signal: "mouse,up,1";
13873             source: "cpu";
13874             action: STATE_SET "default" 0.0;
13875             target: "cpu";
13876          }
13877          program {
13878             name: "increase_frequency";
13879             signal: "mouse,down,1";
13880             source: "increase";
13881             action: SIGNAL_EMIT "e,action,frequency,increase" "";
13882          }
13883          program {
13884             name: "increase_frequency2";
13885             signal: "mouse,down,1";
13886             source: "increase";
13887             action: STATE_SET "clicked" 0.0;
13888             target: "increase_button";
13889          }
13890          program {
13891             name: "increase_frequency3";
13892             signal: "mouse,up,1";
13893             source: "increase";
13894             action: STATE_SET "default" 0.0;
13895             target: "increase_button";
13896          }
13897          program {
13898             name: "decrease_frequency";
13899             signal: "mouse,down,1";
13900             source: "decrease";
13901             action: SIGNAL_EMIT "e,action,frequency,decrease" "";
13902          }
13903          program {
13904             name: "decrease_frequency2";
13905             signal: "mouse,down,1";
13906             source: "decrease";
13907             action: STATE_SET "clicked" 0.0;
13908             target: "decrease_button";
13909          }
13910          program {
13911             name: "decrease_frequency3";
13912             signal: "mouse,up,1";
13913             source: "decrease";
13914             action: STATE_SET "default" 0.0;
13915             target: "decrease_button";
13916          }
13917          */
13918          program {
13919             name: "enabled";
13920             signal: "e,state,enabled";
13921             source: "e";
13922             action: STATE_SET "default" 0.0;
13923             target: "fade_clip";
13924          }
13925          program {
13926             name: "disabled";
13927             signal: "e,state,disabled";
13928             source: "e";
13929             action: STATE_SET "faded" 0.0;
13930             target: "fade_clip";
13931          }
13932       }
13933    }
13934 #else
13935    group {
13936       name: "e/modules/cpufreq/main";
13937       images {
13938          image: "tacho_bg.png" COMP;
13939          image: "tacho_fg.png" COMP;
13940          image: "t0.png" COMP;
13941          image: "t0-sh.png" COMP;
13942          image: "t1.png" COMP;
13943          image: "t1-sh.png" COMP;
13944          image: "t2.png" COMP;
13945       }
13946       min: 16 16;
13947       max: 128 128;
13948       script {
13949          public available_frequencies;
13950          public available_governors;
13951
13952          public cur_freq_old;
13953          public cur_freq_new;
13954          public cur_freq_now;
13955          public cur_freq_anim;
13956
13957          public min_freq_old;
13958          public min_freq_new;
13959          public min_freq_now;
13960
13961          public max_freq_old;
13962          public max_freq_new;
13963          public max_freq_now;
13964         
13965          public slide_cur_freq(val, Float:v) {
13966             new Float:freq, Float:min_freq, Float:max_freq, Float:tf;
13967             new f, f0, f1;
13968            
13969             v = (1.0 - cos(v * 3.141592654)) / 2.0;
13970            
13971             min_freq = fetch_int(available_frequencies, 0);
13972             max_freq = fetch_int(available_frequencies,
13973                                  count(available_frequencies) - 1);
13974            
13975             f0 = get_int(cur_freq_old);
13976             f1 = get_int(cur_freq_new);
13977             f = f1 - f0;
13978             freq = float(f) * v;
13979             f = round(freq);
13980             f = f + f0;
13981             set_int(cur_freq_now, f);
13982            
13983             freq = (float(f) - min_freq) / (max_freq - min_freq);
13984             tf = (freq * 225.0) - 135.0;
13985             custom_state(PART:"meter", "default", 0.0);
13986             set_state_val(PART:"meter", STATE_MAP_ROT_Z, tf);
13987             set_state(PART:"meter", "custom", 0.0);
13988             custom_state(PART:"meter_sh", "default", 0.0);
13989             set_state_val(PART:"meter_sh", STATE_MAP_ROT_Z, tf);
13990             set_state(PART:"meter_sh", "custom", 0.0);
13991            
13992             f0 = get_int(min_freq_old);
13993             f1 = get_int(min_freq_new);
13994             f = f1 - f0;
13995             freq = float(f) * v;
13996             f = round(freq);
13997             f = f + f0;
13998             set_int(min_freq_now, f);
13999            
14000             freq = (float(f) - min_freq) / (max_freq - min_freq);
14001             tf = (freq * 225.0) - 135.0;
14002             custom_state(PART:"meter_min", "default", 0.0);
14003             set_state_val(PART:"meter_min", STATE_MAP_ROT_Z, tf);
14004             set_state(PART:"meter_min", "custom", 0.0);
14005             custom_state(PART:"meter_min_sh", "default", 0.0);
14006             set_state_val(PART:"meter_min_sh", STATE_MAP_ROT_Z, tf);
14007             set_state(PART:"meter_min_sh", "custom", 0.0);
14008            
14009             f0 = get_int(max_freq_old);
14010             f1 = get_int(max_freq_new);
14011             f = f1 - f0;
14012             freq = float(f) * v;
14013             f = round(freq);
14014             f = f + f0;
14015             set_int(max_freq_now, f);
14016            
14017             freq = (float(f) - min_freq) / (max_freq - min_freq);
14018             tf = (freq * 225.0) - 135.0;
14019             custom_state(PART:"meter_max", "default", 0.0);
14020             set_state_val(PART:"meter_max", STATE_MAP_ROT_Z, tf);
14021             set_state(PART:"meter_max", "custom", 0.0);
14022             custom_state(PART:"meter_max_sh", "default", 0.0);
14023             set_state_val(PART:"meter_max_sh", STATE_MAP_ROT_Z, tf);
14024             set_state(PART:"meter_max_sh", "custom", 0.0);
14025            
14026             if (v >= 1.0) {
14027               set_int(cur_freq_anim, 0);
14028               return 0;
14029             }
14030             return 1;
14031          }
14032         
14033          public message(Msg_Type:type, id, ...) {
14034             if ((type == MSG_INT_SET) && (id == 1)) { // add an available freq
14035                while (count(available_frequencies) > 0) {
14036                   remove(available_frequencies, 0);
14037                }
14038                for (new i = 2; i < numargs(); i++) {
14039                   append_int(available_frequencies, getarg(i));
14040                }
14041             } 
14042             else if ((type == MSG_STRING_SET) && (id == 2)) { // add a governor
14043                new text[100];
14044                while (count(available_governors) > 0) {
14045                   remove(available_governors, 0);
14046                }
14047                for (new i = 2; i < numargs(); i++) {
14048                   snprintf(text, 100, "%s", getarg(i));
14049                   append_str(available_governors, text);
14050                }
14051             } 
14052             else if ((type == MSG_INT_SET) && (id == 3)) { // avg freq
14053                new f;
14054                new ani, curf, minf, maxf;
14055                new text[100];
14056
14057                f = getarg(2);              
14058                if (f < 1000000) snprintf(text, 100, "%i", f / 1000);
14059                else snprintf(text, 100, "%i.%i", f / 1000000,
14060                              (f % 1000000) / 100000);
14061                set_text(PART:"readout", text);
14062               
14063                ani = get_int(cur_freq_anim);
14064                if (ani > 0) cancel_anim(ani);
14065                ani = anim(1.0, "slide_cur_freq", 0);
14066                set_int(cur_freq_anim, ani);
14067               
14068                f = getarg(2);
14069                curf = get_int(cur_freq_now);
14070                set_int(cur_freq_old, curf);
14071                set_int(cur_freq_new, f);
14072               
14073                f = getarg(4);
14074                minf = get_int(min_freq_now);
14075                set_int(min_freq_old, minf);
14076                set_int(min_freq_new, f);
14077               
14078                f = getarg(5);
14079                maxf = get_int(max_freq_now);
14080                set_int(max_freq_old, maxf);
14081                set_int(max_freq_new, f);
14082             } 
14083             else if ((type == MSG_STRING) && (id == 4)) {
14084                new text[100];
14085                snprintf(text, 100, "%s", getarg(2));
14086             }
14087          }
14088       }
14089       parts {
14090          part {
14091             name: "fade_clip";
14092             type: RECT;
14093             mouse_events: 0;
14094             description {
14095                state: "default" 0.0;
14096                color: 255 255 255 255;
14097             }
14098             description {
14099                state: "faded" 0.0;
14100                color: 255 255 255 128;
14101             }
14102          }
14103          part {
14104             name: "base";
14105             clip_to: "fade_clip";
14106             description {
14107                state: "default" 0.0;
14108                aspect: 1.0 1.0;
14109                aspect_preference: BOTH;
14110                image.normal: "tacho_bg.png";
14111             }
14112          }
14113          part {
14114             name: "readout";
14115             type: TEXT;
14116             scale: 1;
14117             // effect: OUTLINE_SOFT_SHADOW;
14118             mouse_events: 0;
14119             clip_to: "fade_clip";
14120             description {
14121                state: "default" 0.0;
14122                rel1 {
14123                   relative: 0.6 0.7;
14124                   offset: 0 0;
14125                }
14126                rel2 {
14127                   relative: 0.6 0.7;
14128                   offset: 0 0;
14129                }
14130                color: 255 255 255 255;
14131                color2: 0 0 0 128;
14132                color3: 0 0 0 32;
14133                color_class: "module_label";
14134                text {
14135                   text: "??? Ghz";
14136                   font: "Sans:style=Bold";
14137                   size: 6;
14138                   align: 0.5 0.5;
14139                   min: 1 1;
14140                   text_class: "module_small";
14141                }
14142             }
14143          }
14144          part { name: "meter_min_sh";
14145             clip_to: "fade_clip";
14146             mouse_events: 0;
14147             description { state: "default" 0.0000;
14148                image.normal: "t1-sh.png";
14149                rel1.to: "meter_min";
14150                rel1.relative: 0.0+(2.0/64.0) 0.0+(2.0/64.0);
14151                rel2.to: "meter_min";
14152                rel2.relative: 1.0+(2.0/64.0) 1.0+(2.0/64.0);
14153                map {
14154                   on: 1;
14155                   rotation {
14156                      center: "meter_min_sh";
14157                   }
14158                }
14159             }
14160          }
14161          part { name: "meter_min";
14162             clip_to: "fade_clip";
14163             mouse_events: 0;
14164             description { state: "default" 0.0000;
14165                image.normal: "t2.png";
14166                rel1.to: "base";
14167                rel2.to: "base";
14168                map {
14169                   on: 1;
14170                   rotation {
14171                      center: "base";
14172                   }
14173                }
14174             }
14175          }
14176          part { name: "meter_max_sh";
14177             clip_to: "fade_clip";
14178             mouse_events: 0;
14179             description { state: "default" 0.0000;
14180                image.normal: "t1-sh.png";
14181                rel1.to: "meter_max";
14182                rel1.relative: 0.0+(2.0/64.0) 0.0+(2.0/64.0);
14183                rel2.to: "meter_max";
14184                rel2.relative: 1.0+(2.0/64.0) 1.0+(2.0/64.0);
14185                map {
14186                   on: 1;
14187                   rotation {
14188                      center: "meter_max_sh";
14189                   }
14190                }
14191             }
14192          }
14193          part { name: "meter_max";
14194             clip_to: "fade_clip";
14195             mouse_events: 0;
14196             description { state: "default" 0.0000;
14197                image.normal: "t1.png";
14198                rel1.to: "base";
14199                rel2.to: "base";
14200                map {
14201                   on: 1;
14202                   rotation {
14203                      center: "base";
14204                   }
14205                }
14206             }
14207          }
14208          part { name: "meter_sh";
14209             clip_to: "fade_clip";
14210             mouse_events: 0;
14211             description { state: "default" 0.0000;
14212                image.normal: "t0-sh.png";
14213                rel1.to: "meter";
14214                rel1.relative: 0.0+(2.0/64.0) 0.0+(2.0/64.0);
14215                rel2.to: "meter";
14216                rel2.relative: 1.0+(2.0/64.0) 1.0+(2.0/64.0);
14217                map {
14218                   on: 1;
14219                   rotation {
14220                      center: "meter_sh";
14221                   }
14222                }
14223             }
14224          }
14225          part { name: "meter";
14226             clip_to: "fade_clip";
14227             mouse_events: 0;
14228             description { state: "default" 0.0000;
14229                image.normal: "t0.png";
14230                rel1.to: "base";
14231                rel2.to: "base";
14232                map {
14233                   on: 1;
14234                   rotation {
14235                      center: "base";
14236                   }
14237                }
14238             }
14239          }
14240          part {
14241             name: "over";
14242             clip_to: "fade_clip";
14243             mouse_events: 0;
14244             description {
14245                state: "default" 0.0;
14246                rel1.to: "base";
14247                rel2.to: "base";
14248                image.normal: "tacho_fg.png";
14249             }
14250          }
14251       }
14252       programs {
14253          program {
14254             name: "enabled";
14255             signal: "e,state,enabled";
14256             source: "e";
14257             action: STATE_SET "default" 0.0;
14258             target: "fade_clip";
14259          }
14260          program {
14261             name: "disabled";
14262             signal: "e,state,disabled";
14263             source: "e";
14264             action: STATE_SET "faded" 0.0;
14265             target: "fade_clip";
14266          }
14267       }
14268    }
14269 #endif
14270
14271 /////////////////////////////////////////////////////////////////////////////
14272 /*** MOD: IBOX / IBAR ***/
14273
14274    group {
14275       name: "e/modules/ibox/icon";
14276       alias: "e/modules/ibar/icon";
14277       data {
14278          item: "raise_on_hilight" "0";
14279          // 1 or 0 if u want an icon holder to raise when the mouse (or keyboard) hilights it
14280          // item: "item_list" "item item2 item3";
14281       }
14282       parts {
14283          part {
14284             name: "item_clip";
14285             type: RECT;
14286             mouse_events: 0;
14287             description {
14288                state: "default" 0.0;
14289                color: 255 255 255 255;
14290             }
14291          }
14292          part {
14293             name: "e.swallow.content";
14294             type: SWALLOW;
14295             clip_to: "item_clip";
14296             description {
14297                state: "default" 0.0;
14298                rel1.offset: 2   2;
14299                rel2.offset: -3   -3;
14300             }
14301             description {
14302                state: "bigger" 0.0;
14303             }
14304          }
14305          part {
14306             name: "urgent_area";
14307             type: RECT;
14308             description {
14309                state: "default" 0.0;
14310                visible: 0;
14311             }
14312             description {
14313                state: "uw0" 0.0;
14314                inherit: "default" 0.0;
14315                rel1.offset: -3 -2;
14316                rel2.offset: -4 -3;
14317             }
14318             description {
14319                state: "uw1" 0.0;
14320                inherit: "default" 0.0;
14321                rel1.offset: 5 -2;
14322                rel2.offset: 4 -3;
14323             }
14324             description {
14325                state: "uw2" 0.0;
14326                inherit: "default" 0.0;
14327                rel1.offset: -1 4;
14328                rel2.offset: -2 3;
14329             }
14330             description {
14331                state: "uw3" 0.0;
14332                inherit: "default" 0.0;
14333                rel1.offset: -2 -1;
14334                rel2.offset: -3 -2;
14335             }
14336             description {
14337                state: "uw4" 0.0;
14338                inherit: "default" 0.0;
14339                rel1.offset: -4 1;
14340                rel2.offset: -5 0;
14341             }
14342          }
14343          part {
14344             name: "urgent";
14345             description {
14346                state: "default" 0.0;
14347                visible: 0;
14348                rel1.to: "urgent_area";
14349                rel2.to: "urgent_area";
14350                image.normal: "exclam.png";
14351                color: 255 255 255 0;
14352             }
14353             description {
14354                state: "visible" 0.0;
14355                inherit: "default" 0.0;
14356                visible: 1;
14357                color: 255 255 255 255;
14358             }
14359             description {
14360                state: "hidden" 0.0;
14361                inherit: "default" 0.0;
14362                visible: 1;
14363                rel1 {
14364                   relative: -0.5  -0.5;
14365                }
14366                rel2 {
14367                   relative: 1.5  1.5;
14368                }
14369                color: 255 255 255 0;
14370             }
14371          }
14372          part {
14373             name: "over";
14374             type: RECT;
14375             repeat_events: 0;
14376             description {
14377                state: "default" 0.0;
14378                color: 0 0 0 0;
14379             }
14380          }
14381       }
14382       programs {
14383          program {
14384             name: "hover_in";
14385             signal: "mouse,in";
14386             source: "over";
14387             action: STATE_SET "bigger" 0.0;
14388             transition: LINEAR 0.1;
14389             target: "e.swallow.content";
14390          }
14391          program {
14392             name: "hover_out";
14393             signal: "mouse,out";
14394             source: "over";
14395             action: STATE_SET "default" 0.0;
14396             transition: LINEAR 0.2;
14397             target: "e.swallow.content";
14398          }
14399          program {
14400             name: "set_urgent";
14401             signal: "e,state,urgent";
14402             source: "e";
14403             action: STATE_SET "visible" 0.0;
14404             transition: LINEAR 0.2;
14405             target: "urgent";
14406          }
14407          program {
14408             name: "set_not_urgent";
14409             signal: "e,state,not_urgent";
14410             source: "e";
14411             action: STATE_SET "default" 0.0;
14412             transition: LINEAR 0.6;
14413             target: "urgent";
14414          }
14415          program {
14416             name: "urgentw0";
14417             signal: "e,state,urgent";
14418             source: "e";
14419             action: STATE_SET "default" 0.0;
14420             target: "urgent_area";
14421             transition: DECELERATE 0.1;
14422             after: "urgentw1";
14423          }
14424          program {
14425             name: "urgentw1";
14426             action: STATE_SET "uw1" 0.0;
14427             target: "urgent_area";
14428             transition: DECELERATE 0.1;
14429             after: "urgentw2";
14430          }
14431          program {
14432             name: "urgentw2";
14433             action: STATE_SET "uw2" 0.0;
14434             target: "urgent_area";
14435             transition: DECELERATE 0.1;
14436             after: "urgentw3";
14437          }
14438          program {
14439             name: "urgentw3";
14440             action: STATE_SET "uw3" 0.0;
14441             target: "urgent_area";
14442             transition: DECELERATE 0.1;
14443             after: "urgentw4";
14444          }
14445          program {
14446             name: "urgentw4";
14447             action: STATE_SET "uw4" 0.0;
14448             target: "urgent_area";
14449             transition: DECELERATE 0.1;
14450             after: "urgentw0";
14451          }
14452          program {
14453             name: "not_urgent";
14454             signal: "e,state,not_urgent";
14455             source: "e";
14456             action: ACTION_STOP;
14457             target: "urgentw0";
14458             target: "urgentw1";
14459             target: "urgentw2";
14460             target: "urgentw3";
14461             target: "urgentw4";
14462             after: "not_urgent2";
14463          }
14464          program {
14465             name: "not_urgent2";
14466             action: STATE_SET "default" 0.0;
14467             target: "urgent";
14468             target: "urgent_area";
14469          }
14470       }
14471    }
14472    group {
14473       name: "e/modules/ibox/icon_overlay";
14474       alias: "e/modules/ibar/icon_overlay";
14475       data {
14476          // item: "item_list", "item item2 item3";
14477       }
14478       script {
14479          public urgent;
14480       }
14481       parts {
14482          part {
14483             name: "base";
14484             type: RECT;
14485             mouse_events: 0;
14486             description {
14487                state: "default" 0.0;
14488                color: 255 255 255 0;
14489             }
14490          }
14491          part {
14492             name: "background";
14493             type: RECT;
14494             mouse_events: 0;
14495             description {
14496                state: "default" 0.0;
14497                visible: 0;
14498                rel1.to: "base";
14499                rel2.to: "base";
14500                color: 255 255 255 0;
14501             }
14502             description {
14503                state: "visible" 0.0;
14504                visible: 1;
14505                rel1.to: "base";
14506                rel2.to: "base";
14507                color: 255 255 255 255;
14508             }
14509             description {
14510                state: "hidden" 0.0;
14511                visible: 1;
14512                rel1 {
14513                   relative: -0.5  -0.5;
14514                   to: "base";
14515                }
14516                rel2 {
14517                   relative: 1.5  1.5;
14518                   to: "base";
14519                }
14520                color: 255 255 255 0;
14521             }
14522             description {
14523                state: "huge" 0.0;
14524                visible: 1;
14525                rel1 {
14526                   relative: -2.0  -2.0;
14527                   to: "base";
14528                }
14529                rel2 {
14530                   relative: 3.0  3.0;
14531                   to: "base";
14532                }
14533                color: 255 255 255 0;
14534             }
14535          }
14536          part {
14537             name: "e.swallow.content";
14538             type: SWALLOW;
14539             clip_to: "background";
14540             description {
14541                state: "default" 0.0;
14542                rel1.to: "background";
14543                rel2.to: "background";
14544             }
14545          }
14546          part {
14547             name: "urgent";
14548             description {
14549                state: "default" 0.0;
14550                visible: 0;
14551                rel1.to: "base";
14552                rel2.to: "base";
14553                image.normal: "exclam.png";
14554                color: 255 255 255 0;
14555             }
14556             description {
14557                state: "visible" 0.0;
14558                inherit: "default" 0.0;
14559                visible: 1;
14560                color: 255 255 255 255;
14561             }
14562             description {
14563                state: "hidden" 0.0;
14564                inherit: "default" 0.0;
14565                visible: 1;
14566                rel1 {
14567                   relative: -0.5  -0.5;
14568                   to: "base";
14569                }
14570                rel2 {
14571                   relative: 1.5  1.5;
14572                   to: "base";
14573                }
14574                color: 255 255 255 0;
14575             }
14576          }
14577          part {
14578             name: "e.text.label";
14579             type: TEXT;
14580             effect: SOFT_SHADOW;
14581             mouse_events: 0;
14582             scale: 1;
14583             description {
14584                state: "default" 0.0;
14585                rel1 {
14586                   relative: 0.0  1.0;
14587                   offset: 0    -1;
14588                }
14589                rel2 {
14590                   relative: 1.0  1.0;
14591                   offset: -1    -1;
14592                }
14593                color: 255 255 255 0;
14594                color3: 0 0 0 0;
14595                color_class: "module_label";
14596                text {
14597                   font: "Sans:style=Bold";
14598                   size: 10;
14599                   min: 1 1;
14600                   align: 0.5 0.5;
14601                   text_class: "module_normal";
14602                }
14603             }
14604             description {
14605                state: "visible" 0.0;
14606                inherit: "default" 0.0;
14607                rel1 {
14608                   relative: 0.0  0.0;
14609                   offset: 0    0;
14610                }
14611                rel2 {
14612                   relative: 1.0  1.0;
14613                   offset: -1    -1;
14614                }
14615                color: 255 255 255 255;
14616                color3: 0 0 0 42;
14617             }
14618          }
14619       }
14620       programs {
14621          program {
14622             name: "go_active";
14623             signal: "e,state,focused";
14624             source: "e";
14625             action: STATE_SET "visible" 0.0;
14626             target: "background";
14627             after: "go_active2";
14628          }
14629          program {
14630             name: "go_activeB";
14631             signal: "e,action,show,label";
14632             source: "e";
14633             action: STATE_SET "visible" 0.0;
14634             transition: SINUSOIDAL 0.5;
14635             target: "e.text.label";
14636          }
14637          program {
14638             name: "go_active2";
14639             action: STATE_SET "hidden" 0.0;
14640             transition: LINEAR 0.5;
14641             target: "background";
14642             after: "go_active";
14643          }
14644          program {
14645             name: "go_passive";
14646             signal: "e,state,unfocused";
14647             source: "e";
14648             action: ACTION_STOP;
14649             target: "go_active";
14650             target: "go_active2";
14651             after: "go_passive2";
14652          }
14653          program {
14654             name: "go_passiveB";
14655             signal: "e,action,hide,label";
14656             source: "e";
14657             action: STATE_SET "default" 0.0;
14658             transition: SINUSOIDAL 1.0;
14659             target: "e.text.label";
14660          }
14661          program {
14662             name: "go_passive2";
14663             action: STATE_SET "default" 0.0;
14664             target: "background";
14665             script {
14666                if (get_int(urgent) == 1) {
14667                   run_program(PROGRAM:"go_urgent");
14668                }
14669             }
14670          }
14671          program {
14672             name: "init";
14673             signal: "load";
14674             source: "";
14675             script {
14676                set_int(urgent, 0);
14677             }
14678          }
14679          program {
14680             name: "set_urgent";
14681             signal: "e,state,urgent";
14682             source: "e";
14683             script {
14684                set_int(urgent, 1);
14685             }
14686          }
14687          program {
14688             name: "go_urgent";
14689             action: STATE_SET "visible" 0.0;
14690             target: "background";
14691             target: "urgent";
14692             after: "go_urgent2";
14693          }
14694          program {
14695             name: "go_urgent2";
14696             action: STATE_SET "hidden" 0.0;
14697             transition: LINEAR 0.5;
14698             target: "background";
14699             target: "urgent";
14700             after: "go_urgent";
14701          }
14702          program {
14703             name: "unset_urgent";
14704             signal: "e,state,not_urgent";
14705             source: "e";
14706             script {
14707                set_int(urgent, 0);
14708             }
14709          }
14710          program {
14711             name: "go_unurgent";
14712             signal: "e,state,not_urgent";
14713             source: "e";
14714             action: ACTION_STOP;
14715             target: "go_urgent";
14716             target: "go_urgent2";
14717             after: "go_unurgent2";
14718          }
14719          program {
14720             name: "go_unurgent2";
14721             action: STATE_SET "default" 0.0;
14722             transition: SINUSOIDAL 0.3;
14723             target: "background";
14724             target: "urgent";
14725          }
14726          program {
14727             name: "exec_exec";
14728             signal: "e,action,exec";
14729             source: "e";
14730             after: "exec_start";
14731          }
14732          program {
14733             name: "exec_start";
14734             signal: "e,action,start";
14735             source: "e";
14736             action: ACTION_STOP;
14737             target: "go_active";
14738             target: "go_active2";
14739             target: "go_passive";
14740             target: "go_passive2";
14741             target: "go_big";
14742             target: "go_big2";
14743             after: "go_big";
14744          }
14745          program {
14746             name: "go_big";
14747             action: STATE_SET "visible" 0.0;
14748             target: "background";
14749             after: "go_big2";
14750          }
14751          program {
14752             name: "go_big2";
14753             action: STATE_SET "huge" 0.0;
14754             transition: LINEAR 0.5;
14755             target: "background";
14756          }
14757       }
14758    }
14759    group {
14760       name: "e/modules/ibox/drop";
14761       alias: "e/modules/ibar/drop";
14762       images.image: "inset_raised.png" COMP;
14763       parts {
14764          part {
14765             name: "bg";
14766             mouse_events: 0;
14767             description {
14768                state: "default" 0.0;
14769                image {
14770                   normal: "inset_raised.png";
14771                   border: 7 7 7 7;
14772                   middle: 0;
14773                }
14774             }
14775          }
14776       }
14777    }
14778    group {
14779       name: "e/modules/ibox/drop_overlay";
14780       alias: "e/modules/ibar/drop_overlay";
14781       images {
14782          image: "gadman_top.png" COMP;
14783          image: "gadman_bottom.png" COMP;
14784          image: "gadman_left.png" COMP;
14785          image: "gadman_right.png" COMP;
14786       }
14787       parts {
14788          part {
14789             name: "left_arrow1";
14790             description {
14791                state: "default" 0.0;
14792                aspect: 1.0 1.0;
14793                aspect_preference: VERTICAL;
14794                rel1.relative: -1.0 0.5;
14795                rel2.relative: -1.0 0.5;
14796                image.normal: "gadman_right.png";
14797             }
14798             description {
14799                state: "1" 0.0;
14800                inherit: "default" 0.0;
14801                rel1.relative: -0.8 0.2;
14802                rel2.relative: -0.7 0.8;
14803             }
14804             description {
14805                state: "2" 0.0;
14806                inherit: "default" 0.0;
14807                rel1.relative: 0.2 0.5;
14808                rel2.relative: 0.2 0.5;
14809             }
14810          }
14811          part {
14812             name: "left_arrow2";
14813             description {
14814                state: "default" 0.0;
14815                aspect: 1.0 1.0;
14816                aspect_preference: VERTICAL;
14817                rel1.relative: -1.0 0.5;
14818                rel2.relative: -1.0 0.5;
14819                image.normal: "gadman_right.png";
14820             }
14821             description {
14822                state: "1" 0.0;
14823                inherit: "default" 0.0;
14824                rel1.relative: -0.8 0.2;
14825                rel2.relative: -0.7 0.8;
14826             }
14827             description {
14828                state: "2" 0.0;
14829                inherit: "default" 0.0;
14830                rel1.relative: 0.2 0.5;
14831                rel2.relative: 0.2 0.5;
14832             }
14833          }
14834          part {
14835             name: "right_arrow1";
14836             description {
14837                state: "default" 0.0;
14838                aspect: 1.0 1.0;
14839                aspect_preference: VERTICAL;
14840                rel1.relative: 2.0 0.5;
14841                rel2.relative: 2.0 0.5;
14842                image.normal: "gadman_left.png";
14843             }
14844             description {
14845                state: "1" 0.0;
14846                inherit: "default" 0.0;
14847                rel1.relative: 1.8 0.2;
14848                rel2.relative: 1.7 0.8;
14849             }
14850             description {
14851                state: "2" 0.0;
14852                inherit: "default" 0.0;
14853                rel1.relative: 0.8 0.5;
14854                rel2.relative: 0.8 0.5;
14855             }
14856          }
14857          part {
14858             name: "right_arrow2";
14859             description {
14860                state: "default" 0.0;
14861                aspect: 1.0 1.0;
14862                aspect_preference: VERTICAL;
14863                rel1.relative: 2.0 0.5;
14864                rel2.relative: 2.0 0.5;
14865                image.normal: "gadman_left.png";
14866             }
14867             description {
14868                state: "1" 0.0;
14869                inherit: "default" 0.0;
14870                rel1.relative: 1.8 0.2;
14871                rel2.relative: 1.7 0.8;
14872             }
14873             description {
14874                state: "2" 0.0;
14875                inherit: "default" 0.0;
14876                rel1.relative: 0.8 0.5;
14877                rel2.relative: 0.8 0.5;
14878             }
14879          }
14880          part {
14881             name: "top_arrow1";
14882             description {
14883                state: "default" 0.0;
14884                aspect: 1.0 1.0;
14885                aspect_preference: HORIZONTAL;
14886                rel1.relative: 0.5 -1.0;
14887                rel2.relative: 0.5 -1.0;
14888                image.normal: "gadman_bottom.png";
14889             }
14890             description {
14891                state: "1" 0.0;
14892                inherit: "default" 0.0;
14893                rel1.relative: 0.2 -0.8;
14894                rel2.relative: 0.8 -0.7;
14895             }
14896             description {
14897                state: "2" 0.0;
14898                inherit: "default" 0.0;
14899                rel1.relative: 0.5 0.2;
14900                rel2.relative: 0.5 0.2;
14901             }
14902          }
14903          part {
14904             name: "top_arrow2";
14905             description {
14906                state: "default" 0.0;
14907                aspect: 1.0 1.0;
14908                aspect_preference: HORIZONTAL;
14909                rel1.relative: 0.5 -1.0;
14910                rel2.relative: 0.5 -1.0;
14911                image.normal: "gadman_bottom.png";
14912             }
14913             description {
14914                state: "1" 0.0;
14915                inherit: "default" 0.0;
14916                rel1.relative: 0.2 -0.8;
14917                rel2.relative: 0.8 -0.7;
14918             }
14919             description {
14920                state: "2" 0.0;
14921                inherit: "default" 0.0;
14922                rel1.relative: 0.5 0.2;
14923                rel2.relative: 0.5 0.2;
14924             }
14925          }
14926          part {
14927             name: "bottom_arrow1";
14928             description {
14929                state: "default" 0.0;
14930                aspect: 1.0 1.0;
14931                aspect_preference: HORIZONTAL;
14932                rel1.relative: 0.5 2.0;
14933                rel2.relative: 0.5 2.0;
14934                image.normal: "gadman_top.png";
14935             }
14936             description {
14937                state: "1" 0.0;
14938                inherit: "default" 0.0;
14939                rel1.relative: 0.2 1.7;
14940                rel2.relative: 0.8 1.8;
14941             }
14942             description {
14943                state: "2" 0.0;
14944                inherit: "default" 0.0;
14945                rel1.relative: 0.5 0.8;
14946                rel2.relative: 0.5 0.8;
14947             }
14948          }
14949          part {
14950             name: "bottom_arrow2";
14951             description {
14952                state: "default" 0.0;
14953                aspect: 1.0 1.0;
14954                aspect_preference: HORIZONTAL;
14955                rel1.relative: 0.5 2.0;
14956                rel2.relative: 0.5 2.0;
14957                image.normal: "gadman_top.png";
14958             }
14959             description {
14960                state: "1" 0.0;
14961                inherit: "default" 0.0;
14962                rel1.relative: 0.2 1.7;
14963                rel2.relative: 0.8 1.8;
14964             }
14965             description {
14966                state: "2" 0.0;
14967                inherit: "default" 0.0;
14968                rel1.relative: 0.5 0.8;
14969                rel2.relative: 0.5 0.8;
14970             }
14971          }
14972       }
14973       programs {
14974          program {
14975             name: "start1";
14976             signal: "show";
14977             source: "";
14978             after: "left1_1";
14979             after: "right1_1";
14980             after: "top1_1";
14981             after: "bottom1_1";
14982          }
14983          program {
14984             name: "start2";
14985             signal: "show";
14986             source: "";
14987             in: 0.4 0.0;
14988             after: "left2_1";
14989             after: "right2_1";
14990             after: "top2_1";
14991             after: "bottom2_1";
14992          }
14993          // LEFT ARROW
14994          program {
14995             name: "left1_1";
14996             action: STATE_SET "1" 0.0;
14997             target: "left_arrow1";
14998             transition: LINEAR 0.4;
14999             after: "left1_2";
15000          }
15001          program {
15002             name: "left1_2";
15003             action: STATE_SET "2" 0.0;
15004             target: "left_arrow1";
15005             transition: LINEAR 0.4;
15006             after: "left1_r";
15007          }
15008          program {
15009             name: "left1_r";
15010             action: STATE_SET "default" 0.0;
15011             target: "left_arrow1";
15012             after: "left1_1";
15013          }
15014          program {
15015             name: "left2_1";
15016             action: STATE_SET "1" 0.0;
15017             target: "left_arrow2";
15018             transition: LINEAR 0.4;
15019             after: "left2_2";
15020          }
15021          program {
15022             name: "left2_2";
15023             action: STATE_SET "2" 0.0;
15024             target: "left_arrow2";
15025             transition: LINEAR 0.4;
15026             after: "left2_r";
15027          }
15028          program {
15029             name: "left2_r";
15030             action: STATE_SET "default" 0.0;
15031             target: "left_arrow2";
15032             after: "left2_1";
15033          }
15034          // RIGHT ARROW
15035          program {
15036             name: "right1_1";
15037             action: STATE_SET "1" 0.0;
15038             target: "right_arrow1";
15039             transition: LINEAR 0.4;
15040             after: "right1_2";
15041          }
15042          program {
15043             name: "right1_2";
15044             action: STATE_SET "2" 0.0;
15045             target: "right_arrow1";
15046             transition: LINEAR 0.4;
15047             after: "right1_r";
15048          }
15049          program {
15050             name: "right1_r";
15051             action: STATE_SET "default" 0.0;
15052             target: "right_arrow1";
15053             after: "right1_1";
15054          }
15055          program {
15056             name: "right2_1";
15057             action: STATE_SET "1" 0.0;
15058             target: "right_arrow2";
15059             transition: LINEAR 0.4;
15060             after: "right2_2";
15061          }
15062          program {
15063             name: "right2_2";
15064             action: STATE_SET "2" 0.0;
15065             target: "right_arrow2";
15066             transition: LINEAR 0.4;
15067             after: "right2_r";
15068          }
15069          program {
15070             name: "right2_r";
15071             action: STATE_SET "default" 0.0;
15072             target: "right_arrow2";
15073             after: "right2_1";
15074          }
15075          // TOP ARROW
15076          program {
15077             name: "top1_1";
15078             action: STATE_SET "1" 0.0;
15079             target: "top_arrow1";
15080             transition: LINEAR 0.4;
15081             after: "top1_2";
15082          }
15083          program {
15084             name: "top1_2";
15085             action: STATE_SET "2" 0.0;
15086             target: "top_arrow1";
15087             transition: LINEAR 0.4;
15088             after: "top1_r";
15089          }
15090          program {
15091             name: "top1_r";
15092             action: STATE_SET "default" 0.0;
15093             target: "top_arrow1";
15094             after: "top1_1";
15095          }
15096          program {
15097             name: "top2_1";
15098             action: STATE_SET "1" 0.0;
15099             target: "top_arrow2";
15100             transition: LINEAR 0.4;
15101             after: "top2_2";
15102          }
15103          program {
15104             name: "top2_2";
15105             action: STATE_SET "2" 0.0;
15106             target: "top_arrow2";
15107             transition: LINEAR 0.4;
15108             after: "top2_r";
15109          }
15110          program {
15111             name: "top2_r";
15112             action: STATE_SET "default" 0.0;
15113             target: "top_arrow2";
15114             after: "top2_1";
15115          }
15116          // BOTTOM ARROW
15117          program {
15118             name: "bottom1_1";
15119             action: STATE_SET "1" 0.0;
15120             target: "bottom_arrow1";
15121             transition: LINEAR 0.4;
15122             after: "bottom1_2";
15123          }
15124          program {
15125             name: "bottom1_2";
15126             action: STATE_SET "2" 0.0;
15127             target: "bottom_arrow1";
15128             transition: LINEAR 0.4;
15129             after: "bottom1_r";
15130          }
15131          program {
15132             name: "bottom1_r";
15133             action: STATE_SET "default" 0.0;
15134             target: "bottom_arrow1";
15135             after: "bottom1_1";
15136          }
15137          program {
15138             name: "bottom2_1";
15139             action: STATE_SET "1" 0.0;
15140             target: "bottom_arrow2";
15141             transition: LINEAR 0.4;
15142             after: "bottom2_2";
15143          }
15144          program {
15145             name: "bottom2_2";
15146             action: STATE_SET "2" 0.0;
15147             target: "bottom_arrow2";
15148             transition: LINEAR 0.4;
15149             after: "bottom2_r";
15150          }
15151          program {
15152             name: "bottom2_r";
15153             action: STATE_SET "default" 0.0;
15154             target: "bottom_arrow2";
15155             after: "bottom2_1";
15156          }
15157       }
15158    }
15159
15160
15161 /////////////////////////////////////////////////////////////////////////////
15162 /*** MOD: SYSTRAY ***/
15163
15164    group {
15165       name: "e/modules/systray/main";
15166       alias: "e/modules/systray/main/default";
15167       alias: "e/modules/systray/main/invisible";
15168       data {
15169          item: "inset" "255 255 255";
15170          item: "plain" "230 230 230";
15171          item: "default" "255 255 255";
15172       }
15173       parts {
15174          part {
15175             name: "base";
15176             type: RECT;
15177             description {
15178                state: "default" 0.0;
15179                color: 0 0 0 0;
15180             }
15181             description {
15182                state: "disabled" 0.0;
15183                inherit: "default" 0.0;
15184                color: 255 0 0 128;
15185             }
15186          }
15187          part {
15188             name: "e.size";
15189             type: RECT;
15190             mouse_events: 0;
15191             description {
15192                state: "default" 0.0;
15193                color: 0 0 0 0;
15194                rel1.offset: 4 4;
15195                rel2.offset: -5 -5;
15196             }
15197          }
15198          part {
15199             name: "e.box";
15200             type: BOX;
15201             description {
15202                state: "default" 0.0;
15203                rel1.to: "e.size";
15204                rel2.to: "e.size";
15205                box {
15206                   layout: "horizontal";
15207                   padding: 2 0;
15208                   align: 0.5 0.5;
15209                   min: 1 1;
15210                }
15211             }
15212             description {
15213                state: "vertical" 0.0;
15214                rel1.to: "e.size";
15215                rel2.to: "e.size";
15216                box {
15217                   layout: "vertical";
15218                   padding: 0 2;
15219                   align: 0.5 0.5;
15220                   min: 1 1;
15221                }
15222             }
15223          }
15224          programs {
15225             program {
15226                name: "e,action,disable";
15227                signal: "e,action,disable";
15228                source: "e";
15229                action: STATE_SET "disabled" 0.0;
15230                target: "base";
15231             }
15232             program {
15233                name: "e,action,enable";
15234                signal: "e,action,enable";
15235                source: "e";
15236                action: STATE_SET "default" 0.0;
15237                target: "base";
15238             }
15239             program {
15240                name: "e,action,orient,float";
15241                signal: "e,action,orient,float";
15242                source: "e";
15243                action: STATE_SET "default" 0.0;
15244                target: "e.box";
15245             }
15246             program {
15247                name: "e,action,orient,horiz";
15248                signal: "e,action,orient,horiz";
15249                source: "e";
15250                action: STATE_SET "default" 0.0;
15251                target: "e.box";
15252             }
15253             program {
15254                name: "e,action,orient,vert";
15255                signal: "e,action,orient,vert";
15256                source: "e";
15257                action: STATE_SET "vertical" 0.0;
15258                target: "e.box";
15259             }
15260             program {
15261                name: "e,action,orient,left";
15262                signal: "e,action,orient,left";
15263                source: "e";
15264                action: STATE_SET "vertical" 0.0;
15265                target: "e.box";
15266             }
15267             program {
15268                name: "e,action,orient,right";
15269                signal: "e,action,orient,right";
15270                source: "e";
15271                action: STATE_SET "vertical" 0.0;
15272                target: "e.box";
15273             }
15274             program {
15275                name: "e,action,orient,top";
15276                signal: "e,action,orient,top";
15277                source: "e";
15278                action: STATE_SET "default" 0.0;
15279                target: "e.box";
15280             }
15281             program {
15282                name: "e,action,orient,bottom";
15283                signal: "e,action,orient,bottom";
15284                source: "e";
15285                action: STATE_SET "default" 0.0;
15286                target: "e.box";
15287             }
15288             program {
15289                name: "e,action,orient,corner_tl";
15290                signal: "e,action,orient,corner_tl";
15291                source: "e";
15292                action: STATE_SET "default" 0.0;
15293                target: "e.box";
15294             }
15295             program {
15296                name: "e,action,orient,corner_tr";
15297                signal: "e,action,orient,corner_tr";
15298                source: "e";
15299                action: STATE_SET "default" 0.0;
15300                target: "e.box";
15301             }
15302             program {
15303                name: "e,action,orient,corner_bl";
15304                signal: "e,action,orient,corner_bl";
15305                source: "e";
15306                action: STATE_SET "default" 0.0;
15307                target: "e.box";
15308             }
15309             program {
15310                name: "e,action,orient,corner_br";
15311                signal: "e,action,orient,corner_br";
15312                source: "e";
15313                action: STATE_SET "default" 0.0;
15314                target: "e.box";
15315             }
15316             program {
15317                name: "e,action,orient,corner_lt";
15318                signal: "e,action,orient,corner_lt";
15319                source: "e";
15320                action: STATE_SET "vertical" 0.0;
15321                target: "e.box";
15322             }
15323             program {
15324                name: "e,action,orient,corner_rt";
15325                signal: "e,action,orient,corner_rt";
15326                source: "e";
15327                action: STATE_SET "vertical" 0.0;
15328                target: "e.box";
15329             }
15330             program {
15331                name: "e,action,orient,corner_lb";
15332                signal: "e,action,orient,corner_lb";
15333                source: "e";
15334                action: STATE_SET "vertical" 0.0;
15335                target: "e.box";
15336             }
15337             program {
15338                name: "e,action,orient,corner_rb";
15339                signal: "e,action,orient,corner_rb";
15340                source: "e";
15341                action: STATE_SET "vertical" 0.0;
15342                target: "e.box";
15343             }
15344          }
15345       }
15346    }
15347    group {
15348       name: "e/modules/systray/main/alternate";
15349       data {
15350          item: "inset" "255 255 255";
15351          item: "plain" "255 255 255";
15352          item: "default" "255 255 255";
15353       }
15354       images.image: "systray_rounded_corners.png" COMP;
15355       parts {
15356          part {
15357             name: "base";
15358             type: RECT;
15359             description {
15360                state: "default" 0.0;
15361                color: 0 0 0 0;
15362             }
15363          }
15364          part {
15365             name: "rounded_corners";
15366             type: IMAGE;
15367             mouse_events: 0;
15368             description {
15369                state: "default" 0.0;
15370                rel1 {
15371                   relative: 0.0 0.0;
15372                   offset: -3 -3;
15373                   to: "e.size";
15374                }
15375                rel2 {
15376                   relative: 1.0 1.0;
15377                   offset: 2 2;
15378                   to: "e.size";
15379                }
15380                image {
15381                   normal: "systray_rounded_corners.png";
15382                   border: 3 3 3 3;
15383                   middle: SOLID;
15384                }
15385             }
15386             description {
15387                state: "disabled" 0.0;
15388                inherit: "default" 0.0;
15389                color: 255 0 0 128;
15390             }
15391          }
15392          part {
15393             name: "e.size";
15394             type: RECT;
15395             mouse_events: 0;
15396             description {
15397                state: "default" 0.0;
15398                color: 0 0 0 0;
15399                rel1.offset: 4 4;
15400                rel2.offset: -5 -5;
15401             }
15402          }
15403          part {
15404             name: "e.box";
15405             type: BOX;
15406             description {
15407                state: "default" 0.0;
15408                rel1.to: "e.size";
15409                rel2.to: "e.size";
15410                box {
15411                   layout: "horizontal";
15412                   padding: 2 0;
15413                   align: 0.5 0.5;
15414                   min: 1 1;
15415                }
15416             }
15417             description {
15418                state: "vertical" 0.0;
15419                rel1.to: "e.size";
15420                rel2.to: "e.size";
15421                box {
15422                   layout: "vertical";
15423                   padding: 0 2;
15424                   align: 0.5 0.5;
15425                   min: 1 1;
15426                }
15427             }
15428          }
15429          programs {
15430             program {
15431                name: "e,action,disable";
15432                signal: "e,action,disable";
15433                source: "e";
15434                action: STATE_SET "disabled" 0.0;
15435                target: "rounded_corners";
15436             }
15437             program {
15438                name: "e,action,enable";
15439                signal: "e,action,enable";
15440                source: "e";
15441                action: STATE_SET "default" 0.0;
15442                target: "rounded_corners";
15443             }
15444             program {
15445                name: "e,action,orient,float";
15446                signal: "e,action,orient,float";
15447                source: "e";
15448                action: STATE_SET "default" 0.0;
15449                target: "e.box";
15450             }
15451             program {
15452                name: "e,action,orient,horiz";
15453                signal: "e,action,orient,horiz";
15454                source: "e";
15455                action: STATE_SET "default" 0.0;
15456                target: "e.box";
15457             }
15458             program {
15459                name: "e,action,orient,vert";
15460                signal: "e,action,orient,vert";
15461                source: "e";
15462                action: STATE_SET "vertical" 0.0;
15463                target: "e.box";
15464             }
15465             program {
15466                name: "e,action,orient,left";
15467                signal: "e,action,orient,left";
15468                source: "e";
15469                action: STATE_SET "vertical" 0.0;
15470                target: "e.box";
15471             }
15472             program {
15473                name: "e,action,orient,right";
15474                signal: "e,action,orient,right";
15475                source: "e";
15476                action: STATE_SET "vertical" 0.0;
15477                target: "e.box";
15478             }
15479             program {
15480                name: "e,action,orient,top";
15481                signal: "e,action,orient,top";
15482                source: "e";
15483                action: STATE_SET "default" 0.0;
15484                target: "e.box";
15485             }
15486             program {
15487                name: "e,action,orient,bottom";
15488                signal: "e,action,orient,bottom";
15489                source: "e";
15490                action: STATE_SET "default" 0.0;
15491                target: "e.box";
15492             }
15493             program {
15494                name: "e,action,orient,corner_tl";
15495                signal: "e,action,orient,corner_tl";
15496                source: "e";
15497                action: STATE_SET "default" 0.0;
15498                target: "e.box";
15499             }
15500             program {
15501                name: "e,action,orient,corner_tr";
15502                signal: "e,action,orient,corner_tr";
15503                source: "e";
15504                action: STATE_SET "default" 0.0;
15505                target: "e.box";
15506             }
15507             program {
15508                name: "e,action,orient,corner_bl";
15509                signal: "e,action,orient,corner_bl";
15510                source: "e";
15511                action: STATE_SET "default" 0.0;
15512                target: "e.box";
15513             }
15514             program {
15515                name: "e,action,orient,corner_br";
15516                signal: "e,action,orient,corner_br";
15517                source: "e";
15518                action: STATE_SET "default" 0.0;
15519                target: "e.box";
15520             }
15521             program {
15522                name: "e,action,orient,corner_lt";
15523                signal: "e,action,orient,corner_lt";
15524                source: "e";
15525                action: STATE_SET "default" 0.0;
15526                target: "e.box";
15527             }
15528             program {
15529                name: "e,action,orient,corner_rt";
15530                signal: "e,action,orient,corner_rt";
15531                source: "e";
15532                action: STATE_SET "default" 0.0;
15533                target: "e.box";
15534             }
15535             program {
15536                name: "e,action,orient,corner_lb";
15537                signal: "e,action,orient,corner_lb";
15538                source: "e";
15539                action: STATE_SET "default" 0.0;
15540                target: "e.box";
15541             }
15542             program {
15543                name: "e,action,orient,corner_rb";
15544                signal: "e,action,orient,corner_rb";
15545                source: "e";
15546                action: STATE_SET "default" 0.0;
15547                target: "e.box";
15548             }
15549          }
15550       }
15551    }
15552    group {
15553       name: "e/modules/systray/main/alternate/inset";
15554       data {
15555          item: "inset" "255 255 255";
15556          item: "plain" "255 255 255";
15557          item: "default" "255 255 255";
15558       }
15559       parts {
15560          part {
15561             name: "base";
15562             type: RECT;
15563             description {
15564                state: "default" 0.0;
15565                color: 255 255 255 255;
15566             }
15567             description {
15568                state: "disabled" 0.0;
15569                inherit: "default" 0.0;
15570                color: 255 0 0 128;
15571             }
15572          }
15573          part {
15574             name: "e.size";
15575             type: RECT;
15576             mouse_events: 0;
15577             description {
15578                state: "default" 0.0;
15579                color: 0 0 0 0;
15580                rel1.offset: 4 4;
15581                rel2.offset: -5 -5;
15582             }
15583          }
15584          part {
15585             name: "e.box";
15586             type: BOX;
15587             description {
15588                state: "default" 0.0;
15589                rel1.to: "e.size";
15590                rel2.to: "e.size";
15591                box {
15592                   layout: "horizontal";
15593                   padding: 2 0;
15594                   align: 0.5 0.5;
15595                   min: 1 1;
15596                }
15597             }
15598             description {
15599                state: "vertical" 0.0;
15600                rel1.to: "e.size";
15601                rel2.to: "e.size";
15602                box {
15603                   layout: "vertical";
15604                   padding: 0 2;
15605                   align: 0.5 0.5;
15606                   min: 1 1;
15607                }
15608             }
15609          }
15610          programs {
15611             program {
15612                name: "e,action,disable";
15613                signal: "e,action,disable";
15614                source: "e";
15615                action: STATE_SET "disabled" 0.0;
15616                target: "base";
15617             }
15618             program {
15619                name: "e,action,enable";
15620                signal: "e,action,enable";
15621                source: "e";
15622                action: STATE_SET "default" 0.0;
15623                target: "base";
15624             }
15625             program {
15626                name: "e,action,orient,float";
15627                signal: "e,action,orient,float";
15628                source: "e";
15629                action: STATE_SET "default" 0.0;
15630                target: "e.box";
15631             }
15632             program {
15633                name: "e,action,orient,horiz";
15634                signal: "e,action,orient,horiz";
15635                source: "e";
15636                action: STATE_SET "default" 0.0;
15637                target: "e.box";
15638             }
15639             program {
15640                name: "e,action,orient,vert";
15641                signal: "e,action,orient,vert";
15642                source: "e";
15643                action: STATE_SET "vertical" 0.0;
15644                target: "e.box";
15645             }
15646             program {
15647                name: "e,action,orient,left";
15648                signal: "e,action,orient,left";
15649                source: "e";
15650                action: STATE_SET "vertical" 0.0;
15651                target: "e.box";
15652             }
15653             program {
15654                name: "e,action,orient,right";
15655                signal: "e,action,orient,right";
15656                source: "e";
15657                action: STATE_SET "vertical" 0.0;
15658                target: "e.box";
15659             }
15660             program {
15661                name: "e,action,orient,top";
15662                signal: "e,action,orient,top";
15663                source: "e";
15664                action: STATE_SET "default" 0.0;
15665                target: "e.box";
15666             }
15667             program {
15668                name: "e,action,orient,bottom";
15669                signal: "e,action,orient,bottom";
15670                source: "e";
15671                action: STATE_SET "default" 0.0;
15672                target: "e.box";
15673             }
15674             program {
15675                name: "e,action,orient,corner_tl";
15676                signal: "e,action,orient,corner_tl";
15677                source: "e";
15678                action: STATE_SET "default" 0.0;
15679                target: "e.box";
15680             }
15681             program {
15682                name: "e,action,orient,corner_tr";
15683                signal: "e,action,orient,corner_tr";
15684                source: "e";
15685                action: STATE_SET "default" 0.0;
15686                target: "e.box";
15687             }
15688             program {
15689                name: "e,action,orient,corner_bl";
15690                signal: "e,action,orient,corner_bl";
15691                source: "e";
15692                action: STATE_SET "default" 0.0;
15693                target: "e.box";
15694             }
15695             program {
15696                name: "e,action,orient,corner_br";
15697                signal: "e,action,orient,corner_br";
15698                source: "e";
15699                action: STATE_SET "default" 0.0;
15700                target: "e.box";
15701             }
15702             program {
15703                name: "e,action,orient,corner_lt";
15704                signal: "e,action,orient,corner_lt";
15705                source: "e";
15706                action: STATE_SET "default" 0.0;
15707                target: "e.box";
15708             }
15709             program {
15710                name: "e,action,orient,corner_rt";
15711                signal: "e,action,orient,corner_rt";
15712                source: "e";
15713                action: STATE_SET "default" 0.0;
15714                target: "e.box";
15715             }
15716             program {
15717                name: "e,action,orient,corner_lb";
15718                signal: "e,action,orient,corner_lb";
15719                source: "e";
15720                action: STATE_SET "default" 0.0;
15721                target: "e.box";
15722             }
15723             program {
15724                name: "e,action,orient,corner_rb";
15725                signal: "e,action,orient,corner_rb";
15726                source: "e";
15727                action: STATE_SET "default" 0.0;
15728                target: "e.box";
15729             }
15730          }
15731       }
15732    }
15733
15734
15735 /////////////////////////////////////////////////////////////////////////////
15736 /*** MOD: WINLIST ***/
15737
15738 /* e/widgets/winlist/* is the Window List
15739    gadget that pops up with Alt Tab       */
15740
15741    group {
15742       name: "e/widgets/winlist/main";
15743       images {
15744          image: "base_bg.png" COMP;
15745          image: "bd_top_hilight.png" COMP;
15746          image: "bd_title_bg.png" COMP;
15747          image: "bd_title_over.png";
15748       }
15749       parts {
15750          part {
15751             name: "base";
15752             mouse_events: 0;
15753             description {
15754                state: "default" 0.0;
15755                image {
15756                   normal: "base_bg.png";
15757                   border: 2 2 2 2;
15758                }
15759                fill.smooth: 0;
15760             }
15761          }
15762          part {
15763             name: "top_hilight";
15764             mouse_events: 0;
15765             description {
15766                state: "default" 0.0;
15767                rel2.relative: 1.0 0.0;
15768                rel2.offset: -1 15;
15769                image.normal: "bd_top_hilight.png";
15770                fill.smooth: 0;
15771             }
15772          }
15773          part {
15774             name: "title_back";
15775             mouse_events: 0;
15776             description {
15777                state: "default" 0.0;
15778                rel1.offset: 4 0;
15779                rel2.offset: -5 -4;
15780                rel2.to_y: "e.text.title";
15781                image {
15782                   normal: "bd_title_bg.png";
15783                   border: 7 7 2 7;
15784                }
15785                fill.smooth: 0;
15786             }
15787          }
15788          part {
15789             name: "e.swallow.icon";
15790             type: SWALLOW;
15791             description {
15792                state: "default" 0.0;
15793                aspect: 1.0 1.0;
15794                aspect_preference: VERTICAL;
15795                align: 0.5 0.0;
15796                min: 24 24;
15797                max: 24 24;
15798                rel1 {
15799                   relative: 0.0 1.0;
15800                   offset: 1     6;
15801                   to_y: "title_back";
15802                }
15803                rel2 {
15804                   relative: 1.0 1.0;
15805                   offset: -2    30;
15806                   to_y: "title_back";
15807                }
15808             }
15809          }
15810          part {
15811             name: "separator";
15812             mouse_events: 0;
15813             description {
15814                state: "default" 0.0;
15815                min: 16 2;
15816                rel1 {
15817                   offset: 16 2;
15818                   relative: 0.0 1.0;
15819                   to_y: "e.text.label";
15820                }
15821                rel2 {
15822                   offset: -17 4;
15823                   relative: 1.0 1.0;
15824                   to_y: "e.text.label";
15825                }
15826                image {
15827                   normal: "menu_sep.png";
15828                   border: 2 2 0 0;
15829                }
15830                fill.smooth: 0;
15831             }
15832          }
15833          part {
15834             name: "e.swallow.list";
15835             type: SWALLOW;
15836             clip_to: "list_clip";
15837             description {
15838                state: "default" 0.0;
15839                rel1 {
15840                   relative: 0.0 1.0;
15841                   offset: 12   12;
15842                   to_y: "e.text.label";
15843                }
15844                rel2.offset: -13  -12;
15845             }
15846          }
15847          part {
15848             name: "list_clip";
15849             type: RECT;
15850             description {
15851                state: "default" 0.0;
15852                color: 255 255 255 255;
15853                rel1.to_y: "e.swallow.list";
15854                rel2.to_y: "e.swallow.list";
15855             }
15856          }
15857          part {
15858             name: "e.text.label";
15859             type: TEXT;
15860             effect: NONE;
15861             mouse_events: 0;
15862             scale: 1;
15863             description {
15864                state: "default" 0.0;
15865                align: 0.5 0.5;
15866                fixed: 0 1;
15867                rel1 {
15868                   relative: 0.0 1.0;
15869                   offset: 16   16;
15870                   to_y: "e.swallow.icon";
15871                }
15872                rel2 {
15873                   relative: 1.0 1.0;
15874                   offset: -17 16;
15875                   to_y: "e.swallow.icon";
15876                }
15877                color_class: "winlist_label";
15878                text {
15879                   text: "Title goes here";
15880                   font: "Sans:style=Bold";
15881                   size: 10;
15882                   min: 0 1;
15883                   align: 0.5 0.5;
15884                   text_class: "winlist_label";
15885                }
15886             }
15887          }
15888          part {
15889             name: "e.text.title";
15890             type: TEXT;
15891             mouse_events: 0;
15892             effect: SOFT_SHADOW;
15893             scale: 1;
15894             description {
15895                state: "default" 0.0;
15896                fixed: 1 1;
15897                align: 0.5 0.0;
15898                rel1 {
15899                   relative: 0.0 0.0;
15900                   offset: 0 0;
15901                }
15902                rel2 {
15903                   relative: 1.0 0.0;
15904                   offset: -1 0;
15905                }
15906                color: 224 224 224 255;
15907                color3: 0 0 0 64;
15908                text {
15909                   font: "Sans:style=Bold";
15910                   size: 10;
15911                   align: 0.5 0.0;
15912                   min: 1 1;
15913                }
15914             }
15915          }
15916          part {
15917             name: "title_over";
15918             mouse_events: 0;
15919             description {
15920                state: "default" 0.0;
15921                rel1.to: "title_back";
15922                rel2.to: "title_back";
15923                image {
15924                   normal: "bd_title_over.png";
15925                   border: 7 7 2 7;
15926                }
15927                fill.smooth: 0;
15928             }
15929          }
15930       }
15931    }
15932    group {
15933       name: "e/widgets/winlist/item";
15934       images {
15935          image: "menu_sel_bg.png" COMP;
15936          image: "menu_sel_fg.png" COMP;
15937          image: "pager_window.png" COMP;
15938          image: "pager_window_shaded.png" COMP;
15939          image: "pager_base2.png";
15940       }
15941       parts {
15942          part {
15943             name: "bg";
15944             mouse_events: 0;
15945             description {
15946                state: "default" 0.0;
15947                visible: 0;
15948                color: 255 255 255 0;
15949                rel1 {
15950                   relative: 0.0 0.0;
15951                   offset: -5 -3;
15952                }
15953                rel2 {
15954                   relative: 1.0 1.0;
15955                   offset: 4 5;
15956                }
15957                image {
15958                   normal: "menu_sel_bg.png";
15959                   border: 8 8 5 9;
15960                }
15961             }
15962             description {
15963                state: "selected" 0.0;
15964                inherit: "default" 0.0;
15965                visible: 1;
15966                color: 255 255 255 255;
15967                rel1 {
15968                   relative: 0.0 0.0;
15969                   offset: -2 0;
15970                }
15971                rel2 {
15972                   relative: 1.0 1.0;
15973                   offset: 1 2;
15974                }
15975             }
15976          }
15977          part {
15978             name: "fg";
15979             mouse_events: 0;
15980             description {
15981                state: "default" 0.0;
15982                visible: 0;
15983                color: 255 255 255 0;
15984                rel1.to: "bg";
15985                rel2.to: "bg";
15986                image {
15987                   normal: "menu_sel_fg.png";
15988                   border: 8 8 5 9;
15989                }
15990             }
15991             description {
15992                state: "selected" 0.0;
15993                inherit: "default" 0.0;
15994                visible: 1;
15995                color: 255 255 255 255;
15996             }
15997          }
15998          part {
15999             name: "e.swallow.icon";
16000             type: SWALLOW;
16001             description {
16002                state: "default" 0.0;
16003                aspect: 1.0 1.0;
16004                aspect_preference: VERTICAL;
16005                align: 0.0 0.5;
16006                rel1 {
16007                   relative: 0.0 0.0;
16008                   offset: 4  3;
16009                }
16010                rel2 {
16011                   relative: 0.0 1.0;
16012                   offset: 4   -1;
16013                   to_y: "e.text.label";
16014                }
16015             }
16016          }
16017          part {
16018             name: "type";
16019             description {
16020                state: "default" 0.0;
16021                min: 23 24;
16022                max: 23 24;
16023                align: 1.0 0.5;
16024                rel1 {
16025                   relative: 1.0 0.5;
16026                   offset: -23  -12;
16027                }
16028                rel2 {
16029                   relative: 1.0 0.5;
16030                   offset: -1  11;
16031                   to_y: "e.text.label";
16032                }
16033                image.normal: "pager_window.png";
16034             }
16035             description {
16036                state: "iconified" 0.0;
16037                inherit: "default" 0.0;
16038                visible: 0;
16039             }
16040             description {
16041                state: "invisible" 0.0;
16042                inherit: "default" 0.0;
16043                image.normal: "pager_base2.png";
16044             }
16045             description {
16046                state: "shaded" 0.0;
16047                inherit: "default" 0.0;
16048                image.normal: "pager_window_shaded.png";
16049             }
16050          }
16051          part {
16052             name: "e.text.label";
16053             type: TEXT;
16054             effect: SHADOW;
16055             mouse_events: 0;
16056             scale: 1;
16057             description {
16058                state: "default" 0.0;
16059                align: 0.0 0.5;
16060                rel1 {
16061                   relative: 1.0 0.0;
16062                   offset: 3 5;
16063                   to_x: "e.swallow.icon";
16064                }
16065                rel2 {
16066                   relative: 0.0 1.0;
16067                   offset: -4 -4;
16068                   to_x: "type";
16069                }
16070                color_class: "winlist_item";
16071                text {
16072                   font: "Sans";
16073                   size: 10;
16074                   min: 0 1;
16075                   align: 0.0 0.5;
16076                   text_class: "winlist_title";
16077                }
16078             }
16079             description {
16080                state: "selected" 0.0;
16081                inherit: "default" 0.0;
16082                color_class: "winlist_item_active";
16083             }
16084          }
16085          part {
16086             name: "e.event.winlist.item";
16087             type: RECT;
16088             mouse_events: 1;
16089             description {
16090                state: "default" 0.0;
16091                min: 12 12;
16092                visible: 1;
16093                color: 0 0 0 0;
16094                rel1.to: "bg";
16095                rel2.to: "bg";
16096             }
16097          }
16098       }
16099       programs {
16100          program {
16101             name: "type1";
16102             signal: "e,state,iconified";
16103             source: "e";
16104             action: STATE_SET "iconified" 0.0;
16105             target: "type";
16106          }
16107          program {
16108             name: "type2";
16109             signal: "e,state,invisible";
16110             source: "e";
16111             action: STATE_SET "invisible" 0.0;
16112             target: "type";
16113          }
16114          program {
16115             name: "type3";
16116             signal: "e,state,shaded";
16117             source: "e";
16118             action: STATE_SET "shaded" 0.0;
16119             target: "type";
16120          }
16121          program {
16122             name: "sel";
16123             signal: "e,state,selected";
16124             source: "e";
16125             action: STATE_SET "selected" 0.0;
16126             transition: LINEAR 0.2;
16127             target: "bg";
16128             target: "fg";
16129             target: "e.text.label";
16130          }
16131          program {
16132             name: "unsel";
16133             signal: "e,state,unselected";
16134             source: "e";
16135             action: STATE_SET "default" 0.0;
16136             transition: LINEAR 0.1;
16137             target: "bg";
16138             target: "fg";
16139             target: "e.text.label";
16140          }
16141       }
16142    }
16143
16144
16145 /////////////////////////////////////////////////////////////////////////////
16146 /*** MOD: EXEBUF ***/
16147
16148    /* Exebuf is the run dialog, binded to Alt-Esc by default */
16149
16150    group {
16151       name: "e/widgets/exebuf/main";
16152       images {
16153          image: "base_bg.png" COMP;
16154          image: "inset_sunk.png" COMP;
16155          image: "menu_sel_bg.png" COMP;
16156          image: "menu_sel_fg.png" COMP;
16157       }
16158       parts {
16159          part {
16160             name: "base";
16161             mouse_events: 0;
16162             description {
16163                state: "default" 0.0;
16164                image {
16165                   normal: "base_bg.png";
16166                   border: 2 2 2 2;
16167                }
16168                fill.smooth: 0;
16169             }
16170          }
16171          part {
16172             name: "eap_bg";
16173             type: RECT;
16174             description {
16175                state: "default" 0.0;
16176                rel1 {
16177                   to: "e.swallow.eap_list";
16178                   offset: -1 -1;
16179                }
16180                rel2 {
16181                   to: "e.swallow.eap_list";
16182                   offset: 0  0;
16183                }
16184                color: 255 255 255 255;
16185             }
16186          }
16187          part {
16188             name: "e.swallow.eap_list";
16189             type: SWALLOW;
16190             clip_to: "eap_list_clip";
16191             description {
16192                state: "default" 0.0;
16193                min: 32 64;
16194                align: 0.5 0.0;
16195                rel1.offset: 12  12;
16196                rel2 {
16197                   offset: -13  -13;
16198                   relative: 1.0 0.0;
16199                   to_y: "bg";
16200                }
16201             }
16202          }
16203          part {
16204             name: "eap_list_clip";
16205             type: RECT;
16206             description {
16207                state: "default" 0.0;
16208                color: 255 255 255 255;
16209                rel1.to_y: "e.swallow.eap_list";
16210                rel2.to_y: "e.swallow.eap_list";
16211             }
16212          }
16213          part {
16214             name: "eap_over";
16215             mouse_events: 0;
16216             description {
16217                state: "default" 0.0;
16218                rel1 {
16219                   offset: -1 -1;
16220                   to: "eap_bg";
16221                }
16222                rel2 {
16223                   offset: 0 0;
16224                   to: "eap_bg";
16225                }
16226                image {
16227                   normal: "inset_sunk.png";
16228                   border: 7 7 7 7;
16229                   middle: 0;
16230                }
16231                fill.smooth : 0;
16232             }
16233          }
16234          part {
16235             name: "exe_bg";
16236             type: RECT;
16237             description {
16238                state: "default" 0.0;
16239                rel1 {
16240                   to: "e.swallow.exe_list";
16241                   offset: -1 -1;
16242                }
16243                rel2 {
16244                   to: "e.swallow.exe_list";
16245                   offset: 0  0;
16246                }
16247                color: 255 255 255 255;
16248             }
16249          }
16250          part {
16251             name: "e.swallow.exe_list";
16252             type: SWALLOW;
16253             clip_to: "exe_list_clip";
16254             description {
16255                state: "default" 0.0;
16256                min: 32 64;
16257                align: 0.5 1.0;
16258                rel1 {
16259                   relative: 0.0 1.0;
16260                   offset: 12  12;
16261                   to_y: "bg";
16262                }
16263                rel2.offset: -13  -13;
16264             }
16265          }
16266          part {
16267             name: "exe_list_clip";
16268             type: RECT;
16269             description {
16270                state: "default" 0.0;
16271                color: 255 255 255 255;
16272                rel1.to_y: "e.swallow.exe_list";
16273                rel2.to_y: "e.swallow.exe_list";
16274             }
16275          }
16276          part {
16277             name: "exe_over";
16278             mouse_events: 0;
16279             description {
16280                state: "default" 0.0;
16281                rel1 {
16282                   offset: -1 -1;
16283                   to: "exe_bg";
16284                }
16285                rel2 {
16286                   offset: 0 0;
16287                   to: "exe_bg";
16288                }
16289                image {
16290                   normal: "inset_sunk.png";
16291                   border: 7 7 7 7;
16292                   middle: 0;
16293                }
16294                fill.smooth : 0;
16295             }
16296          }
16297          part {
16298             name: "bg";
16299             mouse_events: 0;
16300             description {
16301                state: "default" 0.0;
16302                min: 0 42;
16303                max: 99999 42;
16304                rel1.offset: 20 0;
16305                rel2.offset: -21 -1;
16306                image {
16307                   normal: "menu_sel_bg.png";
16308                   border: 8 8 5 9;
16309                }
16310             }
16311          }
16312          part {
16313             name: "e.text.label";
16314             type: TEXT;
16315             effect: SHADOW;
16316             scale: 1;
16317             description {
16318                state: "default" 0.0;
16319                fixed: 0 1;
16320                align: 0.0 0.5;
16321                rel1 {
16322                   relative: 1.0 0.5;
16323                   offset: 4   0;
16324                   to_x: "e.swallow.icons";
16325                }
16326                rel2 {
16327                   relative: 1.0 0.5;
16328                   offset: 4  0;
16329                   to_x: "e.swallow.icons";
16330                }
16331                color: 255 255 255 255;
16332                color3: 0 0 0 64;
16333                text {
16334                   font: "Sans:style=Bold";
16335                   size: 16;
16336                   align: 0.0 0.5;
16337                   min: 1 1;
16338                   text_class: "exebuf_command";
16339                }
16340             }
16341          }
16342          part {
16343             name: "cursor";
16344             type: RECT;
16345             mouse_events: 0;
16346             description {
16347                state: "default" 0.0;
16348                min: 1 18;
16349                max: 1 18;
16350                align: 0.0 0.5;
16351                fixed: 1 1;
16352                rel1 {
16353                   relative: 1.0  0.0;
16354                   offset: 1    0;
16355                   to: "e.text.label";
16356                }
16357                rel2 {
16358                   relative: 1.0  1.0;
16359                   offset: 1    -1;
16360                   to: "e.text.label";
16361                }
16362                color: 255 255 255 220;
16363             }
16364             description {
16365                state: "faded" 0.0;
16366                inherit: "default" 0.0;
16367                color: 255 255 255 0;
16368             }
16369          }
16370          part {
16371             name: "e.swallow.icons";
16372             type: SWALLOW;
16373             description {
16374                state: "default" 0.0;
16375                min: 32 32;
16376                max: 32 32;
16377                align: 0.0 0.5;
16378                rel1 {
16379                   offset: 6  4;
16380                   to: "bg";
16381                }
16382                rel2 {
16383                   offset: -7  -5;
16384                   to: "bg";
16385                }
16386             }
16387          }
16388          part {
16389             name: "fg";
16390             mouse_events: 0;
16391             description {
16392                state: "default" 0.0;
16393                rel1.to: "bg";
16394                rel2.to: "bg";
16395                image {
16396                   normal: "menu_sel_fg.png";
16397                   border: 8 8 5 9;
16398                }
16399             }
16400          }
16401       }
16402       programs {
16403          program {
16404             name: "blink_off";
16405             signal: "show";
16406             source: "";
16407             action: STATE_SET "faded" 0.0;
16408             transition: SINUSOIDAL 0.5;
16409             target: "cursor";
16410             after: "blink_on";
16411          }
16412          program {
16413             name: "blink_on";
16414             action: STATE_SET "default" 0.0;
16415             transition: SINUSOIDAL 0.25;
16416             target: "cursor";
16417             after: "blink_off";
16418          }
16419       }
16420    }
16421    group {
16422       name: "e/widgets/exebuf/item";
16423       parts {
16424          part {
16425             name: "bg";
16426             mouse_events: 0;
16427             description {
16428                state: "default" 0.0;
16429                visible: 0;
16430                color: 255 255 255 0;
16431                rel1.offset: -5 -3;
16432                rel2.offset: 4 5;
16433                image {
16434                   normal: "menu_sel_bg.png";
16435                   border: 8 8 5 9;
16436                }
16437             }
16438             description {
16439                state: "selected" 0.0;
16440                inherit: "default" 0.0;
16441                visible: 1;
16442                color: 255 255 255 255;
16443                rel1.offset: -2 0;
16444                rel2.offset: 1 2;
16445             }
16446          }
16447          part {
16448             name: "e.text.title";
16449             type: TEXT;
16450             effect: SOFT_SHADOW;
16451             mouse_events: 0;
16452             scale: 1;
16453             description {
16454                state: "default" 0.0;
16455                rel1 {
16456                   offset: 2 1;
16457                   relative: 1.0 0.0;
16458                   to_x: "e.swallow.icons";
16459                }
16460                rel2.offset: -3 -2;
16461                color_class: "menu_item";
16462                text {
16463                   font: "Sans";
16464                   size: 10;
16465                   min: 0 1;
16466                   align: 0.0 0.5;
16467                   text_class: "menu_item";
16468                }
16469             }
16470             description {
16471                state: "selected" 0.0;
16472                inherit: "default" 0.0;
16473                color_class: "menu_item_active";
16474             }
16475          }
16476          part {
16477             name: "e.swallow.icons";
16478             type: SWALLOW;
16479             description {
16480                state: "default" 0.0;
16481                max: 18 18;
16482                aspect: 1.0 1.0;
16483                align: 0.0 0.5;
16484                aspect_preference: VERTICAL;
16485                rel1 {
16486                   relative: 0.0 0.0;
16487                   offset: 3   1;
16488                }
16489                rel2 {
16490                   relative: 0.0 1.0;
16491                   offset: -3   -2;
16492                }
16493             }
16494          }
16495          part {
16496             name: "fg";
16497             mouse_events: 0;
16498             description {
16499                state: "default" 0.0;
16500                visible: 0;
16501                color: 255 255 255 0;
16502                rel1.to: "bg";
16503                rel2.to: "bg";
16504                image {
16505                   normal: "menu_sel_fg.png";
16506                   border: 8 8 5 9;
16507                }
16508             }
16509             description {
16510                state: "selected" 0.0;
16511                inherit: "default" 0.0;
16512                visible: 1;
16513                color: 255 255 255 255;
16514             }
16515          }
16516          part {
16517             name: "e.event.exebuf.item";
16518             type: RECT;
16519             mouse_events: 1;
16520             description {
16521                state: "default" 0.0;
16522                min: 14 14;
16523                visible: 1;
16524                color: 0 0 0 0;
16525                rel1 {
16526                   relative: 1.0  0.0;
16527                   offset: 1    -1;
16528                   to_x: "e.swallow.icons";
16529                }
16530                rel2 {
16531                   relative: 1.0  1.0;
16532                   offset: -1   -1;
16533                }
16534             }
16535          }
16536       }
16537       programs {
16538          program {
16539             name: "sel";
16540             signal: "e,state,selected";
16541             source: "e";
16542             action: STATE_SET "selected" 0.0;
16543             transition: LINEAR 0.2;
16544             target: "bg";
16545             target: "fg";
16546             target: "e.text.title";
16547          }
16548          program {
16549             name: "unsel";
16550             signal: "e,state,unselected";
16551             source: "e";
16552             action: STATE_SET "default" 0.0;
16553             transition: LINEAR 0.1;
16554             target: "bg";
16555             target: "fg";
16556             target: "e.text.title";
16557          }
16558       }
16559    }
16560
16561
16562 /////////////////////////////////////////////////////////////////////////////
16563 /*** MOD: SYSCON ***/
16564
16565    group {
16566       name: "e/widgets/syscon/main";
16567       images {
16568          image: "base_bg.png" COMP;
16569          image: "bt_base1.png" COMP;
16570          image: "bt_base2.png" COMP;
16571          image: "bt_hilight.png" COMP;
16572          image: "bt_shine.png" COMP;
16573          image: "bt_glow.png" COMP;
16574       }
16575       parts {
16576          part {
16577             name: "base";
16578             mouse_events: 0;
16579             description {
16580                state: "default" 0.0;
16581                image {
16582                   normal: "base_bg.png";
16583                   border: 2 2 2 2;
16584                }
16585                fill.smooth: 0;
16586             }
16587          }
16588          part {
16589             name: "e.swallow.main";
16590             type: SWALLOW;
16591             description {
16592                state: "default" 0.0;
16593                // fixed: 1 1;
16594                align: 0.5 0.0;
16595                rel1.offset: 12 12;
16596                rel2.relative: 1.0 0.0;
16597                rel2.offset: -13 12;
16598             }
16599          }
16600          part {
16601             name: "e.swallow.secondary";
16602             type: SWALLOW;
16603             description {
16604                state: "default" 0.0;
16605                min: 32 32;
16606                rel1.to: "e.swallow.main";
16607                rel1.relative: 0.0 1.0;
16608                rel1.offset: 0 12;
16609                rel2.to: "e.swallow.extra";
16610                rel2.relative: 1.0 0.0;
16611                rel2.offset: -1 -13;
16612             }
16613          }
16614          part {
16615             name: "e.swallow.extra";
16616             type: SWALLOW;
16617             description {
16618                state: "default" 0.0;
16619                // fixed: 1 1;
16620                align: 0.5 1.0;
16621                rel1.relative: 0.0 1.0;
16622                rel1.offset: 12 -13;
16623                rel2.to_y: "button_image";
16624                rel2.relative: 1.0 0.0;
16625                rel2.offset: -13 -13;
16626             }
16627          }
16628          part {
16629             name: "button_image";
16630             mouse_events: 1;
16631             scale: 1;
16632             description {
16633                state: "default" 0.0;
16634                fixed: 1 1;
16635                align: 0.5 1.0;
16636                rel1.relative: 0.5 1.0;
16637                rel1.offset: 0 -13;
16638                rel2.relative: 0.5 1.0;
16639                rel2.offset: 0 -13;
16640                min: 64 32;
16641                max: 64 32;
16642                image {
16643                   normal: "bt_base2.png";
16644                   border: 7 7 7 7;
16645                }
16646             }
16647             description {
16648                state: "clicked" 0.0;
16649                inherit: "default" 0.0;
16650                image.normal: "bt_base1.png";
16651             }
16652             description {
16653                state: "disabled" 0.0;
16654                inherit: "default" 0.0;
16655                image {
16656                   normal: "bt_dis_base.png";
16657                   border: 4 4 4 4;
16658                }
16659             }
16660          }
16661          part {
16662             name: "e.text.label";
16663             type: TEXT;
16664             effect: SOFT_SHADOW;
16665             mouse_events: 0;
16666             scale: 1;
16667             description {
16668                state: "default" 0.0;
16669                rel1 {
16670                   to: "button_image";
16671                   relative: 0.0  0.0;
16672                   offset: 3    3;
16673                }
16674                rel2 {
16675                   relative: 1.0  1.0;
16676                   offset: -4   -4;
16677                   to: "button_image";
16678                }
16679                color_class: "button_text";
16680                text {
16681                   text: "Cancel";
16682                   font: "Sans";
16683                   size: 10;
16684                   min: 1 1;
16685                   align: 0.5 0.5;
16686                   text_class: "button";
16687                }
16688             }
16689             description {
16690                state: "disabled" 0.0;
16691                inherit: "default" 0.0;
16692                color_class: "button_text_disabled";
16693             }
16694          }
16695          part {
16696             name: "over1";
16697             mouse_events: 0;
16698             description {
16699                state: "default" 0.0;
16700                rel1.to: "button_image";
16701                rel2.to: "button_image";
16702                rel2.relative: 1.0 0.5;
16703                image {
16704                   normal: "bt_hilight.png";
16705                   border: 7 7 7 0;
16706                }
16707             }
16708             description {
16709                state: "disabled" 0.0;
16710                inherit: "default" 0.0;
16711                image {
16712                   normal: "bt_dis_hilight.png";
16713                   border: 4 4 4 0;
16714                }
16715             }
16716          }
16717          part {
16718             name: "over2";
16719             mouse_events: 0;
16720             description {
16721                state: "default" 0.0;
16722                rel1.to: "button_image";
16723                rel2.to: "button_image";
16724                image {
16725                   normal: "bt_shine.png";
16726                   border: 7 7 7 7;
16727                }
16728             }
16729             description {
16730                state: "disabled" 0.0;
16731                inherit: "default" 0.0;
16732                visible: 0;
16733             }
16734          }
16735          part {
16736             name: "over3";
16737             mouse_events: 0;
16738             description {
16739                state: "default" 0.0;
16740                rel1.to: "button_image";
16741                rel2.to: "button_image";
16742                visible: 0;
16743                color: 255 255 255 0;
16744                image {
16745                   normal: "bt_glow.png";
16746                   border: 12 12 12 12;
16747                }
16748                fill.smooth : 0;
16749             }
16750             description {
16751                state: "clicked" 0.0;
16752                inherit: "default" 0.0;
16753                visible: 1;
16754                color: 255 255 255 255;
16755             }
16756          }
16757       }
16758       programs {
16759          program {
16760             name: "button_click";
16761             signal: "mouse,down,1";
16762             source: "button_image";
16763             action: STATE_SET "clicked" 0.0;
16764             target: "button_image";
16765             target: "over3";
16766          }
16767          program {
16768             name: "button_unclick";
16769             signal: "mouse,up,1";
16770             source: "button_image";
16771             action: STATE_SET "default" 0.0;
16772             target: "button_image";
16773             target: "over3";
16774          }
16775          program {
16776             name: "button_unclick2";
16777             signal: "mouse,clicked,1";
16778             source: "button_image";
16779             action: SIGNAL_EMIT "e,action,close" "";
16780          }
16781       }
16782    }
16783    group {
16784       name: "e/widgets/syscon/item/button";
16785       images {
16786          image: "bt_base1.png" COMP;
16787          image: "bt_base2.png" COMP;
16788          image: "bt_hilight.png" COMP;
16789          image: "bt_shine.png" COMP;
16790          image: "bt_glow.png" COMP;
16791          image: "bt_dis_base.png" COMP;
16792          image: "bt_dis_hilight.png" COMP;
16793       }
16794       parts {
16795          part {
16796             name: "button_image";
16797             mouse_events: 1;
16798             description {
16799                state: "default" 0.0;
16800                min: 32 16;
16801                image {
16802                   normal: "bt_base2.png";
16803                   border: 7 7 7 7;
16804                }
16805             }
16806             description {
16807                state: "clicked" 0.0;
16808                inherit: "default" 0.0;
16809                image.normal: "bt_base1.png";
16810             }
16811             description {
16812                state: "disabled" 0.0;
16813                inherit: "default" 0.0;
16814                image {
16815                   normal: "bt_dis_base.png";
16816                   border: 4 4 4 4;
16817                }
16818             }
16819          }
16820          part {
16821             name: "e.text.label";
16822             type: TEXT;
16823             effect: SOFT_SHADOW;
16824             mouse_events: 0;
16825             scale: 1;
16826             description {
16827                state: "default" 0.0;
16828                fixed: 0 1;
16829                align: 0.5 1.0;
16830                rel1 {
16831                   relative: 0.0  1.0;
16832                   offset: 3    -4;
16833                   to: "button_image";
16834                }
16835                rel2 {
16836                   relative: 1.0  1.0;
16837                   offset: -4   -4;
16838                   to: "button_image";
16839                }
16840                color_class: "button_text";
16841                text {
16842                   font: "Sans";
16843                   size: 10;
16844                   min: 1 1;
16845                   align: 0.5 1.0;
16846                   text_class: "button";
16847                }
16848             }
16849             description {
16850                state: "disabled" 0.0;
16851                inherit: "default" 0.0;
16852                color_class: "button_text_disabled";
16853             }
16854          }
16855          part {
16856             name: "e.swallow.icon";
16857             type: SWALLOW;
16858             mouse_events: 0;
16859             description {
16860                state: "default" 0.0;
16861                aspect: 1.0 1.0;
16862                aspect_preference: BOTH;
16863                align: 0.5 0.5;
16864                rel1 {
16865                   relative: 0.0 0.0;
16866                   offset: 3  3;
16867                   to: "button_image";
16868                }
16869                rel2 {
16870                   relative: 1.0 0.0;
16871                   offset: -4   -1;
16872                   to_x: "button_image";
16873                   to_y: "e.text.label";
16874                }
16875             }
16876          }
16877          part {
16878             name: "over1";
16879             mouse_events: 0;
16880             description {
16881                state: "default" 0.0;
16882                rel2.relative: 1.0 0.5;
16883                image {
16884                   normal: "bt_hilight.png";
16885                   border: 7 7 7 0;
16886                }
16887             }
16888             description {
16889                state: "disabled" 0.0;
16890                inherit: "default" 0.0;
16891                image {
16892                   normal: "bt_dis_hilight.png";
16893                   border: 4 4 4 0;
16894                }
16895             }
16896          }
16897          part {
16898             name: "over2";
16899             mouse_events: 0;
16900             description {
16901                state: "default" 0.0;
16902                image {
16903                   normal: "bt_shine.png";
16904                   border: 7 7 7 7;
16905                }
16906             }
16907             description {
16908                state: "disabled" 0.0;
16909                inherit: "default" 0.0;
16910                visible: 0;
16911             }
16912          }
16913          part {
16914             name: "over3";
16915             mouse_events: 0;
16916             description {
16917                state: "default" 0.0;
16918                visible: 0;
16919                color: 255 255 255 0;
16920                image {
16921                   normal: "bt_glow.png";
16922                   border: 12 12 12 12;
16923                }
16924                fill.smooth : 0;
16925             }
16926             description {
16927                state: "clicked" 0.0;
16928                inherit: "default" 0.0;
16929                visible: 1;
16930                color: 255 255 255 255;
16931             }
16932          }
16933          part {
16934             name: "disabler";
16935             type: RECT;
16936             description {
16937                state: "default" 0.0;
16938                color: 0 0 0 0;
16939                visible: 0;
16940             }
16941             description {
16942                state: "disabled" 0.0;
16943                inherit: "default" 0.0;
16944                visible: 1;
16945             }
16946          }
16947       }
16948       programs {
16949          program {
16950             name: "button_click";
16951             signal: "mouse,down,1";
16952             source: "button_image";
16953             action: STATE_SET "clicked" 0.0;
16954             target: "button_image";
16955             target: "over3";
16956          }
16957          program {
16958             name: "button_unclick";
16959             signal: "mouse,up,1";
16960             source: "button_image";
16961             action: STATE_SET "default" 0.0;
16962             target: "button_image";
16963             target: "over3";
16964          }
16965          program {
16966             name: "button_unclick2";
16967             signal: "mouse,clicked,1";
16968             source: "button_image";
16969             action: SIGNAL_EMIT "e,action,click" "";
16970          }
16971          program {
16972             name: "disable";
16973             signal: "e,state,disabled";
16974             source: "e";
16975             action: STATE_SET "disabled" 0.0;
16976             target: "button_image";
16977             target: "over1";
16978             target: "disabler";
16979          }
16980          program {
16981             name: "enable";
16982             signal: "e,state,enabled";
16983             source: "e";
16984             action: STATE_SET "default" 0.0;
16985             target: "button_image";
16986             target: "over1";
16987             target: "disabler";
16988          }
16989       }
16990    }
16991
16992
16993 /////////////////////////////////////////////////////////////////////////////
16994 /*** MOD: MIXER ***/
16995    // TODO: Add code for making sound circles fade between states.
16996
16997    group {
16998       name: "e/modules/mixer/main";
16999       images {
17000          image: "mixer.png" COMP;
17001          image: "mixer_low_left.png" COMP;
17002          image: "mixer_low_right.png" COMP;
17003          image: "mixer_med_left.png" COMP;
17004          image: "mixer_med_right.png" COMP;
17005          image: "mixer_high_left.png" COMP;
17006          image: "mixer_high_right.png" COMP;
17007       }
17008       max: 128 128;
17009       min: 1 1;
17010       script {
17011          public message(Msg_Type:type, id, ...) {
17012             if ((type == MSG_INT_SET) && (id == 0)) {
17013                new mute, left, right;
17014                mute = getarg(2);
17015                left = getarg(3);
17016                right = getarg(4);
17017                if (mute)
17018                   run_program(PROGRAM:"mute"); 
17019                else
17020                   run_program(PROGRAM:"unmute");
17021                
17022                if (left <= 0)
17023                   run_program(PROGRAM:"left_none"); 
17024                else if (left < 33)
17025                   run_program(PROGRAM:"left_low"); 
17026                else if (left < 66)
17027                   run_program(PROGRAM:"left_medium"); 
17028                else if (left >= 66)
17029                   run_program(PROGRAM:"left_high");
17030                
17031                if (right <= 0)
17032                   run_program(PROGRAM:"right_none"); 
17033                else if (right < 33)
17034                   run_program(PROGRAM:"right_low"); 
17035                else if (right < 66)
17036                   run_program(PROGRAM:"right_medium"); 
17037                else if (right >= 66)
17038                   run_program(PROGRAM:"right_high");
17039             }
17040          }
17041       }
17042       parts {
17043          part {
17044             name: "speaker";
17045             type: IMAGE;
17046             mouse_events: 0;
17047             description {
17048                state: "default" 0.0;
17049                aspect: 1 1;
17050                aspect_preference: BOTH;
17051                image.normal: "mixer.png";
17052             }
17053          }
17054          part {
17055             name: "left";
17056             type: IMAGE;
17057             clip_to: "mute";
17058             mouse_events: 0;
17059             description {
17060                state: "default" 0.0;
17061                visible: 0;
17062                aspect: 1 1;
17063                aspect_preference: BOTH;
17064                rel1.to: "speaker";
17065                rel2.to: "speaker";
17066                image.normal: "mixer_low_left.png";
17067             }
17068             description {
17069                state: "low" 0.0;
17070                inherit: "default" 0.0;
17071                visible: 1;
17072             }
17073             description {
17074                state: "medium" 0.0;
17075                inherit: "default" 0.0;
17076                visible: 1;
17077                image.normal: "mixer_med_left.png";
17078             }
17079             description {
17080                state: "high" 0.0;
17081                inherit: "default" 0.0;
17082                visible: 1;
17083                image.normal: "mixer_high_left.png";
17084             }
17085          }
17086          part {
17087             name: "right";
17088             type: IMAGE;
17089             clip_to: "mute";
17090             mouse_events: 0;
17091             description {
17092                state: "default" 0.0;
17093                visible: 0;
17094                aspect: 1 1;
17095                aspect_preference: BOTH;
17096                rel1.to: "speaker";
17097                rel2.to: "speaker";
17098                image.normal: "mixer_low_right.png";
17099             }
17100             description {
17101                state: "low" 0.0;
17102                inherit: "default" 0.0;
17103                visible: 1;
17104             }
17105             description {
17106                state: "medium" 0.0;
17107                inherit: "default" 0.0;
17108                visible: 1;
17109                image.normal: "mixer_med_right.png";
17110             }
17111             description {
17112                state: "high" 0.0;
17113                inherit: "default" 0.0;
17114                visible: 1;
17115                image.normal: "mixer_high_right.png";
17116             }
17117          }
17118          part {
17119             name: "mute";
17120             mouse_events: 0;
17121             type: RECT;
17122             description {
17123                state: "default" 0.0;
17124                color: 255 255 255 255;
17125             }
17126             description {
17127                state: "active" 0.0;
17128                color: 255 255 255 64;
17129             }
17130          }
17131          part {
17132             name: "over";
17133             type: RECT;
17134             description {
17135                state: "default" 0.0;
17136                rel1.to: "speaker";
17137                rel2.to: "speaker";
17138                color: 255 255 255 0;
17139             }
17140          }
17141       }
17142       programs {
17143          program {
17144             name: "mute";
17145             action: STATE_SET "active" 0.0;
17146             transition: LINEAR 0.3;
17147             target: "mute";
17148          }
17149          program {
17150             name: "unmute";
17151             action: STATE_SET "default" 0.0;
17152             transition: LINEAR 0.2;
17153             target: "mute";
17154          }
17155          program {
17156             name: "left_none";
17157             action: STATE_SET "default" 0.0;
17158             target: "left";
17159          }
17160          program {
17161             name: "left_low";
17162             action: STATE_SET "low" 0.0;
17163             target: "left";
17164          }
17165          program {
17166             name: "left_medium";
17167             action: STATE_SET "medium" 0.0;
17168             target: "left";
17169          }
17170          program {
17171             name: "left_high";
17172             action: STATE_SET "high" 0.0;
17173             target: "left";
17174          }
17175          program {
17176             name: "right_none";
17177             action: STATE_SET "default" 0.0;
17178             target: "right";
17179          }
17180          program {
17181             name: "right_low";
17182             action: STATE_SET "low" 0.0;
17183             target: "right";
17184          }
17185          program {
17186             name: "right_medium";
17187             action: STATE_SET "medium" 0.0;
17188             target: "right";
17189          }
17190          program {
17191             name: "right_high";
17192             action: STATE_SET "high" 0.0;
17193             target: "right";
17194          }
17195       }
17196    }
17197
17198
17199 /////////////////////////////////////////////////////////////////////////////
17200 /*** FILEMAN ***/
17201 /* E inbuilt filemanager */
17202
17203    group {
17204       name: "e/fileman/default/window/main";
17205       images {
17206          image: "dia_grad.png" COMP;
17207          image: "dia_topshad.png" COMP;
17208          image: "dia_botshad.png" COMP;
17209       }
17210       parts {
17211          part {
17212             name: "base";
17213             mouse_events: 0;
17214             description {
17215                state: "default" 0.0;
17216                color_class: "fileman_base";
17217                image.normal: "dia_grad.png";
17218                fill {
17219                   smooth: 0;
17220                   size {
17221                      relative: 0.0 1.0;
17222                      offset: 64 0;
17223                   }
17224                }
17225             }
17226          }
17227          part {
17228             name: "e.swallow.bg";
17229             type: SWALLOW;
17230             mouse_events: 0;
17231             description {
17232                state: "default" 0.0;
17233             }
17234          }
17235          part {
17236             name: "shadow";
17237             mouse_events: 0;
17238             description {
17239                state: "default" 0.0;
17240                rel2.relative: 1.0 0.0;
17241                rel2.offset: -1 31;
17242                image.normal: "dia_topshad.png";
17243                fill {
17244                   smooth: 0;
17245                   size {
17246                      relative: 0.0 1.0;
17247                      offset: 64 0;
17248                   }
17249                }
17250             }
17251          }
17252          part {
17253             name: "shadow2";
17254             mouse_events: 0;
17255             description {
17256                state: "default" 0.0;
17257                rel1.relative: 0.0 1.0;
17258                rel1.offset: 0 -4;
17259                image.normal: "dia_botshad.png";
17260                fill {
17261                   smooth: 0;
17262                   size {
17263                      relative: 0.0 1.0;
17264                      offset: 64 0;
17265                   }
17266                }
17267             }
17268          }
17269       }
17270    }
17271    group {
17272       name: "e/fileman/default/progress";
17273       min: 250 40;
17274       images {
17275          image: "icon_efm_file_del.png" COMP;
17276       }
17277       parts {
17278          part {
17279             name: "bg";
17280             type: IMAGE;
17281             mouse_events: 0;
17282             description {
17283                state: "default" 0.0;
17284                image.normal: "bt_dis_base.png";
17285                image.border: 5 5 5 5;
17286             }
17287             description {
17288                state: "need_attention" 0.0;
17289                inherit: "default" 0.0;
17290                color: 200 0 0 150;
17291             }
17292          }
17293          part {
17294             name: "shadow";
17295             type: IMAGE;
17296             mouse_events: 0;
17297             description {
17298                state: "default" 0.0;
17299                image.normal: "bt_dis_shine.png";
17300                image.border: 5 5 5 5;
17301                rel1.to: "bg";
17302                rel2.to: "bg";
17303             }
17304          }
17305          part {
17306             name: "icon";
17307             mouse_events: 0;
17308             scale: 1;
17309             description {
17310                state: "default" 0.0;
17311                min: 32 32;
17312                max: 32 32;
17313                align: 0.01 0.5;
17314                rel1.to: "bg";
17315                rel2.to: "bg";
17316                image.normal: "icon_efm_dnd_ask.png";
17317             }
17318             description {
17319                state: "copy" 0.0;
17320                inherit: "default" 0.0;
17321                image.normal: "icon_efm_dnd_copy.png";
17322             }
17323             description {
17324                state: "move" 0.0;
17325                inherit: "default" 0.0;
17326                image.normal: "icon_efm_dnd_move.png";
17327             }
17328             description {
17329                state: "delete" 0.0;
17330                inherit: "default" 0.0;
17331                image.normal: "icon_efm_file_del.png";
17332             }
17333          }
17334          part {
17335             name: "gauge_bg";
17336             type: IMAGE;
17337             scale: 1;
17338             mouse_events: 0;
17339             description {
17340                state: "default" 0.0;
17341                rel1.to: "icon";
17342                rel1.relative: 1.0 0.60;
17343                rel2.to: "bg";
17344                rel2.relative: 1.0 1.0;
17345                rel2.offset: -4 -5;
17346                image.normal: "inset_sunk.png";
17347                image.border: 6 6 6 6;
17348             }
17349          }
17350          part {
17351             name: "gauge_confine";
17352             type: RECT;
17353             scale: 1;
17354             mouse_events: 0;
17355             description {
17356                state: "default" 0.0;
17357                rel1.to: "gauge_bg";
17358                rel1.offset: 1 1;
17359                rel2.to: "gauge_bg";
17360                rel2.offset: -2 -2;
17361                color: 0 255 0 0;
17362             }
17363          }
17364          part {
17365             name: "e.gauge.bar";
17366             mouse_events: 0;
17367             scale: 1;
17368             type: RECT;
17369             description {
17370                state: "default" 0.0;
17371                min: 0 0;
17372                color: 55 55 55 100;
17373             }
17374             dragable {
17375                x: 1 1 0;
17376                y: 0 0 0;
17377                confine:"gauge_confine";
17378             }
17379          }
17380          part {
17381             name: "e.text.info";
17382             type: TEXT;
17383             mouse_events: 0;
17384             scale: 1;
17385             description {
17386                state: "default" 0.0;
17387                rel1 {
17388                   relative: 1.0 0.0;
17389                   to_x: "icon";
17390                   to_y: "bg";
17391                }
17392                rel2 {
17393                   relative: 0.0 0.6;
17394                   to_x: "bt_abort";
17395                   to_y: "icon";
17396                }
17397                color: 0 0 0 255;
17398                text {
17399                   font: "Sans";
17400                   size: 10;
17401                   align: 0.0 0.5;
17402                   text_class: "fileman_icon";
17403                }
17404             }
17405          }
17406          part {
17407             name: "bt_abort";
17408             type: IMAGE;
17409             mouse_events: 0;
17410             description {
17411                state: "default" 0.0;
17412                align: 1.0 0.0;
17413                min: 19 19;
17414                max: 19 19;
17415                rel1.offset: -3 2;
17416                rel2.offset: -3 2;
17417                image.normal: "bd_button_close_shadow.png";
17418             }
17419          }
17420          part {
17421             name: "bt_abort_unfoc";
17422             type: IMAGE;
17423             mouse_events: 0;
17424             description {
17425                state: "default" 0.0;
17426                visible: 1;
17427                color: 255 255 255 255;
17428                rel1.to: "bt_abort";
17429                rel2.to: "bt_abort";
17430                image.normal: "bd_button_close_unfocused.png";
17431             }
17432             description {
17433                state: "active" 0.0;
17434                inherit: "default" 0.0;
17435                visible: 0;
17436                color: 255 255 255 0;
17437                rel1.offset: 0 1;
17438                rel2.offset: -1 0;
17439             }
17440          }
17441          part {
17442             name: "bt_abort_foc";
17443             type: IMAGE;
17444             mouse_events: 0;
17445             description {
17446                state: "default" 0.0;
17447                visible: 0;
17448                color: 255 255 255 0;
17449                rel1.to: "bt_abort";
17450                rel2.to: "bt_abort";
17451                image.normal: "bd_button_close_focused.png";
17452             }
17453             description {
17454                state: "active" 0.0;
17455                inherit: "default" 0.0;
17456                visible: 1;
17457                color: 255 255 255 255;
17458                rel1.offset: 0 1;
17459                rel2.offset: -1 0;
17460             }
17461          }
17462          part {
17463             name: "e.event.abort";
17464             type: RECT;
17465             mouse_events: 1;
17466             description {
17467                state: "default" 0.0;
17468                rel1.to: "bt_abort";
17469                rel2.to: "bt_abort";
17470                color: 0 0 0 0;
17471             }
17472          }
17473       }
17474       programs {
17475          program {
17476             name: "set_need_attention";
17477             signal: "e,action,set,need_attention";
17478             source: "e";
17479             action: STATE_SET "need_attention" 0.0;
17480             transition: SINUSOIDAL 1.0;
17481             target: "bg";
17482             after: "need_loop";
17483          }
17484          program {
17485             name: "need_loop";
17486             action: STATE_SET "default" 0.0;
17487             transition: SINUSOIDAL 1.0;
17488             target: "bg";
17489             after: "set_need_attention";
17490          }
17491          program {
17492             name: "set_normal";
17493             signal: "e,action,set,normal";
17494             source: "e";
17495             action: STATE_SET "default" 0.0;
17496             transition: SINUSOIDAL 1.0;
17497             target: "bg";
17498          }
17499          program {
17500             name: "set_icon_unknow";
17501             signal: "e,action,icon,unknow";
17502             source: "e";
17503             action: STATE_SET "default" 0.0;
17504             target: "icon";
17505          }
17506          program {
17507             name: "set_icon_copy";
17508             signal: "e,action,icon,copy";
17509             source: "e";
17510             action: STATE_SET "copy" 0.0;
17511             target: "icon";
17512          }
17513          program {
17514             name: "set_icon_move";
17515             signal: "e,action,icon,move";
17516             source: "e";
17517             action: STATE_SET "move" 0.0;
17518             target: "icon";
17519          }
17520          program {
17521             name: "set_icon_delete";
17522             signal: "e,action,icon,delete";
17523             source: "e";
17524             action: STATE_SET "delete" 0.0;
17525             target: "icon";
17526          }
17527          program {
17528             name: "bt_abort_down";
17529             signal: "mouse,down,*";
17530             source: "e.event.abort";
17531             action: STATE_SET "active" 0.0;
17532             target: "bt_abort_unfoc";
17533             target: "bt_abort_foc";
17534          }
17535          program {
17536             name: "bt_abort_up";
17537             signal: "mouse,up,*";
17538             source: "e.event.abort";
17539             action: STATE_SET "default" 0.0;
17540             target: "bt_abort_unfoc";
17541             target: "bt_abort_foc";
17542          }
17543          program {
17544             name: "bt_abort_click";
17545             signal: "mouse,clicked,*";
17546             source: "e.event.abort";
17547             action: SIGNAL_EMIT "e,fm,operation,abort" "";
17548          }
17549       }
17550    }
17551    group {
17552       name: "e/fileman/default/scrollframe";
17553       images {
17554          image: "inset_sunk.png" COMP;
17555          image: "arrow_left.png" COMP;
17556          image: "arrow_right.png" COMP;
17557          image: "arrow_up.png" COMP;
17558          image: "arrow_down.png" COMP;
17559          image: "bt_sm_base1.png" COMP;
17560          image: "bt_sm_base2.png" COMP;
17561          image: "bt_sm_shine.png" COMP;
17562          image: "bt_sm_hilight.png" COMP;
17563          image: "sb_runnerh.png" COMP;
17564          image: "sb_runnerv.png" COMP;
17565       }
17566       parts {
17567          part {
17568             name: "clipper";
17569             type: RECT;
17570             mouse_events: 0;
17571             description {
17572                state: "default" 0.0;
17573             }
17574          }
17575          part {
17576             name: "e.swallow.content";
17577             clip_to: "clipper";
17578             type: SWALLOW;
17579             description {
17580                state: "default" 0.0;
17581                rel1.offset: 1 1;
17582                rel2 {
17583                   relative: 0.0  0.0;
17584                   offset: -1   -1;
17585                   to_x: "sb_vbar";
17586                   to_y: "sb_hbar";
17587                }
17588             }
17589          }
17590          part {
17591             name: "conf_over";
17592             mouse_events: 0;
17593             description {
17594                state: "default" 0.0;
17595                rel1.offset: -1 -1;
17596                rel2.offset: 0 0;
17597                image {
17598                   normal: "inset_sunk.png";
17599                   border: 7 7 7 7;
17600                   middle: 0;
17601                }
17602                fill.smooth : 0;
17603             }
17604          }
17605          part {
17606             name: "sb_vbar";
17607             type: RECT;
17608             mouse_events: 0;
17609             scale: 1;
17610             description {
17611                state: "default" 0.0;
17612                min: 17 17;
17613                align: 1.0 0.0;
17614                rel1 {
17615                   relative: 1.0 0.0;
17616                   offset: -2 1;
17617                }
17618                rel2 {
17619                   relative: 1.0 0.0;
17620                   offset: -2 -1;
17621                   to_y: "sb_hbar";
17622                }
17623             }
17624             description {
17625                state: "hidden" 0.0;
17626                visible: 0;
17627                max: 0 99999;
17628                rel1 {
17629                   relative: 1.0 0.0;
17630                   offset: -1 0;
17631                }
17632                rel2 {
17633                   relative: 1.0 0.0;
17634                   offset: -1 -1;
17635                   to_y: "sb_hbar";
17636                }
17637             }
17638          }
17639          part {
17640             name: "sb_vbar_base";
17641             type: RECT;
17642             clip_to: "sb_vbar";
17643             mouse_events: 1;
17644             description {
17645                state: "default" 0.0;
17646                color: 0 0 0 0;
17647                rel1 {
17648                   relative: 0.0  1.0;
17649                   offset: 0    -2;
17650                   to: "sb_vbar_a1";
17651                }
17652                rel2 {
17653                   relative: 1.0  0.0;
17654                   offset: -1    1;
17655                   to: "sb_vbar_a2";
17656                }
17657             }
17658          }
17659          part {
17660             name: "sb_vbar_runner";
17661             clip_to: "sb_vbar";
17662             mouse_events: 0;
17663             description {
17664                state: "default" 0.0;
17665                max: 3 99999;
17666                rel1.to: "sb_vbar_base";
17667                rel1.offset: 1 0;
17668                rel2.to: "sb_vbar_base";
17669                image {
17670                   normal: "sb_runnerv.png";
17671                   border: 0 0 4 4;
17672                }
17673                fill.smooth: 0;
17674             }
17675          }
17676          part {
17677             name: "sb_vbar_p1";
17678             type: RECT;
17679             clip_to: "sb_vbar";
17680             mouse_events: 1;
17681             description {
17682                state: "default" 0.0;
17683                color: 0 0 0 0;
17684                rel1 {
17685                   relative: 0.0 1.0;
17686                   to: "sb_vbar_a1";
17687                }
17688                rel2 {
17689                   relative: 1.0 0.0;
17690                   to: "e.dragable.vbar";
17691                }
17692             }
17693          }
17694          part {
17695             name: "sb_vbar_p2";
17696             type: RECT;
17697             clip_to: "sb_vbar";
17698             mouse_events: 1;
17699             description {
17700                state: "default" 0.0;
17701                color: 0 0 0 0;
17702                rel1 {
17703                   relative: 0.0 1.0;
17704                   to: "e.dragable.vbar";
17705                }
17706                rel2 {
17707                   relative: 1.0 0.0;
17708                   to: "sb_vbar_a2";
17709                }
17710             }
17711          }
17712          part {
17713             name: "e.dragable.vbar";
17714             clip_to: "sb_vbar";
17715             mouse_events: 1;
17716             scale: 1;
17717             dragable {
17718                x: 0 0 0;
17719                y: 1 1 0;
17720                confine: "sb_vbar_base";
17721             }
17722             description {
17723                state: "default" 0.0;
17724                min: 17 17;
17725                rel1 {
17726                   relative: 0.5  0.5;
17727                   offset: 0    0;
17728                   to: "sb_vbar_base";
17729                }
17730                rel2 {
17731                   relative: 0.5  0.5;
17732                   offset: 0    0;
17733                   to: "sb_vbar_base";
17734                }
17735                image {
17736                   normal: "bt_sm_base2.png";
17737                   border: 6 6 6 6;
17738                }
17739             }
17740             description {
17741                state: "clicked" 0.0;
17742                inherit: "default" 0.0;
17743                image.normal: "bt_sm_base1.png";
17744             }
17745          }
17746          part {
17747             name: "sb_vbar_over1";
17748             clip_to: "sb_vbar";
17749             mouse_events: 0;
17750             description {
17751                state: "default" 0.0;
17752                rel1.to: "e.dragable.vbar";
17753                rel2.relative: 1.0 0.5;
17754                rel2.to: "e.dragable.vbar";
17755                image {
17756                   normal: "bt_sm_hilight.png";
17757                   border: 6 6 6 0;
17758                }
17759             }
17760          }
17761          part {
17762             name: "sb_vbar_over2";
17763             clip_to: "sb_vbar";
17764             mouse_events: 0;
17765             description {
17766                state: "default" 0.0;
17767                rel1.to: "e.dragable.vbar";
17768                rel2.to: "e.dragable.vbar";
17769                image {
17770                   normal: "bt_sm_shine.png";
17771                   border: 6 6 6 0;
17772                }
17773             }
17774          }
17775          part {
17776             name: "sb_vbar_a1";
17777             type: RECT;
17778             clip_to: "sb_vbar";
17779             mouse_events: 1;
17780             description {
17781                state: "default" 0.0;
17782                min: 17 17;
17783                align: 0.5 0.0;
17784                aspect: 1.0 1.0;
17785                aspect_preference: HORIZONTAL;
17786                color: 0 0 0 0;
17787                rel1 {
17788                   to: "sb_vbar";
17789                   relative: 0.0  0.0;
17790                   offset: 0    0;
17791                }
17792                rel2 {
17793                   to: "sb_vbar";
17794                   relative: 1.0  0.0;
17795                   offset: -1   0;
17796                }
17797             }
17798          }
17799          part {
17800             name: "sb_vbar_a1_arrow";
17801             mouse_events: 0;
17802             clip_to: "sb_vbar";
17803             description {
17804                state: "default" 0.0;
17805                max: 9 9;
17806                rel1.to: "sb_vbar_a1";
17807                rel2.to: "sb_vbar_a1";
17808                image.normal: "arrow_up.png";
17809             }
17810             description {
17811                state: "clicked" 0.0;
17812                inherit: "default" 0.0;
17813                rel1.offset: 0 -1;
17814                rel2.offset: -1 -2;
17815             }
17816          }
17817          part {
17818             name: "sb_vbar_a2";
17819             type: RECT;
17820             clip_to: "sb_vbar";
17821             mouse_events: 1;
17822             description {
17823                state: "default" 0.0;
17824                min: 17 17;
17825                align: 0.5 1.0;
17826                aspect: 1.0 1.0;
17827                aspect_preference: HORIZONTAL;
17828                color: 0 0 0 0;
17829                rel1 {
17830                   to: "sb_vbar";
17831                   relative: 0.0  1.0;
17832                   offset: 0    0;
17833                }
17834                rel2 {
17835                   to: "sb_vbar";
17836                   relative: 1.0  1.0;
17837                   offset: -1   0;
17838                }
17839             }
17840          }
17841          part {
17842             name: "sb_vbar_a2_arrow";
17843             type: IMAGE;
17844             mouse_events: 0;
17845             clip_to: "sb_vbar";
17846             description {
17847                state: "default" 0.0;
17848                max: 9 9;
17849                rel1.to: "sb_vbar_a2";
17850                rel2.to: "sb_vbar_a2";
17851                image.normal: "arrow_down.png";
17852             }
17853             description {
17854                state: "clicked" 0.0;
17855                inherit: "default" 0.0;
17856                rel1.offset: 0 1;
17857                rel2.offset: -1 0;
17858             }
17859          }
17860          part {
17861             name: "sb_hbar";
17862             type: RECT;
17863             mouse_events: 0;
17864             scale: 1;
17865             description {
17866                state: "default" 0.0;
17867                min: 17 17;
17868                align: 0.0 1.0;
17869                rel1 {
17870                   relative: 0.0 1.0;
17871                   offset: 1 -2;
17872                }
17873                rel2 {
17874                   relative: 0.0 1.0;
17875                   offset: -1 -2;
17876                   to_x: "sb_vbar";
17877                }
17878             }
17879             description {
17880                state: "hidden" 0.0;
17881                visible: 0;
17882                rel1 {
17883                   relative: 0.0  1.0;
17884                   offset: 0    -1;
17885                }
17886                rel2 {
17887                   relative: 0.0  1.0;
17888                   offset: -1   -1;
17889                   to_x: "sb_vbar";
17890                }
17891             }
17892          }
17893          part {
17894             name: "sb_hbar_base";
17895             type: RECT;
17896             clip_to: "sb_hbar";
17897             mouse_events: 1;
17898             description {
17899                state: "default" 0.0;
17900                color: 0 0 0 0;
17901                rel1 {
17902                   relative: 1.0  0.0;
17903                   offset: -2   0;
17904                   to: "sb_hbar_a1";
17905                }
17906                rel2 {
17907                   relative: 0.0  1.0;
17908                   offset: 1   -1;
17909                   to: "sb_hbar_a2";
17910                }
17911             }
17912          }
17913          part {
17914             name: "sb_hbar_runner";
17915             clip_to: "sb_hbar";
17916             mouse_events: 0;
17917             description {
17918                state: "default" 0.0;
17919                max: 99999 3;
17920                rel1.to: "sb_hbar_base";
17921                rel1.offset: 0 1;
17922                rel2.to: "sb_hbar_base";
17923                image {
17924                   normal: "sb_runnerh.png";
17925                   border: 4 4 0 0;
17926                }
17927                fill.smooth: 0;
17928             }
17929          }
17930          part {
17931             name: "sb_hbar_p1";
17932             type: RECT;
17933             clip_to: "sb_hbar";
17934             mouse_events: 1;
17935             description {
17936                state: "default" 0.0;
17937                color: 0 0 0 0;
17938                rel1 {
17939                   relative: 1.0 0.0;
17940                   to: "sb_hbar_a1";
17941                }
17942                rel2 {
17943                   relative: 0.0 1.0;
17944                   to: "e.dragable.hbar";
17945                }
17946             }
17947          }
17948          part {
17949             name: "sb_hbar_p2";
17950             type: RECT;
17951             clip_to: "sb_hbar";
17952             mouse_events: 1;
17953             description {
17954                state: "default" 0.0;
17955                color: 0 0 0 0;
17956                rel1 {
17957                   relative: 1.0 0.0;
17958                   to: "e.dragable.hbar";
17959                }
17960                rel2 {
17961                   relative: 0.0 1.0;
17962                   to: "sb_hbar_a2";
17963                }
17964             }
17965          }
17966          part {
17967             name: "e.dragable.hbar";
17968             clip_to: "sb_hbar";
17969             mouse_events: 1;
17970             scale: 1;
17971             dragable {
17972                x: 1 1 0;
17973                y: 0 0 0;
17974                confine: "sb_hbar_base";
17975             }
17976             description {
17977                state: "default" 0.0;
17978                min: 17 17;
17979                rel1 {
17980                   relative: 0.5  0.5;
17981                   offset: 0    0;
17982                   to: "sb_hbar_base";
17983                }
17984                rel2 {
17985                   relative: 0.5  0.5;
17986                   offset: 0    0;
17987                   to: "sb_hbar_base";
17988                }
17989                image {
17990                   normal: "bt_sm_base2.png";
17991                   border: 6 6 6 6;
17992                }
17993             }
17994             description {
17995                state: "clicked" 0.0;
17996                inherit: "default" 0.0;
17997                image.normal: "bt_sm_base1.png";
17998             }
17999          }
18000          part {
18001             name: "sb_hbar_over1";
18002             clip_to: "sb_hbar";
18003             mouse_events: 0;
18004             description {
18005                state: "default" 0.0;
18006                rel1.to: "e.dragable.hbar";
18007                rel2.relative: 1.0 0.5;
18008                rel2.to: "e.dragable.hbar";
18009                image {
18010                   normal: "bt_sm_hilight.png";
18011                   border: 6 6 6 0;
18012                }
18013             }
18014          }
18015          part {
18016             name: "sb_hbar_over2";
18017             clip_to: "sb_hbar";
18018             mouse_events: 0;
18019             description {
18020                state: "default" 0.0;
18021                rel1.to: "e.dragable.hbar";
18022                rel2.to: "e.dragable.hbar";
18023                image {
18024                   normal: "bt_sm_shine.png";
18025                   border: 6 6 6 0;
18026                }
18027             }
18028          }
18029          part {
18030             name: "sb_hbar_a1";
18031             type: RECT;
18032             clip_to: "sb_hbar";
18033             mouse_events: 1;
18034             description {
18035                state: "default" 0.0;
18036                min: 17 17;
18037                align: 0.0 0.5;
18038                aspect: 1.0 1.0;
18039                aspect_preference: VERTICAL;
18040                color: 0 0 0 0;
18041                rel1 {
18042                   to: "sb_hbar";
18043                   relative: 0.0  0.0;
18044                   offset: 0    0;
18045                }
18046                rel2 {
18047                   to: "sb_hbar";
18048                   relative: 0.0  1.0;
18049                   offset: 0   -1;
18050                }
18051             }
18052          }
18053          part {
18054             name: "sb_hbar_a1_arrow";
18055             type: IMAGE;
18056             mouse_events: 0;
18057             clip_to: "sb_hbar";
18058             description {
18059                state: "default" 0.0;
18060                max: 9 9;
18061                rel1.to: "sb_hbar_a1";
18062                rel2.to: "sb_hbar_a1";
18063                image.normal: "arrow_left.png";
18064             }
18065             description {
18066                state: "clicked" 0.0;
18067                inherit: "default" 0.0;
18068                rel1.offset: -1 0;
18069                rel2.offset: -2 -1;
18070             }
18071          }
18072          part {
18073             name: "sb_hbar_a2";
18074             type: RECT;
18075             clip_to: "sb_hbar";
18076             mouse_events: 1;
18077             description {
18078                state: "default" 0.0;
18079                min: 17 17;
18080                align: 1.0 0.5;
18081                aspect: 1.0 1.0;
18082                aspect_preference: VERTICAL;
18083                color: 0 0 0 0;
18084                rel1 {
18085                   to: "sb_hbar";
18086                   relative: 1.0  0.0;
18087                   offset: -1    0;
18088                }
18089                rel2 {
18090                   to: "sb_hbar";
18091                   relative: 1.0  1.0;
18092                   offset: -1   -1;
18093                }
18094             }
18095          }
18096          part {
18097             name: "sb_hbar_a2_arrow";
18098             type: IMAGE;
18099             mouse_events: 0;
18100             clip_to: "sb_hbar";
18101             description {
18102                state: "default" 0.0;
18103                max: 9 9;
18104                rel1.to: "sb_hbar_a2";
18105                rel2.to: "sb_hbar_a2";
18106                image.normal: "arrow_right.png";
18107             }
18108             description {
18109                state: "clicked" 0.0;
18110                inherit: "default" 0.0;
18111                rel1.offset: 1 0;
18112                rel2.offset: 0 -1;
18113             }
18114          }
18115          part {
18116             name: "e.box.operations";
18117             type: BOX;
18118             description {
18119                state: "default" 0.0;
18120                rel2.to_x: "sb_vbar";
18121                rel2.to_y: "sb_hbar";
18122                rel2.relative: 0.0 0.0;
18123                box {
18124                   layout: "vertical";
18125                   padding: 0 0;
18126                   align: 1.0 1.0;
18127                }
18128             }
18129          }
18130       }
18131       programs {
18132          program {
18133             name: "sb_vbar_show";
18134             signal: "e,action,show,vbar";
18135             source: "e";
18136             action: STATE_SET "default" 0.0;
18137             target: "sb_vbar";
18138          }
18139          program {
18140             name: "sb_vbar_hide";
18141             signal: "e,action,hide,vbar";
18142             source: "e";
18143             action: STATE_SET "hidden" 0.0;
18144             target: "sb_vbar";
18145          }
18146          program {
18147             name: "sb_hbar_show";
18148             signal: "e,action,show,hbar";
18149             source: "e";
18150             action: STATE_SET "default" 0.0;
18151             target: "sb_hbar";
18152          }
18153          program {
18154             name: "sb_hbar_hide";
18155             signal: "e,action,hide,hbar";
18156             source: "e";
18157             action: STATE_SET "hidden" 0.0;
18158             target: "sb_hbar";
18159          }
18160          program {
18161             name: "sb_vbar_a1_down";
18162             signal: "mouse,down,1";
18163             source: "sb_vbar_a1";
18164             action: STATE_SET "clicked" 0.0;
18165             target: "sb_vbar_a1_arrow";
18166          }
18167          program {
18168             name: "sb_vbar_a1_down2";
18169             signal: "mouse,down,1";
18170             source: "sb_vbar_a1";
18171             action: DRAG_VAL_STEP 0.0 -1.0;
18172             target: "e.dragable.vbar";
18173          }
18174          program {
18175             name: "sb_vbar_a1_up";
18176             signal: "mouse,up,1";
18177             source: "sb_vbar_a1";
18178             action: STATE_SET "default" 0.0;
18179             target: "sb_vbar_a1_arrow";
18180          }
18181          program {
18182             name: "sb_vbar_a2_down";
18183             signal: "mouse,down,1";
18184             source: "sb_vbar_a2";
18185             action: STATE_SET "clicked" 0.0;
18186             target: "sb_vbar_a2_arrow";
18187          }
18188          program {
18189             name: "sb_vbar_a2_down2";
18190             signal: "mouse,down,1";
18191             source: "sb_vbar_a2";
18192             action: DRAG_VAL_STEP 0.0 1.0;
18193             target: "e.dragable.vbar";
18194          }
18195          program {
18196             name: "sb_vbar_a2_up";
18197             signal: "mouse,up,1";
18198             source: "sb_vbar_a2";
18199             action: STATE_SET "default" 0.0;
18200             target: "sb_vbar_a2_arrow";
18201          }
18202          program {
18203             name: "sb_vbar_p1_down";
18204             signal: "mouse,down,1";
18205             source: "sb_vbar_p1";
18206             action: DRAG_VAL_PAGE 0.0 -1.0;
18207             target: "e.dragable.vbar";
18208          }
18209          program {
18210             name: "sb_vbar_p2_down";
18211             signal: "mouse,down,1";
18212             source: "sb_vbar_p2";
18213             action: DRAG_VAL_PAGE  0.0 1.0;
18214             target: "e.dragable.vbar";
18215          }
18216          program {
18217             name: "sb_vbar_down";
18218             signal: "mouse,down,1";
18219             source: "e.dragable.vbar";
18220             action: STATE_SET "clicked" 0.0;
18221             target: "e.dragable.vbar";
18222          }
18223          program {
18224             name: "sb_vbar_up";
18225             signal: "mouse,up,1";
18226             source: "e.dragable.vbar";
18227             action: STATE_SET "default" 0.0;
18228             target: "e.dragable.vbar";
18229          }
18230          program {
18231             name: "sb_hbar_a1_down";
18232             signal: "mouse,down,1";
18233             source: "sb_hbar_a1";
18234             action: STATE_SET "clicked" 0.0;
18235             target: "sb_hbar_a1_arrow";
18236          }
18237          program {
18238             name: "sb_hbar_a1_down2";
18239             signal: "mouse,down,1";
18240             source: "sb_hbar_a1";
18241             action: DRAG_VAL_STEP -1.0 0.0;
18242             target: "e.dragable.hbar";
18243          }
18244          program {
18245             name: "sb_hbar_a1_up";
18246             signal: "mouse,up,1";
18247             source: "sb_hbar_a1";
18248             action: STATE_SET "default" 0.0;
18249             target: "sb_hbar_a1_arrow";
18250          }
18251          program {
18252             name: "sb_hbar_a2_down";
18253             signal: "mouse,down,1";
18254             source: "sb_hbar_a2";
18255             action: STATE_SET "clicked" 0.0;
18256             target: "sb_hbar_a2_arrow";
18257          }
18258          program {
18259             name: "sb_hbar_a2_down2";
18260             signal: "mouse,down,1";
18261             source: "sb_hbar_a2";
18262             action: DRAG_VAL_STEP 1.0 0.0;
18263             target: "e.dragable.hbar";
18264          }
18265          program {
18266             name: "sb_hbar_a2_up";
18267             signal: "mouse,up,1";
18268             source: "sb_hbar_a2";
18269             action: STATE_SET "default" 0.0;
18270             target: "sb_hbar_a2_arrow";
18271          }
18272          program {
18273             name: "sb_hbar_p1_down";
18274             signal: "mouse,down,1";
18275             source: "sb_hbar_p1";
18276             action: DRAG_VAL_PAGE -1.0 0.0;
18277             target: "e.dragable.hbar";
18278          }
18279          program {
18280             name: "sb_hbar_p2_down";
18281             signal: "mouse,down,1";
18282             source: "sb_hbar_p2";
18283             action: DRAG_VAL_PAGE  1.0 0.0;
18284             target: "e.dragable.hbar";
18285          }
18286          program {
18287             name: "sb_hbar_down";
18288             signal: "mouse,down,1";
18289             source: "e.dragable.hbar";
18290             action: STATE_SET "clicked" 0.0;
18291             target: "e.dragable.hbar";
18292          }
18293          program {
18294             name: "sb_hbar_up";
18295             signal: "mouse,up,1";
18296             source: "e.dragable.hbar";
18297             action: STATE_SET "default" 0.0;
18298             target: "e.dragable.hbar";
18299          }
18300       }
18301    }
18302    group {
18303       name: "e/fileman/desktop/scrollframe";
18304       images {
18305          image: "arrow_left.png" COMP;
18306          image: "arrow_right.png" COMP;
18307          image: "arrow_up.png" COMP;
18308          image: "arrow_down.png" COMP;
18309          image: "bt_sm_base1.png" COMP;
18310          image: "bt_sm_base2.png" COMP;
18311          image: "bt_sm_shine.png" COMP;
18312          image: "bt_sm_hilight.png" COMP;
18313          image: "sb_runnerh.png" COMP;
18314          image: "sb_runnerv.png" COMP;
18315       }
18316       parts {
18317          part {
18318             name: "clipper";
18319             type: RECT;
18320             mouse_events: 0;
18321             description {
18322                state: "default" 0.0;
18323             }
18324          }
18325          part {
18326             name: "e.swallow.content";
18327             clip_to: "clipper";
18328             type: SWALLOW;
18329             description {
18330                state: "default" 0.0;
18331                rel1.offset: 0 0;
18332                rel2 {
18333                   relative: 0.0  0.0;
18334                   offset: -1   -1;
18335                   to_x: "sb_vbar";
18336                   to_y: "sb_hbar";
18337                }
18338             }
18339          }
18340          part {
18341             name: "sb_vbar";
18342             type: RECT;
18343             mouse_events: 0;
18344             scale: 1;
18345             description {
18346                state: "default" 0.0;
18347                min: 17 17;
18348                align: 1.0 0.0;
18349                rel1 {
18350                   relative: 1.0 0.0;
18351                   offset: -1 0;
18352                }
18353                rel2 {
18354                   relative: 1.0 0.0;
18355                   offset: -1 -1;
18356                   to_y: "sb_hbar";
18357                }
18358             }
18359             description {
18360                state: "hidden" 0.0;
18361                visible: 0;
18362                max: 0 99999;
18363                rel1 {
18364                   relative: 1.0 0.0;
18365                   offset: -1 0;
18366                }
18367                rel2 {
18368                   relative: 1.0 0.0;
18369                   offset: -1 -1;
18370                   to_y: "sb_hbar";
18371                }
18372             }
18373          }
18374          part {
18375             name: "sb_vbar_base";
18376             type: RECT;
18377             clip_to: "sb_vbar";
18378             mouse_events: 1;
18379             description {
18380                state: "default" 0.0;
18381                color: 0 0 0 0;
18382                rel1 {
18383                   relative: 0.0  1.0;
18384                   offset: 0    -1;
18385                   to: "sb_vbar_a1";
18386                }
18387                rel2 {
18388                   relative: 1.0  0.0;
18389                   offset: -1    0;
18390                   to: "sb_vbar_a2";
18391                }
18392             }
18393          }
18394          part {
18395             name: "sb_vbar_runner";
18396             clip_to: "sb_vbar";
18397             mouse_events: 0;
18398             description {
18399                state: "default" 0.0;
18400                max: 3 99999;
18401                rel1.to: "sb_vbar_base";
18402                rel1.offset: 1 0;
18403                rel2.to: "sb_vbar_base";
18404                image {
18405                   normal: "sb_runnerv.png";
18406                   border: 0 0 4 4;
18407                }
18408                fill.smooth: 0;
18409             }
18410          }
18411          part {
18412             name: "sb_vbar_p1";
18413             type: RECT;
18414             clip_to: "sb_vbar";
18415             mouse_events: 1;
18416             description {
18417                state: "default" 0.0;
18418                color: 0 0 0 0;
18419                rel1 {
18420                   relative: 0.0 1.0;
18421                   to: "sb_vbar_a1";
18422                }
18423                rel2 {
18424                   relative: 1.0 0.0;
18425                   to: "e.dragable.vbar";
18426                }
18427             }
18428          }
18429          part {
18430             name: "sb_vbar_p2";
18431             type: RECT;
18432             clip_to: "sb_vbar";
18433             mouse_events: 1;
18434             description {
18435                state: "default" 0.0;
18436                color: 0 0 0 0;
18437                rel1 {
18438                   relative: 0.0 1.0;
18439                   to: "e.dragable.vbar";
18440                }
18441                rel2 {
18442                   relative: 1.0 0.0;
18443                   to: "sb_vbar_a2";
18444                }
18445             }
18446          }
18447          part {
18448             name: "e.dragable.vbar";
18449             clip_to: "sb_vbar";
18450             mouse_events: 1;
18451             scale: 1;
18452             dragable {
18453                x: 0 0 0;
18454                y: 1 1 0;
18455                confine: "sb_vbar_base";
18456             }
18457             description {
18458                state: "default" 0.0;
18459                min: 17 17;
18460                rel1 {
18461                   relative: 0.5  0.5;
18462                   offset: 0    0;
18463                   to: "sb_vbar_base";
18464                }
18465                rel2 {
18466                   relative: 0.5  0.5;
18467                   offset: 0    0;
18468                   to: "sb_vbar_base";
18469                }
18470                image {
18471                   normal: "bt_sm_base2.png";
18472                   border: 6 6 6 6;
18473                }
18474             }
18475             description {
18476                state: "clicked" 0.0;
18477                inherit: "default" 0.0;
18478                image.normal: "bt_sm_base1.png";
18479             }
18480          }
18481          part {
18482             name: "sb_vbar_over1";
18483             clip_to: "sb_vbar";
18484             mouse_events: 0;
18485             description {
18486                state: "default" 0.0;
18487                rel1.to: "e.dragable.vbar";
18488                rel2.relative: 1.0 0.5;
18489                rel2.to: "e.dragable.vbar";
18490                image {
18491                   normal: "bt_sm_hilight.png";
18492                   border: 6 6 6 0;
18493                }
18494             }
18495          }
18496          part {
18497             name: "sb_vbar_over2";
18498             clip_to: "sb_vbar";
18499             mouse_events: 0;
18500             description {
18501                state: "default" 0.0;
18502                rel1.to: "e.dragable.vbar";
18503                rel2.to: "e.dragable.vbar";
18504                image {
18505                   normal: "bt_sm_shine.png";
18506                   border: 6 6 6 0;
18507                }
18508             }
18509          }
18510          part {
18511             name: "sb_vbar_a1";
18512             type: RECT;
18513             clip_to: "sb_vbar";
18514             mouse_events: 1;
18515             description {
18516                state: "default" 0.0;
18517                min: 17 17;
18518                align: 0.5 0.0;
18519                aspect: 1.0 1.0;
18520                aspect_preference: HORIZONTAL;
18521                color: 0 0 0 0;
18522                rel1 {
18523                   to: "sb_vbar";
18524                   relative: 0.0  0.0;
18525                   offset: 0    0;
18526                }
18527                rel2 {
18528                   to: "sb_vbar";
18529                   relative: 1.0  0.0;
18530                   offset: -1   0;
18531                }
18532             }
18533          }
18534          part {
18535             name: "sb_vbar_a1_arrow";
18536             mouse_events: 0;
18537             clip_to: "sb_vbar";
18538             description {
18539                state: "default" 0.0;
18540                max: 9 9;
18541                rel1.to: "sb_vbar_a1";
18542                rel2.to: "sb_vbar_a1";
18543                image.normal: "arrow_up.png";
18544             }
18545             description {
18546                state: "clicked" 0.0;
18547                inherit: "default" 0.0;
18548                rel1.offset: 0 -1;
18549                rel2.offset: -1 -2;
18550             }
18551          }
18552          part {
18553             name: "sb_vbar_a2";
18554             type: RECT;
18555             clip_to: "sb_vbar";
18556             mouse_events: 1;
18557             description {
18558                state: "default" 0.0;
18559                min: 17 17;
18560                align: 0.5 1.0;
18561                aspect: 1.0 1.0;
18562                aspect_preference: HORIZONTAL;
18563                color: 0 0 0 0;
18564                rel1 {
18565                   to: "sb_vbar";
18566                   relative: 0.0  1.0;
18567                   offset: 0    0;
18568                }
18569                rel2 {
18570                   to: "sb_vbar";
18571                   relative: 1.0  1.0;
18572                   offset: -1   0;
18573                }
18574             }
18575          }
18576          part {
18577             name: "sb_vbar_a2_arrow";
18578             type: IMAGE;
18579             mouse_events: 0;
18580             clip_to: "sb_vbar";
18581             description {
18582                state: "default" 0.0;
18583                max: 9 9;
18584                rel1.to: "sb_vbar_a2";
18585                rel2.to: "sb_vbar_a2";
18586                image.normal: "arrow_down.png";
18587             }
18588             description {
18589                state: "clicked" 0.0;
18590                inherit: "default" 0.0;
18591                rel1.offset: 0 1;
18592                rel2.offset: -1 0;
18593             }
18594          }
18595          part {
18596             name: "sb_hbar";
18597             type: RECT;
18598             mouse_events: 0;
18599             scale: 1;
18600             description {
18601                state: "default" 0.0;
18602                min: 17 17;
18603                align: 0.0 1.0;
18604                rel1 {
18605                   relative: 0.0 1.0;
18606                   offset: 1 -2;
18607                }
18608                rel2 {
18609                   relative: 0.0 1.0;
18610                   offset: -1 -2;
18611                   to_x: "sb_vbar";
18612                }
18613             }
18614             description {
18615                state: "hidden" 0.0;
18616                visible: 0;
18617                rel1 {
18618                   relative: 0.0  1.0;
18619                   offset: 0    -1;
18620                }
18621                rel2 {
18622                   relative: 0.0  1.0;
18623                   offset: -1   -1;
18624                   to_x: "sb_vbar";
18625                }
18626             }
18627          }
18628          part {
18629             name: "sb_hbar_base";
18630             type: RECT;
18631             clip_to: "sb_hbar";
18632             mouse_events: 1;
18633             description {
18634                state: "default" 0.0;
18635                color: 0 0 0 0;
18636                rel1 {
18637                   relative: 1.0  0.0;
18638                   offset: -1   0;
18639                   to: "sb_hbar_a1";
18640                }
18641                rel2 {
18642                   relative: 0.0  1.0;
18643                   offset: 0   -1;
18644                   to: "sb_hbar_a2";
18645                }
18646             }
18647          }
18648          part {
18649             name: "sb_hbar_runner";
18650             clip_to: "sb_hbar";
18651             mouse_events: 0;
18652             description {
18653                state: "default" 0.0;
18654                max: 99999 3;
18655                rel1.to: "sb_hbar_base";
18656                rel1.offset: 0 1;
18657                rel2.to: "sb_hbar_base";
18658                image {
18659                   normal: "sb_runnerh.png";
18660                   border: 4 4 0 0;
18661                }
18662                fill.smooth: 0;
18663             }
18664          }
18665          part {
18666             name: "sb_hbar_p1";
18667             type: RECT;
18668             clip_to: "sb_hbar";
18669             mouse_events: 1;
18670             description {
18671                state: "default" 0.0;
18672                color: 0 0 0 0;
18673                rel1 {
18674                   relative: 1.0 0.0;
18675                   to: "sb_hbar_a1";
18676                }
18677                rel2 {
18678                   relative: 0.0 1.0;
18679                   to: "e.dragable.hbar";
18680                }
18681             }
18682          }
18683          part {
18684             name: "sb_hbar_p2";
18685             type: RECT;
18686             clip_to: "sb_hbar";
18687             mouse_events: 1;
18688             description {
18689                state: "default" 0.0;
18690                color: 0 0 0 0;
18691                rel1 {
18692                   relative: 1.0 0.0;
18693                   to: "e.dragable.hbar";
18694                }
18695                rel2 {
18696                   relative: 0.0 1.0;
18697                   to: "sb_hbar_a2";
18698                }
18699             }
18700          }
18701          part {
18702             name: "e.dragable.hbar";
18703             clip_to: "sb_hbar";
18704             mouse_events: 1;
18705             scale: 1;
18706             dragable {
18707                x: 1 1 0;
18708                y: 0 0 0;
18709                confine: "sb_hbar_base";
18710             }
18711             description {
18712                state: "default" 0.0;
18713                min: 17 17;
18714                rel1 {
18715                   relative: 0.5  0.5;
18716                   offset: 0    0;
18717                   to: "sb_hbar_base";
18718                }
18719                rel2 {
18720                   relative: 0.5  0.5;
18721                   offset: 0    0;
18722                   to: "sb_hbar_base";
18723                }
18724                image {
18725                   normal: "bt_sm_base2.png";
18726                   border: 6 6 6 6;
18727                }
18728             }
18729             description {
18730                state: "clicked" 0.0;
18731                inherit: "default" 0.0;
18732                image.normal: "bt_sm_base1.png";
18733             }
18734          }
18735          part {
18736             name: "sb_hbar_over1";
18737             clip_to: "sb_hbar";
18738             mouse_events: 0;
18739             description {
18740                state: "default" 0.0;
18741                rel1.to: "e.dragable.hbar";
18742                rel2.relative: 1.0 0.5;
18743                rel2.to: "e.dragable.hbar";
18744                image {
18745                   normal: "bt_sm_hilight.png";
18746                   border: 6 6 6 0;
18747                }
18748             }
18749          }
18750          part {
18751             name: "sb_hbar_over2";
18752             clip_to: "sb_hbar";
18753             mouse_events: 0;
18754             description {
18755                state: "default" 0.0;
18756                rel1.to: "e.dragable.hbar";
18757                rel2.to: "e.dragable.hbar";
18758                image {
18759                   normal: "bt_sm_shine.png";
18760                   border: 6 6 6 0;
18761                }
18762             }
18763          }
18764          part {
18765             name: "sb_hbar_a1";
18766             type: RECT;
18767             clip_to: "sb_hbar";
18768             mouse_events: 1;
18769             description {
18770                state: "default" 0.0;
18771                min: 17 17;
18772                align: 0.0 0.5;
18773                aspect: 1.0 1.0;
18774                aspect_preference: VERTICAL;
18775                color: 0 0 0 0;
18776                rel1 {
18777                   to: "sb_hbar";
18778                   relative: 0.0  0.0;
18779                   offset: 0    0;
18780                }
18781                rel2 {
18782                   to: "sb_hbar";
18783                   relative: 0.0  1.0;
18784                   offset: 0   -1;
18785                }
18786             }
18787          }
18788          part {
18789             name: "sb_hbar_a1_arrow";
18790             type: IMAGE;
18791             mouse_events: 0;
18792             clip_to: "sb_hbar";
18793             description {
18794                state: "default" 0.0;
18795                max: 9 9;
18796                rel1.to: "sb_hbar_a1";
18797                rel2.to: "sb_hbar_a1";
18798                image.normal: "arrow_left.png";
18799             }
18800             description {
18801                state: "clicked" 0.0;
18802                inherit: "default" 0.0;
18803                rel1.offset: -1 0;
18804                rel2.offset: -2 -1;
18805             }
18806          }
18807          part {
18808             name: "sb_hbar_a2";
18809             type: RECT;
18810             clip_to: "sb_hbar";
18811             mouse_events: 1;
18812             description {
18813                state: "default" 0.0;
18814                min: 17 17;
18815                align: 1.0 0.5;
18816                aspect: 1.0 1.0;
18817                aspect_preference: VERTICAL;
18818                color: 0 0 0 0;
18819                rel1 {
18820                   to: "sb_hbar";
18821                   relative: 1.0  0.0;
18822                   offset: -1    0;
18823                }
18824                rel2 {
18825                   to: "sb_hbar";
18826                   relative: 1.0  1.0;
18827                   offset: -1   -1;
18828                }
18829             }
18830          }
18831          part {
18832             name: "sb_hbar_a2_arrow";
18833             type: IMAGE;
18834             mouse_events: 0;
18835             clip_to: "sb_hbar";
18836             description {
18837                state: "default" 0.0;
18838                max: 9 9;
18839                rel1.to: "sb_hbar_a2";
18840                rel2.to: "sb_hbar_a2";
18841                image.normal: "arrow_right.png";
18842             }
18843             description {
18844                state: "clicked" 0.0;
18845                inherit: "default" 0.0;
18846                rel1.offset: 1 0;
18847                rel2.offset: 0 -1;
18848             }
18849          }
18850       }
18851       programs {
18852          program {
18853             name: "sb_vbar_show";
18854             signal: "e,action,show,vbar";
18855             source: "e";
18856             action: STATE_SET "default" 0.0;
18857             target: "sb_vbar";
18858          }
18859          program {
18860             name: "sb_vbar_hide";
18861             signal: "e,action,hide,vbar";
18862             source: "e";
18863             action: STATE_SET "hidden" 0.0;
18864             target: "sb_vbar";
18865          }
18866          program {
18867             name: "sb_hbar_show";
18868             signal: "e,action,show,hbar";
18869             source: "e";
18870             action: STATE_SET "default" 0.0;
18871             target: "sb_hbar";
18872          }
18873          program {
18874             name: "sb_hbar_hide";
18875             signal: "e,action,hide,hbar";
18876             source: "e";
18877             action: STATE_SET "hidden" 0.0;
18878             target: "sb_hbar";
18879          }
18880          program {
18881             name: "sb_vbar_a1_down";
18882             signal: "mouse,down,1";
18883             source: "sb_vbar_a1";
18884             action: STATE_SET "clicked" 0.0;
18885             target: "sb_vbar_a1_arrow";
18886          }
18887          program {
18888             name: "sb_vbar_a1_down2";
18889             signal: "mouse,down,1";
18890             source: "sb_vbar_a1";
18891             action: DRAG_VAL_STEP 0.0 -1.0;
18892             target: "e.dragable.vbar";
18893          }
18894          program {
18895             name: "sb_vbar_a1_up";
18896             signal: "mouse,up,1";
18897             source: "sb_vbar_a1";
18898             action: STATE_SET "default" 0.0;
18899             target: "sb_vbar_a1_arrow";
18900          }
18901          program {
18902             name: "sb_vbar_a2_down";
18903             signal: "mouse,down,1";
18904             source: "sb_vbar_a2";
18905             action: STATE_SET "clicked" 0.0;
18906             target: "sb_vbar_a2_arrow";
18907          }
18908          program {
18909             name: "sb_vbar_a2_down2";
18910             signal: "mouse,down,1";
18911             source: "sb_vbar_a2";
18912             action: DRAG_VAL_STEP 0.0 1.0;
18913             target: "e.dragable.vbar";
18914          }
18915          program {
18916             name: "sb_vbar_a2_up";
18917             signal: "mouse,up,1";
18918             source: "sb_vbar_a2";
18919             action: STATE_SET "default" 0.0;
18920             target: "sb_vbar_a2_arrow";
18921          }
18922          program {
18923             name: "sb_vbar_p1_down";
18924             signal: "mouse,down,1";
18925             source: "sb_vbar_p1";
18926             action: DRAG_VAL_PAGE 0.0 -1.0;
18927             target: "e.dragable.vbar";
18928          }
18929          program {
18930             name: "sb_vbar_p2_down";
18931             signal: "mouse,down,1";
18932             source: "sb_vbar_p2";
18933             action: DRAG_VAL_PAGE  0.0 1.0;
18934             target: "e.dragable.vbar";
18935          }
18936          program {
18937             name: "sb_vbar_down";
18938             signal: "mouse,down,1";
18939             source: "e.dragable.vbar";
18940             action: STATE_SET "clicked" 0.0;
18941             target: "e.dragable.vbar";
18942          }
18943          program {
18944             name: "sb_vbar_up";
18945             signal: "mouse,up,1";
18946             source: "e.dragable.vbar";
18947             action: STATE_SET "default" 0.0;
18948             target: "e.dragable.vbar";
18949          }
18950          program {
18951             name: "sb_hbar_a1_down";
18952             signal: "mouse,down,1";
18953             source: "sb_hbar_a1";
18954             action: STATE_SET "clicked" 0.0;
18955             target: "sb_hbar_a1_arrow";
18956          }
18957          program {
18958             name: "sb_hbar_a1_down2";
18959             signal: "mouse,down,1";
18960             source: "sb_hbar_a1";
18961             action: DRAG_VAL_STEP -1.0 0.0;
18962             target: "e.dragable.hbar";
18963          }
18964          program {
18965             name: "sb_hbar_a1_up";
18966             signal: "mouse,up,1";
18967             source: "sb_hbar_a1";
18968             action: STATE_SET "default" 0.0;
18969             target: "sb_hbar_a1_arrow";
18970          }
18971          program {
18972             name: "sb_hbar_a2_down";
18973             signal: "mouse,down,1";
18974             source: "sb_hbar_a2";
18975             action: STATE_SET "clicked" 0.0;
18976             target: "sb_hbar_a2_arrow";
18977          }
18978          program {
18979             name: "sb_hbar_a2_down2";
18980             signal: "mouse,down,1";
18981             source: "sb_hbar_a2";
18982             action: DRAG_VAL_STEP 1.0 0.0;
18983             target: "e.dragable.hbar";
18984          }
18985          program {
18986             name: "sb_hbar_a2_up";
18987             signal: "mouse,up,1";
18988             source: "sb_hbar_a2";
18989             action: STATE_SET "default" 0.0;
18990             target: "sb_hbar_a2_arrow";
18991          }
18992          program {
18993             name: "sb_hbar_p1_down";
18994             signal: "mouse,down,1";
18995             source: "sb_hbar_p1";
18996             action: DRAG_VAL_PAGE -1.0 0.0;
18997             target: "e.dragable.hbar";
18998          }
18999          program {
19000             name: "sb_hbar_p2_down";
19001             signal: "mouse,down,1";
19002             source: "sb_hbar_p2";
19003             action: DRAG_VAL_PAGE  1.0 0.0;
19004             target: "e.dragable.hbar";
19005          }
19006          program {
19007             name: "sb_hbar_down";
19008             signal: "mouse,down,1";
19009             source: "e.dragable.hbar";
19010             action: STATE_SET "clicked" 0.0;
19011             target: "e.dragable.hbar";
19012          }
19013          program {
19014             name: "sb_hbar_up";
19015             signal: "mouse,up,1";
19016             source: "e.dragable.hbar";
19017             action: STATE_SET "default" 0.0;
19018             target: "e.dragable.hbar";
19019          }
19020       }
19021    }
19022    group {
19023       name: "e/fileman/default/list/drop_in";
19024       alias: "e/fileman/default/list/drop_between";
19025       alias: "e/fileman/desktop/list/drop_in";
19026       alias: "e/fileman/desktop/list/drop_between";
19027       images {
19028          image: "gadman_frame.png" COMP;
19029          image: "gadman_border.png" COMP;
19030       }
19031       parts {
19032          part {
19033             name: "clipper";
19034             type: RECT;
19035             mouse_events: 0;
19036             description {
19037                state: "default" 0.0;
19038                rel1.offset: -10 -10;
19039                rel2.offset: 9 9;
19040                visible: 0;
19041                color: 255 255 255 0;
19042             }
19043             description {
19044                state: "visible" 0.0;
19045                visible: 1;
19046                color: 255 255 255 255;
19047             }
19048          }
19049          part {
19050             name: "overlay";
19051             mouse_events: 0;
19052             clip_to: "clipper";
19053             description {
19054                state: "default" 0.0;
19055                rel1 {
19056                   to: "border";
19057                   offset: 4 4;
19058                }
19059                rel2 {
19060                   to: "border";
19061                   offset: -5 -5;
19062                }
19063                image.normal: "gadman_frame.png";
19064                fill.size.relative: 0 0;
19065                fill.size.offset: 24 24;
19066             }
19067          }
19068          part {
19069             name: "border";
19070             mouse_events: 0;
19071             clip_to: "clipper";
19072             description {
19073                state: "default" 0.0;
19074                rel1.offset: -5 -5;
19075                rel2.offset: 4 4;
19076                image {
19077                   normal: "gadman_border.png";
19078                   border: 10 10 10 10;
19079                   middle: 0;
19080                }
19081                fill.smooth: 0;
19082             }
19083          }
19084       }
19085       programs {
19086          program {
19087             name: "visible";
19088             signal: "e,state,selected";
19089             source: "e";
19090             action: STATE_SET "visible" 0.0;
19091             target: "clipper";
19092          }
19093          program {
19094             name: "hidden";
19095             signal: "e,state,unselected";
19096             source: "e";
19097             action: STATE_SET "default" 0.0;
19098             target: "clipper";
19099          }
19100       }
19101    }
19102    group {
19103       name: "e/fileman/default/rubberband";
19104       images {
19105          image: "gadman_frame.png" COMP;
19106          image: "gadman_border.png" COMP;
19107       }
19108       parts {
19109          part {
19110             name: "overlay";
19111             mouse_events: 1;
19112             description {
19113                state: "default" 0.0;
19114                rel1 {
19115                   to: "border";
19116                   offset: 4 4;
19117                }
19118                rel2 {
19119                   to: "border";
19120                   offset: -5 -5;
19121                }
19122                image.normal: "gadman_frame.png";
19123                fill.size.relative: 0 0;
19124                fill.size.offset: 24 24;
19125             }
19126          }
19127          part {
19128             name: "border";
19129             mouse_events: 1;
19130             repeat_events: 1;
19131             description {
19132                state: "default" 0.0;
19133                rel1.offset: -5 -5;
19134                rel2.offset: 4 4;
19135                image {
19136                   normal: "gadman_border.png";
19137                   border: 10 10 10 10;
19138                   middle: 0;
19139                }
19140                fill.smooth: 0;
19141             }
19142          }
19143       }
19144    }
19145    group {
19146       name: "e/fileman/default/overlay";
19147       alias: "e/fileman/desktop/overlay";
19148       images {
19149          image: "busy-1.png" COMP;
19150          image: "busy-2.png" COMP;
19151          image: "busy-3.png" COMP;
19152          image: "busy-4.png" COMP;
19153          image: "busy-5.png" COMP;
19154          image: "busy-6.png" COMP;
19155          image: "busy-7.png" COMP;
19156          image: "busy-8.png" COMP;
19157          image: "busy-9.png" COMP;
19158          image: "gadman_frame.png" COMP;
19159          image: "gadman_border.png" COMP;
19160       }
19161       parts {
19162          part {
19163             name: "busy_clip";
19164             type: RECT;
19165             mouse_events: 0;
19166             description {
19167                state: "default" 0.0;
19168                visible: 0;
19169                color: 255 255 255 0;
19170             }
19171             description {
19172                state: "active" 0.0;
19173                visible: 1;
19174                color: 255 255 255 255;
19175             }
19176          }
19177          part {
19178             name: "overlay";
19179             mouse_events: 0;
19180             clip_to: "busy_clip";
19181             description {
19182                state: "default" 0.0;
19183                rel1 {
19184                   to: "border";
19185                   offset: 4 4;
19186                }
19187                rel2 {
19188                   to: "border";
19189                   offset: -5 -5;
19190                }
19191                image.normal: "gadman_frame.png";
19192                fill.size.relative: 0 0;
19193                fill.size.offset: 24 24;
19194             }
19195          }
19196          part {
19197             name: "border";
19198             mouse_events: 0;
19199             clip_to: "busy_clip";
19200             description {
19201                state: "default" 0.0;
19202                rel1 {
19203                   to_x: "e.text.busy_label";
19204                   to_y: "busy";
19205                   offset: -20 -20;
19206                }
19207                rel2 {
19208                   to: "e.text.busy_label";
19209                   offset: 19 9;
19210                }
19211                image {
19212                   normal: "gadman_border.png";
19213                   border: 10 10 10 10;
19214                   middle: 0;
19215                }
19216                fill.smooth: 0;
19217             }
19218          }
19219          part {
19220             name: "busy";
19221             clip_to: "busy_clip";
19222             mouse_events: 0;
19223             description {
19224                state: "default" 0.0;
19225                max: 32 32;
19226                aspect: 1.0 1.0;
19227                align: 0.5 0.5;
19228                aspect_preference: BOTH;
19229                rel1 {
19230                   relative: 0.0 0.0;
19231                   offset: 8 8;
19232                }
19233                rel2 {
19234                   relative: 1.0 1.0;
19235                   offset: -9 -9;
19236                }
19237                image {
19238                   normal: "busy-9.png";
19239                   tween: "busy-1.png";
19240                   tween: "busy-2.png";
19241                   tween: "busy-3.png";
19242                   tween: "busy-4.png";
19243                   tween: "busy-5.png";
19244                   tween: "busy-6.png";
19245                   tween: "busy-7.png";
19246                   tween: "busy-8.png";
19247                }
19248             }
19249          }
19250          part {
19251             name: "e.text.busy_label";
19252             type: TEXT;
19253             effect: SOFT_SHADOW;
19254             clip_to: "busy_clip";
19255             mouse_events: 0;
19256             scale: 1;
19257             description {
19258                state: "default" 0.0;
19259                align: 0.5 0.0;
19260                rel1 {
19261                   to: "busy";
19262                   relative: 0.0 1.0;
19263                   offset: 0 4;
19264                }
19265                rel2 {
19266                   to: "busy";
19267                   relative: 1.0 1.0;
19268                   offset: -1 4;
19269                }
19270                color: 255 255 255 255;
19271                color3: 0 0 0 32;
19272                text {
19273                   font: "Sans:style=Bold";
19274                   size: 10;
19275                   min: 1 1;
19276                   align: 0.5 0.0;
19277                   text_class: "fileman_notice";
19278                }
19279             }
19280          }
19281          part {
19282             name: "typebuf_clip";
19283             type: RECT;
19284             mouse_events: 0;
19285             description {
19286                state: "default" 0.0;
19287                visible: 0;
19288                color: 255 255 255 0;
19289             }
19290             description {
19291                state: "active" 0.0;
19292                visible: 1;
19293                color: 255 255 255 255;
19294             }
19295          }
19296          part {
19297             name: "e.text.typebuf_label";
19298             type: TEXT;
19299             effect: SOFT_SHADOW;
19300             clip_to: "typebuf_clip";
19301             mouse_events: 0;
19302             scale: 1;
19303             description {
19304                state: "default" 0.0;
19305                align: 0.5 0.5;
19306                rel1 {
19307                   relative: 0.0 0.0;
19308                   offset: 4 4;
19309                }
19310                rel2 {
19311                   relative: 1.0 1.0;
19312                   offset: -5 -5;
19313                }
19314                color: 255 255 255 255;
19315                color3: 0 0 0 32;
19316                text {
19317                   font: "Sans:style=Bold";
19318                   size: 10;
19319                   min: 0 0;
19320                   align: 0.5 0.5;
19321                   elipsis: 1.0;
19322                   text_class: "fileman_typebuf";
19323                }
19324             }
19325          }
19326       }
19327       programs {
19328          program {
19329             name: "go1";
19330             signal: "e,state,busy,start";
19331             source: "e";
19332             action: STATE_SET "active" 0.0;
19333             transition: SINUSOIDAL 1.0;
19334             target: "busy_clip";
19335          }
19336          program {
19337             name: "go2";
19338             signal: "e,state,busy,start";
19339             source: "e";
19340             action: STATE_SET "default" 0.0;
19341             transition: LINEAR 0.5;
19342             target: "busy";
19343             after: "go2";
19344          }
19345          program {
19346             name: "stop1";
19347             signal: "e,state,busy,stop";
19348             source: "e";
19349             action: STATE_SET "default" 0.0;
19350             transition: SINUSOIDAL 1.0;
19351             target: "busy_clip";
19352             after: "stop2";
19353          }
19354          program {
19355             name: "stop2";
19356             action: ACTION_STOP;
19357             target: "go2";
19358          }
19359          program {
19360             name: "gob1";
19361             signal: "e,state,typebuf,start";
19362             source: "e";
19363             action: STATE_SET "active" 0.0;
19364             transition: SINUSOIDAL 0.25;
19365             target: "typebuf_clip";
19366          }
19367          program {
19368             name: "stopb1";
19369             signal: "e,state,typebuf,stop";
19370             source: "e";
19371             action: STATE_SET "default" 0.0;
19372             transition: SINUSOIDAL 1.0;
19373             target: "typebuf_clip";
19374          }
19375       }
19376    }
19377
19378 #if 0
19379    group {
19380       name: "e/fileman/default/icon/variable";
19381       images {
19382          image: "bt_sm_base1.png" COMP;
19383          image: "bt_sm_shine.png" COMP;
19384          image: "bt_sm_hilight.png" COMP;
19385          image: "e17_mini_button_shadow2.png" COMP;
19386          image: "e17_fileman_thumb_bg.png" COMP;
19387          image: "icon_efm_dnd_copy.png" COMP;
19388          image: "icon_efm_dnd_ask.png" COMP;
19389          image: "icon_efm_dnd_move.png" COMP;
19390          image: "icon_efm_vol_unmounted.png" COMP;
19391          image: "icon_efm_vol_mounted.png" COMP;
19392       }
19393       parts {
19394          part {
19395             name: "label2";
19396             type: TEXT;
19397             mouse_events: 0;
19398             scale: 1;
19399             description {
19400                state: "default" 0.0;
19401                align: 0.5 1.0;
19402                fixed: 0 1;
19403                rel1.to: "e.text.label";
19404                rel2.to: "e.text.label";
19405                color: 0 0 0 255;
19406                text {
19407                   font: "Sans";
19408                   text_source: "e.text.label";
19409                   size: 10;
19410                   min: 1 1;
19411                   align: 0.5 0.5;
19412                   text_class: "fileman_icon";
19413                }
19414             }
19415             description {
19416                state: "selected" 0.0;
19417                inherit: "default" 0.0;
19418                visible: 0;
19419             }
19420          }
19421          part {
19422             name: "bg";
19423             mouse_events: 0;
19424             description {
19425                state: "default" 0.0;
19426                visible: 0;
19427                color: 255 255 255 0;
19428                rel1 {
19429                   relative: 0.0 0.0;
19430                   offset: -5 -5;
19431                }
19432                rel2 {
19433                   relative: 1.0 1.0;
19434                   offset: 4 4;
19435                }
19436                image {
19437                   normal: "bt_sm_base1.png";
19438                   border: 6 6 6 6;
19439                }
19440             }
19441             description {
19442                state: "selected" 0.0;
19443                inherit: "default" 0.0;
19444                visible: 1;
19445                color: 255 255 255 255;
19446                rel1 {
19447                   relative: 0.0 0.0;
19448                   offset: -2 -2;
19449                }
19450                rel2 {
19451                   relative: 1.0 1.0;
19452                   offset: 1 1;
19453                }
19454             }
19455          }
19456          part {
19457             name: "icon_box_shadow";
19458             mouse_events: 0;
19459             description {
19460                state: "default" 0.0;
19461                visible: 0;
19462                rel1 {
19463                   to: "icon_box";
19464                   relative: 0.0 0.0;
19465                   offset: -1 -1;
19466                }
19467                rel2 {
19468                   to: "icon_box";
19469                   relative: 1.0 1.0;
19470                   offset: 2 2;
19471                }
19472                image {
19473                   normal: "e17_mini_button_shadow2.png";
19474                   border: 6 6 6 6;
19475                }
19476             }
19477             description {
19478                state: "visible" 0.0;
19479                inherit: "default" 0.0;
19480                visible: 1;
19481             }
19482          }
19483          part {
19484             name: "icon_box";
19485             type: RECT;
19486             mouse_events: 0;
19487             description {
19488                state: "default" 0.0;
19489                visible: 0;
19490                align: 0.5 0.5;
19491                rel1 {
19492                   to: "e.swallow.icon";
19493                   relative: 0.0 0.0;
19494                   offset: -1 -1;
19495                }
19496                rel2 {
19497                   to: "e.swallow.icon";
19498                   relative: 1.0 1.0;
19499                   offset: 0 0;
19500                }
19501                color: 0 0 0 64;
19502             }
19503             description {
19504                state: "visible" 0.0;
19505                inherit: "default" 0.0;
19506                visible: 1;
19507             }
19508          }
19509          part {
19510             name: "icon_box_bg";
19511             mouse_events: 0;
19512             description {
19513                state: "default" 0.0;
19514                visible: 0;
19515                rel1 {
19516                   to: "icon_box";
19517                   relative: 0.0 0.0;
19518                   offset: 1 1;
19519                }
19520                rel2 {
19521                   to: "icon_box";
19522                   relative: 1.0 1.0;
19523                   offset: -2 -2;
19524                }
19525                image.normal: "pager_base2.png";
19526                fill {
19527                   smooth: 0;
19528                   size {
19529                      relative: 0 0;
19530                      offset: 32 32;
19531                   }
19532                }
19533             }
19534             description {
19535                state: "visible" 0.0;
19536                inherit: "default" 0.0;
19537                visible: 1;
19538             }
19539          }
19540          part {
19541             name: "icon0";
19542             type: RECT;
19543             mouse_events: 0;
19544             description {
19545                state: "default" 0.0;
19546                align: 0.5 0.5;
19547                aspect: 1.0 1.0;
19548                aspect_preference: VERTICAL;
19549                visible: 0;
19550                rel1 {
19551                   relative: 0.0 0.0;
19552                   offset: 2 2;
19553                }
19554                rel2 {
19555                   to_y: "e.text.label";
19556                   relative: 1.0 0.0;
19557                   offset: -3 -1;
19558                }
19559                color: 0 0 0 0;
19560             }
19561          }
19562          part {
19563             name: "icon";
19564             type: RECT;
19565             mouse_events: 0;
19566             description {
19567                state: "default" 0.0;
19568                align: 0.5 0.5;
19569                aspect: 1.0 1.0;
19570                aspect_preference: BOTH;
19571                visible: 0;
19572                rel1.to: "icon0";
19573                rel2.to: "icon0";
19574                color: 0 0 0 0;
19575             }
19576             description {
19577                state: "min" 0.0;
19578                inherit: "default" 0.0;
19579                max: 0 0;
19580             }
19581             description {
19582                state: "max" 0.0;
19583                inherit: "default" 0.0;
19584                rel1 {
19585                   to: "icon0";
19586                   relative: 0.0  0.0;
19587                   offset: -4   -4;
19588                }
19589                rel2 {
19590                   to: "icon0";
19591                   relative: 1.0  1.0;
19592                   offset: 3    3;
19593                }
19594             }
19595             description {
19596                state: "max2" 0.0;
19597                inherit: "default" 0.0;
19598                rel1 {
19599                   to: "icon0";
19600                   relative: 0.0  0.0;
19601                   offset: -2   -2;
19602                }
19603                rel2 {
19604                   to: "icon0";
19605                   relative: 1.0  1.0;
19606                   offset: 1    1;
19607                }
19608             }
19609          }
19610          part {
19611             name: "e.swallow.icon";
19612             type: SWALLOW;
19613             description {
19614                state: "default" 0.0;
19615                aspect: 1.0 1.0;
19616                aspect_preference: BOTH;
19617                align: 0.5 0.5;
19618                // fixed: 1 1;
19619                rel1.to: "icon";
19620                rel2.to: "icon";
19621             }
19622          }
19623          part {
19624             name: "e.text.label";
19625             type: TEXT;
19626             effect: SOFT_SHADOW;
19627             mouse_events: 0;
19628             scale: 1;
19629             description {
19630                state: "default" 0.0;
19631                align: 0.5 1.0;
19632                fixed: 0 1;
19633                rel1 {
19634                   relative: 0.0 1.0;
19635                   offset: 2 -2;
19636                }
19637                rel2 {
19638                   relative: 1.0 1.0;
19639                   offset: -3 -2;
19640                }
19641                visible: 0;
19642                color: 224 224 224 255;
19643                color3: 0 0 0 64;
19644                text {
19645                   font: "Sans:style=Bold";
19646                   size: 10;
19647                   min: 1 1;
19648                   align: 0.5 0.5;
19649                   text_class: "fileman_icon";
19650                }
19651             }
19652             description {
19653                state: "selected" 0.0;
19654                inherit: "default" 0.0;
19655                visible: 1;
19656             }
19657          }
19658          part {
19659             name: "fg1";
19660             mouse_events: 0;
19661             description {
19662                state: "default" 0.0;
19663                visible: 0;
19664                color: 255 255 255 0;
19665                rel1.to: "bg";
19666                rel2.relative: 1.0 0.5;
19667                rel2.to: "bg";
19668                image {
19669                   normal: "bt_sm_hilight.png";
19670                   border: 6 6 6 0;
19671                }
19672             }
19673             description {
19674                state: "selected" 0.0;
19675                inherit: "default" 0.0;
19676                visible: 1;
19677                color: 255 255 255 255;
19678             }
19679          }
19680          part {
19681             name: "fg2";
19682             mouse_events: 0;
19683             description {
19684                state: "default" 0.0;
19685                visible: 0;
19686                color: 255 255 255 0;
19687                rel1.to: "bg";
19688                rel2.to: "bg";
19689                image {
19690                   normal: "bt_sm_shine.png";
19691                   border: 6 6 6 0;
19692                }
19693             }
19694             description {
19695                state: "selected" 0.0;
19696                inherit: "default" 0.0;
19697                visible: 1;
19698                color: 255 255 255 255;
19699             }
19700          }
19701          part {
19702             name: "event";
19703             type: RECT;
19704             mouse_events: 1;
19705             description {
19706                state: "default" 0.0;
19707                color: 0 0 0 0;
19708             }
19709          }
19710          part {
19711             name: "vol_state";
19712             type: IMAGE;
19713             mouse_events: 0;
19714             repeat_events: 0;
19715             description {
19716                state: "default" 0.0;
19717                color: 0 0 0 0;
19718             }
19719             description {
19720                state: "visible" 0.0;
19721                aspect: 1.0 1.0;
19722                aspect_preference: BOTH;
19723                align: 1.0 1.0;
19724                min: 16 16;
19725                rel1 {
19726                   relative: 0.75 0.0;
19727                   to: "icon";
19728                }
19729                rel2 {
19730                   relative: 1.0 1.0;
19731                   to: "icon";
19732                }
19733             }
19734             description {
19735                state: "unmounted" 0.0;
19736                inherit: "visible" 0.0;
19737                image.normal: "icon_efm_vol_unmounted.png";
19738             }
19739             description {
19740                state: "mounted" 0.0;
19741                inherit: "visible" 0.0;
19742                image.normal: "icon_efm_vol_mounted.png";
19743             }
19744          }
19745          part {
19746             name: "dnd_action";
19747             type: IMAGE;
19748             mouse_events: 0;
19749             repeat_events: 0;
19750             description {
19751                state: "default" 0.0;
19752                color: 0 0 0 0;
19753             }
19754             description {
19755                state: "visible" 0.0;
19756                aspect: 1.0 1.0;
19757                aspect_preference: BOTH;
19758                align: 1.0 1.0;
19759                min: 24 24;
19760                rel1.relative: 0.75 0.0;
19761                rel2.relative: 1.0 1.0;
19762             }
19763             description {
19764                state: "copy" 0.0;
19765                inherit: "visible" 0.0;
19766                image.normal: "icon_efm_dnd_copy.png";
19767             }
19768             description {
19769                state: "ask" 0.0;
19770                inherit: "visible" 0.0;
19771                image.normal: "icon_efm_dnd_ask.png";
19772             }
19773             description {
19774                state: "move" 0.0;
19775                inherit: "visible" 0.0;
19776                image.normal: "icon_efm_dnd_move.png";
19777             }
19778          }
19779          part {
19780             name: "e.swallow.entry";
19781             type: SWALLOW;
19782             description {
19783                state: "default" 0.0;
19784                rel1.to: "e.text.label";
19785                rel2.to: "e.text.label";
19786             }
19787          }
19788       }
19789       programs {
19790          program {
19791             name: "go_active";
19792             signal: "e,state,selected";
19793             source: "e";
19794             action: STATE_SET "selected" 0.0;
19795             target: "bg";
19796             target: "fg1";
19797             target: "fg2";
19798             target: "e.text.label";
19799             target: "label2";
19800             transition: LINEAR 0.2;
19801          }
19802          program {
19803             name: "go_passive";
19804             signal: "e,state,unselected";
19805             source: "e";
19806             action: STATE_SET "default" 0.0;
19807             target: "bg";
19808             target: "fg1";
19809             target: "fg2";
19810             target: "e.text.label";
19811             target: "label2";
19812             transition: LINEAR 0.1;
19813          }
19814          program {
19815             name: "ask";
19816             signal: "e,state,ask";
19817             source: "e";
19818             action: STATE_SET "ask" 0.0;
19819             target: "dnd_action";
19820          }
19821          program {
19822             name: "move";
19823             signal: "e,state,move";
19824             source: "e";
19825             action: STATE_SET "move" 0.0;
19826             target: "dnd_action";
19827          }
19828          program {
19829             name: "copy";
19830             signal: "e,state,copy";
19831             source: "e";
19832             action: STATE_SET "copy" 0.0;
19833             target: "dnd_action";
19834          }
19835          program {
19836             name: "vol_off";
19837             signal: "e,state,volume,off";
19838             source: "e";
19839             action: STATE_SET "default" 0.0;
19840             target: "vol_state";
19841          }
19842          program {
19843             name: "vol_unmounted";
19844             signal: "e,state,volume,unmounted";
19845             source: "e";
19846             action: STATE_SET "unmounted" 0.0;
19847             target: "vol_state";
19848          }
19849          program {
19850             name: "vol_mounted";
19851             signal: "e,state,volume,mounted";
19852             source: "e";
19853             action: STATE_SET "mounted" 0.0;
19854             target: "vol_state";
19855          }
19856          program {
19857             name: "thumb_gen";
19858             signal: "e,action,thumb,gen";
19859             source: "e";
19860             action: STATE_SET "visible" 0.0;
19861             target: "icon_box_shadow";
19862             target: "icon_box";
19863             target: "icon_box_bg";
19864             after: "thumb_gen2";
19865          }
19866          program {
19867             name: "thumb_gen-";
19868             signal: "e,action,thumb,gen,alpha";
19869             source: "e";
19870             action: STATE_SET "default" 0.0;
19871             target: "icon_box_shadow";
19872             target: "icon_box";
19873             target: "icon_box_bg";
19874             after: "thumb_gen2";
19875          }
19876          program {
19877             name: "thumb_gen2";
19878             action: STATE_SET "min" 0.0;
19879             target: "icon";
19880             after: "thumb_gen3";
19881          }
19882          program {
19883             name: "thumb_gen3";
19884             action: STATE_SET "max" 0.0;
19885             target: "icon";
19886             transition: DECELERATE 0.2;
19887             after: "thumb_gen4";
19888          }
19889          program {
19890             name: "thumb_gen4";
19891             action: STATE_SET "default" 0.0;
19892             target: "icon";
19893             transition: SINUSOIDAL 0.1;
19894             after: "thumb_gen5";
19895          }
19896          program {
19897             name: "thumb_gen5";
19898             action: STATE_SET "max2" 0.0;
19899             target: "icon";
19900             transition: SINUSOIDAL 0.2;
19901             after: "thumb_gen6";
19902          }
19903          program {
19904             name: "thumb_gen6";
19905             action: STATE_SET "default" 0.0;
19906             target: "icon";
19907             transition: SINUSOIDAL 0.3;
19908          }
19909       }
19910    }
19911 #endif
19912    group {
19913       name: "e/fileman/default/icon/fixed";
19914       alias: "e/fileman/default/icon/variable";
19915
19916       images {
19917          image: "bt_sm_base1.png" COMP;
19918          image: "bt_sm_shine.png" COMP;
19919          image: "bt_sm_hilight.png" COMP;
19920          image: "e17_mini_button_shadow2.png" COMP;
19921          image: "e17_fileman_thumb_bg.png" COMP;
19922          image: "icon_efm_dnd_copy.png" COMP;
19923          image: "icon_efm_dnd_ask.png" COMP;
19924          image: "icon_efm_dnd_move.png" COMP;
19925          image: "icon_efm_vol_unmounted.png" COMP;
19926          image: "icon_efm_vol_mounted.png" COMP;
19927       }
19928       styles {
19929         style {
19930             name: "fileman_icon_name";
19931             base: "font=Sans font_size=10 align=center text_class=fileman_icon align=center color=#fff wrap=mixed ellipsis=1.0";
19932         }
19933         style {
19934             name: "fileman_icon_name_full";
19935             base: "font=Sans font_size=10 text_class=fileman_icon align=center color=#fff wrap=mixed style=soft_shadow shadow_color=#0002";
19936         }
19937       }
19938
19939       parts {
19940          part {
19941             name: "label2";
19942             type: TEXTBLOCK;
19943             mouse_events: 0;
19944             scale: 1;
19945             description {
19946                state: "default" 0.0;
19947                align: 0.5 0.0;
19948                fixed: 1 1;
19949                color: 0 0 0 255;
19950                rel1 {
19951                   to_y: "icon0";
19952                   relative: 0.0 1.0;
19953                   offset: 3 3;
19954                }
19955                rel2 {
19956                   relative: 1.0 1.0;
19957                   offset: -3 -1;
19958                }
19959                text {
19960                   text_source: "e.text.label";
19961                   style: "fileman_icon_name";
19962                   align: 0.5 0.0;
19963                   min: 0 1;
19964                   text_class: "fileman_icon";
19965                }
19966             }
19967             description {
19968                state: "selected" 0.0;
19969                inherit: "default" 0.0;
19970                visible: 0;
19971             }
19972          }
19973          part {
19974             name: "bg";
19975             mouse_events: 0;
19976             description {
19977                state: "default" 0.0;
19978                visible: 0;
19979                color: 255 255 255 0;
19980                rel1.to_x: "e.text.label";
19981                rel1.offset: -2 0;
19982                rel2.to: "e.text.label";
19983                rel2.offset: 3 6;
19984
19985                image {
19986                   normal: "bt_sm_base1.png";
19987                   border: 6 6 6 6;
19988                }
19989             }
19990             description {
19991                state: "selected" 0.0;
19992                inherit: "default" 0.0;
19993                visible: 1;
19994                color: 255 255 255 255;
19995             }
19996          }
19997          part {
19998             name: "icon_box_shadow";
19999             mouse_events: 0;
20000             description {
20001                state: "default" 0.0;
20002                visible: 0;
20003                rel1 {
20004                   to: "icon_box";
20005                   relative: 0.0 0.0;
20006                   offset: -1 -1;
20007                }
20008                rel2 {
20009                   to: "icon_box";
20010                   relative: 1.0 1.0;
20011                   offset: 2 2;
20012                }
20013                image {
20014                   normal: "e17_mini_button_shadow2.png";
20015                   border: 6 6 6 6;
20016                }
20017             }
20018             description {
20019                state: "visible" 0.0;
20020                inherit: "default" 0.0;
20021                visible: 1;
20022             }
20023          }
20024          part {
20025             name: "icon_box";
20026             type: RECT;
20027             mouse_events: 0;
20028             description {
20029                state: "default" 0.0;
20030                visible: 0;
20031                align: 0.5 0.5;
20032                rel1 {
20033                   to: "e.swallow.icon";
20034                   relative: 0.0 0.0;
20035                   offset: -1 -1;
20036                }
20037                rel2 {
20038                   to: "e.swallow.icon";
20039                   relative: 1.0 1.0;
20040                   offset: 0 0;
20041                }
20042                color: 0 0 0 64;
20043             }
20044             description {
20045                state: "visible" 0.0;
20046                inherit: "default" 0.0;
20047                visible: 1;
20048             }
20049          }
20050          part {
20051             name: "icon_box_bg";
20052             mouse_events: 0;
20053             description {
20054                state: "default" 0.0;
20055                visible: 0;
20056                rel1 {
20057                   to: "icon_box";
20058                   relative: 0.0 0.0;
20059                   offset: 1 1;
20060                }
20061                rel2 {
20062                   to: "icon_box";
20063                   relative: 1.0 1.0;
20064                   offset: -2 -2;
20065                }
20066                image.normal: "pager_base2.png";
20067                fill {
20068                   smooth: 0;
20069                   size {
20070                      relative: 0 0;
20071                      offset: 32 32;
20072                   }
20073                }
20074             }
20075             description {
20076                state: "visible" 0.0;
20077                inherit: "default" 0.0;
20078                visible: 1;
20079             }
20080          }
20081          part {
20082             name: "icon0";
20083             type: RECT;
20084             mouse_events: 0;
20085             description {
20086                state: "default" 0.0;
20087                align: 0.5 0.5;
20088                aspect: 1.5 1.0;
20089                aspect_preference: BOTH;
20090                visible: 0;
20091                /* color: 200 0 0 100; */
20092                rel1 {
20093                   relative: 0.0 0.0;
20094                   offset: 5 5;
20095                }
20096                rel2 {
20097                   relative: 1.0 1.0;
20098                   offset: -6 -40;
20099                }
20100             }
20101          }
20102          part {
20103             name: "icon";
20104             type: RECT;
20105             mouse_events: 0;
20106             description {
20107                state: "default" 0.0;
20108                align: 0.5 0.5;
20109                aspect: 1.0 1.0;
20110                aspect_preference: BOTH;
20111                visible: 0;
20112                rel1.to: "icon0";
20113                rel2.to: "icon0";
20114                color: 0 0 0 0;
20115             }
20116             description {
20117                state: "min" 0.0;
20118                inherit: "default" 0.0;
20119                max: 0 0;
20120             }
20121             description {
20122                state: "max" 0.0;
20123                inherit: "default" 0.0;
20124                rel1 {
20125                   to: "icon0";
20126                   relative: 0.0  0.0;
20127                   offset: -4   -4;
20128                }
20129                rel2 {
20130                   to: "icon0";
20131                   relative: 1.0  1.0;
20132                   offset: 3    3;
20133                }
20134             }
20135             description {
20136                state: "max2" 0.0;
20137                inherit: "default" 0.0;
20138                rel1 {
20139                   to: "icon0";
20140                   relative: 0.0  0.0;
20141                   offset: -2   -2;
20142                }
20143                rel2 {
20144                   to: "icon0";
20145                   relative: 1.0  1.0;
20146                   offset: 1    1;
20147                }
20148             }
20149          }
20150          part {
20151             name: "e.swallow.icon";
20152             type: SWALLOW;
20153             description {
20154                state: "default" 0.0;
20155                aspect: 1.0 1.0;
20156                aspect_preference: BOTH;
20157                align: 0.5 0.5;
20158                // fixed: 1 1;
20159                rel1.to: "icon";
20160                rel2.to: "icon";
20161             }
20162          }
20163          part {
20164             name: "e.text.label";
20165             type: TEXTBLOCK;
20166             effect: SOFT_SHADOW;
20167             mouse_events: 0;
20168             scale: 1;
20169             description {
20170                state: "default" 0.0;
20171                align: 0.5 0.0;
20172                fixed: 1 1;
20173                color: 224 224 224 255;
20174                color3: 0 0 0 64;
20175                visible: 0;
20176                rel1 {
20177                   to_y: "icon0";
20178                   relative: 0.0 1.0;
20179                   offset: 3 3;
20180                }
20181                rel2 {
20182                   relative: 1.0 1.0;
20183                   offset: -3 -1;
20184                }
20185
20186                text {
20187                   style: "fileman_icon_name_full";
20188                   min: 0 1;
20189                   max: 0 1;
20190                   text_class: "fileman_icon";
20191                }
20192             }
20193             description {
20194                state: "selected" 0.0;
20195                inherit: "default" 0.0;
20196                visible: 1;
20197             }
20198          }
20199          part {
20200             name: "fg1";
20201             mouse_events: 0;
20202             description {
20203                state: "default" 0.0;
20204                visible: 0;
20205                color: 255 255 255 0;
20206                rel1.to: "bg";
20207                rel2.relative: 1.0 0.5;
20208                rel2.to: "bg";
20209                image {
20210                   normal: "bt_sm_hilight.png";
20211                   border: 6 6 6 0;
20212                }
20213             }
20214             description {
20215                state: "selected" 0.0;
20216                inherit: "default" 0.0;
20217                visible: 1;
20218                color: 255 255 255 255;
20219             }
20220          }
20221          part {
20222             name: "fg2";
20223             mouse_events: 0;
20224             description {
20225                state: "default" 0.0;
20226                visible: 0;
20227                color: 255 255 255 0;
20228                rel1.to: "bg";
20229                rel2.to: "bg";
20230                image {
20231                   normal: "bt_sm_shine.png";
20232                   border: 6 6 6 0;
20233                }
20234             }
20235             description {
20236                state: "selected" 0.0;
20237                inherit: "default" 0.0;
20238                visible: 1;
20239                color: 255 255 255 255;
20240             }
20241          }
20242          part {
20243             name: "event";
20244             type: RECT;
20245             mouse_events: 1;
20246             description {
20247                state: "default" 0.0;
20248                color: 0 0 0 0;
20249                rel1.offset: 8 8;
20250                rel2.offset: -9 -9;
20251             }
20252          }
20253          part {
20254             name: "vol_state";
20255             type: IMAGE;
20256             mouse_events: 0;
20257             repeat_events: 0;
20258             description {
20259                state: "default" 0.0;
20260                color: 0 0 0 0;
20261             }
20262             description {
20263                state: "visible" 0.0;
20264                aspect: 1.0 1.0;
20265                aspect_preference: BOTH;
20266                align: 1.0 1.0;
20267                min: 16 16;
20268                rel1 {
20269                   relative: 0.75 0.0;
20270                   to: "icon";
20271                }
20272                rel2 {
20273                   relative: 1.0 1.0;
20274                   to: "icon";
20275                }
20276             }
20277             description {
20278                state: "unmounted" 0.0;
20279                inherit: "visible" 0.0;
20280                image.normal: "icon_efm_vol_unmounted.png";
20281             }
20282             description {
20283                state: "mounted" 0.0;
20284                inherit: "visible" 0.0;
20285                image.normal: "icon_efm_vol_mounted.png";
20286             }
20287          }
20288          part {
20289             name: "dnd_action";
20290             type: IMAGE;
20291             mouse_events: 0;
20292             repeat_events: 0;
20293             description {
20294                state: "default" 0.0;
20295                color: 0 0 0 0;
20296             }
20297             description {
20298                state: "visible" 0.0;
20299                aspect: 1.0 1.0;
20300                aspect_preference: BOTH;
20301                align: 1.0 1.0;
20302                min: 24 24;
20303                rel1.relative: 0.75 0.0;
20304                rel2.relative: 1.0 1.0;
20305             }
20306             description {
20307                state: "copy" 0.0;
20308                inherit: "visible" 0.0;
20309                image.normal: "icon_efm_dnd_copy.png";
20310             }
20311             description {
20312                state: "ask" 0.0;
20313                inherit: "visible" 0.0;
20314                image.normal: "icon_efm_dnd_ask.png";
20315             }
20316             description {
20317                state: "move" 0.0;
20318                inherit: "visible" 0.0;
20319                image.normal: "icon_efm_dnd_move.png";
20320             }
20321          }
20322          part {
20323             name: "e.swallow.entry";
20324             type: SWALLOW;
20325             description {
20326                state: "default" 0.0;
20327                rel1.to: "e.text.label";
20328                rel2.to: "e.text.label";
20329             }
20330          }
20331       }
20332       programs {
20333          program {
20334             name: "go_active";
20335             signal: "e,state,selected";
20336             source: "e";
20337             action: STATE_SET "selected" 0.0;
20338             target: "bg";
20339             target: "fg1";
20340             target: "fg2";
20341             target: "e.text.label";
20342             target: "label2";
20343             transition: LINEAR 0.2;
20344          }
20345          program {
20346             name: "go_passive";
20347             signal: "e,state,unselected";
20348             source: "e";
20349             action: STATE_SET "default" 0.0;
20350             target: "bg";
20351             target: "fg1";
20352             target: "fg2";
20353             target: "e.text.label";
20354             target: "label2";
20355             transition: LINEAR 0.1;
20356          }
20357          program {
20358             name: "ask";
20359             signal: "e,state,ask";
20360             source: "e";
20361             action: STATE_SET "ask" 0.0;
20362             target: "dnd_action";
20363          }
20364          program {
20365             name: "move";
20366             signal: "e,state,move";
20367             source: "e";
20368             action: STATE_SET "move" 0.0;
20369             target: "dnd_action";
20370          }
20371          program {
20372             name: "copy";
20373             signal: "e,state,copy";
20374             source: "e";
20375             action: STATE_SET "copy" 0.0;
20376             target: "dnd_action";
20377          }
20378          program {
20379             name: "vol_off";
20380             signal: "e,state,volume,off";
20381             source: "e";
20382             action: STATE_SET "default" 0.0;
20383             target: "vol_state";
20384          }
20385          program {
20386             name: "vol_unmounted";
20387             signal: "e,state,volume,unmounted";
20388             source: "e";
20389             action: STATE_SET "unmounted" 0.0;
20390             target: "vol_state";
20391          }
20392          program {
20393             name: "vol_mounted";
20394             signal: "e,state,volume,mounted";
20395             source: "e";
20396             action: STATE_SET "mounted" 0.0;
20397             target: "vol_state";
20398          }
20399          program {
20400             name: "thumb_gen";
20401             signal: "e,action,thumb,gen";
20402             source: "e";
20403             action: STATE_SET "visible" 0.0;
20404             target: "icon_box_shadow";
20405             target: "icon_box";
20406             target: "icon_box_bg";
20407             after: "thumb_gen2";
20408          }
20409          program {
20410             name: "thumb_gen-";
20411             signal: "e,action,thumb,gen,alpha";
20412             source: "e";
20413             action: STATE_SET "default" 0.0;
20414             target: "icon_box_shadow";
20415             target: "icon_box";
20416             target: "icon_box_bg";
20417             after: "thumb_gen2";
20418          }
20419          program {
20420             name: "thumb_gen2";
20421             action: STATE_SET "min" 0.0;
20422             target: "icon";
20423             after: "thumb_gen3";
20424          }
20425          program {
20426             name: "thumb_gen3";
20427             action: STATE_SET "max" 0.0;
20428             target: "icon";
20429             transition: DECELERATE 0.2;
20430             after: "thumb_gen4";
20431          }
20432          program {
20433             name: "thumb_gen4";
20434             action: STATE_SET "default" 0.0;
20435             target: "icon";
20436             transition: SINUSOIDAL 0.1;
20437             after: "thumb_gen5";
20438          }
20439          program {
20440             name: "thumb_gen5";
20441             action: STATE_SET "max2" 0.0;
20442             target: "icon";
20443             transition: SINUSOIDAL 0.2;
20444             after: "thumb_gen6";
20445          }
20446          program {
20447             name: "thumb_gen6";
20448             action: STATE_SET "default" 0.0;
20449             target: "icon";
20450             transition: SINUSOIDAL 0.3;
20451          }
20452       }
20453    }
20454 #if 0
20455    group {
20456       name: "e/fileman/desktop/icon/variable";
20457       images {
20458          image: "bt_sm_base1.png" COMP;
20459          image: "bt_sm_shine.png" COMP;
20460          image: "bt_sm_hilight.png" COMP;
20461          image: "e17_mini_button_shadow2.png" COMP;
20462          image: "e17_fileman_thumb_bg.png" COMP;
20463          image: "icon_efm_dnd_copy.png" COMP;
20464          image: "icon_efm_dnd_ask.png" COMP;
20465          image: "icon_efm_dnd_move.png" COMP;
20466          image: "icon_efm_vol_unmounted.png" COMP;
20467          image: "icon_efm_vol_mounted.png" COMP;
20468       }
20469       parts {
20470          part {
20471             name: "bg";
20472             mouse_events: 0;
20473             description {
20474                state: "default" 0.0;
20475                visible: 0;
20476                color: 255 255 255 0;
20477                rel1 {
20478                   relative: 0.0 0.0;
20479                   offset: -5 -5;
20480                }
20481                rel2 {
20482                   relative: 1.0 1.0;
20483                   offset: 4 4;
20484                }
20485                image {
20486                   normal: "bt_sm_base1.png";
20487                   border: 6 6 6 6;
20488                }
20489             }
20490             description {
20491                state: "selected" 0.0;
20492                inherit: "default" 0.0;
20493                visible: 1;
20494                color: 255 255 255 255;
20495                rel1 {
20496                   relative: 0.0 0.0;
20497                   offset: -2 -2;
20498                }
20499                rel2 {
20500                   relative: 1.0 1.0;
20501                   offset: 1 1;
20502                }
20503             }
20504          }
20505          part {
20506             name: "icon_box_shadow";
20507             mouse_events: 0;
20508             description {
20509                state: "default" 0.0;
20510                visible: 0;
20511                rel1 {
20512                   to: "icon_box";
20513                   relative: 0.0 0.0;
20514                   offset: -1 -1;
20515                }
20516                rel2 {
20517                   to: "icon_box";
20518                   relative: 1.0 1.0;
20519                   offset: 2 2;
20520                }
20521                image {
20522                   normal: "e17_mini_button_shadow2.png";
20523                   border: 6 6 6 6;
20524                }
20525             }
20526             description {
20527                state: "visible" 0.0;
20528                inherit: "default" 0.0;
20529                visible: 1;
20530             }
20531          }
20532          part {
20533             name: "icon_box";
20534             type: RECT;
20535             mouse_events: 0;
20536             description {
20537                state: "default" 0.0;
20538                visible: 0;
20539                align: 0.5 0.5;
20540                rel1 {
20541                   to: "e.swallow.icon";
20542                   relative: 0.0 0.0;
20543                   offset: -1 -1;
20544                }
20545                rel2 {
20546                   to: "e.swallow.icon";
20547                   relative: 1.0 1.0;
20548                   offset: 0 0;
20549                }
20550                color: 0 0 0 64;
20551             }
20552             description {
20553                state: "visible" 0.0;
20554                inherit: "default" 0.0;
20555                visible: 1;
20556             }
20557          }
20558          part {
20559             name: "icon_box_bg";
20560             mouse_events: 0;
20561             description {
20562                state: "default" 0.0;
20563                visible: 0;
20564                rel1 {
20565                   to: "icon_box";
20566                   relative: 0.0 0.0;
20567                   offset: 1 1;
20568                }
20569                rel2 {
20570                   to: "icon_box";
20571                   relative: 1.0 1.0;
20572                   offset: -2 -2;
20573                }
20574                image.normal: "pager_base2.png";
20575                fill {
20576                   smooth: 0;
20577                   size {
20578                      relative: 0 0;
20579                      offset: 32 32;
20580                   }
20581                }
20582             }
20583             description {
20584                state: "visible" 0.0;
20585                inherit: "default" 0.0;
20586                visible: 1;
20587             }
20588          }
20589          part {
20590             name: "icon0";
20591             type: RECT;
20592             mouse_events: 0;
20593             description {
20594                state: "default" 0.0;
20595                align: 0.5 0.5;
20596                aspect: 1.0 1.0;
20597                aspect_preference: VERTICAL;
20598                visible: 0;
20599                rel1 {
20600                   relative: 0.0 0.0;
20601                   offset: 2 2;
20602                }
20603                rel2 {
20604                   to_y: "e.text.label";
20605                   relative: 1.0 0.0;
20606                   offset: -3 -1;
20607                }
20608                color: 0 0 0 0;
20609             }
20610          }
20611          part {
20612             name: "icon";
20613             type: RECT;
20614             mouse_events: 0;
20615             description {
20616                state: "default" 0.0;
20617                align: 0.5 0.5;
20618                aspect: 1.0 1.0;
20619                aspect_preference: BOTH;
20620                visible: 0;
20621                rel1.to: "icon0";
20622                rel2.to: "icon0";
20623                color: 0 0 0 0;
20624             }
20625             description {
20626                state: "min" 0.0;
20627                inherit: "default" 0.0;
20628                max: 0 0;
20629             }
20630             description {
20631                state: "max" 0.0;
20632                inherit: "default" 0.0;
20633                rel1 {
20634                   to: "icon0";
20635                   relative: 0.0  0.0;
20636                   offset: -4   -4;
20637                }
20638                rel2 {
20639                   to: "icon0";
20640                   relative: 1.0  1.0;
20641                   offset: 3    3;
20642                }
20643             }
20644             description {
20645                state: "max2" 0.0;
20646                inherit: "default" 0.0;
20647                rel1 {
20648                   to: "icon0";
20649                   relative: 0.0  0.0;
20650                   offset: -2   -2;
20651                }
20652                rel2 {
20653                   to: "icon0";
20654                   relative: 1.0  1.0;
20655                   offset: 1    1;
20656                }
20657             }
20658          }
20659          part {
20660             name: "e.swallow.icon";
20661             type: SWALLOW;
20662             description {
20663                state: "default" 0.0;
20664                aspect: 1.0 1.0;
20665                aspect_preference: BOTH;
20666                align: 0.5 0.5;
20667                // fixed: 1 1;
20668                rel1.to: "icon";
20669                rel2.to: "icon";
20670             }
20671          }
20672          part {
20673             name: "e.text.label";
20674             type: TEXT;
20675             effect: SOFT_SHADOW;
20676             mouse_events: 0;
20677             scale: 1;
20678             description {
20679                state: "default" 0.0;
20680                align: 0.5 1.0;
20681                fixed: 0 1;
20682                rel1 {
20683                   relative: 0.0 1.0;
20684                   offset: 2 -2;
20685                }
20686                rel2 {
20687                   relative: 1.0 1.0;
20688                   offset: -3 -2;
20689                }
20690                color: 224 224 224 255;
20691                color3: 0 0 0 32;
20692                text {
20693                   font: "Sans:style=Bold";
20694                   size: 10;
20695                   min: 1 1;
20696                   align: 0.5 0.5;
20697                   text_class: "desktop_icon";
20698                }
20699             }
20700             description {
20701                state: "selected" 0.0;
20702                inherit: "default" 0.0;
20703                color: 224 224 224 255;
20704                color3: 0 0 0 64;
20705             }
20706          }
20707          part {
20708             name: "fg1";
20709             mouse_events: 0;
20710             description {
20711                state: "default" 0.0;
20712                visible: 0;
20713                color: 255 255 255 0;
20714                rel1.to: "bg";
20715                rel2.relative: 1.0 0.5;
20716                rel2.to: "bg";
20717                image {
20718                   normal: "bt_sm_hilight.png";
20719                   border: 6 6 6 0;
20720                }
20721             }
20722             description {
20723                state: "selected" 0.0;
20724                inherit: "default" 0.0;
20725                visible: 1;
20726                color: 255 255 255 255;
20727             }
20728          }
20729          part {
20730             name: "fg2";
20731             mouse_events: 0;
20732             description {
20733                state: "default" 0.0;
20734                visible: 0;
20735                color: 255 255 255 0;
20736                rel1.to: "bg";
20737                rel2.to: "bg";
20738                image {
20739                   normal: "bt_sm_shine.png";
20740                   border: 6 6 6 0;
20741                }
20742             }
20743             description {
20744                state: "selected" 0.0;
20745                inherit: "default" 0.0;
20746                visible: 1;
20747                color: 255 255 255 255;
20748             }
20749          }
20750          part {
20751             name: "event";
20752             type: RECT;
20753             mouse_events: 1;
20754             description {
20755                state: "default" 0.0;
20756                color: 0 0 0 0;
20757             }
20758          }
20759          part {
20760             name: "vol_state";
20761             type: IMAGE;
20762             mouse_events: 0;
20763             repeat_events: 0;
20764             description {
20765                state: "default" 0.0;
20766                color: 0 0 0 0;
20767             }
20768             description {
20769                state: "visible" 0.0;
20770                aspect: 1.0 1.0;
20771                aspect_preference: BOTH;
20772                align: 1.0 1.0;
20773                min: 16 16;
20774                rel1 {
20775                   relative: 0.75 0.0;
20776                   to: "icon";
20777                }
20778                rel2 {
20779                   relative: 1.0 1.0;
20780                   to: "icon";
20781                }
20782             }
20783             description {
20784                state: "unmounted" 0.0;
20785                inherit: "visible" 0.0;
20786                image.normal: "icon_efm_vol_unmounted.png";
20787             }
20788             description {
20789                state: "mounted" 0.0;
20790                inherit: "visible" 0.0;
20791                image.normal: "icon_efm_vol_mounted.png";
20792             }
20793          }
20794          part {
20795             name: "dnd_action";
20796             type: IMAGE;
20797             mouse_events: 0;
20798             repeat_events: 0;
20799             description {
20800                state: "default" 0.0;
20801                color: 0 0 0 0;
20802             }
20803             description {
20804                state: "visible" 0.0;
20805                aspect: 1.0 1.0;
20806                aspect_preference: BOTH;
20807                align: 1.0 1.0;
20808                min: 24 24;
20809                rel1.relative: 0.75 0.0;
20810                rel2.relative: 1.0 1.0;
20811             }
20812             description {
20813                state: "copy" 0.0;
20814                inherit: "visible" 0.0;
20815                image.normal: "icon_efm_dnd_copy.png";
20816             }
20817             description {
20818                state: "ask" 0.0;
20819                inherit: "visible" 0.0;
20820                image.normal: "icon_efm_dnd_ask.png";
20821             }
20822             description {
20823                state: "move" 0.0;
20824                inherit: "visible" 0.0;
20825                image.normal: "icon_efm_dnd_move.png";
20826             }
20827          }
20828       }
20829       programs {
20830          program {
20831             name: "go_active";
20832             signal: "e,state,selected";
20833             source: "e";
20834             action: STATE_SET "selected" 0.0;
20835             target: "bg";
20836             target: "fg1";
20837             target: "fg2";
20838             target: "e.text.label";
20839             transition: LINEAR 0.2;
20840          }
20841          program {
20842             name: "go_passive";
20843             signal: "e,state,unselected";
20844             source: "e";
20845             action: STATE_SET "default" 0.0;
20846             target: "bg";
20847             target: "fg1";
20848             target: "fg2";
20849             target: "e.text.label";
20850             transition: LINEAR 0.1;
20851          }
20852          program {
20853             name: "ask";
20854             signal: "e,state,ask";
20855             source: "e";
20856             action: STATE_SET "ask" 0.0;
20857             target: "dnd_action";
20858          }
20859          program {
20860             name: "move";
20861             signal: "e,state,move";
20862             source: "e";
20863             action: STATE_SET "move" 0.0;
20864             target: "dnd_action";
20865          }
20866          program {
20867             name: "copy";
20868             signal: "e,state,copy";
20869             source: "e";
20870             action: STATE_SET "copy" 0.0;
20871             target: "dnd_action";
20872          }
20873          program {
20874             name: "vol_off";
20875             signal: "e,state,volume,off";
20876             source: "e";
20877             action: STATE_SET "default" 0.0;
20878             target: "vol_state";
20879          }
20880          program {
20881             name: "vol_unmounted";
20882             signal: "e,state,volume,unmounted";
20883             source: "e";
20884             action: STATE_SET "unmounted" 0.0;
20885             target: "vol_state";
20886          }
20887          program {
20888             name: "vol_mounted";
20889             signal: "e,state,volume,mounted";
20890             source: "e";
20891             action: STATE_SET "mounted" 0.0;
20892             target: "vol_state";
20893          }
20894          program {
20895             name: "thumb_gen";
20896             signal: "e,action,thumb,gen";
20897             source: "e";
20898             action: STATE_SET "visible" 0.0;
20899             target: "icon_box_shadow";
20900             target: "icon_box";
20901             target: "icon_box_bg";
20902             after: "thumb_gen2";
20903          }
20904          program {
20905             name: "thumb_gen-";
20906             signal: "e,action,thumb,gen,alpha";
20907             source: "e";
20908             action: STATE_SET "default" 0.0;
20909             target: "icon_box_shadow";
20910             target: "icon_box";
20911             target: "icon_box_bg";
20912             after: "thumb_gen2";
20913          }
20914          program {
20915             name: "thumb_gen2";
20916             action: STATE_SET "min" 0.0;
20917             target: "icon";
20918             after: "thumb_gen3";
20919          }
20920          program {
20921             name: "thumb_gen3";
20922             action: STATE_SET "max" 0.0;
20923             target: "icon";
20924             transition: DECELERATE 0.2;
20925             after: "thumb_gen4";
20926          }
20927          program {
20928             name: "thumb_gen4";
20929             action: STATE_SET "default" 0.0;
20930             target: "icon";
20931             transition: SINUSOIDAL 0.1;
20932             after: "thumb_gen5";
20933          }
20934          program {
20935             name: "thumb_gen5";
20936             action: STATE_SET "max2" 0.0;
20937             target: "icon";
20938             transition: SINUSOIDAL 0.2;
20939             after: "thumb_gen6";
20940          }
20941          program {
20942             name: "thumb_gen6";
20943             action: STATE_SET "default" 0.0;
20944             target: "icon";
20945             transition: SINUSOIDAL 0.3;
20946          }
20947       }
20948    }
20949 #endif
20950    group {
20951       name: "e/fileman/desktop/icon/fixed";
20952       alias: "e/fileman/desktop/icon/variable";
20953       images {
20954          image: "bt_sm_base1.png" COMP;
20955          image: "bt_sm_shine.png" COMP;
20956          image: "bt_sm_hilight.png" COMP;
20957          image: "e17_mini_button_shadow2.png" COMP;
20958          image: "e17_fileman_thumb_bg.png" COMP;
20959          image: "icon_efm_dnd_copy.png" COMP;
20960          image: "icon_efm_dnd_ask.png" COMP;
20961          image: "icon_efm_dnd_move.png" COMP;
20962          image: "icon_efm_vol_unmounted.png" COMP;
20963          image: "icon_efm_vol_mounted.png" COMP;
20964       }
20965       styles {
20966         style {
20967             name: "fileman_desktop_icon_name";
20968             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";
20969         }
20970         style {
20971             name: "fileman_desktop_icon_name_full";
20972             base: "font=Sans:style=Bold font_size=10 text_class=desktop_icon align=center color=#fff wrap=mixed style=soft_shadow shadow_color=#0002";
20973         }
20974       }      
20975       parts {
20976          part {
20977             name: "label2";
20978             type: TEXTBLOCK;
20979             mouse_events: 0;
20980             scale: 1;
20981             description {
20982                state: "default" 0.0;
20983                align: 0.5 0.0;
20984                fixed: 1 1;
20985                color: 224 224 224 255;
20986                color3: 0 0 0 64;
20987                rel1 {
20988                   to_y: "icon0";
20989                   relative: 0.0 1.0;
20990                   offset: 3 3;
20991                }
20992                rel2 {
20993                   relative: 1.0 1.0;
20994                   offset: -3 -1;
20995                }
20996                text {
20997                   style: "fileman_desktop_icon_name";
20998                   text_source: "e.text.label";
20999                   align: 0.5 0.0;
21000                   min: 0 1;
21001                }
21002             }
21003             description {
21004                state: "selected" 0.0;
21005                inherit: "default" 0.0;
21006                visible: 0;
21007             }
21008          }
21009          part {
21010             name: "bg";
21011             mouse_events: 0;
21012             description {
21013                state: "default" 0.0;
21014                visible: 0;
21015                color: 255 255 255 0;
21016                rel1.to_x: "e.text.label";
21017                rel1.offset: -2 0;
21018                rel2.to: "e.text.label";
21019                rel2.offset: 3 6;
21020
21021                image {
21022                   normal: "bt_sm_base1.png";
21023                   border: 6 6 6 6;
21024                }
21025             }
21026             description {
21027                state: "selected" 0.0;
21028                inherit: "default" 0.0;
21029                visible: 1;
21030                color: 255 255 255 255;
21031             }
21032          }
21033          part {
21034             name: "icon_box_shadow";
21035             mouse_events: 0;
21036             description {
21037                state: "default" 0.0;
21038                visible: 0;
21039                rel1 {
21040                   to: "icon_box";
21041                   relative: 0.0 0.0;
21042                   offset: -1 -1;
21043                }
21044                rel2 {
21045                   to: "icon_box";
21046                   relative: 1.0 1.0;
21047                   offset: 2 2;
21048                }
21049                image {
21050                   normal: "e17_mini_button_shadow2.png";
21051                   border: 6 6 6 6;
21052                }
21053             }
21054             description {
21055                state: "visible" 0.0;
21056                inherit: "default" 0.0;
21057                visible: 1;
21058             }
21059          }
21060          part {
21061             name: "icon_box";
21062             type: RECT;
21063             mouse_events: 0;
21064             description {
21065                state: "default" 0.0;
21066                visible: 0;
21067                align: 0.5 0.5;
21068                rel1 {
21069                   to: "e.swallow.icon";
21070                   relative: 0.0 0.0;
21071                   offset: -1 -1;
21072                }
21073                rel2 {
21074                   to: "e.swallow.icon";
21075                   relative: 1.0 1.0;
21076                   offset: 0 0;
21077                }
21078                color: 0 0 0 64;
21079             }
21080             description {
21081                state: "visible" 0.0;
21082                inherit: "default" 0.0;
21083                visible: 1;
21084             }
21085          }
21086          part {
21087             name: "icon_box_bg";
21088             mouse_events: 0;
21089             description {
21090                state: "default" 0.0;
21091                visible: 0;
21092                rel1 {
21093                   to: "icon_box";
21094                   relative: 0.0 0.0;
21095                   offset: 1 1;
21096                }
21097                rel2 {
21098                   to: "icon_box";
21099                   relative: 1.0 1.0;
21100                   offset: -2 -2;
21101                }
21102                image.normal: "pager_base2.png";
21103                fill {
21104                   smooth: 0;
21105                   size {
21106                      relative: 0 0;
21107                      offset: 32 32;
21108                   }
21109                }
21110             }
21111             description {
21112                state: "visible" 0.0;
21113                inherit: "default" 0.0;
21114                visible: 1;
21115             }
21116          }
21117          part {
21118             name: "icon0";
21119             type: RECT;
21120             mouse_events: 0;
21121             description {
21122                state: "default" 0.0;
21123                align: 0.5 0.5;
21124                aspect: 1.5 1.0;
21125                aspect_preference: BOTH;
21126                visible: 0;
21127                /* color: 200 0 0 100; */
21128                rel1 {
21129                   relative: 0.0 0.0;
21130                   offset: 5 5;
21131                }
21132                rel2 {
21133                   relative: 1.0 1.0;
21134                   offset: -6 -40;
21135                }
21136             }
21137          }
21138          part {
21139             name: "icon";
21140             type: RECT;
21141             mouse_events: 0;
21142             description {
21143                state: "default" 0.0;
21144                align: 0.5 0.5;
21145                aspect: 1.0 1.0;
21146                aspect_preference: BOTH;
21147                visible: 0;
21148                rel1.to: "icon0";
21149                rel2.to: "icon0";
21150                color: 0 0 0 0;
21151             }
21152             description {
21153                state: "min" 0.0;
21154                inherit: "default" 0.0;
21155                max: 0 0;
21156             }
21157             description {
21158                state: "max" 0.0;
21159                inherit: "default" 0.0;
21160                rel1 {
21161                   to: "icon0";
21162                   relative: 0.0  0.0;
21163                   offset: -4   -4;
21164                }
21165                rel2 {
21166                   to: "icon0";
21167                   relative: 1.0  1.0;
21168                   offset: 3    3;
21169                }
21170             }
21171             description {
21172                state: "max2" 0.0;
21173                inherit: "default" 0.0;
21174                rel1 {
21175                   to: "icon0";
21176                   relative: 0.0  0.0;
21177                   offset: -2   -2;
21178                }
21179                rel2 {
21180                   to: "icon0";
21181                   relative: 1.0  1.0;
21182                   offset: 1    1;
21183                }
21184             }
21185          }
21186          part {
21187             name: "e.swallow.icon";
21188             type: SWALLOW;
21189             description {
21190                state: "default" 0.0;
21191                aspect: 1.0 1.0;
21192                aspect_preference: BOTH;
21193                align: 0.5 0.5;
21194                // fixed: 1 1;
21195                rel1.to: "icon";
21196                rel2.to: "icon";
21197             }
21198          }
21199          part {
21200             name: "e.text.label";
21201             type: TEXTBLOCK;
21202             effect: SOFT_SHADOW;
21203             mouse_events: 0;
21204             scale: 1;
21205             description {
21206                state: "default" 0.0;
21207                align: 0.5 0.0;
21208                fixed: 1 1;
21209                color: 224 224 224 255;
21210                color3: 0 0 0 64;
21211                visible: 0;
21212                rel1 {
21213                   to_y: "icon0";
21214                   relative: 0.0 1.0;
21215                   offset: 4 3;
21216                }
21217                rel2 {
21218                   relative: 1.0 1.0;
21219                   offset: -3 -1;
21220                }
21221                text {
21222                   style: "fileman_desktop_icon_name_full";
21223                   min: 0 1;
21224                   max: 0 1;
21225                }
21226             }
21227             description {
21228                state: "selected" 0.0;
21229                inherit: "default" 0.0;
21230                visible: 1;
21231             }
21232          }
21233          part {
21234             name: "fg1";
21235             mouse_events: 0;
21236             description {
21237                state: "default" 0.0;
21238                visible: 0;
21239                color: 255 255 255 0;
21240                rel1.to: "bg";
21241                rel2.relative: 1.0 0.5;
21242                rel2.to: "bg";
21243                image {
21244                   normal: "bt_sm_hilight.png";
21245                   border: 6 6 6 0;
21246                }
21247             }
21248             description {
21249                state: "selected" 0.0;
21250                inherit: "default" 0.0;
21251                visible: 1;
21252                color: 255 255 255 255;
21253             }
21254          }
21255          part {
21256             name: "fg2";
21257             mouse_events: 0;
21258             description {
21259                state: "default" 0.0;
21260                visible: 0;
21261                color: 255 255 255 0;
21262                rel1.to: "bg";
21263                rel2.to: "bg";
21264                image {
21265                   normal: "bt_sm_shine.png";
21266                   border: 6 6 6 0;
21267                }
21268             }
21269             description {
21270                state: "selected" 0.0;
21271                inherit: "default" 0.0;
21272                visible: 1;
21273                color: 255 255 255 255;
21274             }
21275          }
21276          part {
21277             name: "event";
21278             type: RECT;
21279             mouse_events: 1;
21280             description {
21281                state: "default" 0.0;
21282                visible: 1;
21283                color: 0 0 0 0;
21284                rel1.offset: 8 8;
21285                rel2.offset: -9 -9;
21286             }
21287          }
21288          part {
21289             name: "vol_state";
21290             type: IMAGE;
21291             mouse_events: 0;
21292             repeat_events: 0;
21293             description {
21294                state: "default" 0.0;
21295                color: 0 0 0 0;
21296             }
21297             description {
21298                state: "visible" 0.0;
21299                aspect: 1.0 1.0;
21300                aspect_preference: BOTH;
21301                align: 1.0 1.0;
21302                min: 16 16;
21303                rel1 {
21304                   relative: 0.75 0.0;
21305                   to: "icon";
21306                }
21307                rel2 {
21308                   relative: 1.0 1.0;
21309                   to: "icon";
21310                }
21311             }
21312             description {
21313                state: "unmounted" 0.0;
21314                inherit: "visible" 0.0;
21315                image.normal: "icon_efm_vol_unmounted.png";
21316             }
21317             description {
21318                state: "mounted" 0.0;
21319                inherit: "visible" 0.0;
21320                image.normal: "icon_efm_vol_mounted.png";
21321             }
21322          }
21323          part {
21324             name: "dnd_action";
21325             type: IMAGE;
21326             mouse_events: 0;
21327             repeat_events: 0;
21328             description {
21329                state: "default" 0.0;
21330                color: 0 0 0 0;
21331             }
21332             description {
21333                state: "visible" 0.0;
21334                aspect: 1.0 1.0;
21335                aspect_preference: BOTH;
21336                align: 1.0 1.0;
21337                min: 24 24;
21338                rel1.relative: 0.75 0.0;
21339                rel2.relative: 1.0 1.0;
21340             }
21341             description {
21342                state: "copy" 0.0;
21343                inherit: "visible" 0.0;
21344                image.normal: "icon_efm_dnd_copy.png";
21345             }
21346             description {
21347                state: "ask" 0.0;
21348                inherit: "visible" 0.0;
21349                image.normal: "icon_efm_dnd_ask.png";
21350             }
21351             description {
21352                state: "move" 0.0;
21353                inherit: "visible" 0.0;
21354                image.normal: "icon_efm_dnd_move.png";
21355             }
21356          }
21357       }
21358       programs {
21359          program {
21360             name: "go_active";
21361             signal: "e,state,selected";
21362             source: "e";
21363             action: STATE_SET "selected" 0.0;
21364             target: "bg";
21365             target: "fg1";
21366             target: "fg2";
21367             target: "e.text.label";
21368             target: "label2";
21369             transition: LINEAR 0.2;
21370          }
21371          program {
21372             name: "go_passive";
21373             signal: "e,state,unselected";
21374             source: "e";
21375             action: STATE_SET "default" 0.0;
21376             target: "bg";
21377             target: "fg1";
21378             target: "fg2";
21379             target: "e.text.label";
21380             target: "label2";
21381             transition: LINEAR 0.1;
21382          }
21383          program {
21384             name: "ask";
21385             signal: "e,state,ask";
21386             source: "e";
21387             action: STATE_SET "ask" 0.0;
21388             target: "dnd_action";
21389          }
21390          program {
21391             name: "move";
21392             signal: "e,state,move";
21393             source: "e";
21394             action: STATE_SET "move" 0.0;
21395             target: "dnd_action";
21396          }
21397          program {
21398             name: "copy";
21399             signal: "e,state,copy";
21400             source: "e";
21401             action: STATE_SET "copy" 0.0;
21402             target: "dnd_action";
21403          }
21404          program {
21405             name: "vol_off";
21406             signal: "e,state,volume,off";
21407             source: "e";
21408             action: STATE_SET "default" 0.0;
21409             target: "vol_state";
21410          }
21411          program {
21412             name: "vol_unmounted";
21413             signal: "e,state,volume,unmounted";
21414             source: "e";
21415             action: STATE_SET "unmounted" 0.0;
21416             target: "vol_state";
21417          }
21418          program {
21419             name: "vol_mounted";
21420             signal: "e,state,volume,mounted";
21421             source: "e";
21422             action: STATE_SET "mounted" 0.0;
21423             target: "vol_state";
21424          }
21425          program {
21426             name: "thumb_gen";
21427             signal: "e,action,thumb,gen";
21428             source: "e";
21429             action: STATE_SET "visible" 0.0;
21430             target: "icon_box_shadow";
21431             target: "icon_box";
21432             target: "icon_box_bg";
21433             after: "thumb_gen2";
21434          }
21435          program {
21436             name: "thumb_gen-";
21437             signal: "e,action,thumb,gen,alpha";
21438             source: "e";
21439             action: STATE_SET "default" 0.0;
21440             target: "icon_box_shadow";
21441             target: "icon_box";
21442             target: "icon_box_bg";
21443             after: "thumb_gen2";
21444          }
21445          program {
21446             name: "thumb_gen2";
21447             action: STATE_SET "min" 0.0;
21448             target: "icon";
21449             after: "thumb_gen3";
21450          }
21451          program {
21452             name: "thumb_gen3";
21453             action: STATE_SET "max" 0.0;
21454             target: "icon";
21455             transition: DECELERATE 0.2;
21456             after: "thumb_gen4";
21457          }
21458          program {
21459             name: "thumb_gen4";
21460             action: STATE_SET "default" 0.0;
21461             target: "icon";
21462             transition: SINUSOIDAL 0.1;
21463             after: "thumb_gen5";
21464          }
21465          program {
21466             name: "thumb_gen5";
21467             action: STATE_SET "max2" 0.0;
21468             target: "icon";
21469             transition: SINUSOIDAL 0.2;
21470             after: "thumb_gen6";
21471          }
21472          program {
21473             name: "thumb_gen6";
21474             action: STATE_SET "default" 0.0;
21475             target: "icon";
21476             transition: SINUSOIDAL 0.3;
21477          }
21478       }
21479    }
21480    /* e/fileman/default/list/* is used in file selectors eg; Wallpaper dialog */
21481    group {
21482       name: "e/fileman/default/list/variable";
21483       data.item: "stacking" "above";
21484       data.item: "selectraise" "on";
21485       images {
21486          image: "bt_sm_base1.png" COMP;
21487          image: "bt_sm_shine.png" COMP;
21488          image: "bt_sm_hilight.png" COMP;
21489          image: "ilist_1.png" COMP;
21490          image: "ilist_item_shadow.png" COMP;
21491          image: "e17_mini_button_shadow2.png" COMP;
21492          image: "e17_fileman_thumb_bg.png" COMP;
21493          image: "icon_efm_dnd_copy.png" COMP;
21494          image: "icon_efm_dnd_ask.png" COMP;
21495          image: "icon_efm_dnd_move.png" COMP;
21496          image: "icon_efm_vol_unmounted.png" COMP;
21497          image: "icon_efm_vol_mounted.png" COMP;
21498       }
21499       parts {
21500          part {
21501             name: "base_sh";
21502             mouse_events: 0;
21503             description {
21504                state: "default" 0.0;
21505                // aspect: 6.4 6.4;
21506                // aspect_preference: HORIZONTAL;
21507                align: 0.0 0.0;
21508                min: 0 10;
21509                rel1 {
21510                   to: "base";
21511                   relative: 0.0 1.0;
21512                   offset: 0 0;
21513                }
21514                rel2 {
21515                   to: "base";
21516                   relative: 1.0 1.0;
21517                   offset: -1 0;
21518                }
21519                image {
21520                   normal: "ilist_item_shadow.png";
21521                }
21522                fill.smooth: 0;
21523             }
21524          }
21525          part {
21526             name: "base";
21527             mouse_events: 0;
21528             description {
21529                state: "default" 0.0;
21530                color_class: "ilist_item_base";
21531                image {
21532                   normal: "ilist_1.png";
21533                   border: 2 2 2 2;
21534                }
21535                fill.smooth: 0;
21536             }
21537          }
21538          part {
21539             name: "bg";
21540             mouse_events: 0;
21541             description {
21542                state: "default" 0.0;
21543                visible: 0;
21544                color: 255 255 255 0;
21545                rel1 {
21546                   relative: 0.0 0.0;
21547                   offset: -5 -5;
21548                }
21549                rel2 {
21550                   relative: 1.0 1.0;
21551                   offset: 4 4;
21552                }
21553                image {
21554                   normal: "bt_sm_base1.png";
21555                   border: 6 6 6 6;
21556                }
21557             }
21558             description {
21559                state: "selected" 0.0;
21560                inherit: "default" 0.0;
21561                visible: 1;
21562                color: 255 255 255 255;
21563                rel1 {
21564                   relative: 0.0 0.0;
21565                   offset: -2 -2;
21566                }
21567                rel2 {
21568                   relative: 1.0 1.0;
21569                   offset: 1 1;
21570                }
21571             }
21572          }
21573          part {
21574             name: "icon_box_shadow";
21575             mouse_events: 0;
21576             description {
21577                state: "default" 0.0;
21578                visible: 0;
21579                rel1 {
21580                   to: "icon_box";
21581                   relative: 0.0 0.0;
21582                   offset: -1 -1;
21583                }
21584                rel2 {
21585                   to: "icon_box";
21586                   relative: 1.0 1.0;
21587                   offset: 2 2;
21588                }
21589                image {
21590                   normal: "e17_mini_button_shadow2.png";
21591                   border: 6 6 6 6;
21592                }
21593             }
21594             description {
21595                state: "visible" 0.0;
21596                inherit: "default" 0.0;
21597                visible: 1;
21598             }
21599          }
21600          part {
21601             name: "icon_box";
21602             type: RECT;
21603             mouse_events: 0;
21604             description {
21605                state: "default" 0.0;
21606                visible: 0;
21607                align: 0.5 0.5;
21608                rel1 {
21609                   to: "e.swallow.icon";
21610                   relative: 0.0 0.0;
21611                   offset: -1 -1;
21612                }
21613                rel2 {
21614                   to: "e.swallow.icon";
21615                   relative: 1.0 1.0;
21616                   offset: 0 0;
21617                }
21618                color: 0 0 0 64;
21619             }
21620             description {
21621                state: "visible" 0.0;
21622                inherit: "default" 0.0;
21623                visible: 1;
21624             }
21625          }
21626          part {
21627             name: "icon_box_bg";
21628             mouse_events: 0;
21629             description {
21630                state: "default" 0.0;
21631                visible: 0;
21632                rel1 {
21633                   to: "icon_box";
21634                   relative: 0.0 0.0;
21635                   offset: 1 1;
21636                }
21637                rel2 {
21638                   to: "icon_box";
21639                   relative: 1.0 1.0;
21640                   offset: -2 -2;
21641                }
21642                image {
21643                   normal: "e17_fileman_thumb_bg.png";
21644                }
21645                fill {
21646                   smooth: 0;
21647                   size {
21648                      relative: 0 0;
21649                      offset: 32 32;
21650                   }
21651                }
21652             }
21653             description {
21654                state: "visible" 0.0;
21655                inherit: "default" 0.0;
21656                visible: 1;
21657             }
21658          }
21659          part {
21660             name: "icon0";
21661             type: RECT;
21662             mouse_events: 0;
21663             description {
21664                state: "default" 0.0;
21665                align: 0.0 0.5;
21666                aspect: 1.0 1.0;
21667                aspect_preference: VERTICAL;
21668                visible: 0;
21669                rel1 {
21670                   relative: 0.0  0.0;
21671                   offset: 4    4;
21672                }
21673                rel2 {
21674                   relative: 0.0  1.0;
21675                   offset: 4   -5;
21676                }
21677                color: 0 0 0 0;
21678             }
21679          }
21680          part {
21681             name: "icon";
21682             type: RECT;
21683             mouse_events: 0;
21684             description {
21685                state: "default" 0.0;
21686                align: 0.5 0.5;
21687                aspect: 1.0 1.0;
21688                aspect_preference: BOTH;
21689                visible: 0;
21690                rel1 {
21691                   to: "icon0";
21692                }
21693                rel2 {
21694                   to: "icon0";
21695                }
21696                color: 0 0 0 0;
21697             }
21698             description {
21699                state: "min" 0.0;
21700                inherit: "default" 0.0;
21701                max: 0 0;
21702             }
21703             description {
21704                state: "max" 0.0;
21705                inherit: "default" 0.0;
21706                rel1 {
21707                   to: "icon0";
21708                   relative: 0.0  0.0;
21709                   offset: -4   -4;
21710                }
21711                rel2 {
21712                   to: "icon0";
21713                   relative: 1.0  1.0;
21714                   offset: 3    3;
21715                }
21716             }
21717             description {
21718                state: "max2" 0.0;
21719                inherit: "default" 0.0;
21720                rel1 {
21721                   to: "icon0";
21722                   relative: 0.0  0.0;
21723                   offset: -2   -2;
21724                }
21725                rel2 {
21726                   to: "icon0";
21727                   relative: 1.0  1.0;
21728                   offset: 1    1;
21729                }
21730             }
21731          }
21732          part {
21733             name: "e.swallow.icon";
21734             type: SWALLOW;
21735             description {
21736                state: "default" 0.0;
21737                align: 0.5 0.5;
21738                // fixed: 1 1;
21739                rel1 {
21740                   to: "icon";
21741                }
21742                rel2 {
21743                   to: "icon";
21744                }
21745             }
21746          }
21747          part {
21748             name: "e.text.label";
21749             type: TEXT;
21750             effect: SOFT_SHADOW;
21751             mouse_events: 0;
21752             scale: 1;
21753             description {
21754                state: "default" 0.0;
21755                min: 16 16;
21756                rel1 {
21757                   to_x: "icon0";
21758                   relative: 1.0  0.0;
21759                   offset: 4 4;
21760                }
21761                rel2 {
21762                   relative: 1.0  1.0;
21763                   offset: -5 -5;
21764                }
21765                color_class: "ilist_item";
21766                text {
21767                   font: "Sans";
21768                   size: 10;
21769                   min: 1 1;
21770                   align: 0.0 0.5;
21771                   text_class: "ilist_item";
21772                }
21773             }
21774             description {
21775                state: "selected" 0.0;
21776                inherit: "default" 0.0;
21777                color_class: "ilist_item_selected";
21778             }
21779          }
21780          part {
21781             name: "fg1";
21782             mouse_events: 0;
21783             description {
21784                state: "default" 0.0;
21785                visible: 0;
21786                color: 255 255 255 0;
21787                rel1.to: "bg";
21788                rel2.relative: 1.0 0.5;
21789                rel2.to: "bg";
21790                image {
21791                   normal: "bt_sm_hilight.png";
21792                   border: 6 6 6 0;
21793                }
21794             }
21795             description {
21796                state: "selected" 0.0;
21797                inherit: "default" 0.0;
21798                visible: 1;
21799                color: 255 255 255 255;
21800             }
21801          }
21802          part {
21803             name: "fg2";
21804             mouse_events: 0;
21805             description {
21806                state: "default" 0.0;
21807                visible: 0;
21808                color: 255 255 255 0;
21809                rel1.to: "bg";
21810                rel2.to: "bg";
21811                image {
21812                   normal: "bt_sm_shine.png";
21813                   border: 6 6 6 0;
21814                }
21815             }
21816             description {
21817                state: "selected" 0.0;
21818                inherit: "default" 0.0;
21819                visible: 1;
21820                color: 255 255 255 255;
21821             }
21822          }
21823          part {
21824             name: "vol_state";
21825             type: IMAGE;
21826             mouse_events: 0;
21827             repeat_events: 0;
21828             description {
21829                state: "default" 0.0;
21830                color: 0 0 0 0;
21831             }
21832             description {
21833                state: "visible" 0.0;
21834                aspect: 1.0 1.0;
21835                aspect_preference: BOTH;
21836                align: 1.0 1.0;
21837                rel1 {
21838                   relative: 0.5 0.0;
21839                   to: "icon";
21840                }
21841                rel2 {
21842                   relative: 1.0 1.0;
21843                   to: "icon";
21844                }
21845             }
21846             description {
21847                state: "unmounted" 0.0;
21848                inherit: "visible" 0.0;
21849                image.normal: "icon_efm_vol_unmounted.png";
21850             }
21851             description {
21852                state: "mounted" 0.0;
21853                inherit: "visible" 0.0;
21854                image.normal: "icon_efm_vol_mounted.png";
21855             }
21856          }
21857          part {
21858             name: "dnd_action";
21859             type: IMAGE;
21860             mouse_events: 0;
21861             repeat_events: 0;
21862             description {
21863                state: "default" 0.0;
21864                color: 0 0 0 0;
21865             }
21866             description {
21867                state: "visible" 0.0;
21868                aspect: 1.0 1.0;
21869                aspect_preference: BOTH;
21870                align: 1.0 1.0;
21871                rel1 {
21872                   relative: 0.75 0.0;
21873                }
21874                rel2 {
21875                   relative: 1.0 1.0;
21876                }
21877             }
21878             description {
21879                state: "copy" 0.0;
21880                inherit: "visible" 0.0;
21881                image {
21882                   normal: "icon_efm_dnd_copy.png";
21883                }
21884             }
21885             description {
21886                state: "ask" 0.0;
21887                inherit: "visible" 0.0;
21888                image {
21889                   normal: "icon_efm_dnd_ask.png";
21890                }
21891             }
21892             description {
21893                state: "move" 0.0;
21894                inherit: "visible" 0.0;
21895                image {
21896                   normal: "icon_efm_dnd_move.png";
21897                }
21898             }
21899          }
21900          part {
21901             name: "event";
21902             type: RECT;
21903             description {
21904                state: "default" 0.0;
21905                color: 0 0 0 0;
21906             }
21907          }
21908          part {
21909             name: "e.swallow.entry";
21910             type: SWALLOW;
21911             description {
21912                state: "default" 0.0;
21913                rel1.to: "e.text.label";
21914                rel2.to: "e.text.label";
21915             }
21916          }
21917       }
21918       programs {
21919          program {
21920             name: "go_active";
21921             signal: "e,state,selected";
21922             source: "e";
21923             action: STATE_SET "selected" 0.0;
21924             target: "bg";
21925             target: "fg1";
21926             target: "fg2";
21927             target: "e.text.label";
21928          }
21929          program {
21930             name: "go_passive";
21931             signal: "e,state,unselected";
21932             source: "e";
21933             action: STATE_SET "default" 0.0;
21934             target: "bg";
21935             target: "fg1";
21936             target: "fg2";
21937             target: "e.text.label";
21938             transition: LINEAR 0.1;
21939          }
21940          program {
21941             name: "ask";
21942             signal: "e,state,ask";
21943             source: "e";
21944             action: STATE_SET "ask" 0.0;
21945             target: "dnd_action";
21946          }
21947          program {
21948             name: "move";
21949             signal: "e,state,move";
21950             source: "e";
21951             action: STATE_SET "move" 0.0;
21952             target: "dnd_action";
21953          }
21954          program {
21955             name: "copy";
21956             signal: "e,state,copy";
21957             source: "e";
21958             action: STATE_SET "copy" 0.0;
21959             target: "dnd_action";
21960          }
21961          program {
21962             name: "vol_off";
21963             signal: "e,state,volume,off";
21964             source: "e";
21965             action: STATE_SET "default" 0.0;
21966             target: "vol_state";
21967          }
21968          program {
21969             name: "vol_unmounted";
21970             signal: "e,state,volume,unmounted";
21971             source: "e";
21972             action: STATE_SET "unmounted" 0.0;
21973             target: "vol_state";
21974          }
21975          program {
21976             name: "vol_mounted";
21977             signal: "e,state,volume,mounted";
21978             source: "e";
21979             action: STATE_SET "mounted" 0.0;
21980             target: "vol_state";
21981          }
21982          program {
21983             name: "thumb_gen";
21984             signal: "e,action,thumb,gen";
21985             source: "e";
21986             action: STATE_SET "visible" 0.0;
21987             target: "icon_box_shadow";
21988             target: "icon_box";
21989             target: "icon_box_bg";
21990             after: "thumb_gen2";
21991          }
21992          program {
21993             name: "thumb_gen-";
21994             signal: "e,action,thumb,gen,alpha";
21995             source: "e";
21996             action: STATE_SET "default" 0.0;
21997             target: "icon_box_shadow";
21998             target: "icon_box";
21999             target: "icon_box_bg";
22000             after: "thumb_gen2";
22001          }
22002          program {
22003             name: "thumb_gen2";
22004             action: STATE_SET "min" 0.0;
22005             target: "icon";
22006             after: "thumb_gen3";
22007          }
22008          program {
22009             name: "thumb_gen3";
22010             action: STATE_SET "max" 0.0;
22011             target: "icon";
22012             transition: DECELERATE 0.2;
22013             after: "thumb_gen4";
22014          }
22015          program {
22016             name: "thumb_gen4";
22017             action: STATE_SET "default" 0.0;
22018             target: "icon";
22019             transition: SINUSOIDAL 0.1;
22020             after: "thumb_gen5";
22021          }
22022          program {
22023             name: "thumb_gen5";
22024             action: STATE_SET "max2" 0.0;
22025             target: "icon";
22026             transition: SINUSOIDAL 0.2;
22027             after: "thumb_gen6";
22028          }
22029          program {
22030             name: "thumb_gen6";
22031             action: STATE_SET "default" 0.0;
22032             target: "icon";
22033             transition: SINUSOIDAL 0.3;
22034          }
22035       }
22036    }
22037    group {
22038       name: "e/fileman/default/list_odd/variable";
22039       data.item: "stacking" "below";
22040       data.item: "selectraise" "on";
22041       images {
22042          image: "bt_sm_base1.png" COMP;
22043          image: "bt_sm_shine.png" COMP;
22044          image: "bt_sm_hilight.png" COMP;
22045          image: "ilist_2.png" COMP;
22046          image: "ilist_item_shadow.png" COMP;
22047          image: "e17_mini_button_shadow2.png" COMP;
22048          image: "e17_fileman_thumb_bg.png" COMP;
22049          image: "icon_efm_dnd_copy.png" COMP;
22050          image: "icon_efm_dnd_ask.png" COMP;
22051          image: "icon_efm_dnd_move.png" COMP;
22052          image: "icon_efm_vol_unmounted.png" COMP;
22053          image: "icon_efm_vol_mounted.png" COMP;
22054       }
22055       parts {
22056          part {
22057             name: "base_sh";
22058             mouse_events: 0;
22059             description {
22060                state: "default" 0.0;
22061                // aspect: 6.4 6.4;
22062                // aspect_preference: HORIZONTAL;
22063                align: 0.0 0.0;
22064                min: 0 10;
22065                rel1 {
22066                   to: "base";
22067                   relative: 0.0 1.0;
22068                   offset: 0 0;
22069                }
22070                rel2 {
22071                   to: "base";
22072                   relative: 1.0 1.0;
22073                   offset: -1 0;
22074                }
22075                image {
22076                   normal: "ilist_item_shadow.png";
22077                }
22078                fill.smooth: 0;
22079             }
22080          }
22081          part {
22082             name: "base";
22083             mouse_events: 0;
22084             description {
22085                state: "default" 0.0;
22086                color_class: "ilist_item_odd_base";
22087                image {
22088                   normal: "ilist_2.png";
22089                   border: 2 2 2 2;
22090                }
22091                fill.smooth: 0;
22092             }
22093          }
22094          part {
22095             name: "bg";
22096             mouse_events: 0;
22097             description {
22098                state: "default" 0.0;
22099                visible: 0;
22100                color: 255 255 255 0;
22101                rel1 {
22102                   relative: 0.0 0.0;
22103                   offset: -5 -5;
22104                }
22105                rel2 {
22106                   relative: 1.0 1.0;
22107                   offset: 4 4;
22108                }
22109                image {
22110                   normal: "bt_sm_base1.png";
22111                   border: 6 6 6 6;
22112                }
22113             }
22114             description {
22115                state: "selected" 0.0;
22116                inherit: "default" 0.0;
22117                visible: 1;
22118                color: 255 255 255 255;
22119                rel1 {
22120                   relative: 0.0 0.0;
22121                   offset: -2 -2;
22122                }
22123                rel2 {
22124                   relative: 1.0 1.0;
22125                   offset: 1 1;
22126                }
22127             }
22128          }
22129          part {
22130             name: "icon_box_shadow";
22131             mouse_events: 0;
22132             description {
22133                state: "default" 0.0;
22134                visible: 0;
22135                rel1 {
22136                   to: "icon_box";
22137                   relative: 0.0 0.0;
22138                   offset: -1 -1;
22139                }
22140                rel2 {
22141                   to: "icon_box";
22142                   relative: 1.0 1.0;
22143                   offset: 2 2;
22144                }
22145                image {
22146                   normal: "e17_mini_button_shadow2.png";
22147                   border: 6 6 6 6;
22148                }
22149             }
22150             description {
22151                state: "visible" 0.0;
22152                inherit: "default" 0.0;
22153                visible: 1;
22154             }
22155          }
22156          part {
22157             name: "icon_box";
22158             type: RECT;
22159             mouse_events: 0;
22160             description {
22161                state: "default" 0.0;
22162                visible: 0;
22163                align: 0.5 0.5;
22164                rel1 {
22165                   to: "e.swallow.icon";
22166                   relative: 0.0 0.0;
22167                   offset: -1 -1;
22168                }
22169                rel2 {
22170                   to: "e.swallow.icon";
22171                   relative: 1.0 1.0;
22172                   offset: 0 0;
22173                }
22174                color: 0 0 0 64;
22175             }
22176             description {
22177                state: "visible" 0.0;
22178                inherit: "default" 0.0;
22179                visible: 1;
22180             }
22181          }
22182          part {
22183             name: "icon_box_bg";
22184             mouse_events: 0;
22185             description {
22186                state: "default" 0.0;
22187                visible: 0;
22188                rel1 {
22189                   to: "icon_box";
22190                   relative: 0.0 0.0;
22191                   offset: 1 1;
22192                }
22193                rel2 {
22194                   to: "icon_box";
22195                   relative: 1.0 1.0;
22196                   offset: -2 -2;
22197                }
22198                image {
22199                   normal: "e17_fileman_thumb_bg.png";
22200                }
22201                fill {
22202                   smooth: 0;
22203                   size {
22204                      relative: 0 0;
22205                      offset: 32 32;
22206                   }
22207                }
22208             }
22209             description {
22210                state: "visible" 0.0;
22211                inherit: "default" 0.0;
22212                visible: 1;
22213             }
22214          }
22215          part {
22216             name: "icon0";
22217             type: RECT;
22218             mouse_events: 0;
22219             description {
22220                state: "default" 0.0;
22221                align: 0.0 0.5;
22222                aspect: 1.0 1.0;
22223                aspect_preference: VERTICAL;
22224                visible: 0;
22225                rel1 {
22226                   relative: 0.0  0.0;
22227                   offset: 4    4;
22228                }
22229                rel2 {
22230                   relative: 0.0  1.0;
22231                   offset: 4   -5;
22232                }
22233                color: 0 0 0 0;
22234             }
22235          }
22236          part {
22237             name: "icon";
22238             type: RECT;
22239             mouse_events: 0;
22240             description {
22241                state: "default" 0.0;
22242                align: 0.5 0.5;
22243                aspect: 1.0 1.0;
22244                aspect_preference: BOTH;
22245                visible: 0;
22246                rel1 {
22247                   to: "icon0";
22248                }
22249                rel2 {
22250                   to: "icon0";
22251                }
22252                color: 0 0 0 0;
22253             }
22254             description {
22255                state: "min" 0.0;
22256                inherit: "default" 0.0;
22257                max: 0 0;
22258             }
22259             description {
22260                state: "max" 0.0;
22261                inherit: "default" 0.0;
22262                rel1 {
22263                   to: "icon0";
22264                   relative: 0.0  0.0;
22265                   offset: -4   -4;
22266                }
22267                rel2 {
22268                   to: "icon0";
22269                   relative: 1.0  1.0;
22270                   offset: 3    3;
22271                }
22272             }
22273             description {
22274                state: "max2" 0.0;
22275                inherit: "default" 0.0;
22276                rel1 {
22277                   to: "icon0";
22278                   relative: 0.0  0.0;
22279                   offset: -2   -2;
22280                }
22281                rel2 {
22282                   to: "icon0";
22283                   relative: 1.0  1.0;
22284                   offset: 1    1;
22285                }
22286             }
22287          }
22288          part {
22289             name: "e.swallow.icon";
22290             type: SWALLOW;
22291             description {
22292                state: "default" 0.0;
22293                align: 0.5 0.5;
22294                // fixed: 1 1;
22295                rel1 {
22296                   to: "icon";
22297                }
22298                rel2 {
22299                   to: "icon";
22300                }
22301             }
22302          }
22303          part {
22304             name: "e.text.label";
22305             type: TEXT;
22306             effect: SOFT_SHADOW;
22307             mouse_events: 0;
22308             scale: 1;
22309             description {
22310                state: "default" 0.0;
22311                min: 16 16;
22312                rel1 {
22313                   to_x: "icon0";
22314                   relative: 1.0  0.0;
22315                   offset: 4 4;
22316                }
22317                rel2 {
22318                   relative: 1.0  1.0;
22319                   offset: -5 -5;
22320                }
22321                color_class: "ilist_item_odd";
22322                text {
22323                   font: "Sans";
22324                   size: 10;
22325                   min: 1 1;
22326                   align: 0.0 0.5;
22327                   text_class: "ilist_item";
22328                }
22329             }
22330             description {
22331                state: "selected" 0.0;
22332                inherit: "default" 0.0;
22333                color_class: "ilist_item_selected";
22334             }
22335          }
22336          part {
22337             name: "fg1";
22338             mouse_events: 0;
22339             description {
22340                state: "default" 0.0;
22341                visible: 0;
22342                color: 255 255 255 0;
22343                rel1.to: "bg";
22344                rel2.relative: 1.0 0.5;
22345                rel2.to: "bg";
22346                image {
22347                   normal: "bt_sm_hilight.png";
22348                   border: 6 6 6 0;
22349                }
22350             }
22351             description {
22352                state: "selected" 0.0;
22353                inherit: "default" 0.0;
22354                visible: 1;
22355                color: 255 255 255 255;
22356             }
22357          }
22358          part {
22359             name: "fg2";
22360             mouse_events: 0;
22361             description {
22362                state: "default" 0.0;
22363                visible: 0;
22364                color: 255 255 255 0;
22365                rel1.to: "bg";
22366                rel2.to: "bg";
22367                image {
22368                   normal: "bt_sm_shine.png";
22369                   border: 6 6 6 0;
22370                }
22371             }
22372             description {
22373                state: "selected" 0.0;
22374                inherit: "default" 0.0;
22375                visible: 1;
22376                color: 255 255 255 255;
22377             }
22378          }
22379          part {
22380             name: "vol_state";
22381             type: IMAGE;
22382             mouse_events: 0;
22383             repeat_events: 0;
22384             description {
22385                state: "default" 0.0;
22386                color: 0 0 0 0;
22387             }
22388             description {
22389                state: "visible" 0.0;
22390                aspect: 1.0 1.0;
22391                aspect_preference: BOTH;
22392                align: 1.0 1.0;
22393                rel1 {
22394                   relative: 0.5 0.0;
22395                   to: "icon";
22396                }
22397                rel2 {
22398                   relative: 1.0 1.0;
22399                   to: "icon";
22400                }
22401             }
22402             description {
22403                state: "unmounted" 0.0;
22404                inherit: "visible" 0.0;
22405                image.normal: "icon_efm_vol_unmounted.png";
22406             }
22407             description {
22408                state: "mounted" 0.0;
22409                inherit: "visible" 0.0;
22410                image.normal: "icon_efm_vol_mounted.png";
22411             }
22412          }
22413          part {
22414             name: "dnd_action";
22415             type: IMAGE;
22416             mouse_events: 0;
22417             repeat_events: 0;
22418             description {
22419                state: "default" 0.0;
22420                color: 0 0 0 0;
22421             }
22422             description {
22423                state: "visible" 0.0;
22424                aspect: 1.0 1.0;
22425                aspect_preference: BOTH;
22426                align: 1.0 1.0;
22427                rel1 {
22428                   relative: 0.75 0.0;
22429                }
22430                rel2 {
22431                   relative: 1.0 1.0;
22432                }
22433             }
22434             description {
22435                state: "copy" 0.0;
22436                inherit: "visible" 0.0;
22437                image {
22438                   normal: "icon_efm_dnd_copy.png";
22439                }
22440             }
22441             description {
22442                state: "ask" 0.0;
22443                inherit: "visible" 0.0;
22444                image {
22445                   normal: "icon_efm_dnd_ask.png";
22446                }
22447             }
22448             description {
22449                state: "move" 0.0;
22450                inherit: "visible" 0.0;
22451                image {
22452                   normal: "icon_efm_dnd_move.png";
22453                }
22454             }
22455          }
22456          part {
22457             name: "event";
22458             type: RECT;
22459             description {
22460                state: "default" 0.0;
22461                color: 0 0 0 0;
22462             }
22463          }
22464          part {
22465             name: "e.swallow.entry";
22466             type: SWALLOW;
22467             description {
22468                state: "default" 0.0;
22469                rel1.to: "e.text.label";
22470                rel2.to: "e.text.label";
22471             }
22472          }
22473       }
22474       programs {
22475          program {
22476             name: "go_active";
22477             signal: "e,state,selected";
22478             source: "e";
22479             action: STATE_SET "selected" 0.0;
22480             target: "bg";
22481             target: "fg1";
22482             target: "fg2";
22483             target: "e.text.label";
22484          }
22485          program {
22486             name: "go_passive";
22487             signal: "e,state,unselected";
22488             source: "e";
22489             action: STATE_SET "default" 0.0;
22490             target: "bg";
22491             target: "fg1";
22492             target: "fg2";
22493             target: "e.text.label";
22494             transition: LINEAR 0.1;
22495          }
22496          program {
22497             name: "ask";
22498             signal: "e,state,ask";
22499             source: "e";
22500             action: STATE_SET "ask" 0.0;
22501             target: "dnd_action";
22502          }
22503          program {
22504             name: "move";
22505             signal: "e,state,move";
22506             source: "e";
22507             action: STATE_SET "move" 0.0;
22508             target: "dnd_action";
22509          }
22510          program {
22511             name: "copy";
22512             signal: "e,state,copy";
22513             source: "e";
22514             action: STATE_SET "copy" 0.0;
22515             target: "dnd_action";
22516          }
22517          program {
22518             name: "vol_off";
22519             signal: "e,state,volume,off";
22520             source: "e";
22521             action: STATE_SET "default" 0.0;
22522             target: "vol_state";
22523          }
22524          program {
22525             name: "vol_unmounted";
22526             signal: "e,state,volume,unmounted";
22527             source: "e";
22528             action: STATE_SET "unmounted" 0.0;
22529             target: "vol_state";
22530          }
22531          program {
22532             name: "vol_mounted";
22533             signal: "e,state,volume,mounted";
22534             source: "e";
22535             action: STATE_SET "mounted" 0.0;
22536             target: "vol_state";
22537          }
22538          program {
22539             name: "thumb_gen";
22540             signal: "e,action,thumb,gen";
22541             source: "e";
22542             action: STATE_SET "visible" 0.0;
22543             target: "icon_box_shadow";
22544             target: "icon_box";
22545             target: "icon_box_bg";
22546             after: "thumb_gen2";
22547          }
22548          program {
22549             name: "thumb_gen-";
22550             signal: "e,action,thumb,gen,alpha";
22551             source: "e";
22552             action: STATE_SET "default" 0.0;
22553             target: "icon_box_shadow";
22554             target: "icon_box";
22555             target: "icon_box_bg";
22556             after: "thumb_gen2";
22557          }
22558          program {
22559             name: "thumb_gen2";
22560             action: STATE_SET "min" 0.0;
22561             target: "icon";
22562             after: "thumb_gen3";
22563          }
22564          program {
22565             name: "thumb_gen3";
22566             action: STATE_SET "max" 0.0;
22567             target: "icon";
22568             transition: DECELERATE 0.2;
22569             after: "thumb_gen4";
22570          }
22571          program {
22572             name: "thumb_gen4";
22573             action: STATE_SET "default" 0.0;
22574             target: "icon";
22575             transition: SINUSOIDAL 0.1;
22576             after: "thumb_gen5";
22577          }
22578          program {
22579             name: "thumb_gen5";
22580             action: STATE_SET "max2" 0.0;
22581             target: "icon";
22582             transition: SINUSOIDAL 0.2;
22583             after: "thumb_gen6";
22584          }
22585          program {
22586             name: "thumb_gen6";
22587             action: STATE_SET "default" 0.0;
22588             target: "icon";
22589             transition: SINUSOIDAL 0.3;
22590          }
22591       }
22592    }
22593    group {
22594       name: "e/fileman/default/list/fixed";
22595       alias: "e/fileman/desktop/list/fixed";
22596       data.item: "stacking" "above";
22597       data.item: "selectraise" "on";
22598       images {
22599          image: "bt_sm_base1.png" COMP;
22600          image: "bt_sm_shine.png" COMP;
22601          image: "bt_sm_hilight.png" COMP;
22602          image: "ilist_1.png" COMP;
22603          image: "ilist_item_shadow.png" COMP;
22604          image: "e17_mini_button_shadow2.png" COMP;
22605          image: "e17_fileman_thumb_bg.png" COMP;
22606          image: "icon_efm_dnd_copy.png" COMP;
22607          image: "icon_efm_dnd_ask.png" COMP;
22608          image: "icon_efm_dnd_move.png" COMP;
22609          image: "icon_efm_vol_unmounted.png" COMP;
22610          image: "icon_efm_vol_mounted.png" COMP;
22611       }
22612       parts {
22613          part {
22614             name: "base_sh";
22615             mouse_events: 0;
22616             description {
22617                state: "default" 0.0;
22618                fixed: 1 1;
22619                // aspect: 6.4 6.4;
22620                // aspect_preference: HORIZONTAL;
22621                align: 0.0 0.0;
22622                min: 0 10;
22623                rel1 {
22624                   to: "base";
22625                   relative: 0.0 1.0;
22626                   offset: 0 0;
22627                }
22628                rel2 {
22629                   to: "base";
22630                   relative: 1.0 1.0;
22631                   offset: -1 0;
22632                }
22633                image {
22634                   normal: "ilist_item_shadow.png";
22635                }
22636                fill.smooth: 0;
22637             }
22638          }
22639          part {
22640             name: "base";
22641             mouse_events: 0;
22642             description {
22643                state: "default" 0.0;
22644                color_class: "ilist_item_base";
22645                image {
22646                   normal: "ilist_1.png";
22647                   border: 2 2 2 2;
22648                }
22649                fill.smooth: 0;
22650             }
22651          }
22652          part {
22653             name: "bg";
22654             mouse_events: 0;
22655             description {
22656                state: "default" 0.0;
22657                visible: 0;
22658                color: 255 255 255 0;
22659                rel1 {
22660                   relative: 0.0 0.0;
22661                   offset: -5 -5;
22662                }
22663                rel2 {
22664                   relative: 1.0 1.0;
22665                   offset: 4 4;
22666                }
22667                image {
22668                   normal: "bt_sm_base1.png";
22669                   border: 6 6 6 6;
22670                }
22671             }
22672             description {
22673                state: "selected" 0.0;
22674                inherit: "default" 0.0;
22675                visible: 1;
22676                color: 255 255 255 255;
22677                rel1 {
22678                   relative: 0.0 0.0;
22679                   offset: -2 -2;
22680                }
22681                rel2 {
22682                   relative: 1.0 1.0;
22683                   offset: 1 1;
22684                }
22685             }
22686          }
22687          part {
22688             name: "icon_box_shadow";
22689             mouse_events: 0;
22690             description {
22691                state: "default" 0.0;
22692                visible: 0;
22693                rel1 {
22694                   to: "icon_box";
22695                   relative: 0.0 0.0;
22696                   offset: -1 -1;
22697                }
22698                rel2 {
22699                   to: "icon_box";
22700                   relative: 1.0 1.0;
22701                   offset: 2 2;
22702                }
22703                image {
22704                   normal: "e17_mini_button_shadow2.png";
22705                   border: 6 6 6 6;
22706                }
22707             }
22708             description {
22709                state: "visible" 0.0;
22710                inherit: "default" 0.0;
22711                visible: 1;
22712             }
22713          }
22714          part {
22715             name: "icon_box";
22716             type: RECT;
22717             mouse_events: 0;
22718             description {
22719                state: "default" 0.0;
22720                visible: 0;
22721                align: 0.5 0.5;
22722                rel1 {
22723                   to: "e.swallow.icon";
22724                   relative: 0.0 0.0;
22725                   offset: -1 -1;
22726                }
22727                rel2 {
22728                   to: "e.swallow.icon";
22729                   relative: 1.0 1.0;
22730                   offset: 0 0;
22731                }
22732                color: 0 0 0 64;
22733             }
22734             description {
22735                state: "visible" 0.0;
22736                inherit: "default" 0.0;
22737                visible: 1;
22738             }
22739          }
22740          part {
22741             name: "icon_box_bg";
22742             mouse_events: 0;
22743             description {
22744                state: "default" 0.0;
22745                visible: 0;
22746                rel1 {
22747                   to: "icon_box";
22748                   relative: 0.0 0.0;
22749                   offset: 1 1;
22750                }
22751                rel2 {
22752                   to: "icon_box";
22753                   relative: 1.0 1.0;
22754                   offset: -2 -2;
22755                }
22756                image {
22757                   normal: "e17_fileman_thumb_bg.png";
22758                }
22759                fill {
22760                   smooth: 0;
22761                   size {
22762                      relative: 0 0;
22763                      offset: 32 32;
22764                   }
22765                }
22766             }
22767             description {
22768                state: "visible" 0.0;
22769                inherit: "default" 0.0;
22770                visible: 1;
22771             }
22772          }
22773          part {
22774             name: "icon0";
22775             type: RECT;
22776             mouse_events: 0;
22777             description {
22778                state: "default" 0.0;
22779                align: 0.0 0.5;
22780                aspect: 1.0 1.0;
22781                aspect_preference: VERTICAL;
22782                visible: 0;
22783                rel1 {
22784                   relative: 0.0  0.0;
22785                   offset: 4    4;
22786                }
22787                rel2 {
22788                   relative: 0.0  1.0;
22789                   offset: 4   -5;
22790                }
22791                color: 0 0 0 0;
22792             }
22793          }
22794          part {
22795             name: "icon";
22796             type: RECT;
22797             mouse_events: 0;
22798             description {
22799                state: "default" 0.0;
22800                align: 0.5 0.5;
22801                aspect: 1.0 1.0;
22802                aspect_preference: BOTH;
22803                visible: 0;
22804                rel1 {
22805                   to: "icon0";
22806                }
22807                rel2 {
22808                   to: "icon0";
22809                }
22810                color: 0 0 0 0;
22811             }
22812             description {
22813                state: "min" 0.0;
22814                inherit: "default" 0.0;
22815                max: 0 0;
22816             }
22817             description {
22818                state: "max" 0.0;
22819                inherit: "default" 0.0;
22820                rel1 {
22821                   to: "icon0";
22822                   relative: 0.0  0.0;
22823                   offset: -4   -4;
22824                }
22825                rel2 {
22826                   to: "icon0";
22827                   relative: 1.0  1.0;
22828                   offset: 3    3;
22829                }
22830             }
22831             description {
22832                state: "max2" 0.0;
22833                inherit: "default" 0.0;
22834                rel1 {
22835                   to: "icon0";
22836                   relative: 0.0  0.0;
22837                   offset: -2   -2;
22838                }
22839                rel2 {
22840                   to: "icon0";
22841                   relative: 1.0  1.0;
22842                   offset: 1    1;
22843                }
22844             }
22845          }
22846          part {
22847             name: "e.swallow.icon";
22848             type: SWALLOW;
22849             description {
22850                state: "default" 0.0;
22851                align: 0.5 0.5;
22852                // fixed: 1 1;
22853                rel1 {
22854                   to: "icon";
22855                }
22856                rel2 {
22857                   to: "icon";
22858                }
22859             }
22860          }
22861          part {
22862             name: "e.text.label";
22863             type: TEXT;
22864             effect: SOFT_SHADOW;
22865             mouse_events: 0;
22866             scale: 1;
22867             description {
22868                state: "default" 0.0;
22869                min: 16 16;
22870                rel1 {
22871                   to_x: "icon0";
22872                   relative: 1.0  0.0;
22873                   offset: 4 4;
22874                }
22875                rel2 {
22876                   relative: 1.0  1.0;
22877                   offset: -5 -5;
22878                }
22879                color_class: "ilist_item";
22880                text {
22881                   font: "Sans";
22882                   size: 10;
22883                   min: 0 1;
22884                   align: 0.0 0.5;
22885                   text_class: "ilist_item";
22886                }
22887             }
22888             description {
22889                state: "selected" 0.0;
22890                inherit: "default" 0.0;
22891                color_class: "ilist_item_selected";
22892             }
22893          }
22894          part {
22895             name: "fg1";
22896             mouse_events: 0;
22897             description {
22898                state: "default" 0.0;
22899                visible: 0;
22900                color: 255 255 255 0;
22901                rel1.to: "bg";
22902                rel2.relative: 1.0 0.5;
22903                rel2.to: "bg";
22904                image {
22905                   normal: "bt_sm_hilight.png";
22906                   border: 6 6 6 0;
22907                }
22908             }
22909             description {
22910                state: "selected" 0.0;
22911                inherit: "default" 0.0;
22912                visible: 1;
22913                color: 255 255 255 255;
22914             }
22915          }
22916          part {
22917             name: "fg2";
22918             mouse_events: 0;
22919             description {
22920                state: "default" 0.0;
22921                visible: 0;
22922                color: 255 255 255 0;
22923                rel1.to: "bg";
22924                rel2.to: "bg";
22925                image {
22926                   normal: "bt_sm_shine.png";
22927                   border: 6 6 6 0;
22928                }
22929             }
22930             description {
22931                state: "selected" 0.0;
22932                inherit: "default" 0.0;
22933                visible: 1;
22934                color: 255 255 255 255;
22935             }
22936          }
22937          part {
22938             name: "vol_state";
22939             type: IMAGE;
22940             mouse_events: 0;
22941             repeat_events: 0;
22942             description {
22943                state: "default" 0.0;
22944                color: 0 0 0 0;
22945             }
22946             description {
22947                state: "visible" 0.0;
22948                aspect: 1.0 1.0;
22949                aspect_preference: BOTH;
22950                align: 1.0 1.0;
22951                rel1 {
22952                   relative: 0.5 0.0;
22953                   to: "icon";
22954                }
22955                rel2 {
22956                   relative: 1.0 1.0;
22957                   to: "icon";
22958                }
22959             }
22960             description {
22961                state: "unmounted" 0.0;
22962                inherit: "visible" 0.0;
22963                image.normal: "icon_efm_vol_unmounted.png";
22964             }
22965             description {
22966                state: "mounted" 0.0;
22967                inherit: "visible" 0.0;
22968                image.normal: "icon_efm_vol_mounted.png";
22969             }
22970          }
22971          part {
22972             name: "dnd_action";
22973             type: IMAGE;
22974             mouse_events: 0;
22975             repeat_events: 0;
22976             description {
22977                state: "default" 0.0;
22978                color: 0 0 0 0;
22979             }
22980             description {
22981                state: "visible" 0.0;
22982                aspect: 1.0 1.0;
22983                aspect_preference: BOTH;
22984                align: 1.0 1.0;
22985                rel1 {
22986                   relative: 0.75 0.0;
22987                }
22988                rel2 {
22989                   relative: 1.0 1.0;
22990                }
22991             }
22992             description {
22993                state: "copy" 0.0;
22994                inherit: "visible" 0.0;
22995                image {
22996                   normal: "icon_efm_dnd_copy.png";
22997                }
22998             }
22999             description {
23000                state: "ask" 0.0;
23001                inherit: "visible" 0.0;
23002                image {
23003                   normal: "icon_efm_dnd_ask.png";
23004                }
23005             }
23006             description {
23007                state: "move" 0.0;
23008                inherit: "visible" 0.0;
23009                image {
23010                   normal: "icon_efm_dnd_move.png";
23011                }
23012             }
23013          }
23014          part {
23015             name: "event";
23016             type: RECT;
23017             description {
23018                state: "default" 0.0;
23019                color: 0 0 0 0;
23020             }
23021          }
23022          part {
23023             name: "e.swallow.entry";
23024             type: SWALLOW;
23025             description {
23026                state: "default" 0.0;
23027                rel1.to: "e.text.label";
23028                rel2.to: "e.text.label";
23029             }
23030          }
23031       }
23032       programs {
23033          program {
23034             name: "go_active";
23035             signal: "e,state,selected";
23036             source: "e";
23037             action: STATE_SET "selected" 0.0;
23038             target: "bg";
23039             target: "fg1";
23040             target: "fg2";
23041             target: "e.text.label";
23042          }
23043          program {
23044             name: "go_passive";
23045             signal: "e,state,unselected";
23046             source: "e";
23047             action: STATE_SET "default" 0.0;
23048             target: "bg";
23049             target: "fg1";
23050             target: "fg2";
23051             target: "e.text.label";
23052             transition: LINEAR 0.1;
23053          }
23054          program {
23055             name: "ask";
23056             signal: "e,state,ask";
23057             source: "e";
23058             action: STATE_SET "ask" 0.0;
23059             target: "dnd_action";
23060          }
23061          program {
23062             name: "move";
23063             signal: "e,state,move";
23064             source: "e";
23065             action: STATE_SET "move" 0.0;
23066             target: "dnd_action";
23067          }
23068          program {
23069             name: "copy";
23070             signal: "e,state,copy";
23071             source: "e";
23072             action: STATE_SET "copy" 0.0;
23073             target: "dnd_action";
23074          }
23075          program {
23076             name: "vol_off";
23077             signal: "e,state,volume,off";
23078             source: "e";
23079             action: STATE_SET "default" 0.0;
23080             target: "vol_state";
23081          }
23082          program {
23083             name: "vol_unmounted";
23084             signal: "e,state,volume,unmounted";
23085             source: "e";
23086             action: STATE_SET "unmounted" 0.0;
23087             target: "vol_state";
23088          }
23089          program {
23090             name: "vol_mounted";
23091             signal: "e,state,volume,mounted";
23092             source: "e";
23093             action: STATE_SET "mounted" 0.0;
23094             target: "vol_state";
23095          }
23096          program {
23097             name: "thumb_gen";
23098             signal: "e,action,thumb,gen";
23099             source: "e";
23100             action: STATE_SET "visible" 0.0;
23101             target: "icon_box_shadow";
23102             target: "icon_box";
23103             target: "icon_box_bg";
23104             after: "thumb_gen2";
23105          }
23106          program {
23107             name: "thumb_gen-";
23108             signal: "e,action,thumb,gen,alpha";
23109             source: "e";
23110             action: STATE_SET "default" 0.0;
23111             target: "icon_box_shadow";
23112             target: "icon_box";
23113             target: "icon_box_bg";
23114             after: "thumb_gen2";
23115          }
23116          program {
23117             name: "thumb_gen2";
23118             action: STATE_SET "min" 0.0;
23119             target: "icon";
23120             after: "thumb_gen3";
23121          }
23122          program {
23123             name: "thumb_gen3";
23124             action: STATE_SET "max" 0.0;
23125             target: "icon";
23126             transition: DECELERATE 0.2;
23127             after: "thumb_gen4";
23128          }
23129          program {
23130             name: "thumb_gen4";
23131             action: STATE_SET "default" 0.0;
23132             target: "icon";
23133             transition: SINUSOIDAL 0.1;
23134             after: "thumb_gen5";
23135          }
23136          program {
23137             name: "thumb_gen5";
23138             action: STATE_SET "max2" 0.0;
23139             target: "icon";
23140             transition: SINUSOIDAL 0.2;
23141             after: "thumb_gen6";
23142          }
23143          program {
23144             name: "thumb_gen6";
23145             action: STATE_SET "default" 0.0;
23146             target: "icon";
23147             transition: SINUSOIDAL 0.3;
23148          }
23149       }
23150    }
23151    group {
23152       name: "e/fileman/default/list_odd/fixed";
23153       alias: "e/fileman/desktop/list_odd/fixed";
23154       data.item: "stacking" "below";
23155       data.item: "selectraise" "on";
23156       images {
23157          image: "bt_sm_base1.png" COMP;
23158          image: "bt_sm_shine.png" COMP;
23159          image: "bt_sm_hilight.png" COMP;
23160          image: "ilist_2.png" COMP;
23161          image: "ilist_item_shadow.png" COMP;
23162          image: "e17_mini_button_shadow2.png" COMP;
23163          image: "e17_fileman_thumb_bg.png" COMP;
23164          image: "icon_efm_dnd_copy.png" COMP;
23165          image: "icon_efm_dnd_ask.png" COMP;
23166          image: "icon_efm_dnd_move.png" COMP;
23167          image: "icon_efm_vol_unmounted.png" COMP;
23168          image: "icon_efm_vol_mounted.png" COMP;
23169       }
23170       parts {
23171          part {
23172             name: "base_sh";
23173             mouse_events: 0;
23174             description {
23175                state: "default" 0.0;
23176                // aspect: 6.4 6.4;
23177                // aspect_preference: HORIZONTAL;
23178                align: 0.0 0.0;
23179                min: 0 10;
23180                rel1 {
23181                   to: "base";
23182                   relative: 0.0 1.0;
23183                   offset: 0 0;
23184                }
23185                rel2 {
23186                   to: "base";
23187                   relative: 1.0 1.0;
23188                   offset: -1 0;
23189                }
23190                image {
23191                   normal: "ilist_item_shadow.png";
23192                }
23193                fill.smooth: 0;
23194             }
23195          }
23196          part {
23197             name: "base";
23198             mouse_events: 0;
23199             description {
23200                state: "default" 0.0;
23201                color_class: "ilist_item_odd_base";
23202                image {
23203                   normal: "ilist_2.png";
23204                   border: 2 2 2 2;
23205                }
23206                fill.smooth: 0;
23207             }
23208          }
23209          part {
23210             name: "bg";
23211             mouse_events: 0;
23212             description {
23213                state: "default" 0.0;
23214                visible: 0;
23215                color: 255 255 255 0;
23216                rel1 {
23217                   relative: 0.0 0.0;
23218                   offset: -5 -5;
23219                }
23220                rel2 {
23221                   relative: 1.0 1.0;
23222                   offset: 4 4;
23223                }
23224                image {
23225                   normal: "bt_sm_base1.png";
23226                   border: 6 6 6 6;
23227                }
23228             }
23229             description {
23230                state: "selected" 0.0;
23231                inherit: "default" 0.0;
23232                visible: 1;
23233                color: 255 255 255 255;
23234                rel1 {
23235                   relative: 0.0 0.0;
23236                   offset: -2 -2;
23237                }
23238                rel2 {
23239                   relative: 1.0 1.0;
23240                   offset: 1 1;
23241                }
23242             }
23243          }
23244          part {
23245             name: "icon_box_shadow";
23246             mouse_events: 0;
23247             description {
23248                state: "default" 0.0;
23249                visible: 0;
23250                rel1 {
23251                   to: "icon_box";
23252                   relative: 0.0 0.0;
23253                   offset: -1 -1;
23254                }
23255                rel2 {
23256                   to: "icon_box";
23257                   relative: 1.0 1.0;
23258                   offset: 2 2;
23259                }
23260                image {
23261                   normal: "e17_mini_button_shadow2.png";
23262                   border: 6 6 6 6;
23263                }
23264             }
23265             description {
23266                state: "visible" 0.0;
23267                inherit: "default" 0.0;
23268                visible: 1;
23269             }
23270          }
23271          part {
23272             name: "icon_box";
23273             type: RECT;
23274             mouse_events: 0;
23275             description {
23276                state: "default" 0.0;
23277                visible: 0;
23278                align: 0.5 0.5;
23279                rel1 {
23280                   to: "e.swallow.icon";
23281                   relative: 0.0 0.0;
23282                   offset: -1 -1;
23283                }
23284                rel2 {
23285                   to: "e.swallow.icon";
23286                   relative: 1.0 1.0;
23287                   offset: 0 0;
23288                }
23289                color: 0 0 0 64;
23290             }
23291             description {
23292                state: "visible" 0.0;
23293                inherit: "default" 0.0;
23294                visible: 1;
23295             }
23296          }
23297          part {
23298             name: "icon_box_bg";
23299             mouse_events: 0;
23300             description {
23301                state: "default" 0.0;
23302                visible: 0;
23303                rel1 {
23304                   to: "icon_box";
23305                   relative: 0.0 0.0;
23306                   offset: 1 1;
23307                }
23308                rel2 {
23309                   to: "icon_box";
23310                   relative: 1.0 1.0;
23311                   offset: -2 -2;
23312                }
23313                image {
23314                   normal: "e17_fileman_thumb_bg.png";
23315                }
23316                fill {
23317                   smooth: 0;
23318                   size {
23319                      relative: 0 0;
23320                      offset: 32 32;
23321                   }
23322                }
23323             }
23324             description {
23325                state: "visible" 0.0;
23326                inherit: "default" 0.0;
23327                visible: 1;
23328             }
23329          }
23330          part {
23331             name: "icon0";
23332             type: RECT;
23333             mouse_events: 0;
23334             description {
23335                state: "default" 0.0;
23336                align: 0.0 0.5;
23337                aspect: 1.0 1.0;
23338                aspect_preference: VERTICAL;
23339                visible: 0;
23340                rel1 {
23341                   relative: 0.0  0.0;
23342                   offset: 4    4;
23343                }
23344                rel2 {
23345                   relative: 0.0  1.0;
23346                   offset: 4   -5;
23347                }
23348                color: 0 0 0 0;
23349             }
23350          }
23351          part {
23352             name: "icon";
23353             type: RECT;
23354             mouse_events: 0;
23355             description {
23356                state: "default" 0.0;
23357                align: 0.5 0.5;
23358                aspect: 1.0 1.0;
23359                aspect_preference: BOTH;
23360                visible: 0;
23361                rel1 {
23362                   to: "icon0";
23363                }
23364                rel2 {
23365                   to: "icon0";
23366                }
23367                color: 0 0 0 0;
23368             }
23369             description {
23370                state: "min" 0.0;
23371                inherit: "default" 0.0;
23372                max: 0 0;
23373             }
23374             description {
23375                state: "max" 0.0;
23376                inherit: "default" 0.0;
23377                rel1 {
23378                   to: "icon0";
23379                   relative: 0.0  0.0;
23380                   offset: -4   -4;
23381                }
23382                rel2 {
23383                   to: "icon0";
23384                   relative: 1.0  1.0;
23385                   offset: 3    3;
23386                }
23387             }
23388             description {
23389                state: "max2" 0.0;
23390                inherit: "default" 0.0;
23391                rel1 {
23392                   to: "icon0";
23393                   relative: 0.0  0.0;
23394                   offset: -2   -2;
23395                }
23396                rel2 {
23397                   to: "icon0";
23398                   relative: 1.0  1.0;
23399                   offset: 1    1;
23400                }
23401             }
23402          }
23403          part {
23404             name: "e.swallow.icon";
23405             type: SWALLOW;
23406             description {
23407                state: "default" 0.0;
23408                align: 0.5 0.5;
23409                // fixed: 1 1;
23410                rel1 {
23411                   to: "icon";
23412                }
23413                rel2 {
23414                   to: "icon";
23415                }
23416             }
23417          }
23418          part {
23419             name: "e.text.label";
23420             type: TEXT;
23421             effect: SOFT_SHADOW;
23422             mouse_events: 0;
23423             scale: 1;
23424             description {
23425                state: "default" 0.0;
23426                min: 16 16;
23427                rel1 {
23428                   to_x: "icon0";
23429                   relative: 1.0  0.0;
23430                   offset: 4 4;
23431                }
23432                rel2 {
23433                   relative: 1.0  1.0;
23434                   offset: -5 -5;
23435                }
23436                color_class: "ilist_item_odd";
23437                text {
23438                   font: "Sans";
23439                   size: 10;
23440                   min: 0 1;
23441                   align: 0.0 0.5;
23442                   text_class: "ilist_item";
23443                }
23444             }
23445             description {
23446                state: "selected" 0.0;
23447                inherit: "default" 0.0;
23448                color_class: "ilist_item_selected";
23449             }
23450          }
23451          part {
23452             name: "fg1";
23453             mouse_events: 0;
23454             description {
23455                state: "default" 0.0;
23456                visible: 0;
23457                color: 255 255 255 0;
23458                rel1.to: "bg";
23459                rel2.relative: 1.0 0.5;
23460                rel2.to: "bg";
23461                image {
23462                   normal: "bt_sm_hilight.png";
23463                   border: 6 6 6 0;
23464                }
23465             }
23466             description {
23467                state: "selected" 0.0;
23468                inherit: "default" 0.0;
23469                visible: 1;
23470                color: 255 255 255 255;
23471             }
23472          }
23473          part {
23474             name: "fg2";
23475             mouse_events: 0;
23476             description {
23477                state: "default" 0.0;
23478                visible: 0;
23479                color: 255 255 255 0;
23480                rel1.to: "bg";
23481                rel2.to: "bg";
23482                image {
23483                   normal: "bt_sm_shine.png";
23484                   border: 6 6 6 0;
23485                }
23486             }
23487             description {
23488                state: "selected" 0.0;
23489                inherit: "default" 0.0;
23490                visible: 1;
23491                color: 255 255 255 255;
23492             }
23493          }
23494          part {
23495             name: "vol_state";
23496             type: IMAGE;
23497             mouse_events: 0;
23498             repeat_events: 0;
23499             description {
23500                state: "default" 0.0;
23501                color: 0 0 0 0;
23502             }
23503             description {
23504                state: "visible" 0.0;
23505                aspect: 1.0 1.0;
23506                aspect_preference: BOTH;
23507                align: 1.0 1.0;
23508                rel1 {
23509                   relative: 0.5 0.0;
23510                   to: "icon";
23511                }
23512                rel2 {
23513                   relative: 1.0 1.0;
23514                   to: "icon";
23515                }
23516             }
23517             description {
23518                state: "unmounted" 0.0;
23519                inherit: "visible" 0.0;
23520                image.normal: "icon_efm_vol_unmounted.png";
23521             }
23522             description {
23523                state: "mounted" 0.0;
23524                inherit: "visible" 0.0;
23525                image.normal: "icon_efm_vol_mounted.png";
23526             }
23527          }
23528          part {
23529             name: "dnd_action";
23530             type: IMAGE;
23531             mouse_events: 0;
23532             repeat_events: 0;
23533             description {
23534                state: "default" 0.0;
23535                color: 0 0 0 0;
23536             }
23537             description {
23538                state: "visible" 0.0;
23539                aspect: 1.0 1.0;
23540                aspect_preference: BOTH;
23541                align: 1.0 1.0;
23542                rel1 {
23543                   relative: 0.75 0.0;
23544                }
23545                rel2 {
23546                   relative: 1.0 1.0;
23547                }
23548             }
23549             description {
23550                state: "copy" 0.0;
23551                inherit: "visible" 0.0;
23552                image {
23553                   normal: "icon_efm_dnd_copy.png";
23554                }
23555             }
23556             description {
23557                state: "ask" 0.0;
23558                inherit: "visible" 0.0;
23559                image {
23560                   normal: "icon_efm_dnd_ask.png";
23561                }
23562             }
23563             description {
23564                state: "move" 0.0;
23565                inherit: "visible" 0.0;
23566                image {
23567                   normal: "icon_efm_dnd_move.png";
23568                }
23569             }
23570          }
23571          part {
23572             name: "event";
23573             type: RECT;
23574             description {
23575                state: "default" 0.0;
23576                color: 0 0 0 0;
23577             }
23578          }
23579          part {
23580             name: "e.swallow.entry";
23581             type: SWALLOW;
23582             description {
23583                state: "default" 0.0;
23584                rel1.to: "e.text.label";
23585                rel2.to: "e.text.label";
23586             }
23587          }
23588       }
23589       programs {
23590          program {
23591             name: "go_active";
23592             signal: "e,state,selected";
23593             source: "e";
23594             action: STATE_SET "selected" 0.0;
23595             target: "bg";
23596             target: "fg1";
23597             target: "fg2";
23598             target: "e.text.label";
23599          }
23600          program {
23601             name: "go_passive";
23602             signal: "e,state,unselected";
23603             source: "e";
23604             action: STATE_SET "default" 0.0;
23605             target: "bg";
23606             target: "fg1";
23607             target: "fg2";
23608             target: "e.text.label";
23609             transition: LINEAR 0.1;
23610          }
23611          program {
23612             name: "ask";
23613             signal: "e,state,ask";
23614             source: "e";
23615             action: STATE_SET "ask" 0.0;
23616             target: "dnd_action";
23617          }
23618          program {
23619             name: "move";
23620             signal: "e,state,move";
23621             source: "e";
23622             action: STATE_SET "move" 0.0;
23623             target: "dnd_action";
23624          }
23625          program {
23626             name: "copy";
23627             signal: "e,state,copy";
23628             source: "e";
23629             action: STATE_SET "copy" 0.0;
23630             target: "dnd_action";
23631          }
23632          program {
23633             name: "vol_off";
23634             signal: "e,state,volume,off";
23635             source: "e";
23636             action: STATE_SET "default" 0.0;
23637             target: "vol_state";
23638          }
23639          program {
23640             name: "vol_unmounted";
23641             signal: "e,state,volume,unmounted";
23642             source: "e";
23643             action: STATE_SET "unmounted" 0.0;
23644             target: "vol_state";
23645          }
23646          program {
23647             name: "vol_mounted";
23648             signal: "e,state,volume,mounted";
23649             source: "e";
23650             action: STATE_SET "mounted" 0.0;
23651             target: "vol_state";
23652          }
23653          program {
23654             name: "thumb_gen";
23655             signal: "e,action,thumb,gen";
23656             source: "e";
23657             action: STATE_SET "visible" 0.0;
23658             target: "icon_box_shadow";
23659             target: "icon_box";
23660             target: "icon_box_bg";
23661             after: "thumb_gen2";
23662          }
23663          program {
23664             name: "thumb_gen-";
23665             signal: "e,action,thumb,gen,alpha";
23666             source: "e";
23667             action: STATE_SET "default" 0.0;
23668             target: "icon_box_shadow";
23669             target: "icon_box";
23670             target: "icon_box_bg";
23671             after: "thumb_gen2";
23672          }
23673          program {
23674             name: "thumb_gen2";
23675             action: STATE_SET "min" 0.0;
23676             target: "icon";
23677             after: "thumb_gen3";
23678          }
23679          program {
23680             name: "thumb_gen3";
23681             action: STATE_SET "max" 0.0;
23682             target: "icon";
23683             transition: DECELERATE 0.2;
23684             after: "thumb_gen4";
23685          }
23686          program {
23687             name: "thumb_gen4";
23688             action: STATE_SET "default" 0.0;
23689             target: "icon";
23690             transition: SINUSOIDAL 0.1;
23691             after: "thumb_gen5";
23692          }
23693          program {
23694             name: "thumb_gen5";
23695             action: STATE_SET "max2" 0.0;
23696             target: "icon";
23697             transition: SINUSOIDAL 0.2;
23698             after: "thumb_gen6";
23699          }
23700          program {
23701             name: "thumb_gen6";
23702             action: STATE_SET "default" 0.0;
23703             target: "icon";
23704             transition: SINUSOIDAL 0.3;
23705          }
23706       }
23707    }
23708
23709
23710 /////////////////////////////////////////////////////////////////////////////
23711 /*** SYSTEM ***/
23712
23713    group {
23714       name: "e/sys/logout";
23715       alias: "e/sys/halt";
23716       alias: "e/sys/reboot";
23717       alias: "e/sys/suspend";
23718       alias: "e/sys/hibernate";
23719       data.item: "borderless" "1";
23720       // data.item: "shaped" "1";
23721       images {
23722          image: "vgrad_dark.png" COMP;
23723          image: "shelf_alt_over.png" COMP;
23724          image: "logo_white_128.png" COMP;
23725          image: "busy-1.png" COMP;
23726          image: "busy-2.png" COMP;
23727          image: "busy-3.png" COMP;
23728          image: "busy-4.png" COMP;
23729          image: "busy-5.png" COMP;
23730          image: "busy-6.png" COMP;
23731          image: "busy-7.png" COMP;
23732          image: "busy-8.png" COMP;
23733          image: "busy-9.png" COMP;
23734       }
23735       styles {
23736          style {
23737             name: "sys_style";
23738             base: "font=Sans:style=Bold font_size=12 text_class=tb_plain align=center color=#fff style=soft_shadow shadow_color=#0000001f wrap=word";
23739             tag: "br" "\n";
23740             tag: "hilight" "+ font=Sans:style=Bold text_class=tb_light";
23741          }
23742       }
23743       parts {
23744          part {
23745             name: "base";
23746             mouse_events: 0;
23747             description {
23748                state: "default" 0.0;
23749                min: 250 250;
23750                image.normal: "vgrad_dark.png";
23751                fill {
23752                   size {
23753                      relative: 0 1.0;
23754                      offset: 36 0;
23755                   }
23756                }
23757             }
23758          }
23759          part {
23760             name: "over";
23761             mouse_events: 0;
23762             description {
23763                state: "default" 0.0;
23764                image.normal: "shelf_alt_over.png";
23765                image.border: 5 5 5 5;
23766                image.middle: 0;
23767                fill.smooth: 0;
23768             }
23769          }
23770          part {
23771             name: "busy";
23772             mouse_events: 0;
23773             description {
23774                state: "default" 0.0;
23775                min: 32 32;
23776                max: 32 32;
23777                aspect: 1.0 1.0;
23778                align: 0.5 0.0;
23779                aspect_preference: BOTH;
23780                rel1 {
23781                   to_y: "logo";
23782                   relative: 0.0 1.0;
23783                   offset: 0 1;
23784                }
23785                rel2 {
23786                   relative: 1.0 1.0;
23787                   offset: -1 1;
23788                }
23789                image {
23790                   normal: "busy-9.png";
23791                   tween: "busy-1.png";
23792                   tween: "busy-2.png";
23793                   tween: "busy-3.png";
23794                   tween: "busy-4.png";
23795                   tween: "busy-5.png";
23796                   tween: "busy-6.png";
23797                   tween: "busy-7.png";
23798                   tween: "busy-8.png";
23799                }
23800             }
23801          }
23802          part {
23803             name: "logo";
23804             mouse_events: 0;
23805             description {
23806                state: "default" 0.0;
23807                min: 128 128;
23808                max: 128 128;
23809                align: 0.5 0.0;
23810                image.normal: "logo_white_128.png";
23811             }
23812             description {
23813                state: "done" 0.0;
23814                inherit: "default" 0.0;
23815                color: 255 255 255 0;
23816             }
23817          }
23818          part {
23819             name: "e.textblock.message";
23820             type: TEXTBLOCK;
23821             mouse_events: 0;
23822             scale: 1;
23823             description {
23824                state: "default" 0.0;
23825                rel1 {
23826                   offset: 8 8;
23827                   relative: 0.0 1.0;
23828                   to_y: "busy";
23829                }
23830                rel2.offset: -9 -9;
23831                text {
23832                   style: "sys_style";
23833                   min: 1 1;
23834                }
23835             }
23836          }
23837       }
23838       programs {
23839          program {
23840             name: "busy_anim";
23841             signal: "show";
23842             source: "";
23843             action: STATE_SET "default" 0.0;
23844             transition: LINEAR 0.3333;
23845             target: "busy";
23846             after: "busy_anim";
23847          }
23848       }
23849    }
23850
23851
23852 /////////////////////////////////////////////////////////////////////////////
23853 /*** DIALOG ***/
23854 /* Used in all dialogs eg; Wallpaper selector */
23855
23856    group {
23857       name: "e/widgets/dialog/main";
23858       images {
23859          image: "dia_grad.png" COMP;
23860          image: "dia_topshad.png" COMP;
23861          image: "dia_botshad.png" COMP;
23862          image: "menu_sep.png" COMP;
23863       }
23864       parts {
23865          part {
23866             name: "base";
23867             mouse_events: 0;
23868             description {
23869                state: "default" 0.0;
23870                color_class: "dialog_base";
23871                image.normal: "dia_grad.png";
23872                fill {
23873                   smooth: 0;
23874                   size {
23875                      relative: 0.0 1.0;
23876                      offset: 64 0;
23877                   }
23878                }
23879             }
23880          }
23881          part {
23882             name: "shadow";
23883             mouse_events: 0;
23884             description {
23885                state: "default" 0.0;
23886                rel2.relative: 1.0 0.0;
23887                rel2.offset: -1 31;
23888                image.normal: "dia_topshad.png";
23889                fill {
23890                   smooth: 0;
23891                   size {
23892                      relative: 0.0 1.0;
23893                      offset: 64 0;
23894                   }
23895                }
23896             }
23897          }
23898          part {
23899             name: "shadow2";
23900             mouse_events: 0;
23901             description {
23902                state: "default" 0.0;
23903                rel1.relative: 0.0 1.0;
23904                rel1.offset: 0 -4;
23905                image.normal: "dia_botshad.png";
23906                fill {
23907                   smooth: 0;
23908                   size {
23909                      relative: 0.0 1.0;
23910                      offset: 64 0;
23911                   }
23912                }
23913             }
23914          }
23915          part {
23916             name: "e.swallow.icon";
23917             type: SWALLOW;
23918             description {
23919                state: "default" 0.0;
23920                align: 0.0 0.5;
23921                fixed: 1 0;
23922                rel1 {
23923                   relative: 0.0 0.0;
23924                   offset: 2  2;
23925                }
23926                rel2 {
23927                   relative: 0.0 0.0;
23928                   offset: 2  -5;
23929                   to_y: "e.swallow.buttons";
23930                }
23931             }
23932          }
23933          part {
23934             name: "e.swallow.content";
23935             type: SWALLOW;
23936             description {
23937                state: "default" 0.0;
23938                rel1 {
23939                   relative: 1.0 0.0;
23940                   offset: 2   2;
23941                   to_x: "e.swallow.icon";
23942                }
23943                rel2 {
23944                   relative: 1.0 0.0;
23945                   offset: -3  -5;
23946                   to_y: "e.swallow.buttons";
23947                }
23948             }
23949          }
23950          part {
23951             name: "separator";
23952             mouse_events: 0;
23953             description {
23954                state: "default" 0.0;
23955                min: 16 2;
23956                rel1 {
23957                   relative: 0.0  1.0;
23958                   offset: 4    -1;
23959                   to_y: "e.swallow.content";
23960                }
23961                rel2 {
23962                   relative: 1.0  1.0;
23963                   offset: -5   0;
23964                   to_y: "e.swallow.content";
23965                }
23966                image {
23967                   normal: "menu_sep.png";
23968                   border: 2 2 0 0;
23969                }
23970                fill.smooth: 0;
23971             }
23972          }
23973          part {
23974             name: "e.swallow.buttons";
23975             type: SWALLOW;
23976             description {
23977                state: "default" 0.0;
23978                align: 0.5 1.0;
23979                fixed: 0 1;
23980                rel1 {
23981                   relative: 0.0 1.0;
23982                   offset: 4   -5;
23983                }
23984                rel2 {
23985                   relative: 1.0 1.0;
23986                   offset: -5  -5;
23987                }
23988             }
23989          }
23990       }
23991    }
23992    group {
23993       name: "e/widgets/dialog/text";
23994       styles {
23995          style {
23996             name: "dialog_style";
23997             base: "font=Sans font_size=10 text_class=tb_plain align=center color=#000 style=shadow shadow_color=#ffffff80 wrap=word";
23998             tag: "br" "\n";
23999             tag: "hilight" "+ font=Sans:style=Bold text_class=tb_light";
24000          }
24001       }
24002       parts {
24003          part {
24004             name: "e.textblock.message";
24005             type: TEXTBLOCK;
24006             mouse_events: 0;
24007             scale: 1;
24008             description {
24009                state: "default" 0.0;
24010                rel1.offset: 4 4;
24011                rel2.offset: -5 -5;
24012                text {
24013                   style: "dialog_style";
24014                   min: 1 1;
24015                }
24016             }
24017          }
24018       }
24019    }
24020
24021
24022 /////////////////////////////////////////////////////////////////////////////
24023 /*** CONFIGURATION PANEL ***/
24024
24025    group {
24026       name: "e/widgets/configure/main";
24027       images {
24028          image: "dia_grad.png" COMP;
24029          image: "dia_topshad.png" COMP;
24030          image: "dia_botshad.png" COMP;
24031          image: "menu_sep.png" COMP;
24032       }
24033       parts {
24034          part {
24035             name: "base";
24036             mouse_events: 0;
24037             description {
24038                state: "default" 0.0;
24039                color_class: "dialog_base";
24040                image.normal: "dia_grad.png";
24041                fill {
24042                   smooth: 0;
24043                   size {
24044                      relative: 0.0 1.0;
24045                      offset: 64 0;
24046                   }
24047                }
24048             }
24049          }
24050          part {
24051             name: "shadow";
24052             mouse_events: 0;
24053             description {
24054                state: "default" 0.0;
24055                rel2.relative: 1.0 0.0;
24056                rel2.offset: -1 31;
24057                image.normal: "dia_topshad.png";
24058                fill {
24059                   smooth: 0;
24060                   size {
24061                      relative: 0.0 1.0;
24062                      offset: 64 0;
24063                   }
24064                }
24065             }
24066          }
24067          part {
24068             name: "shadow2";
24069             mouse_events: 0;
24070             description {
24071                state: "default" 0.0;
24072                rel1.relative: 0.0 1.0;
24073                rel1.offset: 0 -4;
24074                image.normal: "dia_botshad.png";
24075                fill {
24076                   smooth: 0;
24077                   size {
24078                      relative: 0.0 1.0;
24079                      offset: 64 0;
24080                   }
24081                }
24082             }
24083          }
24084          part {
24085             name: "separator";
24086             mouse_events: 0;
24087             description {
24088                state: "default" 0.0;
24089                min: 16 2;
24090                rel1 {
24091                   relative: 0.0  1.0;
24092                   offset: 4    -1;
24093                   to_y: "e.swallow.content";
24094                }
24095                rel2 {
24096                   relative: 1.0  1.0;
24097                   offset: -5   0;
24098                   to_y: "e.swallow.content";
24099                }
24100                image {
24101                   normal: "menu_sep.png";
24102                   border: 2 2 0 0;
24103                }
24104                fill.smooth: 0;
24105             }
24106          }
24107          part {
24108             name: "e.swallow.content";
24109             type: SWALLOW;
24110             description {
24111                state: "default" 0.0;
24112                align: 0.5 0.5;
24113                min: 100 200;
24114                rel1.offset: 2 2;
24115                rel2 {
24116                   relative: 1.0 0.0;
24117                   offset: -3 -5;
24118                   to_y: "e.swallow.button";
24119                }
24120             }
24121          }
24122          part {
24123             name: "e.swallow.button";
24124             type: SWALLOW;
24125             description {
24126                state: "default" 0.0;
24127                align: 0.5 1.0;
24128                fixed: 1 1;
24129                rel1.relative: 0.5 1.0;
24130                rel2.relative: 0.5 1.0;
24131             }
24132          }
24133       }
24134    }
24135
24136
24137 /////////////////////////////////////////////////////////////////////////////
24138 /*** MOVE/RESIZE BOX ***/
24139
24140    group {
24141       name: "e/widgets/border/default/move";
24142       images {
24143          image: "base_bg.png" COMP;
24144          image: "icon_win_move.png" COMP;
24145       }
24146       parts {
24147          part {
24148             name: "base";
24149             mouse_events: 0;
24150             description {
24151                state: "default" 0.0;
24152                image {
24153                   normal: "base_bg.png";
24154                   border: 2 2 2 2;
24155                }
24156                fill.smooth: 0;
24157             }
24158          }
24159          part {
24160             name: "icon";
24161             mouse_events: 0;
24162             description {
24163                state: "default" 0.0;
24164                align: 0.0 0.5;
24165                min: 21 21;
24166                max: 21 21;
24167                fixed: 1 1;
24168                rel1.offset: 2 2;
24169                rel2.relative: 0.0 1.0;
24170                rel2.offset: 2 -3;
24171                image.normal: "icon_win_move.png";
24172             }
24173          }
24174          part {
24175             name: "e.text.label";
24176             type: TEXT;
24177             scale: 1;
24178             description {
24179                state: "default" 0.0;
24180                rel1.to_x: "icon";
24181                rel1.offset: 2 4;
24182                rel1.relative: 1.0 0.0;
24183                rel2.offset: -5 -5;
24184                color_class: "move_text";
24185                text {
24186                   text: "X Y";
24187                   font: "Sans";
24188                   size: 10;
24189                   align: 0.5 0.5;
24190                   min: 1 1;
24191                   text_class: "move_text";
24192                }
24193             }
24194          }
24195       }
24196    }
24197    group {
24198       name: "e/widgets/border/default/resize";
24199       images {
24200          image: "base_bg.png" COMP;
24201          image: "icon_win_resize.png" COMP;
24202       }
24203       parts {
24204          part {
24205             name: "base";
24206             mouse_events: 0;
24207             description {
24208                state: "default" 0.0;
24209                align: 0.5 0.0;
24210                image {
24211                   normal: "base_bg.png";
24212                   border: 2 2 2 2;
24213                }
24214                fill.smooth: 0;
24215             }
24216          }
24217          part {
24218             name: "icon";
24219             mouse_events: 0;
24220             description {
24221                state: "default" 0.0;
24222                align: 0.0 0.5;
24223                min: 21 21;
24224                max: 21 21;
24225                fixed: 1 1;
24226                rel1.offset: 2 2;
24227                rel2.relative: 0.0 1.0;
24228                rel2.offset: 2 -3;
24229                image.normal: "icon_win_resize.png";
24230             }
24231          }
24232          part {
24233             name: "e.text.label";
24234             type: TEXT;
24235             scale: 1;
24236             description {
24237                state: "default" 0.0;
24238                rel1.to_x: "icon";
24239                rel1.offset: 2 4;
24240                rel1.relative: 1.0 0.0;
24241                rel2.offset: -5 -5;
24242                color_class: "resize_text";
24243                text {
24244                   text: "WxH";
24245                   font: "Sans";
24246                   size: 10;
24247                   align: 0.5 0.5;
24248                   min: 1 1;
24249                   text_class: "resize_text";
24250                }
24251             }
24252          }
24253       }
24254    }
24255
24256
24257 /////////////////////////////////////////////////////////////////////////////
24258 /*** FILE MANAGER TOOLBAR ***/
24259
24260    group {
24261       name: "e/fileman/toolbar/default/base";
24262       images {
24263          image: "efm_toolbar_top.png" COMP;
24264          image: "efm_toolbar_bottom.png" COMP;
24265       }
24266       parts {
24267          part {
24268             name: "base";
24269             mouse_events: 0;
24270             description {
24271                state: "default" 0.0;
24272                max: 99999 48;
24273                image.normal: "efm_toolbar_top.png";
24274                image.border: 4 4 4 4;
24275                fill.smooth: 0;
24276             }
24277             description {
24278                state: "bottom" 0.0;
24279                inherit: "default" 0.0;
24280                image.normal: "efm_toolbar_bottom.png";
24281             }
24282          }
24283          part {
24284             name: "e.swallow.content";
24285             type: SWALLOW;
24286             description {
24287                state: "default" 0.0;
24288                rel1.offset: 2 2;
24289                rel2.offset: -3 -3;
24290             }
24291             description {
24292                state: "bottom" 0.0;
24293                inherit: "default" 0.0;
24294             }
24295          }
24296       }
24297       programs {
24298          program {
24299             name: "orient1";
24300             signal: "e,state,orientation,top";
24301             source: "e";
24302             action: STATE_SET "default" 0.0;
24303             target: "base";
24304             target: "e.swallow.content";
24305          }
24306          program {
24307             name: "orient2";
24308             signal: "e,state,orientation,bottom";
24309             source: "e";
24310             action: STATE_SET "bottom" 0.0;
24311             target: "base";
24312             target: "e.swallow.content";
24313          }
24314       }
24315    }
24316
24317
24318 /////////////////////////////////////////////////////////////////////////////
24319 /*** TRANSITIONS ***/
24320 /* The fake backgrounds used in the Transitions config dialog */
24321
24322    images {
24323       image: "vgrad_dark.png" COMP;
24324       image: "vgrad_light.png" COMP;
24325       image: "logo_black_128.png" COMP;
24326       image: "logo_white_128.png" COMP;
24327    }
24328    group {
24329       name: "e/transpreview/0";
24330       parts {
24331          part {
24332             name: "bg";
24333             mouse_events: 0;
24334             description {
24335                state: "default" 0.0;
24336                image.normal: "vgrad_dark.png";
24337                fill {
24338                   size {
24339                      relative: 0 1.0;
24340                      offset: 36 0;
24341                   }
24342                }
24343             }
24344          }
24345          part {
24346             name: "logo";
24347             mouse_events: 0;
24348             description {
24349                state: "default" 0.0;
24350                image.normal: "logo_white_128.png";
24351                min: 32 32;
24352                max: 128 128;
24353             }
24354          }
24355       }
24356    }
24357    group {
24358       name: "e/transpreview/1";
24359       parts {
24360          part {
24361             name: "bg";
24362             mouse_events: 0;
24363             description {
24364                state: "default" 0.0;
24365                image.normal: "vgrad_light.png";
24366                fill {
24367                   size {
24368                      relative: 0 1.0;
24369                      offset: 36 0;
24370                   }
24371                }
24372             }
24373          }
24374          part {
24375             name: "logo";
24376             mouse_events: 0;
24377             description {
24378                state: "default" 0.0;
24379                image.normal: "logo_black_128.png";
24380                min: 32 32;
24381                max: 128 128;
24382             }
24383          }
24384       }
24385    }
24386    /* e/transitions/* The look of transitions when swapping desks */
24387    group {
24388       name: "e/transitions/crossfade";
24389       parts {
24390          part {
24391             name: "e.swallow.bg.old";
24392             type: SWALLOW;
24393             description {
24394                state: "default" 0.0;
24395             }
24396          }
24397          part {
24398             name: "e.swallow.bg.new";
24399             type: SWALLOW;
24400             clip_to: "bg_new_clip";
24401             description {
24402                state: "default" 0.0;
24403             }
24404          }
24405          part {
24406             name: "bg_new_clip";
24407             type: RECT;
24408             mouse_events: 0;
24409             description {
24410                state: "default" 0.0;
24411                color: 255 255 255 0;
24412             }
24413             description {
24414                state: "done" 0.0;
24415                inherit: "default" 0.0;
24416                color: 255 255 255 255;
24417             }
24418          }
24419       }
24420       programs {
24421          program {
24422             name: "go";
24423             signal: "e,action,start";
24424             source: "e";
24425             action: STATE_SET "done" 0.0;
24426             transition: SINUSOIDAL 1.0;
24427             target: "bg_new_clip";
24428             after: "go2";
24429          }
24430          program {
24431             name: "go2";
24432             action: SIGNAL_EMIT "e,state,done" "";
24433          }
24434       }
24435    }
24436    group {
24437       name: "e/transitions/vswipe";
24438       images.image: "transition_vswipe.png" COMP;
24439       parts {
24440          part {
24441             name: "e.swallow.bg.old";
24442             type: SWALLOW;
24443             clip_to: "bg_prev_clip";
24444             description {
24445                state: "default" 0.0;
24446             }
24447          }
24448          part {
24449             name: "e.swallow.bg.new";
24450             type: SWALLOW;
24451             clip_to: "bg_new_clip";
24452             description {
24453                state: "default" 0.0;
24454             }
24455          }
24456          part {
24457             name: "bg_prev_clip";
24458             type: RECT;
24459             mouse_events: 0;
24460             description {
24461                state: "default" 0.0;
24462                rel1.offset: 0   -32;
24463                rel2.offset: -1    31;
24464             }
24465             description {
24466                state: "done" 0.0;
24467                inherit: "default" 0.0;
24468                rel1 {
24469                   relative: 0.0  1.0;
24470                   offset: 0    31;
24471                }
24472                rel2 {
24473                   relative: 1.0  1.0;
24474                   offset: -1   31;
24475                }
24476             }
24477          }
24478          part {
24479             name: "bg_new_clip";
24480             type: RECT;
24481             mouse_events: 0;
24482             description {
24483                state: "default" 0.0;
24484                rel1 {
24485                   relative: 0.0  0.0;
24486                   offset: 0    -32;
24487                }
24488                rel2 {
24489                   relative: 1.0  0.0;
24490                   offset: -1   -32;
24491                }
24492             }
24493             description {
24494                state: "done" 0.0;
24495                rel1.offset: 0   -32;
24496                rel2.offset: -1    31;
24497             }
24498          }
24499          part {
24500             name: "swipe_gap";
24501             mouse_events: 0;
24502             description {
24503                state: "default" 0.0;
24504                min: 0 64;
24505                max: 99999 64;
24506                rel1 {
24507                   to: "bg_prev_clip";
24508                   relative: 0.0  0.0;
24509                   offset: 0    0;
24510                }
24511                rel2 {
24512                   to: "bg_prev_clip";
24513                   relative: 1.0  0.0;
24514                   offset: -1   0;
24515                }
24516                image.normal: "transition_vswipe.png";
24517             }
24518          }
24519       }
24520       programs {
24521          program {
24522             name: "go";
24523             signal: "e,action,start";
24524             source: "e";
24525             action: STATE_SET "done" 0.0;
24526             transition: SINUSOIDAL 1.0;
24527             target: "bg_new_clip";
24528             target: "bg_prev_clip";
24529             after: "go2";
24530          }
24531          program {
24532             name: "go2";
24533             action: SIGNAL_EMIT "e,state,done" "";
24534          }
24535       }
24536    }
24537
24538
24539 /////////////////////////////////////////////////////////////////////////////
24540 /*** WIDGETS ***/
24541
24542    group {
24543       name: "e/widgets/check";
24544       images {
24545          image: "check_base.png" COMP;
24546          image: "check_on.png" COMP;
24547          image: "check_sel.png" COMP;
24548       }
24549       parts {
24550          part {
24551             name: "base";
24552             mouse_events: 0;
24553             scale: 1;
24554             description {
24555                state: "default" 0.0;
24556                min: 16 16;
24557                max: 16 16;
24558                align: 0.0 0.5;
24559                fixed: 1 1;
24560                rel1 {
24561                   relative: 0.0  0.0;
24562                   offset: 2    2;
24563                }
24564                rel2 {
24565                   relative: 0.0  1.0;
24566                   offset: 2   -3;
24567                }
24568                image.normal: "check_base.png";
24569             }
24570          }
24571          part {
24572             name: "mark";
24573             mouse_events: 0;
24574             clip_to: "mark_hold";
24575             description {
24576                state: "default" 0.0;
24577                rel1.to: "mark_hold";
24578                rel2.to: "mark_hold";
24579                image.normal: "check_on.png";
24580             }
24581             description {
24582                state: "selected" 0.0;
24583                inherit: "default" 0.0;
24584                image.normal: "check_sel.png";
24585             }
24586             description {
24587                state: "disabled" 0.0;
24588                inherit: "default" 0.0;
24589                color: 255 255 255 128;
24590             }
24591          }
24592          part {
24593             name: "mark_hold";
24594             type: RECT;
24595             mouse_events: 0;
24596             description {
24597                state: "default" 0.0;
24598                visible: 0;
24599                color: 255 255 255 0;
24600                rel1 {
24601                   to: "base";
24602                   offset: -5 -5;
24603                }
24604                rel2 {
24605                   to: "base";
24606                   offset: 4 4;
24607                }
24608             }
24609             description {
24610                state: "on" 0.0;
24611                inherit: "default" 0.0;
24612                visible: 1;
24613                color: 255 255 255 255;
24614                rel1.offset: 0 0;
24615                rel2.offset: -1 -1;
24616             }
24617          }
24618          part {
24619             name: "e.text.label";
24620             type: TEXT;
24621             mouse_events: 0;
24622             scale: 1;
24623             description {
24624                state: "default" 0.0;
24625                min: 16 16;
24626                rel1 {
24627                   to_x: "base";
24628                   relative: 1.0  0.0;
24629                   offset: 2 2;
24630                }
24631                rel2 {
24632                   relative: 1.0  1.0;
24633                   offset: -2 -2;
24634                }
24635                color_class: "check_text";
24636                text {
24637                   font: "Sans";
24638                   size: 10;
24639                   min: 1 1;
24640                   align: 0.0 0.5;
24641                   text_class: "check_button";
24642                }
24643             }
24644             description {
24645                state: "disabled" 0.0;
24646                inherit: "default" 0.0;
24647                color_class: "check_text_disabled";
24648             }
24649          }
24650          part {
24651             name: "event";
24652             type: RECT;
24653             ignore_flags: ON_HOLD;
24654             description {
24655                state: "default" 0.0;
24656                color: 0 0 0 0;
24657             }
24658             description {
24659                state: "disabled" 0.0;
24660                inherit: "default" 0.0;
24661                visible: 0;
24662             }
24663          }
24664       }
24665       programs {
24666          program {
24667             name: "on";
24668             /* if the checkmark is to be displayed */
24669             signal: "e,state,checked";
24670             source: "e";
24671             action: STATE_SET "on" 0.0;
24672             transition: LINEAR 0.15;
24673             target: "mark_hold";
24674          }
24675          program {
24676             name: "off";
24677             /* check mark is not to be displayed */
24678             signal: "e,state,unchecked";
24679             source: "e";
24680             action: STATE_SET "default" 0.0;
24681             transition: LINEAR 0.2;
24682             target: "mark_hold";
24683          }
24684          program {
24685             name: "click";
24686             signal: "mouse,up,1";
24687             source: "event";
24688             action: SIGNAL_EMIT "e,action,toggle" "";
24689          }
24690          program {
24691             name: "disable";
24692             signal: "e,state,disabled";
24693             source: "e";
24694             action: STATE_SET "disabled" 0.0;
24695             target: "mark";
24696             target: "event";
24697             target: "e.text.label";
24698          }
24699          program {
24700             name: "enable";
24701             signal: "e,state,enabled";
24702             source: "e";
24703             action: STATE_SET "default" 0.0;
24704             target: "mark";
24705             target: "event";
24706             target: "e.text.label";
24707          }
24708       }
24709    }
24710    group {
24711       name: "e/widgets/check_icon";
24712       images {
24713          image: "check_base.png" COMP;
24714          image: "check_on.png" COMP;
24715          image: "check_sel.png" COMP;
24716       }
24717       parts {
24718          part {
24719             name: "base";
24720             mouse_events: 0;
24721             scale: 1;
24722             description {
24723                state: "default" 0.0;
24724                min: 16 16;
24725                max: 16 16;
24726                align: 0.0 0.5;
24727                fixed: 1 1;
24728                rel1 {
24729                   relative: 0.0  0.0;
24730                   offset: 2    2;
24731                }
24732                rel2 {
24733                   relative: 0.0  1.0;
24734                   offset: 2   -3;
24735                }
24736                image.normal: "check_base.png";
24737             }
24738          }
24739          part {
24740             name: "mark";
24741             mouse_events: 0;
24742             clip_to: "mark_hold";
24743             description {
24744                state: "default" 0.0;
24745                rel1.to: "mark_hold";
24746                rel2.to: "mark_hold";
24747                image.normal: "check_on.png";
24748             }
24749             description {
24750                state: "selected" 0.0;
24751                inherit: "default" 0.0;
24752                image.normal: "check_sel.png";
24753             }
24754             description {
24755                state: "disabled" 0.0;
24756                inherit: "default" 0.0;
24757                color: 255 255 255 128;
24758             }
24759          }
24760          part {
24761             name: "mark_hold";
24762             type: RECT;
24763             mouse_events: 0;
24764             description {
24765                state: "default" 0.0;
24766                visible: 0;
24767                color: 255 255 255 0;
24768                rel1 {
24769                   to: "base";
24770                   offset: -5 -5;
24771                }
24772                rel2 {
24773                   to: "base";
24774                   offset: 4 4;
24775                }
24776             }
24777             description {
24778                state: "on" 0.0;
24779                inherit: "default" 0.0;
24780                visible: 1;
24781                color: 255 255 255 255;
24782                rel1.offset: 0 0;
24783                rel2.offset: -1 -1;
24784             }
24785          }
24786          part {
24787             name: "e.swallow.icon";
24788             type: SWALLOW;
24789             clip_to: "icon_clip";
24790             description {
24791                state: "default" 0.0;
24792                min: 16 16;
24793                rel1 {
24794                   to_x: "base";
24795                   relative: 1.0  0.0;
24796                   offset: 2 2;
24797                }
24798                rel2 {
24799                   relative: 1.0  1.0;
24800                   offset: -2 -2;
24801                }
24802             }
24803             description {
24804                state: "label_visible" 0.0;
24805                inherit: "default" 0.0;
24806                min: 16 16;
24807                rel2 {
24808                   to_y: "base";
24809                   relative: 1.0  0.0;
24810                   offset: -2 -2;
24811                }
24812             }
24813          }
24814          part {
24815             name: "icon_clip";
24816             type: RECT;
24817             mouse_events: 0;
24818             description {
24819                state: "default" 0.0;
24820                color: 255 255 255 255;
24821             }
24822          }
24823          part {
24824             name: "label_clip";
24825             type: RECT;
24826             mouse_events: 0;
24827             description {
24828                state: "default" 0.0;
24829                visible: 0;
24830             }
24831             description {
24832                state: "label_visible" 0.0;
24833                visible: 1;
24834             }
24835          }
24836          part {
24837             name: "e.text.label";
24838             type: TEXT;
24839             mouse_events: 0;
24840             scale: 1;
24841             clip_to: "label_clip";
24842             description {
24843                state: "default" 0.0;
24844                min: 16 16;
24845                rel1 {
24846                   to_x: "base";
24847                   relative: 1.0  0.0;
24848                   offset: 2 2;
24849                }
24850                rel2 {
24851                   relative: 1.0  1.0;
24852                   offset: -2 -2;
24853                }
24854                color_class: "check_text";
24855                text {
24856                   font: "Sans";
24857                   size: 10;
24858                   min: 1 1;
24859                   align: 0.5 0.5;
24860                   text_class: "check_button";
24861                }
24862             }
24863             description {
24864                state: "disabled" 0.0;
24865                inherit: "default" 0.0;
24866                color_class: "check_text_disabled";
24867             }
24868          }
24869          part {
24870             name: "event";
24871             type: RECT;
24872             ignore_flags: ON_HOLD;
24873             description {
24874                state: "default" 0.0;
24875                color: 0 0 0 0;
24876             }
24877             description {
24878                state: "disabled" 0.0;
24879                inherit: "default" 0.0;
24880                visible: 0;
24881             }
24882          }
24883       }
24884       programs {
24885          program {
24886             name: "on";
24887             /* if the checkmark is to be displayed */
24888             signal: "e,state,checked";
24889             source: "e";
24890             action: STATE_SET "on" 0.0;
24891             transition: LINEAR 0.15;
24892             target: "mark_hold";
24893          }
24894          program {
24895             name: "off";
24896             /* check mark is not to be displayed */
24897             signal: "e,state,unchecked";
24898             source: "e";
24899             action: STATE_SET "default" 0.0;
24900             transition: LINEAR 0.2;
24901             target: "mark_hold";
24902          }
24903          program {
24904             name: "click";
24905             signal: "mouse,up,1";
24906             source: "event";
24907             action: SIGNAL_EMIT "e,action,toggle" "";
24908          }
24909          program {
24910             name: "label_on";
24911             signal: "e,state,labeled";
24912             source: "e";
24913             action: STATE_SET "label_visible" 0.0;
24914             target: "e.swallow.icon";
24915             target: "label_clip";
24916          }
24917          program {
24918             name: "disable";
24919             signal: "e,state,disabled";
24920             source: "e";
24921             action: STATE_SET "disabled" 0.0;
24922             target: "mark";
24923             target: "event";
24924             target: "e.text.label";
24925          }
24926          program {
24927             name: "enable";
24928             signal: "e,state,enabled";
24929             source: "e";
24930             action: STATE_SET "default" 0.0;
24931             target: "mark";
24932             target: "event";
24933             target: "e.text.label";
24934          }
24935       }
24936    }
24937    /* for a radio menu item - same as check, but only one of a group of radio
24938     * menu item can be selected at any one time */
24939    group {
24940       name: "e/widgets/radio";
24941       images {
24942          image: "radio_base.png" COMP;
24943          image: "radio_on.png" COMP;
24944          image: "radio_sel.png" COMP;
24945       }
24946       parts {
24947          part {
24948             name: "base";
24949             mouse_events: 0;
24950             scale: 1;
24951             description {
24952                state: "default" 0.0;
24953                min: 16 16;
24954                max: 16 16;
24955                align: 0.0 0.5;
24956                fixed: 1 1;
24957                rel1 {
24958                   relative: 0.0  0.0;
24959                   offset: 2    2;
24960                }
24961                rel2 {
24962                   relative: 0.0  1.0;
24963                   offset: 2   -3;
24964                }
24965                image.normal: "radio_base.png";
24966             }
24967          }
24968          part {
24969             name: "mark";
24970             mouse_events: 0;
24971             clip_to: "mark_hold";
24972             description {
24973                state: "default" 0.0;
24974                rel1.to: "mark_hold";
24975                rel2.to: "mark_hold";
24976                image.normal: "radio_on.png";
24977             }
24978             description {
24979                state: "selected" 0.0;
24980                inherit: "default" 0.0;
24981                image.normal: "radio_sel.png";
24982             }
24983             description {
24984                state: "disabled" 0.0;
24985                inherit: "default" 0.0;
24986                color: 255 255 255 128;
24987             }
24988          }
24989          part {
24990             name: "mark_hold";
24991             type: RECT;
24992             mouse_events: 0;
24993             description {
24994                state: "default" 0.0;
24995                visible: 0;
24996                color: 255 255 255 0;
24997                rel1 {
24998                   to: "base";
24999                   offset: -5 -5;
25000                }
25001                rel2 {
25002                   to: "base";
25003                   offset: 4 4;
25004                }
25005             }
25006             description {
25007                state: "on" 0.0;
25008                inherit: "default" 0.0;
25009                visible: 1;
25010                color: 255 255 255 255;
25011                rel1.offset: 0 0;
25012                rel2.offset: -1 -1;
25013             }
25014          }
25015          part {
25016             name: "e.text.label";
25017             type: TEXT;
25018             mouse_events: 0;
25019             scale: 1;
25020             description {
25021                state: "default" 0.0;
25022                min: 16 16;
25023                rel1 {
25024                   to_x: "base";
25025                   relative: 1.0  0.0;
25026                   offset: 2 2;
25027                }
25028                rel2 {
25029                   relative: 1.0  1.0;
25030                   offset: -2 -2;
25031                }
25032                color_class: "radio_text";
25033                text {
25034                   font: "Sans";
25035                   size: 10;
25036                   min: 1 1;
25037                   align: 0.0 0.5;
25038                   text_class: "radio_button";
25039                }
25040             }
25041             description {
25042                state: "disabled" 0.0;
25043                inherit: "default" 0.0;
25044                color_class: "radio_text_disabled";
25045             }
25046          }
25047          part {
25048             name: "event";
25049             type: RECT;
25050             ignore_flags: ON_HOLD;
25051             description {
25052                state: "default" 0.0;
25053                color: 0 0 0 0;
25054             }
25055             description {
25056                state: "disabled" 0.0;
25057                inherit: "default" 0.0;
25058                visible: 0;
25059             }
25060          }
25061       }
25062       programs {
25063          program {
25064             name: "on";
25065             /* if the checkmark is to be displayed */
25066             signal: "e,state,on";
25067             source: "e";
25068             action: STATE_SET "on" 0.0;
25069             transition: LINEAR 0.15;
25070             target: "mark_hold";
25071          }
25072          program {
25073             name: "off";
25074             /* check mark is not to be displayed */
25075             signal: "e,state,off";
25076             source: "e";
25077             action: STATE_SET "default" 0.0;
25078             transition: LINEAR 0.2;
25079             target: "mark_hold";
25080          }
25081          program {
25082             name: "click";
25083             signal: "mouse,up,1";
25084             source: "event";
25085             action: SIGNAL_EMIT "e,action,toggle" "";
25086          }
25087          program {
25088             name: "disable";
25089             signal: "e,state,disabled";
25090             source: "e";
25091             action: STATE_SET "disabled" 0.0;
25092             target: "mark";
25093             target: "event";
25094             target: "e.text.label";
25095          }
25096          program {
25097             name: "enable";
25098             signal: "e,state,enabled";
25099             source: "e";
25100             action: STATE_SET "default" 0.0;
25101             target: "mark";
25102             target: "event";
25103             target: "e.text.label";
25104          }
25105       }
25106    }
25107    group {
25108       name: "e/widgets/radio_icon";
25109       images {
25110          image: "radio_base.png" COMP;
25111          image: "radio_on.png" COMP;
25112          image: "radio_sel.png" COMP;
25113       }
25114       parts {
25115          part {
25116             name: "base";
25117             mouse_events: 0;
25118             scale: 1;
25119             description {
25120                state: "default" 0.0;
25121                min: 16 16;
25122                max: 16 16;
25123                align: 0.0 0.5;
25124                fixed: 1 1;
25125                rel1 {
25126                   relative: 0.0  0.0;
25127                   offset: 2    2;
25128                }
25129                rel2 {
25130                   relative: 0.0  1.0;
25131                   offset: 2   -3;
25132                }
25133                image.normal: "radio_base.png";
25134             }
25135          }
25136          part {
25137             name: "mark";
25138             mouse_events: 0;
25139             clip_to: "mark_hold";
25140             description {
25141                state: "default" 0.0;
25142                rel1.to: "mark_hold";
25143                rel2.to: "mark_hold";
25144                image.normal: "radio_on.png";
25145             }
25146             description {
25147                state: "selected" 0.0;
25148                inherit: "default" 0.0;
25149                image.normal: "radio_sel.png";
25150             }
25151             description {
25152                state: "disabled" 0.0;
25153                inherit: "default" 0.0;
25154                color: 255 255 255 128;
25155             }
25156          }
25157          part {
25158             name: "mark_hold";
25159             type: RECT;
25160             mouse_events: 0;
25161             description {
25162                state: "default" 0.0;
25163                visible: 0;
25164                color: 255 255 255 0;
25165                rel1 {
25166                   to: "base";
25167                   offset: -5 -5;
25168                }
25169                rel2 {
25170                   to: "base";
25171                   offset: 4 4;
25172                }
25173             }
25174             description {
25175                state: "on" 0.0;
25176                inherit: "default" 0.0;
25177                visible: 1;
25178                color: 255 255 255 255;
25179                rel1.offset: 0 0;
25180                rel2.offset: -1 -1;
25181             }
25182          }
25183          part {
25184             name: "e.swallow.icon";
25185             type: SWALLOW;
25186             clip_to: "icon_clip";
25187             description {
25188                state: "default" 0.0;
25189                min: 16 16;
25190                rel1 {
25191                   to_x: "base";
25192                   relative: 1.0  0.0;
25193                   offset: 2 2;
25194                }
25195                rel2 {
25196                   relative: 1.0  1.0;
25197                   offset: -2 -2;
25198                }
25199             }
25200             description {
25201                state: "label_visible" 0.0;
25202                inherit: "default" 0.0;
25203                min: 16 16;
25204                rel2 {
25205                   to_y: "e.text.label";
25206                   relative: 1.0  0.0;
25207                   offset: -2 -2;
25208                }
25209             }
25210          }
25211          part {
25212             name: "icon_clip";
25213             type: RECT;
25214             mouse_events: 0;
25215             description {
25216                state: "default" 0.0;
25217                color: 255 255 255 255;
25218             }
25219          }
25220          part {
25221             name: "label_clip";
25222             type: RECT;
25223             mouse_events: 0;
25224             description {
25225                state: "default" 0.0;
25226                visible: 0;
25227             }
25228             description {
25229                state: "label_visible" 0.0;
25230                visible: 1;
25231             }
25232          }
25233          part {
25234             name: "e.text.label";
25235             type: TEXT;
25236             mouse_events: 0;
25237             scale: 1;
25238             clip_to: "label_clip";
25239             description {
25240                state: "default" 0.0;
25241                min: 16 16;
25242                rel1 {
25243                   to_x: "base";
25244                   relative: 1.0  0.5;
25245                   offset: 2 1;
25246                }
25247                rel2 {
25248                   relative: 1.0  1.0;
25249                   offset: -2 -2;
25250                }
25251                color_class: "radio_text";
25252                text {
25253                   font: "Sans";
25254                   size: 10;
25255                   min: 1 1;
25256                   align: 0.5 0.5;
25257                   text_class: "radio_button";
25258                }
25259             }
25260             description {
25261                state: "disabled" 0.0;
25262                inherit: "default" 0.0;
25263                color_class: "radio_text_disabled";
25264             }
25265          }
25266          part {
25267             name: "event";
25268             type: RECT;
25269             ignore_flags: ON_HOLD;
25270             description {
25271                state: "default" 0.0;
25272                color: 0 0 0 0;
25273             }
25274             description {
25275                state: "disabled" 0.0;
25276                inherit: "default" 0.0;
25277                visible: 0;
25278             }
25279          }
25280       }
25281       programs {
25282          program {
25283             name: "on";
25284             /* if the radiomark is to be displayed */
25285             signal: "e,state,on";
25286             source: "e";
25287             action: STATE_SET "on" 0.0;
25288             transition: LINEAR 0.15;
25289             target: "mark_hold";
25290          }
25291          program {
25292             name: "off";
25293             /* radio mark is not to be displayed */
25294             signal: "e,state,off";
25295             source: "e";
25296             action: STATE_SET "default" 0.0;
25297             transition: LINEAR 0.2;
25298             target: "mark_hold";
25299          }
25300          program {
25301             name: "click";
25302             signal: "mouse,up,1";
25303             source: "event";
25304             action: SIGNAL_EMIT "e,action,toggle" "";
25305          }
25306          program {
25307             name: "label_on";
25308             signal: "e,state,labeled";
25309             source: "e";
25310             action: STATE_SET "label_visible" 0.0;
25311             target: "e.swallow.icon";
25312             target: "label_clip";
25313          }
25314          program {
25315             name: "disable";
25316             signal: "e,state,disabled";
25317             source: "e";
25318             action: STATE_SET "disabled" 0.0;
25319             target: "mark";
25320             target: "event";
25321             target: "e.text.label";
25322          }
25323          program {
25324             name: "enable";
25325             signal: "e,state,enabled";
25326             source: "e";
25327             action: STATE_SET "default" 0.0;
25328             target: "mark";
25329             target: "event";
25330             target: "e.text.label";
25331          }
25332       }
25333    }
25334    group {
25335       name: "e/widgets/button";
25336       images {
25337          image: "bt_base1.png" COMP;
25338          image: "bt_base2.png" COMP;
25339          image: "bt_hilight.png" COMP;
25340          image: "bt_shine.png" COMP;
25341          image: "bt_glow.png" COMP;
25342          image: "bt_dis_base.png" COMP;
25343          image: "bt_dis_hilight.png" COMP;
25344       }
25345       parts {
25346          part {
25347             name: "button_image";
25348             mouse_events: 1;
25349             description {
25350                state: "default" 0.0;
25351                min: 32 16;
25352                image {
25353                   normal: "bt_base2.png";
25354                   border: 7 7 7 7;
25355                }
25356             }
25357             description {
25358                state: "clicked" 0.0;
25359                inherit: "default" 0.0;
25360                image.normal: "bt_base1.png";
25361             }
25362             description {
25363                state: "disabled" 0.0;
25364                inherit: "default" 0.0;
25365                image {
25366                   normal: "bt_dis_base.png";
25367                   border: 4 4 4 4;
25368                }
25369             }
25370          }
25371          part {
25372             name: "e.swallow.icon";
25373             type: SWALLOW;
25374             mouse_events: 0;
25375             description {
25376                state: "default" 0.0;
25377                align: 0.0 0.5;
25378                rel1 {
25379                   relative: 0.0 0.0;
25380                   offset: 3   3;
25381                   to: "button_image";
25382                }
25383                rel2 {
25384                   relative: 0.0 1.0;
25385                   offset: 3  -4;
25386                   to: "button_image";
25387                }
25388             }
25389             description {
25390                state: "combo" 0.0;
25391                inherit: "default" 0.0;
25392                aspect: 1.0 1.0;
25393                aspect_preference: VERTICAL;
25394                align: 0.0 0.5;
25395                rel1 {
25396                   relative: 0.0 0.0;
25397                   offset: 3  3;
25398                   to: "button_image";
25399                }
25400                rel2 {
25401                   relative: 0.0 1.0;
25402                   offset: 3   -4;
25403                   to: "button_image";
25404                }
25405             }
25406             description {
25407                state: "icon" 0.0;
25408                inherit: "default" 0.0;
25409                aspect: 1.0 1.0;
25410                aspect_preference: BOTH;
25411                align: 0.5 0.5;
25412                rel1 {
25413                   relative: 0.0 0.0;
25414                   offset: 3  3;
25415                   to: "button_image";
25416                }
25417                rel2 {
25418                   relative: 1.0 1.0;
25419                   offset: -4   -4;
25420                   to: "button_image";
25421                }
25422             }
25423          }
25424          part {
25425             name: "e.text.label";
25426             type: TEXT;
25427             effect: SOFT_SHADOW;
25428             mouse_events: 0;
25429             scale: 1;
25430             description {
25431                state: "default" 0.0;
25432                rel1 {
25433                   relative: 1.0  0.0;
25434                   offset: 2    3;
25435                   to_x: "e.swallow.icon";
25436                   to_y: "button_image";
25437                }
25438                rel2 {
25439                   relative: 1.0  1.0;
25440                   offset: -4   -4;
25441                   to: "button_image";
25442                }
25443                color_class: "button_text";
25444                text {
25445                   font: "Sans";
25446                   size: 10;
25447                   min: 1 1;
25448                   align: 0.5 0.5;
25449                   text_class: "button";
25450                }
25451             }
25452             description {
25453                state: "disabled" 0.0;
25454                inherit: "default" 0.0;
25455                color_class: "button_text_disabled";
25456             }
25457             description {
25458                state: "icon" 0.0;
25459                inherit: "default" 0.0;
25460                visible: 0;
25461             }
25462          }
25463          part {
25464             name: "over1";
25465             mouse_events: 0;
25466             description {
25467                state: "default" 0.0;
25468                rel2.relative: 1.0 0.5;
25469                image {
25470                   normal: "bt_hilight.png";
25471                   border: 7 7 7 0;
25472                }
25473             }
25474             description {
25475                state: "disabled" 0.0;
25476                inherit: "default" 0.0;
25477                image {
25478                   normal: "bt_dis_hilight.png";
25479                   border: 4 4 4 0;
25480                }
25481             }
25482          }
25483          part {
25484             name: "over2";
25485             mouse_events: 0;
25486             description {
25487                state: "default" 0.0;
25488                image {
25489                   normal: "bt_shine.png";
25490                   border: 7 7 7 7;
25491                }
25492             }
25493             description {
25494                state: "disabled" 0.0;
25495                inherit: "default" 0.0;
25496                visible: 0;
25497             }
25498          }
25499          part {
25500             name: "over3";
25501             mouse_events: 0;
25502             description {
25503                state: "default" 0.0;
25504                visible: 0;
25505                color: 255 255 255 0;
25506                image {
25507                   normal: "bt_glow.png";
25508                   border: 7 7 9 9;
25509                }
25510                fill.smooth : 0;
25511             }
25512             description {
25513                state: "clicked" 0.0;
25514                inherit: "default" 0.0;
25515                visible: 1;
25516                color: 255 255 255 255;
25517             }
25518          }
25519          part {
25520             name: "disabler";
25521             type: RECT;
25522             description {
25523                state: "default" 0.0;
25524                color: 0 0 0 0;
25525                visible: 0;
25526             }
25527             description {
25528                state: "disabled" 0.0;
25529                inherit: "default" 0.0;
25530                visible: 1;
25531             }
25532          }
25533       }
25534       programs {
25535          program {
25536             name: "button_click";
25537             signal: "mouse,down,1";
25538             source: "button_image";
25539             action: STATE_SET "clicked" 0.0;
25540             target: "button_image";
25541             target: "over3";
25542          }
25543          program {
25544             name: "button_unclick";
25545             signal: "mouse,up,1";
25546             source: "button_image";
25547             action: STATE_SET "default" 0.0;
25548             target: "button_image";
25549             target: "over3";
25550          }
25551          program {
25552             name: "button_unclick2";
25553             signal: "mouse,clicked,1";
25554             source: "button_image";
25555             action: SIGNAL_EMIT "e,action,click" "";
25556          }
25557          program {
25558             name: "text_state";
25559             signal: "e,state,text";
25560             source: "e";
25561             action: STATE_SET "default" 0.0;
25562             target: "e.swallow.icon";
25563             target: "e.text.label";
25564          }
25565          program {
25566             name: "icon_state";
25567             signal: "e,state,icon";
25568             source: "e";
25569             action: STATE_SET "icon" 0.0;
25570             target: "e.swallow.icon";
25571             target: "e.text.label";
25572          }
25573          program {
25574             name: "combo_state";
25575             signal: "e,state,combo";
25576             source: "e";
25577             action: STATE_SET "combo" 0.0;
25578             target: "e.swallow.icon";
25579             target: "e.text.label";
25580          }
25581          program {
25582             name: "disable";
25583             signal: "e,state,disabled";
25584             source: "e";
25585             action: STATE_SET "disabled" 0.0;
25586             target: "button_image";
25587             target: "over1";
25588             target: "e.text.label";
25589             target: "disabler";
25590          }
25591          program {
25592             name: "enable";
25593             signal: "e,state,enabled";
25594             source: "e";
25595             action: STATE_SET "default" 0.0;
25596             target: "button_image";
25597             target: "over1";
25598             target: "e.text.label";
25599             target: "disabler";
25600          }
25601       }
25602    }
25603    /* e/widgets/scrollframe is used in the Wallpaper selector dialog */
25604    group {
25605       name: "e/widgets/scrollframe";
25606       images {
25607          image: "inset_sunk.png" COMP;
25608          image: "arrow_left.png" COMP;
25609          image: "arrow_right.png" COMP;
25610          image: "arrow_up.png" COMP;
25611          image: "arrow_down.png" COMP;
25612          image: "bt_sm_base1.png" COMP;
25613          image: "bt_sm_base2.png" COMP;
25614          image: "bt_sm_shine.png" COMP;
25615          image: "bt_sm_hilight.png" COMP;
25616          image: "sb_runnerh.png" COMP;
25617          image: "sb_runnerv.png" COMP;
25618       }
25619       parts {
25620          part {
25621             name: "bg";
25622             type: RECT;
25623             mouse_events: 1;
25624             description {
25625                state: "default" 0.0;
25626                rel1.offset: 1 1;
25627                rel2.offset: -2 -2;
25628                color: 255 255 255 255;
25629                color_class: "scrollframe_base";
25630             }
25631          }
25632          part {
25633             name: "clipper";
25634             type: RECT;
25635             mouse_events: 0;
25636             description {
25637                state: "default" 0.0;
25638                rel1.to: "bg";
25639                rel2.to: "bg";
25640             }
25641          }
25642          part {
25643             name: "e.swallow.content";
25644             clip_to: "clipper";
25645             type: SWALLOW;
25646             description {
25647                state: "default" 0.0;
25648                rel1.offset: 0 0;
25649                rel2 {
25650                   relative: 0.0  0.0;
25651                   offset: -1   -1;
25652                   to_x: "sb_vbar";
25653                   to_y: "sb_hbar";
25654                }
25655             }
25656          }
25657          /*
25658          part { name: "tst";
25659             type: RECT;
25660             mouse_events: 0;
25661             description { state: "default" 0.0;
25662                rel2.relative: 1.0 0.2;
25663                color: 0 0 255 128;
25664             }
25665          }
25666          */
25667          part {
25668             name: "conf_over";
25669             mouse_events: 0;
25670             description {
25671                state: "default" 0.0;
25672                image {
25673                   normal: "inset_sunk.png";
25674                   border: 7 7 7 7;
25675                   middle: 0;
25676                }
25677                fill.smooth : 0;
25678             }
25679          }
25680          part {
25681             name: "sb_vbar";
25682             type: RECT;
25683             mouse_events: 0;
25684             scale: 1;
25685             description {
25686                state: "default" 0.0;
25687                min: 17 17;
25688                align: 1.0 0.0;
25689                rel1 {
25690                   to: "bg";
25691                   relative: 1.0 0.0;
25692                   offset: -2 1;
25693                }
25694                rel2 {
25695                   to: "bg";
25696                   relative: 1.0 0.0;
25697                   offset: -2 -1;
25698                   to_y: "sb_hbar";
25699                }
25700             }
25701             description {
25702                state: "hidden" 0.0;
25703                visible: 0;
25704                max: 0 99999;
25705                rel1 {
25706                   to: "bg";
25707                   relative: 1.0 0.0;
25708                   offset: -1 0;
25709                }
25710                rel2 {
25711                   to: "bg";
25712                   relative: 1.0 0.0;
25713                   offset: -1 -1;
25714                   to_y: "sb_hbar";
25715                }
25716             }
25717          }
25718          part {
25719             name: "sb_vbar_base";
25720             type: RECT;
25721             clip_to: "sb_vbar";
25722             mouse_events: 1;
25723             description {
25724                state: "default" 0.0;
25725                color: 0 0 0 0;
25726                rel1 {
25727                   relative: 0.0  1.0;
25728                   offset: 0    -2;
25729                   to: "sb_vbar_a1";
25730                }
25731                rel2 {
25732                   relative: 1.0  0.0;
25733                   offset: -1    1;
25734                   to: "sb_vbar_a2";
25735                }
25736             }
25737          }
25738          part {
25739             name: "sb_vbar_runner";
25740             clip_to: "sb_vbar";
25741             mouse_events: 0;
25742             description {
25743                state: "default" 0.0;
25744                max: 3 99999;
25745                rel1.to: "sb_vbar_base";
25746                rel1.offset: 1 0;
25747                rel2.to: "sb_vbar_base";
25748                image {
25749                   normal: "sb_runnerv.png";
25750                   border: 0 0 4 4;
25751                }
25752                fill.smooth: 0;
25753             }
25754          }
25755          part {
25756             name: "sb_vbar_p1";
25757             type: RECT;
25758             clip_to: "sb_vbar";
25759             mouse_events: 1;
25760             description {
25761                state: "default" 0.0;
25762                color: 0 0 0 0;
25763                rel1 {
25764                   relative: 0.0 1.0;
25765                   to: "sb_vbar_a1";
25766                }
25767                rel2 {
25768                   relative: 1.0 0.0;
25769                   to: "e.dragable.vbar";
25770                }
25771             }
25772          }
25773          part {
25774             name: "sb_vbar_p2";
25775             type: RECT;
25776             clip_to: "sb_vbar";
25777             mouse_events: 1;
25778             description {
25779                state: "default" 0.0;
25780                color: 0 0 0 0;
25781                rel1 {
25782                   relative: 0.0 1.0;
25783                   to: "e.dragable.vbar";
25784                }
25785                rel2 {
25786                   relative: 1.0 0.0;
25787                   to: "sb_vbar_a2";
25788                }
25789             }
25790          }
25791          part {
25792             name: "e.dragable.vbar";
25793             clip_to: "sb_vbar";
25794             mouse_events: 1;
25795             scale: 1;
25796             dragable {
25797                x: 0 0 0;
25798                y: 1 1 0;
25799                confine: "sb_vbar_base";
25800             }
25801             description {
25802                state: "default" 0.0;
25803                min: 17 17;
25804                rel1 {
25805                   relative: 0.5  0.5;
25806                   offset: 0    0;
25807                   to: "sb_vbar_base";
25808                }
25809                rel2 {
25810                   relative: 0.5  0.5;
25811                   offset: 0    0;
25812                   to: "sb_vbar_base";
25813                }
25814                image {
25815                   normal: "bt_sm_base2.png";
25816                   border: 6 6 6 6;
25817                }
25818             }
25819             description {
25820                state: "clicked" 0.0;
25821                inherit: "default" 0.0;
25822                image.normal: "bt_sm_base1.png";
25823             }
25824          }
25825          part {
25826             name: "sb_vbar_over1";
25827             clip_to: "sb_vbar";
25828             mouse_events: 0;
25829             description {
25830                state: "default" 0.0;
25831                rel1.to: "e.dragable.vbar";
25832                rel2.relative: 1.0 0.5;
25833                rel2.to: "e.dragable.vbar";
25834                image {
25835                   normal: "bt_sm_hilight.png";
25836                   border: 6 6 6 0;
25837                }
25838             }
25839          }
25840          part {
25841             name: "sb_vbar_over2";
25842             clip_to: "sb_vbar";
25843             mouse_events: 0;
25844             description {
25845                state: "default" 0.0;
25846                rel1.to: "e.dragable.vbar";
25847                rel2.to: "e.dragable.vbar";
25848                image {
25849                   normal: "bt_sm_shine.png";
25850                   border: 6 6 6 0;
25851                }
25852             }
25853          }
25854          part {
25855             name: "sb_vbar_a1";
25856             type: RECT;
25857             clip_to: "sb_vbar";
25858             mouse_events: 1;
25859             description {
25860                state: "default" 0.0;
25861                min: 17 17;
25862                align: 0.5 0.0;
25863                aspect: 1.0 1.0;
25864                aspect_preference: HORIZONTAL;
25865                color: 0 0 0 0;
25866                rel1 {
25867                   to: "sb_vbar";
25868                   relative: 0.0  0.0;
25869                   offset: 0    0;
25870                }
25871                rel2 {
25872                   to: "sb_vbar";
25873                   relative: 1.0  0.0;
25874                   offset: -1   0;
25875                }
25876             }
25877          }
25878          part {
25879             name: "sb_vbar_a1_arrow";
25880             mouse_events: 0;
25881             clip_to: "sb_vbar";
25882             description {
25883                state: "default" 0.0;
25884                max: 9 9;
25885                rel1.to: "sb_vbar_a1";
25886                rel2.to: "sb_vbar_a1";
25887                image.normal: "arrow_up.png";
25888             }
25889             description {
25890                state: "clicked" 0.0;
25891                inherit: "default" 0.0;
25892                rel1.offset: 0 -1;
25893                rel2.offset: -1 -2;
25894             }
25895          }
25896          part {
25897             name: "sb_vbar_a2";
25898             type: RECT;
25899             clip_to: "sb_vbar";
25900             mouse_events: 1;
25901             description {
25902                state: "default" 0.0;
25903                min: 17 17;
25904                align: 0.5 1.0;
25905                aspect: 1.0 1.0;
25906                aspect_preference: HORIZONTAL;
25907                color: 0 0 0 0;
25908                rel1 {
25909                   to: "sb_vbar";
25910                   relative: 0.0  1.0;
25911                   offset: 0    0;
25912                }
25913                rel2 {
25914                   to: "sb_vbar";
25915                   relative: 1.0  1.0;
25916                   offset: -1   0;
25917                }
25918             }
25919          }
25920          part {
25921             name: "sb_vbar_a2_arrow";
25922             type: IMAGE;
25923             mouse_events: 0;
25924             clip_to: "sb_vbar";
25925             description {
25926                state: "default" 0.0;
25927                max: 9 9;
25928                rel1.to: "sb_vbar_a2";
25929                rel2.to: "sb_vbar_a2";
25930                image.normal: "arrow_down.png";
25931             }
25932             description {
25933                state: "clicked" 0.0;
25934                inherit: "default" 0.0;
25935                rel1.offset: 0 1;
25936                rel2.offset: -1 0;
25937             }
25938          }
25939          part {
25940             name: "sb_hbar";
25941             type: RECT;
25942             mouse_events: 0;
25943             scale: 1;
25944             description {
25945                state: "default" 0.0;
25946                min: 17 17;
25947                align: 0.0 1.0;
25948                rel1 {
25949                   to: "bg";
25950                   relative: 0.0 1.0;
25951                   offset: 1 -2;
25952                }
25953                rel2 {
25954                   to: "bg";
25955                   relative: 0.0 1.0;
25956                   offset: -1 -2;
25957                   to_x: "sb_vbar";
25958                }
25959             }
25960             description {
25961                state: "hidden" 0.0;
25962                visible: 0;
25963                rel1 {
25964                   to: "bg";
25965                   relative: 0.0  1.0;
25966                   offset: 0    -1;
25967                }
25968                rel2 {
25969                   to: "bg";
25970                   relative: 0.0  1.0;
25971                   offset: -1   -1;
25972                   to_x: "sb_vbar";
25973                }
25974             }
25975          }
25976          part {
25977             name: "sb_hbar_base";
25978             type: RECT;
25979             clip_to: "sb_hbar";
25980             mouse_events: 1;
25981             description {
25982                state: "default" 0.0;
25983                color: 0 0 0 0;
25984                rel1 {
25985                   relative: 1.0  0.0;
25986                   offset: -2   0;
25987                   to: "sb_hbar_a1";
25988                }
25989                rel2 {
25990                   relative: 0.0  1.0;
25991                   offset: 1   -1;
25992                   to: "sb_hbar_a2";
25993                }
25994             }
25995          }
25996          part {
25997             name: "sb_hbar_runner";
25998             clip_to: "sb_hbar";
25999             mouse_events: 0;
26000             description {
26001                state: "default" 0.0;
26002                max: 99999 2;
26003                rel1.to: "sb_hbar_base";
26004                rel1.offset: 0 1;
26005                rel2.to: "sb_hbar_base";
26006                image {
26007                   normal: "sb_runnerh.png";
26008                   border: 4 4 0 0;
26009                }
26010                fill.smooth: 0;
26011             }
26012          }
26013          part {
26014             name: "sb_hbar_p1";
26015             type: RECT;
26016             clip_to: "sb_hbar";
26017             mouse_events: 1;
26018             description {
26019                state: "default" 0.0;
26020                color: 0 0 0 0;
26021                rel1 {
26022                   relative: 1.0 0.0;
26023                   to: "sb_hbar_a1";
26024                }
26025                rel2 {
26026                   relative: 0.0 1.0;
26027                   to: "e.dragable.hbar";
26028                }
26029             }
26030          }
26031          part {
26032             name: "sb_hbar_p2";
26033             type: RECT;
26034             clip_to: "sb_hbar";
26035             mouse_events: 1;
26036             description {
26037                state: "default" 0.0;
26038                color: 0 0 0 0;
26039                rel1 {
26040                   relative: 1.0 0.0;
26041                   to: "e.dragable.hbar";
26042                }
26043                rel2 {
26044                   relative: 0.0 1.0;
26045                   to: "sb_hbar_a2";
26046                }
26047             }
26048          }
26049          part {
26050             name: "e.dragable.hbar";
26051             clip_to: "sb_hbar";
26052             mouse_events: 1;
26053             scale: 1;
26054             dragable {
26055                x: 1 1 0;
26056                y: 0 0 0;
26057                confine: "sb_hbar_base";
26058             }
26059             description {
26060                state: "default" 0.0;
26061                min: 17 17;
26062                rel1 {
26063                   relative: 0.5  0.5;
26064                   offset: 0    0;
26065                   to: "sb_hbar_base";
26066                }
26067                rel2 {
26068                   relative: 0.5  0.5;
26069                   offset: 0    0;
26070                   to: "sb_hbar_base";
26071                }
26072                image {
26073                   normal: "bt_sm_base2.png";
26074                   border: 6 6 6 6;
26075                }
26076             }
26077             description {
26078                state: "clicked" 0.0;
26079                inherit: "default" 0.0;
26080                image.normal: "bt_sm_base1.png";
26081             }
26082          }
26083          part {
26084             name: "sb_hbar_over1";
26085             clip_to: "sb_hbar";
26086             mouse_events: 0;
26087             description {
26088                state: "default" 0.0;
26089                rel1.to: "e.dragable.hbar";
26090                rel2.relative: 1.0 0.5;
26091                rel2.to: "e.dragable.hbar";
26092                image {
26093                   normal: "bt_sm_hilight.png";
26094                   border: 6 6 6 0;
26095                }
26096             }
26097          }
26098          part {
26099             name: "sb_hbar_over2";
26100             clip_to: "sb_hbar";
26101             mouse_events: 0;
26102             description {
26103                state: "default" 0.0;
26104                rel1.to: "e.dragable.hbar";
26105                rel2.to: "e.dragable.hbar";
26106                image {
26107                   normal: "bt_sm_shine.png";
26108                   border: 6 6 6 0;
26109                }
26110             }
26111          }
26112          part {
26113             name: "sb_hbar_a1";
26114             type: RECT;
26115             clip_to: "sb_hbar";
26116             mouse_events: 1;
26117             description {
26118                state: "default" 0.0;
26119                min: 17 17;
26120                align: 0.0 0.5;
26121                aspect: 1.0 1.0;
26122                aspect_preference: VERTICAL;
26123                color: 0 0 0 0;
26124                rel1 {
26125                   to: "sb_hbar";
26126                   relative: 0.0  0.0;
26127                   offset: 0    0;
26128                }
26129                rel2 {
26130                   to: "sb_hbar";
26131                   relative: 0.0  1.0;
26132                   offset: 0   -1;
26133                }
26134             }
26135          }
26136          part {
26137             name: "sb_hbar_a1_arrow";
26138             type: IMAGE;
26139             mouse_events: 0;
26140             clip_to: "sb_hbar";
26141             description {
26142                state: "default" 0.0;
26143                max: 9 9;
26144                rel1.to: "sb_hbar_a1";
26145                rel2.to: "sb_hbar_a1";
26146                image.normal: "arrow_left.png";
26147             }
26148             description {
26149                state: "clicked" 0.0;
26150                inherit: "default" 0.0;
26151                rel1.offset: -1 0;
26152                rel2.offset: -2 -1;
26153             }
26154          }
26155          part {
26156             name: "sb_hbar_a2";
26157             type: RECT;
26158             clip_to: "sb_hbar";
26159             mouse_events: 1;
26160             description {
26161                state: "default" 0.0;
26162                min: 17 17;
26163                align: 1.0 0.5;
26164                aspect: 1.0 1.0;
26165                aspect_preference: VERTICAL;
26166                color: 0 0 0 0;
26167                rel1 {
26168                   to: "sb_hbar";
26169                   relative: 1.0  0.0;
26170                   offset: -1    0;
26171                }
26172                rel2 {
26173                   to: "sb_hbar";
26174                   relative: 1.0  1.0;
26175                   offset: -1   -1;
26176                }
26177             }
26178          }
26179          part {
26180             name: "sb_hbar_a2_arrow";
26181             type: IMAGE;
26182             mouse_events: 0;
26183             clip_to: "sb_hbar";
26184             description {
26185                state: "default" 0.0;
26186                max: 9 9;
26187                rel1.to: "sb_hbar_a2";
26188                rel2.to: "sb_hbar_a2";
26189                image.normal: "arrow_right.png";
26190             }
26191             description {
26192                state: "clicked" 0.0;
26193                inherit: "default" 0.0;
26194                rel1.offset: 1 0;
26195                rel2.offset: 0 -1;
26196             }
26197          }
26198       }
26199       programs {
26200          program {
26201             name: "sb_vbar_show";
26202             signal: "e,action,show,vbar";
26203             source: "e";
26204             action: STATE_SET "default" 0.0;
26205             target: "sb_vbar";
26206          }
26207          program {
26208             name: "sb_vbar_hide";
26209             signal: "e,action,hide,vbar";
26210             source: "e";
26211             action: STATE_SET "hidden" 0.0;
26212             target: "sb_vbar";
26213          }
26214          program {
26215             name: "sb_hbar_show";
26216             signal: "e,action,show,hbar";
26217             source: "e";
26218             action: STATE_SET "default" 0.0;
26219             target: "sb_hbar";
26220          }
26221          program {
26222             name: "sb_hbar_hide";
26223             signal: "e,action,hide,hbar";
26224             source: "e";
26225             action: STATE_SET "hidden" 0.0;
26226             target: "sb_hbar";
26227          }
26228          program {
26229             name: "sb_vbar_a1_down";
26230             signal: "mouse,down,1";
26231             source: "sb_vbar_a1";
26232             action: STATE_SET "clicked" 0.0;
26233             target: "sb_vbar_a1_arrow";
26234          }
26235          program {
26236             name: "sb_vbar_a1_down2";
26237             signal: "mouse,down,1";
26238             source: "sb_vbar_a1";
26239             action: DRAG_VAL_STEP 0.0 -1.0;
26240             target: "e.dragable.vbar";
26241          }
26242          program {
26243             name: "sb_vbar_a1_up";
26244             signal: "mouse,up,1";
26245             source: "sb_vbar_a1";
26246             action: STATE_SET "default" 0.0;
26247             target: "sb_vbar_a1_arrow";
26248          }
26249          program {
26250             name: "sb_vbar_a2_down";
26251             signal: "mouse,down,1";
26252             source: "sb_vbar_a2";
26253             action: STATE_SET "clicked" 0.0;
26254             target: "sb_vbar_a2_arrow";
26255          }
26256          program {
26257             name: "sb_vbar_a2_down2";
26258             signal: "mouse,down,1";
26259             source: "sb_vbar_a2";
26260             action: DRAG_VAL_STEP 0.0 1.0;
26261             target: "e.dragable.vbar";
26262          }
26263          program {
26264             name: "sb_vbar_a2_up";
26265             signal: "mouse,up,1";
26266             source: "sb_vbar_a2";
26267             action: STATE_SET "default" 0.0;
26268             target: "sb_vbar_a2_arrow";
26269          }
26270          program {
26271             name: "sb_vbar_p1_down";
26272             signal: "mouse,down,1";
26273             source: "sb_vbar_p1";
26274             action: DRAG_VAL_PAGE 0.0 -1.0;
26275             target: "e.dragable.vbar";
26276          }
26277          program {
26278             name: "sb_vbar_p2_down";
26279             signal: "mouse,down,1";
26280             source: "sb_vbar_p2";
26281             action: DRAG_VAL_PAGE  0.0 1.0;
26282             target: "e.dragable.vbar";
26283          }
26284          program {
26285             name: "sb_vbar_down";
26286             signal: "mouse,down,1";
26287             source: "e.dragable.vbar";
26288             action: STATE_SET "clicked" 0.0;
26289             target: "e.dragable.vbar";
26290          }
26291          program {
26292             name: "sb_vbar_up";
26293             signal: "mouse,up,1";
26294             source: "e.dragable.vbar";
26295             action: STATE_SET "default" 0.0;
26296             target: "e.dragable.vbar";
26297          }
26298          program {
26299             name: "sb_hbar_a1_down";
26300             signal: "mouse,down,1";
26301             source: "sb_hbar_a1";
26302             action: STATE_SET "clicked" 0.0;
26303             target: "sb_hbar_a1_arrow";
26304          }
26305          program {
26306             name: "sb_hbar_a1_down2";
26307             signal: "mouse,down,1";
26308             source: "sb_hbar_a1";
26309             action: DRAG_VAL_STEP -1.0 0.0;
26310             target: "e.dragable.hbar";
26311          }
26312          program {
26313             name: "sb_hbar_a1_up";
26314             signal: "mouse,up,1";
26315             source: "sb_hbar_a1";
26316             action: STATE_SET "default" 0.0;
26317             target: "sb_hbar_a1_arrow";
26318          }
26319          program {
26320             name: "sb_hbar_a2_down";
26321             signal: "mouse,down,1";
26322             source: "sb_hbar_a2";
26323             action: STATE_SET "clicked" 0.0;
26324             target: "sb_hbar_a2_arrow";
26325          }
26326          program {
26327             name: "sb_hbar_a2_down2";
26328             signal: "mouse,down,1";
26329             source: "sb_hbar_a2";
26330             action: DRAG_VAL_STEP 1.0 0.0;
26331             target: "e.dragable.hbar";
26332          }
26333          program {
26334             name: "sb_hbar_a2_up";
26335             signal: "mouse,up,1";
26336             source: "sb_hbar_a2";
26337             action: STATE_SET "default" 0.0;
26338             target: "sb_hbar_a2_arrow";
26339          }
26340          program {
26341             name: "sb_hbar_p1_down";
26342             signal: "mouse,down,1";
26343             source: "sb_hbar_p1";
26344             action: DRAG_VAL_PAGE -1.0 0.0;
26345             target: "e.dragable.hbar";
26346          }
26347          program {
26348             name: "sb_hbar_p2_down";
26349             signal: "mouse,down,1";
26350             source: "sb_hbar_p2";
26351             action: DRAG_VAL_PAGE  1.0 0.0;
26352             target: "e.dragable.hbar";
26353          }
26354          program {
26355             name: "sb_hbar_down";
26356             signal: "mouse,down,1";
26357             source: "e.dragable.hbar";
26358             action: STATE_SET "clicked" 0.0;
26359             target: "e.dragable.hbar";
26360          }
26361          program {
26362             name: "sb_hbar_up";
26363             signal: "mouse,up,1";
26364             source: "e.dragable.hbar";
26365             action: STATE_SET "default" 0.0;
26366             target: "e.dragable.hbar";
26367          }
26368       }
26369    }
26370    /* e/widgets/ilist is used in the Module Config Dialog for the module list */
26371    group {
26372       name: "e/widgets/ilist";
26373       data.item: "stacking" "above";
26374       data.item: "selectraise" "on";
26375       images {
26376          image: "bt_sm_base1.png" COMP;
26377          image: "bt_sm_shine.png" COMP;
26378          image: "bt_sm_hilight.png" COMP;
26379          image: "ilist_1.png" COMP;
26380          image: "ilist_item_shadow.png" COMP;
26381       }
26382       parts {
26383          part {
26384             name: "base_sh";
26385             mouse_events: 0;
26386             description {
26387                state: "default" 0.0;
26388                fixed: 1 1;
26389                // aspect: 6.4 6.4;
26390                // aspect_preference: HORIZONTAL;
26391                align: 0.0 0.0;
26392                min: 0 10;
26393                rel1 {
26394                   to: "base";
26395                   relative: 0.0 1.0;
26396                   offset: 0 0;
26397                }
26398                rel2 {
26399                   to: "base";
26400                   relative: 1.0 1.0;
26401                   offset: -1 0;
26402                }
26403                image {
26404                   normal: "ilist_item_shadow.png";
26405                }
26406                fill.smooth: 0;
26407             }
26408          }
26409          part {
26410             name: "base";
26411             mouse_events: 0;
26412             description {
26413                state: "default" 0.0;
26414                color_class: "ilist_item_base";
26415                image {
26416                   normal: "ilist_1.png";
26417                   border: 2 2 2 2;
26418                }
26419                fill.smooth: 0;
26420             }
26421          }
26422          part {
26423             name: "bg";
26424             mouse_events: 0;
26425             description {
26426                state: "default" 0.0;
26427                visible: 0;
26428                color: 255 255 255 0;
26429                rel1 {
26430                   relative: 0.0 0.0;
26431                   offset: -5 -5;
26432                }
26433                rel2 {
26434                   relative: 1.0 1.0;
26435                   offset: 4 4;
26436                }
26437                image {
26438                   normal: "bt_sm_base1.png";
26439                   border: 6 6 6 6;
26440                }
26441             }
26442             description {
26443                state: "selected" 0.0;
26444                inherit: "default" 0.0;
26445                visible: 1;
26446                color: 255 255 255 255;
26447                rel1 {
26448                   relative: 0.0 0.0;
26449                   offset: -2 -2;
26450                }
26451                rel2 {
26452                   relative: 1.0 1.0;
26453                   offset: 1 1;
26454                }
26455             }
26456          }
26457          part {
26458             name: "e.swallow.icon";
26459             type: SWALLOW;
26460             description {
26461                state: "default" 0.0;
26462                align: 0.0 0.5;
26463                aspect: 1.0 1.0;
26464                aspect_preference: VERTICAL;
26465                rel1 {
26466                   relative: 0.0  0.0;
26467                   offset: 4    4;
26468                }
26469                rel2 {
26470                   relative: 0.0  1.0;
26471                   offset: 4   -5;
26472                }
26473             }
26474          }
26475          part {
26476             name: "e.text.label";
26477             type: TEXT;
26478             effect: SOFT_SHADOW;
26479             mouse_events: 0;
26480             scale: 1;
26481             description {
26482                state: "default" 0.0;
26483                min: 16 16;
26484                rel1 {
26485                   to_x: "e.swallow.icon";
26486                   relative: 1.0  0.0;
26487                   offset: 4 4;
26488                }
26489                rel2 {
26490                   relative: 1.0  1.0;
26491                   offset: -5 -5;
26492                }
26493                color_class: "ilist_item";
26494                text {
26495                   font: "Sans";
26496                   size: 10;
26497                   min: 1 1;
26498                   align: 0.0 0.5;
26499                   text_class: "ilist_item";
26500                }
26501             }
26502             description {
26503                state: "selected" 0.0;
26504                inherit: "default" 0.0;
26505                color_class: "ilist_item_selected";
26506             }
26507          }
26508          part {
26509             name: "e.swallow.end";
26510             type: SWALLOW;
26511             description {
26512                state: "default" 0.0;
26513                align: 1.0 0.5;
26514                aspect: 1.0 1.0;
26515                aspect_preference: VERTICAL;
26516                rel1 {
26517                   relative: 1.0  0.0;
26518                   offset: -5    4;
26519                }
26520                rel2 {
26521                   relative: 1.0  1.0;
26522                   offset: -5   -5;
26523                }
26524             }
26525          }
26526          part {
26527             name: "fg1";
26528             mouse_events: 0;
26529             description {
26530                state: "default" 0.0;
26531                visible: 0;
26532                color: 255 255 255 0;
26533                rel1.to: "bg";
26534                rel2.relative: 1.0 0.5;
26535                rel2.to: "bg";
26536                image {
26537                   normal: "bt_sm_hilight.png";
26538                   border: 6 6 6 0;
26539                }
26540             }
26541             description {
26542                state: "selected" 0.0;
26543                inherit: "default" 0.0;
26544                visible: 1;
26545                color: 255 255 255 255;
26546             }
26547          }
26548          part {
26549             name: "fg2";
26550             mouse_events: 0;
26551             description {
26552                state: "default" 0.0;
26553                visible: 0;
26554                color: 255 255 255 0;
26555                rel1.to: "bg";
26556                rel2.to: "bg";
26557                image {
26558                   normal: "bt_sm_shine.png";
26559                   border: 6 6 6 0;
26560                }
26561             }
26562             description {
26563                state: "selected" 0.0;
26564                inherit: "default" 0.0;
26565                visible: 1;
26566                color: 255 255 255 255;
26567             }
26568          }
26569          part {
26570             name: "event";
26571             type: RECT;
26572             description {
26573                state: "default" 0.0;
26574                color: 0 0 0 0;
26575             }
26576          }
26577       }
26578       programs {
26579          program {
26580             name: "go_active";
26581             signal: "e,state,selected";
26582             source: "e";
26583             action: STATE_SET "selected" 0.0;
26584             target: "bg";
26585             target: "fg1";
26586             target: "fg2";
26587             target: "e.text.label";
26588          }
26589          program {
26590             name: "go_passive";
26591             signal: "e,state,unselected";
26592             source: "e";
26593             action: STATE_SET "default" 0.0;
26594             target: "bg";
26595             target: "fg1";
26596             target: "fg2";
26597             target: "e.text.label";
26598             transition: LINEAR 0.1;
26599          }
26600       }
26601    }
26602    group {
26603       name: "e/widgets/ilist_odd";
26604       data.item: "stacking" "below";
26605       data.item: "selectraise" "on";
26606       images {
26607          image: "bt_sm_base1.png" COMP;
26608          image: "bt_sm_shine.png" COMP;
26609          image: "bt_sm_hilight.png" COMP;
26610          image: "ilist_2.png" COMP;
26611       }
26612       parts {
26613          part {
26614             name: "base";
26615             mouse_events: 0;
26616             description {
26617                state: "default" 0.0;
26618                color_class: "ilist_item_odd_base";
26619                image {
26620                   normal: "ilist_2.png";
26621                   border: 2 2 2 2;
26622                }
26623                fill.smooth: 0;
26624             }
26625          }
26626          part {
26627             name: "bg";
26628             mouse_events: 0;
26629             description {
26630                state: "default" 0.0;
26631                visible: 0;
26632                color: 255 255 255 0;
26633                rel1 {
26634                   relative: 0.0 0.0;
26635                   offset: -5 -5;
26636                }
26637                rel2 {
26638                   relative: 1.0 1.0;
26639                   offset: 4 4;
26640                }
26641                image {
26642                   normal: "bt_sm_base1.png";
26643                   border: 6 6 6 6;
26644                }
26645             }
26646             description {
26647                state: "selected" 0.0;
26648                inherit: "default" 0.0;
26649                visible: 1;
26650                color: 255 255 255 255;
26651                rel1 {
26652                   relative: 0.0 0.0;
26653                   offset: -2 -2;
26654                }
26655                rel2 {
26656                   relative: 1.0 1.0;
26657                   offset: 1 1;
26658                }
26659             }
26660          }
26661          part {
26662             name: "e.swallow.icon";
26663             type: SWALLOW;
26664             description {
26665                state: "default" 0.0;
26666                align: 0.0 0.5;
26667                aspect: 1.0 1.0;
26668                aspect_preference: VERTICAL;
26669                rel1 {
26670                   relative: 0.0  0.0;
26671                   offset: 4    4;
26672                }
26673                rel2 {
26674                   relative: 0.0  1.0;
26675                   offset: 4   -5;
26676                }
26677             }
26678          }
26679          part {
26680             name: "e.text.label";
26681             type: TEXT;
26682             effect: SOFT_SHADOW;
26683             mouse_events: 0;
26684             scale: 1;
26685             description {
26686                state: "default" 0.0;
26687                min: 16 16;
26688                rel1 {
26689                   to_x: "e.swallow.icon";
26690                   relative: 1.0  0.0;
26691                   offset: 4 4;
26692                }
26693                rel2 {
26694                   relative: 1.0  1.0;
26695                   offset: -5 -5;
26696                }
26697                color_class: "ilist_item_odd";
26698                text {
26699                   font: "Sans";
26700                   size: 10;
26701                   min: 1 1;
26702                   align: 0.0 0.5;
26703                   text_class: "ilist_item";
26704                }
26705             }
26706             description {
26707                state: "selected" 0.0;
26708                inherit: "default" 0.0;
26709                color_class: "ilist_item_selected";
26710             }
26711          }
26712          part {
26713             name: "e.swallow.end";
26714             type: SWALLOW;
26715             description {
26716                state: "default" 0.0;
26717                align: 1.0 0.5;
26718                aspect: 1.0 1.0;
26719                aspect_preference: VERTICAL;
26720                rel1 {
26721                   relative: 1.0  0.0;
26722                   offset: -5    4;
26723                }
26724                rel2 {
26725                   relative: 1.0  1.0;
26726                   offset: -5   -5;
26727                }
26728             }
26729          }
26730          part {
26731             name: "fg1";
26732             mouse_events: 0;
26733             description {
26734                state: "default" 0.0;
26735                visible: 0;
26736                color: 255 255 255 0;
26737                rel1.to: "bg";
26738                rel2.relative: 1.0 0.5;
26739                rel2.to: "bg";
26740                image {
26741                   normal: "bt_sm_hilight.png";
26742                   border: 6 6 6 0;
26743                }
26744             }
26745             description {
26746                state: "selected" 0.0;
26747                inherit: "default" 0.0;
26748                visible: 1;
26749                color: 255 255 255 255;
26750             }
26751          }
26752          part {
26753             name: "fg2";
26754             mouse_events: 0;
26755             description {
26756                state: "default" 0.0;
26757                visible: 0;
26758                color: 255 255 255 0;
26759                rel1.to: "bg";
26760                rel2.to: "bg";
26761                image {
26762                   normal: "bt_sm_shine.png";
26763                   border: 6 6 6 0;
26764                }
26765             }
26766             description {
26767                state: "selected" 0.0;
26768                inherit: "default" 0.0;
26769                visible: 1;
26770                color: 255 255 255 255;
26771             }
26772          }
26773          part {
26774             name: "event";
26775             type: RECT;
26776             description {
26777                state: "default" 0.0;
26778                color: 0 0 0 0;
26779             }
26780          }
26781       }
26782       programs {
26783          program {
26784             name: "go_active";
26785             signal: "e,state,selected";
26786             source: "e";
26787             action: STATE_SET "selected" 0.0;
26788             target: "bg";
26789             target: "fg1";
26790             target: "fg2";
26791             target: "e.text.label";
26792          }
26793          program {
26794             name: "go_passive";
26795             signal: "e,state,unselected";
26796             source: "e";
26797             action: STATE_SET "default" 0.0;
26798             target: "bg";
26799             target: "fg1";
26800             target: "fg2";
26801             target: "e.text.label";
26802             transition: LINEAR 0.1;
26803          }
26804       }
26805    }
26806    group {
26807       name: "e/widgets/ilist_header";
26808       data.item: "stacking" "above";
26809       data.item: "selectraise" "on";
26810       images {
26811          image: "bt_sm_base1.png" COMP;
26812          image: "bt_sm_shine.png" COMP;
26813          image: "bt_sm_hilight.png" COMP;
26814          image: "ilist_header_1.png" COMP;
26815          image: "ilist_item_shadow.png" COMP;
26816       }
26817       parts {
26818          part {
26819             name: "base_sh";
26820             mouse_events: 0;
26821             description {
26822                state: "default" 0.0;
26823                fixed: 1 1;
26824                // aspect: 6.4 6.4;
26825                // aspect_preference: HORIZONTAL;
26826                align: 0.0 0.0;
26827                min: 0 10;
26828                rel1 {
26829                   to: "base";
26830                   relative: 0.0 1.0;
26831                   offset: 0 0;
26832                }
26833                rel2 {
26834                   to: "base";
26835                   relative: 1.0 1.0;
26836                   offset: -1 0;
26837                }
26838                image {
26839                   normal: "ilist_item_shadow.png";
26840                }
26841                fill.smooth: 0;
26842             }
26843          }
26844          part {
26845             name: "base";
26846             mouse_events: 0;
26847             description {
26848                state: "default" 0.0;
26849                color_class: "ilist_item_header_base";
26850                image {
26851                   normal: "ilist_header_1.png";
26852                   border: 2 2 2 2;
26853                }
26854             }
26855          }
26856          part {
26857             name: "bg";
26858             mouse_events: 0;
26859             description {
26860                state: "default" 0.0;
26861                visible: 0;
26862                color: 255 255 255 0;
26863                rel1 {
26864                   relative: 0.0 0.0;
26865                   offset: -5 -5;
26866                }
26867                rel2 {
26868                   relative: 1.0 1.0;
26869                   offset: 4 4;
26870                }
26871                image {
26872                   normal: "bt_sm_base1.png";
26873                   border: 6 6 6 6;
26874                }
26875             }
26876             description {
26877                state: "selected" 0.0;
26878                inherit: "default" 0.0;
26879                visible: 1;
26880                color: 255 255 255 255;
26881                rel1 {
26882                   relative: 0.0 0.0;
26883                   offset: -2 -2;
26884                }
26885                rel2 {
26886                   relative: 1.0 1.0;
26887                   offset: 1 1;
26888                }
26889             }
26890          }
26891          part {
26892             name: "e.swallow.icon";
26893             type: SWALLOW;
26894             description {
26895                state: "default" 0.0;
26896                align: 0.0 0.5;
26897                aspect: 1.0 1.0;
26898                aspect_preference: VERTICAL;
26899                rel1 {
26900                   relative: 0.0  0.0;
26901                   offset: 4    4;
26902                }
26903                rel2 {
26904                   relative: 0.0  1.0;
26905                   offset: 4   -5;
26906                }
26907             }
26908          }
26909          part {
26910             name: "e.text.label";
26911             type: TEXT;
26912             effect: SOFT_SHADOW;
26913             mouse_events: 0;
26914             scale: 1;
26915             description {
26916                state: "default" 0.0;
26917                min: 16 16;
26918                rel1 {
26919                   to_x: "e.swallow.icon";
26920                   relative: 1.0  0.0;
26921                   offset: 4 4;
26922                }
26923                rel2 {
26924                   relative: 1.0  1.0;
26925                   offset: -5 -5;
26926                }
26927                color_class: "ilist_item_header";
26928                text {
26929                   font: "Sans:style=Bold";
26930                   size: 16;
26931                   min: 1 1;
26932                   align: 0.0 0.5;
26933                   text_class: "ilist_item";
26934                }
26935             }
26936          }
26937          part {
26938             name: "fg1";
26939             mouse_events: 0;
26940             description {
26941                state: "default" 0.0;
26942                visible: 0;
26943                color: 255 255 255 0;
26944                rel1.to: "bg";
26945                rel2.relative: 1.0 0.5;
26946                rel2.to: "bg";
26947                image {
26948                   normal: "bt_sm_hilight.png";
26949                   border: 6 6 6 0;
26950                }
26951             }
26952             description {
26953                state: "selected" 0.0;
26954                inherit: "default" 0.0;
26955                visible: 1;
26956                color: 255 255 255 255;
26957             }
26958          }
26959          part {
26960             name: "fg2";
26961             mouse_events: 0;
26962             description {
26963                state: "default" 0.0;
26964                visible: 0;
26965                color: 255 255 255 0;
26966                rel1.to: "bg";
26967                rel2.to: "bg";
26968                image {
26969                   normal: "bt_sm_shine.png";
26970                   border: 6 6 6 0;
26971                }
26972             }
26973             description {
26974                state: "selected" 0.0;
26975                inherit: "default" 0.0;
26976                visible: 1;
26977                color: 255 255 255 255;
26978             }
26979          }
26980          part {
26981             name: "event";
26982             type: RECT;
26983             description {
26984                state: "default" 0.0;
26985                color: 0 0 0 0;
26986             }
26987          }
26988       }
26989       programs {
26990          program {
26991             name: "go_active";
26992             signal: "e,state,selected";
26993             source: "e";
26994             action: STATE_SET "selected" 0.0;
26995             target: "bg";
26996             target: "fg1";
26997             target: "fg2";
26998             target: "e.text.label";
26999          }
27000          program {
27001             name: "go_passive";
27002             signal: "e,state,unselected";
27003             source: "e";
27004             action: STATE_SET "default" 0.0;
27005             target: "bg";
27006             target: "fg1";
27007             target: "fg2";
27008             target: "e.text.label";
27009             transition: LINEAR 0.1;
27010          }
27011       }
27012    }
27013    group {
27014       name: "e/widgets/ilist_header_odd";
27015       data.item: "stacking" "below";
27016       data.item: "selectraise" "on";
27017       images {
27018          image: "bt_sm_base1.png" COMP;
27019          image: "bt_sm_shine.png" COMP;
27020          image: "bt_sm_hilight.png" COMP;
27021          image: "ilist_header_2.png" COMP;
27022       }
27023       parts {
27024          part {
27025             name: "base";
27026             mouse_events: 0;
27027             description {
27028                state: "default" 0.0;
27029                color_class: "ilist_item_header_odd_base";
27030                image {
27031                   normal: "ilist_header_2.png";
27032                   border: 2 2 2 2;
27033                }
27034             }
27035          }
27036          part {
27037             name: "bg";
27038             mouse_events: 0;
27039             description {
27040                state: "default" 0.0;
27041                visible: 0;
27042                color: 255 255 255 0;
27043                rel1 {
27044                   relative: 0.0 0.0;
27045                   offset: -5 -5;
27046                }
27047                rel2 {
27048                   relative: 1.0 1.0;
27049                   offset: 4 4;
27050                }
27051                image {
27052                   normal: "bt_sm_base1.png";
27053                   border: 6 6 6 6;
27054                }
27055             }
27056             description {
27057                state: "selected" 0.0;
27058                inherit: "default" 0.0;
27059                visible: 1;
27060                color: 255 255 255 255;
27061                rel1 {
27062                   relative: 0.0 0.0;
27063                   offset: -2 -2;
27064                }
27065                rel2 {
27066                   relative: 1.0 1.0;
27067                   offset: 1 1;
27068                }
27069             }
27070          }
27071          part {
27072             name: "e.swallow.icon";
27073             type: SWALLOW;
27074             description {
27075                state: "default" 0.0;
27076                align: 0.0 0.5;
27077                aspect: 1.0 1.0;
27078                aspect_preference: VERTICAL;
27079                rel1 {
27080                   relative: 0.0  0.0;
27081                   offset: 4    4;
27082                }
27083                rel2 {
27084                   relative: 0.0  1.0;
27085                   offset: 4   -5;
27086                }
27087             }
27088          }
27089          part {
27090             name: "e.text.label";
27091             type: TEXT;
27092             effect: SOFT_SHADOW;
27093             mouse_events: 0;
27094             scale: 1;
27095             description {
27096                state: "default" 0.0;
27097                min: 16 16;
27098                rel1 {
27099                   to_x: "e.swallow.icon";
27100                   relative: 1.0  0.0;
27101                   offset: 4 4;
27102                }
27103                rel2 {
27104                   relative: 1.0  1.0;
27105                   offset: -5 -5;
27106                }
27107                color_class: "ilist_item_header_odd";
27108                text {
27109                   font: "Sans:style=Bold";
27110                   size: 16;
27111                   min: 1 1;
27112                   align: 0.0 0.5;
27113                   text_class: "ilist_item";
27114                }
27115             }
27116          }
27117          part {
27118             name: "fg1";
27119             mouse_events: 0;
27120             description {
27121                state: "default" 0.0;
27122                visible: 0;
27123                color: 255 255 255 0;
27124                rel1.to: "bg";
27125                rel2.relative: 1.0 0.5;
27126                rel2.to: "bg";
27127                image {
27128                   normal: "bt_sm_hilight.png";
27129                   border: 6 6 6 0;
27130                }
27131             }
27132             description {
27133                state: "selected" 0.0;
27134                inherit: "default" 0.0;
27135                visible: 1;
27136                color: 255 255 255 255;
27137             }
27138          }
27139          part {
27140             name: "fg2";
27141             mouse_events: 0;
27142             description {
27143                state: "default" 0.0;
27144                visible: 0;
27145                color: 255 255 255 0;
27146                rel1.to: "bg";
27147                rel2.to: "bg";
27148                image {
27149                   normal: "bt_sm_shine.png";
27150                   border: 6 6 6 0;
27151                }
27152             }
27153             description {
27154                state: "selected" 0.0;
27155                inherit: "default" 0.0;
27156                visible: 1;
27157                color: 255 255 255 255;
27158             }
27159          }
27160          part {
27161             name: "event";
27162             type: RECT;
27163             description {
27164                state: "default" 0.0;
27165                color: 0 0 0 0;
27166             }
27167          }
27168       }
27169       programs {
27170          program {
27171             name: "go_active";
27172             signal: "e,state,selected";
27173             source: "e";
27174             action: STATE_SET "selected" 0.0;
27175             target: "bg";
27176             target: "fg1";
27177             target: "fg2";
27178             target: "e.text.label";
27179          }
27180          program {
27181             name: "go_passive";
27182             signal: "e,state,unselected";
27183             source: "e";
27184             action: STATE_SET "default" 0.0;
27185             target: "bg";
27186             target: "fg1";
27187             target: "fg2";
27188             target: "e.text.label";
27189             transition: LINEAR 0.1;
27190          }
27191       }
27192    }
27193    group {
27194       name: "e/widgets/ilist/toggle_end";
27195       images {
27196          image: "icon_active.png" COMP;
27197       }
27198       parts {
27199          part {
27200             name: "icon";
27201             type: IMAGE;
27202             description {
27203                state: "default" 0.0;
27204                color: 255 255 255 0;
27205                visible: 0;
27206                align: 1.0 0.5;
27207                aspect: 1.0 1.0;
27208                aspect_preference: VERTICAL;
27209                rel1 {
27210                   relative: 0.0  0.0;
27211                   offset: 4    4;
27212                }
27213                rel2 {
27214                   relative: 0.0  1.0;
27215                   offset: 4   -5;
27216                }
27217                image.normal: "icon_active.png";
27218             }
27219             description {
27220                state: "visible" 0.0;
27221                inherit: "default" 0.0;
27222                color: 255 255 255 255;
27223                visible: 1;
27224             }
27225          }
27226       }
27227       programs {
27228          program {
27229             signal: "e,state,checked";
27230             source: "e";
27231             action: STATE_SET "visible" 0.0;
27232             target: "icon";
27233             transition: LINEAR 0.1;
27234          }
27235          program {
27236             signal: "e,state,unchecked";
27237             source: "e";
27238             action: STATE_SET "default" 0.0;
27239             target: "icon";
27240             transition: LINEAR 0.1;
27241          }
27242       }
27243    }
27244    /* e/widgets/entry is used in the Wallpaper Picture file selector */
27245    group {
27246       name: "e/widgets/entry";
27247       // min: 12 12;
27248       images.image: "inset_sunk.png" COMP;
27249       parts {
27250          part {
27251             name: "base";
27252             type: RECT;
27253             description {
27254                state: "default" 0.0;
27255                rel1.offset: 1 1;
27256                rel2.offset: -2  -2;
27257                color: 255 255 255 255;
27258             }
27259             description {
27260                state: "disabled" 0.0;
27261                inherit: "default" 0.0;
27262                color: 255 255 255 0;
27263             }
27264          }
27265          part {
27266             name: "e.swallow.text";
27267             type: SWALLOW;
27268             description {
27269                state: "default" 0.0;
27270                rel1 {
27271                   offset: 2 2;
27272                   to: "base";
27273                }
27274                rel2 {
27275                   offset: -3 -3;
27276                   to: "base";
27277                }
27278             }
27279          }
27280          part {
27281             name: "overlay";
27282             description {
27283                state: "default" 0.0;
27284                image {
27285                   normal: "inset_sunk.png";
27286                   border: 7 7 7 7;
27287                   middle: 0;
27288                }
27289                fill.smooth : 0;
27290                color: 255 255 255 255;
27291             }
27292             description {
27293                state: "disabled" 0.0;
27294                inherit: "default" 0.0;
27295                color: 255 255 255 0;
27296             }
27297          }
27298       }
27299       programs {
27300          program {
27301             name: "disable";
27302             signal: "e,state,disabled";
27303             source: "e";
27304             action: STATE_SET "disabled" 0.0;
27305             target: "overlay";
27306             target: "base";
27307          }
27308          program {
27309             name: "enable";
27310             signal: "e,state,enabled";
27311             source: "e";
27312             action: STATE_SET "default" 0.0;
27313             target: "overlay";
27314             target: "base";
27315          }
27316       }
27317    }
27318    group {
27319       name: "e/widgets/entry/text";
27320       parts {
27321          part {
27322             name: "e.text.text";
27323             type: TEXT;
27324             mouse_events: 0;
27325             scale: 1;
27326             description {
27327                state: "default" 0.0;
27328                color_class: "entry_text";
27329                text {
27330                   text: "";
27331                   font: "Sans";
27332                   size: 10;
27333                   min: 1 1;
27334                   align: 0.0 0.0;
27335                   text_class: "entry";
27336                }
27337             }
27338             description {
27339                state: "disabled" 0.0;
27340                inherit: "default" 0.0;
27341                color_class: "entry_text_disabled";
27342             }
27343          }
27344       }
27345       programs {
27346          program {
27347             name: "disable";
27348             signal: "e,state,disabled";
27349             source: "e";
27350             action: STATE_SET "disabled" 0.0;
27351             target: "e.text.text";
27352          }
27353          program {
27354             name: "enable";
27355             signal: "e,state,enabled";
27356             source: "e";
27357             action: STATE_SET "default" 0.0;
27358             target: "e.text.text";
27359          }
27360       }
27361    }
27362    group {
27363       name: "e/widgets/entry/cursor";
27364       min: 1 0;
27365       parts {
27366          part {
27367             name: "cursor";
27368             type: RECT;
27369             description {
27370                state: "default" 0.0;
27371                rel1.offset: 1 0;
27372                rel2.offset: 0 -1;
27373                color: 0 0 0 0;
27374             }
27375             description {
27376                state: "visible" 0.0;
27377                inherit: "default" 0.0;
27378                color: 0 0 0 255;
27379             }
27380          }
27381       }
27382       programs {
27383          program {
27384             name: "on_cursor_show";
27385             signal: "e,action,show,cursor";
27386             source: "e";
27387             action: ACTION_STOP;
27388             target: "cursor_show";
27389             target: "cursor_hide";
27390             target: "cursor_show_timer";
27391             target: "cursor_hide_timer";
27392             after: "cursor_show";
27393          }
27394          program {
27395             name: "cursor_show";
27396             action: STATE_SET "visible" 0.0;
27397             target: "cursor";
27398             after: "cursor_show_timer";
27399          }
27400          program {
27401             name: "cursor_hide";
27402             action: STATE_SET "default" 0.0;
27403             target: "cursor";
27404             transition: SINUSOIDAL 0.2;
27405             after: "cursor_hide_timer";
27406          }
27407          program {
27408             name: "cursor_show_timer";
27409             in: 0.55 0.0;
27410             after: "cursor_hide";
27411          }
27412          program {
27413             name: "cursor_hide_timer";
27414             in: 0.2 0.0;
27415             after: "cursor_show";
27416          }
27417       }
27418    }
27419    group {
27420       name: "e/widgets/entry/selection";
27421       data.item: "on_foreground" "1";
27422       parts {
27423          part {
27424             name: "selection";
27425             type: RECT;
27426             description {
27427                state: "default" 0.0;
27428                rel1.offset: 2 0;
27429                rel2.offset: 1 -1;
27430                color: 164 164 164 100;
27431             }
27432          }
27433       }
27434    }
27435    /* e/widgets/preview is used in the Theme Selector to preview themes */
27436    group {
27437       name: "e/widgets/preview";
27438       images.image: "inset_sunk.png" COMP;
27439       parts {
27440          part {
27441             name: "clip";
27442             type: RECT;
27443             mouse_events: 0;
27444             description {
27445                state: "default" 0.0;
27446                rel1.to: "e.swallow.content";
27447                rel2.to: "e.swallow.content";
27448             }
27449          }
27450          part {
27451             name: "e.swallow.content";
27452             clip_to: "clip";
27453             type: SWALLOW;
27454             description {
27455                state: "default" 0.0;
27456                rel1.offset: 1 1;
27457                rel2.offset: -2 -2;
27458             }
27459          }
27460          part {
27461             name: "border";
27462             mouse_events: 0;
27463             description {
27464                state: "default" 0.0;
27465                image {
27466                   normal: "inset_sunk.png";
27467                   border: 7 7 7 7;
27468                   middle: 0;
27469                }
27470                fill.smooth : 0;
27471             }
27472          }
27473       }
27474    }
27475    /* e/widgets/deskpreview is used in the Wallpaper
27476       selector dialog to preview wallpapers.         */
27477    group {
27478       name: "e/widgets/deskpreview/desk";
27479       images.image: "inset_sunk.png" COMP;
27480       parts {
27481          part {
27482             name: "clip";
27483             type: RECT;
27484             mouse_events: 0;
27485             description {
27486                state: "default" 0.0;
27487                rel1.to: "e.swallow.content";
27488                rel2.to: "e.swallow.content";
27489             }
27490          }
27491          part {
27492             name: "e.swallow.content";
27493             clip_to: "clip";
27494             type: SWALLOW;
27495             description {
27496                state: "default" 0.0;
27497                rel1.offset: 1 1;
27498                rel2.offset: -2 -2;
27499             }
27500          }
27501          part {
27502             name: "border";
27503             mouse_events: 0;
27504             description {
27505                state: "default" 0.0;
27506                image {
27507                   normal: "inset_sunk.png";
27508                   border: 7 7 7 7;
27509                   middle: 0;
27510                }
27511                fill.smooth : 0;
27512             }
27513          }
27514          part {
27515             name: "e.event.menu";
27516             type: RECT;
27517             description {
27518                state: "default" 0.0;
27519                color: 0 0 0 0;
27520             }
27521          }
27522       }
27523    }
27524    /* color_well & gradpreview are used to display the color
27525       and the gradient in the Wallpaper Gradient config dialog. */
27526    group {
27527       name: "e/widgets/color_well";
27528       alias: "e/widgets/gradpreview";
27529       images.image: "inset_sunk.png" COMP;
27530       parts {
27531          part {
27532             name: "content_clip";
27533             type: RECT;
27534             mouse_events: 0;
27535             description {
27536                state: "default" 0.0;
27537                rel1.to: "e.swallow.content";
27538                rel2.to: "e.swallow.content";
27539                color: 255 255 255 255;
27540             }
27541             description {
27542                state: "disabled" 0.0;
27543                inherit: "default" 0.0;
27544                color: 255 255 255 0;
27545             }
27546          }
27547          part {
27548             name: "e.swallow.content";
27549             type: SWALLOW;
27550             clip_to: "content_clip";
27551             description {
27552                state: "default" 0.0;
27553                rel1.offset: 4  4;
27554                rel2.offset: -5  -5;
27555             }
27556          }
27557          part {
27558             name: "border";
27559             mouse_events: 1;
27560             description {
27561                state: "default" 0.0;
27562                rel1 {
27563                   to: "e.swallow.content";
27564                   offset: -1 -1;
27565                }
27566                rel2 {
27567                   to: "e.swallow.content";
27568                   offset: 0 0;
27569                }
27570                image {
27571                   normal: "inset_sunk.png";
27572                   border: 7 7 7 7;
27573                   middle: 0;
27574                }
27575                fill.smooth : 0;
27576             }
27577          }
27578       }
27579       programs {
27580          program {
27581             name: "send_click";
27582             signal: "mouse,clicked,1";
27583             source: "border";
27584             action: SIGNAL_EMIT "e,action,click" "";
27585          }
27586          program {
27587             name: "disable";
27588             signal: "e,state,disabled";
27589             source: "e";
27590             action: STATE_SET "disabled" 0.0;
27591             target: "content_clip";
27592          }
27593          program {
27594             name: "enable";
27595             signal: "e,state,enabled";
27596             source: "e";
27597             action: STATE_SET "default" 0.0;
27598             target: "content_clip";
27599          }
27600       }
27601    }
27602    /* Used in the color selector widget in Wallpaper Gradient dialog */
27603    group {
27604       name: "e/widgets/spectrum";
27605       images.image: "inset_sunk.png" COMP;
27606       parts {
27607          part {
27608             name: "content_clip";
27609             type: RECT;
27610             mouse_events: 0;
27611             description {
27612                state: "default" 0.0;
27613                rel1.to: "e.swallow.content";
27614                rel2.to: "e.swallow.content";
27615                color: 255 255 255 255;
27616             }
27617          }
27618          part {
27619             name: "e.swallow.content";
27620             type: SWALLOW;
27621             clip_to: "content_clip";
27622             description {
27623                state: "default" 0.0;
27624                rel1.offset: 4  4;
27625                rel2.offset: -5  -5;
27626             }
27627          }
27628          part {
27629             name: "border";
27630             mouse_events: 1;
27631             description {
27632                state: "default" 0.0;
27633                rel1 {
27634                   to: "e.swallow.content";
27635                   offset: -1 -1;
27636                }
27637                rel2 {
27638                   to: "e.swallow.content";
27639                   offset: 0 0;
27640                }
27641                image {
27642                   normal: "inset_sunk.png";
27643                   border: 7 7 7 7;
27644                   middle: 0;
27645                }
27646                fill.smooth : 0;
27647             }
27648          }
27649          part {
27650             name: "e.dragable.cursor";
27651             type: RECT;
27652             dragable {
27653                confine: "e.swallow.content";
27654                x: 1 1 0;
27655                y: 1 1 0;
27656             }
27657             description {
27658                state: "default" 0.0;
27659                min: 1 1;
27660                max: 1 1;
27661                fixed: 1 1;
27662                visible: 0;
27663                rel1 {
27664                   to: "e.swallow.content";
27665                   relative: 0.5 0.5;
27666                   offset: 0 0;
27667                }
27668                rel2 {
27669                   to: "e.swallow.content";
27670                   relative: 0.5 0.5;
27671                   offset: 0 0;
27672                }
27673             }
27674          }
27675          part {
27676             name: "cursor_x";
27677             type: RECT;
27678             description {
27679                state: "default" 0.0;
27680                rel1 {
27681                   to_x: "e.dragable.cursor";
27682                   to_y: "e.swallow.content";
27683                }
27684                rel2 {
27685                   to_x: "e.dragable.cursor";
27686                   to_y: "e.swallow.content";
27687                }
27688                color: 255 255 255 150;
27689             }
27690          }
27691          part {
27692             name: "cursor_y";
27693             type: RECT;
27694             description {
27695                state: "default" 0.0;
27696                rel1 {
27697                   to_x: "e.swallow.content";
27698                   to_y: "e.dragable.cursor";
27699                }
27700                rel2 {
27701                   to_x: "e.swallow.content";
27702                   to_y: "e.dragable.cursor";
27703                }
27704                color: 255 255 255 150;
27705             }
27706          }
27707       }
27708    }
27709    /* Used to display RGB/HSV values via sliders
27710       in Wallpaper Gradient Dialog               */
27711    group {
27712       name: "e/widgets/cslider";
27713       images.image: "inset_sunk.png" COMP;
27714       parts {
27715          part {
27716             name: "content_clip";
27717             type: RECT;
27718             mouse_events: 0;
27719             description {
27720                state: "default" 0.0;
27721                rel1.to: "e.swallow.content";
27722                rel2.to: "e.swallow.content";
27723                color: 255 255 255 255;
27724             }
27725          }
27726          part {
27727             name: "e.swallow.content";
27728             type: SWALLOW;
27729             clip_to: "content_clip";
27730             description {
27731                state: "default" 0.0;
27732                min: 50 20;
27733                rel1.offset: 4    4;
27734                rel2.offset: -5    -5;
27735             }
27736             description {
27737                state: "vertical" 0.0;
27738                inherit: "default" 0.0;
27739                min: 20 50;
27740             }
27741          }
27742          part {
27743             name: "border";
27744             mouse_events: 1;
27745             description {
27746                state: "default" 0.0;
27747                rel1 {
27748                   to: "e.swallow.content";
27749                   offset: -1 -1;
27750                }
27751                rel2 {
27752                   to: "e.swallow.content";
27753                   offset: 0 0;
27754                }
27755                image {
27756                   normal: "inset_sunk.png";
27757                   border: 7 7 7 7;
27758                   middle: 0;
27759                }
27760                fill.smooth : 0;
27761             }
27762          }
27763          part {
27764             name: "e.dragable.cursor";
27765             type: RECT;
27766             clip_to: "content_clip";
27767             dragable {
27768                confine: "e.swallow.content";
27769                x: 1 1 0;
27770                y: -1 1 0;
27771             }
27772             description {
27773                state: "default" 0.0;
27774                min: 1 24;
27775                max: 1 9999;
27776                fixed: 1 1;
27777                rel1 {
27778                   to: "e.swallow.content";
27779                   relative: 0.5 0.0;
27780                   offset: 0 0;
27781                }
27782                rel2 {
27783                   to: "e.swallow.content";
27784                   relative: 0.5 1.0;
27785                   offset: 0 -1;
27786                }
27787                color: 255 255 255 150;
27788             }
27789             description {
27790                state: "vertical" 0.0;
27791                min: 24 1;
27792                max: 9999 1;
27793                fixed: 1 1;
27794                rel1 {
27795                   to: "e.swallow.content";
27796                   relative: 0.0 0.5 ;
27797                   offset: 0 0;
27798                }
27799                rel2 {
27800                   to: "e.swallow.content";
27801                   relative: 1.0 0.5;
27802                   offset: -1 0;
27803                }
27804                color: 255 255 255 150;
27805             }
27806          }
27807       }
27808       programs {
27809          program {
27810             name: "go_vertical";
27811             signal: "e,state,direction,v";
27812             source: "e";
27813             action: STATE_SET "vertical" 0.0;
27814             target: "e.dragable.cursor";
27815             target: "e.swallow.content";
27816          }
27817       }
27818    }
27819    /* e/widgets/slider* is used in the Virtual Desktops Config dialog */
27820    group {
27821       name: "e/widgets/slider_vertical";
27822       images {
27823          image: "slider.png" COMP;
27824          image: "slider_clicked.png" COMP;
27825          image: "sb_runnerv.png" COMP;
27826          image: "inset_sunk.png" COMP;
27827       }
27828       parts {
27829          part {
27830             name: "base";
27831             type: RECT;
27832             mouse_events: 1;
27833             description {
27834                state: "default" 0.0;
27835                color: 0 0 0 0;
27836                min: 22 0;
27837                rel1.offset: 2 2;
27838                rel2.offset: -3 -3;
27839             }
27840             description {
27841                state: "active" 0.0;
27842                inherit: "default" 0.0;
27843                rel2 {
27844                   to_y: "label";
27845                   relative: 1.0  0.0;
27846                   offset: -3   -1;
27847                }
27848             }
27849          }
27850          part {
27851             name: "runner";
27852             mouse_events: 0;
27853             clip_to: "clip";
27854             description {
27855                state: "default" 0.0;
27856                max: 3 99999;
27857                rel1.to: "base";
27858                rel2.to: "base";
27859                image {
27860                   normal: "sb_runnerv.png";
27861                   border: 0 0 4 4;
27862                }
27863                fill.smooth: 0;
27864             }
27865          }
27866          part {
27867             name: "label_base";
27868             clip_to: "clip";
27869             type: RECT;
27870             description {
27871                state: "default" 0.0;
27872                color: 255 255 255 0;
27873                visible: 0;
27874                rel1.to: "label";
27875                rel1.offset: 1 1;
27876                rel2.to: "label";
27877                rel2.offset: -2 -2;
27878             }
27879             description {
27880                state: "active" 0.0;
27881                inherit: "default" 0.0;
27882                visible: 1;
27883             }
27884          }
27885          part {
27886             name: "label";
27887             mouse_events: 0;
27888             clip_to: "clip";
27889             description {
27890                state: "default" 0.0;
27891                visible: 0;
27892             }
27893             description {
27894                state: "active" 0.0;
27895                rel1 {
27896                   to: "e.text.label";
27897                   offset: -4  -2;
27898                }
27899                rel2 {
27900                   to: "e.text.label";
27901                   offset: 3  1;
27902                }
27903             }
27904          }
27905          part {
27906             name: "e.text.label";
27907             type: TEXT;
27908             mouse_events: 0;
27909             clip_to: "clip";
27910             scale: 1;
27911             description {
27912                state: "default" 0.0;
27913                visible: 0;
27914             }
27915             description {
27916                state: "active" 0.0;
27917                align: 0.5 1.0;
27918                fixed: 1 1;
27919                rel1 {
27920                   relative: 0.0  1.0;
27921                   offset: 7    -8;
27922                }
27923                rel2 {
27924                   relative: 1.0  1.0;
27925                   offset: -8  -8;
27926                }
27927                color_class: "slider_text";
27928                text {
27929                   text: "0.0";
27930                   font: "Sans";
27931                   size: 10;
27932                   min: 1 1;
27933                   align: 0.5 0.5;
27934                   text_class: "slider";
27935                }
27936             }
27937          }
27938          part {
27939             name: "sld_p1";
27940             type: RECT;
27941             mouse_events: 1;
27942             description {
27943                state: "default" 0.0;
27944                color: 0 0 0 0;
27945                rel2 {
27946                   relative: 1.0 0.0;
27947                   to: "e.dragable.slider";
27948                }
27949             }
27950          }
27951          part {
27952             name: "sld_p2";
27953             type: RECT;
27954             mouse_events: 1;
27955             description {
27956                state: "default" 0.0;
27957                color: 0 0 0 0;
27958                rel1 {
27959                   relative: 0.0 1.0;
27960                   to: "e.dragable.slider";
27961                }
27962             }
27963          }
27964          part {
27965             name: "e.swallow.bar";
27966             type: SWALLOW;
27967             description { state: "default" 0.0;
27968                rel1 {
27969                   to_x: "e.dragable.slider";
27970                   to_y: "base";
27971                   offset: 0 5;
27972                }
27973                rel2 {
27974                   to_x: "e.dragable.slider";
27975                   to_y: "base";
27976                   offset: -1 -6;
27977                }
27978             }
27979          }
27980          part {
27981             name: "e.dragable.slider";
27982             type: RECT;
27983             mouse_events: 1;
27984             scale: 1;
27985             dragable {
27986                x: 0 0 0;
27987                y: -1 1 0;
27988                confine: "base";
27989             }
27990             description {
27991                state: "default" 0.0;
27992                min: 11 11;
27993                fixed: 1 1;
27994                rel1 {
27995                   relative: 0.5  0.5;
27996                   offset: -1    0;
27997                   to: "base";
27998                }
27999                rel2 {
28000                   relative: 0.5  0.5;
28001                   offset: -1    -1;
28002                   to: "base";
28003                }
28004                color: 0 0 0 0;
28005             }
28006          }
28007          part {
28008             name: "button";
28009             mouse_events: 0;
28010             scale: 1;
28011             description {
28012                state: "default" 0.0;
28013                min: 22 22;
28014                fixed: 1 1;
28015                rel1.to: "e.dragable.slider";
28016                rel2.to: "e.dragable.slider";
28017                image.normal: "slider.png";
28018             }
28019             description {
28020                state: "clicked" 0.0;
28021                inherit: "default" 0.0;
28022                image.normal: "slider_clicked.png";
28023             }
28024          }
28025          part {
28026             name: "clip";
28027             type: RECT;
28028             description {
28029                state: "default" 0.0;
28030                color: 255 255 255 255;
28031             }
28032             description {
28033                state: "disabled" 0.0;
28034                inherit: "default" 0.0;
28035                color: 255 255 255 128;
28036             }
28037          }
28038          part {
28039             name: "event";
28040             type: RECT;
28041             mouse_events: 1;
28042             description {
28043                state: "default" 0.0;
28044                visible: 0;
28045                color: 0 0 0 0;
28046             }
28047             description {
28048                state: "disabled" 0.0;
28049                inherit: "default" 0.0;
28050                visible: 1;
28051             }
28052          }
28053       }
28054       programs {
28055          program {
28056             name: "sld_p1_down";
28057             signal: "mouse,down,1";
28058             source: "sld_p1";
28059             action: DRAG_VAL_PAGE 0.0 -1.0;
28060             target: "e.dragable.slider";
28061          }
28062          program {
28063             name: "sld_p2_down";
28064             signal: "mouse,down,1";
28065             source: "sld_p2";
28066             action: DRAG_VAL_PAGE  0.0 1.0;
28067             target: "e.dragable.slider";
28068          }
28069          program {
28070             name: "button_down";
28071             signal: "mouse,down,1";
28072             source: "e.dragable.slider";
28073             action: STATE_SET "clicked" 0.0;
28074             target: "button";
28075          }
28076          program {
28077             name: "button_up";
28078             signal: "mouse,up,1";
28079             source: "e.dragable.slider";
28080             action: STATE_SET "default" 0.0;
28081             target: "button";
28082          }
28083          program {
28084             name: "show_label";
28085             signal: "e,action,show,label";
28086             source: "e";
28087             action: STATE_SET "active" 0.0;
28088             target: "base";
28089             target: "label";
28090             target: "label_base";
28091             target: "e.text.label";
28092          }
28093          program {
28094             name: "hide_label";
28095             signal: "e,action,hide,label";
28096             source: "e";
28097             action: STATE_SET "default" 0.0;
28098             target: "base";
28099             target: "label";
28100             target: "label_base";
28101             target: "e.text.label";
28102          }
28103          program {
28104             name: "disable";
28105             signal: "e,state,disabled";
28106             source: "e";
28107             action: STATE_SET "disabled" 0.0;
28108             target: "clip";
28109             target: "event";
28110          }
28111          program {
28112             name: "enable";
28113             signal: "e,state,enabled";
28114             source: "e";
28115             action: STATE_SET "default" 0.0;
28116             target: "clip";
28117             target: "event";
28118          }
28119       }
28120    }
28121    group {
28122       name: "e/widgets/slider_horizontal";
28123       images {
28124          image: "slider.png" COMP;
28125          image: "slider_clicked.png" COMP;
28126          image: "sb_runnerh.png" COMP;
28127          image: "inset_sunk.png" COMP;
28128       }
28129       parts {
28130          part {
28131             name: "base";
28132             type: RECT;
28133             mouse_events: 1;
28134             description {
28135                state: "default" 0.0;
28136                color: 0 0 0 0;
28137                min: 0 22;
28138                rel1.offset: 2 2;
28139                rel2.offset: -3 -3;
28140             }
28141             description {
28142                state: "active" 0.0;
28143                inherit: "default" 0.0;
28144                rel2 {
28145                   to_x: "label";
28146                   relative: 0.0  1.0;
28147                   offset: -1   -3;
28148                }
28149             }
28150          }
28151          part {
28152             name: "runner";
28153             mouse_events: 0;
28154             clip_to: "clip";
28155             description {
28156                state: "default" 0.0;
28157                max: 99999 3;
28158                rel1.to: "base";
28159                rel2.to: "base";
28160                image {
28161                   normal: "sb_runnerh.png";
28162                   border: 4 4 0 0;
28163                }
28164                fill.smooth: 0;
28165             }
28166          }
28167          part {
28168             name: "label_base";
28169             clip_to: "clip";
28170             type: RECT;
28171             description {
28172                state: "default" 0.0;
28173                color: 255 255 255 0;
28174                visible: 0;
28175                rel1.to: "label";
28176                rel1.offset: 1 1;
28177                rel2.to: "label";
28178                rel2.offset: -2 -2;
28179             }
28180             description {
28181                state: "active" 0.0;
28182                inherit: "default" 0.0;
28183                visible: 1;
28184             }
28185          }
28186          part {
28187             name: "label";
28188             mouse_events: 0;
28189             clip_to: "clip";
28190             description {
28191                state: "default" 0.0;
28192                visible: 0;
28193             }
28194             description {
28195                state: "active" 0.0;
28196                min: 20 0;
28197                rel1 {
28198                   to: "e.text.label";
28199                   offset: -4 -2;
28200                }
28201                rel2 {
28202                   to: "e.text.label";
28203                   offset: 2   1;
28204                }
28205             }
28206          }
28207          part {
28208             name: "e.text.label";
28209             type: TEXT;
28210             mouse_events: 0;
28211             clip_to: "clip";
28212             scale: 1;
28213             description {
28214                state: "default" 0.0;
28215                visible: 0;
28216             }
28217             description {
28218                state: "active" 0.0;
28219                align: 1.0 0.5;
28220                fixed: 1 0;
28221                rel1 {
28222                   relative: 1.0  0.0;
28223                   offset: -8   7;
28224                }
28225                rel2 {
28226                   relative: 1.0  1.0;
28227                   offset: -8 -8;
28228                }
28229                color_class: "slider_text";
28230                text {
28231                   text: "0.0";
28232                   font: "Sans";
28233                   size: 10;
28234                   min: 1 1;
28235                   align: 0.5 0.5;
28236                   text_class: "slider";
28237                }
28238             }
28239          }
28240          part {
28241             name: "sld_p1";
28242             type: RECT;
28243             mouse_events: 1;
28244             description {
28245                state: "default" 0.0;
28246                color: 0 0 0 0;
28247                rel2 {
28248                   relative: 0.0 1.0;
28249                   to: "e.dragable.slider";
28250                }
28251             }
28252          }
28253          part {
28254             name: "sld_p2";
28255             type: RECT;
28256             mouse_events: 1;
28257             description {
28258                state: "default" 0.0;
28259                color: 0 0 0 0;
28260                rel1 {
28261                   relative: 1.0 0.0;
28262                   to: "e.dragable.slider";
28263                }
28264             }
28265          }
28266          part {
28267             name: "e.swallow.bar";
28268             type: SWALLOW;
28269             description { state: "default" 0.0;
28270                rel1 {
28271                   to_x: "base";
28272                   to_y: "e.dragable.slider";
28273                   offset: 5 0;
28274                }
28275                rel2 {
28276                   to_x: "base";
28277                   to_y: "e.dragable.slider";
28278                   offset: -6 -1;
28279                }
28280             }
28281          }
28282          part {
28283             name: "e.dragable.slider";
28284             type: RECT;
28285             mouse_events: 1;
28286             scale: 1;
28287             dragable {
28288                x: 1 1 0;
28289                y: 0 0 0;
28290                confine: "base";
28291             }
28292             description {
28293                state: "default" 0.0;
28294                min: 11 11;
28295                fixed: 1 1;
28296                rel1 {
28297                   relative: 0.5  0.5;
28298                   to: "base";
28299                }
28300                rel2 {
28301                   relative: 0.5  0.5;
28302                   offset: 0    0;
28303                   to: "base";
28304                }
28305                color: 0 0 0 0;
28306             }
28307          }
28308          part {
28309             name: "slider";
28310             mouse_events: 0;
28311             clip_to: "clip";
28312             scale: 1;
28313             description {
28314                state: "default" 0.0;
28315                min: 22 22;
28316                fixed: 1 1;
28317                rel1.to: "e.dragable.slider";
28318                rel2.to: "e.dragable.slider";
28319                image.normal: "slider.png";
28320             }
28321             description {
28322                state: "clicked" 0.0;
28323                inherit: "default" 0.0;
28324                image.normal: "slider_clicked.png";
28325             }
28326          }
28327          part {
28328             name: "clip";
28329             type: RECT;
28330             description {
28331                state: "default" 0.0;
28332             }
28333             description {
28334                state: "disabled" 0.0;
28335                inherit: "default" 0.0;
28336                color: 255 255 255 128;
28337             }
28338          }
28339          part {
28340             name: "event";
28341             type: RECT;
28342             mouse_events: 1;
28343             description {
28344                state: "default" 0.0;
28345                visible: 0;
28346                color: 0 0 0 0;
28347             }
28348             description {
28349                state: "disabled" 0.0;
28350                inherit: "default" 0.0;
28351                visible: 1;
28352             }
28353          }
28354       }
28355       programs {
28356          program {
28357             name: "sld_p1_down";
28358             signal: "mouse,down,1";
28359             source: "sld_p1";
28360             action: DRAG_VAL_PAGE -1.0 0.0;
28361             target: "e.dragable.slider";
28362          }
28363          program {
28364             name: "sld_p2_down";
28365             signal: "mouse,down,1";
28366             source: "sld_p2";
28367             action: DRAG_VAL_PAGE  1.0 0.0;
28368             target: "e.dragable.slider";
28369          }
28370          program {
28371             name: "sld_down";
28372             signal: "mouse,down,1";
28373             source: "e.dragable.slider";
28374             action: STATE_SET "clicked" 0.0;
28375             target: "slider";
28376          }
28377          program {
28378             name: "sld_up";
28379             signal: "mouse,up,1";
28380             source: "e.dragable.slider";
28381             action: STATE_SET "default" 0.0;
28382             target: "slider";
28383          }
28384          program {
28385             name: "show_label";
28386             signal: "e,action,show,label";
28387             source: "e";
28388             action: STATE_SET "active" 0.0;
28389             target: "base";
28390             target: "label";
28391             target: "label_base";
28392             target: "e.text.label";
28393          }
28394          program {
28395             name: "hide_label";
28396             signal: "e,action,hide,label";
28397             source: "e";
28398             action: STATE_SET "default" 0.0;
28399             target: "base";
28400             target: "label";
28401             target: "label_base";
28402             target: "e.text.label";
28403          }
28404          program {
28405             name: "disable";
28406             signal: "e,state,disabled";
28407             source: "e";
28408             action: STATE_SET "disabled" 0.0;
28409             target: "clip";
28410             target: "event";
28411          }
28412          program {
28413             name: "enable";
28414             signal: "e,state,enabled";
28415             source: "e";
28416             action: STATE_SET "default" 0.0;
28417             target: "clip";
28418             target: "event";
28419          }
28420       }
28421    }
28422    /* e/widgets/frame is used in the Config Dialog
28423       to outline the content                       */
28424    group {
28425       name: "e/widgets/frame";
28426       images {
28427          image: "frame_1.png" COMP;
28428          image: "frame_2.png" COMP;
28429          image: "dia_grad.png" COMP;
28430       }
28431       parts {
28432          part {
28433             name: "base0";
28434             mouse_events: 0;
28435             description {
28436                state: "default" 0.0;
28437                color_class: "frame_base";
28438                image.normal: "dia_grad.png";
28439                rel1.to: "over";
28440                rel2.to: "over";
28441                fill {
28442                   smooth: 0;
28443                   size {
28444                      relative: 0.0 1.0;
28445                      offset: 64 0;
28446                   }
28447                }
28448             }
28449          }
28450          part {
28451             name: "base";
28452             mouse_events: 0;
28453             description {
28454                state: "default" 0.0;
28455                image {
28456                   normal: "frame_2.png";
28457                   border: 5 5 32 26;
28458                   middle: 0;
28459                }
28460                fill.smooth : 0;
28461             }
28462          }
28463          part {
28464             name: "e.swallow.content";
28465             type: SWALLOW;
28466             description {
28467                state: "default" 0.0;
28468                rel1 {
28469                   to_y: "e.text.label";
28470                   relative: 0.0 1.0;
28471                   offset: 8 2;
28472                }
28473                rel2.offset: -9 -9;
28474             }
28475          }
28476          part {
28477             name: "e.text.label";
28478             type: TEXT;
28479             mouse_events: 0;
28480             scale: 1;
28481             description {
28482                state: "default" 0.0;
28483                align: 0.0 0.0;
28484                fixed: 0 1;
28485                rel1 {
28486                   relative: 0.0 0.0;
28487                   offset: 6 6;
28488                }
28489                rel2 {
28490                   relative: 1.0 0.0;
28491                   offset: -7 6;
28492                }
28493                color: 0 0 0 64;
28494                text {
28495                   font: "Sans:style=Bold";
28496                   size: 10;
28497                   min: 1 1;
28498                   max: 1 1;
28499                   align: 0.0 0.0;
28500                   text_class: "frame";
28501                }
28502             }
28503          }
28504          part {
28505             name: "over";
28506             mouse_events: 0;
28507             description {
28508                state: "default" 0.0;
28509                rel1.offset: 4 4;
28510                rel2.offset: -5 -5;
28511                image {
28512                   normal: "frame_1.png";
28513                   border: 2 2 28 22;
28514                   middle: 0;
28515                }
28516                fill.smooth : 0;
28517             }
28518          }
28519       }
28520    }
28521    group {
28522       name: "e/widgets/label";
28523       parts {
28524          part {
28525             name: "e.text.label";
28526             type: TEXT;
28527             mouse_events: 0;
28528             scale: 1;
28529             description {
28530                state: "default" 0.0;
28531                rel1.offset: 2 2;
28532                rel2.offset: -3 -3;
28533                color_class: "label_text";
28534                text {
28535                   font: "Sans";
28536                   size: 10;
28537                   min: 1 1;
28538                   align: 0.0 0.5;
28539                   text_class: "label";
28540                }
28541             }
28542             description {
28543                state: "disabled" 0.0;
28544                inherit: "default" 0.0;
28545                color_class: "label_text_disabled";
28546             }
28547          }
28548       }
28549       programs {
28550          program {
28551             name: "disable";
28552             signal: "e,state,disabled";
28553             source: "e";
28554             action: STATE_SET "disabled" 0.0;
28555             target: "e.text.label";
28556          }
28557          program {
28558             name: "enable";
28559             signal: "e,state,enabled";
28560             source: "e";
28561             action: STATE_SET "default" 0.0;
28562             target: "e.text.label";
28563          }
28564       }
28565    }
28566    /* e/widgets/fontpreview is used in the Font Config dialog */
28567    group {
28568       name: "e/widgets/fontpreview";
28569       parts {
28570          part {
28571             name: "e.fontpreview.text";
28572             type: TEXT;
28573             mouse_events: 0;
28574             scale: 1;
28575             description {
28576                state: "default" 0.0;
28577                color_class: "entry_text";
28578                rel1.offset: 6 6;
28579                rel2.offset: -7 -7;
28580                text {
28581                   text: "The quick brown fox jumped over YA MUM!";
28582                   font: "Sans";
28583                   size: 10;
28584                   min: 1 1;
28585                   align: 0.5 0.5;
28586                   text_class: "_e_font_preview";
28587                }
28588             }
28589          }
28590       }
28591    }
28592    /* e/widgets/textblock is used in the description
28593       of modules in Module Config dialog             */
28594    group {
28595       name: "e/widgets/textblock";
28596       styles {
28597          style {
28598             name: "textblock_style";
28599             base: "font=Sans font_size=10 align=left color=#000 style=shadow shadow_color=#ffffff80 wrap=word";
28600             tag: "title" "+ font=Sans:style=Bold font_size=12 style=soft_shadow color=#fff shadow_color=#00000021";
28601             tag: "hilight" "+ font=Sans:style=Bold style=glow color=#fff glow2_color=#333333be glow_color=#0000005a";
28602             tag: "urgent" "+ font=Sans:style=Bold style=glow color=#fff glow2_color=#333 glow_color=#b01010";
28603             tag: "b" "+ font=Sans:style=Bold";
28604             tag: "br" "\n";
28605          }
28606       }
28607       parts {
28608          part {
28609             name: "e.textblock.text";
28610             type: TEXTBLOCK;
28611             mouse_events: 0;
28612             scale: 1;
28613             description {
28614                state: "default" 0.0;
28615                rel1.offset: 4 4;
28616                rel2.offset: -5 -5;
28617                text {
28618                   style: "textblock_style";
28619                   min: 1 1;
28620                }
28621             }
28622          }
28623       }
28624    }
28625
28626
28627 /////////////////////////////////////////////////////////////////////////////
28628 /*** MOD: DESKLOCK ***/
28629
28630    group {
28631       name: "e/desklock/background";
28632       images {
28633          image: "vgrad_dark.png" COMP;
28634          image: "grill_dark_tiny_pattern.png" COMP;
28635       }
28636       parts {
28637          part {
28638             name: "background_image";
28639             description {
28640                state: "default" 0.0;
28641                image.normal: "vgrad_dark.png";
28642                fill {
28643                   smooth: 0;
28644                   size {
28645                      relative: 0 1.0;
28646                      offset: 36 0;
28647                   }
28648                }
28649             }
28650          }
28651          part {
28652             name: "grill";
28653             description {
28654                state: "default" 0.0;
28655                image.normal: "grill_dark_tiny_pattern.png";
28656                fill {
28657                   size {
28658                      relative: 0 0;
28659                      offset: 144 144;
28660                   }
28661                }
28662             }
28663          }
28664          part {
28665             name: "e.swallow.login_box";
28666             type: SWALLOW;
28667             description {
28668                state: "default" 0.0;
28669             }
28670          }
28671       }
28672    }
28673    group {
28674       name: "e/desklock/login_box";
28675       images {
28676          image: "logo_white_128.png" COMP;
28677          image: "inset_sunk.png" COMP;
28678       }
28679       parts {
28680          part {
28681             name: "logo";
28682             mouse_events: 0;
28683             description {
28684                state: "default" 0.0;
28685                min: 64 64;
28686                max: 64 64;
28687                image.normal: "logo_white_128.png";
28688             }
28689          }
28690          part {
28691             name: "e.text.title";
28692             type: TEXT;
28693             effect: SOFT_SHADOW;
28694             scale: 1;
28695             description {
28696                state: "default" 0.0;
28697                fixed: 0 1;
28698                rel1 {
28699                   relative: 0.0 1.0;
28700                   offset: 0 8;
28701                   to_y: "logo";
28702                }
28703                rel2 {
28704                   relative: 1.0 1.0;
28705                   offset: -1 8;
28706                   to_y: "logo";
28707                }
28708                color: 224 224 224 255;
28709                color3: 0 0 0 32;
28710                text {
28711                   text: "Enter Password";
28712                   font: "Sans:style=Bold";
28713                   size: 10;
28714                   align: 0.5 0.5;
28715                   min: 1 1;
28716                   text_class: "desklock_title";
28717                }
28718             }
28719          }
28720          part {
28721             name: "pulse_clip";
28722             type: RECT;
28723             mouse_events: 0;
28724             description {
28725                state: "default" 0.0;
28726                rel1.to: "passwd_border";
28727                rel2.to: "passwd_border";
28728             }
28729             description {
28730                state: "pulse" 0.0;
28731                inherit: "default" 0.0;
28732                color: 255 255 255 128;
28733             }
28734          }
28735          part {
28736             name: "error";
28737             type: RECT;
28738             mouse_events: 0;
28739             clip_to: "error_clip";
28740             description {
28741                state: "default" 0.0;
28742                rel1.to: "passwd_border";
28743                rel2.to: "passwd_border";
28744                color: 255 255 255 255;
28745             }
28746          }
28747          part {
28748             name: "error_clip";
28749             type: RECT;
28750             mouse_events: 0;
28751             clip_to: "pulse_clip";
28752             description {
28753                state: "default" 0.0;
28754                rel1.to: "passwd_border";
28755                rel2.to: "passwd_border";
28756                color: 255 255 255 255;
28757             }
28758             description {
28759                state: "invalid" 0.0;
28760                inherit: "default" 0.0;
28761                color: 255 128 128 255;
28762                /*FIXME: Document how this works */
28763             }
28764          }
28765          part {
28766             name: "passwd_entry_clip";
28767             type: RECT;
28768             mouse_events: 0;
28769             clip_to: "pulse_clip";
28770             description {
28771                state: "default" 0.0;
28772                visible: 1;
28773                rel1 {
28774                   offset: 6 3;
28775                   to: "passwd_border";
28776                }
28777                rel2 {
28778                   offset: -7 -4;
28779                   to: "passwd_border";
28780                }
28781             }
28782          }
28783          part {
28784             name: "e.text.password";
28785             type: TEXT;
28786             clip_to: "passwd_entry_clip";
28787             scale: 1;
28788             description {
28789                state: "default" 0.0;
28790                fixed: 0 1;
28791                align: 0.0 0.5;
28792                rel1 {
28793                   relative: 0.0 0.0;
28794                   offset: 0 0;
28795                   to: "passwd_entry_clip";
28796                }
28797                rel2 {
28798                   relative: 0.0 1.0;
28799                   offset: 0 0;
28800                   to: "passwd_entry_clip";
28801                }
28802                color: 0 0 0 255;
28803                text {
28804                   text: "****";
28805                   font: "Sans:style=Bold";
28806                   size: 16;
28807                   align: 0.0 0.5;
28808                   min: 1 1;
28809                   text_class: "desklock_passwd";
28810                }
28811             }
28812          }
28813          part {
28814             name: "cursor";
28815             type: RECT;
28816             mouse_events: 0;
28817             clip_to: "passwd_entry_clip";
28818             description {
28819                state: "default" 0.0;
28820                min: 1 16;
28821                max: 1 16;
28822                align: 0.0 0.5;
28823                fixed: 1 1;
28824                rel1 {
28825                   relative: 1.0 0.0;
28826                   offset: 0 -3;
28827                   to: "e.text.password";
28828                }
28829                rel2 {
28830                   relative: 1.0 1.0;
28831                   offset: 1 1;
28832                   to: "e.text.password";
28833                }
28834                color: 0 0 0 255;
28835             }
28836          }
28837          part {
28838             name: "passwd_border";
28839             mouse_events: 0;
28840             clip_to: "error_clip";
28841             description {
28842                state: "default" 0.0;
28843                rel1 {
28844                   relative: 0.5 1.0;
28845                   offset: -80 2;
28846                   to_y: "e.text.title";
28847                }
28848                rel2 {
28849                   relative: 0.5 1.0;
28850                   offset: 79 20;
28851                   to_y: "e.text.title";
28852                }
28853                image {
28854                   normal: "inset_sunk.png";
28855                   middle: 0;
28856                   border: 7 7 7 7;
28857                }
28858                fill.smooth: 0;
28859             }
28860             description {
28861                state: "checking" 0.0;
28862                inherit: "default" 0.0;
28863                color: 255 255 255 128;
28864             }
28865          }
28866       }
28867       programs {
28868          program {
28869             name: "pulse.1";
28870             signal: "e,state,checking";
28871             source: "e.desklock";
28872             action: STATE_SET "pulse" 0.0;
28873             target: "pulse_clip";
28874             transition: SINUSOIDAL 0.5;
28875             after: "pulse.2";
28876          }
28877          program {
28878             name: "pulse.2";
28879             action: STATE_SET "default" 0.0;
28880             target: "pulse_clip";
28881             transition: SINUSOIDAL 0.5;
28882             after: "pulse.1";
28883          }
28884          program {
28885             name: "pulse.stop";
28886             signal: "e,state,invalid";
28887             source: "e.desklock";
28888             action: ACTION_STOP;
28889             target: "pulse.1";
28890             target: "pulse.2";
28891             after: "pulse.reset";
28892          }
28893          program {
28894             name: "pulse.reset";
28895             action: STATE_SET "default" 0.0;
28896             target: "pulse_clip";
28897             transition: SINUSOIDAL 0.5;
28898          }
28899          program {
28900             name: "go_invalid";
28901             signal: "e,state,invalid";
28902             source: "e.desklock";
28903             action: STATE_SET "invalid" 0.0;
28904             target: "error_clip";
28905             transition: DECELERATE 0.5;
28906          }
28907          program {
28908             name: "stop_invalid";
28909             action: STATE_SET "default" 0.0;
28910             target: "error_clip";
28911             transition: DECELERATE 1.5;
28912          }
28913       }
28914    }
28915
28916
28917 /////////////////////////////////////////////////////////////////////////////
28918 /*** GADMAN ***/
28919
28920    group {
28921       name: "e/gadman/popup";
28922       images.image: "base_bg.png" COMP;
28923       parts {
28924          part {
28925             name: "base";
28926             mouse_events: 0;
28927             description {
28928                state: "default" 0.0;
28929                image {
28930                   normal: "base_bg.png";
28931                   border: 2 2 2 2;
28932                }
28933                fill.smooth: 0;
28934             }
28935          }
28936          part {
28937             name: "e.swallow.content";
28938             type: SWALLOW;
28939             description {
28940                state: "default" 0.0;
28941                rel1.offset: 3 3;
28942                rel2.offset: -4 -4;
28943             }
28944          }
28945       }
28946    }
28947    group {
28948       name: "e/gadman/full_bg";
28949       parts {
28950          part {
28951             name: "bg";
28952             type: RECT;
28953             mouse_events: 0;
28954             description {
28955                state: "default" 0.0;
28956                color: 0 0 0 0;
28957             }
28958             description {
28959                state: "visible" 0.0;
28960                color: 0 0 0 128;
28961             }
28962          }
28963          part {
28964             name: "custom_bg";
28965             type: RECT;
28966             description {
28967                state: "default" 0.0;
28968                color: 255 255 255 0;
28969             }
28970             description {
28971                state: "visible" 0.0;
28972                color: 255 255 255 200;
28973             }
28974          }
28975          part {
28976             name: "e.swallow.bg";
28977             type: SWALLOW;
28978             clip_to: "custom_bg";
28979             description {
28980                state: "default" 0.0;
28981             }
28982          }
28983          part {
28984             name: "grabber";
28985             type: RECT;
28986             mouse_events: 1;
28987             repeat_events: 1;
28988             description {
28989                state: "default" 0.0;
28990                color: 0 0 0 0;
28991             }
28992          }
28993       }
28994       programs {
28995          program {
28996             name: "show";
28997             signal: "e,state,visibility,show";
28998             source: "e";
28999             action: STATE_SET "visible" 0.0;
29000             transition: LINEAR 0.4;
29001             target: "bg";
29002          }
29003          program {
29004             name: "show_now";
29005             signal: "e,state,visibility,show,now";
29006             source: "e";
29007             action: STATE_SET "visible" 0.0;
29008             transition: LINEAR 0.0;
29009             target: "bg";
29010          }
29011          program {
29012             name: "hide";
29013             signal: "e,state,visibility,hide";
29014             source: "e";
29015             action: STATE_SET "default" 0.0;
29016             transition: LINEAR 0.4;
29017             target: "bg";
29018             after: "hide_stop";
29019          }
29020          program {
29021             name: "hide_now";
29022             signal: "e,state,visibility,hide,now";
29023             source: "e";
29024             action: STATE_SET "default" 0.0;
29025             transition: LINEAR 0.0;
29026             target: "bg";
29027             after: "hide_stop";
29028          }
29029          program {
29030             name: "show_custom";
29031             signal: "e,state,visibility,show,custom";
29032             source: "e";
29033             action: STATE_SET "visible" 0.0;
29034             transition: LINEAR 0.4;
29035             target: "custom_bg";
29036          }
29037          program {
29038             name: "show_custom_now";
29039             signal: "e,state,visibility,show,custom,now";
29040             source: "e";
29041             action: STATE_SET "visible" 0.0;
29042             transition: LINEAR 0.0;
29043             target: "custom_bg";
29044          }
29045          program {
29046             name: "hide_custom";
29047             signal: "e,state,visibility,hide,custom";
29048             source: "e";
29049             action: STATE_SET "default" 0.0;
29050             transition: LINEAR 0.4;
29051             target: "custom_bg";
29052             after: "hide_stop";
29053          }
29054          program {
29055             name: "hide_custom_now";
29056             signal: "e,state,visibility,hide,custom,now";
29057             source: "e";
29058             action: STATE_SET "default" 0.0;
29059             transition: LINEAR 0.0;
29060             target: "custom_bg";
29061             after: "hide_stop";
29062          }
29063          program {
29064             name: "hide_stop";
29065             action: SIGNAL_EMIT "e,action,hide,stop" "";
29066          }
29067       }
29068    }
29069    group {
29070       name: "e/gadman/frame";
29071       images.image: "inset_raised.png" COMP;
29072       parts {
29073          part {
29074             name: "bg_clip";
29075             type: RECT;
29076             mouse_events: 0;
29077             description {
29078                state: "default" 0.0;
29079                rel1.to: "overlay";
29080                rel2.to: "overlay";
29081                color: 255 255 255 255;
29082             }
29083             description {
29084                state: "plain" 0.0;
29085                rel1.relative: 0.0 0.0;
29086                rel2.relative: 0.0 0.0;
29087                color: 255 255 255 255;
29088             }
29089          }
29090          part {
29091             name: "items_clip";
29092             type: RECT;
29093             mouse_events: 0;
29094             description {
29095                state: "default" 0.0;
29096                rel1 {
29097                   to: "overlay";
29098                   offset: 4  4;
29099                }
29100                rel2 {
29101                   to: "overlay";
29102                   offset: -5  -5;
29103                }
29104                color: 255 255 255 255;
29105             }
29106             description {
29107                state: "hidden" 0.0;
29108                inherit: "default" 0.0;
29109                color: 255 255 255 0;
29110             }
29111          }
29112          part {
29113             name: "e.swallow.content";
29114             type: SWALLOW;
29115             clip_to: "items_clip";
29116             description {
29117                state: "default" 0.0;
29118                rel1.offset: 4  4;
29119                rel2.offset: -5  -5;
29120                color: 255 255 255 255;
29121             }
29122             description {
29123                state: "hidden" 0.0;
29124                rel1.relative: 0.5 0.5;
29125                rel2.relative: 0.5 0.5;
29126                color: 255 255 255 0;
29127             }
29128          }
29129          part {
29130             name: "overlay";
29131             mouse_events: 0;
29132             clip_to: "bg_clip";
29133             description {
29134                state: "default" 0.0;
29135                image {
29136                   normal: "inset_raised.png";
29137                   border: 7 7 7 7;
29138                   middle: 0;
29139                }
29140                fill.smooth: 0;
29141                color: 255 255 255 255;
29142             }
29143             description {
29144                state: "hidden" 0.0;
29145                inherit: "default" 0.0;
29146                rel1.relative: 0.5 0.5;
29147                rel2.relative: 0.5 0.5;
29148                color: 255 255 255 0;
29149             }
29150          }
29151       }
29152       programs {
29153          program {
29154             name: "inset";
29155             signal: "e,state,visibility,inset";
29156             source: "e";
29157             action: STATE_SET "default" 0.0;
29158             target: "bg_clip";
29159          }
29160          program {
29161             name: "plain";
29162             signal: "e,state,visibility,plain";
29163             source: "e";
29164             action: STATE_SET "plain" 0.0;
29165             target: "bg_clip";
29166          }
29167          program {
29168             name: "hide";
29169             signal: "e,state,visibility,hide";
29170             source: "e";
29171             action: STATE_SET "hidden" 0.0;
29172             transition: ACCELERATE 0.4;
29173             target: "items_clip";
29174             target: "overlay";
29175             target: "e.swallow.content";
29176          }
29177          program {
29178             name: "hide_now";
29179             signal: "e,state,visibility,hide,now";
29180             source: "e";
29181             action: STATE_SET "hidden" 0.0;
29182             transition: LINEAR 0.0;
29183             target: "items_clip";
29184             target: "overlay";
29185             target: "e.swallow.content";
29186          }
29187          program {
29188             name: "show";
29189             signal: "e,state,visibility,show";
29190             source: "e";
29191             action: STATE_SET "default" 0.0;
29192             transition: DECELERATE 0.4;
29193             target: "items_clip";
29194             target: "overlay";
29195             target: "e.swallow.content";
29196          }
29197          program {
29198             name: "show_now";
29199             signal: "e,state,visibility,show,now";
29200             source: "e";
29201             action: STATE_SET "default" 0.0;
29202             transition: LINEAR 0.0;
29203             target: "items_clip";
29204             target: "overlay";
29205             target: "e.swallow.content";
29206          }
29207       }
29208    }
29209    group {
29210       name: "e/gadman/control";
29211       images {
29212          image: "gadman_frame.png" COMP;
29213          image: "gadman_border.png" COMP;
29214          image: "gadman_top.png" COMP;
29215          image: "gadman_bottom.png" COMP;
29216          image: "gadman_left.png" COMP;
29217          image: "gadman_right.png" COMP;
29218       }
29219       parts {
29220          part {
29221             name: "hclip";
29222             mouse_events: 0;
29223             type: RECT;
29224             description {
29225                state: "default" 0.0;
29226                visible: 1;
29227                rel1.offset: -85 -85;
29228                rel2.offset: 74 74;
29229             }
29230             description {
29231                state: "disabled" 0.0;
29232                inherit: "default" 0.0;
29233                visible : 0;
29234             }
29235          }
29236          part {
29237             name: "vclip";
29238             mouse_events: 0;
29239             type: RECT;
29240             description {
29241                state: "default" 0.0;
29242                visible: 1;
29243                rel1.offset: -85 -85;
29244                rel2.offset: 84 84;
29245             }
29246             description {
29247                state: "disabled" 0.0;
29248                inherit: "default" 0.0;
29249                visible : 0;
29250             }
29251          }
29252          part {
29253             name: "overlay";
29254             mouse_events: 1;
29255             description {
29256                state: "default" 0.0;
29257                rel1 {
29258                   to: "border";
29259                   offset: 4 4;
29260                }
29261                rel2 {
29262                   to: "border";
29263                   offset: -5 -5;
29264                }
29265                image.normal: "gadman_frame.png";
29266                fill.size.relative: 0 0;
29267                fill.size.offset: 24 24;
29268             }
29269          }
29270          part {
29271             name: "left_arrow1";
29272             description {
29273                state: "default" 0.0;
29274                aspect: 1.0 1.0;
29275                max: 12 24;
29276                rel1 {
29277                   relative: 0.0 0.5;
29278                   offset: 3 0;
29279                }
29280                rel2 {
29281                   relative: 0.0 0.5;
29282                   offset: 3 -1;
29283                }
29284                image.normal: "gadman_left.png";
29285             }
29286             description {
29287                state: "1" 0.0;
29288                inherit: "default" 0.0;
29289                rel1 {
29290                   relative: 0.0 0.5;
29291                   offset: -32 -12;
29292                }
29293                rel2 {
29294                   relative: 0.0 0.5;
29295                   offset: -18 11;
29296                }
29297             }
29298             description {
29299                state: "2" 0.0;
29300                inherit: "default" 0.0;
29301                rel1 {
29302                   relative: 0.0 0.5;
29303                   offset: -24 -6;
29304                }
29305                rel2 {
29306                   relative: 0.0 0.5;
29307                   offset: -10 5;
29308                }
29309             }
29310          }
29311          part {
29312             name: "left_arrow2";
29313             description {
29314                state: "default" 0.0;
29315                aspect: 1.0 1.0;
29316                max: 12 24;
29317                rel1 {
29318                   relative: 0.0 0.5;
29319                   offset: 3 0;
29320                }
29321                rel2 {
29322                   relative: 0.0 0.5;
29323                   offset: 3 -1;
29324                }
29325                image.normal: "gadman_left.png";
29326             }
29327             description {
29328                state: "1" 0.0;
29329                inherit: "default" 0.0;
29330                rel1 {
29331                   relative: 0.0 0.5;
29332                   offset: -32 -12;
29333                }
29334                rel2 {
29335                   relative: 0.0 0.5;
29336                   offset: -18 11;
29337                }
29338             }
29339             description {
29340                state: "2" 0.0;
29341                inherit: "default" 0.0;
29342                rel1 {
29343                   relative: 0.0 0.5;
29344                   offset: -24 -6;
29345                }
29346                rel2 {
29347                   relative: 0.0 0.5;
29348                   offset: -10 5;
29349                }
29350             }
29351          }
29352          part {
29353             name: "right_arrow1";
29354             description {
29355                state: "default" 0.0;
29356                aspect: 1.0 1.0;
29357                max: 12 24;
29358                rel1 {
29359                   relative: 1.0 0.5;
29360                   offset: -3 0;
29361                }
29362                rel2 {
29363                   relative: 1.0 0.5;
29364                   offset: -3 -1;
29365                }
29366                image.normal: "gadman_right.png";
29367             }
29368             description {
29369                state: "1" 0.0;
29370                inherit: "default" 0.0;
29371                rel1 {
29372                   relative: 1.0 0.5;
29373                   offset: 32 -12;
29374                }
29375                rel2 {
29376                   relative: 1.0 0.5;
29377                   offset: 18 11;
29378                }
29379             }
29380             description {
29381                state: "2" 0.0;
29382                inherit: "default" 0.0;
29383                rel1 {
29384                   relative: 1.0 0.5;
29385                   offset: 24 -6;
29386                }
29387                rel2 {
29388                   relative: 1.0 0.5;
29389                   offset: 10 5;
29390                }
29391             }
29392          }
29393          part {
29394             name: "right_arrow2";
29395             description {
29396                state: "default" 0.0;
29397                aspect: 1.0 1.0;
29398                max: 12 24;
29399                rel1 {
29400                   relative: 1.0 0.5;
29401                   offset: -3 0;
29402                }
29403                rel2 {
29404                   relative: 1.0 0.5;
29405                   offset: -3 -1;
29406                }
29407                image.normal: "gadman_right.png";
29408             }
29409             description {
29410                state: "1" 0.0;
29411                inherit: "default" 0.0;
29412                rel1 {
29413                   relative: 1.0 0.5;
29414                   offset: 32 -12;
29415                }
29416                rel2 {
29417                   relative: 1.0 0.5;
29418                   offset: 18 11;
29419                }
29420             }
29421             description {
29422                state: "2" 0.0;
29423                inherit: "default" 0.0;
29424                rel1 {
29425                   relative: 1.0 0.5;
29426                   offset: 24 -6;
29427                }
29428                rel2 {
29429                   relative: 1.0 0.5;
29430                   offset: 10 5;
29431                }
29432             }
29433          }
29434          part {
29435             name: "top_arrow1";
29436             description {
29437                state: "default" 0.0;
29438                aspect: 1.0 1.0;
29439                max: 24 12;
29440                rel1 {
29441                   relative: 0.5 0.0;
29442                   offset: 0 3;
29443                }
29444                rel2 {
29445                   relative: 0.5 0.0;
29446                   offset: -1 3;
29447                }
29448                image.normal: "gadman_top.png";
29449             }
29450             description {
29451                state: "1" 0.0;
29452                inherit: "default" 0.0;
29453                rel1 {
29454                   relative: 0.5 0.0;
29455                   offset: -12 -32;
29456                }
29457                rel2 {
29458                   relative: 0.5 0.0;
29459                   offset: 11 -18;
29460                }
29461             }
29462             description {
29463                state: "2" 0.0;
29464                inherit: "default" 0.0;
29465                rel1 {
29466                   relative: 0.5 0.0;
29467                   offset: -6 -24;
29468                }
29469                rel2 {
29470                   relative: 0.5 0.0;
29471                   offset: 5 -9;
29472                }
29473             }
29474          }
29475          part {
29476             name: "top_arrow2";
29477             description {
29478                state: "default" 0.0;
29479                aspect: 1.0 1.0;
29480                max: 24 12;
29481                rel1 {
29482                   relative: 0.5 0.0;
29483                   offset: 0 3;
29484                }
29485                rel2 {
29486                   relative: 0.5 0.0;
29487                   offset: -1 3;
29488                }
29489                image.normal: "gadman_top.png";
29490             }
29491             description {
29492                state: "1" 0.0;
29493                inherit: "default" 0.0;
29494                rel1 {
29495                   relative: 0.5 0.0;
29496                   offset: -12 -32;
29497                }
29498                rel2 {
29499                   relative: 0.5 0.0;
29500                   offset: 11 -18;
29501                }
29502             }
29503             description {
29504                state: "2" 0.0;
29505                inherit: "default" 0.0;
29506                rel1 {
29507                   relative: 0.5 0.0;
29508                   offset: -6 -24;
29509                }
29510                rel2 {
29511                   relative: 0.5 0.0;
29512                   offset: 5 -9;
29513                }
29514             }
29515          }
29516          part {
29517             name: "bottom_arrow1";
29518             description {
29519                state: "default" 0.0;
29520                aspect: 1.0 1.0;
29521                max: 24 12;
29522                rel1 {
29523                   relative: 0.5 1.0;
29524                   offset: 0 -3;
29525                }
29526                rel2 {
29527                   relative: 0.5 1.0;
29528                   offset: -1 -3;
29529                }
29530                image.normal: "gadman_bottom.png";
29531             }
29532             description {
29533                state: "1" 0.0;
29534                inherit: "default" 0.0;
29535                rel1 {
29536                   relative: 0.5 1.0;
29537                   offset: -12 18;
29538                }
29539                rel2 {
29540                   relative: 0.5 1.0;
29541                   offset: 11 31;
29542                }
29543             }
29544             description {
29545                state: "2" 0.0;
29546                inherit: "default" 0.0;
29547                rel1 {
29548                   relative: 0.5 1.0;
29549                   offset: -6 10;
29550                }
29551                rel2 {
29552                   relative: 0.5 1.0;
29553                   offset: 5 24;
29554                }
29555             }
29556          }
29557          part {
29558             name: "bottom_arrow2";
29559             description {
29560                state: "default" 0.0;
29561                aspect: 1.0 1.0;
29562                max: 24 12;
29563                rel1 {
29564                   relative: 0.5 1.0;
29565                   offset: 0 -3;
29566                }
29567                rel2 {
29568                   relative: 0.5 1.0;
29569                   offset: -1 -3;
29570                }
29571                image.normal: "gadman_bottom.png";
29572             }
29573             description {
29574                state: "1" 0.0;
29575                inherit: "default" 0.0;
29576                rel1 {
29577                   relative: 0.5 1.0;
29578                   offset: -12 18;
29579                }
29580                rel2 {
29581                   relative: 0.5 1.0;
29582                   offset: 11 31;
29583                }
29584             }
29585             description {
29586                state: "2" 0.0;
29587                inherit: "default" 0.0;
29588                rel1 {
29589                   relative: 0.5 1.0;
29590                   offset: -6 10;
29591                }
29592                rel2 {
29593                   relative: 0.5 1.0;
29594                   offset: 5 24;
29595                }
29596             }
29597          }
29598          part {
29599             name: "v1";
29600             mouse_events: 1;
29601             clip_to: "vclip";
29602             description {
29603                state: "default" 0.0;
29604                rel2.relative: 1.0 0.0;
29605                rel2.offset: -1 9;
29606             }
29607          }
29608          part {
29609             name: "v2";
29610             mouse_events: 1;
29611             clip_to: "vclip";
29612             description {
29613                state: "default" 0.0;
29614                rel1.relative: 0.0 1.0;
29615                rel1.offset: 0 -8;
29616             }
29617          }
29618          part {
29619             name: "h1";
29620             mouse_events: 1;
29621             clip_to: "hclip";
29622             description {
29623                state: "default" 0.0;
29624                rel2.relative: 0.0 1.0;
29625                rel2.offset: 9 -1;
29626             }
29627          }
29628          part {
29629             name: "h2";
29630             mouse_events: 1;
29631             clip_to: "hclip";
29632             description {
29633                state: "default" 0.0;
29634                rel1.relative: 1.0 0.0;
29635                rel1.offset: -8 0;
29636             }
29637          }
29638          part {
29639             name: "border";
29640             mouse_events: 1;
29641             repeat_events: 1;
29642             description {
29643                state: "default" 0.0;
29644                image {
29645                   normal: "gadman_border.png";
29646                   border: 10 10 10 10;
29647                   middle: 0;
29648                }
29649                fill.smooth: 0;
29650             }
29651          }
29652       }
29653       programs {
29654          program {
29655             name: "api_hsize_on";
29656             signal: "e,state,hsize,on";
29657             source: "e";
29658             action: STATE_SET "default" 0.0;
29659             target: "hclip";
29660          }
29661          program {
29662             name: "api_hsize_off";
29663             signal: "e,state,hsize,off";
29664             source: "e";
29665             action: STATE_SET "disabled" 0.0;
29666             target: "hclip";
29667          }
29668          program {
29669             name: "api_vsize_on";
29670             signal: "e,state,vsize,on";
29671             source: "e";
29672             action: STATE_SET "default" 0.0;
29673             target: "vclip";
29674          }
29675          program {
29676             name: "api_vsize_off";
29677             signal: "e,state,vsize,off";
29678             source: "e";
29679             action: STATE_SET "disabled" 0.0;
29680             target: "vclip";
29681          }
29682          /*
29683          program {
29684             name: "api_move_on";
29685             signal: "e,state,move,on";
29686             source: "e";
29687          }
29688          program {
29689             name: "api_move_off";
29690             signal: "e,state,move,off";
29691             source: "e";
29692          }
29693          program {
29694             name: "api_active";
29695             signal: "e,state,focused";
29696             source: "e";
29697          }
29698          program {
29699             name: "api_inactive";
29700             signal: "e,state,unfocused";
29701             source: "e";
29702          }
29703          */
29704          // MOVE PROGRAMS
29705          program {
29706             name: "mv_down";
29707             signal: "mouse,down,1";
29708             source: "overlay";
29709             action: SIGNAL_EMIT "e,action,move,start" "";
29710          }
29711          program {
29712             name: "mv_up";
29713             signal: "mouse,up,1";
29714             source: "overlay";
29715             action: SIGNAL_EMIT "e,action,move,stop" "";
29716          }
29717          program {
29718             name: "mv_move";
29719             signal: "mouse,move";
29720             source: "overlay";
29721             action: SIGNAL_EMIT "e,action,move,go" "";
29722          }
29723          program {
29724             name: "h1_down1";
29725             signal: "mouse,down,1";
29726             source: "h1";
29727             action: STATE_SET "clicked" 0.0;
29728             target: "h1";
29729          }
29730          program {
29731             name: "h1_up1";
29732             signal: "mouse,up,1";
29733             source: "h1";
29734             action: STATE_SET "default" 0.0;
29735             target: "h1";
29736          }
29737          program {
29738             name: "h1_down2";
29739             signal: "mouse,down,1";
29740             source: "h1";
29741             action: SIGNAL_EMIT "e,action,resize,left,start" "";
29742          }
29743          program {
29744             name: "h1_up2";
29745             signal: "mouse,up,1";
29746             source: "h1";
29747             action: SIGNAL_EMIT "e,action,resize,left,stop" "";
29748          }
29749          program {
29750             name: "h1_move";
29751             signal: "mouse,move";
29752             source: "h1";
29753             action: SIGNAL_EMIT "e,action,resize,left,go" "";
29754          }
29755          program {
29756             name: "h2_down1";
29757             signal: "mouse,down,1";
29758             source: "h2";
29759             action: STATE_SET "clicked" 0.0;
29760             target: "h2";
29761          }
29762          program {
29763             name: "h2_up1";
29764             signal: "mouse,up,1";
29765             source: "h2";
29766             action: STATE_SET "default" 0.0;
29767             target: "h2";
29768          }
29769          program {
29770             name: "h2_down2";
29771             signal: "mouse,down,1";
29772             source: "h2";
29773             action: SIGNAL_EMIT "e,action,resize,right,start" "";
29774          }
29775          program {
29776             name: "h2_up2";
29777             signal: "mouse,up,1";
29778             source: "h2";
29779             action: SIGNAL_EMIT "e,action,resize,right,stop" "";
29780          }
29781          program {
29782             name: "h2_move";
29783             signal: "mouse,move";
29784             source: "h2";
29785             action: SIGNAL_EMIT "e,action,resize,right,go" "";
29786          }
29787          program {
29788             name: "v1_down1";
29789             signal: "mouse,down,1";
29790             source: "v1";
29791             action: STATE_SET "clicked" 0.0;
29792             target: "v1";
29793          }
29794          program {
29795             name: "v1_up1";
29796             signal: "mouse,up,1";
29797             source: "v1";
29798             action: STATE_SET "default" 0.0;
29799             target: "v1";
29800          }
29801          program {
29802             name: "v1_down2";
29803             signal: "mouse,down,1";
29804             source: "v1";
29805             action: SIGNAL_EMIT "e,action,resize,up,start" "";
29806          }
29807          program {
29808             name: "v1_up2";
29809             signal: "mouse,up,1";
29810             source: "v1";
29811             action: SIGNAL_EMIT "e,action,resize,up,stop" "";
29812          }
29813          program {
29814             name: "v1_move";
29815             signal: "mouse,move";
29816             source: "v1";
29817             action: SIGNAL_EMIT "e,action,resize,up,go" "";
29818          }
29819          program {
29820             name: "v2_down1";
29821             signal: "mouse,down,1";
29822             source: "v2";
29823             action: STATE_SET "clicked" 0.0;
29824             target: "v2";
29825          }
29826          program {
29827             name: "v2_up1";
29828             signal: "mouse,up,1";
29829             source: "v2";
29830             action: STATE_SET "default" 0.0;
29831             target: "v2";
29832          }
29833          program {
29834             name: "v2_down2";
29835             signal: "mouse,down,1";
29836             source: "v2";
29837             action: SIGNAL_EMIT "e,action,resize,down,start" "";
29838          }
29839          program {
29840             name: "v2_up2";
29841             signal: "mouse,up,1";
29842             source: "v2";
29843             action: SIGNAL_EMIT "e,action,resize,down,stop" "";
29844          }
29845          program {
29846             name: "v2_move";
29847             signal: "mouse,move";
29848             source: "v2";
29849             action: SIGNAL_EMIT "e,action,resize,down,go" "";
29850          }
29851          // LEFT ARROW
29852          program {
29853             name: "start_left1";
29854             signal: "mouse,in";
29855             source: "h1";
29856             after: "left1_1";
29857          }
29858          program {
29859             name: "start_left2";
29860             signal: "mouse,in";
29861             source: "h1";
29862             in: 0.4 0.0;
29863             after: "left2_1";
29864          }
29865          program {
29866             name: "left1_1";
29867             action: STATE_SET "1" 0.0;
29868             target: "left_arrow1";
29869             transition: LINEAR 0.4;
29870             after: "left1_2";
29871          }
29872          program {
29873             name: "left1_2";
29874             action: STATE_SET "2" 0.0;
29875             target: "left_arrow1";
29876             transition: LINEAR 0.4;
29877             after: "left1_r";
29878          }
29879          program {
29880             name: "left1_r";
29881             action: STATE_SET "default" 0.0;
29882             target: "left_arrow1";
29883             after: "left1_1";
29884          }
29885          program {
29886             name: "left2_1";
29887             action: STATE_SET "1" 0.0;
29888             target: "left_arrow2";
29889             transition: LINEAR 0.4;
29890             after: "left2_2";
29891          }
29892          program {
29893             name: "left2_2";
29894             action: STATE_SET "2" 0.0;
29895             target: "left_arrow2";
29896             transition: LINEAR 0.4;
29897             after: "left2_r";
29898          }
29899          program {
29900             name: "left2_r";
29901             action: STATE_SET "default" 0.0;
29902             target: "left_arrow2";
29903             after: "left2_1";
29904          }
29905          program {
29906             name: "stop_left1";
29907             signal: "mouse,out";
29908             source: "h1";
29909             action: ACTION_STOP;
29910             target: "left1_1";
29911             target: "left1_2";
29912             target: "left1_r";
29913             target: "left2_1";
29914             target: "left2_2";
29915             target: "left2_r";
29916             target: "start_left2";
29917             after: "stop_left2";
29918          }
29919          program {
29920             name: "stop_left2";
29921             action: STATE_SET "default" 0.0;
29922             target: "left_arrow1";
29923             target: "left_arrow2";
29924          }
29925          // RIGHT ARROW
29926          program {
29927             name: "start_right1";
29928             signal: "mouse,in";
29929             source: "h2";
29930             after: "right1_1";
29931          }
29932          program {
29933             name: "start_right2";
29934             signal: "mouse,in";
29935             source: "h2";
29936             in: 0.4 0.0;
29937             after: "right2_1";
29938          }
29939          program {
29940             name: "right1_1";
29941             action: STATE_SET "1" 0.0;
29942             target: "right_arrow1";
29943             transition: LINEAR 0.4;
29944             after: "right1_2";
29945          }
29946          program {
29947             name: "right1_2";
29948             action: STATE_SET "2" 0.0;
29949             target: "right_arrow1";
29950             transition: LINEAR 0.4;
29951             after: "right1_r";
29952          }
29953          program {
29954             name: "right1_r";
29955             action: STATE_SET "default" 0.0;
29956             target: "right_arrow1";
29957             after: "right1_1";
29958          }
29959          program {
29960             name: "right2_1";
29961             action: STATE_SET "1" 0.0;
29962             target: "right_arrow2";
29963             transition: LINEAR 0.4;
29964             after: "right2_2";
29965          }
29966          program {
29967             name: "right2_2";
29968             action: STATE_SET "2" 0.0;
29969             target: "right_arrow2";
29970             transition: LINEAR 0.4;
29971             after: "right2_r";
29972          }
29973          program {
29974             name: "right2_r";
29975             action: STATE_SET "default" 0.0;
29976             target: "right_arrow2";
29977             after: "right2_1";
29978          }
29979          program {
29980             name: "stop_right1";
29981             signal: "mouse,out";
29982             source: "h2";
29983             action: ACTION_STOP;
29984             target: "right1_1";
29985             target: "right1_2";
29986             target: "right1_r";
29987             target: "right2_1";
29988             target: "right2_2";
29989             target: "right2_r";
29990             target: "start_right2";
29991             after: "stop_right2";
29992          }
29993          program {
29994             name: "stop_right2";
29995             action: STATE_SET "default" 0.0;
29996             target: "right_arrow1";
29997             target: "right_arrow2";
29998          }
29999          // TOP ARROW
30000          program {
30001             name: "start_top1";
30002             signal: "mouse,in";
30003             source: "v1";
30004             after: "top1_1";
30005          }
30006          program {
30007             name: "start_top2";
30008             signal: "mouse,in";
30009             source: "v1";
30010             in: 0.4 0.0;
30011             after: "top2_1";
30012          }
30013          program {
30014             name: "top1_1";
30015             action: STATE_SET "1" 0.0;
30016             target: "top_arrow1";
30017             transition: LINEAR 0.4;
30018             after: "top1_2";
30019          }
30020          program {
30021             name: "top1_2";
30022             action: STATE_SET "2" 0.0;
30023             target: "top_arrow1";
30024             transition: LINEAR 0.4;
30025             after: "top1_r";
30026          }
30027          program {
30028             name: "top1_r";
30029             action: STATE_SET "default" 0.0;
30030             target: "top_arrow1";
30031             after: "top1_1";
30032          }
30033          program {
30034             name: "top2_1";
30035             action: STATE_SET "1" 0.0;
30036             target: "top_arrow2";
30037             transition: LINEAR 0.4;
30038             after: "top2_2";
30039          }
30040          program {
30041             name: "top2_2";
30042             action: STATE_SET "2" 0.0;
30043             target: "top_arrow2";
30044             transition: LINEAR 0.4;
30045             after: "top2_r";
30046          }
30047          program {
30048             name: "top2_r";
30049             action: STATE_SET "default" 0.0;
30050             target: "top_arrow2";
30051             after: "top2_1";
30052          }
30053          program {
30054             name: "stop_top1";
30055             signal: "mouse,out";
30056             source: "v1";
30057             action: ACTION_STOP;
30058             target: "top1_1";
30059             target: "top1_2";
30060             target: "top1_r";
30061             target: "top2_1";
30062             target: "top2_2";
30063             target: "top2_r";
30064             target: "start_top2";
30065             after: "stop_top2";
30066          }
30067          program {
30068             name: "stop_top2";
30069             action: STATE_SET "default" 0.0;
30070             target: "top_arrow1";
30071             target: "top_arrow2";
30072          }
30073          // BOTTOM ARROW
30074          program {
30075             name: "start_bottom1";
30076             signal: "mouse,in";
30077             source: "v2";
30078             after: "bottom1_1";
30079          }
30080          program {
30081             name: "start_bottom2";
30082             signal: "mouse,in";
30083             source: "v2";
30084             in: 0.4 0.0;
30085             after: "bottom2_1";
30086          }
30087          program {
30088             name: "bottom1_1";
30089             action: STATE_SET "1" 0.0;
30090             target: "bottom_arrow1";
30091             transition: LINEAR 0.4;
30092             after: "bottom1_2";
30093          }
30094          program {
30095             name: "bottom1_2";
30096             action: STATE_SET "2" 0.0;
30097             target: "bottom_arrow1";
30098             transition: LINEAR 0.4;
30099             after: "bottom1_r";
30100          }
30101          program {
30102             name: "bottom1_r";
30103             action: STATE_SET "default" 0.0;
30104             target: "bottom_arrow1";
30105             after: "bottom1_1";
30106          }
30107          program {
30108             name: "bottom2_1";
30109             action: STATE_SET "1" 0.0;
30110             target: "bottom_arrow2";
30111             transition: LINEAR 0.4;
30112             after: "bottom2_2";
30113          }
30114          program {
30115             name: "bottom2_2";
30116             action: STATE_SET "2" 0.0;
30117             target: "bottom_arrow2";
30118             transition: LINEAR 0.4;
30119             after: "bottom2_r";
30120          }
30121          program {
30122             name: "bottom2_r";
30123             action: STATE_SET "default" 0.0;
30124             target: "bottom_arrow2";
30125             after: "bottom2_1";
30126          }
30127          program {
30128             name: "stop_bottom1";
30129             signal: "mouse,out";
30130             source: "v2";
30131             action: ACTION_STOP;
30132             target: "bottom1_1";
30133             target: "bottom1_2";
30134             target: "bottom1_r";
30135             target: "bottom2_1";
30136             target: "bottom2_2";
30137             target: "bottom2_r";
30138             target: "start_bottom2";
30139             after: "stop_bottom2";
30140          }
30141          program {
30142             name: "stop_bottom2";
30143             action: STATE_SET "default" 0.0;
30144             target: "bottom_arrow1";
30145             target: "bottom_arrow2";
30146          }
30147       }
30148    }
30149
30150
30151 /////////////////////////////////////////////////////////////////////////////
30152 /*** MOD: WIZARD ***/
30153
30154    group {
30155       name: "e/wizard/extra";
30156       parts {
30157          part {
30158             name: "base";
30159             type: RECT;
30160             description {
30161                state: "default" 0.0;
30162                color: 0 0 0 255;
30163             }
30164          }
30165       }
30166    }
30167    group {
30168       name: "e/wizard/main";
30169       /* images used */
30170       images {
30171          image: "exq-bglight.png" COMP;
30172          image: "exq-logo.png" COMP;
30173          image: "exq-dot.png" COMP;
30174          image: "exq-dot-glow.png" COMP;
30175          image: "exq-vgrad.png" COMP;
30176       }
30177       parts {
30178          part {
30179             name: "base";
30180             type: RECT;
30181             description {
30182                state: "default" 0.0;
30183                color: 0 0 0 255;
30184             }
30185          }
30186          part {
30187             name: "content";
30188             type: RECT;
30189             description {
30190                state: "default" 0.0;
30191                visible: 0;
30192                rel1 {
30193                   to_y: "e.text.title";
30194                   relative: 0.2 1.0;
30195                   offset: 8 8;
30196                }
30197                rel2 {
30198                   to_y: "logo";
30199                   relative: 0.8 (143/217);
30200                   offset: -9 -9;
30201                }
30202             }
30203          }
30204          part {
30205             name: "swallow_center";
30206             type: RECT;
30207             description {
30208                state: "default" 0.0;
30209                visible: 0;
30210                rel1 {
30211                   to: "content";
30212                   relative: 0.5 1.0;
30213                }
30214                rel2 {
30215                   to: "content";
30216                   relative: 0.5 1.0;
30217                }
30218             }
30219          }
30220          part {
30221             name: "swallow_mirror";
30222             type: PROXY;
30223             mouse_events: 0;
30224             description {
30225                state: "default" 0.0;
30226                source: "e.swallow.content";
30227                rel1 {
30228                   to: "content";
30229                }
30230                rel2 {
30231                   to: "content";
30232                }
30233                perspective {
30234                   zplane: 0;
30235                   focal: 1000;
30236                }
30237                color: 255 255 255 64;
30238                map {
30239                   on: 1;
30240                   smooth: 0;
30241                   alpha: 1;
30242                   rotation {
30243                      center: "swallow_center";
30244                      x: 180;
30245                   }
30246                }
30247             }
30248          }
30249          part {
30250             name: "mirror_fade";
30251             description {
30252                state: "default" 0.0;
30253                rel1 {
30254                   to_y: "content";
30255                   relative: 0.0 1.0;
30256                }
30257                image {
30258                   normal: "exq-vgrad.png";
30259                }
30260                fill.smooth: 0;
30261             }
30262             description {
30263                state: "clicked" 0.0;
30264                inherit: "default" 0.0;
30265                image.normal: "bt_base1.png";
30266             }
30267             description {
30268                state: "disabled" 0.0;
30269                inherit: "default" 0.0;
30270                image {
30271                   normal: "bt_dis_base.png";
30272                   border: 4 4 4 4;
30273                }
30274             }
30275          }
30276          part {
30277             name: "light";
30278             description {
30279                state: "default" 0.0;
30280                align: 0.5 0.5;
30281                rel1.relative: 0.1 0.8;
30282                rel2.relative: 0.9 1.2;
30283                aspect: (380/180) (380/180);
30284                aspect_preference: HORIZONTAL;
30285                max: 380 180;
30286                image.normal: "exq-bglight.png";
30287                color: 255 255 255 0;
30288             }
30289             description {
30290                state: "visible" 0.0;
30291                inherit: "default" 0.0;
30292                color: 255 255 255 255;
30293             }
30294          }
30295          part {
30296             name: "e.swallow.content";
30297             type: SWALLOW;
30298             description {
30299                state: "default" 0.0;
30300                rel1 {
30301                   to: "content";
30302                }
30303                rel2 {
30304                   to: "content";
30305                }
30306             }
30307          }
30308          part {
30309             name: "logoclip";
30310             type: RECT;
30311             description {
30312                state: "default" 0.0;
30313                visible: 0;
30314                color: 255 255 255 0;
30315             }
30316             description {
30317                state: "visible" 0.0;
30318                inherit: "default" 0.0;
30319                visible: 1;
30320                color: 255 255 255 255;
30321             }
30322          }
30323          part {
30324             name: "logo";
30325             clip_to: "logoclip";
30326             mouse_events: 0;
30327             description {
30328                state: "default" 0.0;
30329                align: 0.5 1.0;
30330                rel1.relative: 0.2 0.6;
30331                rel2.relative: 0.8 1.0;
30332                aspect: (121/217) (121/217);
30333                aspect_preference: BOTH;
30334                max: 121 217;
30335                image.normal: "exq-logo.png";
30336             }
30337          }
30338          part {
30339             name: "e.text.title";
30340             type: TEXT;
30341             scale: 1;
30342             description {
30343                state: "default" 0.0;
30344                rel1 {
30345                   relative: 0.05 0.05;
30346                }
30347                rel2 {
30348                   relative: 0.95 0.10;
30349                }
30350                color: 255 255 255 0;
30351                text {
30352                   font: "Sans:style=Bold";
30353                   size: 16;
30354                   min: 0 1;
30355                   text_class: "init_title";
30356                }
30357             }
30358             description {
30359                state: "visible" 0.0;
30360                inherit: "default" 0.0;
30361                color: 255 255 255 255;
30362             }
30363          }
30364          part {
30365             name: "p0-0";
30366             description {
30367                state: "default" 0.0;
30368                min: 22 22;
30369                max: 22 22;
30370                rel1 {
30371                   to: "logo";
30372                   relative: -0.5 0.7;
30373                }
30374                rel2 {
30375                   to: "logo";
30376                   relative: -0.5 0.7;
30377                }
30378                image.normal: "exq-dot.png";
30379                color: 255 255 255 0;
30380             }
30381             description {
30382                state: "visible" 0.0;
30383                inherit: "default" 0.0;
30384                color: 255 255 255 255;
30385             }
30386             description {
30387                state: "visible2" 0.0;
30388                inherit: "default" 0.0;
30389                color: 255 255 255 255;
30390                rel1.relative: -0.5 0.6;
30391                rel2.relative: -0.5 0.6;
30392             }
30393          }
30394          part {
30395             name: "p0-1";
30396             description {
30397                state: "default" 0.0;
30398                image.normal: "exq-dot-glow.png";
30399                color: 255 255 255 0;
30400                rel1.to: "p0-0";
30401                rel2.to: "p0-0";
30402             }
30403             description {
30404                state: "visible" 0.0;
30405                inherit: "default" 0.0;
30406                color: 255 255 255 255;
30407             }
30408             description {
30409                state: "visible2" 0.0;
30410                inherit: "default" 0.0;
30411                color: 255 255 255 255;
30412             }
30413          }
30414          part {
30415             name: "p0-0.1";
30416             description {
30417                state: "default" 0.0;
30418                image.normal: "exq-dot-glow.png";
30419                color: 255 255 255 0;
30420                min: 22 11;
30421                max: 22 11;
30422                rel1 {
30423                   to_x: "p0-0";
30424                   to_y: "logo";
30425                   relative: 0.0 0.8;
30426                }
30427                rel2 {
30428                   to_x: "p0-0";
30429                   to_y: "logo";
30430                   relative: 1.0 0.8;
30431                }
30432             }
30433             description {
30434                state: "visible" 0.0;
30435                inherit: "default" 0.0;
30436                color: 255 255 255 16;
30437             }
30438             description {
30439                state: "visible2" 0.0;
30440                inherit: "default" 0.0;
30441                color: 255 255 255 4;
30442             }
30443          }
30444          part {
30445             name: "p0-0.2";
30446             description {
30447                state: "default" 0.0;
30448                min: 22 22;
30449                max: 22 22;
30450                rel1 {
30451                   to_x: "p0-0";
30452                   to_y: "logo";
30453                   relative: 0.0 0.9;
30454                }
30455                rel2 {
30456                   to_x: "p0-0";
30457                   to_y: "logo";
30458                   relative: 1.0 0.9;
30459                }
30460                image.normal: "exq-dot.png";
30461                color: 255 255 255 0;
30462             }
30463             description {
30464                state: "visible" 0.0;
30465                inherit: "default" 0.0;
30466                color: 255 255 255 16;
30467             }
30468             description {
30469                state: "visible2" 0.0;
30470                inherit: "default" 0.0;
30471                color: 255 255 255 4;
30472                rel1.relative: 0.0 1.0;
30473                rel2.relative: 1.0 1.0;
30474             }
30475          }
30476          part {
30477             name: "p1-0";
30478             description {
30479                state: "default" 0.0;
30480                min: 22 22;
30481                max: 22 22;
30482                rel1 {
30483                   to: "logo";
30484                   relative: 0.0 0.7;
30485                }
30486                rel2 {
30487                   to: "logo";
30488                   relative: 0.0 0.7;
30489                }
30490                image.normal: "exq-dot.png";
30491                color: 255 255 255 0;
30492             }
30493             description {
30494                state: "visible" 0.0;
30495                inherit: "default" 0.0;
30496                color: 255 255 255 255;
30497             }
30498             description {
30499                state: "visible2" 0.0;
30500                inherit: "default" 0.0;
30501                color: 255 255 255 255;
30502                rel1.relative: 0.0 0.6;
30503                rel2.relative: 0.0 0.6;
30504             }
30505          }
30506          part {
30507             name: "p1-1";
30508             description {
30509                state: "default" 0.0;
30510                image.normal: "exq-dot-glow.png";
30511                color: 255 255 255 0;
30512                rel1.to: "p1-0";
30513                rel2.to: "p1-0";
30514             }
30515             description {
30516                state: "visible" 0.0;
30517                inherit: "default" 0.0;
30518                color: 255 255 255 255;
30519             }
30520             description {
30521                state: "visible2" 0.0;
30522                inherit: "default" 0.0;
30523                color: 255 255 255 255;
30524             }
30525          }
30526          part {
30527             name: "p1-0.1";
30528             description {
30529                state: "default" 0.0;
30530                image.normal: "exq-dot-glow.png";
30531                color: 255 255 255 0;
30532                min: 22 11;
30533                max: 22 11;
30534                rel1 {
30535                   to_x: "p1-0";
30536                   to_y: "logo";
30537                   relative: 0.0 0.8;
30538                }
30539                rel2 {
30540                   to_x: "p1-0";
30541                   to_y: "logo";
30542                   relative: 1.0 0.8;
30543                }
30544             }
30545             description {
30546                state: "visible" 0.0;
30547                inherit: "default" 0.0;
30548                color: 255 255 255 16;
30549             }
30550             description {
30551                state: "visible2" 0.0;
30552                inherit: "default" 0.0;
30553                color: 255 255 255 4;
30554             }
30555          }
30556          part {
30557             name: "p1-0.2";
30558             description {
30559                state: "default" 0.0;
30560                min: 22 22;
30561                max: 22 22;
30562                rel1 {
30563                   to_x: "p1-0";
30564                   to_y: "logo";
30565                   relative: 0.0 0.9;
30566                }
30567                rel2 {
30568                   to_x: "p1-0";
30569                   to_y: "logo";
30570                   relative: 1.0 0.9;
30571                }
30572                image.normal: "exq-dot.png";
30573                color: 255 255 255 0;
30574             }
30575             description {
30576                state: "visible" 0.0;
30577                inherit: "default" 0.0;
30578                color: 255 255 255 16;
30579             }
30580             description {
30581                state: "visible2" 0.0;
30582                inherit: "default" 0.0;
30583                color: 255 255 255 4;
30584                rel1.relative: 0.0 1.0;
30585                rel2.relative: 1.0 1.0;
30586             }
30587          }
30588          part {
30589             name: "p2-0";
30590             description {
30591                state: "default" 0.0;
30592                min: 22 22;
30593                max: 22 22;
30594                rel1 {
30595                   to: "logo";
30596                   relative: 0.5 0.7;
30597                }
30598                rel2 {
30599                   to: "logo";
30600                   relative: 0.5 0.7;
30601                }
30602                image.normal: "exq-dot.png";
30603                color: 255 255 255 0;
30604             }
30605             description {
30606                state: "visible" 0.0;
30607                inherit: "default" 0.0;
30608                color: 255 255 255 255;
30609             }
30610             description {
30611                state: "visible2" 0.0;
30612                inherit: "default" 0.0;
30613                color: 255 255 255 255;
30614                rel1.relative: 0.5 0.6;
30615                rel2.relative: 0.5 0.6;
30616             }
30617          }
30618          part {
30619             name: "p2-1";
30620             description {
30621                state: "default" 0.0;
30622                image.normal: "exq-dot-glow.png";
30623                color: 255 255 255 0;
30624                rel1.to: "p2-0";
30625                rel2.to: "p2-0";
30626             }
30627             description {
30628                state: "visible" 0.0;
30629                inherit: "default" 0.0;
30630                color: 255 255 255 255;
30631             }
30632             description {
30633                state: "visible2" 0.0;
30634                inherit: "default" 0.0;
30635                color: 255 255 255 255;
30636             }
30637          }
30638          part {
30639             name: "p2-0.1";
30640             description {
30641                state: "default" 0.0;
30642                image.normal: "exq-dot-glow.png";
30643                color: 255 255 255 0;
30644                min: 22 11;
30645                max: 22 11;
30646                rel1 {
30647                   to_x: "p2-0";
30648                   to_y: "logo";
30649                   relative: 0.0 0.8;
30650                }
30651                rel2 {
30652                   to_x: "p2-0";
30653                   to_y: "logo";
30654                   relative: 1.0 0.8;
30655                }
30656             }
30657             description {
30658                state: "visible" 0.0;
30659                inherit: "default" 0.0;
30660                color: 255 255 255 16;
30661             }
30662             description {
30663                state: "visible2" 0.0;
30664                inherit: "default" 0.0;
30665                color: 255 255 255 4;
30666             }
30667          }
30668          part {
30669             name: "p2-0.2";
30670             description {
30671                state: "default" 0.0;
30672                min: 22 22;
30673                max: 22 22;
30674                rel1 {
30675                   to_x: "p2-0";
30676                   to_y: "logo";
30677                   relative: 0.0 0.9;
30678                }
30679                rel2 {
30680                   to_x: "p2-0";
30681                   to_y: "logo";
30682                   relative: 1.0 0.9;
30683                }
30684                image.normal: "exq-dot.png";
30685                color: 255 255 255 0;
30686             }
30687             description {
30688                state: "visible" 0.0;
30689                inherit: "default" 0.0;
30690                color: 255 255 255 16;
30691             }
30692             description {
30693                state: "visible2" 0.0;
30694                inherit: "default" 0.0;
30695                color: 255 255 255 4;
30696                rel1.relative: 0.0 1.0;
30697                rel2.relative: 1.0 1.0;
30698             }
30699          }
30700          part {
30701             name: "p3-0";
30702             description {
30703                state: "default" 0.0;
30704                min: 22 22;
30705                max: 22 22;
30706                rel1 {
30707                   to: "logo";
30708                   relative: 1.0 0.7;
30709                }
30710                rel2 {
30711                   to: "logo";
30712                   relative: 1.0 0.7;
30713                }
30714                image.normal: "exq-dot.png";
30715                color: 255 255 255 0;
30716             }
30717             description {
30718                state: "visible" 0.0;
30719                inherit: "default" 0.0;
30720                color: 255 255 255 255;
30721             }
30722             description {
30723                state: "visible2" 0.0;
30724                inherit: "default" 0.0;
30725                color: 255 255 255 255;
30726                rel1.relative: 1.0 0.6;
30727                rel2.relative: 1.0 0.6;
30728             }
30729          }
30730          part {
30731             name: "p3-1";
30732             description {
30733                state: "default" 0.0;
30734                image.normal: "exq-dot-glow.png";
30735                color: 255 255 255 0;
30736                rel1.to: "p3-0";
30737                rel2.to: "p3-0";
30738             }
30739             description {
30740                state: "visible" 0.0;
30741                inherit: "default" 0.0;
30742                color: 255 255 255 255;
30743             }
30744             description {
30745                state: "visible2" 0.0;
30746                inherit: "default" 0.0;
30747                color: 255 255 255 255;
30748             }
30749          }
30750          part {
30751             name: "p3-0.1";
30752             description {
30753                state: "default" 0.0;
30754                image.normal: "exq-dot-glow.png";
30755                color: 255 255 255 0;
30756                min: 22 11;
30757                max: 22 11;
30758                rel1 {
30759                   to_x: "p3-0";
30760                   to_y: "logo";
30761                   relative: 0.0 0.8;
30762                }
30763                rel2 {
30764                   to_x: "p3-0";
30765                   to_y: "logo";
30766                   relative: 1.0 0.8;
30767                }
30768             }
30769             description {
30770                state: "visible" 0.0;
30771                inherit: "default" 0.0;
30772                color: 255 255 255 16;
30773             }
30774             description {
30775                state: "visible2" 0.0;
30776                inherit: "default" 0.0;
30777                color: 255 255 255 4;
30778             }
30779          }
30780          part {
30781             name: "p3-0.2";
30782             description {
30783                state: "default" 0.0;
30784                min: 22 22;
30785                max: 22 22;
30786                rel1 {
30787                   to_x: "p3-0";
30788                   to_y: "logo";
30789                   relative: 0.0 0.9;
30790                }
30791                rel2 {
30792                   to_x: "p3-0";
30793                   to_y: "logo";
30794                   relative: 1.0 0.9;
30795                }
30796                image.normal: "exq-dot.png";
30797                color: 255 255 255 0;
30798             }
30799             description {
30800                state: "visible" 0.0;
30801                inherit: "default" 0.0;
30802                color: 255 255 255 16;
30803             }
30804             description {
30805                state: "visible2" 0.0;
30806                inherit: "default" 0.0;
30807                color: 255 255 255 4;
30808                rel1.relative: 0.0 1.0;
30809                rel2.relative: 1.0 1.0;
30810             }
30811          }
30812          part {
30813             name: "p4-0";
30814             description {
30815                state: "default" 0.0;
30816                min: 22 22;
30817                max: 22 22;
30818                rel1 {
30819                   to: "logo";
30820                   relative: 1.5 0.7;
30821                }
30822                rel2 {
30823                   to: "logo";
30824                   relative: 1.5 0.7;
30825                }
30826                image.normal: "exq-dot.png";
30827                color: 255 255 255 0;
30828             }
30829             description {
30830                state: "visible" 0.0;
30831                inherit: "default" 0.0;
30832                color: 255 255 255 255;
30833             }
30834             description {
30835                state: "visible2" 0.0;
30836                inherit: "default" 0.0;
30837                color: 255 255 255 255;
30838                rel1.relative: 1.5 0.6;
30839                rel2.relative: 1.5 0.6;
30840             }
30841          }
30842          part {
30843             name: "p4-1";
30844             description {
30845                state: "default" 0.0;
30846                image.normal: "exq-dot-glow.png";
30847                color: 255 255 255 0;
30848                rel1.to: "p4-0";
30849                rel2.to: "p4-0";
30850             }
30851             description {
30852                state: "visible" 0.0;
30853                inherit: "default" 0.0;
30854                color: 255 255 255 255;
30855             }
30856             description {
30857                state: "visible2" 0.0;
30858                inherit: "default" 0.0;
30859                color: 255 255 255 255;
30860             }
30861          }
30862          part {
30863             name: "p4-0.1";
30864             description {
30865                state: "default" 0.0;
30866                image.normal: "exq-dot-glow.png";
30867                color: 255 255 255 0;
30868                min: 22 11;
30869                max: 22 11;
30870                rel1 {
30871                   to_x: "p4-0";
30872                   to_y: "logo";
30873                   relative: 0.0 0.8;
30874                }
30875                rel2 {
30876                   to_x: "p4-0";
30877                   to_y: "logo";
30878                   relative: 1.0 0.8;
30879                }
30880             }
30881             description {
30882                state: "visible" 0.0;
30883                inherit: "default" 0.0;
30884                color: 255 255 255 16;
30885             }
30886             description {
30887                state: "visible2" 0.0;
30888                inherit: "default" 0.0;
30889                color: 255 255 255 4;
30890             }
30891          }
30892          part {
30893             name: "p4-0.2";
30894             description {
30895                state: "default" 0.0;
30896                min: 22 22;
30897                max: 22 22;
30898                rel1 {
30899                   to_x: "p4-0";
30900                   to_y: "logo";
30901                   relative: 0.0 0.9;
30902                }
30903                rel2 {
30904                   to_x: "p4-0";
30905                   to_y: "logo";
30906                   relative: 1.0 0.9;
30907                }
30908                image.normal: "exq-dot.png";
30909                color: 255 255 255 0;
30910             }
30911             description {
30912                state: "visible" 0.0;
30913                inherit: "default" 0.0;
30914                color: 255 255 255 16;
30915             }
30916             description {
30917                state: "visible2" 0.0;
30918                inherit: "default" 0.0;
30919                color: 255 255 255 4;
30920                rel1.relative: 0.0 1.0;
30921                rel2.relative: 1.0 1.0;
30922             }
30923          }
30924          part {
30925             name: "e.text.label";
30926             type: TEXT;
30927             effect: GLOW;
30928             mouse_events: 1;
30929             scale: 1;
30930             clip_to: "bdis";
30931             description {
30932                state: "default" 0.0;
30933                min: 64 32;
30934                align: 0.5 1.0;
30935                rel1 {
30936                   relative: 0.5  0.95;
30937                }
30938                rel2 {
30939                   relative: 0.5  0.95;
30940                }
30941                color: 180 180 180 255;
30942                color2: 255 255 255 24;
30943                color3: 255 255 255 6;
30944                text {
30945                   text: "Next";
30946                   font: "Sans:style=Bold";
30947                   size: 16;
30948                   min: 1 1;
30949                }
30950             }
30951             description {
30952                state: "clicked" 0.0;
30953                inherit: "default" 0.0;
30954                color: 255 255 255 255;
30955                color2: 255 255 255 40;
30956                color3: 255 255 255 10;
30957             }
30958          }
30959          part {
30960             name: "arrow";
30961             type: TEXT;
30962             effect: GLOW;
30963             scale: 1;
30964             clip_to: "bdis";
30965             description {
30966                state: "default" 0.0;
30967                min: 32 32;
30968                align: 0.0 0.5;
30969                rel1 {
30970                   to: "e.text.label";
30971                   relative: 1.0  0.0;
30972                }
30973                rel2 {
30974                   to: "e.text.label";
30975                   relative: 1.0  1.0;
30976                }
30977                color: 255 255 255 255;
30978                color2: 255 255 255 40;
30979                color3: 255 255 255 10;
30980                text {
30981                   text: ">";
30982                   font: "Sans:style=Bold";
30983                   size: 16;
30984                   min: 1 1;
30985                }
30986             }
30987             description {
30988                state: "go" 0.0;
30989                inherit: "default" 0.0;
30990                color: 180 180 180 0;
30991                color2: 255 255 255 0;
30992                color3: 255 255 255 0;
30993                rel1.relative: 2.0 0.0;
30994                rel2.relative: 2.0 1.0;
30995             }
30996          }
30997          part {
30998             name: "block";
30999             mouse_events: 1;
31000             description {
31001                state: "default" 0.0;
31002                rel1.to: "e.text.label";
31003                rel2.to: "e.text.label";
31004                visible: 0;
31005                color: 0 0 0 0;
31006             }
31007             description {
31008                state: "disabled" 0.0;
31009                inherit: "default" 0.0;
31010                visible: 1;
31011                color: 0 0 255 128;
31012             }
31013          }
31014          part {
31015             name: "bdis";
31016             type: RECT;
31017             description {
31018                state: "default" 0.0;
31019                color: 255 255 255 255;
31020             }
31021             description {
31022                state: "disabled" 0.0;
31023                inherit: "default" 0.0;
31024                color: 255 255 255 64;
31025             }
31026          }
31027       }
31028       programs {
31029          program {
31030             name: "button_click";
31031             signal: "mouse,down,1";
31032             source: "e.text.label";
31033             action: STATE_SET "clicked" 0.0;
31034             target: "e.text.label";
31035          }
31036          program {
31037             name: "button_unclick";
31038             signal: "mouse,up,1";
31039             source: "e.text.label";
31040             action: STATE_SET "default" 0.0;
31041             target: "e.text.label";
31042          }
31043          program {
31044             name: "button_unclick2";
31045             signal: "mouse,clicked,1";
31046             source: "e.text.label";
31047             action: SIGNAL_EMIT "e,action,next" "";
31048             after: "button_go";
31049          }
31050          program {
31051             name: "button_go";
31052             action: STATE_SET "go" 0.0;
31053             transition: ACCELERATE 0.5;
31054             target: "arrow";
31055             after: "button_go2";
31056          }
31057          program {
31058             name: "button_go2";
31059             action: STATE_SET "default" 0.0;
31060             target: "arrow";
31061          }
31062          program {
31063             name: "button_enable";
31064             signal: "e,state,next,enable";
31065             source: "e";
31066             action: STATE_SET "default" 0.0;
31067             target: "block";
31068             target: "bdis";
31069          }
31070          program {
31071             name: "button_disable";
31072             signal: "e,state,next,disable";
31073             source: "e";
31074             action: STATE_SET "disabled" 0.0;
31075             target: "block";
31076             target: "bdis";
31077          }
31078          program {
31079             name: "show1";
31080             signal: "show";
31081             source: "";
31082             action: STATE_SET "visible" 0.0;
31083             transition: LINEAR 0.3;
31084             target: "light";
31085          }
31086          program {
31087             name: "show2";
31088             signal: "show";
31089             source: "";
31090             in: 0.1 0.0;
31091             action: STATE_SET "visible" 0.0;
31092             transition: LINEAR 0.4;
31093             target: "logoclip";
31094             target: "e.text.title";
31095          }
31096          program {
31097             name: "show3";
31098             signal: "show";
31099             source: "";
31100             action: STATE_SET "visible" 0.0;
31101             transition: LINEAR 0.2;
31102             target: "p0-0";
31103             target: "p0-0.1";
31104             target: "p0-0.2";
31105             target: "p1-0";
31106             target: "p1-0.1";
31107             target: "p1-0.2";
31108             target: "p2-0";
31109             target: "p2-0.1";
31110             target: "p2-0.2";
31111             target: "p3-0";
31112             target: "p3-0.1";
31113             target: "p3-0.2";
31114             target: "p4-0";
31115             target: "p4-0.1";
31116             target: "p4-0.2";
31117             after: "pulsate1";
31118             after: "pulsate1.2";
31119             after: "pulsate2";
31120             after: "pulsate2.2";
31121             after: "pulsate3";
31122             after: "pulsate3.2";
31123             after: "pulsate4";
31124             after: "pulsate4.2";
31125             after: "pulsate5";
31126             after: "pulsate5.2";
31127             after: "ready";
31128          }
31129          program {
31130             name: "ready";
31131             action: STATE_SET "default" 0.0;
31132             transition: ACCELERATE 2.0;
31133             target: "logoclip";
31134          }
31135          program {
31136             name: "pulsate1";
31137             action: STATE_SET "visible" 0.0;
31138             transition: SINUSOIDAL 0.5;
31139             in: 0.2 0.2;
31140             after: "pulsate1.1";
31141             target: "p0-1";
31142          }
31143          program {
31144             name: "pulsate1.1";
31145             action: STATE_SET "default" 0.0;
31146             transition: SINUSOIDAL 0.5;
31147             after: "pulsate1";
31148             target: "p0-1";
31149          }
31150          program {
31151             name: "pulsate1.2";
31152             action: STATE_SET "visible2" 0.0;
31153             transition: SINUSOIDAL 0.6;
31154             in: 0.2 0.2;
31155             after: "pulsate1.2.1";
31156             target: "p0-0";
31157             target: "p0-0.1";
31158             target: "p0-0.2";
31159          }
31160          program {
31161             name: "pulsate1.2.1";
31162             action: STATE_SET "visible" 0.0;
31163             transition: SINUSOIDAL 0.7;
31164             after: "pulsate1.2";
31165             target: "p0-0";
31166             target: "p0-0.1";
31167             target: "p0-0.2";
31168          }
31169          program {
31170             name: "pulsate2";
31171             action: STATE_SET "visible" 0.0;
31172             transition: SINUSOIDAL 0.5;
31173             in: 0.2 0.2;
31174             after: "pulsate2.1";
31175             target: "p1-1";
31176          }
31177          program {
31178             name: "pulsate2.1";
31179             action: STATE_SET "default" 0.0;
31180             transition: SINUSOIDAL 0.5;
31181             after: "pulsate2";
31182             target: "p1-1";
31183          }
31184          program {
31185             name: "pulsate2.2";
31186             action: STATE_SET "visible2" 0.0;
31187             transition: SINUSOIDAL 0.6;
31188             in: 0.2 0.2;
31189             after: "pulsate2.2.1";
31190             target: "p1-0";
31191             target: "p1-0.1";
31192             target: "p1-0.2";
31193          }
31194          program {
31195             name: "pulsate2.2.1";
31196             action: STATE_SET "visible" 0.0;
31197             transition: SINUSOIDAL 0.7;
31198             after: "pulsate2.2";
31199             target: "p1-0";
31200             target: "p1-0.1";
31201             target: "p1-0.2";
31202          }
31203          program {
31204             name: "pulsate3";
31205             action: STATE_SET "visible" 0.0;
31206             transition: SINUSOIDAL 0.5;
31207             in: 0.2 0.2;
31208             after: "pulsate3.1";
31209             target: "p2-1";
31210          }
31211          program {
31212             name: "pulsate3.1";
31213             action: STATE_SET "default" 0.0;
31214             transition: SINUSOIDAL 0.5;
31215             after: "pulsate3";
31216             target: "p2-1";
31217          }
31218          program {
31219             name: "pulsate3.2";
31220             action: STATE_SET "visible2" 0.0;
31221             transition: SINUSOIDAL 0.6;
31222             in: 0.2 0.2;
31223             after: "pulsate3.2.1";
31224             target: "p2-0";
31225             target: "p2-0.1";
31226             target: "p2-0.2";
31227          }
31228          program {
31229             name: "pulsate3.2.1";
31230             action: STATE_SET "visible" 0.0;
31231             transition: SINUSOIDAL 0.7;
31232             after: "pulsate3.2";
31233             target: "p2-0";
31234             target: "p2-0.1";
31235             target: "p2-0.2";
31236          }
31237          program {
31238             name: "pulsate4";
31239             action: STATE_SET "visible" 0.0;
31240             transition: SINUSOIDAL 0.5;
31241             in: 0.2 0.2;
31242             after: "pulsate4.1";
31243             target: "p3-1";
31244          }
31245          program {
31246             name: "pulsate4.1";
31247             action: STATE_SET "default" 0.0;
31248             transition: SINUSOIDAL 0.5;
31249             after: "pulsate4";
31250             target: "p3-1";
31251          }
31252          program {
31253             name: "pulsate4.2";
31254             action: STATE_SET "visible2" 0.0;
31255             transition: SINUSOIDAL 0.6;
31256             in: 0.2 0.2;
31257             after: "pulsate4.2.1";
31258             target: "p3-0";
31259             target: "p3-0.1";
31260             target: "p3-0.2";
31261          }
31262          program {
31263             name: "pulsate4.2.1";
31264             action: STATE_SET "visible" 0.0;
31265             transition: SINUSOIDAL 0.7;
31266             after: "pulsate4.2";
31267             target: "p3-0";
31268             target: "p3-0.1";
31269             target: "p3-0.2";
31270          }
31271          program {
31272             name: "pulsate5";
31273             action: STATE_SET "visible" 0.0;
31274             transition: SINUSOIDAL 0.5;
31275             in: 0.2 0.2;
31276             after: "pulsate5.1";
31277             target: "p4-1";
31278          }
31279          program {
31280             name: "pulsate5.1";
31281             action: STATE_SET "default" 0.0;
31282             transition: SINUSOIDAL 0.5;
31283             after: "pulsate5";
31284             target: "p4-1";
31285          }
31286          program {
31287             name: "pulsate5.2";
31288             action: STATE_SET "visible2" 0.0;
31289             transition: SINUSOIDAL 0.6;
31290             in: 0.2 0.2;
31291             after: "pulsate5.2.1";
31292             target: "p4-0";
31293             target: "p4-0.1";
31294             target: "p4-0.2";
31295          }
31296          program {
31297             name: "pulsate5.2.1";
31298             action: STATE_SET "visible" 0.0;
31299             transition: SINUSOIDAL 0.7;
31300             after: "pulsate5.2";
31301             target: "p4-0";
31302             target: "p4-0.1";
31303             target: "p4-0.2";
31304          }
31305       }
31306    }
31307
31308 /////////////////////////////////////////////////////////////////////////////
31309 /*** ABOUT E ***/
31310
31311    group {
31312       name: "e/widgets/about/main";
31313       images {
31314          image: "vgrad_dark.png" COMP;
31315          image: "about_top.png" COMP;
31316          image: "about_mid.png" COMP;
31317          image: "about_bot.png" COMP;
31318          image: "dia_botshad.png" COMP;
31319          image: "topsh.png" COMP;
31320          image: "logo_white_128.png" COMP;
31321          image: "bt_base1.png" COMP;
31322          image: "bt_base2.png" COMP;
31323          image: "bt_hilight.png" COMP;
31324          image: "bt_shine.png" COMP;
31325          image: "bt_glow.png" COMP;
31326       }
31327       // data.item: "borderless" "1";
31328       // data.item: "shaped" "1";
31329       styles {
31330          style {
31331             name: "about_style";
31332             base: "font=Sans:style=Bold font_size=10 align=center text_class=tb_plain color=#e0e0e0ff style=soft_shadow shadow_color=#00000020 wrap=word";
31333             tag: "hilight" "+ font=Sans:style=Bold text_class=tb_light color=#f00 style=soft_shadow";
31334             tag: "title" "+ font_size=12 font=Sans:style=Bold text_class=tb_big style=soft_shadow color=#fff shadow_color=#00000020";
31335             tag: "/title" "- \n \n";
31336             tag: "br" "\n";
31337          }
31338       }
31339       min: 300 240;
31340       max: 640 640;
31341       parts {
31342          part {
31343             name: "sizer";
31344             type: RECT;
31345             mouse_events: 0;
31346             scale: 1;
31347             description {
31348                state: "default" 0.0;
31349                min: 300 240;
31350                visible: 0;
31351             }
31352          }
31353          part {
31354             name: "about_clip";
31355             type: RECT;
31356             mouse_events: 0;
31357             description {
31358                state: "default" 0.0;
31359                rel1 {
31360                   to: "top";
31361                   relative: 0.0 0.0;
31362                   offset: 6 0;
31363                }
31364                rel2 {
31365                   to: "top";
31366                   relative: 1.0 1.0;
31367                   offset: -7 -7;
31368                }
31369                color: 255 255 255 255;
31370             }
31371          }
31372          part {
31373             name: "authors_clip";
31374             type: RECT;
31375             mouse_events: 0;
31376             description {
31377                state: "default" 0.0;
31378                rel1 {
31379                   to: "bot";
31380                   relative: 0.0 0.0;
31381                   offset: 6 6;
31382                }
31383                rel2 {
31384                   to: "bot";
31385                   relative: 1.0 1.0;
31386                   offset: -7 -1;
31387                }
31388                color: 255 255 255 255;
31389             }
31390          }
31391          part {
31392             name: "background_image";
31393             description {
31394                state: "default" 0.0;
31395                image.normal: "vgrad_dark.png";
31396                fill {
31397                   smooth: 0;
31398                   size {
31399                      relative: 0 1.0;
31400                      offset: 36 0;
31401                   }
31402                }
31403             }
31404          }
31405          part {
31406             name: "e.textblock.about";
31407             type: TEXTBLOCK;
31408             mouse_events: 0;
31409             clip_to: "about_clip";
31410             scale: 1;
31411             description {
31412                state: "default" 0.0;
31413                fixed: 1 1;
31414                align: 0.5 0.0;
31415                max: 10000 10000;
31416                min: 160 0;
31417                rel1 {
31418                   to: "top";
31419                   relative: 0.0 1.0;
31420                   offset: 32 -17;
31421                }
31422                rel2 {
31423                   to: "top";
31424                   relative: 1.0 1.0;
31425                   offset: -33 -17;
31426                }
31427                text {
31428                   style: "about_style";
31429                   min: 0 1;
31430                }
31431             }
31432             description {
31433                state: "up" 0.0;
31434                inherit: "default" 0.0;
31435                align: 0.5 1.0;
31436                rel1 {
31437                   relative: 0.0 0.0;
31438                   offset: 32 0;
31439                }
31440                rel2 {
31441                   relative: 1.0 0.0;
31442                   offset: -33 -1;
31443                }
31444             }
31445          }
31446          part {
31447             name: "e.textblock.authors";
31448             type: TEXTBLOCK;
31449             mouse_events: 0;
31450             clip_to: "authors_clip";
31451             scale: 1;
31452             description {
31453                state: "default" 0.0;
31454                fixed: 1 1;
31455                align: 0.5 0.0;
31456                max: 10000 10000;
31457                min: 160 0;
31458                rel1 {
31459                   to: "bot";
31460                   relative: 0.0 1.0;
31461                   offset: 32 0;
31462                }
31463                rel2 {
31464                   to: "bot";
31465                   relative: 1.0 1.0;
31466                   offset: -33 0;
31467                }
31468                text {
31469                   style: "about_style";
31470                   min: 0 1;
31471                }
31472             }
31473             description {
31474                state: "up" 0.0;
31475                inherit: "default" 0.0;
31476                align: 0.5 1.0;
31477                rel1 {
31478                   relative: 0.0 0.0;
31479                   offset: 32 16;
31480                }
31481                rel2 {
31482                   relative: 1.0 0.0;
31483                   offset: -33 16;
31484                }
31485             }
31486          }
31487          part {
31488             name: "top";
31489             description {
31490                state: "default" 0.0;
31491                image.normal: "about_top.png";
31492                image.middle: 0;
31493                image.border: 28 28 0 28;
31494                rel2.to_y: "e.text.title";
31495                rel2.relative: 1.0 0.0;
31496                rel2.offset: -1 6;
31497                fill.smooth: 0;
31498             }
31499          }
31500          part {
31501             name: "bot";
31502             description {
31503                state: "default" 0.0;
31504                image.normal: "about_bot.png";
31505                image.middle: 0;
31506                image.border: 28 28 28 0;
31507                rel1.to_y: "e.text.title";
31508                rel1.relative: 0.0 1.0;
31509                rel1.offset: 0 -5;
31510                fill.smooth: 0;
31511             }
31512          }
31513          part {
31514             name: "mid";
31515             description {
31516                state: "default" 0.0;
31517                image.normal: "about_mid.png";
31518                rel1 {
31519                   to: "top";
31520                   relative: 0.0 1.0;
31521                   offset: 0 -1;
31522                }
31523                rel2 {
31524                   to: "bot";
31525                   relative: 1.0 0.0;
31526                   offset: -1 0;
31527                }
31528                fill.smooth: 0;
31529             }
31530          }
31531          part {
31532             name: "e.text.title";
31533             type: TEXT;
31534             mouse_events: 0;
31535             scale: 1;
31536             description {
31537                state: "default" 0.0;
31538                color: 0 0 0 255;
31539                align: 1.0 0.5;
31540                rel1 {
31541                   relative: 0.0 0.5;
31542                   offset: 0 0;
31543                }
31544                rel2 {
31545                   to_x: "logo";
31546                   relative: 0.0 0.5;
31547                   offset: 11 -1;
31548                }
31549                text {
31550                   font: "Sans:style=Bold";
31551                   size: 10;
31552                   min: 1 1;
31553                   align: 1.0 0.5;
31554                   text_class: "about_title";
31555                }
31556             }
31557          }
31558          part {
31559             name: "e.text.version";
31560             type: TEXT;
31561             mouse_events: 0;
31562             scale: 1;
31563             description {
31564                state: "default" 0.0;
31565                color: 0 0 0 255;
31566                align: 0.0 0.5;
31567                rel1 {
31568                   to_x: "logo";
31569                   relative: 1.0 0.5;
31570                   offset: -12 0;
31571                }
31572                rel2 {
31573                   relative: 1.0 0.5;
31574                   offset: -1 -1;
31575                }
31576                text {
31577                   font: "Sans:style=Bold";
31578                   size: 10;
31579                   min: 1 1;
31580                   align: 0.0 0.5;
31581                   text_class: "about_version";
31582                }
31583             }
31584          }
31585          part {
31586             name: "shadow";
31587             scale: 1;
31588             description {
31589                state: "default" 0.0;
31590                image.normal: "topsh.png";
31591                align: 0.0 0.0;
31592                min: 1 16;
31593                max: 99999 16;
31594                fill.smooth: 0;
31595             }
31596          }
31597          part {
31598             name: "shadow2";
31599             mouse_events: 0;
31600             description {
31601                state: "default" 0.0;
31602                rel1.relative: 0.0 1.0;
31603                rel1.offset: 0 -4;
31604                image.normal: "dia_botshad.png";
31605                fill {
31606                   smooth: 0;
31607                   size {
31608                      relative: 0.0 1.0;
31609                      offset: 64 0;
31610                   }
31611                }
31612             }
31613          }
31614          part {
31615             name: "logo";
31616             description {
31617                state: "default" 0.0;
31618                aspect: 1.0 1.0;
31619                aspect_preference: VERTICAL;
31620                image.normal: "logo_white_128.png";
31621                rel1 {
31622                   to: "top";
31623                   relative: 0.5 1.0;
31624                   offset: 0 -30;
31625                }
31626                rel2 {
31627                   to: "bot";
31628                   relative: 0.5 0.0;
31629                   offset: -1 29;
31630                }
31631             }
31632          }
31633          part {
31634             name: "button_image";
31635             mouse_events: 1;
31636             scale: 1;
31637             description {
31638                state: "default" 0.0;
31639                fixed: 1 1;
31640                align: 0.5 1.0;
31641                rel1.relative: 0.5 0.98;
31642                rel1.offset: 0 -1;
31643                rel2.relative: 0.5 0.98;
31644                rel2.offset: 0 -1;
31645                min: 64 32;
31646                max: 64 32;
31647                image {
31648                   normal: "bt_base2.png";
31649                   border: 7 7 7 7;
31650                }
31651             }
31652             description {
31653                state: "clicked" 0.0;
31654                inherit: "default" 0.0;
31655                image.normal: "bt_base1.png";
31656             }
31657          }
31658          part {
31659             name: "e.text.label";
31660             type: TEXT;
31661             effect: SOFT_SHADOW;
31662             mouse_events: 0;
31663             scale: 1;
31664             description {
31665                state: "default" 0.0;
31666                rel1 {
31667                   to: "button_image";
31668                   relative: 0.0  0.0;
31669                   offset: 3    3;
31670                }
31671                rel2 {
31672                   relative: 1.0  1.0;
31673                   offset: -4   -4;
31674                   to: "button_image";
31675                }
31676                color_class: "button_text";
31677                text {
31678                   text: "Close";
31679                   font: "Sans";
31680                   size: 10;
31681                   min: 1 1;
31682                   align: 0.5 0.5;
31683                   text_class: "button";
31684                }
31685             }
31686          }
31687          part {
31688             name: "over1";
31689             mouse_events: 0;
31690             description {
31691                state: "default" 0.0;
31692                rel1.to: "button_image";
31693                rel2.to: "button_image";
31694                rel2.relative: 1.0 0.5;
31695                image {
31696                   normal: "bt_hilight.png";
31697                   border: 7 7 7 0;
31698                }
31699             }
31700          }
31701          part {
31702             name: "over2";
31703             mouse_events: 0;
31704             description {
31705                state: "default" 0.0;
31706                rel1.to: "button_image";
31707                rel2.to: "button_image";
31708                image {
31709                   normal: "bt_shine.png";
31710                   border: 7 7 7 7;
31711                }
31712             }
31713          }
31714          part {
31715             name: "over3";
31716             mouse_events: 0;
31717             description {
31718                state: "default" 0.0;
31719                rel1.to: "button_image";
31720                rel2.to: "button_image";
31721                visible: 0;
31722                color: 255 255 255 0;
31723                image {
31724                   normal: "bt_glow.png";
31725                   border: 12 12 12 12;
31726                }
31727                fill.smooth : 0;
31728             }
31729             description {
31730                state: "clicked" 0.0;
31731                inherit: "default" 0.0;
31732                visible: 1;
31733                color: 255 255 255 255;
31734             }
31735          }
31736       }
31737       programs {
31738          program {
31739             name: "showa";
31740             signal: "show";
31741             source: "";
31742             action: STATE_SET "up" 0.0;
31743             transition: LINEAR 45.0;
31744             target: "e.textblock.about";
31745             after: "showa2";
31746          }
31747          program {
31748             name: "showa2";
31749             action: STATE_SET "default" 0.0;
31750             target: "e.textblock.about";
31751             after: "showa";
31752          }
31753          program {
31754             name: "showb";
31755             signal: "show";
31756             source: "";
31757             action: STATE_SET "up" 0.0;
31758             transition: LINEAR 45.0;
31759             target: "e.textblock.authors";
31760             after: "showb2";
31761          }
31762          program {
31763             name: "showb2";
31764             action: STATE_SET "default" 0.0;
31765             target: "e.textblock.authors";
31766             after: "showb";
31767          }
31768          program {
31769             name: "button_click";
31770             signal: "mouse,down,1";
31771             source: "button_image";
31772             action: STATE_SET "clicked" 0.0;
31773             target: "button_image";
31774             target: "over3";
31775          }
31776          program {
31777             name: "button_unclick";
31778             signal: "mouse,up,1";
31779             source: "button_image";
31780             action: STATE_SET "default" 0.0;
31781             target: "button_image";
31782             target: "over3";
31783          }
31784          program {
31785             name: "button_unclick2";
31786             signal: "mouse,clicked,1";
31787             source: "button_image";
31788             action: SIGNAL_EMIT "e,action,close" "";
31789          }
31790       }
31791    }
31792
31793
31794 /////////////////////////////////////////////////////////////////////////////
31795 /*** THEME ABOUT ***/
31796
31797    group {
31798       name: "e/theme/about";
31799       images {
31800          image: "silk.png" LOSSY 90;
31801          image: "topsh.png" COMP;
31802          image: "bnw.png" COMP;
31803          image: "bt_base1.png" COMP;
31804          image: "bt_base2.png" COMP;
31805          image: "bt_hilight.png" COMP;
31806          image: "bt_shine.png" COMP;
31807          image: "bt_glow.png" COMP;
31808       }
31809       styles {
31810          style {
31811             name: "theme_about_style";
31812             base: "font=Sans:style=Bold font_size=10 align=center color=#e0e0e0ff style=soft_shadow shadow_color=#0000001f wrap=word";
31813             tag: "br" "\n";
31814          }
31815       }
31816       // data.item: "borderless" "1";
31817       // data.item: "shaped" "1";
31818       min: 300 240;
31819       max: 640 640;
31820       parts {
31821          part {
31822             name: "background_image";
31823             description {
31824                state: "default" 0.0;
31825                image.normal: "silk.png";
31826                aspect: 1.0 1.0;
31827                aspect_preference: NONE;
31828             }
31829          }
31830          part {
31831             name: "shadow";
31832             scale: 1;
31833             description {
31834                state: "default" 0.0;
31835                image.normal: "topsh.png";
31836                align: 0.0 0.0;
31837                min: 1 16;
31838                max: 99999 16;
31839                fill.smooth: 0;
31840             }
31841          }
31842          part {
31843             name: "logo";
31844             description {
31845                state: "default" 0.0;
31846                image.normal: "bnw.png";
31847                align: 0.5 0.05;
31848                min: 230 110;
31849                max: 460 220;
31850                aspect: 2.090909091 2.090909091;
31851                aspect_preference: HORIZONTAL;
31852             }
31853          }
31854          part {
31855             name: "about";
31856             type: TEXTBLOCK;
31857             mouse_events: 0;
31858             scale: 1;
31859             description {
31860                state: "default" 0.0;
31861                rel1 {
31862                   to_y: "logo";
31863                   relative: 0.0 1.0;
31864                   offset: 8 0;
31865                }
31866                rel2 {
31867                   to_y: "button_image";
31868                   offset: -9 -19;
31869                   relative: 1.0 0.0;
31870                }
31871                text {
31872                   style: "theme_about_style";
31873                   min: 1 1;
31874                   text:
31875                             "Smooth as silk<br>"
31876                             "The default theme for<br>"
31877                             "Enlightenment<br>"
31878                             ;
31879                }
31880             }
31881          }
31882          part {
31883             name: "button_image";
31884             mouse_events: 1;
31885             scale: 1;
31886             description {
31887                state: "default" 0.0;
31888                fixed: 1 1;
31889                align: 0.5 1.0;
31890                rel1.relative: 0.5 0.98;
31891                rel1.offset: 0 -1;
31892                rel2.relative: 0.5 0.98;
31893                rel2.offset: 0 -1;
31894                min: 64 32;
31895                max: 64 32;
31896                image {
31897                   normal: "bt_base2.png";
31898                   border: 7 7 7 7;
31899                }
31900             }
31901             description {
31902                state: "clicked" 0.0;
31903                inherit: "default" 0.0;
31904                image.normal: "bt_base1.png";
31905             }
31906          }
31907          part {
31908             name: "e.text.label";
31909             type: TEXT;
31910             effect: SOFT_SHADOW;
31911             mouse_events: 0;
31912             scale: 1;
31913             description {
31914                state: "default" 0.0;
31915                rel1 {
31916                   to: "button_image";
31917                   relative: 0.0  0.0;
31918                   offset: 3    3;
31919                }
31920                rel2 {
31921                   relative: 1.0  1.0;
31922                   offset: -4   -4;
31923                   to: "button_image";
31924                }
31925                color_class: "button_text";
31926                text {
31927                   text: "Close";
31928                   font: "Sans";
31929                   size: 10;
31930                   min: 1 1;
31931                   align: 0.5 0.5;
31932                   text_class: "button";
31933                }
31934             }
31935          }
31936          part {
31937             name: "over1";
31938             mouse_events: 0;
31939             description {
31940                state: "default" 0.0;
31941                rel1.to: "button_image";
31942                rel2.to: "button_image";
31943                rel2.relative: 1.0 0.5;
31944                image {
31945                   normal: "bt_hilight.png";
31946                   border: 7 7 7 0;
31947                }
31948             }
31949          }
31950          part {
31951             name: "over2";
31952             mouse_events: 0;
31953             description {
31954                state: "default" 0.0;
31955                rel1.to: "button_image";
31956                rel2.to: "button_image";
31957                image {
31958                   normal: "bt_shine.png";
31959                   border: 7 7 7 7;
31960                }
31961             }
31962          }
31963          part {
31964             name: "over3";
31965             mouse_events: 0;
31966             description {
31967                state: "default" 0.0;
31968                rel1.to: "button_image";
31969                rel2.to: "button_image";
31970                visible: 0;
31971                color: 255 255 255 0;
31972                image {
31973                   normal: "bt_glow.png";
31974                   border: 12 12 12 12;
31975                }
31976                fill.smooth : 0;
31977             }
31978             description {
31979                state: "clicked" 0.0;
31980                inherit: "default" 0.0;
31981                visible: 1;
31982                color: 255 255 255 255;
31983             }
31984          }
31985       }
31986       programs {
31987          program {
31988             name: "button_click";
31989             signal: "mouse,down,1";
31990             source: "button_image";
31991             action: STATE_SET "clicked" 0.0;
31992             target: "button_image";
31993             target: "over3";
31994          }
31995          program {
31996             name: "button_unclick";
31997             signal: "mouse,up,1";
31998             source: "button_image";
31999             action: STATE_SET "default" 0.0;
32000             target: "button_image";
32001             target: "over3";
32002          }
32003          program {
32004             name: "button_unclick2";
32005             signal: "mouse,clicked,1";
32006             source: "button_image";
32007             action: SIGNAL_EMIT "e,action,close" "";
32008          }
32009       }
32010    }
32011
32012
32013 /////////////////////////////////////////////////////////////////////////////
32014 /*** ICONS ***/
32015
32016    #define ICON(NAME, FILE, SIZE)                     \
32017    group {                                            \
32018       name: "e/icons/"NAME ;                          \
32019       max: SIZE SIZE;                                 \
32020       parts {                                         \
32021          part {                                       \
32022             name: "icon";                             \
32023             repeat_events: 1;                        \
32024             description {                             \
32025                state: "default" 0.0;                  \
32026                aspect: 1.0 1.0;                       \
32027                aspect_preference: BOTH;               \
32028                image.image: FILE COMP;                \
32029                image.normal: FILE ;                   \
32030             }                                         \
32031          }                                            \
32032       }                                               \
32033    }
32034
32035    #define ICONMIME(NAME, FILE, SIZE) ICON("mimetypes/"NAME, FILE, SIZE)
32036    /* FreeDesktop.Org Icons
32037     * http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
32038     *
32039     * In the comment you can find the old e icon name.
32040     *
32041     * Icons marked with *** are not mentioned in the spec, but we still try to
32042     * follow the naming convention.
32043     *
32044     * TO ADD A NEW ICON:
32045     * 1. Search for a name in the spec OR
32046     * 2. Search for a name in kde (oxygen) and gnome (tango - human) icon set OR
32047     * 3. Try to follow the naming convention
32048     */
32049    //Standard Action Icons
32050    ICON("help-about","logo_black_128.png",64)                      // "enlightenment/about"
32051    ICON("list-add","icon_add.png",64)                              // "widget/add"
32052    ICON("list-remove","icon_del.png",64)                           // "widget/del"
32053    ICON("go-up","icon_up_arrow.png",64)                            // "widget/up_arrow" "widget/up_dir"
32054    ICON("go-down","icon_down_arrow.png",64)                        // "widget/down_arrow"
32055    ICON("go-next","icon_right_arrow.png",64)                       // "widget/new_dialog"
32056    ICON("go-previous","icon_left_arrow.png",64)                    // none
32057    ICON("bookmark-new","icon_add_fav.png",64)                      // "widget/add_fav"
32058    ICON("edit-swap","icon_swap.png",64)                     // *** // "widget/swap"
32059    ICON("edit-copy","icon_efm_copy.png",16)                        // EFMBUTTON("copy"
32060    ICON("edit-cut","icon_efm_cut.png",16)                          // EFMBUTTON("cut"
32061    ICON("edit-paste","icon_efm_paste.png",16)                      // EFMBUTTON("paste"
32062    ICON("edit-delete","icon_efm_delete.png",16)                    // EFMBUTTON("delete"
32063    ICON("edit-rename","icon_efm_rename.png",16)                    // EFMBUTTON("rename"
32064    ICON("edit-select-all","icon_efm_select.png",16)                // EFMBUTTON("select"
32065    ICON("document-open","icon_efm_open.png",16)                    // "widget/open" EFMBUTTON("open") EFMBUTTON("new")
32066    ICON("document-new","icon_new.png",64)                          // "widget/new"
32067    ICON("document-properties","icon_efm_properties.png",16)        // EFMBUTTON("properties"
32068    ICON("folder-new","icon_efm_new_dir.png",16)                    // EFMBUTTON("new_dir"
32069    ICON("view-sort","icon_efm_sort.png",16)                 // *** // EFMBUTTON("sort",
32070    ICON("view-order","icon_efm_sort.png",16)                // *** // EFMBUTTON("ordering"
32071    ICON("view-hidden-files","icon_efm_view.png",16)         // *** // EFMBUTTON("hidden_files"
32072    ICON("configure","icon_config.png",64)                          // "widget/config"
32073    ICON("system-run","icon_run.png",64)                            // "enlightenment/run"
32074    ICON("system-shutdown","icon_halt.png",128)                     // "enlightenment/halt"
32075    ICON("system-restart","icon_reboot.png",128)                    // "enlightenment/reboot"
32076    ICON("system-suspend","icon_suspend.png",128)                   // "enlightenment/suspend"
32077    ICON("system-suspend-hibernate","icon_hibernate.png",128)       // "enlightenment/hibernate"
32078    ICON("system-log-out","icon_logout.png",128)                    // "enlightenment/logout"
32079    ICON("system-lock-screen","icon_desklock_menu.png",128)         // "enlightenment/desklock_menu"
32080    ICON("window-close","icon_close.png",64)                        // "widget/close"
32081    ICON("dialog-ok-apply","icon_check.png",64)                     // "enlightenment/check"
32082    ICON("transform-scale","icon_resize.png",64)                    // "widget/resize"
32083    ICON("transform-move","icon_autoscroll.png",64)                 // "enlightenment/autoscroll"
32084    ICON("view-refresh","icon_efm_refresh.png",16)                  // EFMBUTTON("refresh"
32085    ICON("view-inherit","icon_dummy.png",64)                 // *** // EFMBUTTON("inherit"
32086    ICON("screenshot","icon_screenshot.png",64)                     // dunno
32087    //Standard Status Icons
32088    ICON("dialog-warning","icon_warning.png",128)                   // "enlightenment/warning"
32089    ICON("dialog-error","icon_warning.png",128)                     // "enlightenment/error"
32090    ICON("dialog-ask","icon_dummy.png",64)                          // "enlightenment/unknown"
32091    ICON("unknown","icon_dummy.png",64)                      // *** // "enlightenment/unknown"
32092    //Standard Application Icons
32093    ICON("preferences-desktop","icon_desktops.png",64)                         // "enlightenment/desktops"
32094    ICON("preferences-desktop-theme","icon_theme.png",64)                      // "enlightenment/themes"
32095    ICON("preferences-desktop-wallpaper","icon_wallpaper.png",64)              // "enlightenment/background"
32096    ICON("preferences-desktop-color","icon_colors.png",64)                     // "enlightenment/colors"
32097    ICON("preferences-desktop-font","icon_fonts.png",64)                       // "enlightenment/fonts"
32098    ICON("preferences-desktop-screensaver","icon_screensaver.png",64)          // "enlightenment/screensaver"
32099    ICON("preferences-desktop-display","icon_screen_setup.png",64)             // "enlightenment/screen_setup"
32100    ICON("preferences-desktop-keyboard","icon_keys.png",64)                    // "enlightenment/keys"
32101    ICON("preferences-desktop-keyboard-shortcuts","icon_keys.png",64)           // "enlightenment/keys"
32102    ICON("preferences-desktop-pointer","icon_mouse.png",64)             // *** // "enlightenment/mouse"
32103    ICON("preferences-desktop-mouse","icon_mouse_clean.png",64)                // "enlightenment/mouse_clean"
32104    ICON("preferences-desktop-mouse-left","icon_mouse_left.png",64)     // *** // "enlightenment/mouse_left"
32105    ICON("preferences-desktop-mouse-right","icon_mouse_right.png",64)   // *** // "enlightenment/mouse_right"
32106    ICON("preferences-desktop-mouse-middle","icon_mouse_middle.png",64) // *** // "enlightenment/mouse_middle"
32107    ICON("preferences-desktop-mouse-wheel","icon_mouse_wheel.png",64)   // *** // "enlightenment/mouse_wheel"
32108    ICON("preferences-desktop-mouse-extra","icon_mouse_extra.png",64)   // *** // "enlightenment/mouse_extra"
32109    ICON("preferences-desktop-locale","icon_intl.png",64)                      // "enlightenment/intl"
32110    ICON("preferences-desktop-mixer","icon_mixer.png",64)                      // "enlightenment/mixer"
32111    ICON("preferences-desktop-shelf","icon_shelf.png",64)                        // *** // "enlightenment/shelf"
32112    ICON("preferences-desktop-shelf-bottom-desk","icon_shelf_bottom_desk.png",64)// *** // "enlightenment/shelf_bottom_desk"
32113    ICON("preferences-desktop-shelf-custom","icon_shelf_custom.png",64)          // *** // "enlightenment/shelf_custom"
32114    ICON("preferences-desktop-shelf-dock","icon_shelf_dock.png",64)              // *** // "enlightenment/shelf_dock"
32115    ICON("preferences-desktop-shelf-menu-bar","icon_shelf_menu_bar.png",64)      // *** // "enlightenment/shelf_menu_bar"
32116    ICON("preferences-desktop-shelf-panel","icon_shelf_panel.png",64)            // *** // "enlightenment/shelf_panel"
32117    ICON("preferences-desktop-shelf-top-desk","icon_shelf_top_desk.png",64)      // *** // "enlightenment/shelf_top_desk"
32118    ICON("preferences-desktop-window-remember","icon_window_remembers.png",64)   // *** // "enlightenment/window_remembers"
32119    ICON("preferences-position-bottom","icon_shelf_bottom.png",64)               // *** // "enlightenment/shelf_position_bottom"
32120    ICON("preferences-position-bottom-left","icon_shelf_bottom_left.png",64)     // *** // "enlightenment/shelf_position_bottom_left"
32121    ICON("preferences-position-bottom-right","icon_shelf_bottom_right.png",64)   // *** // "enlightenment/shelf_position_bottom_right"
32122    ICON("preferences-position-top","icon_shelf_top.png",64)                     // *** // "enlightenment/shelf_position_top"
32123    ICON("preferences-position-top-left","icon_shelf_top_left.png",64)           // *** // "enlightenment/shelf_position_top_left"
32124    ICON("preferences-position-top-right","icon_shelf_top_right.png",64)         // *** // "enlightenment/shelf_position_top_right"
32125    ICON("preferences-position-left","icon_shelf_left.png",64)                   // *** // "enlightenment/shelf_position_left"
32126    ICON("preferences-position-left-top","icon_shelf_left_top.png",64)           // *** // "enlightenment/shelf_position_left_top"
32127    ICON("preferences-position-left-bottom","icon_shelf_left_bottom.png",64)     // *** // "enlightenment/shelf_position_left_bottom"
32128    ICON("preferences-position-right","icon_shelf_right.png",64)                 // *** // "enlightenment/shelf_position_right"
32129    ICON("preferences-position-right-top","icon_shelf_right_top.png",64)         // *** // "enlightenment/shelf_position_right_top"
32130    ICON("preferences-position-right-bottom","icon_shelf_right_bottom.png",64)   // *** // "enlightenment/shelf_position_right_bottom"
32131    ICON("preferences-window-manipulation","icon_window_manipulation.png",64)    // *** // "enlightenment/window_manipulation"
32132    ICON("preferences-window-maximize","icon_window_manipulation.png",64)        // *** // "enlightenment/window_maximize"
32133    ICON("preferences-window-stacking","icon_winlist.png",64)                    // *** // "enlightenment/window_stacking"
32134    ICON("preferences-window-geometry","icon_window_geometry.png",64)            // *** // "enlightenment/window_geometry"
32135    ICON("preferences-windows-lost","icon_lost_windows.png",64)                  // *** // "enlightenment/lost_windows"
32136    ICON("preferences-gradient","icon_gradient.png",64)           // *** // "enlightenment/gradient"
32137    ICON("preferences-focus","icon_window_focus.png",64)          // *** // "enlightenment/focus"
32138    ICON("preferences-engine","icon_engine.png",64)               // *** // "enlightenment/engine"
32139    ICON("preferences-dialogs","icon_dummy.png",64)               // *** // "enlightenment/dialogs"
32140    ICON("preferences-interaction","icon_interaction.png",64)     // *** // "enlightenment/interaction"
32141    ICON("preferences-imc","icon_imc.png",64)                     // *** // "enlightenment/imc"
32142    ICON("preferences-system-lock-screen","icon_desklock.png",64) // *** // "enlightenment/desklock"
32143    ICON("preferences-icon-theme","icon_icon_theme.png",64)       // *** // "enlightenment/icon_theme"
32144    ICON("preferences-transitions","icon_transitions.png",64)     // *** // "enlightenment/transitions"
32145    ICON("preferences-toolbar","icon_toolbar.png",64)             // *** // "enlightenment/toolbar"
32146    ICON("preferences-profiles","icon_profiles.png",64)           // *** // "enlightenment/profiles"
32147    ICON("preferences-startup","icon_startup.png",64)             // *** // "enlightenment/startup"
32148    ICON("preferences-winlist","icon_winlist.png",64)             // *** // "enlightenment/winlist"
32149    ICON("preferences-menus","icon_menus.png",64)                 // *** // "enlightenment/menus"
32150    ICON("preferences-menu-settings","icon_menu_settings.png",64) // *** // "enlightenment/menu_settings"
32151    ICON("preferences-advanced","icon_advanced.png",64)           // *** // "enlightenment/advanced"
32152    ICON("preferences-behavior","icon_behavior.png",64)           // *** // "enlightenment/behavior"
32153    ICON("preferences-look","icon_look.png",64)                   // *** // "enlightenment/look"
32154    ICON("preferences-utils","icon_gadget.png",64)                // *** // "enlightenment/utils"
32155    ICON("preferences-extensions","icon_extensions.png",64)       // *** // "enlightenment/extensions"
32156    ICON("preferences-file-icons","icon_file_icons.png",64)       // *** // "enlightenment/file_icons"
32157    ICON("preferences-pager","icon_pager.png",64)                 // *** // "enlightenment/pager"
32158    ICON("preferences-scale","icon_scale.png",64)                 // *** // "enlightenment/scale"
32159    ICON("preferences-directories","icon_directories.png",64)     // *** // "enlightenment/directories"
32160    ICON("preferences-screen-normal","icon_screen_normal.png",64) // *** // "enlightenment/screen_normal"
32161    ICON("preferences-screen-around","icon_screen_around.png",64) // *** // "enlightenment/screen_around"
32162    ICON("preferences-screen-left","icon_screen_left.png",64)     // *** // "enlightenment/screen_left"
32163    ICON("preferences-screen-right","icon_screen_right.png",64)   // *** // "enlightenment/screen_right"
32164    ICON("preferences-screen-vflip","icon_screen_vflip.png",64)   // *** // "enlightenment/screen_vflip"
32165    ICON("preferences-screen-hflip","icon_screen_hflip.png",64)   // *** // "enlightenment/screen_hflip"
32166    ICON("preferences-applications","icon_applications.png",64)                 // *** // "enlightenment/applications"
32167    ICON("preferences-applications-add","icon_applications_new.png",64)         // *** // "enlightenment/add_application"
32168    ICON("preferences-applications-ibar","icon_applications_ibar.png",64)       // *** // "enlightenment/ibar_applications"
32169    ICON("preferences-applications-restart","icon_applications_restart.png",64) // *** // "enlightenment/restart_applications"
32170    ICON("preferences-applications-startup","icon_applications_startup.png",64) // *** // "enlightenment/startup_applications"
32171    ICON("preferences-desktop-default-applications","icon_advanced.png",64)
32172    ICON("preferences-preferences","icon_config.png",64)                             // "enlightenment/configuration" "enlightenment/settings"
32173    ICON("preferences-plugin","icon_modules.png",64)                                   // "enlightenment/modules"
32174    ICON("preferences-system","icon_configuration.png",64)                             // "enlightenment/configuration" "enlightenment/settings"
32175    ICON("preferences-system-windows","icon_windows.png",64)                           // "enlightenment/windows" "enlightenment/showhide"
32176    ICON("preferences-system-performance","icon_performance.png",64)                   // "enlightenment/performance"
32177    ICON("preferences-system-power-management","icon_power_management.png",64)         // "enlightenment/power_management"
32178    ICON("preferences-system-screen-resolution","icon_screen_resolution.png",64)// *** // "enlightenment/screen_resolution"
32179    ICON("preferences-illume","icon_illume.png",64)
32180    ICON("system-file-manager","icon_efm_folder.png",64)                               // "enlightenment/fileman"
32181    ICON("application-exit","icon_logout.png",64)                                      // "enlightenment/exit"
32182    ICON("enlightenment","logo_white_128.png",64)                               // *** // "enlightenment/e"
32183    //Standard Module Category Icons 
32184    ICON("modules-utils","icon_gadget.png",64)
32185    ICON("modules-system","icon_gadget.png",64)
32186    ICON("modules-look","icon_look.png",64)
32187    ICON("modules-files","icon_efm_folder.png",64)
32188    ICON("modules-launcher","icon_run.png",64)
32189    ICON("modules-core","logo_white_128.png",64)
32190    ICON("modules-mobile","icon_globe.png",64)
32191    ICON("modules-settings","icon_config.png",64)
32192    //Standard Emblem Icons
32193    ICON("emblem-symbolic-link","icon_dummy.png",64)                // EFMBUTTON("symlink")
32194    //Standard Place Icons
32195    ICON("start-here","logo_white_128.png",128)                     // "enlightenment/e"
32196    ICON("folder","icon_efm_folder.png",64)                         // "fileman/folder"
32197    ICON("user-home","icon_efm_home.png",64)                        // "fileman/home"
32198    ICON("user-temp","icon_efm_tmp.png",64)                  // *** // "fileman/tmp"
32199    ICON("user-desktop","icon_efm_desktop.png",64)                  // "fileman/desktop"
32200    ICON("user-bookmarks","icon_favorites.png",64)                  // "enlightenment/favorites"
32201    ICON("folder-image","icon_wallpaper.png",64)                    // "enlightenment/picture"
32202    ICON("network-website","icon_globe.png",64)                     // "enlightenment/website"
32203    ICON("system","icon_system.png",64)                      // *** // "enlightenment/system"
32204    //Standard Device Icons
32205    ICON("computer","icon_efm_root.png", 64)                        // "fileman/root"
32206    ICON("drive-harddisk","icon_efm_hdd.png", 128)                  // "fileman/hd" "fileman/hdd"
32207    ICON("drive-optical","icon_efm_cd.png", 128)                    // "fileman/??"
32208    ICON("media-flash","icon_efm_flash.png", 128)                   // "fileman/??"
32209    ICON("drive-removable-media","icon_efm_usbmedia.png", 128);
32210    ICON("media-eject","icon_efm_eject.png", 64)
32211    /* End of FreeDesktop.Org icons */
32212    //E Specific icons
32213    ICON("everything-launch","icon_advanced.png",64)
32214    ICON("everything-clipboard","icon_evry_clipboard.png", 256)
32215    //EFM Mime icons
32216    ICONMIME("inode/chardevice","icon_efm_file.png",128)
32217    ICONMIME("inode/blockdevice","icon_efm_file.png",128)
32218    ICONMIME("inode/directory-locked","icon_efm_file.png",128)
32219    ICONMIME("inode/directory","icon_efm_folder.png",128)
32220    ICONMIME("inode/fifo","icon_efm_file.png",128)
32221    ICONMIME("inode/socket","icon_efm_file.png",128)
32222
32223    // Window Border menu icons //
32224    #define BORDERICON(NAME, FILE)                     \
32225    group {                                            \
32226       name: "e/widgets/border/default/"NAME ;         \
32227       max: 64 64;                                     \
32228       parts {                                         \
32229          part {                                       \
32230             name: "icon";                             \
32231             mouse_events: 0;                         \
32232             description {                             \
32233                state: "default" 0.0;                  \
32234                aspect: 1.0 1.0;                       \
32235                aspect_preference: BOTH;               \
32236                image.image: FILE COMP;                \
32237                image.normal: FILE ;                   \
32238             }                                         \
32239          }                                            \
32240       }                                               \
32241    }
32242
32243    BORDERICON("basic","icon_border_more.png")
32244    BORDERICON("close","icon_border_close.png")
32245    BORDERICON("kill","icon_border_kill.png")
32246    BORDERICON("stacking","icon_border_stack_norm.png")
32247    BORDERICON("stack_on_top","icon_border_stack_top.png")
32248    BORDERICON("stack_normal","icon_border_stack_norm.png")
32249    BORDERICON("stack_below","icon_border_stack_bot.png")
32250    BORDERICON("move_icon", "icon_win_move.png")
32251    BORDERICON("resize_icon", "icon_win_resize.png");
32252    BORDERICON("maximize","icon_border_maximize.png")
32253    BORDERICON("fullscreen","icon_border_maximize.png")
32254    BORDERICON("minimize","icon_border_minimize.png")
32255    BORDERICON("stick","icon_border_pin.png")
32256    BORDERICON("sendto","icon_border_sendto.png")
32257    BORDERICON("skip","icon_border_skip.png")
32258    BORDERICON("skip_pager","icon_border_pager.png")
32259    BORDERICON("skip_taskbar","icon_border_skip.png")
32260    BORDERICON("skip_winlist","icon_border_skip.png")
32261    BORDERICON("borderless","icon_border_border.png")
32262    BORDERICON("remember","icon_border_remember.png")
32263    BORDERICON("shade","icon_border_shaded.png")
32264    BORDERICON("locks","icon_border_lock.png")
32265    BORDERICON("locks_user","icon_border_lock.png")
32266    BORDERICON("locks_application","icon_border_lock.png")
32267    BORDERICON("properties","icon_border_properties.png")
32268
32269    // EFM icons //
32270    /* #define EFMICON(NAME, FILE, SIZE)                    \
32271     * group { name: "e/icons/fileman/"NAME;                \
32272     *    max: SIZE SIZE;                                  \
32273     *    parts {                                           \
32274     *       part { name: "icon";                           \
32275     *     mouse_events: 0;                              \
32276     *     description { state: "default" 0.0;            \
32277     *        aspect: 1.0 1.0;                            \
32278     *        aspect_preference: BOTH;                    \
32279     *        image.image: FILE COMP;                     \
32280     *        image.normal: FILE ;                        \
32281     *     }                                              \
32282     *       }                                              \
32283     *    }                                                 \
32284     * } */
32285    //EFMICON("folder","icon_efm_folder.png", 128)
32286    //EFMICON("chrdev","icon_efm_file.png", 128)
32287    //EFMICON("blkdev","icon_efm_file.png", 128)
32288    //EFMICON("fifo","icon_efm_file.png", 128)
32289    //EFMICON("socket","icon_efm_file.png", 128)
32290    //EFMICON("executable","icon_efm_file.png", 128)
32291    //EFMICON("home","icon_efm_home.png", 128)
32292    //EFMICON("root","icon_efm_root.png", 128)
32293    //EFMICON("tmp","icon_efm_tmp.png", 128)
32294    //EFMICON("desktop","icon_efm_desktop.png", 128)
32295    //EFMICON("hdd","icon_efm_hdd.png", 128)
32296    //EFMICON("hd","icon_efm_hdd.png", 128)
32297    
32298    
32299    // EFM Mime type icons //
32300
32301    #define MIMEICON(NAME, FILE, SIZE)                 \
32302    group {                                            \
32303       name: "e/icons/fileman/mime/"NAME;              \
32304       max: SIZE SIZE;                                \
32305       parts {                                         \
32306          part {                                       \
32307             name: "icon";                             \
32308             mouse_events: 0;                         \
32309             description {                             \
32310                state: "default" 0.0;                  \
32311                aspect: 1.0 1.0;                       \
32312                aspect_preference: BOTH;               \
32313                image.image: FILE COMP;                \
32314                image.normal: FILE ;                   \
32315             }                                         \
32316          }                                            \
32317       }                                               \
32318    }
32319
32320    MIMEICON("application/pdf","icon_mime_pdf.png", 128);
32321    MIMEICON("application/x-deb","icon_mime_deb.png", 128);
32322    MIMEICON("application/x-bzip","icon_mime_package.png", 128);
32323    MIMEICON("application/zip","icon_mime_package.png", 128);
32324    MIMEICON("application/x-gzip","icon_mime_package.png", 128);
32325    MIMEICON("application/x-bzip-compressed-tar","icon_mime_package.png", 128);
32326    MIMEICON("application/x-bzip2-compressed-tar","icon_mime_package.png",128);
32327    MIMEICON("application/x-compressed-tar","icon_mime_package.png",128);
32328    MIMEICON("application/x-tar","icon_mime_package.png", 128);
32329    MIMEICON("application/x-rar","icon_mime_package.png", 128);
32330    MIMEICON("inode/chardevice","icon_efm_file.png", 128);
32331    MIMEICON("inode/blockdevice","icon_efm_file.png", 128);
32332    MIMEICON("inode/fifo","icon_efm_file.png", 128);
32333    MIMEICON("inode/socket","icon_efm_file.png", 128);
32334    MIMEICON("inode/directory","icon_efm_folder.png", 128);
32335    MIMEICON("inode/file","icon_efm_file.png", 128);
32336    MIMEICON("application/octet-stream","icon_efm_file.png", 128);
32337    MIMEICON("application/x-executable","icon_mime_executable_generic.png", 128);
32338    MIMEICON("application/x-ms-dos-executable","icon_mime_executable_generic.png", 128);
32339    MIMEICON("application/x-7z-compressed","icon_mime_package.png", 128);
32340    MIMEICON("application/vnd.ms-cab-compressed","icon_mime_package.png", 128);
32341    
32342    // Dynamic MIME Icons //
32343    #define MIMEBASE(MIME, FILE, NAME, SIZE)           \
32344    group {                                            \
32345       name: "e/icons/fileman/mime/"MIME;              \
32346       max: SIZE SIZE;                                \
32347       parts {                                         \
32348          part {                                       \
32349             name: "base";                             \
32350             mouse_events: 0;                          \
32351             description {                             \
32352                state: "default" 0.0;                  \
32353                aspect: 1.0 1.0;                       \
32354                aspect_preference: BOTH;               \
32355                image.image: FILE COMP;                \
32356                image.normal: FILE;                    \
32357             }                                         \
32358          }                                            \
32359          part {                                       \
32360             name: "name";                             \
32361             type: TEXT;                               \
32362             mouse_events: 0;                          \
32363             description {                             \
32364                state: "default" 0.0;                  \
32365                rel1.relative: 0.2444 0.6797;          \
32366                rel2.relative: 0.7478 0.8894;          \
32367                color: 245 245 245 255;                \
32368                text {                                 \
32369                   text: NAME;                       \
32370                   font: "Sans:style=Bold";          \
32371                   size: 4;                          \
32372                   fit: 1 1;                         \
32373                   min: 1 1;                         \
32374                   align: 0.5 0.0;                   \
32375                }                                      \
32376             }                                         \
32377          }                                            \
32378       }                                               \
32379    }
32380
32381    MIMEBASE("video/mpeg","icon_mime_video_generic.png", ".MPEG", 128);
32382    MIMEBASE("application/ogg","icon_mime_video_generic.png", ".OGG", 128);
32383    MIMEBASE("video/x-theora+ogg","icon_mime_video_generic.png", ".OGG", 128);
32384    MIMEBASE("video/x-msvideo","icon_mime_video_generic.png", ".AVI", 128);
32385    MIMEBASE("video/ogg","icon_mime_video_generic.png", ".OGG", 128);
32386    MIMEBASE("video/mp4","icon_mime_video_generic.png", ".MP4", 128);
32387    MIMEBASE("video/quicktime","icon_mime_video_generic.png", ".MOV", 128);
32388    MIMEBASE("video/x-matroska","icon_mime_video_generic.png", ".MKV", 128);
32389    MIMEBASE("video/x-flv","icon_mime_video_generic.png", ".FLV", 128);
32390    MIMEBASE("application/vnd.rn-realmedia","icon_mime_video_generic.png", ".REAL", 128);
32391    MIMEBASE("video/x-ms-wmv","icon_mime_video_generic.png", ".WMV", 128);
32392    MIMEBASE("image/png","icon_mime_image_generic.png", ".PNG", 128);
32393    MIMEBASE("image/jpeg","icon_mime_image_generic.png", ".JPEG", 128);
32394    MIMEBASE("image/gif","icon_mime_image_generic.png", ".GIF", 128);
32395    MIMEBASE("image/bmp","icon_mime_image_generic.png", ".BMP", 128);
32396    MIMEBASE("application/x-xcf","icon_mime_image_generic.png", ".XCF", 128);
32397    MIMEBASE("application/x-cbz","icon_mime_image_generic.png", ".CBZ", 128);
32398    MIMEBASE("application/x-cbr","icon_mime_image_generic.png", ".CBR", 128);
32399    MIMEBASE("audio/mpeg","icon_mime_audio_generic.png", ".MP3", 128);
32400    MIMEBASE("audio/x-wav","icon_mime_audio_generic.png", ".WAV", 128);
32401    MIMEBASE("audio/x-flac","icon_mime_audio_generic.png", ".FLAC", 128);
32402    MIMEBASE("audio/x-musepack","icon_mime_audio_generic.png", ".MPC", 128);
32403    MIMEBASE("audio/x-vorbis+ogg","icon_mime_audio_generic.png", ".OGG", 128);
32404    MIMEBASE("application/x-audacity-project","icon_mime_audio_generic.png", ".AUP", 128);
32405    MIMEBASE("audio/x-ms-wma","icon_mime_audio_generic.png", ".WMA", 128);
32406    MIMEBASE("text/css","icon_mime_text_generic.png", ".CSS", 128);
32407    MIMEBASE("text/html","icon_mime_text_generic.png", ".HTML", 128);
32408    MIMEBASE("text/x-csrc","icon_mime_text_generic.png", ".C", 128);
32409    MIMEBASE("text/x-chdr","icon_mime_text_generic.png", ".H", 128);
32410    MIMEBASE("text/x-c++src","icon_mime_text_generic.png", ".C++", 128);
32411    MIMEBASE("text/x-csharp","icon_mime_text_generic.png", ".C#", 128);
32412    MIMEBASE("text/x-patch","icon_mime_text_generic.png", ".PATCH", 128);
32413    MIMEBASE("text/plain","icon_mime_text_generic.png", ".TXT", 128);
32414    MIMEBASE("application/x-msword","icon_mime_text_generic.png", ".DOC", 128);
32415    MIMEBASE("application/vnd.ms-powerpoint","icon_mime_text_generic.png", ".PPT", 128);
32416    MIMEBASE("application/vnd.ms-excel","icon_mime_text_generic.png", ".XLS", 128);
32417    MIMEBASE("application/x-abiword","icon_mime_text_generic.png", ".ABW", 128);
32418    MIMEBASE("application/vnd.scribus","icon_mime_text_generic.png", ".SLA", 128);
32419    MIMEBASE("text/x-python","icon_mime_text_generic.png", ".PY", 128);
32420    MIMEBASE("application/x-awk","icon_mime_text_generic.png", ".AWK", 128);
32421    MIMEBASE("application/x-lyx","icon_mime_text_generic.png", ".LYX", 128);
32422    MIMEBASE("application/vnd.oasis.opendocument.spreadsheet","icon_mime_text_generic.png", ".ODS", 128);
32423    MIMEBASE("application/vnd.oasis.opendocument.text","icon_mime_text_generic.png", ".ODT", 128);
32424    MIMEBASE("application/vnd.oasis.opendocument.presentation","icon_mime_text_generic.png", ".ODP", 128);
32425    MIMEBASE("application/x-object","icon_efm_file.png", "", 128);
32426    MIMEBASE("application/x-shellscript","icon_applications.png", "", 128);
32427    MIMEBASE("application/x-font-ttf","icon_mime_font_generic.png", ".TTF", 128);
32428    MIMEBASE("application/x-font-pcf","icon_mime_font_generic.png", ".PCF", 128);
32429    MIMEBASE("application/x-font-bdf","icon_mime_font_generic.png", ".BDF", 128);
32430
32431    // Custom icons with actions or specific behaviours
32432    images {
32433       image: "icon_wallpaper_center_flat.png" COMP;
32434       image: "icon_wallpaper_center.png" COMP;
32435       image: "icon_wallpaper_screen.png" COMP;
32436       image: "icon_wallpaper_grad_screen.png" COMP;
32437    }
32438    group {
32439       name: "e/icons/enlightenment/wallpaper_stretch";
32440       max: 24 24;
32441       parts {
32442          part {
32443             name: "bg";
32444             mouse_events: 0;
32445             description {
32446                state: "default" 0.0;
32447                rel1.to: "screen";
32448                rel2.to: "screen";
32449                image {
32450                   normal: "icon_wallpaper_center_flat.png";
32451                   border: 5 5 5 5;
32452                }
32453             }
32454          }
32455          part {
32456             name: "screen";
32457             mouse_events: 0;
32458             description {
32459                state: "default" 0.0;
32460                aspect: 1.0 1.0;
32461                aspect_preference: BOTH;
32462                image {
32463                   normal: "icon_wallpaper_screen.png";
32464                   border: 2 2 2 2;
32465                }
32466             }
32467          }
32468       }
32469    }
32470    group {
32471       name: "e/icons/enlightenment/wallpaper_tile";
32472       max: 24 24;
32473       parts {
32474          part {
32475             name: "bg";
32476             mouse_events: 0;
32477             description {
32478                state: "default" 0.0;
32479                rel1.to: "screen";
32480                rel2.to: "screen";
32481                image {
32482                   normal: "icon_wallpaper_center_flat.png";
32483                   border: 5 5 5 5;
32484                }
32485                fill {
32486                   size {
32487                      relative: 0.33 0.33;
32488                   }
32489                }
32490             }
32491          }
32492          part {
32493             name: "screen";
32494             mouse_events: 0;
32495             description {
32496                state: "default" 0.0;
32497                aspect: 1.0 1.0;
32498                aspect_preference: BOTH;
32499                image {
32500                   normal: "icon_wallpaper_screen.png";
32501                   border: 2 2 2 2;
32502                }
32503             }
32504          }
32505       }
32506    }
32507    group {
32508       name: "e/icons/enlightenment/wallpaper_center";
32509       max: 24 24;
32510       parts {
32511          part {
32512             name: "bg";
32513             mouse_events: 0;
32514             description {
32515                state: "default" 0.0;
32516                rel1.to: "screen";
32517                rel2.to: "screen";
32518                rel1.relative: 0.125 0.125;
32519                rel2.relative: 0.875 0.875;
32520                image {
32521                   normal: "icon_wallpaper_center.png";
32522                   border: 5 5 5 5;
32523                }
32524             }
32525          }
32526          part {
32527             name: "screen";
32528             mouse_events: 0;
32529             description {
32530                state: "default" 0.0;
32531                aspect: 1.0 1.0;
32532                aspect_preference: BOTH;
32533                image {
32534                   normal: "icon_wallpaper_screen.png";
32535                   border: 2 2 2 2;
32536                }
32537             }
32538          }
32539       }
32540    }
32541    group {
32542       name: "e/icons/enlightenment/wallpaper_scale_aspect_in";
32543       max: 24 24;
32544       parts {
32545          part {
32546             name: "bg";
32547             mouse_events: 0;
32548             description {
32549                state: "default" 0.0;
32550                aspect: 1.5 1.5;
32551                aspect_preference: BOTH;
32552                rel1.to: "screen";
32553                rel2.to: "screen";
32554                image {
32555                   normal: "icon_wallpaper_center.png";
32556                   border: 5 5 5 5;
32557                }
32558             }
32559          }
32560          part {
32561             name: "screen";
32562             mouse_events: 0;
32563             description {
32564                state: "default" 0.0;
32565                aspect: 1.0 1.0;
32566                aspect_preference: BOTH;
32567                image {
32568                   normal: "icon_wallpaper_screen.png";
32569                   border: 2 2 2 2;
32570                }
32571             }
32572          }
32573       }
32574    }
32575    group {
32576       name: "e/icons/enlightenment/wallpaper_scale_aspect_out";
32577       max: 24 24;
32578       parts {
32579          part {
32580             name: "bg";
32581             mouse_events: 0;
32582             description {
32583                state: "default" 0.0;
32584                aspect: 1.5 1.5;
32585                aspect_preference: NONE;
32586                image {
32587                   normal: "icon_wallpaper_center.png";
32588                   border: 5 5 5 5;
32589                }
32590             }
32591          }
32592          part {
32593             name: "screen";
32594             mouse_events: 0;
32595             description {
32596                state: "default" 0.0;
32597                aspect: 1.0 1.0;
32598                aspect_preference: BOTH;
32599                image {
32600                   normal: "icon_wallpaper_screen.png";
32601                   border: 2 2 2 2;
32602                }
32603             }
32604          }
32605       }
32606    }
32607    group {
32608       name: "e/icons/enlightenment/gradient_h";
32609       max: 24 24;
32610       parts {
32611 #if 0
32612          part {
32613             name: "bg";
32614             type: GRADIENT;
32615             mouse_events: 0;
32616             description {
32617                state: "default" 0.0;
32618                rel1.to: "screen";
32619                rel2.to: "screen";
32620                gradient {
32621                   spectrum: "black_to_trans";
32622                   rel1.relative: 0 0.5;
32623                   rel1.offset: 0 0;
32624                   rel2.relative: 1 0.5;
32625                   rel2.offset: -1 0;
32626                }
32627             }
32628          }
32629 #endif
32630          part {
32631             name: "screen";
32632             mouse_events: 0;
32633             description {
32634                state: "default" 0.0;
32635                aspect: 1.0 1.0;
32636                aspect_preference: BOTH;
32637                image {
32638                   normal: "icon_wallpaper_grad_screen.png";
32639                   border: 2 2 2 2;
32640                }
32641             }
32642          }
32643       }
32644    }
32645    group {
32646       name: "e/icons/enlightenment/gradient_v";
32647       max: 24 24;
32648       parts {
32649 #if 0
32650          part {
32651             name: "bg";
32652             type: GRADIENT;
32653             mouse_events: 0;
32654             description {
32655                state: "default" 0.0;
32656                rel1.to: "screen";
32657                rel2.to: "screen";
32658                gradient.spectrum: "black_to_trans";
32659             }
32660          }
32661 #endif
32662          part {
32663             name: "screen";
32664             mouse_events: 0;
32665             description {
32666                state: "default" 0.0;
32667                aspect: 1.0 1.0;
32668                aspect_preference: BOTH;
32669                image {
32670                   normal: "icon_wallpaper_grad_screen.png";
32671                   border: 2 2 2 2;
32672                }
32673             }
32674          }
32675       }
32676    }
32677    group {
32678       name: "e/icons/enlightenment/gradient_du";
32679       max: 24 24;
32680       parts {
32681 #if 0
32682          part {
32683             name: "bg";
32684             type: GRADIENT;
32685             mouse_events: 0;
32686             description {
32687                state: "default" 0.0;
32688                rel1.to: "screen";
32689                rel2.to: "screen";
32690                gradient {
32691                   spectrum: "black_to_trans";
32692                   rel1.relative: 0 1;
32693                   rel1.offset: 0 -1;
32694                   rel2.relative: 1 0;
32695                   rel2.offset: -1 0;
32696                }
32697             }
32698          }
32699 #endif
32700          part {
32701             name: "screen";
32702             mouse_events: 0;
32703             description {
32704                state: "default" 0.0;
32705                aspect: 1.0 1.0;
32706                aspect_preference: BOTH;
32707                image {
32708                   normal: "icon_wallpaper_grad_screen.png";
32709                   border: 2 2 2 2;
32710                }
32711             }
32712          }
32713       }
32714    }
32715    group {
32716       name: "e/icons/enlightenment/gradient_dd";
32717       max: 24 24;
32718       parts {
32719 #if 0
32720          part {
32721             name: "bg";
32722             type: GRADIENT;
32723             mouse_events: 0;
32724             description {
32725                state: "default" 0.0;
32726                rel1.to: "screen";
32727                rel2.to: "screen";
32728                gradient {
32729                   spectrum: "black_to_trans";
32730                   rel1.relative: 0 0;
32731                   rel1.offset: 0 0;
32732                   rel2.relative: 1 1;
32733                   rel2.offset: -1 -1;
32734                }
32735             }
32736          }
32737 #endif
32738          part {
32739             name: "screen";
32740             mouse_events: 0;
32741             description {
32742                state: "default" 0.0;
32743                aspect: 1.0 1.0;
32744                aspect_preference: BOTH;
32745                image {
32746                   normal: "icon_wallpaper_grad_screen.png";
32747                   border: 2 2 2 2;
32748                }
32749             }
32750          }
32751       }
32752    }
32753    group {
32754       name: "e/icons/enlightenment/gradient_rad";
32755       max: 24 24;
32756       parts {
32757 #if 0
32758          part {
32759             name: "bg";
32760             type: GRADIENT;
32761             mouse_events: 0;
32762             description {
32763                state: "default" 0.0;
32764                rel1.to: "screen";
32765                rel2.to: "screen";
32766                gradient {
32767                   spectrum: "black_to_trans";
32768                   type: "radial";
32769                }
32770                fill {
32771                   origin.relative: 0.5 0.5;
32772                }
32773             }
32774          }
32775 #endif
32776          part {
32777             name: "screen";
32778             mouse_events: 0;
32779             description {
32780                state: "default" 0.0;
32781                aspect: 1.0 1.0;
32782                aspect_preference: BOTH;
32783                image {
32784                   normal: "icon_wallpaper_grad_screen.png";
32785                   border: 2 2 2 2;
32786                }
32787             }
32788          }
32789       }
32790    }
32791
32792
32793 /////////////////////////////////////////////////////////////////////////////
32794 /*** INIT SPLASH ***/
32795
32796    /* this first group is used for the primary screen (or only screen) so in
32797     * a multi-monitor setup whichever is first (screen 0) will get this
32798     * splash on it */
32799
32800    group {
32801       name: "e/init/splash";
32802       /* images used */
32803       images {
32804          image: "exq-bglight.png" COMP;
32805          image: "exq-logo.png" COMP;
32806          image: "exq-dot.png" COMP;
32807          image: "exq-dot-glow.png" COMP;
32808       }
32809       script {
32810          public is_ready;
32811          public do_end;
32812       }
32813       parts {
32814          part {
32815             name: "base";
32816             type: RECT;
32817             description {
32818                state: "default" 0.0;
32819                color: 0 0 0 255;
32820             }
32821          }
32822          part {
32823             name: "light";
32824             description {
32825                state: "default" 0.0;
32826                align: 0.5 0.222222222;
32827                rel1.relative: 0.104166667 0.515625;
32828                rel2.relative: 0.895833333 0.796875;
32829                aspect: 2.111111111 2.111111111;
32830                aspect_preference: HORIZONTAL;
32831                max: 380 180;
32832                image.normal: "exq-bglight.png";
32833                color: 255 255 255 0;
32834             }
32835             description {
32836                state: "visible" 0.0;
32837                inherit: "default" 0.0;
32838                color: 255 255 255 255;
32839             }
32840          }
32841          part {
32842             name: "logoclip";
32843             type: RECT;
32844             description {
32845                state: "default" 0.0;
32846                visible: 0;
32847                color: 255 255 255 0;
32848             }
32849             description {
32850                state: "visible" 0.0;
32851                inherit: "default" 0.0;
32852                visible: 1;
32853                color: 255 255 255 255;
32854             }
32855          }
32856          part {
32857             name: "logo";
32858             clip_to: "logoclip";
32859             description {
32860                state: "default" 0.0;
32861                align: 0.5 0.774193548;
32862                rel1.relative: 0.272916667 0.315625;
32863                rel2.relative: 0.727083333 0.6546875;
32864                aspect: 0.557603687 0.557603687;
32865                aspect_preference: BOTH;
32866                max: 121 217;
32867                image.normal: "exq-logo.png";
32868             }
32869          }
32870          part {
32871             name: "e.text.title";
32872             type: TEXT;
32873             scale: 1;
32874             description {
32875                state: "default" 0.0;
32876                rel1 {
32877                   to_y: "logo";
32878                   relative: 0.05 -0.4;
32879                }
32880                rel2 {
32881                   to_y: "logo";
32882                   relative: 0.95 -0.2;
32883                }
32884                color: 255 255 255 0;
32885                text {
32886                   font: "Sans:style=Bold";
32887                   size: 16;
32888                   // fit: 0 1;
32889                   text_class: "init_title";
32890                }
32891             }
32892             description {
32893                state: "visible" 0.0;
32894                inherit: "default" 0.0;
32895                color: 255 255 255 255;
32896             }
32897          }
32898          part {
32899             name: "e.text.status";
32900             type: TEXT;
32901             scale: 1;
32902             description {
32903                state: "default" 0.0;
32904                rel1 {
32905                   to: "e.text.title";
32906                   relative: 0.0 1.0;
32907                }
32908                rel2 {
32909                   to: "e.text.title";
32910                   relative: 1.0 1.5;
32911                }
32912                color: 255 255 255 0;
32913                text {
32914                   font: "Sans";
32915                   size: 10;
32916                   // fit: 0 1;
32917                   text_class: "init_text";
32918                }
32919             }
32920             description {
32921                state: "visible" 0.0;
32922                inherit: "default" 0.0;
32923                color: 255 255 255 128;
32924             }
32925          }
32926          part {
32927             name: "e.text.version";
32928             type: TEXT;
32929             effect: SOFT_SHADOW;
32930             description {
32931                state: "default" 0.0;
32932                align: 1.0 1.0;
32933                rel1 {
32934                   relative: 1.0 1.0;
32935                   offset: -2  -2;
32936                }
32937                rel2 {
32938                   relative: 1.0 1.0;
32939                   offset: -2  -2;
32940                }
32941                color: 255 255 255 64;
32942                color3: 0 0 0 32;
32943                text {
32944                   text: "0.17.0";
32945                   font: "Sans";
32946                   size: 8;
32947                   min: 1 1;
32948                   align: 0.0 0.0;
32949                   text_class: "init_version";
32950                }
32951             }
32952          }
32953          part {
32954             name: "p0-0";
32955             description {
32956                state: "default" 0.0;
32957                min: 22 22;
32958                max: 22 22;
32959                rel1 {
32960                   to: "logo";
32961                   relative: -0.5 0.9;
32962                }
32963                rel2 {
32964                   to: "logo";
32965                   relative: -0.5 0.9;
32966                }
32967                image.normal: "exq-dot.png";
32968                color: 255 255 255 0;
32969             }
32970             description {
32971                state: "visible" 0.0;
32972                inherit: "default" 0.0;
32973                color: 255 255 255 255;
32974             }
32975             description {
32976                state: "visible2" 0.0;
32977                inherit: "default" 0.0;
32978                color: 255 255 255 255;
32979                rel1.relative: -0.5 0.8;
32980                rel2.relative: -0.5 0.8;
32981             }
32982          }
32983          part {
32984             name: "p0-1";
32985             description {
32986                state: "default" 0.0;
32987                image.normal: "exq-dot-glow.png";
32988                color: 255 255 255 0;
32989                rel1.to: "p0-0";
32990                rel2.to: "p0-0";
32991             }
32992             description {
32993                state: "visible" 0.0;
32994                inherit: "default" 0.0;
32995                color: 255 255 255 255;
32996             }
32997             description {
32998                state: "visible2" 0.0;
32999                inherit: "default" 0.0;
33000                color: 255 255 255 255;
33001             }
33002          }
33003          part {
33004             name: "p0-0.1";
33005             description {
33006                state: "default" 0.0;
33007                image.normal: "exq-dot-glow.png";
33008                color: 255 255 255 0;
33009                min: 22 11;
33010                max: 22 11;
33011                rel1 {
33012                   to_x: "p0-0";
33013                   to_y: "logo";
33014                   relative: 0.0 1.0;
33015                }
33016                rel2 {
33017                   to_x: "p0-0";
33018                   to_y: "logo";
33019                   relative: 1.0 1.0;
33020                }
33021             }
33022             description {
33023                state: "visible" 0.0;
33024                inherit: "default" 0.0;
33025                color: 255 255 255 16;
33026             }
33027             description {
33028                state: "visible2" 0.0;
33029                inherit: "default" 0.0;
33030                color: 255 255 255 4;
33031             }
33032          }
33033          part {
33034             name: "p0-0.2";
33035             description {
33036                state: "default" 0.0;
33037                min: 22 22;
33038                max: 22 22;
33039                rel1 {
33040                   to_x: "p0-0";
33041                   to_y: "logo";
33042                   relative: 0.0 1.1;
33043                }
33044                rel2 {
33045                   to_x: "p0-0";
33046                   to_y: "logo";
33047                   relative: 1.0 1.1;
33048                }
33049                image.normal: "exq-dot.png";
33050                color: 255 255 255 0;
33051             }
33052             description {
33053                state: "visible" 0.0;
33054                inherit: "default" 0.0;
33055                color: 255 255 255 16;
33056             }
33057             description {
33058                state: "visible2" 0.0;
33059                inherit: "default" 0.0;
33060                color: 255 255 255 4;
33061                rel1.relative: 0.0 1.2;
33062                rel2.relative: 1.0 1.2;
33063             }
33064          }
33065          part {
33066             name: "p1-0";
33067             description {
33068                state: "default" 0.0;
33069                min: 22 22;
33070                max: 22 22;
33071                rel1 {
33072                   to: "logo";
33073                   relative: 0.0 0.9;
33074                }
33075                rel2 {
33076                   to: "logo";
33077                   relative: 0.0 0.9;
33078                }
33079                image.normal: "exq-dot.png";
33080                color: 255 255 255 0;
33081             }
33082             description {
33083                state: "visible" 0.0;
33084                inherit: "default" 0.0;
33085                color: 255 255 255 255;
33086             }
33087             description {
33088                state: "visible2" 0.0;
33089                inherit: "default" 0.0;
33090                color: 255 255 255 255;
33091                rel1.relative: 0.0 0.8;
33092                rel2.relative: 0.0 0.8;
33093             }
33094          }
33095          part {
33096             name: "p1-1";
33097             description {
33098                state: "default" 0.0;
33099                image.normal: "exq-dot-glow.png";
33100                color: 255 255 255 0;
33101                rel1.to: "p1-0";
33102                rel2.to: "p1-0";
33103             }
33104             description {
33105                state: "visible" 0.0;
33106                inherit: "default" 0.0;
33107                color: 255 255 255 255;
33108             }
33109             description {
33110                state: "visible2" 0.0;
33111                inherit: "default" 0.0;
33112                color: 255 255 255 255;
33113             }
33114          }
33115          part {
33116             name: "p1-0.1";
33117             description {
33118                state: "default" 0.0;
33119                image.normal: "exq-dot-glow.png";
33120                color: 255 255 255 0;
33121                min: 22 11;
33122                max: 22 11;
33123                rel1 {
33124                   to_x: "p1-0";
33125                   to_y: "logo";
33126                   relative: 0.0 1.0;
33127                }
33128                rel2 {
33129                   to_x: "p1-0";
33130                   to_y: "logo";
33131                   relative: 1.0 1.0;
33132                }
33133             }
33134             description {
33135                state: "visible" 0.0;
33136                inherit: "default" 0.0;
33137                color: 255 255 255 16;
33138             }
33139             description {
33140                state: "visible2" 0.0;
33141                inherit: "default" 0.0;
33142                color: 255 255 255 4;
33143             }
33144          }
33145          part {
33146             name: "p1-0.2";
33147             description {
33148                state: "default" 0.0;
33149                min: 22 22;
33150                max: 22 22;
33151                rel1 {
33152                   to_x: "p1-0";
33153                   to_y: "logo";
33154                   relative: 0.0 1.1;
33155                }
33156                rel2 {
33157                   to_x: "p1-0";
33158                   to_y: "logo";
33159                   relative: 1.0 1.1;
33160                }
33161                image.normal: "exq-dot.png";
33162                color: 255 255 255 0;
33163             }
33164             description {
33165                state: "visible" 0.0;
33166                inherit: "default" 0.0;
33167                color: 255 255 255 16;
33168             }
33169             description {
33170                state: "visible2" 0.0;
33171                inherit: "default" 0.0;
33172                color: 255 255 255 4;
33173                rel1.relative: 0.0 1.2;
33174                rel2.relative: 1.0 1.2;
33175             }
33176          }
33177          part {
33178             name: "p2-0";
33179             description {
33180                state: "default" 0.0;
33181                min: 22 22;
33182                max: 22 22;
33183                rel1 {
33184                   to: "logo";
33185                   relative: 0.5 0.9;
33186                }
33187                rel2 {
33188                   to: "logo";
33189                   relative: 0.5 0.9;
33190                }
33191                image.normal: "exq-dot.png";
33192                color: 255 255 255 0;
33193             }
33194             description {
33195                state: "visible" 0.0;
33196                inherit: "default" 0.0;
33197                color: 255 255 255 255;
33198             }
33199             description {
33200                state: "visible2" 0.0;
33201                inherit: "default" 0.0;
33202                color: 255 255 255 255;
33203                rel1.relative: 0.5 0.8;
33204                rel2.relative: 0.5 0.8;
33205             }
33206          }
33207          part {
33208             name: "p2-1";
33209             description {
33210                state: "default" 0.0;
33211                image.normal: "exq-dot-glow.png";
33212                color: 255 255 255 0;
33213                rel1.to: "p2-0";
33214                rel2.to: "p2-0";
33215             }
33216             description {
33217                state: "visible" 0.0;
33218                inherit: "default" 0.0;
33219                color: 255 255 255 255;
33220             }
33221             description {
33222                state: "visible2" 0.0;
33223                inherit: "default" 0.0;
33224                color: 255 255 255 255;
33225             }
33226          }
33227          part {
33228             name: "p2-0.1";
33229             description {
33230                state: "default" 0.0;
33231                image.normal: "exq-dot-glow.png";
33232                color: 255 255 255 0;
33233                min: 22 11;
33234                max: 22 11;
33235                rel1 {
33236                   to_x: "p2-0";
33237                   to_y: "logo";
33238                   relative: 0.0 1.0;
33239                }
33240                rel2 {
33241                   to_x: "p2-0";
33242                   to_y: "logo";
33243                   relative: 1.0 1.0;
33244                }
33245             }
33246             description {
33247                state: "visible" 0.0;
33248                inherit: "default" 0.0;
33249                color: 255 255 255 16;
33250             }
33251             description {
33252                state: "visible2" 0.0;
33253                inherit: "default" 0.0;
33254                color: 255 255 255 4;
33255             }
33256          }
33257          part {
33258             name: "p2-0.2";
33259             description {
33260                state: "default" 0.0;
33261                min: 22 22;
33262                max: 22 22;
33263                rel1 {
33264                   to_x: "p2-0";
33265                   to_y: "logo";
33266                   relative: 0.0 1.1;
33267                }
33268                rel2 {
33269                   to_x: "p2-0";
33270                   to_y: "logo";
33271                   relative: 1.0 1.1;
33272                }
33273                image.normal: "exq-dot.png";
33274                color: 255 255 255 0;
33275             }
33276             description {
33277                state: "visible" 0.0;
33278                inherit: "default" 0.0;
33279                color: 255 255 255 16;
33280             }
33281             description {
33282                state: "visible2" 0.0;
33283                inherit: "default" 0.0;
33284                color: 255 255 255 4;
33285                rel1.relative: 0.0 1.2;
33286                rel2.relative: 1.0 1.2;
33287             }
33288          }
33289          part {
33290             name: "p3-0";
33291             description {
33292                state: "default" 0.0;
33293                min: 22 22;
33294                max: 22 22;
33295                rel1 {
33296                   to: "logo";
33297                   relative: 1.0 0.9;
33298                }
33299                rel2 {
33300                   to: "logo";
33301                   relative: 1.0 0.9;
33302                }
33303                image.normal: "exq-dot.png";
33304                color: 255 255 255 0;
33305             }
33306             description {
33307                state: "visible" 0.0;
33308                inherit: "default" 0.0;
33309                color: 255 255 255 255;
33310             }
33311             description {
33312                state: "visible2" 0.0;
33313                inherit: "default" 0.0;
33314                color: 255 255 255 255;
33315                rel1.relative: 1.0 0.8;
33316                rel2.relative: 1.0 0.8;
33317             }
33318          }
33319          part {
33320             name: "p3-1";
33321             description {
33322                state: "default" 0.0;
33323                image.normal: "exq-dot-glow.png";
33324                color: 255 255 255 0;
33325                rel1.to: "p3-0";
33326                rel2.to: "p3-0";
33327             }
33328             description {
33329                state: "visible" 0.0;
33330                inherit: "default" 0.0;
33331                color: 255 255 255 255;
33332             }
33333             description {
33334                state: "visible2" 0.0;
33335                inherit: "default" 0.0;
33336                color: 255 255 255 255;
33337             }
33338          }
33339          part {
33340             name: "p3-0.1";
33341             description {
33342                state: "default" 0.0;
33343                image.normal: "exq-dot-glow.png";
33344                color: 255 255 255 0;
33345                min: 22 11;
33346                max: 22 11;
33347                rel1 {
33348                   to_x: "p3-0";
33349                   to_y: "logo";
33350                   relative: 0.0 1.0;
33351                }
33352                rel2 {
33353                   to_x: "p3-0";
33354                   to_y: "logo";
33355                   relative: 1.0 1.0;
33356                }
33357             }
33358             description {
33359                state: "visible" 0.0;
33360                inherit: "default" 0.0;
33361                color: 255 255 255 16;
33362             }
33363             description {
33364                state: "visible2" 0.0;
33365                inherit: "default" 0.0;
33366                color: 255 255 255 4;
33367             }
33368          }
33369          part {
33370             name: "p3-0.2";
33371             description {
33372                state: "default" 0.0;
33373                min: 22 22;
33374                max: 22 22;
33375                rel1 {
33376                   to_x: "p3-0";
33377                   to_y: "logo";
33378                   relative: 0.0 1.1;
33379                }
33380                rel2 {
33381                   to_x: "p3-0";
33382                   to_y: "logo";
33383                   relative: 1.0 1.1;
33384                }
33385                image.normal: "exq-dot.png";
33386                color: 255 255 255 0;
33387             }
33388             description {
33389                state: "visible" 0.0;
33390                inherit: "default" 0.0;
33391                color: 255 255 255 16;
33392             }
33393             description {
33394                state: "visible2" 0.0;
33395                inherit: "default" 0.0;
33396                color: 255 255 255 4;
33397                rel1.relative: 0.0 1.2;
33398                rel2.relative: 1.0 1.2;
33399             }
33400          }
33401          part {
33402             name: "p4-0";
33403             description {
33404                state: "default" 0.0;
33405                min: 22 22;
33406                max: 22 22;
33407                rel1 {
33408                   to: "logo";
33409                   relative: 1.5 0.9;
33410                }
33411                rel2 {
33412                   to: "logo";
33413                   relative: 1.5 0.9;
33414                }
33415                image.normal: "exq-dot.png";
33416                color: 255 255 255 0;
33417             }
33418             description {
33419                state: "visible" 0.0;
33420                inherit: "default" 0.0;
33421                color: 255 255 255 255;
33422             }
33423             description {
33424                state: "visible2" 0.0;
33425                inherit: "default" 0.0;
33426                color: 255 255 255 255;
33427                rel1.relative: 1.5 0.8;
33428                rel2.relative: 1.5 0.8;
33429             }
33430          }
33431          part {
33432             name: "p4-1";
33433             description {
33434                state: "default" 0.0;
33435                image.normal: "exq-dot-glow.png";
33436                color: 255 255 255 0;
33437                rel1.to: "p4-0";
33438                rel2.to: "p4-0";
33439             }
33440             description {
33441                state: "visible" 0.0;
33442                inherit: "default" 0.0;
33443                color: 255 255 255 255;
33444             }
33445             description {
33446                state: "visible2" 0.0;
33447                inherit: "default" 0.0;
33448                color: 255 255 255 255;
33449             }
33450          }
33451          part {
33452             name: "p4-0.1";
33453             description {
33454                state: "default" 0.0;
33455                image.normal: "exq-dot-glow.png";
33456                color: 255 255 255 0;
33457                min: 22 11;
33458                max: 22 11;
33459                rel1 {
33460                   to_x: "p4-0";
33461                   to_y: "logo";
33462                   relative: 0.0 1.0;
33463                }
33464                rel2 {
33465                   to_x: "p4-0";
33466                   to_y: "logo";
33467                   relative: 1.0 1.0;
33468                }
33469             }
33470             description {
33471                state: "visible" 0.0;
33472                inherit: "default" 0.0;
33473                color: 255 255 255 16;
33474             }
33475             description {
33476                state: "visible2" 0.0;
33477                inherit: "default" 0.0;
33478                color: 255 255 255 4;
33479             }
33480          }
33481          part {
33482             name: "p4-0.2";
33483             description {
33484                state: "default" 0.0;
33485                min: 22 22;
33486                max: 22 22;
33487                rel1 {
33488                   to_x: "p4-0";
33489                   to_y: "logo";
33490                   relative: 0.0 1.1;
33491                }
33492                rel2 {
33493                   to_x: "p4-0";
33494                   to_y: "logo";
33495                   relative: 1.0 1.1;
33496                }
33497                image.normal: "exq-dot.png";
33498                color: 255 255 255 0;
33499             }
33500             description {
33501                state: "visible" 0.0;
33502                inherit: "default" 0.0;
33503                color: 255 255 255 16;
33504             }
33505             description {
33506                state: "visible2" 0.0;
33507                inherit: "default" 0.0;
33508                color: 255 255 255 4;
33509                rel1.relative: 0.0 1.2;
33510                rel2.relative: 1.0 1.2;
33511             }
33512          }
33513       }
33514       programs {
33515          program {
33516             name: "init";
33517             signal: "load";
33518             source: "";
33519             script {
33520                set_int(is_ready, 0);
33521                set_int(do_end, 0);
33522             }
33523          }
33524          program {
33525             name: "show1";
33526             signal: "show";
33527             source: "";
33528             action: STATE_SET "visible" 0.0;
33529             transition: LINEAR 0.3;
33530             target: "light";
33531          }
33532          program {
33533             name: "show2";
33534             signal: "show";
33535             source: "";
33536             in: 0.1 0.0;
33537             action: STATE_SET "visible" 0.0;
33538             transition: LINEAR 0.4;
33539             target: "logoclip";
33540             target: "e.text.title";
33541          }
33542          program {
33543             name: "show3";
33544             signal: "show";
33545             source: "";
33546             action: STATE_SET "visible" 0.0;
33547             transition: LINEAR 0.2;
33548             target: "p0-0";
33549             target: "p0-0.1";
33550             target: "p0-0.2";
33551             target: "p1-0";
33552             target: "p1-0.1";
33553             target: "p1-0.2";
33554             target: "p2-0";
33555             target: "p2-0.1";
33556             target: "p2-0.2";
33557             target: "p3-0";
33558             target: "p3-0.1";
33559             target: "p3-0.2";
33560             target: "p4-0";
33561             target: "p4-0.1";
33562             target: "p4-0.2";
33563             target: "e.text.status";
33564             after: "pulsate1";
33565             after: "pulsate1.2";
33566             after: "pulsate2";
33567             after: "pulsate2.2";
33568             after: "pulsate3";
33569             after: "pulsate3.2";
33570             after: "pulsate4";
33571             after: "pulsate4.2";
33572             after: "pulsate5";
33573             after: "pulsate5.2";
33574             after: "ready";
33575          }
33576          program {
33577             name: "pulsate1";
33578             action: STATE_SET "visible" 0.0;
33579             transition: SINUSOIDAL 0.5;
33580             in: 0.2 0.2;
33581             after: "pulsate1.1";
33582             target: "p0-1";
33583          }
33584          program {
33585             name: "pulsate1.1";
33586             action: STATE_SET "default" 0.0;
33587             transition: SINUSOIDAL 0.5;
33588             after: "pulsate1";
33589             target: "p0-1";
33590          }
33591          program {
33592             name: "pulsate1.2";
33593             action: STATE_SET "visible2" 0.0;
33594             transition: SINUSOIDAL 0.6;
33595             in: 0.2 0.2;
33596             after: "pulsate1.2.1";
33597             target: "p0-0";
33598             target: "p0-0.1";
33599             target: "p0-0.2";
33600          }
33601          program {
33602             name: "pulsate1.2.1";
33603             action: STATE_SET "visible" 0.0;
33604             transition: SINUSOIDAL 0.7;
33605             after: "pulsate1.2";
33606             target: "p0-0";
33607             target: "p0-0.1";
33608             target: "p0-0.2";
33609          }
33610          program {
33611             name: "pulsate2";
33612             action: STATE_SET "visible" 0.0;
33613             transition: SINUSOIDAL 0.5;
33614             in: 0.2 0.2;
33615             after: "pulsate2.1";
33616             target: "p1-1";
33617          }
33618          program {
33619             name: "pulsate2.1";
33620             action: STATE_SET "default" 0.0;
33621             transition: SINUSOIDAL 0.5;
33622             after: "pulsate2";
33623             target: "p1-1";
33624          }
33625          program {
33626             name: "pulsate2.2";
33627             action: STATE_SET "visible2" 0.0;
33628             transition: SINUSOIDAL 0.6;
33629             in: 0.2 0.2;
33630             after: "pulsate2.2.1";
33631             target: "p1-0";
33632             target: "p1-0.1";
33633             target: "p1-0.2";
33634          }
33635          program {
33636             name: "pulsate2.2.1";
33637             action: STATE_SET "visible" 0.0;
33638             transition: SINUSOIDAL 0.7;
33639             after: "pulsate2.2";
33640             target: "p1-0";
33641             target: "p1-0.1";
33642             target: "p1-0.2";
33643          }
33644          program {
33645             name: "pulsate3";
33646             action: STATE_SET "visible" 0.0;
33647             transition: SINUSOIDAL 0.5;
33648             in: 0.2 0.2;
33649             after: "pulsate3.1";
33650             target: "p2-1";
33651          }
33652          program {
33653             name: "pulsate3.1";
33654             action: STATE_SET "default" 0.0;
33655             transition: SINUSOIDAL 0.5;
33656             after: "pulsate3";
33657             target: "p2-1";
33658          }
33659          program {
33660             name: "pulsate3.2";
33661             action: STATE_SET "visible2" 0.0;
33662             transition: SINUSOIDAL 0.6;
33663             in: 0.2 0.2;
33664             after: "pulsate3.2.1";
33665             target: "p2-0";
33666             target: "p2-0.1";
33667             target: "p2-0.2";
33668          }
33669          program {
33670             name: "pulsate3.2.1";
33671             action: STATE_SET "visible" 0.0;
33672             transition: SINUSOIDAL 0.7;
33673             after: "pulsate3.2";
33674             target: "p2-0";
33675             target: "p2-0.1";
33676             target: "p2-0.2";
33677          }
33678          program {
33679             name: "pulsate4";
33680             action: STATE_SET "visible" 0.0;
33681             transition: SINUSOIDAL 0.5;
33682             in: 0.2 0.2;
33683             after: "pulsate4.1";
33684             target: "p3-1";
33685          }
33686          program {
33687             name: "pulsate4.1";
33688             action: STATE_SET "default" 0.0;
33689             transition: SINUSOIDAL 0.5;
33690             after: "pulsate4";
33691             target: "p3-1";
33692          }
33693          program {
33694             name: "pulsate4.2";
33695             action: STATE_SET "visible2" 0.0;
33696             transition: SINUSOIDAL 0.6;
33697             in: 0.2 0.2;
33698             after: "pulsate4.2.1";
33699             target: "p3-0";
33700             target: "p3-0.1";
33701             target: "p3-0.2";
33702          }
33703          program {
33704             name: "pulsate4.2.1";
33705             action: STATE_SET "visible" 0.0;
33706             transition: SINUSOIDAL 0.7;
33707             after: "pulsate4.2";
33708             target: "p3-0";
33709             target: "p3-0.1";
33710             target: "p3-0.2";
33711          }
33712          program {
33713             name: "pulsate5";
33714             action: STATE_SET "visible" 0.0;
33715             transition: SINUSOIDAL 0.5;
33716             in: 0.2 0.2;
33717             after: "pulsate5.1";
33718             target: "p4-1";
33719          }
33720          program {
33721             name: "pulsate5.1";
33722             action: STATE_SET "default" 0.0;
33723             transition: SINUSOIDAL 0.5;
33724             after: "pulsate5";
33725             target: "p4-1";
33726          }
33727          program {
33728             name: "pulsate5.2";
33729             action: STATE_SET "visible2" 0.0;
33730             transition: SINUSOIDAL 0.6;
33731             in: 0.2 0.2;
33732             after: "pulsate5.2.1";
33733             target: "p4-0";
33734             target: "p4-0.1";
33735             target: "p4-0.2";
33736          }
33737          program {
33738             name: "pulsate5.2.1";
33739             action: STATE_SET "visible" 0.0;
33740             transition: SINUSOIDAL 0.7;
33741             after: "pulsate5.2";
33742             target: "p4-0";
33743             target: "p4-0.1";
33744             target: "p4-0.2";
33745          }
33746          program {
33747             name: "exit1";
33748             action: STATE_SET "default" 0.0;
33749             transition: ACCELERATE 2.0;
33750             target: "light";
33751             target: "logoclip";
33752             after: "exit4";
33753          }
33754          program {
33755             name: "exit4";
33756             action: SIGNAL_EMIT "e,state,done_ok" "e";
33757          }
33758          program {
33759             name: "ready";
33760             script {
33761                new val;
33762                val = get_int(do_end);
33763                if (val == 1)
33764                   run_program(PROGRAM:"exit1"); 
33765                else
33766                   set_int(is_ready, 1);
33767             }
33768          }
33769          program {
33770             name: "done1";
33771             /* when e tells the splash screen it is done
33772              * starting up, the init splash gets this signal */
33773             signal: "e,state,done";
33774             source: "e";
33775             script {
33776                new val;
33777                val = get_int(is_ready);
33778                if (val == 1)
33779                   run_program(PROGRAM:"exit1"); 
33780                else
33781                   set_int(do_end, 1);
33782             }
33783          }
33784       }
33785    }
33786    /* this group is used for other screens/xinerama zones etc. other than
33787     * the primary as only the primary shows the full splash - this just
33788     * shows the below image. it can animate etc. but not display status
33789     * etc. */
33790    group {
33791       name: "e/init/extra_screen";
33792       parts {
33793          part {
33794             name: "base";
33795             type: RECT;
33796             description {
33797                state: "default" 0.0;
33798                color: 0 0 0 255;
33799             }
33800          }
33801       }
33802    }
33803
33804
33805 /////////////////////////////////////////////////////////////////////////////
33806 /*** WALLPAPER MAIN DIALOG ***/
33807
33808    group {
33809       name: "e/conf/wallpaper/main/window";
33810       images {
33811          image: "dia_grad.png" COMP;
33812          image: "dia_topshad.png" COMP;
33813          image: "dia_botshad.png" COMP;
33814          image: "dia_botshad.png" COMP;
33815          image: "topsh.png" COMP;
33816          image: "wp-bot1.png" COMP;
33817          image: "wp-bot2.png" COMP;
33818          image: "wp-tb1.png" COMP;
33819          image: "wp-tb2.png" COMP;
33820          image: "wp-tb3.png" COMP;
33821          image: "wp-tbs.png" COMP;
33822          image: "big_arrow_up.png" COMP;
33823          image: "busy-1.png" COMP;
33824          image: "busy-2.png" COMP;
33825          image: "busy-3.png" COMP;
33826          image: "busy-4.png" COMP;
33827          image: "busy-5.png" COMP;
33828          image: "busy-6.png" COMP;
33829          image: "busy-7.png" COMP;
33830          image: "busy-8.png" COMP;
33831          image: "busy-9.png" COMP;
33832       }
33833       parts {
33834          part {
33835             name: "base";
33836             mouse_events: 0;
33837             description {
33838                state: "default" 0.0;
33839                color_class: "dialog_base";
33840                image.normal: "dia_grad.png";
33841                fill {
33842                   smooth: 0;
33843                   size {
33844                      relative: 0.0 1.0;
33845                      offset: 64 0;
33846                   }
33847                }
33848             }
33849          }
33850          part {
33851             name: "e.swallow.preview";
33852             type: SWALLOW;
33853             description {
33854                state: "default" 0.0;
33855             }
33856          }
33857          part {
33858             name: "events";
33859             type: RECT;
33860             description {
33861                state: "default" 0.0;
33862                color: 0 0 0 0;
33863             }
33864          }
33865          part {
33866             name: "e.swallow.list";
33867             type: SWALLOW;
33868             description {
33869                state: "default" 0.0;
33870                rel1 {
33871                   relative: 0.0 0.0;
33872                   offset: 2   2;
33873                }
33874                rel2 {
33875                   relative: 1.0 0.0;
33876                   offset: -3  6;
33877                   to_y: "bot1";
33878                }
33879             }
33880          }
33881          part {
33882             name: "bot1";
33883             mouse_events: 0;
33884             description {
33885                state: "default" 0.0;
33886                color_class: "dialog_base";
33887                rel1 {
33888                   to_y: "e.swallow.buttons";
33889                   relative: 0.0 0.0;
33890                   offset: 0 -15;
33891                }
33892                rel2 {
33893                   relative: 1.0 1.0;
33894                   offset: -1 -1;
33895                }
33896                image {
33897                   normal: "wp-bot1.png";
33898                   border: 0 0 21 0;
33899                }
33900                fill {
33901                   smooth: 0;
33902                   size {
33903                      relative: 0.0 1.0;
33904                      offset: 32 0;
33905                   }
33906                }
33907             }
33908          }
33909          part {
33910             name: "e.text.filename";
33911             type: TEXT;
33912             effect: SOFT_SHADOW;
33913             mouse_events: 0;
33914             scale: 1;
33915             description {
33916                state: "default" 0.0;
33917                align: 0.5 1.0;
33918                rel1 {
33919                   to: "bot2";
33920                   relative: 0.0 1.0;
33921                   offset: 2 -11;
33922                }
33923                rel2 {
33924                   to: "bot2";
33925                   relative: 1.0 1.0;
33926                   offset: -3 -11;
33927                }
33928                color: 255 255 255 255;
33929                color3: 0 0 0 32;
33930                text {
33931                   font: "Sans:style=Bold";
33932                   size: 10;
33933                   min: 1 1;
33934                   align: 0.5 1.0;
33935                }
33936             }
33937          }
33938          part {
33939             name: "e.swallow.buttons";
33940             type: SWALLOW;
33941             description {
33942                state: "default" 0.0;
33943                align: 1.0 1.0;
33944                fixed: 0 1;
33945                rel1 {
33946                   to_y: "bot2";
33947                   relative: 1.0 0.0;
33948                   offset: -5   1;
33949                }
33950                rel2 {
33951                   to_y: "bot2";
33952                   relative: 1.0 0.0;
33953                   offset: -5  1;
33954                }
33955             }
33956          }
33957          part {
33958             name: "tbs";
33959             mouse_events: 0;
33960             description {
33961                state: "default" 0.0;
33962                rel1 {
33963                   relative: 0.0 1.0;
33964                   offset: 0 -1;
33965                }
33966                rel2 {
33967                   relative: 0.0 1.0;
33968                   offset: 0 -1;
33969                }
33970                image.normal: "wp-tbs.png";
33971                fill.smooth: 0;
33972             }
33973             description {
33974                state: "out" 0.0;
33975                inherit: "default" 0.0;
33976                rel1 {
33977                   to_y: "tb1";
33978                   relative: 0.0 0.0;
33979                   offset: 0 -100;
33980                }
33981                rel2 {
33982                   to_x: "tb3";
33983                   relative: 1.0 1.0;
33984                   offset: 200 -1;
33985                }
33986             }
33987          }
33988          part {
33989             name: "cover";
33990             type: RECT;
33991             description {
33992                state: "default" 0.0;
33993                color: 0 0 0 0;
33994                visible: 0;
33995             }
33996             description {
33997                state: "out" 0.0;
33998                inherit: "default" 0.0;
33999                visible: 1;
34000             }
34001          }
34002          part {
34003             name: "tb1";
34004             description {
34005                state: "default" 0.0;
34006                color_class: "dialog_base";
34007                rel1 {
34008                   to_x: "tb2";
34009                   to_y: "aup";
34010                   relative: 0.0 0.0;
34011                   offset: 0 -6;
34012                }
34013                rel2 {
34014                   to_x: "aup";
34015                   to_y: "tb2";
34016                   relative: 1.0 0.0;
34017                   offset: 15 -1;
34018                }
34019                image {
34020                   normal: "wp-tb1.png";
34021                   border: 2 11 3 0;
34022                }
34023                fill.smooth: 0;
34024             }
34025          }
34026          part {
34027             name: "tb2";
34028             description {
34029                state: "default" 0.0;
34030                color_class: "dialog_base";
34031                rel1 {
34032                   to_x: "e.swallow.extras";
34033                   to_y: "e.swallow.extras";
34034                   relative: 0.0 0.0;
34035                   offset: -4 -7;
34036                }
34037                rel2 {
34038                   to_x: "e.swallow.extras";
34039                   to_y: "e.swallow.extras";
34040                   relative: 1.0 1.0;
34041                   offset: -10 3;
34042                }
34043                image {
34044                   normal: "wp-tb2.png";
34045                   border: 2 2 4 0;
34046                }
34047                fill.smooth: 0;
34048             }
34049          }
34050          part {
34051             name: "tb3";
34052             description {
34053                state: "default" 0.0;
34054                color_class: "dialog_base";
34055                rel1 {
34056                   to_x: "tb2";
34057                   to_y: "tb2";
34058                   relative: 1.0 0.0;
34059                   offset: 0 0;
34060                }
34061                rel2 {
34062                   to_x: "e.swallow.extras";
34063                   to_y: "tb2";
34064                   relative: 1.0 1.0;
34065                   offset: 18 -1;
34066                }
34067                image {
34068                   normal: "wp-tb3.png";
34069                   border: 10 12 4 0;
34070                }
34071                fill.smooth: 0;
34072             }
34073          }
34074          part {
34075             name: "e.swallow.extras";
34076             type: SWALLOW;
34077             description {
34078                state: "default" 0.0;
34079                align: 0.0 0.0;
34080                fixed: 0 1;
34081                rel1 {
34082                   relative: 0.0 1.0;
34083                   offset: 4 0;
34084                }
34085                rel2 {
34086                   relative: 0.0 1.0;
34087                   offset: 4 0;
34088                }
34089             }
34090             description {
34091                state: "out" 0.0;
34092                inherit: "default" 0.0;
34093                align: 0.0 1.0;
34094                rel1 {
34095                   relative: 0.0 1.0;
34096                   offset: 4 -10;
34097                }
34098                rel2 {
34099                   relative: 0.0 1.0;
34100                   offset: 4 -10;
34101                }
34102             }
34103          }
34104          part {
34105             name: "aup";
34106             mouse_events: 0;
34107             description {
34108                state: "default" 0.0;
34109                align: 0.0 1.0;
34110                min: 22 22;
34111                max: 22 22;
34112                rel1 {
34113                   to_x: "tb2";
34114                   to_y: "tb2";
34115                   relative: 0.0 0.0;
34116                   offset: 5 -5;
34117                }
34118                rel2 {
34119                   to_x: "tb2";
34120                   to_y: "tb2";
34121                   relative: 0.0 0.0;
34122                   offset: 5 -3;
34123                }
34124                image.normal: "big_arrow_up.png";
34125             }
34126          }
34127          part {
34128             name: "ain";
34129             type: RECT;
34130             description {
34131                state: "default" 0.0;
34132                rel1.to: "aup";
34133                rel2.to: "aup";
34134                color: 0 0 0 0;
34135             }
34136          }
34137          part {
34138             name: "aout";
34139             type: RECT;
34140             description {
34141                state: "default" 0.0;
34142                rel1.to: "aup";
34143                rel2.to: "aup";
34144                color: 0 0 0 0;
34145             }
34146             description {
34147                state: "out" 0.0;
34148                inherit: "default" 0.0;
34149                visible: 0;
34150             }
34151          }
34152          part {
34153             name: "bot2";
34154             mouse_events: 0;
34155             description {
34156                state: "default" 0.0;
34157                color_class: "dialog_base";
34158                rel1 {
34159                   relative: 0.0 1.0;
34160                   offset: 0 -16;
34161                }
34162                rel2 {
34163                   relative: 1.0 1.0;
34164                   offset: -1 -1;
34165                }
34166                image {
34167                   normal: "wp-bot2.png";
34168                }
34169                fill {
34170                   smooth: 0;
34171                   size {
34172                      relative: 0.0 1.0;
34173                      offset: 32 0;
34174                   }
34175                }
34176             }
34177          }
34178          part {
34179             name: "shadow1";
34180             mouse_events: 0;
34181             scale: 1;
34182             description {
34183                state: "default" 0.0;
34184                image.normal: "topsh.png";
34185                align: 0.0 0.0;
34186                min: 1 16;
34187                max: 99999 16;
34188                fill.smooth: 0;
34189             }
34190          }
34191          part {
34192             name: "shadow2";
34193             mouse_events: 0;
34194             description {
34195                state: "default" 0.0;
34196                rel1.relative: 0.0 1.0;
34197                rel1.offset: 0 -4;
34198                image.normal: "dia_botshad.png";
34199                fill {
34200                   smooth: 0;
34201                   size {
34202                      relative: 0.0 1.0;
34203                      offset: 64 0;
34204                   }
34205                }
34206             }
34207          }
34208          part {
34209             name: "busy_clip";
34210             type: RECT;
34211             description {
34212                state: "default" 0.0;
34213                visible: 0;
34214                color: 255 255 255 0;
34215             }
34216             description {
34217                state: "visible" 0.0;
34218                visible: 1;
34219                color: 255 255 255 255;
34220             }
34221          }
34222          part {
34223             name: "e.text.busy_label";
34224             type: TEXT;
34225             effect: SOFT_SHADOW;
34226             clip_to: "busy_clip";
34227             mouse_events: 0;
34228             scale: 1;
34229             description {
34230                state: "default" 0.0;
34231                align: 0.5 0.0;
34232                rel1 {
34233                   to: "busy";
34234                   relative: 0.0 1.0;
34235                   offset: 0 4;
34236                }
34237                rel2 {
34238                   to: "busy";
34239                   relative: 1.0 1.0;
34240                   offset: -1 4;
34241                }
34242                color: 255 255 255 255;
34243                color3: 0 0 0 32;
34244                text {
34245                   font: "Sans:style=Bold";
34246                   size: 10;
34247                   min: 1 1;
34248                   align: 0.5 0.0;
34249                }
34250             }
34251          }
34252          part {
34253             name: "busy";
34254             mouse_events: 0;
34255             clip_to: "busy_clip";
34256             description {
34257                state: "default" 0.0;
34258                min: 32 32;
34259                max: 32 32;
34260                aspect: 1.0 1.0;
34261                aspect_preference: BOTH;
34262                rel1 {
34263                   relative: 0.5 0.5;
34264                   offset: 0 0;
34265                }
34266                rel2 {
34267                   relative: 0.5 0.5;
34268                   offset: -1 1;
34269                }
34270                image {
34271                   normal: "busy-9.png";
34272                   tween: "busy-1.png";
34273                   tween: "busy-2.png";
34274                   tween: "busy-3.png";
34275                   tween: "busy-4.png";
34276                   tween: "busy-5.png";
34277                   tween: "busy-6.png";
34278                   tween: "busy-7.png";
34279                   tween: "busy-8.png";
34280                }
34281             }
34282          }
34283       }
34284       programs {
34285          program {
34286             name: "send_click";
34287             signal: "mouse,up,1";
34288             source: "events";
34289             action: SIGNAL_EMIT "e,action,click" "e";
34290          }
34291          program {
34292             name: "outb";
34293             signal: "mouse,down,1";
34294             source: "aout";
34295             action: SIGNAL_EMIT "e,action,panel,show" "e";
34296          }
34297          program {
34298             name: "out";
34299             signal: "e,action,panel,show";
34300             source: "e";
34301             action: STATE_SET "out" 0.0;
34302             target: "aout";
34303             target: "cover";
34304             after: "out2";
34305          }
34306          program {
34307             name: "out2";
34308             action: STATE_SET "out" 0.0;
34309             target: "e.swallow.extras";
34310             target: "tbs";
34311             transition: DECELERATE 0.5;
34312          }
34313          program {
34314             name: "in0";
34315             signal: "mouse,down,1";
34316             source: "cover";
34317             action: STATE_SET "default" 0.0;
34318             target: "aout";
34319             target: "cover";
34320             after: "in2";
34321          }
34322          program {
34323             name: "inb";
34324             signal: "mouse,down,1";
34325             source: "ain";
34326             action: SIGNAL_EMIT "e,action,panel,hide" "e";
34327          }
34328          program {
34329             name: "in";
34330             signal: "e,action,panel,hide";
34331             source: "e";
34332             action: STATE_SET "default" 0.0;
34333             target: "aout";
34334             after: "in2";
34335          }
34336          program {
34337             name: "in2";
34338             action: STATE_SET "default" 0.0;
34339             target: "e.swallow.extras";
34340             target: "tbs";
34341             target: "cover";
34342             transition: DECELERATE 1.0;
34343          }
34344          program {
34345             name: "busy1";
34346             signal: "e,state,busy,on";
34347             source: "e";
34348             action: STATE_SET "visible" 0.0;
34349             transition: LINEAR 1.0;
34350             target: "busy_clip";
34351          }
34352          program {
34353             name: "busy_anim";
34354             signal: "e,state,busy,on";
34355             source: "e";
34356             action: STATE_SET "default" 0.0;
34357             transition: LINEAR 0.3333;
34358             target: "busy";
34359             after: "busy_anim";
34360          }
34361          program {
34362             name: "busy2";
34363             signal: "e,state,busy,off";
34364             source: "e";
34365             action: STATE_SET "default" 0.0;
34366             transition: LINEAR 1.0;
34367             target: "busy_clip";
34368             after: "busy3";
34369          }
34370          program {
34371             name: "busy3";
34372             action: ACTION_STOP;
34373             target: "busy_anim";
34374          }
34375       }
34376    }
34377    group {
34378       name: "e/conf/wallpaper/main/mini";
34379       images {
34380          image: "e17_mini_button_shadow2.png" COMP;
34381          image: "glow.png" COMP;
34382       }
34383       parts {
34384          part {
34385             name: "icon_box_shadow";
34386             mouse_events: 0;
34387             description {
34388                state: "default" 0.0;
34389                visible: 0;
34390                rel1 {
34391                   to: "base";
34392                   relative: 0.0 0.0;
34393                   offset: -3 -3;
34394                }
34395                rel2 {
34396                   to: "base";
34397                   relative: 1.0 1.0;
34398                   offset: 4 4;
34399                }
34400                fill {
34401                   smooth: 0;
34402                }
34403                image {
34404                   normal: "e17_mini_button_shadow2.png";
34405                   border: 6 6 6 6;
34406                }
34407             }
34408             description {
34409                state: "visible" 0.0;
34410                inherit: "default" 0.0;
34411                visible: 1;
34412             }
34413          }
34414          part {
34415             name: "glow";
34416             mouse_events: 0;
34417             description {
34418                state: "default" 0.0;
34419                visible: 0;
34420                rel1 {
34421                   to: "icon_box";
34422                   offset: -10 -10;
34423                }
34424                rel2 {
34425                   to: "icon_box";
34426                   offset: 9 9;
34427                }
34428                fill.smooth: 0;
34429                image {
34430                   normal: "glow.png";
34431                   border: 10 10 10 10;
34432                }
34433                color: 255 255 255 0;
34434             }
34435             description {
34436                state: "visible" 0.0;
34437                inherit: "default" 0.0;
34438                visible: 1;
34439                color: 255 255 255 255;
34440             }
34441          }
34442          part {
34443             name: "icon_box";
34444             type: RECT;
34445             mouse_events: 0;
34446             description {
34447                state: "default" 0.0;
34448                visible: 0;
34449                align: 0.5 0.5;
34450                rel1 {
34451                   to: "base";
34452                   relative: 0.0 0.0;
34453                   offset: -1 -1;
34454                }
34455                rel2 {
34456                   to: "base";
34457                   relative: 1.0 1.0;
34458                   offset: 0 0;
34459                }
34460                color: 0 0 0 64;
34461             }
34462             description {
34463                state: "visible" 0.0;
34464                inherit: "default" 0.0;
34465                visible: 1;
34466             }
34467          }
34468          part {
34469             name: "base";
34470             mouse_events: 0;
34471             type: RECT;
34472             description {
34473                state: "default" 0.0;
34474                visible: 0;
34475                rel1 {
34476                   to: "icon_zoom";
34477                   relative: 0.0 0.0;
34478                   offset: 4   4;
34479                }
34480                rel2 {
34481                   to: "icon_zoom";
34482                   relative: 1.0 1.0;
34483                   offset: -5  -5;
34484                }
34485                color: 255 255 255 255;
34486             }
34487             description {
34488                state: "visible" 0.0;
34489                inherit: "default" 0.0;
34490                visible: 1;
34491             }
34492          }
34493          part {
34494             name: "icon_zoom";
34495             type: RECT;
34496             mouse_events: 0;
34497             description {
34498                state: "default" 0.0;
34499                visible: 0;
34500                rel1.relative: 0.0 0.0;
34501                rel2.relative: 1.0 1.0;
34502             }
34503             description {
34504                state: "min" 0.0;
34505                inherit: "default" 0.0;
34506                rel1.relative: 0.5 0.5;
34507                rel2.relative: 0.5 0.5;
34508             }
34509             description {
34510                state: "max" 0.0;
34511                inherit: "default" 0.0;
34512                rel1.relative: -0.2 -0.2;
34513                rel2.relative: 1.2 1.2;
34514             }
34515             description {
34516                state: "max2" 0.0;
34517                inherit: "default" 0.0;
34518                rel1.relative: -0.05 -0.05;
34519                rel2.relative: 1.05 1.05;
34520             }
34521          }
34522          part {
34523             name: "e.swallow.content";
34524             type: SWALLOW;
34525             description {
34526                state: "default" 0.0;
34527                rel1 {
34528                   to: "base";
34529                   relative: 0.0 0.0;
34530                   offset: 2   2;
34531                }
34532                rel2 {
34533                   to: "base";
34534                   relative: 1.0 1.0;
34535                   offset: -3  -3;
34536                }
34537             }
34538          }
34539          part {
34540             name: "events";
34541             type: RECT;
34542             description {
34543                state: "default" 0.0;
34544                color: 0 0 0 0;
34545                visible: 0;
34546             }
34547             description {
34548                state: "visible" 0.0;
34549                inherit: "default" 0.0;
34550                visible: 1;
34551             }
34552          }
34553       }
34554       programs {
34555          program {
34556             name: "sel";
34557             signal: "e,state,selected";
34558             source: "e";
34559             action: STATE_SET "visible" 0.0;
34560             transition: DECELERATE 0.2;
34561             target: "glow";
34562          }
34563          program {
34564             name: "unsel";
34565             signal: "e,state,unselected";
34566             source: "e";
34567             action: STATE_SET "default" 0.0;
34568             transition: DECELERATE 1.0;
34569             target: "glow";
34570          }
34571          program {
34572             name: "thumb_gen";
34573             signal: "e,action,thumb,gen";
34574             source: "e";
34575             action: STATE_SET "visible" 0.0;
34576             target: "icon_box_shadow";
34577             target: "icon_box";
34578             target: "base";
34579             target: "icon_zoom";
34580             target: "e.swallow.content";
34581             target: "events";
34582             after: "thumb_gen2";
34583          }
34584          program {
34585             name: "thumb_gen2";
34586             action: STATE_SET "min" 0.0;
34587             target: "icon_zoom";
34588             after: "thumb_gen3";
34589          }
34590          program {
34591             name: "thumb_gen3";
34592             action: STATE_SET "max" 0.0;
34593             target: "icon_zoom";
34594             transition: DECELERATE 0.2;
34595             after: "thumb_gen4";
34596          }
34597          program {
34598             name: "thumb_gen4";
34599             action: STATE_SET "default" 0.0;
34600             target: "icon_zoom";
34601             transition: SINUSOIDAL 0.1;
34602             after: "thumb_gen5";
34603          }
34604          program {
34605             name: "thumb_gen5";
34606             action: STATE_SET "max2" 0.0;
34607             target: "icon_zoom";
34608             transition: SINUSOIDAL 0.2;
34609             after: "thumb_gen6";
34610          }
34611          program {
34612             name: "thumb_gen6";
34613             action: STATE_SET "default" 0.0;
34614             target: "icon_zoom";
34615             transition: SINUSOIDAL 0.3;
34616          }
34617          program {
34618             name: "thumb_ungen";
34619             signal: "e,action,thumb,ungen";
34620             source: "e";
34621             action: STATE_SET "default" 0.0;
34622             target: "icon_box_shadow";
34623             target: "icon_box";
34624             target: "base";
34625             target: "icon_zoom";
34626             target: "e.swallow.content";
34627             target: "events";
34628             target: "glow";
34629             after: "thumb_gen2";
34630          }
34631       }
34632    }
34633    group {
34634       name: "e/conf/wallpaper/main/mini-theme";
34635       images {
34636          image: "e17_mini_button_shadow2.png" COMP;
34637          image: "theme-label.png" COMP;
34638          image: "glow.png" COMP;
34639       }
34640       parts {
34641          part {
34642             name: "icon_box_shadow";
34643             mouse_events: 0;
34644             description {
34645                state: "default" 0.0;
34646                visible: 0;
34647                rel1 {
34648                   to: "base";
34649                   relative: 0.0 0.0;
34650                   offset: -3 -3;
34651                }
34652                rel2 {
34653                   to: "base";
34654                   relative: 1.0 1.0;
34655                   offset: 4 4;
34656                }
34657                fill {
34658                   smooth: 0;
34659                }
34660                image {
34661                   normal: "e17_mini_button_shadow2.png";
34662                   border: 6 6 6 6;
34663                }
34664             }
34665             description {
34666                state: "visible" 0.0;
34667                inherit: "default" 0.0;
34668                visible: 1;
34669             }
34670          }
34671          part {
34672             name: "glow";
34673             mouse_events: 0;
34674             description {
34675                state: "default" 0.0;
34676                visible: 0;
34677                rel1 {
34678                   to: "icon_box";
34679                   offset: -10 -10;
34680                }
34681                rel2 {
34682                   to: "icon_box";
34683                   offset: 9 9;
34684                }
34685                fill.smooth: 0;
34686                image {
34687                   normal: "glow.png";
34688                   border: 10 10 10 10;
34689                }
34690                color: 255 255 255 0;
34691             }
34692             description {
34693                state: "visible" 0.0;
34694                inherit: "default" 0.0;
34695                visible: 1;
34696                color: 255 255 255 255;
34697             }
34698          }
34699          part {
34700             name: "icon_box";
34701             type: RECT;
34702             mouse_events: 0;
34703             description {
34704                state: "default" 0.0;
34705                visible: 0;
34706                align: 0.5 0.5;
34707                rel1 {
34708                   to: "base";
34709                   relative: 0.0 0.0;
34710                   offset: -1 -1;
34711                }
34712                rel2 {
34713                   to: "base";
34714                   relative: 1.0 1.0;
34715                   offset: 0 0;
34716                }
34717                color: 0 0 0 64;
34718             }
34719             description {
34720                state: "visible" 0.0;
34721                inherit: "default" 0.0;
34722                visible: 1;
34723             }
34724          }
34725          part {
34726             name: "base";
34727             mouse_events: 0;
34728             type: RECT;
34729             description {
34730                state: "default" 0.0;
34731                visible: 0;
34732                rel1 {
34733                   to: "icon_zoom";
34734                   relative: 0.0 0.0;
34735                   offset: 4   4;
34736                }
34737                rel2 {
34738                   to: "icon_zoom";
34739                   relative: 1.0 1.0;
34740                   offset: -5  -5;
34741                }
34742             }
34743             description {
34744                state: "visible" 0.0;
34745                inherit: "default" 0.0;
34746                visible: 1;
34747             }
34748          }
34749          part {
34750             name: "icon_zoom";
34751             type: RECT;
34752             mouse_events: 0;
34753             description {
34754                state: "default" 0.0;
34755                visible: 0;
34756                rel1.relative: 0.0 0.0;
34757                rel2.relative: 1.0 1.0;
34758             }
34759             description {
34760                state: "min" 0.0;
34761                inherit: "default" 0.0;
34762                rel1.relative: 0.5 0.5;
34763                rel2.relative: 0.5 0.5;
34764             }
34765             description {
34766                state: "max" 0.0;
34767                inherit: "default" 0.0;
34768                rel1.relative: -0.2 -0.2;
34769                rel2.relative: 1.2 1.2;
34770             }
34771             description {
34772                state: "max2" 0.0;
34773                inherit: "default" 0.0;
34774                rel1.relative: -0.05 -0.05;
34775                rel2.relative: 1.05 1.05;
34776             }
34777          }
34778          part {
34779             name: "e.swallow.content";
34780             type: SWALLOW;
34781             description {
34782                state: "default" 0.0;
34783                rel1 {
34784                   to: "base";
34785                   relative: 0.0 0.0;
34786                   offset: 2   2;
34787                }
34788                rel2 {
34789                   to: "base";
34790                   relative: 1.0 1.0;
34791                   offset: -3  -3;
34792                }
34793             }
34794          }
34795          part {
34796             name: "theme";
34797             mouse_events: 0;
34798             description {
34799                state: "default" 0.0;
34800                visible: 0;
34801                aspect: 1.709677419 1.709677419;
34802                rel1 {
34803                   to: "e.swallow.content";
34804                   relative: 0.6 0.6;
34805                   offset: -1   -1;
34806                }
34807                rel2 {
34808                   to: "e.swallow.content";
34809                   relative: 1.0 1.0;
34810                   offset: -1  -1;
34811                }
34812                image.normal: "theme-label.png";
34813             }
34814             description {
34815                state: "visible" 0.0;
34816                inherit: "default" 0.0;
34817                visible: 1;
34818             }
34819          }
34820          part {
34821             name: "events";
34822             type: RECT;
34823             description {
34824                state: "default" 0.0;
34825                color: 0 0 0 0;
34826                visible: 0;
34827             }
34828             description {
34829                state: "visible" 0.0;
34830                inherit: "default" 0.0;
34831                visible: 1;
34832             }
34833          }
34834       }
34835       programs {
34836          program {
34837             name: "sel";
34838             signal: "e,state,selected";
34839             source: "e";
34840             action: STATE_SET "visible" 0.0;
34841             transition: DECELERATE 0.2;
34842             target: "glow";
34843          }
34844          program {
34845             name: "unsel";
34846             signal: "e,state,unselected";
34847             source: "e";
34848             action: STATE_SET "default" 0.0;
34849             transition: DECELERATE 1.0;
34850             target: "glow";
34851          }
34852          program {
34853             name: "thumb_gen";
34854             signal: "e,action,thumb,gen";
34855             source: "e";
34856             action: STATE_SET "visible" 0.0;
34857             target: "icon_box_shadow";
34858             target: "icon_box";
34859             target: "base";
34860             target: "icon_zoom";
34861             target: "e.swallow.content";
34862             target: "events";
34863             target: "theme";
34864             after: "thumb_gen2";
34865          }
34866          program {
34867             name: "thumb_gen2";
34868             action: STATE_SET "min" 0.0;
34869             target: "icon_zoom";
34870             after: "thumb_gen3";
34871          }
34872          program {
34873             name: "thumb_gen3";
34874             action: STATE_SET "max" 0.0;
34875             target: "icon_zoom";
34876             transition: DECELERATE 0.2;
34877             after: "thumb_gen4";
34878          }
34879          program {
34880             name: "thumb_gen4";
34881             action: STATE_SET "default" 0.0;
34882             target: "icon_zoom";
34883             transition: SINUSOIDAL 0.1;
34884             after: "thumb_gen5";
34885          }
34886          program {
34887             name: "thumb_gen5";
34888             action: STATE_SET "max2" 0.0;
34889             target: "icon_zoom";
34890             transition: SINUSOIDAL 0.2;
34891             after: "thumb_gen6";
34892          }
34893          program {
34894             name: "thumb_gen6";
34895             action: STATE_SET "default" 0.0;
34896             target: "icon_zoom";
34897             transition: SINUSOIDAL 0.3;
34898          }
34899          program {
34900             name: "thumb_ungen";
34901             signal: "e,action,thumb,ungen";
34902             source: "e";
34903             action: STATE_SET "default" 0.0;
34904             target: "icon_box_shadow";
34905             target: "icon_box";
34906             target: "base";
34907             target: "icon_zoom";
34908             target: "e.swallow.content";
34909             target: "events";
34910             target: "theme";
34911             target: "glow";
34912             after: "thumb_gen2";
34913          }
34914       }
34915    }
34916    group {
34917       name: "e/conf/wallpaper/main/mini-remote";
34918       images {
34919          image: "e17_mini_button_shadow2.png" COMP;
34920       }
34921       parts {
34922          part {
34923             name: "icon_box_shadow";
34924             mouse_events: 0;
34925             description {
34926                state: "default" 0.0;
34927                visible: 0;
34928                rel1 {
34929                   to: "base";
34930                   relative: 0.0 0.0;
34931                   offset: -3 -3;
34932                }
34933                rel2 {
34934                   to: "base";
34935                   relative: 1.0 1.0;
34936                   offset: 4 4;
34937                }
34938                fill {
34939                   smooth: 0;
34940                }
34941                image {
34942                   normal: "e17_mini_button_shadow2.png";
34943                   border: 6 6 6 6;
34944                }
34945             }
34946             description {
34947                state: "visible" 0.0;
34948                inherit: "default" 0.0;
34949                visible: 1;
34950             }
34951          }
34952          part {
34953             name: "icon_box";
34954             type: RECT;
34955             mouse_events: 0;
34956             description {
34957                state: "default" 0.0;
34958                visible: 0;
34959                align: 0.5 0.5;
34960                rel1 {
34961                   to: "base";
34962                   relative: 0.0 0.0;
34963                   offset: -1 -1;
34964                }
34965                rel2 {
34966                   to: "base";
34967                   relative: 1.0 1.0;
34968                   offset: 0 0;
34969                }
34970                color: 0 0 0 64;
34971             }
34972             description {
34973                state: "visible" 0.0;
34974                inherit: "default" 0.0;
34975                visible: 1;
34976             }
34977          }
34978          part {
34979             name: "base";
34980             mouse_events: 0;
34981             type: RECT;
34982             description {
34983                state: "default" 0.0;
34984                visible: 0;
34985                rel1 {
34986                   to: "icon_zoom";
34987                   relative: 0.0 0.0;
34988                   offset: 4   4;
34989                }
34990                rel2 {
34991                   to: "icon_zoom";
34992                   relative: 1.0 1.0;
34993                   offset: -5  -5;
34994                }
34995                color: 200 0 0 255;
34996             }
34997             description {
34998                state: "visible" 0.0;
34999                inherit: "default" 0.0;
35000                visible: 1;
35001             }
35002          }
35003          part {
35004             name: "icon_zoom";
35005             type: RECT;
35006             mouse_events: 0;
35007             description {
35008                state: "default" 0.0;
35009                visible: 0;
35010                rel1.relative: 0.0 0.0;
35011                rel2.relative: 1.0 1.0;
35012             }
35013             description {
35014                state: "min" 0.0;
35015                inherit: "default" 0.0;
35016                rel1.relative: 0.5 0.5;
35017                rel2.relative: 0.5 0.5;
35018             }
35019             description {
35020                state: "max" 0.0;
35021                inherit: "default" 0.0;
35022                rel1.relative: -0.2 -0.2;
35023                rel2.relative: 1.2 1.2;
35024             }
35025             description {
35026                state: "max2" 0.0;
35027                inherit: "default" 0.0;
35028                rel1.relative: -0.05 -0.05;
35029                rel2.relative: 1.05 1.05;
35030             }
35031          }
35032          part {
35033             name: "e.swallow.content";
35034             type: SWALLOW;
35035             description {
35036                state: "default" 0.0;
35037                rel1 {
35038                   to: "base";
35039                   relative: 0.0 0.0;
35040                   offset: 2   2;
35041                }
35042                rel2 {
35043                   to: "base";
35044                   relative: 1.0 1.0;
35045                   offset: -3  -3;
35046                }
35047             }
35048          }
35049          part {
35050             name: "events";
35051             type: RECT;
35052             description {
35053                state: "default" 0.0;
35054                color: 0 0 0 0;
35055                visible: 0;
35056             }
35057             description {
35058                state: "visible" 0.0;
35059                inherit: "default" 0.0;
35060                visible: 1;
35061             }
35062          }
35063       }
35064       programs {
35065          program {
35066             name: "thumb_gen";
35067             signal: "e,action,thumb,gen";
35068             source: "e";
35069             action: STATE_SET "visible" 0.0;
35070             target: "icon_box_shadow";
35071             target: "icon_box";
35072             target: "base";
35073             target: "icon_zoom";
35074             target: "e.swallow.content";
35075             target: "events";
35076             after: "thumb_gen2";
35077          }
35078          program {
35079             name: "thumb_gen2";
35080             action: STATE_SET "min" 0.0;
35081             target: "icon_zoom";
35082             after: "thumb_gen3";
35083          }
35084          program {
35085             name: "thumb_gen3";
35086             action: STATE_SET "max" 0.0;
35087             target: "icon_zoom";
35088             transition: DECELERATE 0.2;
35089             after: "thumb_gen4";
35090          }
35091          program {
35092             name: "thumb_gen4";
35093             action: STATE_SET "default" 0.0;
35094             target: "icon_zoom";
35095             transition: SINUSOIDAL 0.1;
35096             after: "thumb_gen5";
35097          }
35098          program {
35099             name: "thumb_gen5";
35100             action: STATE_SET "max2" 0.0;
35101             target: "icon_zoom";
35102             transition: SINUSOIDAL 0.2;
35103             after: "thumb_gen6";
35104          }
35105          program {
35106             name: "thumb_gen6";
35107             action: STATE_SET "default" 0.0;
35108             target: "icon_zoom";
35109             transition: SINUSOIDAL 0.3;
35110          }
35111          program {
35112             name: "thumb_ungen";
35113             signal: "e,action,thumb,ungen";
35114             source: "e";
35115             action: STATE_SET "default" 0.0;
35116             target: "icon_box_shadow";
35117             target: "icon_box";
35118             target: "base";
35119             target: "icon_zoom";
35120             target: "e.swallow.content";
35121             target: "events";
35122             after: "thumb_gen2";
35123          }
35124       }
35125    }
35126    group {
35127       name: "e/conf/wallpaper/main/scrollframe";
35128       images {
35129          image: "arrow_up.png" COMP;
35130          image: "arrow_down.png" COMP;
35131          image: "bt_sm_base1.png" COMP;
35132          image: "bt_sm_base2.png" COMP;
35133          image: "bt_sm_shine.png" COMP;
35134          image: "bt_sm_hilight.png" COMP;
35135          image: "sb_runnerv.png" COMP;
35136       }
35137       parts {
35138          //    part { name: "clipper";
35139          //       type: RECT;
35140          //       mouse_events: 0;
35141          //       description { state: "default" 0.0;
35142          //       }
35143          //    }
35144          part {
35145             name: "e.swallow.content";
35146             // clip_to: "clipper";
35147             type: SWALLOW;
35148             description {
35149                state: "default" 0.0;
35150                rel1.offset: 0 0;
35151                rel2 {
35152                   relative: 0.0  1.0;
35153                   offset: -1   -1;
35154                   to_x: "sb_vbar";
35155                }
35156             }
35157          }
35158          part {
35159             name: "sb_vbar";
35160             type: RECT;
35161             mouse_events: 0;
35162             scale: 1;
35163             description {
35164                state: "default" 0.0;
35165                min: 17 17;
35166                align: 1.0 0.0;
35167                rel1 {
35168                   relative: 1.0 0.0;
35169                   offset: -1 0;
35170                }
35171                rel2 {
35172                   relative: 1.0 1.0;
35173                   offset: -1 -1;
35174                }
35175             }
35176             description {
35177                state: "hidden" 0.0;
35178                visible: 0;
35179                max: 0 99999;
35180                rel1 {
35181                   relative: 1.0 0.0;
35182                   offset: -1 0;
35183                }
35184                rel2 {
35185                   relative: 1.0 1.0;
35186                   offset: -1 -1;
35187                }
35188             }
35189          }
35190          part {
35191             name: "sb_vbar_base";
35192             type: RECT;
35193             clip_to: "sb_vbar";
35194             mouse_events: 1;
35195             description {
35196                state: "default" 0.0;
35197                color: 0 0 0 0;
35198                rel1 {
35199                   relative: 0.0  1.0;
35200                   offset: 0    -1;
35201                   to: "sb_vbar_a1";
35202                }
35203                rel2 {
35204                   relative: 1.0  0.0;
35205                   offset: -1    0;
35206                   to: "sb_vbar_a2";
35207                }
35208             }
35209          }
35210          part {
35211             name: "sb_vbar_runner";
35212             clip_to: "sb_vbar";
35213             mouse_events: 0;
35214             description {
35215                state: "default" 0.0;
35216                max: 3 99999;
35217                rel1.to: "sb_vbar_base";
35218                rel1.offset: 1 0;
35219                rel2.to: "sb_vbar_base";
35220                image {
35221                   normal: "sb_runnerv.png";
35222                   border: 0 0 4 4;
35223                }
35224                fill.smooth: 0;
35225             }
35226          }
35227          part {
35228             name: "sb_vbar_p1";
35229             type: RECT;
35230             clip_to: "sb_vbar";
35231             mouse_events: 1;
35232             description {
35233                state: "default" 0.0;
35234                color: 0 0 0 0;
35235                rel1 {
35236                   relative: 0.0 1.0;
35237                   to: "sb_vbar_a1";
35238                }
35239                rel2 {
35240                   relative: 1.0 0.0;
35241                   to: "e.dragable.vbar";
35242                }
35243             }
35244          }
35245          part {
35246             name: "sb_vbar_p2";
35247             type: RECT;
35248             clip_to: "sb_vbar";
35249             mouse_events: 1;
35250             description {
35251                state: "default" 0.0;
35252                color: 0 0 0 0;
35253                rel1 {
35254                   relative: 0.0 1.0;
35255                   to: "e.dragable.vbar";
35256                }
35257                rel2 {
35258                   relative: 1.0 0.0;
35259                   to: "sb_vbar_a2";
35260                }
35261             }
35262          }
35263          part {
35264             name: "e.dragable.vbar";
35265             clip_to: "sb_vbar";
35266             mouse_events: 1;
35267             scale: 1;
35268             dragable {
35269                x: 0 0 0;
35270                y: 1 1 0;
35271                confine: "sb_vbar_base";
35272             }
35273             description {
35274                state: "default" 0.0;
35275                min: 17 17;
35276                rel1 {
35277                   relative: 0.5  0.5;
35278                   offset: 0    0;
35279                   to: "sb_vbar_base";
35280                }
35281                rel2 {
35282                   relative: 0.5  0.5;
35283                   offset: 0    0;
35284                   to: "sb_vbar_base";
35285                }
35286                image {
35287                   normal: "bt_sm_base2.png";
35288                   border: 6 6 6 6;
35289                }
35290             }
35291             description {
35292                state: "clicked" 0.0;
35293                inherit: "default" 0.0;
35294                image.normal: "bt_sm_base1.png";
35295             }
35296          }
35297          part {
35298             name: "sb_vbar_over1";
35299             clip_to: "sb_vbar";
35300             mouse_events: 0;
35301             description {
35302                state: "default" 0.0;
35303                rel1.to: "e.dragable.vbar";
35304                rel2.relative: 1.0 0.5;
35305                rel2.to: "e.dragable.vbar";
35306                image {
35307                   normal: "bt_sm_hilight.png";
35308                   border: 6 6 6 0;
35309                }
35310             }
35311          }
35312          part {
35313             name: "sb_vbar_over2";
35314             clip_to: "sb_vbar";
35315             mouse_events: 0;
35316             description {
35317                state: "default" 0.0;
35318                rel1.to: "e.dragable.vbar";
35319                rel2.to: "e.dragable.vbar";
35320                image {
35321                   normal: "bt_sm_shine.png";
35322                   border: 6 6 6 0;
35323                }
35324             }
35325          }
35326          part {
35327             name: "sb_vbar_a1";
35328             type: RECT;
35329             clip_to: "sb_vbar";
35330             mouse_events: 1;
35331             description {
35332                state: "default" 0.0;
35333                min: 17 17;
35334                align: 0.5 0.0;
35335                aspect: 1.0 1.0;
35336                aspect_preference: HORIZONTAL;
35337                color: 0 0 0 0;
35338                rel1 {
35339                   to: "sb_vbar";
35340                   relative: 0.0  0.0;
35341                   offset: 0    0;
35342                }
35343                rel2 {
35344                   to: "sb_vbar";
35345                   relative: 1.0  0.0;
35346                   offset: -1   0;
35347                }
35348             }
35349          }
35350          part {
35351             name: "sb_vbar_a1_arrow";
35352             mouse_events: 0;
35353             clip_to: "sb_vbar";
35354             description {
35355                state: "default" 0.0;
35356                max: 9 9;
35357                rel1.to: "sb_vbar_a1";
35358                rel2.to: "sb_vbar_a1";
35359                image.normal: "arrow_up.png";
35360             }
35361             description {
35362                state: "clicked" 0.0;
35363                inherit: "default" 0.0;
35364                rel1.offset: 0 -1;
35365                rel2.offset: -1 -2;
35366             }
35367          }
35368          part {
35369             name: "sb_vbar_a2";
35370             type: RECT;
35371             clip_to: "sb_vbar";
35372             mouse_events: 1;
35373             description {
35374                state: "default" 0.0;
35375                min: 17 17;
35376                align: 0.5 1.0;
35377                aspect: 1.0 1.0;
35378                aspect_preference: HORIZONTAL;
35379                color: 0 0 0 0;
35380                rel1 {
35381                   to: "sb_vbar";
35382                   relative: 0.0  1.0;
35383                   offset: 0    0;
35384                }
35385                rel2 {
35386                   to: "sb_vbar";
35387                   relative: 1.0  1.0;
35388                   offset: -1   0;
35389                }
35390             }
35391          }
35392          part {
35393             name: "sb_vbar_a2_arrow";
35394             type: IMAGE;
35395             mouse_events: 0;
35396             clip_to: "sb_vbar";
35397             description {
35398                state: "default" 0.0;
35399                max: 9 9;
35400                rel1.to: "sb_vbar_a2";
35401                rel2.to: "sb_vbar_a2";
35402                image.normal: "arrow_down.png";
35403             }
35404             description {
35405                state: "clicked" 0.0;
35406                inherit: "default" 0.0;
35407                rel1.offset: 0 1;
35408                rel2.offset: -1 0;
35409             }
35410          }
35411       }
35412       programs {
35413          program {
35414             name: "sb_vbar_show";
35415             signal: "e,action,show,vbar";
35416             source: "e";
35417             action: STATE_SET "default" 0.0;
35418             target: "sb_vbar";
35419          }
35420          program {
35421             name: "sb_vbar_hide";
35422             signal: "e,action,hide,vbar";
35423             source: "e";
35424             action: STATE_SET "hidden" 0.0;
35425             target: "sb_vbar";
35426          }
35427          program {
35428             name: "sb_vbar_a1_down";
35429             signal: "mouse,down,1";
35430             source: "sb_vbar_a1";
35431             action: STATE_SET "clicked" 0.0;
35432             target: "sb_vbar_a1_arrow";
35433          }
35434          program {
35435             name: "sb_vbar_a1_down2";
35436             signal: "mouse,down,1";
35437             source: "sb_vbar_a1";
35438             action: DRAG_VAL_STEP 0.0 -1.0;
35439             target: "e.dragable.vbar";
35440          }
35441          program {
35442             name: "sb_vbar_a1_up";
35443             signal: "mouse,up,1";
35444             source: "sb_vbar_a1";
35445             action: STATE_SET "default" 0.0;
35446             target: "sb_vbar_a1_arrow";
35447          }
35448          program {
35449             name: "sb_vbar_a2_down";
35450             signal: "mouse,down,1";
35451             source: "sb_vbar_a2";
35452             action: STATE_SET "clicked" 0.0;
35453             target: "sb_vbar_a2_arrow";
35454          }
35455          program {
35456             name: "sb_vbar_a2_down2";
35457             signal: "mouse,down,1";
35458             source: "sb_vbar_a2";
35459             action: DRAG_VAL_STEP 0.0 1.0;
35460             target: "e.dragable.vbar";
35461          }
35462          program {
35463             name: "sb_vbar_a2_up";
35464             signal: "mouse,up,1";
35465             source: "sb_vbar_a2";
35466             action: STATE_SET "default" 0.0;
35467             target: "sb_vbar_a2_arrow";
35468          }
35469          program {
35470             name: "sb_vbar_p1_down";
35471             signal: "mouse,down,1";
35472             source: "sb_vbar_p1";
35473             action: DRAG_VAL_PAGE 0.0 -1.0;
35474             target: "e.dragable.vbar";
35475          }
35476          program {
35477             name: "sb_vbar_p2_down";
35478             signal: "mouse,down,1";
35479             source: "sb_vbar_p2";
35480             action: DRAG_VAL_PAGE  0.0 1.0;
35481             target: "e.dragable.vbar";
35482          }
35483          program {
35484             name: "sb_vbar_down";
35485             signal: "mouse,down,1";
35486             source: "e.dragable.vbar";
35487             action: STATE_SET "clicked" 0.0;
35488             target: "e.dragable.vbar";
35489          }
35490          program {
35491             name: "sb_vbar_up";
35492             signal: "mouse,up,1";
35493             source: "e.dragable.vbar";
35494             action: STATE_SET "default" 0.0;
35495             target: "e.dragable.vbar";
35496          }
35497       }
35498    }
35499
35500
35501 /////////////////////////////////////////////////////////////////////////////
35502 /*** MOD: EVERYTHING ***/
35503 ///////////////////////////////////////////////////////////////////////////////
35504
35505    group {
35506       name: "e/modules/everything/list";
35507       parts {
35508          part {
35509             name: "list_frame";
35510             type: RECT;
35511             description {
35512                state: "default" 0.0;
35513                visible: 0;
35514             }
35515          }
35516          part {
35517             name: "base";
35518             type: RECT;
35519             description {
35520                state: "default" 0.0;
35521                rel1 {
35522                   relative: 0.0 1.0;
35523                   to_x: "list_frame";
35524                   to_y: "input_base";
35525                }
35526                rel2 {
35527                   to_x: "list_frame";
35528                   to_y: "input_base";
35529                }
35530             }
35531             description {
35532                state: "visible" 0.0;
35533                inherit: "default" 0.0;
35534                rel2 {
35535                   to: "list_frame";
35536                   offset: -1 -1;
35537                }
35538             }
35539          }
35540          part {
35541             name: "input_base";
35542             type: RECT;
35543             description {
35544                state: "default" 0.0;
35545               rel1 {
35546               to_x: "base";
35547               }
35548
35549               rel2 {
35550                   relative: 1.0 0.0;
35551                to_x: "base";
35552                offset: -1 1;
35553               }
35554             }
35555             description {
35556                state: "visible" 0.0;
35557                inherit: "default" 0.0;
35558                rel2.offset: -1 28;
35559             }
35560          }
35561          part {
35562             name: "list_win_bg";
35563             type: RECT;
35564             description {
35565                state: "default" 0.0;
35566                rel1.to_x: "base";
35567                rel1.to_y: "input_base";
35568
35569                rel2.to: "base";
35570                /* rel2.offset: -1 -3; */
35571                color: 245 245 245 255;
35572             }
35573          }
35574          part {
35575             name: "bar_base";
35576             type: RECT;
35577             mouse_events: 0;
35578             description {
35579                state: "default" 0.0;
35580                visible: 0;
35581                rel1 {
35582                   relative: 0.0 1.0;
35583                   to: "base";
35584                   offset: 0 -26;
35585                }
35586                rel2 {
35587                   relative: 1.0 1.0;
35588                   to: "base";
35589                   offset: -1 -1;
35590                }
35591             }
35592          }
35593          part {
35594             name: "bar_clip";
35595             type: RECT;
35596             mouse_events: 0;
35597             description {
35598                state: "default" 0.0;
35599                rel1 {
35600                   to: "bar_base";
35601                   offset: 2 2;
35602                }
35603                rel2 {
35604                   to: "bar_base";
35605                   offset: -2 -2;
35606                }
35607             }
35608             description {
35609                state: "faded" 0.0;
35610                inherit: "default" 0.0;
35611                color: 255 255 255 0;
35612             }
35613          }
35614          part {
35615             name: "bar_bg";
35616             clip_to: "base";
35617             mouse_events: 0;
35618             description {
35619                state: "default" 0.0;
35620                min: 32 25;
35621                max: 9999 25;
35622                fixed: 1 1;
35623                rel1 {
35624                   offset: -1 2;
35625                   to: "bar_base";
35626                }
35627                rel2 {
35628                   offset: -1 -3;
35629                   to: "bar_base";
35630                }
35631                image {
35632                   normal: "bt_dis_base.png";
35633                   border: 4 4 4 4;
35634                }
35635                color: 255 255 255 255;
35636             }
35637          }
35638          part {
35639             name: "e.swallow.bar";
35640             clip_to: "bar_clip";
35641             type: SWALLOW;
35642             description {
35643                state: "default" 0.0;
35644                rel1.to: "bar_clip";
35645                rel1.offset: -1 0;
35646                rel2.to: "bar_clip";
35647                rel2.offset: -1 -1;
35648             }
35649          }
35650          part {
35651             name: "bar_over2";
35652             clip_to: "base";
35653             mouse_events: 0;
35654             description {
35655                state: "default" 0.0;
35656                rel1.to: "bar_bg";
35657                rel1.offset: -1 -2;
35658                rel2.to: "bar_bg";
35659                rel2.offset: 1 1;
35660                image {
35661                   normal: "bt_dis_shine.png";
35662                   border: 4 4 4 4;
35663                }
35664                color: 255 255 255 235;
35665             }
35666          }
35667          part {
35668             name: "bar_over1";
35669             clip_to: "base";
35670             mouse_events: 0;
35671             description {
35672                state: "default" 0.0;
35673                rel1.to: "bar_bg";
35674                rel1.offset: 0 -2;
35675                rel2.to: "bar_bg";
35676                rel2.offset: 1 -1;
35677                rel2.relative: 1.0 0.5;
35678                image {
35679                   normal: "bt_dis_hilight.png";
35680                   border: 4 4 4 0;
35681                }
35682                color: 255 255 255 128;
35683             }
35684          }
35685          part {
35686             name: "input_bg";
35687             clip_to: "input_base";
35688             description {
35689                state: "default" 0.0;
35690                fixed: 1 1;
35691                min: 32 32;
35692                max: 9999 32;
35693                rel1 {
35694                   offset: -1 0;
35695                   to: "input_base";
35696                }
35697                rel2 {
35698                   /* offset: 1 0; */
35699                   to: "input_base";
35700                }
35701                image {
35702                   normal: "bt_dis_base.png";
35703                   border: 4 4 4 4;
35704                }
35705                color: 235 235 235 255;
35706             }
35707          }
35708          part {
35709             name: "e.text.label";
35710             type: TEXT;
35711             effect: SHADOW;
35712             scale: 1;
35713             clip_to: "input_base";
35714             description {
35715                state: "default" 0.0;
35716                fixed: 0 1;
35717                align: 0.0 0.5;
35718                rel1 {
35719                   offset: 10  8;
35720                   to: "input_bg";
35721                }
35722                rel2 {
35723                   to: "input_bg";
35724                   relative: 0.0 1.0;
35725                   offset: 10  -4;
35726
35727                }
35728                color: 60 60 60 255;
35729                color3: 255 255 255 68;
35730                text {
35731                   font: "Sans:style=Bold";
35732                   size: 11;
35733                   align: 0.0 0.5;
35734                   min: 1 1;
35735                   text_class: "fileman_typebuf";
35736                }
35737             }
35738          }
35739          part {
35740             name: "cursor";
35741             /* type: RECT; */
35742             mouse_events: 0;
35743             description {
35744                state: "default" 0.0;
35745                min: 10 10;
35746                max: 10 10;
35747                align: 0.0 0.5;
35748                fixed: 1 1;
35749                rel1 {
35750                   relative: 1.0  0.0;
35751                   offset: -2    -2;
35752                   to: "e.text.label";
35753                }
35754                rel2 {
35755                   relative: 1.0  1.0;
35756                   offset: -2    -1;
35757                   to: "e.text.label";
35758                }
35759                image {
35760                normal: "icon_right_arrow.png";
35761                }
35762
35763                color: 20 20 20 250;
35764             }
35765             description {
35766                state: "faded" 0.0;
35767                inherit: "default" 0.0;
35768                color: 20 20 20 100;
35769             }
35770          }
35771          part {
35772             name: "list_clip";
35773             type: RECT;
35774             clip_to: "base";
35775             description {
35776                state: "default" 0.0;
35777                color: 255 255 255 255;
35778                fixed: 1 1;
35779                rel1 {
35780                   relative: 0.0 0.0;
35781                   offset: 2 0;
35782                   to: "base";
35783                }
35784                rel2 {
35785                   relative: 1.0 0.0;
35786                   offset: -3  0;
35787                   to_y: "bar_base";
35788                   to_x: "base";
35789                }
35790             }
35791          }
35792          part {
35793             name: "list_bg";
35794             clip_to: "base";
35795             description {
35796                state: "default" 0.0;
35797                image.normal: "vgrad_light.png";
35798                rel1 {
35799                   to: "list_clip";
35800                   offset: 0 0;
35801                }
35802                rel2 {
35803                   to: "list_clip";
35804                   offset: 0  0;
35805                }
35806                fill.smooth: 0;
35807                color: 240 240 240 255;
35808             }
35809          }
35810          part {
35811             name: "e.swallow.list";
35812             type: SWALLOW;
35813             clip_to: "list_clip";
35814             mouse_events: 1;
35815             description {
35816                state: "default" 0.0;
35817                min: 32 170;
35818                fixed: 1 1;
35819                rel1 {
35820                   relative: 0.0 0.0;
35821                   offset: 0 3;
35822                   to: "list_clip";
35823                }
35824                rel2 {
35825                   relative: 1.0 1.0;
35826                   offset: -1  -1;
35827                   to: "list_clip";
35828                }
35829             }
35830             description {
35831                state: "default" 1.0;
35832                inherit: "default" 0.0;
35833                rel1 {
35834                   relative: -1.0 0.0;
35835                }
35836                rel2 {
35837                   relative: 0.0 1.0;
35838                }
35839             }
35840          }
35841          part {
35842             name: "e.swallow.list2";
35843             type: SWALLOW;
35844             clip_to: "list_clip";
35845             mouse_events: 1;
35846             description {
35847                state: "default" 0.0;
35848                min: 32 170;
35849                fixed: 1 1;
35850                rel1 {
35851                   relative: 1.0 0.0;
35852                   offset: 0 3;
35853                   to: "list_clip";
35854                }
35855                rel2 {
35856                   relative: 2.0 1.0;
35857                   offset: -1  -1;
35858                   to: "list_clip";
35859                }
35860             }
35861             description {
35862                state: "default" 1.0;
35863                inherit: "default" 0.0;
35864                rel1 {
35865                   relative: 0.0 0.0;
35866                }
35867                rel2 {
35868                   relative: 1.0 1.0;
35869                }
35870             }
35871          }
35872          part {
35873             name: "list_over";
35874             clip_to: "base";
35875             mouse_events: 0;
35876             description {
35877                state: "default" 0.0;
35878                rel1 {
35879                   offset: -1 -1;
35880                   to: "list_bg";
35881                }
35882                rel2 {
35883                   offset: -1 -1;
35884                   to: "list_bg";
35885                }
35886                image {
35887                   normal: "inset_sunk.png";
35888                   border: 7 7 7 7;
35889                   middle: 0;
35890                }
35891                fill.smooth : 0;
35892                /* color: 200 200 200 255; */
35893             }
35894          }
35895          part {
35896             name: "box";
35897             mouse_events: 0;
35898             description {
35899                state: "default" 0.0;
35900                rel1 {
35901                   to: "input_base";
35902                offset: 1 0;
35903                }
35904                rel2 {
35905                   to: "base";
35906                offset: -2 -1;
35907                }
35908                image {
35909                   normal: "everything_box.png";
35910                   border: 4 4 4 4;
35911                   middle: 0;
35912                }
35913                fill.smooth : 1;
35914             }
35915          }
35916       }
35917       programs {
35918          program {
35919             name: "blink_off";
35920             signal: "show";
35921             source: "";
35922             action: STATE_SET "faded" 0.0;
35923             transition: SINUSOIDAL 0.6;
35924             target: "cursor";
35925             after: "blink_on";
35926          }
35927          program {
35928             name: "blink_on";
35929             action: STATE_SET "default" 0.0;
35930             transition: SINUSOIDAL 0.35;
35931             target: "cursor";
35932             after: "blink_off";
35933          }
35934         program {
35935             name: "show_list";
35936             signal: "e,state,list_show";
35937             source: "e";
35938             action: STATE_SET "visible" 0.0;
35939             target: "base";
35940          }
35941          program {
35942             name: "hide_list";
35943             signal: "e,state,list_hide";
35944             source: "e";
35945             action: STATE_SET "default" 0.0;
35946             transition: ACCELERATE 0.08;
35947             target: "base";
35948          }
35949          program {
35950             name: "show_entry";
35951             signal: "e,state,entry_show";
35952             source: "e";
35953             action: STATE_SET "visible" 0.0;
35954             target: "input_base";
35955          }
35956          program {
35957             name: "hide_entry";
35958             signal: "e,state,entry_hide";
35959             source: "e";
35960             action: STATE_SET "default" 0.0;
35961             transition: SINUSOIDAL 0.08;
35962             target: "input_base";
35963          }
35964          program {
35965             name: "update_list";
35966             signal: "e,signal,update";
35967             source: "e";
35968             action: STATE_SET "faded" 0.0;
35969             /* transition: SINUSOIDAL 0.5; */
35970             target: "bar_clip";
35971             after: "update_list2";
35972          }
35973          program {
35974             name: "update_list2";
35975             action: STATE_SET "default" 0.0;
35976             /* transition: SINUSOIDAL 0.15; */
35977             target: "bar_clip";
35978          }
35979
35980          program {
35981             name: "slide_left";
35982             signal: "e,action,slide,left";
35983             source: "e";
35984             action: STATE_SET "default" 0.0;
35985             target: "e.swallow.list";
35986             target: "e.swallow.list2";
35987             after: "slide_left2";
35988          }
35989          program {
35990             name: "slide_left2";
35991             action: STATE_SET "default" 1.0;
35992             transition: ACCELERATE 0.15;
35993             target: "e.swallow.list";
35994             target: "e.swallow.list2";
35995             after: "left_end";
35996          }
35997          program { name: "left_end";
35998             action: SIGNAL_EMIT "e,action,slide,left,finished" "";
35999          }
36000          program {
36001             name: "slide_right";
36002             signal: "e,action,slide,right";
36003             source: "e";
36004             action: STATE_SET "default" 1.0;
36005             target: "e.swallow.list";
36006             target: "e.swallow.list2";
36007             after: "slide_right2";
36008          }
36009          program {
36010             name: "slide_right2";
36011             action: STATE_SET "default" 0.0;
36012             transition: ACCELERATE 0.15;
36013             target: "e.swallow.list";
36014             target: "e.swallow.list2";
36015             after: "right_end";
36016          }
36017          program { name: "right_end";
36018             action: SIGNAL_EMIT "e,action,slide,right,finished" "";
36019          }
36020          program {
36021             name: "slide_default";
36022             signal: "e,action,slide,default";
36023             source: "e";
36024             action: STATE_SET "default" 0.0;
36025             target: "e.swallow.list";
36026             target: "e.swallow.list2";
36027          }
36028       }
36029    }
36030    group {
36031       name: "e/modules/everything/main";
36032       images {
36033          image: "inset_sunk.png" COMP;
36034          image: "everything_box.png" COMP;
36035          image: "everything_item_bg.png" COMP;
36036          image: "vgrad_dark.png" COMP;
36037          image: "bt_dis_hilight.png" COMP;
36038          image: "bt_dis_shine.png" COMP;
36039          image: "bt_dis_base.png" COMP;
36040          image: "bt_base2.png" COMP;
36041          image: "outline.png" COMP;
36042          image: "icon_left_arrow.png" COMP;
36043          image: "icon_right_arrow.png" COMP;
36044          image: "toolbar_sel.png" COMP;
36045          image: "icon_right_arrow.png" COMP;
36046          image: "bt_sm_base1.png" COMP;
36047          image: "bt_sm_base2.png" COMP;
36048          image: "bt_sm_shine.png" COMP;
36049          image: "bt_sm_hilight.png" COMP;
36050          image: "sb_runnerv.png" COMP;
36051       }
36052       parts {
36053
36054          /*************** top ***************/
36055          part {
36056             name: "win";
36057             type: RECT;
36058             mouse_events: 0;
36059             description {
36060                state: "default" 0.0;
36061                visible: 0;
36062                min: 286 48;
36063                rel2.relative: 1.0 0.0;
36064                rel2.offset: -1 48;
36065             }
36066          }
36067          part {
36068             name: "list";
36069             source: "e/modules/everything/list";
36070             type: GROUP;
36071             description {
36072                state: "default" 0.0;
36073                visible: 1;
36074                min: 300 155;
36075                rel1 {
36076                   to_y: "frame";
36077                   offset: -1 -3;
36078                   relative: 0.0 1.0;
36079               }
36080               rel2 {
36081                  offset: 0 -1;
36082                }
36083             }
36084          }
36085          part {
36086             name: "bar_base";
36087             type: RECT;
36088             mouse_events: 0;
36089             description {
36090                state: "default" 0.0;
36091                rel1 {
36092                   to: "frame";
36093                }
36094                rel2 {
36095                   to: "frame";
36096                }
36097             }
36098          }
36099          part {
36100             name: "bar_bg";
36101             clip_to: "bar_base";
36102             mouse_events: 0;
36103             description {
36104                state: "default" 0.0;
36105                /* min: 32 50;
36106                 * max: 9999 50; */
36107                fixed: 1 1;
36108                rel1 {
36109                   offset: -2 -1;
36110                   to: "bar_base";
36111                }
36112                rel2 {
36113                   offset: 1 0;
36114                   to: "bar_base";
36115                }
36116                image {
36117                   normal: "bt_dis_base.png";
36118                   border: 4 4 4 4;
36119                }
36120             }
36121          }
36122          part {
36123             name: "frame";
36124             mouse_events: 0;;
36125             description {
36126                state: "default" 0.0;
36127                rel1.to: "win";
36128                rel2.to: "win";
36129                image {
36130                   normal: "everything_box.png";
36131                   border: 4 4 4 4;
36132                   middle: 0;
36133                }
36134                fill.smooth : 1;
36135               color: 215 215 215 255;
36136             }
36137          }
36138          part {
36139             name: "selector_frame";
36140             type: RECT;
36141             description {
36142                state: "default" 0.0;
36143                color: 255 255 255 255;
36144                rel1 {
36145                   to: "frame";
36146                }
36147                rel2 {
36148                   offset: -2 -1;
36149                   to: "frame";
36150                }
36151             }
36152          }
36153          part {
36154             name: "subject_selector";
36155             type: GROUP;
36156             source: "e/modules/everything/selector_item";
36157             clip_to: "selector_frame";
36158             description {
36159                state: "default" 0.0;
36160                /* visible: 0; */
36161                rel1 {
36162                   relative: 0.0 0.0;
36163                   offset: 0 2;
36164                   to: "selector_frame";
36165                }
36166                rel2 {
36167                   relative: 0.5 1.0;
36168                   offset: -1 -1;
36169                   to_y: "selector_frame";
36170                }
36171             }
36172             description {
36173                state: "wide" 0;
36174                inherit: "default" 0.0;
36175                visible: 0;
36176                rel1 {
36177                   relative: -0.5 0.0;
36178                   offset: 0 2;
36179                }
36180                rel2 {
36181                   relative: 0.0 1.0;
36182                   offset: 0 -1;
36183                }
36184             }
36185          }
36186          part {
36187             name: "action_selector";
36188             type: GROUP;
36189             source: "e/modules/everything/selector_item";
36190             clip_to: "selector_frame";
36191             description {
36192                state: "default" 0.0;
36193                /* visible: 0; */
36194                rel1 {
36195                   relative: 0.5 0.0;
36196                   offset: 0 2;
36197                   to: "selector_frame";
36198                }
36199                rel2 {
36200                   relative: 1.0 1.0;
36201                   offset: -1 -1;
36202                   to: "selector_frame";
36203                }
36204             }
36205             description {
36206                state: "wide" 0;
36207                inherit: "default" 0.0;
36208                rel1 {
36209                   relative: 0.0 0.0;
36210                   offset: 0 2;
36211                }
36212                rel2 {
36213                   relative: 0.5 1.0;
36214                   offset: -1 -1;
36215                }
36216             }
36217          }
36218          part {
36219             name: "object_selector";
36220             type: GROUP;
36221             source: "e/modules/everything/selector_item";
36222             clip_to: "selector_frame";
36223             description {
36224                state: "default" 0.0;
36225                visible: 0;
36226                rel1 {
36227                   relative: 1.0 0.0;
36228                   offset: 0 2;
36229                   to: "selector_frame";
36230                }
36231                rel2 {
36232                   relative: 1.5 1.0;
36233                   offset: -1 -1;
36234                   to: "selector_frame";
36235                }
36236             }
36237             description {
36238                state: "wide" 0;
36239                inherit: "default" 0.0;
36240                visible: 1;
36241                rel1 {
36242                   relative: 0.5 0.0;
36243                   offset: 0 2;
36244                }
36245                rel2 {
36246                   relative: 1.0 1.0;
36247                   offset: -1 -1;
36248                }
36249             }
36250          }
36251
36252          part {
36253             name: "bar_over2";
36254             clip_to: "bar_base";
36255             mouse_events: 0;
36256             description {
36257                state: "default" 0.0;
36258                rel1.to: "bar_bg";
36259                rel1.offset: -2 -2;
36260                rel2.to: "bar_bg";
36261                rel2.offset: 1 2;
36262                image {
36263                   normal: "bt_dis_shine.png";
36264                   border: 4 4 4 4;
36265                }
36266             }
36267          }
36268          part {
36269             name: "bar_over1";
36270             clip_to: "bar_base";
36271             mouse_events: 0;
36272             description {
36273                state: "default" 0.0;
36274                rel1.to: "bar_bg";
36275                rel1.offset: -2 -2;
36276                rel2.to: "bar_bg";
36277                rel2.offset: 1 2;
36278                rel2.relative: 1.0 0.45;
36279                image {
36280                   normal: "bt_dis_hilight.png";
36281                   border: 4 4 4 0;
36282                }
36283                color: 255 255 255 235;
36284             }
36285          }
36286       }
36287       programs {
36288          program {
36289             name: "object_selector_hide";
36290             signal: "e,state,object_selector_hide";
36291             source: "e";
36292             action: STATE_SET "default" 0.00;
36293             transition: SINUSOIDAL 0.15;
36294             target: "object_selector";
36295             target: "subject_selector";
36296             target: "action_selector";
36297          }
36298          program {
36299             name: "object_selector_show";
36300             signal: "e,state,object_selector_show";
36301             source: "e";
36302             action: STATE_SET "wide" 0.00;
36303             transition: SINUSOIDAL 0.2;
36304             target: "object_selector";
36305             target: "subject_selector";
36306             target: "action_selector";
36307          }
36308       }
36309    }
36310    group {
36311       name: "e/modules/everything/selector_item";
36312       parts {
36313          part {
36314             name: "clip";
36315             type: RECT;
36316             mouse_events: 0;
36317             description {
36318                state: "default" 0.0;
36319             }
36320          }
36321          part {
36322             name: "bg";
36323             mouse_events: 0;
36324             description {
36325                state: "default" 0.0;
36326                color: 200 200 200 20;
36327                image {
36328                   normal: "toolbar_sel.png";
36329                   border: 3 3 2 2;
36330                }
36331                fill.smooth: 1;
36332                rel1.offset: 0 -1;
36333                rel2.offset: 2 -1;
36334             }
36335             description {
36336                state: "selected" 0.0;
36337                inherit: "default" 0.0;
36338                color: 200 200 200 255;
36339             }
36340          }
36341          part {
36342             name: "inner_clip";
36343             type: RECT;
36344             clip_to: "clip";
36345             mouse_events: 0;
36346             description {
36347                state: "default" 0.0;
36348                rel1.offset: 6   2;
36349                rel2.offset: -5   -5;
36350             }
36351          }
36352          part {
36353             name: "icon_clip";
36354             type: RECT;
36355             clip_to: "inner_clip";
36356             mouse_events: 0;
36357             description {
36358                state: "default" 0.0;
36359                color: 255 255 255 255;
36360             }
36361             description {
36362                state: "faded" 0.0;
36363                color: 255 255 255 120;
36364             }
36365          }
36366          part {
36367             name: "e.swallow.icons";
36368             type: SWALLOW;
36369             clip_to: "icon_clip";
36370             mouse_events: 0;
36371             description {
36372                state: "default" 0.0;
36373                min: 50 44;
36374                max: 50 44;
36375                aspect: 1.0 1.0;
36376                align: 0.0 0.5;
36377                aspect_preference: VERTICAL;
36378                rel1 {
36379                   offset: 5   5;
36380                }
36381                rel2 {
36382                   offset: -1  -8;
36383                }
36384             }
36385          }
36386          part {
36387             name: "e.swallow.thumb";
36388             type: SWALLOW;
36389             clip_to: "icon_clip";
36390             mouse_events: 0;
36391             description {
36392                state: "default" 0.0;
36393                min: 50 44;
36394                max: 50 44;
36395                aspect: 1.0 1.0;
36396                align: 0.0 0.5;
36397                aspect_preference: VERTICAL;
36398                rel1 {
36399                   offset: 5   5;
36400                }
36401                rel2 {
36402                   offset: -1  -8;
36403                }
36404             }
36405          }
36406
36407          part {
36408             name: "e.text.label";
36409             type: TEXT;
36410             mouse_events: 0;
36411             clip_to: "clip";
36412             scale: 1;
36413             mouse_events: 0;
36414             description {
36415                state: "default" 0.0;
36416                align: 0.0 1.0;
36417                fixed: 0 1;
36418                rel1.to: "e.swallow.icons";
36419                rel1.relative: 1.0 0.0;
36420                rel2.to: "clip";
36421                rel1.offset: 2 3;
36422                rel2.offset: -6 -7;
36423                /* visible: 0; */
36424                color: 24 24 24 255;
36425                text {
36426                   font: "Sans:style=Bold";
36427                   size: 9;
36428                   min: 0 1;
36429                   align: 0.0 1.0;
36430                   text_class: "fileman_typebuf";
36431                }
36432             }
36433             description {
36434                state: "selected" 0.0;
36435                inherit: "default" 0.0;
36436                color: 244 244 244 255;
36437                /* visible: 1; */
36438             }
36439          }
36440          part {
36441             name: "e.text.plugin";
36442             type: TEXT;
36443             clip_to: "inner_clip";
36444             effect: SOFT_SHADOW;
36445             mouse_events: 0;
36446             scale: 1;
36447             description {
36448                state: "default" 0.0;
36449                align: 1.0 0.0;
36450                rel1 {
36451                   offset: 6 6;
36452                   /* to_x: "e.swallow.icons"; */
36453                }
36454                rel2.offset: -10 -1;
36455                color: 20 20 20 255;
36456                color3: 0 0 0 0;
36457                text {
36458                   font: "Sans";
36459                   size: 9;
36460                   min: 0 1;
36461                   align: 1.0 0.0;
36462                   text_class: "fileman_icon";
36463                }
36464             }
36465             description {
36466                state: "selected" 0.0;
36467                inherit: "default" 0.0;
36468
36469                color: 240 240 240 255;
36470             }
36471          }
36472          part {
36473             name: "event";
36474             type: RECT;
36475             description {
36476                state: "default" 0.0;
36477                color: 0 0 0 0;
36478             }
36479          }
36480       }
36481       programs {
36482          program {
36483             name: "sel";
36484             signal: "e,state,selected";
36485             source: "e";
36486             action: STATE_SET "selected" 0.0;
36487             transition: SINUSOIDAL 0.1;
36488             /* target: "border";
36489              * target: "border_bg"; */
36490             target: "bg";
36491             target: "e.text.label";
36492             target: "e.text.plugin";
36493          }
36494          program {
36495             name: "unsel";
36496             signal: "e,state,unselected";
36497             source: "e";
36498             action: STATE_SET "default" 0.0;
36499             transition: SINUSOIDAL 0.2;
36500             /* target: "border";
36501              * target: "border_bg"; */
36502             target: "bg";
36503             target: "e.text.label";
36504             target: "e.text.plugin";
36505          }
36506          program {
36507             name: "update";
36508             signal: "e,signal,update";
36509             source: "e";
36510             action: STATE_SET "faded" 0.0;
36511             transition: DECELERATE 0.1;
36512             target: "icon_clip";
36513             after: "show_icon";
36514          }
36515          program {
36516             name: "show_icon";
36517             action: STATE_SET "default" 0.0;
36518             transition: ACCELERATE 0.3;
36519             target: "icon_clip";
36520          }
36521          program {
36522             name: "thumb_show";
36523             signal: "e,action,thumb,show";
36524             source: "e";
36525             action: STATE_SET "faded" 0.0;
36526             /* transition: SINUSOIDAL 0.05; */
36527             target: "icon_clip";
36528             after: "thumb_show2";
36529          }
36530          program {
36531             name: "thumb_show2";
36532             action: STATE_SET "default" 0.0;
36533             transition: SINUSOIDAL 0.2;
36534             target: "icon_clip";
36535          }
36536       }
36537    }
36538
36539    group {
36540       name: "e/modules/everything/tab_item";
36541       min: 50 10;
36542       parts {
36543          part {
36544             name: "clip";
36545             type: RECT;
36546             mouse_events: 0;
36547             description {
36548                state: "default" 0.0;
36549             rel1.relative: 0.05 0.0;
36550             rel2.relative: 0.95 1.0;
36551             }
36552          }
36553          part {
36554             name: "label2";
36555             type: TEXT;
36556             scale: 1;
36557             clip_to: "clip";
36558             mouse_events: 0;
36559             description {
36560                state: "default" 0.0;
36561                align: 0.5 0.5;
36562                fixed: 0 1;
36563                rel1.to: "e.text.label";
36564                rel2.to: "e.text.label";
36565                color: 0 0 0 255;
36566                text {
36567                   font: "Sans:style";
36568                   text_source: "e.text.label";
36569                   size: 10;
36570                   min: 0 1;
36571                   align: 0.5 0.5;
36572                   text_class: "fileman_icon";
36573                }
36574             }
36575             description {
36576                state: "selected" 0.0;
36577                inherit: "default" 0.0;
36578                color: 10 10 10 0;
36579                visible: 0;
36580             }
36581          }
36582          part {
36583             name: "bg";
36584             mouse_events: 0;
36585             description {
36586                state: "default" 0.0;
36587                color: 200 200 200 20;
36588                image {
36589                   normal: "toolbar_sel.png";
36590                   border: 2 2 0 0;
36591                }
36592                fill.smooth: 1;
36593             }
36594             description {
36595                state: "selected" 0.0;
36596                inherit: "default" 0.0;
36597                color: 200 200 200 255;
36598             }
36599          }
36600          part {
36601             name: "e.text.label";
36602             type: TEXT;
36603             mouse_events: 0;
36604             clip_to: "clip";
36605             scale: 1;
36606             mouse_events: 0;
36607             description {
36608                state: "default" 0.0;
36609                align: 0.5 0.5;
36610                fixed: 0 1;
36611                rel1.to: "clip";
36612                rel2.to: "clip";
36613                rel1.offset: 5 3;
36614                rel2.offset: -6 -1;
36615                visible: 0;
36616                color: 245 245 245 255;
36617                text {
36618                   font: "Sans:style=Bold";
36619                   size: 9;
36620                   min: 0 1;
36621                   align: 0.5 0.5;
36622                   text_class: "fileman_icon";
36623                }
36624             }
36625             description {
36626                state: "selected" 0.0;
36627                inherit: "default" 0.0;
36628                visible: 1;
36629             }
36630          }
36631          part {
36632             name: "event";
36633             type: RECT;
36634             description {
36635                state: "default" 0.0;
36636                color: 0 0 0 0;
36637             }
36638          }
36639       }
36640       programs {
36641          program {
36642             name: "go_active";
36643             signal: "e,state,selected";
36644             source: "e";
36645             action: STATE_SET "selected" 0.0;
36646             target: "bg";
36647             target: "e.text.label";
36648             target: "label2";
36649             transition: LINEAR 0.1;
36650          }
36651          program {
36652             name: "go_passive";
36653             signal: "e,state,unselected";
36654             source: "e";
36655             action: STATE_SET "default" 0.0;
36656             target: "bg";
36657             target: "e.text.label";
36658             target: "label2";
36659          }
36660       }
36661    }
36662
36663    group {
36664       name: "e/modules/everything/tab_item/back";
36665       min: 50 10;
36666       parts {
36667          part {
36668             name: "clip";
36669             type: RECT;
36670             mouse_events: 0;
36671             description {
36672                state: "default" 0.0;
36673             rel1.relative: 0.05 0.0;
36674             rel2.relative: 0.95 1.0;
36675             }
36676          }
36677          part {
36678             name: "label2";
36679             type: TEXT;
36680             scale: 1;
36681             clip_to: "clip";
36682             mouse_events: 0;
36683             description {
36684                state: "default" 0.0;
36685                align: 0.5 0.5;
36686                fixed: 0 1;
36687                rel1.to: "e.text.label";
36688                rel2.to: "e.text.label";
36689                color: 0 0 0 255;
36690                text {
36691                   font: "Sans:style";
36692                   text_source: "e.text.label";
36693                   size: 10;
36694                   min: 0 1;
36695                   align: 0.5 0.5;
36696                   text_class: "fileman_icon";
36697                }
36698             }
36699             description {
36700                state: "selected" 0.0;
36701                inherit: "default" 0.0;
36702                color: 10 10 10 0;
36703                visible: 0;
36704             }
36705          }
36706          part {
36707             name: "bg";
36708             mouse_events: 0;
36709             description {
36710                state: "default" 0.0;
36711                color: 255 255 255 40;
36712                image {
36713                   normal: "toolbar_sel.png";
36714                   border: 2 2 0 0;
36715                }
36716                fill.smooth: 1;
36717             }
36718             description {
36719                state: "selected" 0.0;
36720                inherit: "default" 0.0;
36721                color: 245 245 245 250;
36722             }
36723          }
36724          part {
36725             name: "e.text.label";
36726             type: TEXT;
36727             mouse_events: 0;
36728             clip_to: "clip";
36729             scale: 1;
36730             mouse_events: 0;
36731             description {
36732                state: "default" 0.0;
36733                align: 0.5 0.5;
36734                fixed: 0 1;
36735                rel1.to: "clip";
36736                rel2.to: "clip";
36737                rel1.offset: 5 3;
36738                rel2.offset: -6 -1;
36739                visible: 0;
36740                color: 245 245 245 255;
36741                text {
36742                   font: "Sans:style=Bold";
36743                   size: 9;
36744                   min: 0 1;
36745                   align: 0.5 0.5;
36746                   text_class: "fileman_icon";
36747                }
36748             }
36749             description {
36750                state: "selected" 0.0;
36751                inherit: "default" 0.0;
36752                visible: 1;
36753             }
36754          }
36755          part {
36756             name: "event";
36757             type: RECT;
36758             description {
36759                state: "default" 0.0;
36760                color: 0 0 0 0;
36761             }
36762          }
36763       }
36764       programs {
36765          program {
36766             name: "go_active";
36767             signal: "e,state,selected";
36768             source: "e";
36769             action: STATE_SET "selected" 0.0;
36770             target: "bg";
36771             target: "e.text.label";
36772             target: "label2";
36773             transition: LINEAR 0.1;
36774          }
36775          program {
36776             name: "go_passive";
36777             signal: "e,state,unselected";
36778             source: "e";
36779             action: STATE_SET "default" 0.0;
36780             target: "bg";
36781             target: "e.text.label";
36782             target: "label2";
36783          }
36784       }
36785    }
36786
36787 /////////////////////////////////////////////////////////////////////////////
36788 /*** EVERYTHING THUMB VIEW ***/
36789
36790    group {
36791       name: "e/modules/everything/thumbview/item/thumb";
36792       parts {
36793          part {
36794             name: "bg";
36795             mouse_events: 0;
36796             description {
36797                state: "default" 0.0;
36798                rel1 {
36799                   to: "base";
36800                   offset: -1 -3;
36801                }
36802                rel2 {
36803                   to: "base";
36804                   offset: 0 2;
36805                }
36806                fill.smooth: 0;
36807                image {
36808                   normal: "everything_item_bg.png";
36809                   border: 5 5 5 5;
36810                }
36811                color: 255 255 255 10;
36812             }
36813             description {
36814                state: "selected" 0.0;
36815                inherit: "default" 0.0;
36816                color: 255 255 255 190;
36817             }
36818          }
36819          part {
36820             name: "outline";
36821             mouse_events: 0;
36822             description {
36823                state: "default" 0.0;
36824                rel1.to: "bg";
36825                rel2.to: "bg";
36826                image {
36827                   normal: "outline.png";
36828                   border: 5 5 5 5;
36829                }
36830                color: 0 0 0 30;
36831             }
36832             description {
36833             state: "selected" 0.0;
36834                inherit: "default" 0.0;
36835                color: 0 0 0 220;
36836             }
36837
36838          }
36839          part {
36840             name: "bg_mark";
36841             mouse_events: 0;
36842             description {
36843                state: "default" 0.0;
36844                visible: 0;
36845                rel1.to: "bg";
36846                rel2.to: "bg";
36847                fill.smooth: 0;
36848                image {
36849                   normal: "everything_item_bg.png";
36850                   border: 5 5 5 5;
36851                }
36852             color: 255 255 255 0;
36853             }
36854             description {
36855                state: "marked" 0.0;
36856                inherit: "default" 0.0;
36857                visible: 1;
36858                color: 255 255 255 60;
36859             }
36860          }
36861          part {
36862             name: "base";
36863             mouse_events: 0;
36864             type: RECT;
36865             description {
36866                state: "default" 0.0;
36867                rel1 {
36868                   relative: 0.0 0.0;
36869                   offset: 0   4;
36870                }
36871                rel2 {
36872                   relative: 1.0 1.0;
36873                   offset: -5  -5;
36874                }
36875                color: 255 255 255 255;
36876             }
36877          }
36878          part {
36879             name: "clip";
36880             mouse_events: 0;
36881             type: RECT;
36882             /* clip_to: "base"; */
36883             description {
36884                state: "default" 0.0;
36885                rel1.to: "base";
36886                rel2.to: "base";
36887                color: 225 225 225 0;
36888             }
36889             description {
36890                state: "visible" 0.0;
36891                inherit: "default" 0.0;
36892                color: 255 255 255 255;
36893             }
36894          }
36895          part {
36896             name: "e.swallow.icon";
36897             clip_to: "clip";
36898             type: SWALLOW;
36899             mouse_events: 0;
36900             description {
36901                state: "default" 0.0;
36902                rel1 {
36903                   to: "base";
36904                   relative: 0.0 0.0;
36905                   offset: 4   0;
36906                }
36907                rel2 {
36908                   to: "base";
36909                   relative: 1.0 1.0;
36910                   offset: -3  -11;
36911                }
36912             }
36913          }
36914          part {
36915             name: "e.swallow.thumb";
36916             clip_to: "clip";
36917             type: SWALLOW;
36918             mouse_events: 0;
36919             description {
36920                state: "default" 0.0;
36921                aspect: 1.0 1.0;
36922                aspect_preference: VERTICAL;
36923                rel1 {
36924                   to: "base";
36925                   offset: 6   6;
36926                }
36927                rel2 {
36928                   to: "base";
36929                   offset: -5  -20;
36930                }
36931             }
36932          }
36933          part {
36934             name: "arrow";
36935             mouse_events: 0;
36936             description {
36937                state: "default" 0.0;
36938                min: 12 12;
36939                max: 12 12;
36940                /* aspect_preference: */
36941                visible: 0;
36942                align: 1.0 0.0;
36943                rel1 {
36944                   to: "base";
36945                   relative: 1.0 0.0;
36946                   offset: -3 2;
36947                }
36948                rel2 {
36949                   to: "base";
36950                   relative: 1.0 0.0;
36951                   offset: -3 2;
36952                }
36953                image {
36954                   normal: "icon_right_arrow.png";
36955                }
36956             }
36957             description {
36958                state: "visible" 0.0;
36959                inherit: "default" 0.0;
36960                visible: 1;
36961             }
36962          }
36963          part {
36964             name: "e.text.label";
36965             type: TEXT;
36966             clip_to: "base";
36967             effect: SOFT_SHADOW;
36968             mouse_events: 0;
36969             scale: 1;
36970             description {
36971                state: "default" 0.0;
36972                rel1 {
36973                   offset: 2 -12;
36974                   relative: 0.0 1.0;
36975                }
36976                rel2.offset: -2 -4;
36977                color3: 20 20 20 60;
36978                color: 255 255 255 255;
36979                text {
36980                   font: "Sans";
36981                   size: 10;
36982                   min: 0 1;
36983                   align: 0.5 0.0;
36984                   text_class: "fileman_icon";
36985                }
36986             }
36987             description {
36988                state: "selected" 0.0;
36989                inherit: "default" 0.0;
36990                rel1 {
36991                   offset: 2 -12;
36992                   relative: 0.0 1.0;
36993                }
36994                rel2.offset: -2 -4;
36995                color: 250 250 250 255;
36996                color3: 20 20 20 40;
36997             }
36998          }
36999          
37000          part {
37001             name: "over_clip";
37002             type: RECT;
37003             mouse_events: 0;
37004             description {
37005                state: "default" 0.0;
37006                color: 255 255 255 255;
37007                rel1 {
37008                   relative: 0.0 0.0;
37009                   offset: 0 0;
37010                }
37011                rel2 {
37012                   relative: 1.0 1.0;
37013                   offset: -1 -1;
37014                }
37015                visible: 0;
37016             }
37017             description {
37018                state: "visible" 0.0;
37019                inherit: "default" 0.0;
37020                color: 255 255 255 255;
37021                visible: 1;
37022             }
37023             description {
37024                state: "hidden" 0.0;
37025                inherit: "default" 0.0;
37026                rel1.relative: -0.5  -0.5;
37027                rel2.relative: 1.5  1.5;
37028                color: 255 255 255 0;
37029                visible: 1;
37030             }
37031             description {
37032                state: "huge" 0.0;
37033                inherit: "default" 0.0;
37034                color: 255 255 255 0;
37035                rel1.relative: -1.5 -1.5;
37036                rel2.relative: 2.5  2.5;
37037                visible: 1;
37038             }
37039          }
37040
37041          part {
37042             name: "over";
37043             type: PROXY;
37044             mouse_events: 0;
37045             clip_to: "over_clip";
37046             description {
37047                state: "default" 0.0;
37048                source: "e.swallow.icon";
37049                rel1.to: "over_clip";
37050                rel2.to: "over_clip";
37051                visible: 0;
37052             }
37053             description {
37054                state: "visible" 0.0;
37055                inherit: "default" 0.0;
37056                visible: 1;
37057             }
37058          }
37059          part {
37060             name: "over2";
37061             type: PROXY;
37062             mouse_events: 0;
37063             clip_to: "over_clip";
37064             description {
37065                state: "default" 0.0;
37066                source: "e.swallow.thumb";
37067                rel1.to: "over_clip";
37068                rel2.to: "over_clip";
37069                visible: 0;
37070             }
37071             description {
37072                state: "visible" 0.0;
37073                inherit: "default" 0.0;
37074                visible: 1;
37075             }
37076          }
37077          
37078          part {
37079             name: "event";
37080             type: RECT;
37081             description {
37082                state: "default" 0.0;
37083                color: 0 0 0 0;
37084             }
37085          }
37086       }
37087       programs {
37088          program {
37089             name: "sel";
37090             signal: "e,state,selected";
37091             source: "e";
37092             action: STATE_SET "selected" 0.0;
37093             target: "bg";
37094             target: "outline";
37095             target: "e.text.label";
37096          }
37097          program {
37098             name: "unsel";
37099             signal: "e,state,unselected";
37100             source: "e";
37101             action: STATE_SET "default" 0.0;
37102             transition: SINUSOIDAL 0.1;
37103             target: "bg";
37104             target: "outline";
37105             target: "e.text.label";
37106          }
37107          program {
37108             name: "mark";
37109             signal: "e,state,marked";
37110             source: "e";
37111             action: STATE_SET "marked" 0.0;
37112             target: "bg_mark";
37113             transition: ACCELERATE 0.15;
37114          }
37115          program {
37116             name: "unmark";
37117             signal: "e,state,unmarked";
37118             source: "e";
37119             action: STATE_SET "default" 0.0;
37120             transition: LINEAR 0.2;
37121             target: "bg_mark";
37122          }
37123          program {
37124             name: "arrow_show";
37125             signal: "e,state,browseable";
37126             source: "e";
37127             action: STATE_SET "visible" 0.0;
37128             target: "arrow";
37129          }
37130          program {
37131             name: "thumb_show_delayed";
37132             signal: "e,action,thumb,show_delayed";
37133             source: "e";
37134             action: STATE_SET "default" 0.0;
37135             target: "clip";
37136             after: "thumb_show2";
37137          }
37138          program {
37139             name: "thumb_show";
37140             signal: "e,action,thumb,show";
37141             source: "e";
37142             action: STATE_SET "visible" 0.0;
37143             target: "clip";
37144          }
37145          program {
37146             name: "thumb_show2";
37147             action: STATE_SET "visible" 0.0;
37148             transition: DECELERATE 0.1;
37149             target: "clip";
37150          }
37151          program {
37152             name: "go_big";
37153             action: STATE_SET "visible" 0.0;
37154             target: "over_clip";
37155             target: "over";
37156             target: "over2";
37157             after: "go_big2";
37158          }
37159
37160          program {
37161             name: "go_big2";
37162             action: STATE_SET "huge" 0.0;
37163             transition: DECELERATE 0.4;
37164             target: "over_clip";
37165             after: "go_big3";
37166          }
37167
37168          program {
37169             name: "go_big3";
37170             action: STATE_SET "default" 0.0;
37171             transition: DECELERATE 0.2;
37172             target: "over_clip";
37173             target: "over";
37174             target: "over2";
37175          }
37176          program {
37177             name: "action_go";
37178             signal: "e,action,go";
37179             source: "e";
37180             action: ACTION_STOP;
37181             target: "go_big";
37182             target: "go_big2";
37183             target: "go_big3";
37184             after: "go_big";
37185          }
37186       }
37187    }
37188    group {
37189       name: "e/modules/everything/thumbview/item/list";
37190       parts {
37191          part {
37192             name: "bg";
37193             mouse_events: 0;
37194             description {
37195                state: "default" 0.0;
37196                rel1 {
37197                   to: "base";
37198                   offset: -1 -1;
37199                }
37200                rel2 {
37201                   to: "base";
37202                   offset: -2 2;
37203                }
37204                fill.smooth: 0;
37205                image {
37206                   normal: "everything_item_bg.png";
37207                   border: 5 5 5 5;
37208                }
37209                color: 0 0 0 10;
37210             }
37211             description {
37212                state: "selected" 0.0;
37213                inherit: "default" 0.0;
37214                color: 0 0 0 190;
37215             }
37216          }
37217          part {
37218             name: "outline";
37219             mouse_events: 0;
37220             description {
37221                state: "default" 0.0;
37222                rel1.to: "bg";
37223                rel2.to: "bg";
37224                image {
37225                   normal: "outline.png";
37226                   border: 5 5 5 5;
37227                }
37228                color: 0 0 0 30;
37229             }
37230              description {
37231                state: "selected" 0.0;
37232                inherit: "default" 0.0;
37233                color: 0 0 0 220;
37234             }
37235          }
37236          part {
37237             name: "bg_mark";
37238             mouse_events: 0;
37239             description {
37240                state: "default" 0.0;
37241                visible: 0;
37242                rel1.to: "bg";
37243                rel2.to: "bg";
37244                fill.smooth: 0;
37245                color: 255 255 255 0;
37246                image {
37247                   normal: "everything_item_bg.png";
37248                   border: 5 5 5 5;
37249                }
37250             }
37251             description {
37252                state: "marked" 0.0;
37253                inherit: "default" 0.0;
37254                visible: 1;
37255                color: 255 255 255 60;
37256             }
37257          }
37258          part {
37259             name: "base";
37260             mouse_events: 0;
37261             type: RECT;
37262             description {
37263                state: "default" 0.0;
37264                color: 255 255 255 255;
37265                rel1 {
37266                   relative: 0.0 0.0;
37267                   offset: 0   3;
37268                }
37269                rel2 {
37270                   relative: 1.0 1.0;
37271                   offset: -5  -4;
37272                }
37273             }
37274          }
37275          part {
37276             name: "clip";
37277             mouse_events: 0;
37278             type: RECT;
37279             clip_to: "base";
37280             description {
37281                state: "default" 0.0;
37282                color: 225 225 225 0;
37283                rel1 {
37284                   to: "base";
37285                   relative: 0.0 0.0;
37286                   offset: 2   2;
37287                }
37288                rel2 {
37289                   to: "base";
37290                   relative: 0.0 1.0;
37291                   offset: 40   -1;
37292                }
37293             }
37294             description {
37295                state: "visible" 0.0;
37296                inherit: "default" 0.0;
37297                color: 255 255 255 255;
37298             }
37299          }
37300          part {
37301             name: "e.swallow.icon";
37302             clip_to: "clip";
37303             type: SWALLOW;
37304             mouse_events: 0;
37305             description {
37306                state: "default" 0.0;
37307                rel1.to: "clip";
37308                rel2.to: "clip";
37309             }
37310          }
37311          part {
37312             name: "e.swallow.thumb";
37313             clip_to: "clip";
37314             type: SWALLOW;
37315             mouse_events: 0;
37316             description {
37317                state: "default" 0.0;
37318                aspect: 1.0 1.0;
37319                aspect_preference: VERTICAL;
37320                rel1.to: "clip";
37321                rel2.to: "clip";
37322             }
37323          }
37324          part {
37325             name: "arrow";
37326             mouse_events: 0;
37327             description {
37328                state: "default" 0.0;
37329                align: 0.0 0.5;
37330                 min: 16 16;
37331                 max: 16 16;
37332                 visible: 0;
37333                rel1 {
37334                   to: "base";
37335                   relative: 1.0 0.0;
37336                   offset: -21  6;
37337                }
37338                rel2 {
37339                   to: "base";
37340                   relative: 1.0 1.0;
37341                   offset: 1 -7;
37342                }
37343                image {
37344                   normal: "icon_right_arrow.png";
37345                }
37346             }
37347             description {
37348                state: "visible" 0.0;
37349                inherit: "default" 0.0;
37350                visible: 1;
37351                rel1 {
37352                   to: "base";
37353                   relative: 1.0 0.0;
37354                   offset: -21  6;
37355                }
37356             }
37357          }
37358          part {
37359             name: "e.text.label";
37360             type: TEXT;
37361             clip_to: "base";
37362             effect: SOFT_SHADOW;
37363             mouse_events: 0;
37364             scale: 1;
37365             description {
37366                state: "default" 0.0;
37367                color: 0 0 0 255;
37368                color3: 255 255 255 30;
37369                rel1 {
37370                   to_x: "clip";
37371                   to_y: "base";
37372                   offset: 5 2;
37373                   relative: 1.0 0.0;
37374                }
37375                rel2 {
37376                   relative: 0.0 1.0;
37377                   offset: 4 -1;
37378                   to_x: "arrow";
37379                   to_y: "spacer";
37380                }
37381                text {
37382                   font: "Sans";
37383                   size: 10;
37384                   min: 0 1;
37385                   align: 0.0 0.0;
37386                   text_class: "fileman_icon";
37387                }
37388             }
37389             description {
37390                state: "selected" 0.0;
37391                inherit: "default" 0.0;
37392                color: 255 255 255 255;
37393                color3: 20 20 20 30;
37394             }
37395          }
37396          part {
37397             name: "e.text.detail";
37398             type: TEXT;
37399             clip_to: "base";
37400             mouse_events: 0;
37401             scale: 1;
37402             description {
37403                state: "default" 0.0;
37404                visible: 1;
37405                color: 80 80 80 255;
37406                rel1 {
37407                   to_x: "clip";
37408                   to_y: "base";
37409                   offset: 5 6;
37410                   relative: 1.0 0.5;
37411                }
37412                rel2 {
37413                   relative: 0.0 1.0;
37414                   offset: 4 -4;
37415                   to_y: "base";
37416                   to_x: "arrow";
37417                }
37418                text {
37419                   font: "Sans";
37420                   size: 8;
37421                   min: 0 1;
37422                   align: 0.0 0.0;
37423                   text_class: "fileman_icon";
37424                }
37425             }
37426             description {
37427                 state: "selected" 0.0;
37428                 inherit: "default" 0.0;
37429                 color: 200 200 200 255;
37430             }
37431          }
37432          part {
37433             name: "spacer";
37434             type: RECT;
37435             mouse_events: 0;
37436             description {
37437                state: "default" 0.0;
37438                visible: 0;
37439                rel1.to: "base";
37440                rel1.relative: 0.0 1.0;
37441                rel2.to: "base";
37442             }
37443             description {
37444                state: "detail" 0.0;
37445                inherit: "default" 0.0;
37446                rel1.to: "e.text.detail";
37447                rel2.to: "e.text.detail";
37448             }
37449          }
37450          part {
37451             name: "event";
37452             type: RECT;
37453             description {
37454                state: "default" 0.0;
37455                color: 0 0 0 0;
37456             }
37457          }
37458       }
37459       programs {
37460          program {
37461             name: "sel";
37462             signal: "e,state,selected";
37463             source: "e";
37464             action: STATE_SET "selected" 0.0;
37465             target: "bg";
37466             target: "outline";
37467             target: "e.text.label";
37468             target: "e.text.detail";
37469             transition: ACCELERATE 0.0;
37470          }
37471          program {
37472             name: "unsel";
37473             signal: "e,state,unselected";
37474             source: "e";
37475             action: STATE_SET "default" 0.0;
37476             transition: LINEAR 0.0;
37477             target: "bg";
37478             target: "outline";
37479             target: "e.text.label";
37480             target: "e.text.detail";
37481          }
37482          program {
37483             name: "mark";
37484             signal: "e,state,marked";
37485             source: "e";
37486             action: STATE_SET "marked" 0.0;
37487             target: "bg_mark";
37488             transition: ACCELERATE 0.15;
37489          }
37490          program {
37491             name: "unmark";
37492             signal: "e,state,unmarked";
37493             source: "e";
37494             action: STATE_SET "default" 0.0;
37495             transition: LINEAR 0.2;
37496             target: "bg_mark";
37497          }
37498          program {
37499             name: "arrow_show";
37500             signal: "e,state,browseable";
37501             source: "e";
37502             action: STATE_SET "visible" 0.0;
37503             target: "arrow";
37504          }
37505          program {
37506             name: "thumb_show_delayed";
37507             signal: "e,action,thumb,show_delayed";
37508             source: "e";
37509             action: STATE_SET "visible" 0.0;
37510             target: "clip";
37511             transition: DECELERATE 0.1;
37512          }
37513          program {
37514             name: "thumb_show";
37515             signal: "e,action,thumb,show";
37516             source: "e";
37517             action: STATE_SET "visible" 0.0;
37518             target: "clip";
37519          }
37520          program {
37521             name: "detail_show";
37522             signal: "e,state,detail,show";
37523             source: "e";
37524             action: STATE_SET "detail" 0.0;
37525             /* transition: ACCELERATE 0.08; */
37526             target: "spacer";
37527          }
37528          program {
37529             name: "detail_hide";
37530             signal: "e,state,detail,hide";
37531             source: "e";
37532             action: STATE_SET "default" 0.0;
37533             target: "spacer";
37534          }
37535       }
37536    }
37537    
37538    group {
37539       name: "e/modules/everything/thumbview/main/window";
37540       parts {
37541          part {
37542             name: "clip";
37543             type: RECT;
37544             mouse_events: 0;
37545             description {
37546                state: "default" 0.0;
37547                color: 255 255 255 0;
37548             }
37549           description {
37550                state: "visible" 0.0;
37551                color: 255 255 255 255;
37552             }
37553         }
37554         part {
37555             name: "e.swallow.list";
37556             type: SWALLOW;
37557           clip_to: "clip";
37558             description {
37559                state: "default" 0.0;
37560                rel1 {
37561                   relative: 0.0 0.0;
37562                   offset: 6   1;
37563                }
37564                rel2 {
37565                   relative: 1.0 1.0;
37566                   offset: -3  -3;
37567                }
37568             }
37569          }
37570          part {
37571             name: "left_arrow";
37572             mouse_events: 0;
37573             scale: 1;
37574             description {
37575                state: "default" 0.0;
37576                visible: 0;
37577                image.normal: "icon_left_arrow.png";
37578                aspect: 1.0 1.0;
37579                aspect_preference: VERTICAL;
37580                align: 0.0 0.5;
37581                min: 32 32;
37582                max: 32 32;
37583                color: 255 255 255 0;
37584             }
37585             description {
37586                state: "visible" 0.0;
37587                inherit: "default" 0.0;
37588                visible: 1;
37589                color: 255 255 255 255;
37590             }
37591          }
37592          part {
37593             name: "right_arrow";
37594             mouse_events: 0;
37595             scale: 1;
37596             description {
37597                state: "default" 0.0;
37598                visible: 0;
37599                image.normal: "icon_right_arrow.png";
37600                aspect: 1.0 1.0;
37601                aspect_preference: VERTICAL;
37602                align: 1.0 0.5;
37603                min: 32 32;
37604                max: 32 32;
37605                color: 255 255 255 0;
37606             }
37607             description {
37608                state: "visible" 0.0;
37609                inherit: "default" 0.0;
37610                visible: 1;
37611                color: 255 255 255 255;
37612             }
37613          }
37614          part {
37615             name: "event";
37616             repeat_events: 1;
37617             type: RECT;
37618             description {
37619                state: "default" 0.0;
37620                color: 0 0 0 0;
37621             }
37622          }
37623       }
37624       programs {
37625          program {
37626             name: "go_into_show";
37627             signal: "e,action,show,into";
37628             source: "e";
37629             action: STATE_SET "visible" 0.0;
37630             transition: LINEAR 0.5;
37631             target: "right_arrow";
37632          }
37633          program {
37634             name: "go_into_hide";
37635             signal: "e,action,hide,into";
37636             source: "e";
37637             action: STATE_SET "default" 0.0;
37638             target: "right_arrow";
37639             transition: LINEAR 0.5;
37640          }
37641          program {
37642             name: "go_back_show";
37643             signal: "e,action,show,back";
37644             source: "e";
37645             action: STATE_SET "visible" 0.0;
37646             transition: LINEAR 0.5;
37647             target: "left_arrow";
37648          }
37649          program {
37650             name: "go_back_hide";
37651             signal: "e,action,hide,back";
37652             source: "e";
37653             action: STATE_SET "default" 0.0;
37654             target: "left_arrow";
37655             transition: LINEAR 0.5;
37656          }
37657          program {
37658             name: "hiding";
37659             signal: "e,action,hide,list";
37660             source: "e";
37661             action: STATE_SET "default" 0.0;
37662             target: "clip";
37663             transition: LINEAR 0.25;
37664          }
37665          program {
37666             name: "showing";
37667             signal: "e,action,show,list";
37668             source: "e";
37669             action: STATE_SET "visible" 0.0;
37670             target: "clip";
37671             transition: LINEAR 0.15;
37672          }
37673       }
37674    }
37675    group {
37676       name: "e/modules/everything/thumbview/main/scrollframe";
37677       images {
37678          image: "bt_sm_base1.png" COMP;
37679          image: "bt_sm_base2.png" COMP;
37680          image: "bt_sm_shine.png" COMP;
37681          image: "bt_sm_hilight.png" COMP;
37682          image: "sb_runnerv.png" COMP;
37683       }
37684       parts {
37685          part {
37686             name: "e.swallow.content";
37687             type: SWALLOW;
37688             description {
37689                state: "default" 0.0;
37690                rel1.offset: 0 0;
37691                rel2 {
37692                   relative: 0.0  1.0;
37693                   offset: 2   -1;
37694                   to_x: "sb_vbar";
37695                }
37696             }
37697          }
37698          part {
37699             name: "sb_vbar";
37700             type: RECT;
37701             mouse_events: 0;
37702             scale: 1;
37703             description {
37704                state: "default" 0.0;
37705                min: 9 17;
37706                align: 1.0 0.0;
37707                rel1 {
37708                   relative: 1.0 0.0;
37709                   offset: -1 0;
37710                }
37711                rel2 {
37712                   relative: 1.0 1.0;
37713                   offset: -1 -1;
37714                }
37715             }
37716             description {
37717                state: "hidden" 0.0;
37718                visible: 0;
37719                max: 0 99999;
37720                rel1 {
37721                   relative: 1.0 0.0;
37722                   offset: -1 0;
37723                }
37724                rel2 {
37725                   relative: 1.0 1.0;
37726                   offset: -1 -1;
37727                }
37728             }
37729          }
37730          part {
37731             name: "sb_vbar_base";
37732             type: RECT;
37733             clip_to: "sb_vbar";
37734             mouse_events: 1;
37735             description {
37736                state: "default" 0.0;
37737                color: 0 0 0 0;
37738                rel1 {
37739                   relative: 0.0  1.0;
37740                   offset: 0    -1;
37741                   to: "sb_vbar_a1";
37742                }
37743                rel2 {
37744                   relative: 1.0  0.0;
37745                   offset: -1    0;
37746                   to: "sb_vbar_a2";
37747                }
37748             }
37749          }
37750          part {
37751             name: "sb_vbar_runner";
37752             clip_to: "sb_vbar";
37753             mouse_events: 0;
37754             description {
37755                state: "default" 0.0;
37756                max: 3 99999;
37757                rel1.to: "sb_vbar_base";
37758                rel1.offset: -2 0;
37759                rel2.to: "sb_vbar_base";
37760                image {
37761                   normal: "sb_runnerv.png";
37762                   border: 0 0 4 4;
37763                }
37764                fill.smooth: 0;
37765             }
37766          }
37767          part {
37768             name: "sb_vbar_p1";
37769             type: RECT;
37770             clip_to: "sb_vbar";
37771             mouse_events: 1;
37772             description {
37773                state: "default" 0.0;
37774                color: 0 0 0 0;
37775                rel1 {
37776                   relative: 0.0 1.0;
37777                   to: "sb_vbar_a1";
37778                }
37779                rel2 {
37780                   relative: 1.0 0.0;
37781                   to: "e.dragable.vbar";
37782                }
37783             }
37784          }
37785          part {
37786             name: "sb_vbar_p2";
37787             type: RECT;
37788             clip_to: "sb_vbar";
37789             mouse_events: 1;
37790             description {
37791                state: "default" 0.0;
37792                color: 0 0 0 0;
37793                rel1 {
37794                   relative: 0.0 1.0;
37795                   to: "e.dragable.vbar";
37796                }
37797                rel2 {
37798                   relative: 1.0 0.0;
37799                   to: "sb_vbar_a2";
37800                }
37801             }
37802          }
37803          part {
37804             name: "e.dragable.vbar";
37805             clip_to: "sb_vbar";
37806             mouse_events: 1;
37807             scale: 1;
37808             dragable {
37809                x: 0 0 0;
37810                y: 1 1 0;
37811                confine: "sb_vbar_base";
37812             }
37813             description {
37814                state: "default" 0.0;
37815                min: 9 17;
37816                rel1 {
37817                   relative: 0.5  0.5;
37818                   offset: -1    0;
37819                   to: "sb_vbar_base";
37820                }
37821                rel2 {
37822                   relative: 0.5  0.5;
37823                   offset: -1    0;
37824                   to: "sb_vbar_base";
37825                }
37826                image {
37827                   normal: "bt_sm_base2.png";
37828                   border: 6 6 6 6;
37829                }
37830             }
37831             description {
37832                state: "clicked" 0.0;
37833                inherit: "default" 0.0;
37834                image.normal: "bt_sm_base1.png";
37835             }
37836          }
37837          part {
37838             name: "sb_vbar_over1";
37839             clip_to: "sb_vbar";
37840             mouse_events: 0;
37841             description {
37842                state: "default" 0.0;
37843                rel1.to: "e.dragable.vbar";
37844                rel2.relative: 1.0 0.5;
37845                rel2.to: "e.dragable.vbar";
37846                image {
37847                   normal: "bt_sm_hilight.png";
37848                   border: 6 6 6 0;
37849                }
37850             color: 180 180 180 255;
37851             }
37852          }
37853          part {
37854             name: "sb_vbar_over2";
37855             clip_to: "sb_vbar";
37856             mouse_events: 0;
37857             description {
37858                state: "default" 0.0;
37859                rel1.to: "e.dragable.vbar";
37860                rel2.to: "e.dragable.vbar";
37861                image {
37862                   normal: "bt_sm_shine.png";
37863                   border: 6 6 6 0;
37864                }
37865             color: 180 180 180 255;
37866             }
37867          }
37868          part {
37869             name: "sb_vbar_a1";
37870             type: RECT;
37871             clip_to: "sb_vbar";
37872             mouse_events: 1;
37873             description {
37874                state: "default" 0.0;
37875                min: 9 17;
37876                align: 0.5 0.0;
37877                /* aspect: 1.0 1.0; */
37878                aspect_preference: HORIZONTAL;
37879                color: 0 0 0 0;
37880                rel1 {
37881                   to: "sb_vbar";
37882                   relative: 0.0  0.0;
37883                   offset: 0    0;
37884                }
37885                rel2 {
37886                   to: "sb_vbar";
37887                   relative: 1.0  0.0;
37888                   offset: -1   0;
37889                }
37890             }
37891          }
37892          part {
37893             name: "sb_vbar_a2";
37894             type: RECT;
37895             clip_to: "sb_vbar";
37896             mouse_events: 1;
37897             description {
37898                state: "default" 0.0;
37899                min: 9 17;
37900                align: 0.5 1.0;
37901                /* aspect: 1.0 1.0; */
37902                aspect_preference: HORIZONTAL;
37903                color: 0 0 0 0;
37904                rel1 {
37905                   to: "sb_vbar";
37906                   relative: 0.0  1.0;
37907                   offset: 0    0;
37908                }
37909                rel2 {
37910                   to: "sb_vbar";
37911                   relative: 1.0  1.0;
37912                   offset: -1   0;
37913                }
37914             }
37915          }
37916       }
37917       programs {
37918          program {
37919             name: "sb_vbar_show";
37920             signal: "e,action,show,vbar";
37921             source: "e";
37922             action: STATE_SET "default" 0.0;
37923             target: "sb_vbar";
37924          }
37925          program {
37926             name: "sb_vbar_hide";
37927             signal: "e,action,hide,vbar";
37928             source: "e";
37929             action: STATE_SET "hidden" 0.0;
37930             target: "sb_vbar";
37931          }
37932          program {
37933             name: "sb_vbar_a1_down2";
37934             signal: "mouse,down,1";
37935             source: "sb_vbar_a1";
37936             action: DRAG_VAL_STEP 0.0 -1.0;
37937             target: "e.dragable.vbar";
37938          }
37939          program {
37940             name: "sb_vbar_a2_down2";
37941             signal: "mouse,down,1";
37942             source: "sb_vbar_a2";
37943             action: DRAG_VAL_STEP 0.0 1.0;
37944             target: "e.dragable.vbar";
37945          }
37946          program {
37947             name: "sb_vbar_p1_down";
37948             signal: "mouse,down,1";
37949             source: "sb_vbar_p1";
37950             action: DRAG_VAL_PAGE 0.0 -1.0;
37951             target: "e.dragable.vbar";
37952          }
37953          program {
37954             name: "sb_vbar_p2_down";
37955             signal: "mouse,down,1";
37956             source: "sb_vbar_p2";
37957             action: DRAG_VAL_PAGE  0.0 1.0;
37958             target: "e.dragable.vbar";
37959          }
37960          program {
37961             name: "sb_vbar_down";
37962             signal: "mouse,down,1";
37963             source: "e.dragable.vbar";
37964             action: STATE_SET "clicked" 0.0;
37965             target: "e.dragable.vbar";
37966          }
37967          program {
37968             name: "sb_vbar_up";
37969             signal: "mouse,up,1";
37970             source: "e.dragable.vbar";
37971             action: STATE_SET "default" 0.0;
37972             target: "e.dragable.vbar";
37973          }
37974       }
37975    }
37976
37977    group {
37978       name: "e/modules/everything/textblock";
37979       styles {
37980          style {
37981             name: "everything_textblock_style";
37982             base: "font=Sans font_size=10 align=left color=#000";
37983             tag: "hilight" "+ font=Sans:style=Bold color=#0c0c0c";
37984             tag: "b" "+ font=Sans:style=Bold font_size=9";
37985             tag: "br" "\n";
37986             tag: "/title" "- \n \n";
37987          }
37988       }
37989       parts {
37990          part {
37991             name: "e.textblock.text";
37992             type: TEXTBLOCK;
37993             mouse_events: 0;
37994             scale: 1;
37995             description {
37996                state: "default" 0.0;
37997                rel1.offset: 4 4;
37998                rel2.offset: -5 -5;
37999                text {
38000                   style: "everything_textblock_style";
38001                   min: 1 1;
38002                }
38003             }
38004          }
38005       }
38006    }
38007
38008    group {
38009       name: "e/modules/everything/gadget";
38010       max: 128 128;
38011       parts {
38012    
38013          part {
38014             name: "icon";
38015             mouse_events: 0;
38016             description {
38017                state: "default" 0.0;
38018                aspect: 1.0 1.0;
38019                aspect_preference: BOTH;
38020                image.normal: "logo_white_128.png";
38021             }
38022             description {
38023                state: "active" 0.0;
38024                inherit: "default" 0.0;
38025                visible: 0;
38026                color: 255 255 255 0;
38027             }
38028          }
38029
38030          part {
38031             name: "e.swallow.icon";
38032             type: SWALLOW;
38033             mouse_events: 0;
38034             description {
38035                state: "default" 0.0;
38036                aspect: 1.0 1.0;
38037                aspect_preference: BOTH;
38038                visible: 0;
38039             }
38040             description {
38041                state: "active" 0.0;
38042                inherit: "default" 0.0;
38043                visible: 1;
38044                color: 255 255 255 0;
38045             }
38046          }
38047
38048          part {
38049             name: "event";
38050             type: RECT;
38051             mouse_events: 1;
38052             description {
38053                state: "default" 0.0;
38054                color: 0 0 0 0;
38055                rel1 {
38056                   relative: 0.0 0.0;
38057                   offset: 0 0;
38058                }
38059                rel2 {
38060                   relative: 1.0 1.0;
38061                   offset: -1 -1;
38062                }
38063             }
38064          }
38065       }
38066       programs {
38067          program {
38068             name: "on";
38069             signal: "e,state,icon,plugin";
38070             source: "e";
38071             action: STATE_SET "active" 0.0;
38072             target: "e.swallow.icon";
38073             target: "icon";
38074          }
38075          program {
38076             name: "off";
38077             signal: "e,state,icon,default";
38078             source: "e";
38079             action: STATE_SET "default" 0.0;
38080             target: "e.swallow.icon";
38081             target: "icon";
38082          }
38083       }
38084    }
38085
38086 /////////////////////////////////////////////////////////////////////////////
38087 /*** MOD: CONF_COLORS ***/
38088
38089    group {
38090       name: "e/modules/conf_colors/preview/solid";
38091       parts {
38092          part {
38093             name: "e.rect";
38094             type: RECT;
38095             mouse_events: 0;
38096             description {
38097                state: "default" 0.0;
38098                color: 255 255 255 255;
38099                color_class: "color_preview";
38100                rel1 {
38101                   relative: 0.0 0.0;
38102                   offset: 0 0;
38103                }
38104                rel2 {
38105                   relative: 1.0 1.0;
38106                   offset: -1 -1;
38107                }
38108             }
38109          }
38110       }
38111    }
38112    group {
38113       name: "e/modules/conf_colors/preview/text";
38114       parts {
38115          part {
38116             name: "e.text";
38117             type: TEXT;
38118             effect: OUTLINE_SOFT_SHADOW;
38119             mouse_events: 0;
38120             description {
38121                state: "default" 0.0;
38122                color: 255 255 255 255;
38123                color2: 255 255 255 255;
38124                color3: 255 255 255 255;
38125                color_class: "color_preview";
38126                rel1 {
38127                   relative: 0.0 0.0;
38128                   offset: 0 0;
38129                }
38130                rel2 {
38131                   relative: 1.0 1.0;
38132                   offset: -1 -1;
38133                }
38134                text {
38135                   font: "Sans:style=Bold";
38136                   size: 16;
38137                   text: "Aa";
38138                   min: 1 1;
38139                }
38140             }
38141          }
38142       }
38143    }
38144    group {
38145       name: "e/modules/conf_colors/preview/unknown";
38146       parts {
38147          part {
38148             name: "c1";
38149             type: RECT;
38150             mouse_events: 0;
38151             description {
38152                state: "default" 0.0;
38153                color: 255 255 255 255;
38154                color_class: "color_preview_c1";
38155                rel1 {
38156                   relative: 0.0 0.0;
38157                   offset: 0 0;
38158                }
38159                rel2 {
38160                   relative: 1.0 1.0;
38161                   offset: -7 -1;
38162                }
38163             }
38164          }
38165          part {
38166             name: "c2";
38167             type: RECT;
38168             mouse_events: 0;
38169             description {
38170                state: "default" 0.0;
38171                color: 255 255 255 255;
38172                color_class: "color_preview_c2";
38173                rel1 {
38174                   relative: 1.0 0.0;
38175                   offset: -6 0;
38176                }
38177                rel2 {
38178                   relative: 1.0 1.0;
38179                   offset: -4 -1;
38180                }
38181             }
38182          }
38183          part {
38184             name: "c3";
38185             type: RECT;
38186             mouse_events: 0;
38187             description {
38188                state: "default" 0.0;
38189                color: 255 255 255 255;
38190                color_class: "color_preview_c3";
38191                rel1 {
38192                   relative: 1.0 0.0;
38193                   offset: -3 0;
38194                }
38195                rel2 {
38196                   relative: 1.0 1.0;
38197                   offset: -1 -1;
38198                }
38199             }
38200          }
38201       }
38202    }
38203
38204 /////////////////////////////////////////////////////////////////////////////
38205 /*** MOD: CONF ***/
38206
38207         group {
38208                 name: "e/modules/conf/main";
38209                 images {
38210                         image: "icon_configuration.png" COMP;
38211                         image: "bt_base1.png" COMP;
38212                         image: "bt_base2.png" COMP;
38213                         image: "bt_hilight.png" COMP;
38214                         image: "bt_shine.png" COMP;
38215                         image: "bt_glow.png" COMP;
38216                 }
38217                 min: 16 16;
38218                 max: 128 128;
38219                 parts {
38220                         part {
38221                                 name: "button_image";
38222                                 mouse_events: 1;
38223                                 scale: 1;
38224                                 description {
38225                                         state: "default" 0.0;
38226                                         fixed: 1 1;
38227                                         align: 0.5 0.5;
38228                min: 32 16;
38229                                         image {
38230                                                 normal: "bt_base2.png";
38231                                                 border: 7 7 7 7;
38232                                         }
38233                                 }
38234                                 description {
38235                                         state: "clicked" 0.0;
38236                                         inherit: "default" 0.0;
38237                                         image.normal: "bt_base1.png";
38238                                 }
38239                                 program {
38240                                         name: "button_down";
38241                                         signal: "mouse,down,1";
38242                                         source: "button_image";
38243                                         action: STATE_SET "clicked" 0.0;
38244                                         target: "button_image";
38245                                         target: "over3";
38246                                 }
38247                                 program {
38248                                         name: "button_up";
38249                                         signal: "mouse,up,1";
38250                                         source: "button_image";
38251                                         action: STATE_SET "default" 0.0;
38252                                         target: "button_image";
38253                                         target: "over3";
38254                                 }
38255                                 program {
38256                                         name: "button_click";
38257                                         signal: "mouse,clicked,1";
38258                                         source: "button_image";
38259                                         action: SIGNAL_EMIT "e,action,conf" "";
38260                                 }
38261                         }
38262                         part {
38263                                 name: "icon";
38264                                 mouse_events: 0;
38265                                 description {
38266                                         state: "default" 0.0;
38267                                         aspect: 1.0 1.0;
38268                                         aspect_preference: BOTH;
38269                                         visible: 1;
38270                                         image.normal: "icon_configuration.png";
38271                                         rel1 {
38272                                                 to: "button_image";
38273                                                 relative: 0.0  0.0;
38274                                                 offset: 3    3;
38275                                         }
38276                                         rel2 {
38277                                                 relative: 1.0  1.0;
38278                                                 offset: -4   -4;
38279                                                 to: "button_image";
38280                                         }
38281                                 }
38282                         }
38283                         part {
38284                                 name: "over1";
38285                                 mouse_events: 0;
38286                                 description {
38287                                         state: "default" 0.0;
38288                                         rel1.to: "button_image";
38289                                         rel2.to: "button_image";
38290                                         rel2.relative: 1.0 0.5;
38291                                         image {
38292                                                 normal: "bt_hilight.png";
38293                                                 border: 7 7 7 0;
38294                                         }
38295                                 }
38296                         }
38297                         part {
38298                                 name: "over2";
38299                                 mouse_events: 0;
38300                                 description {
38301                                         state: "default" 0.0;
38302                                         rel1.to: "button_image";
38303                                         rel2.to: "button_image";
38304                                         image {
38305                                                 normal: "bt_shine.png";
38306                                                 border: 7 7 7 7;
38307                                         }
38308                                 }
38309                         }
38310                         part {
38311                                 name: "over3";
38312                                 mouse_events: 0;
38313                                 description {
38314                                         state: "default" 0.0;
38315                                         rel1.to: "button_image";
38316                                         rel2.to: "button_image";
38317                                         visible: 0;
38318                                         color: 255 255 255 0;
38319                                         image {
38320                                                 normal: "bt_glow.png";
38321                                                 border: 12 12 12 12;
38322                                         }
38323                                         fill.smooth : 0;
38324                                 }
38325                                 description {
38326                                         state: "clicked" 0.0;
38327                                         inherit: "default" 0.0;
38328                                         visible: 1;
38329                                         color: 255 255 255 255;
38330                                 }
38331                         }
38332                 }
38333         }
38334
38335 /////////////////////////////////////////////////////////////////////////////
38336 /*** MOD: ILLUME-HOME-TOGGLE ***/
38337
38338         group {
38339                 name: "e/modules/illume_home_toggle/main";
38340                 images.image: "illume-home.png" COMP;
38341                 images {
38342                         image: "bt_base1.png" COMP;
38343                         image: "bt_base2.png" COMP;
38344                         image: "bt_hilight.png" COMP;
38345                         image: "bt_shine.png" COMP;
38346                         image: "bt_glow.png" COMP;
38347                 }
38348                 min: 16 16;
38349                 max: 128 128;
38350                 parts {
38351                         part {
38352                                 name: "button_image";
38353                                 mouse_events: 1;
38354                                 scale: 1;
38355                                 description {
38356                                         state: "default" 0.0;
38357                                         fixed: 1 1;
38358                                         align: 0.5 0.5;
38359                min: 32 16;
38360                                         image {
38361                                                 normal: "bt_base2.png";
38362                                                 border: 7 7 7 7;
38363                                         }
38364                                 }
38365                                 description {
38366                                         state: "clicked" 0.0;
38367                                         inherit: "default" 0.0;
38368                                         image.normal: "bt_base1.png";
38369                                 }
38370                                 program {
38371                                         name: "button_down";
38372                                         signal: "mouse,down,1";
38373                                         source: "button_image";
38374                                         action: STATE_SET "clicked" 0.0;
38375                                         target: "button_image";
38376                                         target: "over3";
38377                                 }
38378                                 program {
38379                                         name: "button_up";
38380                                         signal: "mouse,up,1";
38381                                         source: "button_image";
38382                                         action: STATE_SET "default" 0.0;
38383                                         target: "button_image";
38384                                         target: "over3";
38385                                 }
38386                                 program {
38387                                         name: "button_click";
38388                                         signal: "mouse,clicked,1";
38389                                         source: "button_image";
38390                                         action: SIGNAL_EMIT "e,action,home" "";
38391                                 }
38392                         }
38393                         part {
38394                                 name: "icon";
38395                                 mouse_events: 0;
38396                                 description {
38397                                         state: "default" 0.0;
38398                                         aspect: 1.0 1.0;
38399                                         aspect_preference: BOTH;
38400                                         image.normal: "illume-home.png";
38401                                         rel1 {
38402                                                 to: "button_image";
38403                                                 relative: 0.0  0.0;
38404                                                 offset: 3    3;
38405                                         }
38406                                         rel2 {
38407                                                 relative: 1.0  1.0;
38408                                                 offset: -4   -4;
38409                                                 to: "button_image";
38410                                         }
38411                                 }
38412                         }
38413                         part {
38414                                 name: "over1";
38415                                 mouse_events: 0;
38416                                 description {
38417                                         state: "default" 0.0;
38418                                         rel1.to: "button_image";
38419                                         rel2.to: "button_image";
38420                                         rel2.relative: 1.0 0.5;
38421                                         image {
38422                                                 normal: "bt_hilight.png";
38423                                                 border: 7 7 7 0;
38424                                         }
38425                                 }
38426                         }
38427                         part {
38428                                 name: "over2";
38429                                 mouse_events: 0;
38430                                 description {
38431                                         state: "default" 0.0;
38432                                         rel1.to: "button_image";
38433                                         rel2.to: "button_image";
38434                                         image {
38435                                                 normal: "bt_shine.png";
38436                                                 border: 7 7 7 7;
38437                                         }
38438                                 }
38439                         }
38440                         part {
38441                                 name: "over3";
38442                                 mouse_events: 0;
38443                                 description {
38444                                         state: "default" 0.0;
38445                                         rel1.to: "button_image";
38446                                         rel2.to: "button_image";
38447                                         visible: 0;
38448                                         color: 255 255 255 0;
38449                                         image {
38450                                                 normal: "bt_glow.png";
38451                                                 border: 12 12 12 12;
38452                                         }
38453                                         fill.smooth : 0;
38454                                 }
38455                                 description {
38456                                         state: "clicked" 0.0;
38457                                         inherit: "default" 0.0;
38458                                         visible: 1;
38459                                         color: 255 255 255 255;
38460                                 }
38461                         }
38462                 }
38463         }
38464
38465 /////////////////////////////////////////////////////////////////////////////
38466 /*** MOD: ILLUME-KBD-TOGGLE ***/
38467
38468         group {
38469                 name: "e/modules/illume_kbd_toggle/main";
38470                 images.image: "illume-kbd.png" COMP;
38471                 images.image: "illume-kbd-on.png" COMP;
38472                 images {
38473                         image: "bt_base1.png" COMP;
38474                         image: "bt_base2.png" COMP;
38475                         image: "bt_hilight.png" COMP;
38476                         image: "bt_shine.png" COMP;
38477                         image: "bt_glow.png" COMP;
38478                 }
38479                 min: 16 16;
38480                 max: 128 128;
38481                 parts {
38482                         part {
38483                                 name: "button_image";
38484                                 mouse_events: 1;
38485                                 scale: 1;
38486                                 description {
38487                                         state: "default" 0.0;
38488                                         fixed: 1 1;
38489                                         align: 0.5 0.5;
38490                                         min: 32 16;
38491                                         image {
38492                                                 normal: "bt_base2.png";
38493                                                 border: 7 7 7 7;
38494                                         }
38495                                 }
38496                                 description {
38497                                         state: "clicked" 0.0;
38498                                         inherit: "default" 0.0;
38499                                         image.normal: "bt_base1.png";
38500                                 }
38501                                 program {
38502                                         name: "button_down";
38503                                         signal: "mouse,down,1";
38504                                         source: "button_image";
38505                                         action: STATE_SET "clicked" 0.0;
38506                                         target: "button_image";
38507                                         target: "over3";
38508                                 }
38509                                 program {
38510                                         name: "button_up";
38511                                         signal: "mouse,up,1";
38512                                         source: "button_image";
38513                                         action: STATE_SET "default" 0.0;
38514                                         target: "button_image";
38515                                         target: "over3";
38516                                 }
38517                                 program {
38518                                         name: "enable";
38519                                         signal: "mouse,clicked,1";
38520                                         source: "button_image";
38521                                         action: SIGNAL_EMIT "e,action,vkbd,enable" "";
38522                                 }
38523                         }
38524                         part {
38525                                 name: "icon";
38526                                 mouse_events: 0;
38527                                 description {
38528                                         state: "default" 0.0;
38529                                         aspect: 1.0 1.0;
38530                                         aspect_preference: BOTH;
38531                                         image.normal: "illume-kbd.png";
38532                                         rel1 {
38533                                                 to: "button_image";
38534                                                 relative: 0.0  0.0;
38535                                                 offset: 3    3;
38536                                         }
38537                                         rel2 {
38538                                                 relative: 1.0  1.0;
38539                                                 offset: -4   -4;
38540                                                 to: "button_image";
38541                                         }
38542                                 }
38543                                 description { state: "on" 0.0;
38544                                         inherit: "default" 0.0;
38545                                         image.normal: "illume-kbd-on.png";
38546                                 }
38547                                 program { name: "state_on";
38548                                    signal: "e,state,vkbd,on";
38549                                    source: "e";
38550                                    action: STATE_SET "on" 0.0;
38551                                    target: "icon";
38552                                    target: "on";
38553                                 }
38554                                 program { name: "state_off";
38555                                    signal: "e,state,vkbd,off";
38556                                    source: "e";
38557                                    action: STATE_SET "default" 0.0;
38558                                    target: "icon";
38559                                    target: "on";
38560                                 }
38561                         }
38562                         part { name: "on";
38563                                 type: RECT;
38564                                 mouse_events: 1;
38565                                 description { state: "default" 0.0;
38566                                         visible: 0;
38567                                         color: 0 0 0 0;
38568                                         rel1.to: "button_image";
38569                                         rel2.to: "button_image";
38570                                 }
38571                                 description { state: "on" 0.0;
38572                                         inherit: "default" 0.0;
38573                                         visible: 1;
38574                                 }
38575                                 program { name: "disable";
38576                                         signal: "mouse,clicked,1";
38577                                         source: "on";
38578                                         action: SIGNAL_EMIT "e,action,vkbd,disable" "";
38579                                 }
38580                         }
38581                         part {
38582                                 name: "over1";
38583                                 mouse_events: 0;
38584                                 description {
38585                                         state: "default" 0.0;
38586                                         rel1.to: "button_image";
38587                                         rel2.to: "button_image";
38588                                         rel2.relative: 1.0 0.5;
38589                                         image {
38590                                                 normal: "bt_hilight.png";
38591                                                 border: 7 7 7 0;
38592                                         }
38593                                 }
38594                         }
38595                         part {
38596                                 name: "over2";
38597                                 mouse_events: 0;
38598                                 description {
38599                                         state: "default" 0.0;
38600                                         rel1.to: "button_image";
38601                                         rel2.to: "button_image";
38602                                         image {
38603                                                 normal: "bt_shine.png";
38604                                                 border: 7 7 7 7;
38605                                         }
38606                                 }
38607                         }
38608                         part {
38609                                 name: "over3";
38610                                 mouse_events: 0;
38611                                 description {
38612                                         state: "default" 0.0;
38613                                         rel1.to: "button_image";
38614                                         rel2.to: "button_image";
38615                                         visible: 0;
38616                                         color: 255 255 255 0;
38617                                         image {
38618                                                 normal: "bt_glow.png";
38619                                                 border: 12 12 12 12;
38620                                         }
38621                                         fill.smooth : 0;
38622                                 }
38623                                 description {
38624                                         state: "clicked" 0.0;
38625                                         inherit: "default" 0.0;
38626                                         visible: 1;
38627                                         color: 255 255 255 255;
38628                                 }
38629                         }
38630                 }
38631         }
38632
38633 /////////////////////////////////////////////////////////////////////////////
38634 /*** MOD: ILLUME-MODE-TOGGLE ***/
38635
38636         group {
38637                 name: "e/modules/illume_mode_toggle/main";
38638                 images.image: "illume-mode-single.png" COMP;
38639                 images.image: "illume-mode-dual-left.png" COMP;
38640                 images.image: "illume-mode-dual-top.png" COMP;
38641                 images {
38642                         image: "bt_base1.png" COMP;
38643                         image: "bt_base2.png" COMP;
38644                         image: "bt_hilight.png" COMP;
38645                         image: "bt_shine.png" COMP;
38646                         image: "bt_glow.png" COMP;
38647                 }
38648                 min: 16 16;
38649                 max: 128 128;
38650                 parts {
38651                         part {
38652                                 name: "button_image";
38653                                 mouse_events: 1;
38654                                 scale: 1;
38655                                 description {
38656                                         state: "default" 0.0;
38657                                         fixed: 1 1;
38658                                         align: 0.5 0.5;
38659                                         min: 32 16;
38660                                         image {
38661                                                 normal: "bt_base2.png";
38662                                                 border: 7 7 7 7;
38663                                         }
38664                                 }
38665                                 description {
38666                                         state: "clicked" 0.0;
38667                                         inherit: "default" 0.0;
38668                                         image.normal: "bt_base1.png";
38669                                 }
38670                                 program {
38671                                         name: "button_down";
38672                                         signal: "mouse,down,1";
38673                                         source: "button_image";
38674                                         action: STATE_SET "clicked" 0.0;
38675                                         target: "button_image";
38676                                         target: "over3";
38677                                 }
38678                                 program {
38679                                         name: "button_up";
38680                                         signal: "mouse,up,1";
38681                                         source: "button_image";
38682                                         action: STATE_SET "default" 0.0;
38683                                         target: "button_image";
38684                                         target: "over3";
38685                                 }
38686                                 program {
38687                                         name: "enable";
38688                                         signal: "mouse,clicked,1";
38689                                         source: "button_image";
38690                                         action: SIGNAL_EMIT "e,action,mode,dual,top" "";
38691                                 }
38692                         }
38693                         part {
38694                                 name: "icon";
38695                                 mouse_events: 0;
38696                                 description {
38697                                         state: "default" 0.0;
38698                                         aspect: 1.0 1.0;
38699                                         aspect_preference: BOTH;
38700                                         image.normal: "illume-mode-single.png";
38701                                         rel1 {
38702                                                 to: "button_image";
38703                                                 relative: 0.0  0.0;
38704                                                 offset: 3    3;
38705                                         }
38706                                         rel2 {
38707                                                 relative: 1.0  1.0;
38708                                                 offset: -4   -4;
38709                                                 to: "button_image";
38710                                         }
38711                                 }
38712                                 description { state: "dual_left" 0.0;
38713                                         inherit: "default" 0.0;
38714                                         image.normal: "illume-mode-dual-left.png";
38715                                 }
38716                                 description { state: "dual_top" 0.0;
38717                                         inherit: "default" 0.0;
38718                                         image.normal: "illume-mode-dual-top.png";
38719                                 }
38720                                 program { name: "state_single";
38721                                    signal: "e,mode,single";
38722                                    source: "e";
38723                                    action: STATE_SET "default" 0.0;
38724                                    target: "icon";
38725                                    target: "dual_left";
38726                                    target: "dual_top";
38727                                 }
38728                                 program { name: "state_dual_left";
38729                                    signal: "e,mode,dual,left";
38730                                    source: "e";
38731                                    action: STATE_SET "dual_left" 0.0;
38732                                    target: "icon";
38733                                    target: "dual_left";
38734                                    target: "dual_top";
38735                                 }
38736                                 program { name: "state_dual_top";
38737                                    signal: "e,mode,dual,top";
38738                                    source: "e";
38739                                    action: STATE_SET "dual_top" 0.0;
38740                                    target: "icon";
38741                                    target: "dual_left";
38742                                    target: "dual_top";
38743                                 }
38744                         }
38745                         part { name: "dual_top";
38746                                 type: RECT;
38747                                 mouse_events: 1;
38748                                 description { state: "default" 0.0;
38749                                         visible: 0;
38750                                         color: 0 0 0 0;
38751                                         rel1.to: "button_image";
38752                                         rel2.to: "button_image";
38753                                 }
38754                                 description { state: "dual_top" 0.0;
38755                                         inherit: "default" 0.0;
38756                                         visible: 1;
38757                                 }
38758                                 description { state: "dual_left" 0.0;
38759                                         inherit: "default" 0.0;
38760                                         visible: 0;
38761                                 }
38762                                 program { name: "dual_top";
38763                                         signal: "mouse,clicked,1";
38764                                         source: "dual_top";
38765                                         action: SIGNAL_EMIT "e,action,mode,dual,left" "";
38766                                 }
38767                         }
38768                         part { name: "dual_left";
38769                                 type: RECT;
38770                                 mouse_events: 1;
38771                                 description { state: "default" 0.0;
38772                                         visible: 0;
38773                                         color: 0 0 0 0;
38774                                         rel1.to: "button_image";
38775                                         rel2.to: "button_image";
38776                                 }
38777                                 description { state: "dual_top" 0.0;
38778                                         inherit: "default" 0.0;
38779                                         visible: 0;
38780                                 }
38781                                 description { state: "dual_left" 0.0;
38782                                         inherit: "default" 0.0;
38783                                         visible: 1;
38784                                 }
38785                                 program { name: "dual_left";
38786                                         signal: "mouse,clicked,1";
38787                                         source: "dual_left";
38788                                         action: SIGNAL_EMIT "e,action,mode,single" "";
38789                                 }
38790                         }
38791                         part {
38792                                 name: "over1";
38793                                 mouse_events: 0;
38794                                 description {
38795                                         state: "default" 0.0;
38796                                         rel1.to: "button_image";
38797                                         rel2.to: "button_image";
38798                                         rel2.relative: 1.0 0.5;
38799                                         image {
38800                                                 normal: "bt_hilight.png";
38801                                                 border: 7 7 7 0;
38802                                         }
38803                                 }
38804                         }
38805                         part {
38806                                 name: "over2";
38807                                 mouse_events: 0;
38808                                 description {
38809                                         state: "default" 0.0;
38810                                         rel1.to: "button_image";
38811                                         rel2.to: "button_image";
38812                                         image {
38813                                                 normal: "bt_shine.png";
38814                                                 border: 7 7 7 7;
38815                                         }
38816                                 }
38817                         }
38818                         part {
38819                                 name: "over3";
38820                                 mouse_events: 0;
38821                                 description {
38822                                         state: "default" 0.0;
38823                                         rel1.to: "button_image";
38824                                         rel2.to: "button_image";
38825                                         visible: 0;
38826                                         color: 255 255 255 0;
38827                                         image {
38828                                                 normal: "bt_glow.png";
38829                                                 border: 12 12 12 12;
38830                                         }
38831                                         fill.smooth : 0;
38832                                 }
38833                                 description {
38834                                         state: "clicked" 0.0;
38835                                         inherit: "default" 0.0;
38836                                         visible: 1;
38837                                         color: 255 255 255 255;
38838                                 }
38839                         }
38840                 }
38841         }
38842
38843 /////////////////////////////////////////////////////////////////////////////
38844 /*** MOD: COMP ***/
38845
38846    group { name: "e/modules/comp/preview";
38847       parts {
38848          part { name: "e.swallow.preview";
38849             type: SWALLOW;
38850             mouse_events: 0;
38851             description { state: "default" 0.0; }
38852          }
38853          part { name: "e.text.label";
38854             type: TEXT;
38855             effect: SOFT_SHADOW;
38856             mouse_events: 0;
38857             scale: 1;
38858             description { state: "default" 0.0;
38859                fixed: 0 1;
38860                color: 224 224 224 255;
38861                color3: 0 0 0 32;
38862                text {
38863                   font: "Sans:style=Bold";
38864                   size: 10;
38865                   min: 1 1;
38866                   align: 0.5 0.5;
38867                   text_class: "fileman_icon";
38868                }
38869             }
38870          }
38871       }
38872    }
38873
38874    group { name: "e/comp/default";
38875       images {
38876          image: "comp-sh1.png" COMP;
38877          image: "bt_glow.png" COMP;
38878       }
38879       parts {
38880          part { name: "focus-clipper";
38881             type: RECT;
38882             mouse_events: 0;
38883             description { state: "default" 0.0;
38884                color_class: "comp_focus-out_color";
38885                rel1 {
38886                   relative: -1.0  -1.0;
38887                   offset: -9999 -9999;
38888                }
38889                rel2 {
38890                   relative: 2.0   2.0;
38891                   offset: 9999  9999;
38892                }
38893             }
38894             description { state: "focused" 0.0;
38895                inherit: "default" 0.0;
38896                color_class: "";
38897                color: 255 255 255 255;
38898             }
38899          }
38900          part { name: "clipper";
38901             type: RECT;
38902             mouse_events: 0;
38903             clip_to: "focus-clipper";
38904             description { state: "default" 0.0;
38905                visible: 0;
38906                color: 255 255 255 0;
38907                rel1 {
38908                   relative: -1.0  -1.0;
38909                   offset: -9999 -9999;
38910                }
38911                rel2 {
38912                   relative: 2.0   2.0;
38913                   offset: 9999  9999;
38914                }
38915             }
38916             description { state: "visible" 0.0;
38917                inherit: "default" 0.0;
38918                visible: 1;
38919                color: 255 255 255 255;
38920             }
38921          }
38922          part { name: "shadow";
38923             mouse_events: 0;
38924             clip_to: "clipper";
38925             description { state: "default" 0.0;
38926                image {
38927                   normal: "comp-sh1.png";
38928                   border: 18 18 18 18;
38929                   middle: 0;
38930                }
38931                fill.smooth: 0;
38932                rel1 {
38933                   to: "e.swallow.content";
38934                   relative: 0.0  0.0;
38935                   offset: -16  -14;
38936                }
38937                rel2 {
38938                   to: "e.swallow.content";
38939                   relative: 1.0  1.0;
38940                   offset: 15   17;
38941                }
38942             }
38943             description { state: "hidden" 0.0;
38944                inherit: "default" 0.0;
38945                visible: 0;
38946             }
38947          }
38948          part { name: "shower";
38949             type: RECT;
38950             mouse_events: 0;
38951             description { state: "default" 0.0;
38952                visible: 0;
38953                rel1 {
38954                   relative: 0.05  0.05;
38955                   offset: 0    0;
38956                }
38957                rel2 {
38958                   relative: 0.95  0.95;
38959                   offset: -1   -1;
38960                }
38961             }
38962             description { state: "visible" 0.0;
38963                inherit: "default" 0.0;
38964                rel1 {
38965                   relative: 0.0  0.0;
38966                }
38967                rel2 {
38968                   relative: 1.0  1.0;
38969                }
38970             }
38971          }
38972          part { name: "e.swallow.content";
38973             type: SWALLOW;
38974             clip_to: "clipper";
38975             mouse_events: 0;
38976             description { state: "default" 0.0;
38977                rel1 {
38978                   to: "shower";
38979                }
38980                rel2 {
38981                   to: "shower";
38982                }
38983             }
38984             description { state: "focus1" 0.0;
38985                inherit: "default" 0.0;
38986                rel1.offset: -10 -10;
38987                rel2.offset: 9   9;
38988             }
38989             description { state: "focus2" 0.0;
38990                inherit: "default" 0.0;
38991                rel1.offset: 4   4;
38992                rel2.offset: -5  -5;
38993             }
38994             description { state: "focus3" 0.0;
38995                inherit: "default" 0.0;
38996                rel1.offset: -3  -3;
38997                rel2.offset: 2   2;
38998             }
38999             description { state: "focus4" 0.0;
39000                inherit: "default" 0.0;
39001                rel1.offset: 1   1;
39002                rel2.offset: -2  -2;
39003             }
39004          }
39005          part { name: "glow";
39006             mouse_events: 0;
39007             description { state: "default" 0.0;
39008                visible: 0;
39009                rel1.to: "e.swallow.content";
39010                rel1.offset: -3 -3;
39011                rel2.to: "e.swallow.content";
39012                rel2.offset: 2  2;
39013                color: 255 255 255 0;
39014                image {
39015                   normal: "bt_glow.png";
39016                   border: 8 8 8 8;
39017                   middle: 0;
39018                }
39019                fill.smooth: 0;
39020             }
39021             description { state: "active" 0.0;
39022                inherit: "default" 0.0;
39023                visible: 1;
39024                color: 255 255 255 255;
39025             }
39026             description { state: "faded" 0.0;
39027                inherit: "default" 0.0;
39028                visible: 1;
39029                color: 255 255 255 0;
39030                rel1.offset: -23 -22;
39031                rel2.offset: 22  22;
39032             }
39033          }
39034       }
39035       programs {
39036          program { name: "shadow-on";
39037             signal: "e,state,shadow,on";
39038             source: "e";
39039             action: STATE_SET "default" 0.0;
39040             target: "shadow";
39041          }
39042          program { name: "shadow-off";
39043             signal: "e,state,shadow,off";
39044             source: "e";
39045             action: STATE_SET "hidden" 0.0;
39046             target: "shadow";
39047          }
39048          program { name: "show1";
39049             signal: "e,state,visible,on";
39050             source: "e";
39051             action: STATE_SET "visible" 0.0;
39052             transition: DECELERATE 0.15;
39053             target: "clipper";
39054             target: "shower";
39055             after: "show2";
39056          }
39057          program { name: "show2";
39058             action: SIGNAL_EMIT "e,action,show,done" "e";
39059          }
39060          program { name: "hide1";
39061             signal: "e,state,visible,off";
39062             source: "e";
39063             action: STATE_SET "default" 0.0;
39064             transition: DECELERATE 0.30;
39065             target: "clipper";
39066             target: "shower";
39067             after: "hide2";
39068          }
39069          program { name: "hide2";
39070             action: SIGNAL_EMIT "e,action,hide,done" "e";
39071          }
39072          program { name: "focus";
39073             signal: "e,state,focus,on";
39074             source: "e";
39075             action: STATE_SET "focused" 0.0;
39076             transition: SINUSOIDAL 0.2;
39077             target: "focus-clipper";
39078          }
39079          program { name: "unfocus";
39080             signal: "e,state,focus,off";
39081             source: "e";
39082             action: STATE_SET "default" 0.0;
39083             transition: SINUSOIDAL 0.5;
39084             target: "focus-clipper";
39085          }
39086          program { name: "focus1";
39087             signal: "e,state,focus,on";
39088             source: "e";
39089             action: STATE_SET "focus1" 0.0;
39090             transition: SINUSOIDAL 0.1;
39091             target: "e.swallow.content";
39092             after: "focus2";
39093          }
39094          program { name: "focus2";
39095             action: STATE_SET "focus2" 0.0;
39096             transition: SINUSOIDAL 0.1;
39097             target: "e.swallow.content";
39098             after: "focus3";
39099          }
39100          program { name: "focus3";
39101             action: STATE_SET "focus3" 0.0;
39102             transition: SINUSOIDAL 0.1;
39103             target: "e.swallow.content";
39104             after: "focus4";
39105          }
39106          program { name: "focus4";
39107             action: STATE_SET "focus4" 0.0;
39108             transition: SINUSOIDAL 0.1;
39109             target: "e.swallow.content";
39110             after: "focus5";
39111          }
39112          program { name: "focus5";
39113             action: STATE_SET "default" 0.0;
39114             transition: SINUSOIDAL 0.1;
39115             target: "e.swallow.content";
39116          }
39117          program { name: "urgent-on";
39118             signal: "e,state,urgent,on";
39119             source: "e";
39120             action: STATE_SET "active" 0.0;
39121             target: "glow";
39122             after: "urgent2";
39123          }
39124          program { name: "urgent2";
39125             action: STATE_SET "faded" 0.0;
39126             transition: DECELERATE 0.5;
39127             target: "glow";
39128             after: "urgent-on";
39129          }
39130          program { name: "urgent-off";
39131             signal: "e,state,urgent,off";
39132             source: "e";
39133             action: STATE_SET "default" 0.0;
39134             target: "glow";
39135          }
39136       }
39137    }
39138 //----
39139    group { name: "e/comp/none";
39140       parts {
39141          part { name: "e.swallow.content";
39142             type: SWALLOW;
39143             mouse_events: 0;
39144             description { state: "default" 0.0;
39145             }
39146          }
39147       }
39148       programs {
39149          program { name: "show1";
39150             signal: "e,state,visible,on";
39151             source: "e";
39152             action: SIGNAL_EMIT "e,action,show,done" "e";
39153          }
39154          program { name: "hide1";
39155             signal: "e,state,visible,off";
39156             source: "e";
39157             action: SIGNAL_EMIT "e,action,hide,done" "e";
39158          }
39159       }
39160    }
39161 //----
39162    group { name: "e/comp/still";
39163       images {
39164          image: "comp-sh1.png" COMP;
39165       }
39166       parts {
39167          part { name: "shadow";
39168             mouse_events: 0;
39169             description { state: "default" 0.0;
39170                image {
39171                   normal: "comp-sh1.png";
39172                   border: 18 18 18 18;
39173                   middle: 0;
39174                }
39175                fill {
39176                   smooth: 0;
39177                }
39178                rel1 {
39179                   to: "e.swallow.content";
39180                   relative: 0.0  0.0;
39181                   offset: -16  -14;
39182                }
39183                rel2 {
39184                   to: "e.swallow.content";
39185                   relative: 1.0  1.0;
39186                   offset: 15   17;
39187                }
39188             }
39189             description { state: "hidden" 0.0;
39190                inherit: "default" 0.0;
39191                visible: 0;
39192             }
39193          }
39194          part { name: "focus-clipper";
39195             type: RECT;
39196             mouse_events: 0;
39197             description { state: "default" 0.0;
39198                color_class: "comp_focus-out_color";
39199                rel1 {
39200                   relative: -1.0  -1.0;
39201                   offset: -9999 -9999;
39202                }
39203                rel2 {
39204                   relative: 2.0   2.0;
39205                   offset: 9999  9999;
39206                }
39207             }
39208             description { state: "focused" 0.0;
39209                inherit: "default" 0.0;
39210                color_class: "";
39211                color: 255 255 255 255;
39212             }
39213          }
39214          part { name: "e.swallow.content";
39215             type: SWALLOW;
39216             mouse_events: 0;
39217             clip_to: "focus-clipper";
39218             description { state: "default" 0.0;
39219             }
39220          }
39221       }
39222       programs {
39223          program { name: "shadow-on";
39224             signal: "e,state,shadow,on";
39225             source: "e";
39226             action: STATE_SET "default" 0.0;
39227             target: "shadow";
39228          }
39229          program { name: "shadow-off";
39230             signal: "e,state,shadow,off";
39231             source: "e";
39232             action: STATE_SET "hidden" 0.0;
39233             target: "shadow";
39234          }
39235          program { name: "show1";
39236             signal: "e,state,visible,on";
39237             source: "e";
39238             action: SIGNAL_EMIT "e,action,show,done" "e";
39239          }
39240          program { name: "hide1";
39241             signal: "e,state,visible,off";
39242             source: "e";
39243             action: SIGNAL_EMIT "e,action,hide,done" "e";
39244          }
39245          program { name: "focus";
39246             signal: "e,state,focus,on";
39247             source: "e";
39248             action: STATE_SET "focused" 0.0;
39249             transition: SINUSOIDAL 0.2;
39250             target: "focus-clipper";
39251          }
39252          program { name: "unfocus";
39253             signal: "e,state,focus,off";
39254             source: "e";
39255             action: STATE_SET "default" 0.0;
39256             transition: SINUSOIDAL 0.5;
39257             target: "focus-clipper";
39258          }
39259       }
39260    }
39261 //----
39262    group { name: "e/comp/popup";
39263       images {
39264          image: "comp-sh1.png" COMP;
39265       }
39266       parts {
39267          part { name: "clipper";
39268             type: RECT;
39269             mouse_events: 0;
39270             description { state: "default" 0.0;
39271                visible: 0;
39272                color: 255 255 255 0;
39273                rel1 {
39274                   relative: -1.0  -1.0;
39275                   offset: -9999 -9999;
39276                }
39277                rel2 {
39278                   relative: 2.0   2.0;
39279                   offset: 9999  9999;
39280                }
39281             }
39282             description { state: "visible" 0.0;
39283                inherit: "default" 0.0;
39284                visible: 1;
39285                color: 255 255 255 255;
39286             }
39287          }
39288          part { name: "shadow";
39289             mouse_events: 0;
39290             clip_to: "clipper";
39291             description { state: "default" 0.0;
39292                image {
39293                   normal: "comp-sh1.png";
39294                   border: 18 18 18 18;
39295                   middle: 0;
39296                }
39297                fill.smooth: 0;
39298                rel1 {
39299                   to: "e.swallow.content";
39300                   relative: 0.0  0.0;
39301                   offset: -16  -14;
39302                }
39303                rel2 {
39304                   to: "e.swallow.content";
39305                   relative: 1.0  1.0;
39306                   offset: 15   17;
39307                }
39308             }
39309             description { state: "hidden" 0.0;
39310                inherit: "default" 0.0;
39311                visible: 0;
39312             }
39313          }
39314          part { name: "shower";
39315             type: RECT;
39316             mouse_events: 0;
39317             description { state: "default" 0.0;
39318                visible: 0;
39319                rel1 {
39320                   relative: 0.05  0.05;
39321                   offset: 0    0;
39322                }
39323                rel2 {
39324                   relative: 0.95  0.95;
39325                   offset: -1   -1;
39326                }
39327             }
39328             description { state: "visible" 0.0;
39329                inherit: "default" 0.0;
39330                rel1 {
39331                   relative: 0.0  0.0;
39332                }
39333                rel2 {
39334                   relative: 1.0  1.0;
39335                }
39336             }
39337          }
39338          part { name: "e.swallow.content";
39339             type: SWALLOW;
39340             clip_to: "clipper";
39341             mouse_events: 0;
39342             description { state: "default" 0.0;
39343                rel1 {
39344                   to: "shower";
39345                }
39346                rel2 {
39347                   to: "shower";
39348                }
39349             }
39350          }
39351       }
39352       programs {
39353          program { name: "shadow-on";
39354             signal: "e,state,shadow,on";
39355             source: "e";
39356             action: STATE_SET "default" 0.0;
39357             target: "shadow";
39358          }
39359          program { name: "shadow-off";
39360             signal: "e,state,shadow,off";
39361             source: "e";
39362             action: STATE_SET "hidden" 0.0;
39363             target: "shadow";
39364          }
39365          program { name: "show1";
39366             signal: "e,state,visible,on";
39367             source: "e";
39368             action: STATE_SET "visible" 0.0;
39369             transition: DECELERATE 0.15;
39370             target: "clipper";
39371             target: "shower";
39372             after: "show2";
39373          }
39374          program { name: "show2";
39375             action: SIGNAL_EMIT "e,action,show,done" "e";
39376          }
39377          program { name: "hide1";
39378             signal: "e,state,visible,off";
39379             source: "e";
39380             action: STATE_SET "default" 0.0;
39381             transition: DECELERATE 0.30;
39382             target: "clipper";
39383             target: "shower";
39384             after: "hide2";
39385          }
39386          program { name: "hide2";
39387             action: SIGNAL_EMIT "e,action,hide,done" "e";
39388          }
39389       }
39390    }
39391 //----
39392    group { name: "e/comp/menu";
39393       images {
39394          image: "comp-sh1.png" COMP;
39395       }
39396       parts {
39397          part { name: "clipper";
39398             type: RECT;
39399             mouse_events: 0;
39400             description { state: "default" 0.0;
39401                visible: 0;
39402                color: 255 255 255 0;
39403                rel1 {
39404                   relative: -1.0  -1.0;
39405                   offset: -9999 -9999;
39406                }
39407                rel2 {
39408                   relative: 2.0   2.0;
39409                   offset: 9999  9999;
39410                }
39411             }
39412             description { state: "visible" 0.0;
39413                inherit: "default" 0.0;
39414                visible: 1;
39415                color: 255 255 255 255;
39416             }
39417          }
39418          part { name: "shadow";
39419             mouse_events: 0;
39420             clip_to: "clipper";
39421             description { state: "default" 0.0;
39422                image {
39423                   normal: "comp-sh1.png";
39424                   border: 18 18 18 18;
39425                   middle: 0;
39426                }
39427                fill.smooth: 0;
39428                rel1 {
39429                   to: "e.swallow.content";
39430                   relative: 0.0  0.0;
39431                   offset: -16  -14;
39432                }
39433                rel2 {
39434                   to: "e.swallow.content";
39435                   relative: 1.0  1.0;
39436                   offset: 15   17;
39437                }
39438             }
39439             description { state: "hidden" 0.0;
39440                inherit: "default" 0.0;
39441                visible: 0;
39442             }
39443          }
39444          part { name: "shower";
39445             type: RECT;
39446             mouse_events: 0;
39447             description { state: "default" 0.0;
39448                visible: 0;
39449                rel1 {
39450                   relative: 0.1  0.0;
39451                   offset: 0    0;
39452                }
39453                rel2 {
39454                   relative: 0.9  0.8;
39455                   offset: -1   -1;
39456                }
39457             }
39458             description { state: "visible" 0.0;
39459                inherit: "default" 0.0;
39460                rel1 {
39461                   relative: 0.0  0.0;
39462                }
39463                rel2 {
39464                   relative: 1.0  1.0;
39465                }
39466             }
39467          }
39468          part { name: "e.swallow.content";
39469             type: SWALLOW;
39470             clip_to: "clipper";
39471             mouse_events: 0;
39472             description { state: "default" 0.0;
39473                rel1 {
39474                   to: "shower";
39475                }
39476                rel2 {
39477                   to: "shower";
39478                }
39479             }
39480          }
39481       }
39482       programs {
39483          program { name: "shadow-on";
39484             signal: "e,state,shadow,on";
39485             source: "e";
39486             action: STATE_SET "default" 0.0;
39487             target: "shadow";
39488          }
39489          program { name: "shadow-off";
39490             signal: "e,state,shadow,off";
39491             source: "e";
39492             action: STATE_SET "hidden" 0.0;
39493             target: "shadow";
39494          }
39495          program { name: "show1";
39496             signal: "e,state,visible,on";
39497             source: "e";
39498             action: STATE_SET "visible" 0.0;
39499             transition: DECELERATE 0.15;
39500             target: "clipper";
39501             target: "shower";
39502             after: "show2";
39503          }
39504          program { name: "show2";
39505             action: SIGNAL_EMIT "e,action,show,done" "e";
39506          }
39507          program { name: "hide1";
39508             signal: "e,state,visible,off";
39509             source: "e";
39510             action: STATE_SET "default" 0.0;
39511             transition: DECELERATE 0.30;
39512             target: "clipper";
39513             target: "shower";
39514             after: "hide2";
39515          }
39516          program { name: "hide2";
39517             action: SIGNAL_EMIT "e,action,hide,done" "e";
39518          }
39519       }
39520    }
39521    group { name: "e/comp/everything";
39522       images {
39523          image: "comp-sh1.png" COMP;
39524       }
39525       parts {
39526         part { name: "clipper";
39527         type: RECT;
39528         mouse_events: 0;
39529         clip_to: "clipper2";
39530           description { state: "default" 0.0;
39531           visible: 0;
39532           color: 255 255 255 0;
39533             rel1 {
39534             relative: -1.0  -1.0;
39535             offset: -9999 -9999;
39536             }
39537             rel2 {
39538             relative: 2.0   2.0;
39539             offset: 9999  9999;
39540             }
39541           }
39542           description { state: "visible" 0.0;
39543           inherit: "default" 0.0;
39544           visible: 1;
39545           color: 255 255 255 255;
39546           }
39547           description { state: "big" 0.0;
39548           inherit: "default" 0.0;
39549           color: 255 255 255 0;
39550           }
39551         }
39552         part { name: "clipper2";
39553         type: RECT;
39554         mouse_events: 0;
39555           description { state: "default" 0.0;
39556           color: 255 255 255 255;
39557           rel1.to: "clipper";
39558           rel2.to: "clipper";
39559           }
39560           description { state: "visible" 0.0;
39561           inherit: "default" 0.0;
39562           }
39563           description { state: "big" 0.0;
39564           inherit: "default" 0.0;
39565           color: 255 255 255 0;
39566           }
39567         }
39568         part { name: "shadow";
39569         mouse_events: 0;
39570         clip_to: "clipper";
39571           description { state: "default" 0.0;
39572             image {
39573             normal: "comp-sh1.png";
39574             border: 18 18 18 18;
39575             middle: 0;
39576             }
39577           fill.smooth: 0;
39578             rel1 {
39579             to: "e.swallow.content";
39580             relative: 0.0  0.0;
39581             offset: -16  -14;
39582             }
39583             rel2 {
39584             to: "e.swallow.content";
39585             relative: 1.0  1.0;
39586             offset: 15   17;
39587             }
39588           }
39589           description { state: "hidden" 0.0;
39590           inherit: "default" 0.0;
39591           visible: 0;
39592           }
39593         }
39594         part { name: "shower";
39595         type: RECT;
39596         mouse_events: 0;
39597           description { state: "default" 0.0;
39598           visible: 0;
39599             rel1 {
39600             relative: 0.05  0.05;
39601             offset: 0    0;
39602             }
39603             rel2 {
39604             relative: 0.95  0.95;
39605             offset: -1   -1;
39606             }
39607           }
39608           description { state: "visible" 0.0;
39609           inherit: "default" 0.0;
39610             rel1 {
39611             relative: 0.0  0.0;
39612             }
39613             rel2 {
39614             relative: 1.0  1.0;
39615             }
39616           }
39617           description { state: "big" 0.0;
39618           inherit: "default" 0.0;
39619             rel1 {
39620             relative: -0.3  -0.3;
39621             }
39622             rel2 {
39623             relative: 1.3  1.3;
39624             }
39625           }
39626         }
39627         part { name: "e.swallow.content";
39628         type: SWALLOW;
39629         clip_to: "clipper";
39630         mouse_events: 0;
39631           description { state: "default" 0.0;
39632             rel1 {
39633             to: "shower";
39634             }
39635             rel2 {
39636             to: "shower";
39637             }
39638           }
39639         }
39640       }
39641      programs {
39642        program { name: "shadow-on";
39643        signal: "e,state,shadow,on";
39644        source: "e";
39645        action: STATE_SET "default" 0.0;
39646        target: "shadow";
39647        }
39648        program { name: "shadow-off";
39649        signal: "e,state,shadow,off";
39650        source: "e";
39651        action: STATE_SET "hidden" 0.0;
39652        target: "shadow";
39653        }
39654        program { name: "show1";
39655        signal: "e,state,visible,on";
39656        source: "e";
39657        action: STATE_SET "visible" 0.0;
39658        transition: DECELERATE 0.05;
39659        target: "clipper";
39660        target: "clipper2";
39661        target: "shower";
39662        after: "show2";
39663        }
39664        program { name: "show2";
39665        action: SIGNAL_EMIT "e,action,show,done" "e";
39666        }
39667        program { name: "hide1";
39668        signal: "e,state,visible,off";
39669        source: "e";
39670        action: STATE_SET "big" 0.0;
39671        transition: ACCELERATE 0.25;
39672        target: "clipper";
39673        target: "clipper2";
39674        target: "shower";
39675        after: "hide2";
39676        }
39677        program { name: "hide2";
39678        action: STATE_SET "default" 0.0;
39679        target: "clipper";
39680        target: "clipper2";
39681        target: "shower";
39682        after: "hide3";         
39683        }
39684        program { name: "hide3";
39685        action: SIGNAL_EMIT "e,action,hide,done" "e";
39686        }
39687      }
39688    }
39689
39690    //----
39691 /*
39692    group { name: "e/comp/slow";
39693       images {
39694          image: "comp-sh1.png" COMP;
39695       }
39696       parts {
39697          part { name: "clipper";
39698             type: RECT;
39699             mouse_events: 0;
39700             description { state: "default" 0.0;
39701                visible: 0;
39702                color: 255 255 255 0;
39703                rel1 {
39704                   relative: -1.0  -1.0;
39705                   offset: -9999 -9999;
39706                }
39707                rel2 {
39708                   relative: 2.0   2.0;
39709                   offset: 9999  9999;
39710                }
39711             }
39712             description { state: "visible" 0.0;
39713                inherit: "default" 0.0;
39714                visible: 1;
39715                color: 255 255 255 255;
39716             }
39717          }
39718          part { name: "shadow";
39719             mouse_events: 0;
39720             clip_to: "clipper";
39721             description { state: "default" 0.0;
39722                image {
39723                   normal: "comp-sh1.png";
39724                   border: 18 18 18 18;
39725                   middle: 0;
39726                }
39727                fill {
39728                   smooth: 0;
39729                }
39730                rel1 {
39731                   to: "e.swallow.content";
39732                   relative: 0.0  0.0;
39733                   offset: -16  -14;
39734                }
39735                rel2 {
39736                   to: "e.swallow.content";
39737                   relative: 1.0  1.0;
39738                   offset: 15   17;
39739                }
39740             }
39741             description { state: "hidden" 0.0;
39742                inherit: "default" 0.0;
39743                visible: 0;
39744             }
39745          }
39746          part { name: "e.swallow.content";
39747             type: SWALLOW;
39748             clip_to: "clipper";
39749             mouse_events: 0;
39750             description { state: "default" 0.0;
39751                rel1 {
39752                   relative: 0.05  0.05;
39753                   offset: 0    0;
39754                }
39755                rel2 {
39756                   relative: 0.95  0.95;
39757                   offset: -1   -1;
39758                }
39759             }
39760             description { state: "visible" 0.0;
39761                inherit: "default" 0.0;
39762                rel1 {
39763                   relative: 0.0  0.0;
39764                }
39765                rel2 {
39766                   relative: 1.0  1.0;
39767                }
39768             }
39769          }
39770       }
39771       programs {
39772          program { name: "shadow-on";
39773             signal: "e,state,shadow,on";
39774             source: "e";
39775             action: STATE_SET "default" 0.0;
39776             target: "shadow";
39777          }
39778          program { name: "shadow-off";
39779             signal: "e,state,shadow,off";
39780             source: "e";
39781             action: STATE_SET "hidden" 0.0;
39782             target: "shadow";
39783          }
39784          program { name: "show1";
39785             signal: "e,state,visible,on";
39786             source: "e";
39787             action: STATE_SET "visible" 0.0;
39788             transition: DECELERATE 0.4;
39789             target: "clipper";
39790             target: "e.swallow.content";
39791             after: "show2";
39792          }
39793          program { name: "show2";
39794             action: SIGNAL_EMIT "e,action,show,done" "e";
39795          }
39796          program { name: "hide1";
39797             signal: "e,state,visible,off";
39798             source: "e";
39799             action: STATE_SET "default" 0.0;
39800             transition: DECELERATE 0.8;
39801             target: "clipper";
39802             target: "e.swallow.content";
39803             after: "hide2";
39804          }
39805          program { name: "hide2";
39806             action: SIGNAL_EMIT "e,action,hide,done" "e";
39807          }
39808       }
39809    }
39810 //----
39811    group { name: "e/comp/fast";
39812       images {
39813          image: "comp-sh1.png" COMP;
39814       }
39815       parts {
39816          part { name: "clipper";
39817             type: RECT;
39818             mouse_events: 0;
39819             description { state: "default" 0.0;
39820                visible: 0;
39821                color: 255 255 255 0;
39822                rel1 {
39823                   relative: -1.0  -1.0;
39824                   offset: -9999 -9999;
39825                }
39826                rel2 {
39827                   relative: 2.0   2.0;
39828                   offset: 9999  9999;
39829                }
39830             }
39831             description { state: "visible" 0.0;
39832                inherit: "default" 0.0;
39833                visible: 1;
39834                color: 255 255 255 255;
39835             }
39836          }
39837          part { name: "shadow";
39838             mouse_events: 0;
39839             clip_to: "clipper";
39840             description { state: "default" 0.0;
39841                image {
39842                   normal: "comp-sh1.png";
39843                   border: 18 18 18 18;
39844                   middle: 0;
39845                }
39846                fill {
39847                   smooth: 0;
39848                }
39849                rel1 {
39850                   to: "e.swallow.content";
39851                   relative: 0.0  0.0;
39852                   offset: -16  -14;
39853                }
39854                rel2 {
39855                   to: "e.swallow.content";
39856                   relative: 1.0  1.0;
39857                   offset: 15   17;
39858                }
39859             }
39860             description { state: "hidden" 0.0;
39861                inherit: "default" 0.0;
39862                visible: 0;
39863             }
39864          }
39865          part { name: "e.swallow.content";
39866             type: SWALLOW;
39867             clip_to: "clipper";
39868             mouse_events: 0;
39869             description { state: "default" 0.0;
39870                rel1 {
39871                   relative: 0.05  0.05;
39872                   offset: 0    0;
39873                }
39874                rel2 {
39875                   relative: 0.95  0.95;
39876                   offset: -1   -1;
39877                }
39878             }
39879             description { state: "visible" 0.0;
39880                inherit: "default" 0.0;
39881                rel1 {
39882                   relative: 0.0  0.0;
39883                }
39884                rel2 {
39885                   relative: 1.0  1.0;
39886                }
39887             }
39888          }
39889       }
39890       programs {
39891          program { name: "shadow-on";
39892             signal: "e,state,shadow,on";
39893             source: "e";
39894             action: STATE_SET "default" 0.0;
39895             target: "shadow";
39896          }
39897          program { name: "shadow-off";
39898             signal: "e,state,shadow,off";
39899             source: "e";
39900             action: STATE_SET "hidden" 0.0;
39901             target: "shadow";
39902          }
39903          program { name: "show1";
39904             signal: "e,state,visible,on";
39905             source: "e";
39906             action: STATE_SET "visible" 0.0;
39907             transition: DECELERATE 0.1;
39908             target: "clipper";
39909             target: "e.swallow.content";
39910             after: "show2";
39911          }
39912          program { name: "show2";
39913             action: SIGNAL_EMIT "e,action,show,done" "e";
39914          }
39915          program { name: "hide1";
39916             signal: "e,state,visible,off";
39917             source: "e";
39918             action: STATE_SET "default" 0.0;
39919             transition: DECELERATE 0.1;
39920             target: "clipper";
39921             target: "e.swallow.content";
39922             after: "hide2";
39923          }
39924          program { name: "hide2";
39925             action: SIGNAL_EMIT "e,action,hide,done" "e";
39926          }
39927       }
39928    }
39929 //----
39930    group { name: "e/comp/focus-out-colored";
39931       images {
39932          image: "comp-sh1.png" COMP;
39933          image: "bt_glow.png" COMP;
39934       }
39935       parts {
39936          part { name: "clipper";
39937             type: RECT;
39938             mouse_events: 0;
39939             description { state: "default" 0.0;
39940                visible: 0;
39941                color: 255 255 255 0;
39942                rel1 {
39943                   relative: -1.0  -1.0;
39944                   offset: -9999 -9999;
39945                }
39946                rel2 {
39947                   relative: 2.0   2.0;
39948                   offset: 9999  9999;
39949                }
39950             }
39951             description { state: "visible" 0.0;
39952                inherit: "default" 0.0;
39953                visible: 1;
39954                color: 255 255 255 255;
39955             }
39956          }
39957          part { name: "shadow";
39958             mouse_events: 0;
39959             clip_to: "clipper";
39960             description { state: "default" 0.0;
39961                image {
39962                   normal: "comp-sh1.png";
39963                   border: 18 18 18 18;
39964                   middle: 0;
39965                }
39966                fill.smooth: 0;
39967                rel1 {
39968                   to: "e.swallow.content";
39969                   relative: 0.0  0.0;
39970                   offset: -16  -14;
39971                }
39972                rel2 {
39973                   to: "e.swallow.content";
39974                   relative: 1.0  1.0;
39975                   offset: 15   17;
39976                }
39977             }
39978             description { state: "hidden" 0.0;
39979                inherit: "default" 0.0;
39980                visible: 0;
39981             }
39982          }
39983          part { name: "shower";
39984             type: RECT;
39985             mouse_events: 0;
39986             description { state: "default" 0.0;
39987                visible: 0;
39988                rel1 {
39989                   relative: 0.05  0.05;
39990                   offset: 0    0;
39991                }
39992                rel2 {
39993                   relative: 0.95  0.95;
39994                   offset: -1   -1;
39995                }
39996             }
39997             description { state: "visible" 0.0;
39998                inherit: "default" 0.0;
39999                rel1 {
40000                   relative: 0.0  0.0;
40001                }
40002                rel2 {
40003                   relative: 1.0  1.0;
40004                }
40005             }
40006          }
40007          part { name: "clipper-content";
40008             type: RECT;
40009             clip_to: "clipper";
40010             mouse_events: 0;
40011             description { state: "default" 0.0;
40012                color: 255 255 255 255;
40013             }
40014             description { state: "unfocus" 0.0;
40015                inherit: "default" 0.0;
40016                color: 255 255 255 200;
40017 //               color_class: "comp_focus-out_color";
40018             }
40019          }
40020          part { name: "e.swallow.content";
40021             type: SWALLOW;
40022             clip_to: "clipper-content";
40023             mouse_events: 0;
40024             description { state: "default" 0.0;
40025                rel1 {
40026                   to: "shower";
40027                }
40028                rel2 {
40029                   to: "shower";
40030                }
40031             }
40032          }
40033          part { name: "glow";
40034             mouse_events: 0;
40035             description { state: "default" 0.0;
40036                visible: 0;
40037                rel1.to: "e.swallow.content";
40038                rel1.offset: -3 -3;
40039                rel2.to: "e.swallow.content";
40040                rel2.offset: 2  2;
40041                color: 255 255 255 0;
40042                image {
40043                   normal: "bt_glow.png";
40044                   border: 8 8 8 8;
40045                   middle: 0;
40046                }
40047                fill.smooth: 0;
40048             }
40049             description { state: "active" 0.0;
40050                inherit: "default" 0.0;
40051                visible: 1;
40052                color: 255 255 255 255;
40053             }
40054             description { state: "faded" 0.0;
40055                inherit: "default" 0.0;
40056                visible: 1;
40057                color: 255 255 255 0;
40058                rel1.offset: -23 -22;
40059                rel2.offset: 22  22;
40060             }
40061          }
40062       }
40063       programs {
40064          program { name: "shadow-on";
40065             signal: "e,state,shadow,on";
40066             source: "e";
40067             action: STATE_SET "default" 0.0;
40068             target: "shadow";
40069          }
40070          program { name: "shadow-off";
40071             signal: "e,state,shadow,off";
40072             source: "e";
40073             action: STATE_SET "hidden" 0.0;
40074             target: "shadow";
40075          }
40076          program { name: "show1";
40077             signal: "e,state,visible,on";
40078             source: "e";
40079             action: STATE_SET "visible" 0.0;
40080             transition: DECELERATE 0.15;
40081             target: "clipper";
40082             target: "shower";
40083             after: "show2";
40084          }
40085          program { name: "show2";
40086             action: SIGNAL_EMIT "e,action,show,done" "e";
40087          }
40088          program { name: "hide1";
40089             signal: "e,state,visible,off";
40090             source: "e";
40091             action: STATE_SET "default" 0.0;
40092             transition: DECELERATE 0.30;
40093             target: "clipper";
40094             target: "shower";
40095             after: "hide2";
40096          }
40097          program { name: "hide2";
40098             action: SIGNAL_EMIT "e,action,hide,done" "e";
40099          }
40100          program { name: "unfocus";
40101             signal: "e,state,focus,off";
40102             source: "e";
40103             action: STATE_SET "unfocus" 0.0;
40104             transition: ACCELERATE 0.2;
40105             target: "clipper-content";
40106          }
40107          program { name: "focus";
40108             signal: "e,state,focus,on";
40109             source: "e";
40110             action: STATE_SET "default" 0.0;
40111             transition: ACCELERATE 0.2;
40112             target: "clipper-content";
40113          }
40114          program { name: "urgent-on";
40115             signal: "e,state,urgent,on";
40116             source: "e";
40117             action: STATE_SET "active" 0.0;
40118             target: "glow";
40119             after: "urgent2";
40120          }
40121          program { name: "urgent2";
40122             action: STATE_SET "faded" 0.0;
40123             transition: DECELERATE 0.5;
40124             target: "glow";
40125             after: "urgent-on";
40126          }
40127          program { name: "urgent-off";
40128             signal: "e,state,urgent,off";
40129             source: "e";
40130             action: STATE_SET "default" 0.0;
40131             target: "glow";
40132          }
40133       }
40134    }
40135  */
40136
40137
40138    group {
40139    name: "modules/efm_navigation/main";
40140       
40141       images {
40142       image: "bt_base1.png" COMP;
40143       image: "bt_base2.png" COMP;
40144       image: "bt_dis_base.png" COMP;
40145       image: "bt_hilight.png" COMP;
40146       image: "bt_shine.png" COMP;
40147       image: "bt_dis_hilight.png" COMP;
40148       image: "bt_dis_shine.png" COMP;
40149       image: "icon_left_arrow.png" COMP;
40150       image: "icon_right_arrow.png" COMP;
40151       image: "icon_up_arrow.png" COMP;
40152       image: "refresh.png" COMP;
40153       image: "favorites.png" COMP;
40154       }
40155
40156       parts {
40157          part {
40158          name: "base";
40159          type: RECT;
40160          mouse_events: 1;
40161
40162             description {
40163             state: "default" 0.0;
40164             color: 0 0 0 0;
40165             }
40166          }
40167          part {
40168          name: "begin";
40169          type: RECT;
40170          mouse_events: 0;
40171             description {
40172             state: "default" 0.0;
40173             max: 1 1;
40174             align: 0.0 0.0;
40175             color: 0 0 0 0;
40176             }
40177          }
40178
40179 #define NAV_BUTTON(NAME, ICON, REL_TO, OFF_X)   \
40180          part {                                 \
40181          name: NAME"_bg";                       \
40182          mouse_events: 1;                       \
40183          repeat_events: 1;                      \
40184          type: IMAGE;                           \
40185             description {                       \
40186             state: "default" 0.0;               \
40187             min: 28 28;                         \
40188             max: 28 28;                         \
40189             aspect: 1.0 1.0;                    \
40190             aspect_preference: VERTICAL;        \
40191             align: 0.0 0.5;                     \
40192                rel1 {                           \
40193                to_x: REL_TO;                    \
40194                relative: 1.0 0.0;               \
40195                offset: OFF_X 0;                 \
40196                }                                \
40197                image {                          \
40198                normal: "bt_base2.png";          \
40199                border: 7 7 7 7;                 \
40200                }                                \
40201             }                                   \
40202             description {                       \
40203             state: "down" 0.0;                  \
40204             inherit: "default" 0.0;             \
40205             image.normal: "bt_base1.png";       \
40206             }                                   \
40207             description {                       \
40208             state: "disabled" 0.0;              \
40209             inherit: "default" 0.0;             \
40210             image.normal: "bt_dis_base.png";    \
40211             image.border: 4 4 4 4;              \
40212             }                                   \
40213          }                                      \
40214          part {                                 \
40215          name: NAME"_img";                      \
40216          mouse_events: 0;                       \
40217          type: IMAGE;                           \
40218             description {                       \
40219             state: "default" 0.0;               \
40220             min: 16 16;                         \
40221             max: 16 16;                         \
40222                rel1 {                           \
40223                offset: 7 7;                     \
40224                to: NAME"_bg";                   \
40225                }                                \
40226                rel2 {                           \
40227                offset: -8 -8;                   \
40228                to: NAME"_bg";                   \
40229                }                                \
40230             image.normal: ICON".png";           \
40231             }                                   \
40232          }                                      \
40233          part {                                 \
40234          name: NAME"_fg1";                      \
40235          type: IMAGE;                           \
40236          mouse_events: 1;                       \
40237          repeat_events: 1;                      \
40238             description {                       \
40239             state: "default" 0.0;               \
40240             rel1.to: NAME"_bg";                 \
40241             rel2.to: NAME"_bg";                 \
40242             rel2.relative: 1.0 0.5;             \
40243                image {                          \
40244                normal: "bt_hilight.png";        \
40245                border: 7 7 7 0;                 \
40246                }                                \
40247             }                                   \
40248             description {                       \
40249             state: "disabled" 0.0;              \
40250             inherit: "default" 0.0;             \
40251             image.normal: "bt_dis_hilight.png"; \
40252             image.border: 4 4 4 0;              \
40253             }                                   \
40254          }                                      \
40255          part {                                 \
40256          name: NAME"_fg2";                      \
40257          type: IMAGE;                           \
40258          mouse_events: 1;                       \
40259          repeat_events: 1;                      \
40260             description {                       \
40261             state: "default" 0.0;               \
40262             rel1.to: NAME"_bg";                 \
40263             rel2.to: NAME"_bg";                 \
40264                image {                          \
40265                normal: "bt_shine.png";          \
40266                border: 7 7 7 7;                 \
40267                }                                \
40268             }                                   \
40269             description {                       \
40270             state: "disabled" 0.0;              \
40271             inherit: "default" 0.0;             \
40272             image.normal: "bt_dis_shine.png";   \
40273             }                                   \
40274          }                                      \
40275          part {                                 \
40276          name: NAME"_event_eater";              \
40277          type: RECT;                            \
40278          mouse_events: 1;                       \
40279          repeat_events: 0;                      \
40280             description {                       \
40281             state: "default" 0.0;               \
40282             visible: 0;                         \
40283             color: 255 255 255 0;               \
40284             rel1.to: NAME"_bg";                 \
40285             rel2.to: NAME"_bg";                 \
40286             }                                   \
40287             description {                       \
40288             state: "disabled" 0.0;              \
40289             inherit: "default" 0.0;             \
40290             visible: 1;                         \
40291             }                                   \
40292          }                                      \
40293
40294          
40295          NAV_BUTTON("back",       "icon_left_arrow",  "begin", 5);
40296          NAV_BUTTON("forward",    "icon_right_arrow", "back_bg", 1);
40297          NAV_BUTTON("up",         "icon_up_arrow",    "forward_bg", 10);
40298          NAV_BUTTON("refresh",    "refresh",          "up_bg", 1);
40299          NAV_BUTTON("favorites",  "favorites",        "refresh_bg", 1);
40300
40301          part {
40302          name: "e.swallow.pathbar";
40303          type: SWALLOW;
40304             description {
40305             state: "default" 0.0;
40306             align: 0.0 0.5;
40307
40308                /* rel1.to_x: "favorites_base"; */
40309             rel1.to_x: "favorites_bg";
40310             rel1.relative: 1.0 0.0;
40311             rel1.offset: 10 0;
40312             rel2.offset: -40 -1;
40313             color: 200 0 0 200;
40314             }
40315          }
40316                         
40317       }
40318
40319       programs {
40320 #define NAV_BUTTON_PROG(NAME)                                   \
40321          program {                                              \
40322          name: NAME"_click";                                    \
40323          signal: "mouse,down,1";                                \
40324          source: "bg";                                          \
40325          action: STATE_SET "down" 0.0;                          \
40326          target: NAME"_bg";                                     \
40327          }                                                      \
40328          program {                                              \
40329          name: NAME"_unclick";                                  \
40330          signal: "mouse,up,1";                                  \
40331          source: "bg";                                          \
40332          action: STATE_SET "default" 0.0;                       \
40333          target: NAME"_bg";                                     \
40334          }                                                      \
40335          program        {                                       \
40336          name: NAME"_send";                                     \
40337          signal: "mouse,clicked,1";                             \
40338          source: NAME"_bg";                                     \
40339          action: SIGNAL_EMIT "e,action,"NAME",click" "";        \
40340          }                                                      \
40341          program        {                                       \
40342          name: NAME"_disable";                                  \
40343          signal: "e,state,"NAME",disabled";                     \
40344          source: "e";                                           \
40345          action: STATE_SET "disabled" 0.0;                      \
40346          target: NAME"_bg";                                     \
40347          target: NAME"_fg1";                                    \
40348          target: NAME"_fg2";                                    \
40349          target: NAME"_event_eater";                            \
40350          }                                                      \
40351          program        {                                       \
40352          name: NAME"_enable";                                   \
40353          signal: "e,state,"NAME",enabled";                      \
40354          source: "e";                                           \
40355          action: STATE_SET "default" 0.0;                       \
40356          target: NAME"_bg";                                     \
40357          target: NAME"_fg1";                                    \
40358          target: NAME"_fg2";                                    \
40359          target: NAME"_event_eater";                            \
40360          }                                                      \
40361
40362          NAV_BUTTON_PROG("back");
40363          NAV_BUTTON_PROG("forward");
40364          NAV_BUTTON_PROG("up");
40365          NAV_BUTTON_PROG("refresh");
40366          NAV_BUTTON_PROG("favorites");
40367       }
40368    }
40369
40370
40371    group {
40372    name: "modules/efm_navigation/pathbar_scrollframe";
40373       images {
40374       image: "icon_left_arrow.png" COMP;
40375       image: "icon_right_arrow.png" COMP;
40376       }
40377
40378       parts {
40379          part {
40380          name: "base";
40381          type: RECT;
40382          mouse_events: 1;
40383             description {
40384             state: "default" 0.0;
40385                rel1 {
40386                to_x: "left_arrow";
40387                relative: 1.0 0.0;
40388                }
40389                rel2 {
40390                to_x: "right_arrow";
40391                relative: 0.0 1.0;
40392                }
40393             color: 0 0 0 0;
40394             }
40395          }
40396          part {
40397          name: "clipper";
40398          type: RECT;
40399          mouse_events: 0;
40400             description {
40401             state: "default" 0.0;
40402             rel1.to: "base";
40403             rel2.to: "base";
40404             }
40405          }
40406          part {
40407          name: "e.swallow.content";
40408          type: SWALLOW;
40409          clip_to: "clipper";
40410             description {
40411             state: "default" 0.0;
40412             rel1.to: "clipper";
40413             rel2.to: "clipper";
40414             }
40415          }
40416          part {
40417          name: "left_arrow";
40418          type: IMAGE;
40419          mouse_events: 1;
40420          scale: 1;
40421             description {
40422             state: "default" 0.0;
40423                /* aspect: 1.0 1.0;
40424                 * aspect_preference: VERTICAL; */
40425             align: 0.0 0.5;
40426             min: 16 16;
40427             max: 16 16;
40428             image.normal: "icon_left_arrow.png";
40429             }
40430          }
40431          part {
40432          name: "right_arrow";
40433          type: IMAGE;
40434          mouse_events: 1;
40435          scale: 1;
40436             description {
40437             state: "default" 0.0;
40438             align: 1.0 0.5;
40439             min: 16 16;
40440             max: 16 16;
40441             image.normal: "icon_right_arrow.png";
40442             }
40443          }
40444          part {
40445          name: "e.dragable.hbar";
40446          mouse_events: 0;
40447             dragable {
40448             x: 1 1 0;
40449             y: 0 0 0;
40450             confine: "base";
40451             }
40452             description {
40453             state: "default" 0.0;
40454             visible: 0;
40455             rel1.to: "base";
40456             rel2.to: "base";
40457             }
40458          }
40459          part {
40460          name: "event";
40461          mouse_events: 1;
40462          repeat_events: 1;
40463             description {
40464             state: "default" 0.0;
40465             color: 0 0 0 0;
40466             }
40467          }
40468       }
40469       program {
40470       name: "sb_left";
40471       signal: "mouse,down,1";
40472       source: "left_arrow";
40473       action: DRAG_VAL_STEP -5.0 0.0;
40474       target: "e.dragable.hbar";
40475       }
40476       program {
40477       name: "sb_right";
40478       signal: "mouse,down,1";
40479       source: "right_arrow";
40480       action: DRAG_VAL_STEP 5.0 0.0;
40481       target: "e.dragable.hbar";
40482       }
40483
40484    }
40485
40486    group {
40487    name: "modules/efm_navigation/pathbar_button";
40488       images {
40489       image: "bt_base1.png" COMP;
40490       image: "bt_base2.png" COMP;
40491       image: "bt_dis_base.png" COMP;
40492       image: "bt_hilight.png" COMP;
40493       image: "bt_shine.png" COMP;
40494       image: "bt_dis_hilight.png" COMP;
40495       image: "bt_dis_shine.png" COMP;
40496       }
40497
40498       parts {
40499          part {
40500          name: "bg";
40501          type: IMAGE;
40502          mouse_events: 0;
40503             description {
40504             state: "default" 0.0;
40505             min: 28 28;
40506                image {
40507                normal: "bt_base2.png";
40508                border: 7 7 7 7;
40509                }
40510             }
40511             description {
40512             state: "down" 0.0;
40513             inherit: "default" 0.0;
40514             image.normal: "bt_base1.png";
40515             }
40516          }
40517          part {
40518          name: "label2";
40519          type: TEXT;
40520          mouse_events: 0;
40521          scale: 1;
40522             description {
40523             state: "default" 0.0;
40524             max: 150 32;
40525             rel1.to: "e.text.label";
40526             rel2.to: "e.text.label";
40527             color: 224 224 224 255;
40528                text {
40529                font: "Sans";
40530                text_source: "e.text.label";
40531                size: 10;
40532                min: 1 1;
40533                align: 0.5 0.5;
40534                elipsis: 0.0;
40535                }
40536             }
40537             description {
40538             state: "selected" 0.0;
40539             inherit: "default" 0.0;
40540             visible: 0;
40541             }
40542          }
40543          part {
40544          name: "e.text.label";
40545          type: TEXT;
40546          mouse_events: 0;
40547          scale: 1;
40548             description {
40549             state: "default" 0.0;
40550             max: 150 32;
40551             rel1.offset: 7 0;
40552             rel2.offset: -8 -1;
40553             visible: 0;
40554             color: 255 255 255 255;
40555                text {
40556                font: "Sans:style=Bold";
40557                size: 10;
40558                min: 0 1;
40559                max: 1 0;
40560                align: 0.5 0.5;
40561                elipsis: 0.0;
40562                }
40563             }
40564             description {
40565             state: "selected" 0.0;
40566             inherit: "default" 0.0;
40567             visible: 1;
40568             }
40569          }
40570          part {
40571          name: "fg1";
40572          type: IMAGE;
40573          mouse_events: 0;
40574             description {
40575             state: "default" 0.0;
40576             rel1.to: "bg";
40577                rel2 {
40578                to: "bg";
40579                relative: 1.0 0.5;
40580                }
40581                image {
40582                normal: "bt_hilight.png";
40583                border: 7 7 7 0;
40584                }
40585             }
40586          }
40587          part {
40588          name: "fg2";
40589          type: IMAGE;
40590          mouse_events: 0;
40591             description {
40592             state: "default" 0.0;
40593             rel1.to: "bg";
40594             rel2.to: "bg";
40595                image {
40596                normal: "bt_shine.png";
40597                border: 7 7 7 7;
40598                }
40599             }
40600          }
40601          part {
40602          name: "event";
40603          type: RECT;
40604          mouse_events: 1;
40605          ignore_flags: ON_HOLD;
40606             description {
40607             state: "default" 0.0;
40608             color: 0 0 0 0;
40609             }
40610          }
40611       }
40612       programs {
40613          program {
40614          name: "click";
40615          signal: "mouse,down,1";
40616          source: "event";
40617          action: STATE_SET "down" 0.0;
40618          target: "bg";
40619          }
40620          program {
40621          name: "unclick";
40622          signal: "mouse,up,1";
40623          source: "event";
40624          action: STATE_SET "default" 0.0;
40625          target: "bg";
40626          }
40627          program {
40628          name: "send";
40629          signal: "mouse,clicked,1";
40630          source: "event";
40631          action: SIGNAL_EMIT "e,action,click" "";
40632          }
40633          program {
40634          name: "select";
40635          signal: "e,state,selected";
40636          source: "e";
40637          action: STATE_SET "selected" 0.0;
40638          target: "e.text.label";
40639          target: "label2";
40640          }
40641          program {
40642          name: "normal";
40643          signal: "e,state,default";
40644          source: "e";
40645          action: STATE_SET "default" 0.0;
40646          target: "e.text.label";
40647          target: "label2";
40648          }
40649       }
40650    }
40651
40652 /////////////////////////////////////////////////////////////////////////////
40653 /*** MOD: TASKS ***/
40654
40655    group { name:"modules/tasks/item";
40656       images {
40657          image: "bt_base1.png" COMP;
40658          image: "bt_base2.png" COMP;
40659          image: "bt_hilight.png" COMP;
40660          image: "bt_shine.png" COMP;
40661          image: "bt_glow.png" COMP;
40662          image: "bt_dis_base.png" COMP;
40663          image: "bt_dis_hilight.png" COMP;
40664          image: "exclam.png" COMP;
40665       }
40666       parts {
40667          part { name: "button_image";
40668             mouse_events: 1;
40669             description { state: "default" 0.0;
40670                image {
40671                   normal: "bt_dis_base.png";
40672                   border: 4 4 4 4;
40673                }
40674             }
40675             description { state: "clicked" 0.0;
40676                inherit: "default" 0.0;
40677                image.normal: "bt_base1.png";
40678             }
40679             description { state: "focused" 0.0;
40680                inherit: "default" 0.0;
40681                image {
40682                   normal: "bt_base2.png";
40683                   border: 7 7 7 7;
40684                }
40685             }
40686          }
40687          part { name: "icon_area"; type: RECT;
40688             mouse_events: 0;
40689             description { state: "default" 0.0;
40690                visible: 0;
40691                aspect: 1.0 1.0;
40692                aspect_preference: VERTICAL;
40693                align: 0.0 0.5;
40694                rel1 {
40695                   relative: 0.0 0.0;
40696                   offset: 3  3;
40697                   to: "button_image";
40698                }
40699                rel2 {
40700                   relative: 0.0 1.0;
40701                   offset: 3   -4;
40702                   to: "button_image";
40703                }
40704             }
40705             description { state: "iconified" 0.0;
40706                inherit: "default" 0.0;
40707                rel1.relative: 0.0 0.25;
40708                rel2.relative: 0.0 0.75;
40709             }
40710          }
40711          part { name: "icon_area2"; type: RECT;
40712             description { state: "default" 0.0;
40713                visible: 0;
40714                rel1.to: "icon_area";
40715                rel2.to: "icon_area";
40716             }
40717             description { state: "uw0" 0.0;
40718                inherit: "default" 0.0;
40719                rel1.offset: -3 -2;
40720                rel2.offset: -4 -3;
40721             }
40722             description { state: "uw1" 0.0;
40723                inherit: "default" 0.0;
40724                rel1.offset: 5 -2;
40725                rel2.offset: 4 -3;
40726             }
40727             description { state: "uw2" 0.0;
40728                inherit: "default" 0.0;
40729                rel1.offset: -1 4;
40730                rel2.offset: -2 3;
40731             }
40732             description { state: "uw3" 0.0;
40733                inherit: "default" 0.0;
40734                rel1.offset: -2 -1;
40735                rel2.offset: -3 -2;
40736             }
40737             description { state: "uw4" 0.0;
40738                inherit: "default" 0.0;
40739                rel1.offset: -4 1;
40740                rel2.offset: -5 0;
40741             }
40742          }
40743          part { name: "e.swallow.icon";
40744             type: SWALLOW;
40745             mouse_events: 0;
40746             description { state: "default" 0.0;
40747                aspect: 1.0 1.0;
40748                rel1.to: "icon_area2";
40749                rel2.to: "icon_area2";
40750             }
40751          }
40752          part { name: "urgent";
40753             mouse_events: 0;
40754             description { state: "default" 0.0;
40755                visible: 0;
40756                color: 255 255 255 0;
40757                aspect: 1.0 1.0;
40758                aspect_preference: BOTH;
40759                rel1.to: "icon_area";
40760                rel2.to: "icon_area";
40761                image.normal: "exclam.png";
40762             }
40763             description { state: "visible" 0.0;
40764                inherit: "default" 0.0;
40765                visible: 1;
40766                color: 255 255 255 255;
40767             }
40768          }
40769          part { name: "urgent2";
40770             mouse_events: 0;
40771             description { state: "default" 0.0;
40772                visible: 0;
40773                color: 255 255 255 0;
40774                aspect: 1.0 1.0;
40775                aspect_preference: BOTH;
40776                rel1.to: "icon_area";
40777                rel2.to: "icon_area";
40778                image.normal: "exclam.png";
40779             }
40780             description { state: "visible" 0.0;
40781                inherit: "default" 0.0;
40782                visible: 1;
40783                color: 255 255 255 255;
40784             }
40785             description { state: "faded" 0.0;
40786                inherit: "default" 0.0;
40787                rel1.relative: -1.0 -1.0;
40788                rel2.relative: 2.0 2.0;
40789                visible: 1;
40790                color: 255 255 255 0;
40791             }
40792          }
40793          part { name: "e.text.label"; type: TEXT;
40794             effect: SOFT_SHADOW;
40795             mouse_events: 0;
40796             scale: 1;
40797             description { state: "default" 0.0;
40798                rel1 {
40799                   relative: 1.0  0.0;
40800                   offset: 2    3;
40801                   to_x: "icon_area";
40802                   to_y: "button_image";
40803                }
40804                rel2 {
40805                   relative: 1.0  1.0;
40806                   offset: -4   -4;
40807                   to: "button_image";
40808                }
40809                color_class: "tasks_text";
40810                text {
40811                   font: "Sans";
40812                   size: 10;
40813                   min: 0 1;
40814                   align: 0.0 0.5;
40815                   text_class: "tasks_text";
40816                }
40817             }
40818             description { state: "clicked" 0.0;
40819                inherit: "default" 0.0;
40820                color_class: "tasks_text_focused";
40821                text.font: "Sans:style=Bold";
40822                text.text_class: "tasks_text_focused";
40823             }
40824             description { state: "focused" 0.0;
40825                inherit: "default" 0.0;
40826                color_class: "tasks_text_focused";
40827                text.font: "Sans:style=Bold";
40828                text.text_class: "tasks_text_focused";
40829             }
40830          }
40831          part { name: "over1";
40832             mouse_events: 0;
40833             description { state: "default" 0.0;
40834                rel2.relative: 1.0 0.5;
40835                image {
40836                   normal: "bt_dis_hilight.png";
40837                   border: 4 4 4 0;
40838                }
40839             }
40840             description { state: "focused" 0.0;
40841                inherit: "default" 0.0;
40842                image {
40843                   normal: "bt_hilight.png";
40844                   border: 7 7 7 0;
40845                }
40846             }
40847          }
40848          part { name: "over2";
40849             mouse_events: 0;
40850             description { state: "default" 0.0;
40851                visible: 0;
40852                rel1.to: "button_image";
40853                rel2.to: "button_image";
40854                image {
40855                   normal: "bt_shine.png";
40856                   border: 7 7 7 7;
40857                }
40858             }
40859             description { state: "focused" 0.0;
40860                inherit: "default" 0.0;
40861                visible: 1;
40862             }
40863          }
40864          part { name: "over3";
40865             mouse_events: 0;
40866             description { state: "default" 0.0;
40867                visible: 0;
40868                color: 255 255 255 0;
40869                image {
40870                   normal: "bt_glow.png";
40871                   border: 7 7 9 9;
40872                }
40873                fill.smooth : 0;
40874             }
40875             description { state: "clicked" 0.0;
40876                inherit: "default" 0.0;
40877                visible: 1;
40878                color: 255 255 255 255;
40879             }
40880          }
40881       }
40882       programs {
40883          program { name: "button_click";
40884             signal: "mouse,down,1";
40885             source: "button_image";
40886             action: STATE_SET "clicked" 0.0;
40887             target: "button_image";
40888             target: "over3";
40889             target: "e.text.label";
40890          }
40891          program { name: "button_unclick";
40892             signal: "mouse,up,1";
40893             source: "button_image";
40894             action: STATE_SET "default" 0.0;
40895             target: "button_image";
40896             target: "over3";
40897             target: "e.text.label";
40898          }
40899          program { name: "button_unclick2";
40900             signal: "mouse,clicked,1";
40901             source: "button_image";
40902             action: SIGNAL_EMIT "e,action,click" "";
40903          }
40904          program { name: "focused";
40905             signal: "e,state,focused";
40906             source: "e";
40907             action: STATE_SET "focused" 0.0;
40908             target: "button_image";
40909             target: "over1";
40910             target: "e.text.label";
40911          }
40912          program { name: "unfocused";
40913             signal: "e,state,unfocused";
40914             source: "e";
40915             action: STATE_SET "default" 0.0;
40916             target: "button_image";
40917             target: "over1";
40918             target: "e.text.label";
40919          }
40920          program { name: "urgent";
40921             signal: "e,state,urgent";
40922             source: "e";
40923             action: STATE_SET "visible" 0.0;
40924             transition: DECELERATE 0.5;
40925             target: "urgent";
40926             target: "urgent2";
40927             after: "urgent2";
40928          }
40929          program { name: "urgent2";
40930             action: STATE_SET "faded" 0.0;
40931             transition: LINEAR 0.5;
40932             target: "urgent2";
40933             after: "urgent3";
40934          }
40935          program { name: "urgent3";
40936             action: STATE_SET "visible" 0.0;
40937             target: "urgent2";
40938             after: "urgent2";
40939          }
40940          program { name: "urgentw0";
40941             signal: "e,state,urgent";
40942             source: "e";
40943             action: STATE_SET "default" 0.0;
40944             transition: DECELERATE 0.1;
40945             target: "icon_area2";
40946             after: "urgentw1";
40947          }
40948          program { name: "urgentw1";
40949             action: STATE_SET "uw1" 0.0;
40950             transition: DECELERATE 0.1;
40951             target: "icon_area2";
40952             after: "urgentw2";
40953          }
40954          program { name: "urgentw2";
40955             action: STATE_SET "uw2" 0.0;
40956             target: "icon_area2";
40957             transition: DECELERATE 0.1;
40958             after: "urgentw3";
40959          }
40960          program { name: "urgentw3";
40961             action: STATE_SET "uw3" 0.0;
40962             transition: DECELERATE 0.1;
40963             target: "icon_area2";
40964             after: "urgentw4";
40965          }
40966          program { name: "urgentw4";
40967             action: STATE_SET "uw4" 0.0;
40968             transition: DECELERATE 0.1;
40969             target: "icon_area2";
40970             after: "urgentw0";
40971          }
40972          program { name: "not_urgent";
40973             signal: "e,state,not_urgent";
40974             source: "e";
40975             action: ACTION_STOP;
40976             target: "urgentw0";
40977             target: "urgentw1";
40978             target: "urgentw2";
40979             target: "urgentw3";
40980             target: "urgentw4";
40981             target: "urgent";
40982             target: "urgent2";
40983             target: "urgent3";
40984             after: "not_urgent2";
40985          }
40986          program { name: "not_urgent2";
40987             action: STATE_SET "default" 0.0;
40988             target: "urgent";
40989             target: "urgent2";
40990             target: "icon_area2";
40991          }
40992          program { name: "iconified";
40993             signal: "e,state,iconified";
40994             source: "e";
40995             action: STATE_SET "iconified" 0.0;
40996             transition: DECELERATE 1.0;
40997             target: "icon_area";
40998          }
40999          program { name: "uniconified";
41000             signal: "e,state,uniconified";
41001             source: "e";
41002             action: STATE_SET "default" 0.0;
41003             transition: DECELERATE 1.0;
41004             target: "icon_area";
41005          }
41006       }
41007    }
41008    group { name:"modules/tasks/item_vert";
41009       images {
41010          image: "bt_base1.png" COMP;
41011          image: "bt_base2.png" COMP;
41012          image: "bt_hilight.png" COMP;
41013          image: "bt_shine.png" COMP;
41014          image: "bt_glow.png" COMP;
41015          image: "bt_dis_base.png" COMP;
41016          image: "bt_dis_hilight.png" COMP;
41017          image: "exclam.png" COMP;
41018       }
41019       parts {
41020          part { name: "button_image";
41021             mouse_events: 1;
41022             description { state: "default" 0.0;
41023                image {
41024                   normal: "bt_dis_base.png";
41025                   border: 4 4 4 4;
41026                }
41027             }
41028             description { state: "clicked" 0.0;
41029                inherit: "default" 0.0;
41030                image.normal: "bt_base1.png";
41031             }
41032             description { state: "focused" 0.0;
41033                inherit: "default" 0.0;
41034                image {
41035                   normal: "bt_base2.png";
41036                   border: 7 7 7 7;
41037                }
41038             }
41039          }
41040          part { name: "icon_area"; type: RECT;
41041             mouse_events: 0;
41042             description { state: "default" 0.0;
41043                visible: 0;
41044                aspect: 1.0 1.0;
41045                aspect_preference: BOTH;
41046                align: 0.5 0.5;
41047                rel1 {
41048                   offset: 3  3;
41049                   to: "button_image";
41050                }
41051                rel2 {
41052                   offset: -4   -4;
41053                   to: "button_image";
41054                }
41055             }
41056             description { state: "iconified" 0.0;
41057                inherit: "default" 0.0;
41058                rel1.relative: 0.25 0.25;
41059                rel2.relative: 0.75 0.75;
41060             }
41061          }
41062          part { name: "icon_area2"; type: RECT;
41063             description { state: "default" 0.0;
41064                visible: 0;
41065                rel1.to: "icon_area";
41066                rel2.to: "icon_area";
41067             }
41068             description { state: "uw0" 0.0;
41069                inherit: "default" 0.0;
41070                rel1.offset: -3 -2;
41071                rel2.offset: -4 -3;
41072             }
41073             description { state: "uw1" 0.0;
41074                inherit: "default" 0.0;
41075                rel1.offset: 5 -2;
41076                rel2.offset: 4 -3;
41077             }
41078             description { state: "uw2" 0.0;
41079                inherit: "default" 0.0;
41080                rel1.offset: -1 4;
41081                rel2.offset: -2 3;
41082             }
41083             description { state: "uw3" 0.0;
41084                inherit: "default" 0.0;
41085                rel1.offset: -2 -1;
41086                rel2.offset: -3 -2;
41087             }
41088             description { state: "uw4" 0.0;
41089                inherit: "default" 0.0;
41090                rel1.offset: -4 1;
41091                rel2.offset: -5 0;
41092             }
41093          }
41094          part { name: "e.swallow.icon";
41095             type: SWALLOW;
41096             mouse_events: 0;
41097             description { state: "default" 0.0;
41098                aspect: 1.0 1.0;
41099                rel1.to: "icon_area2";
41100                rel2.to: "icon_area2";
41101             }
41102          }
41103          part { name: "urgent";
41104             mouse_events: 0;
41105             description { state: "default" 0.0;
41106                visible: 0;
41107                color: 255 255 255 0;
41108                aspect: 1.0 1.0;
41109                aspect_preference: BOTH;
41110                rel1.to: "icon_area";
41111                rel2.to: "icon_area";
41112                image.normal: "exclam.png";
41113             }
41114             description { state: "visible" 0.0;
41115                inherit: "default" 0.0;
41116                visible: 1;
41117                color: 255 255 255 255;
41118             }
41119          }
41120          part { name: "urgent2";
41121             mouse_events: 0;
41122             description { state: "default" 0.0;
41123                visible: 0;
41124                color: 255 255 255 0;
41125                aspect: 1.0 1.0;
41126                aspect_preference: BOTH;
41127                rel1.to: "icon_area";
41128                rel2.to: "icon_area";
41129                image.normal: "exclam.png";
41130             }
41131             description { state: "visible" 0.0;
41132                inherit: "default" 0.0;
41133                visible: 1;
41134                color: 255 255 255 255;
41135             }
41136             description { state: "faded" 0.0;
41137                inherit: "default" 0.0;
41138                rel1.relative: -1.0 -1.0;
41139                rel2.relative: 2.0 2.0;
41140                visible: 1;
41141                color: 255 255 255 0;
41142             }
41143          }
41144          part { name: "over1";
41145             mouse_events: 0;
41146             description { state: "default" 0.0;
41147                rel2.relative: 1.0 0.5;
41148                image {
41149                   normal: "bt_dis_hilight.png";
41150                   border: 4 4 4 0;
41151                }
41152             }
41153             description { state: "focused" 0.0;
41154                inherit: "default" 0.0;
41155                image {
41156                   normal: "bt_hilight.png";
41157                   border: 7 7 7 0;
41158                }
41159             }
41160          }
41161          part { name: "over2";
41162             mouse_events: 0;
41163             description { state: "default" 0.0;
41164                visible: 0;
41165                rel1.to: "button_image";
41166                rel2.to: "button_image";
41167                image {
41168                   normal: "bt_shine.png";
41169                   border: 7 7 7 7;
41170                }
41171             }
41172             description { state: "focused" 0.0;
41173                inherit: "default" 0.0;
41174                visible: 1;
41175             }
41176          }
41177          part { name: "over3";
41178             mouse_events: 0;
41179             description { state: "default" 0.0;
41180                visible: 0;
41181                color: 255 255 255 0;
41182                image {
41183                   normal: "bt_glow.png";
41184                   border: 7 7 9 9;
41185                }
41186                fill.smooth : 0;
41187             }
41188             description { state: "clicked" 0.0;
41189                inherit: "default" 0.0;
41190                visible: 1;
41191                color: 255 255 255 255;
41192             }
41193          }
41194       }
41195       programs {
41196          program { name: "button_click";
41197             signal: "mouse,down,1";
41198             source: "button_image";
41199             action: STATE_SET "clicked" 0.0;
41200             target: "button_image";
41201             target: "over3";
41202          }
41203          program { name: "button_unclick";
41204             signal: "mouse,up,1";
41205             source: "button_image";
41206             action: STATE_SET "default" 0.0;
41207             target: "button_image";
41208             target: "over3";
41209          }
41210          program { name: "button_unclick2";
41211             signal: "mouse,clicked,1";
41212             source: "button_image";
41213             action: SIGNAL_EMIT "e,action,click" "";
41214          }
41215          program { name: "focused";
41216             signal: "e,state,focused";
41217             source: "e";
41218             action: STATE_SET "focused" 0.0;
41219             target: "button_image";
41220             target: "over1";
41221          }
41222          program { name: "unfocused";
41223             signal: "e,state,unfocused";
41224             source: "e";
41225             action: STATE_SET "default" 0.0;
41226             target: "button_image";
41227             target: "over1";
41228          }
41229          program { name: "urgent";
41230             signal: "e,state,urgent";
41231             source: "e";
41232             action: STATE_SET "visible" 0.0;
41233             transition: DECELERATE 0.5;
41234             target: "urgent";
41235             target: "urgent2";
41236             after: "urgent2";
41237          }
41238          program { name: "urgent2";
41239             action: STATE_SET "faded" 0.0;
41240             transition: LINEAR 0.5;
41241             target: "urgent2";
41242             after: "urgent3";
41243          }
41244          program { name: "urgent3";
41245             action: STATE_SET "visible" 0.0;
41246             target: "urgent2";
41247             after: "urgent2";
41248          }
41249          program { name: "urgentw0";
41250             signal: "e,state,urgent";
41251             source: "e";
41252             action: STATE_SET "default" 0.0;
41253             transition: DECELERATE 0.1;
41254             target: "icon_area2";
41255             after: "urgentw1";
41256          }
41257          program { name: "urgentw1";
41258             action: STATE_SET "uw1" 0.0;
41259             transition: DECELERATE 0.1;
41260             target: "icon_area2";
41261             after: "urgentw2";
41262          }
41263          program { name: "urgentw2";
41264             action: STATE_SET "uw2" 0.0;
41265             target: "icon_area2";
41266             transition: DECELERATE 0.1;
41267             after: "urgentw3";
41268          }
41269          program { name: "urgentw3";
41270             action: STATE_SET "uw3" 0.0;
41271             transition: DECELERATE 0.1;
41272             target: "icon_area2";
41273             after: "urgentw4";
41274          }
41275          program { name: "urgentw4";
41276             action: STATE_SET "uw4" 0.0;
41277             transition: DECELERATE 0.1;
41278             target: "icon_area2";
41279             after: "urgentw0";
41280          }
41281          program { name: "not_urgent";
41282             signal: "e,state,not_urgent";
41283             source: "e";
41284             action: ACTION_STOP;
41285             target: "urgentw0";
41286             target: "urgentw1";
41287             target: "urgentw2";
41288             target: "urgentw3";
41289             target: "urgentw4";
41290             target: "urgent";
41291             target: "urgent2";
41292             target: "urgent3";
41293             after: "not_urgent2";
41294          }
41295          program { name: "not_urgent2";
41296             action: STATE_SET "default" 0.0;
41297             target: "urgent";
41298             target: "urgent2";
41299             target: "icon_area2";
41300          }
41301          program { name: "iconified";
41302             signal: "e,state,iconified";
41303             source: "e";
41304             action: STATE_SET "iconified" 0.0;
41305             transition: DECELERATE 1.0;
41306             target: "icon_area";
41307          }
41308          program { name: "uniconified";
41309             signal: "e,state,uniconified";
41310             source: "e";
41311             action: STATE_SET "default" 0.0;
41312             transition: DECELERATE 1.0;
41313             target: "icon_area";
41314          }
41315       }
41316    }
41317 }