Tizen 2.1 release
[platform/core/uifw/e17.git] / data / themes / samsung.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: 25 35 51 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: 0 0 0 178;
124    }
125    color_class {
126       name: "scrollframe_base";
127       color: 255 255 255 255;
128    }
129    color_class {
130       name: "winlist_label";
131       color: 0 0 0 255;
132    }
133    color_class {
134       name: "winlist_item";
135       color: 0 0 0 255;
136       color3: 0 0 0 0;
137    }
138    color_class {
139       name: "winlist_item_active";
140       color: 224 224 224 255;
141       color3: 0 0 0 64;
142    }
143    color_class {
144       name: "button_text";
145       color: 224 224 224 255;
146       color3: 0 0 0 64;
147    }
148    color_class {
149       name: "button_text_disabled";
150       color: 0 0 0 128;
151       color3: 0 0 0 0;
152    }
153    color_class {
154       name: "fileman_base";
155       color: 255 255 255 255;
156    }
157    color_class {
158       name: "ilist_item_base";
159       color: 255 255 255 255;
160    }
161    color_class {
162       name: "ilist_item_odd_base";
163       color: 255 255 255 255;
164    }
165    color_class {
166       name: "ilist_item_header_base";
167       color: 255 255 255 255;
168    }
169    color_class {
170       name: "ilist_item_header_odd_base";
171       color: 255 255 255 255;
172    }
173    color_class {
174       name: "ilist_item";
175       color: 0 0 0 255;
176       color3: 0 0 0 0;
177    }
178    color_class {
179       name: "ilist_item_odd";
180       color: 0 0 0 255;
181       color3: 0 0 0 0;
182    }
183    color_class {
184       name: "ilist_item_selected";
185       color: 255 255 255 255;
186       color3: 0 0 0 64;
187    }
188    color_class {
189       name: "ilist_item_header";
190       color: 224 224 224 255;
191       color3: 0 0 0 32;
192    }
193    color_class {
194       name: "ilist_item_header_odd";
195       color: 224 224 224 255;
196       color3: 0 0 0 32;
197    }
198    color_class {
199       name: "dialog_base";
200       color: 255 255 255 255;
201    }
202    color_class {
203       name: "move_text";
204       color: 0 0 0 255;
205    }
206    color_class {
207       name: "resize_text";
208       color: 0 0 0 255;
209    }
210    color_class {
211       name: "check_text";
212       color: 0 0 0 255;
213    }
214    color_class {
215       name: "check_text_disabled";
216       color: 0 0 0 128;
217    }
218    color_class {
219       name: "radio_text";
220       color: 0 0 0 255;
221    }
222    color_class {
223       name: "radio_text_disabled";
224       color: 0 0 0 128;
225    }
226    color_class {
227       name: "entry_text";
228       color: 0 0 0 255;
229    }
230    color_class {
231       name: "entry_text_disabled";
232       color: 128 128 128 255;
233    }
234    color_class {
235       name: "slider_text";
236       color: 0 0 0 255;
237    }
238    color_class {
239       name: "slider_text_disabled";
240       color: 0 0 0 128;
241    }
242    color_class {
243       name: "frame_base";
244       color: 255 255 255 255;
245    }
246    color_class {
247       name: "label_text";
248       color: 0 0 0 255;
249    }
250    color_class {
251       name: "label_text_disabled";
252       color: 0 0 0 128;
253    }
254    color_class {
255       name: "comp_focus-out_color";
256       color: 255 255 255 220;
257    }
258    color_class {
259       name: "tasks_text";
260       color: 0 0 0 255;
261       color3: 0 0 0 0;
262    }
263    color_class {
264       name: "tasks_text_focused";
265       color: 224 224 224 255;
266       color3: 0 0 0 64;
267    }
268 }
269
270 /*
271  * this section defines all the theme elements (a collection of groupings of
272  * parts (images, text, rects etc.))
273  */
274
275 collections {
276 /* begin the collection of edje groups that are in this file */
277
278 /////////////////////////////////////////////////////////////////////////////
279 /*** DEFAULT WALLPAPER ***/
280    group {
281       name: "e/desktop/background";
282       parts {
283          part {
284             name: "background_image";
285             type: RECT;
286             /* this is the base background */
287             description {
288                state: "default" 0.0;
289                /* its default state */
290                color: 0 0 0 255;
291             }
292          }
293       }
294    }
295    group {
296       name: "e/desktop/background/scrollframe";
297       parts {
298          part {
299             name: "clipper";
300             type: RECT;
301             mouse_events: 0;
302             description {
303                state: "default" 0.0;
304             }
305          }
306          part {
307             name: "e.swallow.content";
308             clip_to: "clipper";
309             type: SWALLOW;
310             description {
311                state: "default" 0.0;
312                rel1.offset: 0 0;
313                rel2 {
314                   relative: 0.0  0.0;
315                   offset: -1   -1;
316                }
317             }
318          }
319       }
320    }
321    group {
322       name: "e/desktop/background/scrollframe";
323       parts {
324          part {
325             name: "clipper";
326             type: RECT;
327             mouse_events: 0;
328             description {
329                state: "default" 0.0;
330             }
331          }
332          part {
333             name: "e.swallow.content";
334             clip_to: "clipper";
335             type: SWALLOW;
336             description {
337                state: "default" 0.0;
338                rel1.offset: 0 0;
339                rel2 {
340                   relative: 0.0  0.0;
341                   offset: -1   -1;
342                }
343             }
344          }
345       }
346    }
347
348 /////////////////////////////////////////////////////////////////////////////
349 /*** DEFAULT WINDOW BORDER ***/
350    group {
351       name: "e/widgets/border/default/border";
352       alias: "e/widgets/border/noresize/border";
353       alias: "e/widgets/border/shaped/border";
354       data.item: "argb" "1";
355       /* more images - for the border specifically. remember each images {}
356        * section fills a global images namespace, so if you re-use an image
357        * between sections, only 1 copy is kept, so names here are unique. if
358        * different image {} sections specify the same image but use different
359        * compression specifications, the compression scheme is undefined and
360        * may use any one of the schemes requested, so make sure you use the
361        * same compression scheme */
362       images {
363          image: "added_images/DM_Internet_Title_bg.png" COMP;
364          image: "added_images/DM_Internet_icon_close.png" COMP;
365          image: "added_images/DM_Internet_icon_Reduction.png" COMP;
366          image: "added_images/DM_Internet_icon_Zoom.png" COMP;
367          image: "added_images/DM_Internet_icon_Resize.png" COMP;
368          image: "added_images/DM_Internet_bg.png" COMP;
369          image: "added_images/DM_Internet_Address_bg.png" COMP;
370          image: "added_images/DM_Internet_bg_top.png" COMP;
371          image: "added_images/DM_Internet_bg_bottom.png" COMP;
372          image: "bd_top.png" COMP;
373          image: "bd_top_hilight.png" COMP;
374          image: "bd_bottom.png" COMP;
375          image: "bd_title_bg.png" COMP;
376          image: "bd_title_over.png" COMP;
377          image: "bd_resize_b.png" COMP;
378          image: "busy-1.png" COMP;
379          image: "busy-2.png" COMP;
380          image: "busy-3.png" COMP;
381          image: "busy-4.png" COMP;
382          image: "busy-5.png" COMP;
383          image: "busy-6.png" COMP;
384          image: "busy-7.png" COMP;
385          image: "busy-8.png" COMP;
386          image: "busy-9.png" COMP;
387          image: "exclam.png" COMP;
388          image: "bd_button_close_shadow.png" COMP;
389          image: "bd_button_close_focused.png" COMP;
390          image: "bd_button_close_unfocused.png" COMP;
391          image: "bd_button_max_shadow.png" COMP;
392          image: "bd_button_max_focused.png" COMP;
393          image: "bd_button_max_unfocused.png" COMP;
394          image: "bd_button_min_shadow.png" COMP;
395          image: "bd_button_min_focused.png" COMP;
396          image: "bd_button_min_unfocused.png" COMP;
397       }
398       /* this would tell E that the border is not a solid rectanle, but is
399        * shaped (has transparent sections) and so would follow a different
400        * code path for such borders. the default is not shaped, so this is
401        * not enabled here, but left commented out for illustration purposes */
402       //      data.item: "shaped" "1";
403       parts {
404          part {
405             name: "top";
406             mouse_events: 0;
407             type: IMAGE;
408             /* accept no mouse events here */
409             description {
410                state: "default" 0.0;
411                rel1 {
412                   /* this defines the top-left (rel1) point of the part
413                    * and where it is placed. the below values are
414                    * actually the default values, so there is no need
415                    * to actually declare them. */
416                   relative: 0.0 0.0;
417                   /* make this point relative to the top
418                    * left of the whole eje object (there
419                    * is no to: section so it's the whole
420                    * object). note that the point is
421                    * calculated as:
422                    *   p.x = obj.width * relative.x
423                    *   p.y = obj.height * relative.y
424                    * (as the to item is the whole object)
425                    */
426                   offset: 0 0;
427                   /* and from the relative point, have an offset
428                    * of 0 pixels - i.e. - none */
429                }
430                rel2 {
431                   relative: 1.0 1.0;
432                   /* the bottom-right is relative to the
433                    * base of the title - this way the
434                    * title region will scale based on font
435                    * size */
436                   to_y: "title_base";
437                   /* only y is relative to title_base. the
438                    * rest is relative to the whole object
439                    * (because its not specified) */
440                }
441                color_class: "border_top";
442                image {
443                   /* define the image to use */
444                   normal: "added_images/DM_Internet_bg_top.png";
445                   /* the image */
446                   border: 5 5 0 0;
447                }
448                fill.smooth: 0;
449             }
450          }
451          part {
452             name: "bottom";
453             /* this is the bottom of the window */
454             mouse_events: 0;
455             type: IMAGE;
456             description {
457                state: "default" 0.0;
458                rel1 {
459                   relative: 0.0 1.0;
460                   offset: 0 -6;
461                }
462                rel2 {
463                   relative: 1.0 1.0;
464                }
465                image {
466                   normal: "added_images/DM_Internet_bg_bottom.png";
467                   border: 5 5 0 0;
468                 }
469             }
470             description {
471                state: "shaded" 0.0;
472                /* when in a shaded state then
473                 * don't display this part */
474                inherit: "default" 0.0;
475                visible: 0;
476             }
477             description {
478                state: "max" 0.0;
479                /* whem maximised too */
480                inherit: "default" 0.0;
481                visible: 0;
482             }
483          }
484          part {
485             name: "left";
486             /* this is the left of the window */
487             mouse_events: 0;
488             type: RECT;
489             description {
490                state: "default" 0.0;
491                rel1 {
492                   relative: 0.0 1.0;
493                   to_y: "title_base";
494                   offset: 0 0;
495                }
496                rel2 {
497                   relative: 0.0 0.0;
498                   to_y: "bottom";
499                   offset: 6 0;
500                }
501                color_class: "border_bottom";
502             }
503             description {
504                state: "shaded" 0.0;
505                inherit: "default" 0.0;
506                visible: 0;
507             }
508             description {
509                state: "max" 0.0;
510                inherit: "default" 0.0;
511                visible: 0;
512             }
513          }
514           part {
515             name: "right";
516             /* this is the left of the window */
517             mouse_events: 0;
518             type: RECT;
519             description {
520                state: "default" 0.0;
521                rel1 {
522                   relative: 1.0 1.0;
523                   to_y: "title_base";
524                   offset: -6 0;
525                }
526                rel2 {
527                   relative: 1.0 0.0;
528                   to_y: "bottom";
529                   offset: 0 0;
530                }
531                color_class: "border_bottom";
532             }
533             description {
534                state: "shaded" 0.0;
535                /* when in a shaded state then
536                 * don't display this part */
537                inherit: "default" 0.0;
538                visible: 0;
539             }
540             description {
541                state: "max" 0.0;
542                /* whem maximised too */
543                inherit: "default" 0.0;
544                visible: 0;
545             }
546          }
547          part {
548             name: "icon_area";
549             /* this is an invisible rectangle that we
550              * use to place icons within. we use this
551              * to keep it fixed as the "icone area" so
552              * the actual swallow part that swallows
553              * the icon can be moved/resized for
554              * animations */
555             type: RECT;
556             description {
557                state: "default" 0.0;
558                visible: 0;
559                align: 0.0 0.0;
560                /* alignt to the left, but center vertically */
561                aspect: 1.0 1.0;
562                /* prefer ans aspect of 1.0 (ie width / height
563                 * is 1.0 - i.e. - square. aspect here is
564                 * min and max aspect that will be "allowed"
565                 * (since both min and max are 1.0 respectively
566                 * in order). */
567                aspect_preference: VERTICAL;
568                /* this means that the vertical
569                 * axis controls aspect and the
570                 * icon_area part size will be
571                 * governed by the height of the
572                 * part (the width simply following
573                 * along behind) */
574                rel1 {
575                   /* rel1 - top-left corner of this part */
576                   relative: 0.0 0.0;
577                }
578                rel2 {
579                   relative: 0.0 0.0;
580                }
581             }
582          }
583          part {
584             name: "icon_area2";
585             /* this area is another invisible rect
586              * that is used for shuffling around parts
587              * that are relative to it. the states
588              * below are just a few "random" offsets
589              * to make it look like whatever is
590              * relative to icon_area2 is "jiggling"
591              * around */
592             type: RECT;
593             description {
594                state: "default" 0.0;
595                visible: 0;
596                rel1.to: "icon_area";
597                rel2.to: "icon_area";
598             }
599             description {
600                state: "uw0" 0.0;
601                /* jiggle */
602                inherit: "default" 0.0;
603                rel1.offset: -3 -2;
604                rel2.offset: -4 -3;
605             }
606             description {
607                state: "uw1" 0.0;
608                /* jiggle some more */
609                inherit: "default" 0.0;
610                rel1.offset: 5 -2;
611                rel2.offset: 4 -3;
612             }
613             description {
614                state: "uw2" 0.0;
615                /* look at me - jiggling! */
616                inherit: "default" 0.0;
617                rel1.offset: -1 4;
618                rel2.offset: -2 3;
619             }
620             description {
621                state: "uw3" 0.0;
622                /* jiggling about */
623                inherit: "default" 0.0;
624                rel1.offset: -2 -1;
625                rel2.offset: -3 -2;
626             }
627             description {
628                state: "uw4" 0.0;
629                /* one more jiggle for the dummies */
630                inherit: "default" 0.0;
631                rel1.offset: -4 1;
632                rel2.offset: -5 0;
633             }
634          }
635          part {
636             name: "busy";
637             /* this is an animation to spin a wheel when the app
638              * seems too busy to respond to pings */
639             mouse_events: 0;
640             description {
641                state: "default" 0.0;
642                visible: 0;
643                /* nomrally the busy part is not visible */
644                color: 255 255 255 0;
645                /* and its alpha is 0 - se will fade it
646                 * inm later so alpha to 0 (but 255 255
647                 * 255 for white so we dont also go from
648                 * dark to white while fading) */
649                max: 32 32;
650                /* no bigger than 32x32 - but allow it to be
651                 * smaller if needed */
652                aspect: 1.0 1.0;
653                /* square aspect */
654                aspect_preference: BOTH;
655                /* both axes determine aspect. that
656                 * means that the icon area may
657                 * be 100x50, but the aspect is 1.0
658                 * so therefore it will be 50x50 as the
659                 * max size. if the area is 50x100 it
660                 * will still be 50x50 as it must fit
661                 * WITHIN the bounds of BOTH axes */
662                rel1.to: "icon_area";
663                rel2.to: "icon_area";
664                image {
665                   tween: "busy-1.png";
666                   tween: "busy-2.png";
667                   tween: "busy-3.png";
668                   tween: "busy-4.png";
669                   tween: "busy-5.png";
670                   tween: "busy-6.png";
671                   tween: "busy-7.png";
672                   tween: "busy-8.png";
673                   normal: "busy-9.png";
674                   /* and we use image tweening. that
675                    * means that we flip through a series
676                    * of images when moving TO this state
677                    * over the transition time. it's like
678                    * specifying multiple frames of an
679                    * animatin sequence. the "final"
680                    * state is "normal". the images
681                    * between are the "tween" images
682                    * listed in order working towards
683                    * the "normal" image */
684                }
685             }
686             description {
687                state: "visible" 0.0;
688                /* the visible state - inherit the
689                 * default one as its all the same, but
690                 * its visible and faded in */
691                inherit: "default" 0.0;
692                visible: 1;
693                color: 255 255 255 255;
694             }
695          }
696          part {
697             name: "e.swallow.icon";
698             /* finally a swallow part - this is
699              * just a placeholder to SWALLOW
700              * other external evas objects into
701              * this region and edje will control
702              * any object swallowed as if it were
703              * this part itself (move, resize,
704              * etc.) */
705             type: SWALLOW;
706             description {
707                state: "default" 0.0;
708                aspect: 1.0 1.0;
709                aspect_preference: BOTH;
710                rel1.to: "icon_area2";
711                rel2.to: "icon_area2";
712             }
713             description {
714                state: "shrunk" 0.0;
715                inherit: "default" 0.0;
716                rel1.relative: 0.3 0.3;
717                rel2.relative: 0.7 0.7;
718             }
719          }
720          part {
721             name: "urgent";
722             /* this is the urgnt part it is normally not
723              * visible, but when the window is in an
724              * urgent state (the app has set the urgency
725              * hint) then we go to the visible state */
726             mouse_events: 0;
727             description {
728                state: "default" 0.0;
729                visible: 0;
730                color: 255 255 255 0;
731                aspect: 1.0 1.0;
732                aspect_preference: BOTH;
733                rel1.to: "icon_area";
734                rel2.to: "icon_area";
735                image.normal: "exclam.png";
736             }
737             description {
738                state: "visible" 0.0;
739                /* and in the visible state put the
740                 * exlamation image on top of the icon */
741                inherit: "default" 0.0;
742                visible: 1;
743                color: 255 255 255 255;
744             }
745          }
746          part {
747             name: "urgent2";
748             /* this is another urgent element. it is actually
749              * zoomed out to be larger and faded out at the
750              * same time to give a "pulsating" look to the
751              * exclamation mark to bring attention to it */
752             mouse_events: 0;
753             description {
754                state: "default" 0.0;
755                visible: 0;
756                color: 255 255 255 0;
757                aspect: 1.0 1.0;
758                aspect_preference: BOTH;
759                rel1.to: "icon_area";
760                rel2.to: "icon_area";
761                image.normal: "exclam.png";
762             }
763             description {
764                state: "visible" 0.0;
765                inherit: "default" 0.0;
766                visible: 1;
767                color: 255 255 255 255;
768             }
769             description {
770                state: "faded" 0.0;
771                inherit: "default" 0.0;
772                rel1.relative: -1.0 -1.0;
773                rel2.relative: 2.0 2.0;
774                visible: 1;
775                color: 255 255 255 0;
776             }
777          }
778          part {
779             name: "e.text.title";
780             /* this is a text part - the black
781              * text on the white title top image */
782             type: TEXT;
783             mouse_events: 0;
784             /* allow this part to scale by a scale factor (dpi) */
785             description {
786                state: "default" 0.0;
787                visible: 1;
788                align: 0.5 0.0;
789                /* align top and left */
790                rel1 {
791                   relative: 1.0 0.0;
792                   offset: 9 2;
793                   to_x: "icon_area";
794                   /* relative to the right side of the icon
795                    * area but 9 pixels away */
796                }
797                rel2 {
798                   relative: 1.0 0.0;
799                   /* and the bottom right is inset by 8
800                    * pixels from the right of "title_base"
801                    * but as its aligned to the top we can
802                    * keep this at 2 pixels from the top of
803                    * the whole edje object and let alignment
804                    * make it extend downward from that point
805                    * with the text size defining the min size
806                    * vertically below */
807                   offset: -8 2;
808                   to_x: "title_base";
809                }
810                color: 255 255 255 255;
811                /* give it a color class so people
812                 * can re-color it if they want */
813                text {
814                   font: "Sans";
815                   /* Use the Bold style
816                    * of the Sans font from
817                    * fontconfig */
818                   size: 14;
819                   /* size in pixels - 10 */
820                   min: 0 1;
821                   /* the text will not determine minimum horizontal
822                    * size but WILL determine minimal vertical size
823                    * (thus 0 1 - horiz then vert flags) */
824                   align: 0.5 0.0;
825                   /* align text to top-left of the region
826                    * given */
827                   text_class: "title_bar";
828                   /* text class - so font and size
829                    * can be changed by users */
830                }
831             }
832             description {
833                state: "focused" 0.0;
834                /* when the border is focused
835                 * then make the text fade out
836                 * and vanish */
837                inherit: "default" 0.0;
838                visible: 0;
839                align: 0.5 0.0;
840                color: 0 0 0 0;
841             }
842          }
843          part {
844             name: "bt_close";
845             /* the close button shadow */
846             mouse_events: 0;
847             description {
848                state: "default" 0.0;
849                min: 14 14;
850                /* min and max size are the same, so never
851                 * resize this */
852                max: 14 14;
853                rel1 {
854                   relative: 1.0 0.0;
855                   offset: -24 0;
856                   to_x: "top";
857                   to_y: "top";
858                }
859                rel2 {
860                   relative: 1.0 1.0;
861                   offset: 0 -2;
862                   to_x: "top";
863                   to_y: "top";
864                }
865                image.normal: "added_images/DM_Internet_icon_close.png";
866             }
867          }
868          part {
869             name: "bt_max";
870             /* maximize button shadow */
871             mouse_events: 0;
872             description {
873                state: "default" 0.0;
874                min: 14 14;
875                max: 14 14;
876                aspect: 1.0 1.0;
877                aspect_preference: VERTICAL;
878                rel1 {
879                   relative: 0.0 0.0;
880                   offset: -20 -1;
881                   to_x: "bt_close";
882                   /* left of the close button */
883                   to_y: "top";
884                }
885                rel2 {
886                   relative: 0.0 1.0;
887                   offset: -6 0;
888                   to_x: "bt_close";
889                   /* left of the close button */
890                   to_y: "top";
891                }
892                image.normal: "added_images/DM_Internet_icon_Zoom.png";
893             }
894             description {
895                state: "max" 0.0;
896                inherit: "default" 0.0;
897                image.normal: "added_images/DM_Internet_icon_Resize.png";
898             }
899          }
900          part {
901             name: "bt_min";
902             /* minimize button shadow */
903             mouse_events: 0;
904             description {
905                state: "default" 0.0;
906                min: 14 14;
907                max: 14 14;
908                aspect: 1.0 1.0;
909                aspect_preference: VERTICAL;
910                rel1 {
911                   relative: 0.0 0.0;
912                   offset: -20 -1;
913                   to_x: "bt_max";
914                   /* left of the maximize button */
915                   to_y: "top";
916                }
917                rel2 {
918                   relative: 0.0 1.0;
919                   offset: -6 0;
920                   to_x: "bt_max";
921                   /* left of the maximize button */
922                   to_y: "top";
923                }
924                image.normal: "added_images/DM_Internet_icon_Reduction.png";
925             }
926          }
927          part {
928             name: "top_hilight";
929             /* an overlayed image to give the top of
930              * a border a shiny look - very subtle */
931             mouse_events: 0;
932             description {
933                state: "default" 0.0;
934                rel1 {
935                   relative: 0.0 0.0;
936                   offset: 0 0;
937                   to: "top";
938                }
939                rel2 {
940                   relative: 1.0 0.5;
941                   offset: -1 0;
942                   to: "top";
943                }
944                color_class: "border_top_hilight";
945                fill.smooth: 0;
946             }
947          }
948          part {
949             name: "buttons_unfoc";
950             /* this is a rect part used to clip &
951              * thus control the visibility of a group
952              * of other parts (the images for the
953              * buttons themselves) with just 1 part
954              * doing the control as it acts as a
955              * master switch for all things clipped
956              * to this part */
957             type: RECT;
958             description {
959                state: "default" 0.0;
960                visible: 1;
961                color: 255 255 255 255;
962                /* visible and solid */
963             }
964             description {
965                state: "focused" 0.0;
966                inherit: "default" 0.0;
967                visible: 0;
968                color: 255 255 255 0;
969                /* invisible and transparent */
970             }
971          }
972          part {
973             name: "bt_close_unfoc";
974             mouse_events: 0;
975             clip_to: "buttons_unfoc";
976             /* clipping (thus visible region and
977              * color + alpah is controlled by the
978              * clip object */
979             description {
980                state: "default" 0.0;
981                rel1.to: "bt_close";
982                rel2.to: "bt_close";
983                image.normal: "added_images/DM_Internet_icon_close.png";
984             }
985             description {
986                state: "active" 0.0;
987                inherit: "default" 0.0;
988                rel1.offset: 0 1;
989                rel2.offset: -1 0;
990             }
991          }
992          part {
993             name: "bt_max_unfoc";
994             mouse_events: 0;
995             clip_to: "buttons_unfoc";
996             description {
997                state: "default" 0.0;
998                rel1.to: "bt_max";
999                rel2.to: "bt_max";
1000             }
1001             description {
1002                state: "active" 0.0;
1003                inherit: "default" 0.0;
1004                rel1.offset: 0 1;
1005                rel2.offset: -1 0;
1006             }
1007          }
1008          part {
1009             name: "bt_min_unfoc";
1010             mouse_events: 0;
1011             clip_to: "buttons_unfoc";
1012             description {
1013                state: "default" 0.0;
1014                rel1.to: "bt_min";
1015                rel2.to: "bt_min";
1016             }
1017             description {
1018                state: "active" 0.0;
1019                inherit: "default" 0.0;
1020                rel1.offset: 0 1;
1021                rel2.offset: -1 0;
1022             }
1023          }
1024          part {
1025             name: "buttons_foc";
1026             /* another rect object for clipping */
1027             type: RECT;
1028             description {
1029                state: "default" 0.0;
1030                visible: 0;
1031                color: 255 255 255 0;
1032             }
1033             description {
1034                state: "focused" 0.0;
1035                inherit: "default" 0.0;
1036                visible: 1;
1037                color: 255 255 255 255;
1038             }
1039          }
1040          part {
1041             name: "bt_close_foc";
1042             mouse_events: 0;
1043             clip_to: "buttons_foc";
1044             /* controlled by the other clip object */
1045             description {
1046                state: "default" 0.0;
1047                rel1.to: "bt_close";
1048                rel2.to: "bt_close";
1049                image.normal: "added_images/DM_Internet_icon_close.png";
1050             }
1051             description {
1052                state: "active" 0.0;
1053                inherit: "default" 0.0;
1054                rel1.offset: 0 1;
1055                rel2.offset: -1 0;
1056             }
1057          }
1058          part {
1059             name: "bt_max_foc";
1060             mouse_events: 0;
1061             clip_to: "buttons_foc";
1062             description {
1063                state: "default" 0.0;
1064                rel1.to: "bt_max";
1065                rel2.to: "bt_max";
1066             }
1067             description {
1068                state: "active" 0.0;
1069                inherit: "default" 0.0;
1070                rel1.offset: 0 1;
1071                rel2.offset: -1 0;
1072             }
1073          }
1074          part {
1075             name: "bt_min_foc";
1076             mouse_events: 0;
1077             clip_to: "buttons_foc";
1078             description {
1079                state: "default" 0.0;
1080                rel1.to: "bt_min";
1081                rel2.to: "bt_min";
1082                image.normal: "added_images/DM_Internet_icon_Reduction.png";
1083             }
1084             description {
1085                state: "active" 0.0;
1086                inherit: "default" 0.0;
1087                rel1.offset: 0 1;
1088                rel2.offset: -1 0;
1089             }
1090          }
1091          part {
1092             name: "title_base";
1093             /* an invisible rect part/object used for
1094              * layout purposes */
1095             type: RECT;
1096             mouse_events: 0;
1097             description {
1098                state: "default" 0.0;
1099                visible: 0;
1100                rel1 {
1101                   relative: 1.0 0.0;
1102                   offset: 0 0;
1103                   to_x: "icon_area";
1104                }
1105                rel2 {
1106                   relative: 0.0 1.0;
1107                   offset: -3 4;
1108                   to_y: "e.text.title";
1109                   to_x: "bt_min";
1110                }
1111             }
1112          }
1113          part {
1114             name: "title_back";
1115             mouse_events: 0;
1116             description {
1117                state: "default" 0.0;
1118                visible: 0;
1119                rel1 {
1120                   to: "title_base";
1121                }
1122                rel2 {
1123                   to: "title_base";
1124                   relative: 1.0 0.0;
1125                }
1126                fill.smooth: 0;
1127             }
1128             description {
1129                state: "focused" 0.0;
1130                inherit: "default" 0.0;
1131                visible: 1;
1132                rel2 {
1133                   to: "title_base";
1134                   relative: 1.0 1.0;
1135                }
1136             }
1137          }
1138          part {
1139             name: "title2";
1140             /* this is interesting. it's another text part
1141              * that also displays the title text, but
1142              * normally is not visible. it is only made
1143              * visibile when the window becomes focused.
1144              * what is interesting is we tell it to source
1145              * the text content from another part - i.e.
1146              * the master "title" part which E sets the
1147              * text of. when that changes this part also
1148              * changes its text. this is a good way to
1149              * use multiple text objects for effects and
1150              * other things that can copy/mimic the content
1151              * of another part */
1152             type: TEXT;
1153             mouse_events: 0;
1154             effect: SOFT_SHADOW;
1155             /* different style to before - because its
1156              * focused */
1157             description {
1158                state: "default" 0.0;
1159                visible: 0;
1160                align: 0.0 1.0;
1161                rel1 {
1162                   to_x: "e.text.title";
1163                   to_y: "title_back";
1164                   relative: 0.0 1.0;
1165                   offset: -1 0;
1166                }
1167                rel2 {
1168                   to_x: "e.text.title";
1169                   to_y: "title_back";
1170                   relative: 1.0 1.0;
1171                   offset: 0 0;
1172                }
1173                color_class: "border_title_active";
1174                text {
1175                   text_source: "e.text.title";
1176                   /* and here is the magic. tell
1177                    * the text to be sourced from
1178                    * another part */
1179                   font: "Sans:style=Bold";
1180                   size: 10;
1181                   align: 0.5 0.0;
1182                   min: 0 1;
1183                   text_class: "title_bar";
1184                }
1185             }
1186             description {
1187                state: "focused" 0.0;
1188                inherit: "default" 0.0;
1189                visible: 1;
1190             }
1191          }
1192          part {
1193             name: "title_over";
1194             mouse_events: 0;
1195             description {
1196                state: "default" 0.0;
1197                visible: 0;
1198                rel1.to: "title_back";
1199                rel2.to: "title_back";
1200                fill.smooth: 0;
1201             }
1202             description {
1203                state: "focused" 0.0;
1204                inherit: "default" 0.0;
1205                visible: 1;
1206             }
1207          }
1208          part {
1209             name: "bottom_clip";
1210             type: RECT;
1211             description {
1212                state: "default" 0.0;
1213                rel1.to: "bottom";
1214                rel2.to: "bottom";
1215                color: 255 255 255 255;
1216             }
1217          }
1218          part {
1219             name: "resize_b";
1220             mouse_events: 0;
1221             clip_to: "bottom_clip";
1222             description {
1223                state: "default" 0.0;
1224                min: 20 10;
1225                max: 20 10;
1226                rel1 {
1227                   to: "bottom";
1228                   relative: 0.5 0.0;
1229                   offset: 0 -10;
1230                }
1231                rel2 {
1232                   to: "bottom";
1233                   relative: 0.5 0.0;
1234                   offset: 0 -1;
1235                }
1236             }
1237             description {
1238                state: "past" 0.0;
1239                inherit: "default" 0.0;
1240                rel1 {
1241                   relative: 0.5 1.0;
1242                   offset: 0 0;
1243                }
1244                rel2 {
1245                   relative: 0.5 1.0;
1246                   offset: 0 9;
1247                }
1248             }
1249          }
1250          part {
1251             name: "e.swallow.client";
1252             /* this determines where the actual
1253              * client window will be placed in
1254              * the border design */
1255             type: SWALLOW;
1256             description {
1257                state: "default" 0.0;
1258                rel1 {
1259                   relative: 1.0 1.0;
1260                   offset: 0 0;
1261                   to_x: "left";
1262                   to_y: "top";
1263                }
1264                rel2 {
1265                   relative: 0.0 0.0;
1266                   offset: -1 0;
1267                   to_x: "right";
1268                   to_y: "bottom";
1269                }
1270             }
1271             description {
1272                state: "shaded" 0.0;
1273                inherit: "default" 0.0;
1274                rel2 {
1275                   relative: 0.0 1.0;
1276                   offset: -1 -1;
1277                   to_x: "right";
1278                   to_y: "bottom";
1279                }
1280             }
1281             description {
1282                state: "max" 0.0;
1283                inherit: "default" 0.0;
1284                rel1 {
1285                   relative: 0.0 1.0;
1286                   offset: 0 0;
1287                   to_y: "top";
1288                }
1289                rel2 {
1290                   relative: 1.0 1.0;
1291                   offset: -1 -1;
1292                   to_y: "bottom";
1293                }
1294             }
1295          }
1296          /* these transparent rect parts are used for catching events in a way
1297           * here objects for design don't affect the events. these parts
1298           * are named speciifcally because E has config listening for specific
1299           * signals (events) coming from these named parts and based on those
1300           * will perform certain actions. these are actually all configurable
1301           * by the user, so if they want, clicking the logical "titlebar" could
1302           * close the window, not move it, and so on. the user decides this.
1303           * the theme designer simply indicates the "logcal" use of the theme
1304           * elements they have created */
1305          part {
1306             name: "e.event.titlebar";
1307             type: RECT;
1308             description {
1309                state: "default" 0.0;
1310                rel1.to: "title_base";
1311                rel2.to: "title_base";
1312                color: 0 0 0 0;
1313             }
1314          }
1315          part {
1316             name: "e.event.resize.t";
1317             type: RECT;
1318             description {
1319                state: "default" 0.0;
1320                rel1 {
1321                   relative: 0.0 0.0;
1322                   offset: 0 0;
1323                }
1324                rel2 {
1325                   relative: 1.0 0.0;
1326                   offset: -1 3;
1327                }
1328                color: 0 0 0 0;
1329             }
1330             description {
1331                state: "shaded" 0.0;
1332                inherit: "default" 0.0;
1333                visible: 0;
1334             }
1335          }
1336          part {
1337             name: "e.event.resize.b";
1338             type: RECT;
1339             description {
1340                state: "default" 0.0;
1341                rel1 {
1342                   relative: 0.0 1.0;
1343                   offset: 0 -4;
1344                }
1345                rel2 {
1346                   relative: 1.0 1.0;
1347                   offset: -1 -1;
1348                }
1349                color: 0 0 0 0;
1350             }
1351             description {
1352                state: "shaded" 0.0;
1353                inherit: "default" 0.0;
1354                visible: 0;
1355             }
1356          }
1357          part {
1358             name: "e.event.resize.l";
1359             type: RECT;
1360             description {
1361                state: "default" 0.0;
1362                rel1 {
1363                   relative: 0.0 0.0;
1364                   offset: 0 0;
1365                }
1366                rel2 {
1367                   relative: 0.0 1.0;
1368                   offset: 10 -3;
1369                }
1370                color: 0 0 0 0;
1371             }
1372             description {
1373                state: "shaded" 0.0;
1374                inherit: "default" 0.0;
1375                visible: 0;
1376             }
1377          }
1378          part {
1379             name: "e.event.resize.r";
1380             type: RECT;
1381             description {
1382                state: "default" 0.0;
1383                rel1 {
1384                   relative: 1.0 0.0;
1385                   offset: -10 0;
1386                }
1387                rel2 {
1388                   relative: 1.0 1.0;
1389                   offset: 0 -1;
1390                }
1391                color: 0 0 0 0;
1392             }
1393             description {
1394                state: "shaded" 0.0;
1395                inherit: "default" 0.0;
1396                visible: 0;
1397             }
1398          }
1399          part {
1400             name: "e.event.resize.tl";
1401             type: RECT;
1402             description {
1403                state: "default" 0.0;
1404                rel1 {
1405                   relative: 0.0 0.0;
1406                   offset: 0 0;
1407                }
1408                rel2 {
1409                   relative: 0.0 0.0;
1410                   offset: 10 10;
1411                }
1412                color: 0 0 0 0;
1413             }
1414             description {
1415                state: "shaded" 0.0;
1416                inherit: "default" 0.0;
1417                visible: 0;
1418             }
1419          }
1420          part {
1421             name: "e.event.resize.tr";
1422             type: RECT;
1423             description {
1424                state: "default" 0.0;
1425                rel1 {
1426                   relative: 1.0 0.0;
1427                   offset: -10 0;
1428                }
1429                rel2 {
1430                   relative: 1.0 0.0;
1431                   offset: 0 10;
1432                }
1433                color: 0 0 0 0;
1434             }
1435             description {
1436                state: "shaded" 0.0;
1437                inherit: "default" 0.0;
1438                visible: 0;
1439             }
1440          }
1441          part {
1442             name: "e.event.resize.bl";
1443             type: RECT;
1444             description {
1445                state: "default" 0.0;
1446                rel1 {
1447                   relative: 0.0 1.0;
1448                   offset: 0 -10;
1449                }
1450                rel2 {
1451                   relative: 0.0 1.0;
1452                   offset: 10 0;
1453                }
1454                color: 0 0 0 0;
1455             }
1456             description {
1457                state: "shaded" 0.0;
1458                inherit: "default" 0.0;
1459                visible: 0;
1460             }
1461          }
1462          part {
1463             name: "e.event.resize.br";
1464             type: RECT;
1465             description {
1466                state: "default" 0.0;
1467                rel1 {
1468                   relative: 1.0 1.0;
1469                   offset: -10 -10;
1470                }
1471                rel2 {
1472                   relative: 1.0 1.0;
1473                   offset: 0 0;
1474                }
1475                color: 0 0 0 0;
1476             }
1477             description {
1478                state: "shaded" 0.0;
1479                inherit: "default" 0.0;
1480                visible: 0;
1481             }
1482          }
1483          part {
1484             name: "e.event.icon";
1485             type: RECT;
1486             description {
1487                state: "default" 0.0;
1488                rel1.to: "icon_area";
1489                rel2.to: "icon_area";
1490                color: 0 0 0 0;
1491             }
1492          }
1493          part {
1494             name: "e.event.close";
1495             type: RECT;
1496             description {
1497                state: "default" 0.0;
1498                rel1.to: "bt_close";
1499                rel2.to: "bt_close";
1500                color: 0 0 0 0;
1501             }
1502          }
1503          part {
1504             name: "e.event.minimize";
1505             type: RECT;
1506             description {
1507                state: "default" 0.0;
1508                rel1.to: "bt_min";
1509                rel2.to: "bt_min";
1510                color: 0 0 0 0;
1511             }
1512          }
1513          part {
1514             name: "e.event.maximize";
1515             type: RECT;
1516             description {
1517                state: "default" 0.0;
1518                rel1.to: "bt_max";
1519                rel2.to: "bt_max";
1520                color: 0 0 0 0;
1521             }
1522          }
1523       }
1524       /* programs - these are basically snippets of simple logic to respond to
1525        * incoming signals (generated by signal emisions by code or events) */
1526       programs {
1527          program {
1528             name: "focus_in";
1529             /* name of the program. must be unique
1530              * within the list of programs attached
1531              * to a group of parts */
1532             signal: "e,state,focused";
1533             /* what signal triggers this program,
1534              * if any. this can also be a glob like
1535              * "mouse,down,*" for example. note
1536              * that globs are slower to match
1537              * and empty strings are literal matches
1538              * too */
1539             source: "e";
1540             /* the source of the signal - this must also match for
1541              * the program to be run */
1542             action: STATE_SET "default" 0.0;
1543             /* the action the program will
1544              * perform. in this case
1545              * it will set the state to
1546              * "focused" @ value 0.0 */
1547             target: "title_back";
1548             /* these are the targets for the action.
1549              * i.e. which parts will have their state
1550              * set to "focused" over 0.2 seconds */
1551             target: "title2";
1552             target: "title_over";
1553             target: "buttons_foc";
1554             target: "buttons_unfoc";
1555             target: "e.text.title";
1556          }
1557          program {
1558             name: "focus_out";
1559             /* this program is run when focus is
1560              * removed from a window border */
1561             signal: "e,state,unfocused";
1562             source: "e";
1563             action: STATE_SET "default" 0.0;
1564             target: "title_back";
1565             target: "title2";
1566             target: "title_over";
1567             target: "buttons_foc";
1568             target: "buttons_unfoc";
1569             target: "e.text.title";
1570          }
1571          program {
1572             name: "urgent";
1573             /* this program is run when the border is
1574              * meant to display an "urgent" state
1575              * (the application has something
1576              * important to show the user) */
1577             signal: "e,state,urgent";
1578             source: "e";
1579             action: STATE_SET "visible" 0.0;
1580             transition: DECELERATE 0.5;
1581             /* instead of a linear transition
1582              * this will vary from state A to B
1583              * but slow down towards the end */
1584             target: "urgent";
1585             target: "urgent2";
1586             after: "urgent2";
1587             /* when this program and its transition are
1588              * finished then chain (run) the "urgent2"
1589              * program below. this way a series of actions
1590              * and trnasitions can be chained together one
1591              * after the other */
1592          }
1593          program {
1594             name: "urgent2";
1595             action: STATE_SET "faded" 0.0;
1596             transition: LINEAR 0.5;
1597             target: "urgent2";
1598             after: "urgent3";
1599          }
1600          program {
1601             name: "urgent3";
1602             action: STATE_SET "visible" 0.0;
1603             target: "urgent2";
1604             /* notice - no transition. when not specified
1605              * it is assumed that the action should happen
1606              * immediately with no transition over time */
1607             after: "urgent2";
1608          }
1609          program {
1610             name: "urgentw0";
1611             /* these ae a list of icon "wobble"
1612              * programs to indicate urgency */
1613             signal: "e,state,urgent";
1614             source: "e";
1615             action: STATE_SET "default" 0.0;
1616             transition: DECELERATE 0.1;
1617             target: "icon_area2";
1618             after: "urgentw1";
1619          }
1620          program {
1621             name: "urgentw1";
1622             action: STATE_SET "uw1" 0.0;
1623             transition: DECELERATE 0.1;
1624             target: "icon_area2";
1625             after: "urgentw2";
1626          }
1627          program {
1628             name: "urgentw2";
1629             action: STATE_SET "uw2" 0.0;
1630             target: "icon_area2";
1631             transition: DECELERATE 0.1;
1632             after: "urgentw3";
1633          }
1634          program {
1635             name: "urgentw3";
1636             action: STATE_SET "uw3" 0.0;
1637             transition: DECELERATE 0.1;
1638             target: "icon_area2";
1639             after: "urgentw4";
1640          }
1641          program {
1642             name: "urgentw4";
1643             action: STATE_SET "uw4" 0.0;
1644             transition: DECELERATE 0.1;
1645             target: "icon_area2";
1646             after: "urgentw0";
1647          }
1648          program {
1649             name: "not_urgent";
1650             /* run when the window stops being
1651              * urgent */
1652             signal: "e,state,not_urgent";
1653             source: "e";
1654             action: ACTION_STOP;
1655             /* this action will stop other running programs
1656              * that are currently active. the programs to
1657              * stop are named in the targets below */
1658             target: "urgentw0";
1659             target: "urgentw1";
1660             target: "urgentw2";
1661             target: "urgentw3";
1662             target: "urgentw4";
1663             target: "urgent";
1664             target: "urgent2";
1665             target: "urgent3";
1666             after: "not_urgent2";
1667          }
1668          program {
1669             name: "not_urgent2";
1670             action: STATE_SET "default" 0.0;
1671             target: "urgent";
1672             target: "urgent2";
1673             target: "icon_area2";
1674          }
1675          program {
1676             name: "hung";
1677             /* run when an app is known to be hung/not
1678              * responding to ping requests */
1679             signal: "e,state,hung";
1680             source: "e";
1681             action: STATE_SET "shrunk" 0.0;
1682             target: "e.swallow.icon";
1683             transition: DECELERATE 0.5;
1684          }
1685          program {
1686             name: "unhung";
1687             /* when an app was hung but has started to
1688              * respond again, this is run */
1689             signal: "e,state,unhung";
1690             source: "e";
1691             action: ACTION_STOP;
1692             target: "busy_anim";
1693          }
1694          program {
1695             name: "unhung2";
1696             signal: "e,state,unhung";
1697             source: "e";
1698             action: STATE_SET "default" 0.0;
1699             target: "e.swallow.icon";
1700             target: "busy";
1701             transition: ACCELERATE 0.5;
1702          }
1703          program {
1704             name: "busy_anim";
1705             /* multiple programs can be triggered
1706              * from the same signals so this is
1707              * also run when an app becomes "hung" */
1708             signal: "e,state,hung";
1709             source: "e";
1710             action: STATE_SET "visible" 0.0;
1711             transition: LINEAR 0.3333;
1712             target: "busy";
1713             after: "busy_anim";
1714          }
1715          // don't have states/anim for a generic iconify action
1716          //    program { name: "xx";
1717          //       signal: "e,action,iconify";
1718          //       source: "e";
1719          //    }
1720          // don't have states/anim for a generic uniconify action
1721          //    program { name: "xx";
1722          //       signal: "e,action,uniconify";
1723          //       source: "e";
1724          //    }
1725          // don't have states/anim for a generic maximize action
1726          //    program { name: "xx";
1727          //       signal: "e,action,maximize";
1728          //       source: "e";
1729          //    }
1730          // don't have states/anim for a generic unmaximize action
1731          //    program { name: "xx";
1732          //       signal: "e,action,unmaximize";
1733          //       source: "e";
1734          //    }
1735          program {
1736             name: "max_full";
1737             /* run on fullscreen maximize */
1738             signal: "e,action,maximize,fullscreen";
1739             source: "e";
1740             action: STATE_SET "max" 0.0;
1741             target: "bottom";
1742             target: "bt_max";
1743             target: "e.swallow.client";
1744          }
1745          program {
1746             name: "unmax_full";
1747             /* run on unmaximize from fullscreen */
1748             signal: "e,action,unmaximize,fullscreen";
1749             source: "e";
1750             action: STATE_SET "default" 0.0;
1751             target: "bottom";
1752             target: "bt_max";
1753             target: "e.swallow.client";
1754          }
1755           program {
1756             name: "maximize";
1757             signal: "e,action,maximize";
1758             source: "e";
1759             action: STATE_SET "max" 0.0;
1760             target: "bt_max";
1761          }
1762            program {
1763             name: "unmaximize";
1764             signal: "e,action,unmaximize";
1765             source: "e";
1766             action: STATE_SET "default" 0.0;
1767             target: "bt_max";
1768          }
1769          // don't have any animation or stat change to do at the start of shading
1770          //    program { name: "xx";
1771          //       signal: "e,state,shading";
1772          //       source: "e";
1773          //    }
1774          program {
1775             name: "shade_end";
1776             /* run when the window finishes its
1777              * shading animation */
1778             signal: "e,state,shaded";
1779             source: "e";
1780             action: STATE_SET "shaded" 0.0;
1781             target: "bottom";
1782             target: "e.swallow.client";
1783             target: "e.event.resize.tl";
1784             target: "e.event.resize.tr";
1785             target: "e.event.resize.bl";
1786             target: "e.event.resize.br";
1787             target: "e.event.resize.t";
1788             target: "e.event.resize.b";
1789          }
1790          program {
1791             name: "unshade_start";
1792             /* run when the window starts
1793              * unshading itself */
1794             signal: "e,state,unshading";
1795             signal: "e,state,unshaded";
1796             source: "e";
1797             action: STATE_SET "default" 0.0;
1798             target: "bottom";
1799             target: "e.swallow.client";
1800             target: "e.event.resize.tl";
1801             target: "e.event.resize.tr";
1802             target: "e.event.resize.bl";
1803             target: "e.event.resize.br";
1804             target: "e.event.resize.t";
1805             target: "e.event.resize.b";
1806          }
1807          // don't have any animation or stat change to do at the end of unshading
1808          //    program { name: "xx";
1809          //       signal: "e,state,unshaded";
1810          //       source: "e";
1811          //    }
1812          program {
1813             name: "resize_b_on";
1814             signal: "mouse,in";
1815             /* on mouse enter... */
1816             source: "e.event.resize.b";
1817             /* in this named part */
1818             action: ACTION_STOP;
1819             /* stop the following programs */
1820             target: "resize_b_on2";
1821             target: "resize_b_on3";
1822             after: "resize_b_on2";
1823             /* then run... */
1824          }
1825          program {
1826             name: "resize_b_on2";
1827             action: STATE_SET "default" 0.0;
1828             target: "resize_b";
1829             after: "resize_b_on3";
1830          }
1831          program {
1832             name: "resize_b_on3";
1833             action: STATE_SET "past" 0.0;
1834             transition: LINEAR 0.5;
1835             target: "resize_b";
1836             after: "resize_b_on2";
1837          }
1838          program {
1839             name: "resize_b_off";
1840             signal: "mouse,out";
1841             /* on mouse leave... */
1842             source: "e.event.resize.b";
1843             action: ACTION_STOP;
1844             target: "resize_b_on";
1845             target: "resize_b_on2";
1846             target: "resize_b_on3";
1847          }
1848          program {
1849             name: "icon_down";
1850             signal: "mouse,down,*";
1851             /* if any mouse button is pressed... */
1852             source: "e.event.icon";
1853             action: STATE_SET "active" 0.0;
1854             target: "icon_area";
1855          }
1856          program {
1857             name: "icon_up";
1858             signal: "mouse,up,*";
1859             /* if any mouse button is released... */
1860             source: "e.event.icon";
1861             action: STATE_SET "default" 0.0;
1862             target: "icon_area";
1863          }
1864          program {
1865             name: "bt_close_down";
1866             signal: "mouse,down,*";
1867             source: "e.event.close";
1868             action: STATE_SET "active" 0.0;
1869             target: "bt_close_unfoc";
1870             target: "bt_close_foc";
1871          }
1872          program {
1873             name: "bt_close_up";
1874             signal: "mouse,up,*";
1875             source: "e.event.close";
1876             action: STATE_SET "default" 0.0;
1877             target: "bt_close_unfoc";
1878             target: "bt_close_foc";
1879          }
1880          program {
1881             name: "bt_max_down";
1882             signal: "mouse,down,*";
1883             source: "e.event.maximize";
1884             action: STATE_SET "active" 0.0;
1885             target: "bt_max_unfoc";
1886             target: "bt_max_foc";
1887          }
1888          program {
1889             name: "bt_max_up";
1890             signal: "mouse,up,*";
1891             source: "e.event.maximize";
1892             action: STATE_SET "default" 0.0;
1893             target: "bt_max_unfoc";
1894             target: "bt_max_foc";
1895          }
1896          program {
1897             name: "bt_min_down";
1898             signal: "mouse,down,*";
1899             source: "e.event.minimize";
1900             action: STATE_SET "active" 0.0;
1901             target: "bt_min_unfoc";
1902             target: "bt_min_foc";
1903          }
1904          program {
1905             name: "bt_min_up";
1906             signal: "mouse,up,*";
1907             source: "e.event.minimize";
1908             action: STATE_SET "default" 0.0;
1909             target: "bt_min_unfoc";
1910             target: "bt_min_foc";
1911          }
1912       }
1913    }
1914 #if 0
1915    /* more border types - see comments in the default border for information */
1916    /*** SHAPED WINDOW BORDER ***/
1917    group {
1918       name: "e/widgets/border/shaped/border";
1919       images {
1920          image: "bd_top.png" COMP;
1921          image: "bd_top_hilight.png" COMP;
1922          image: "bd_bottom.png" COMP;
1923          image: "bd_title_bg.png" COMP;
1924          image: "bd_title_over.png" COMP;
1925          image: "bd_resize_b.png" COMP;
1926          image: "busy-1.png" COMP;
1927          image: "busy-2.png" COMP;
1928          image: "busy-3.png" COMP;
1929          image: "busy-4.png" COMP;
1930          image: "busy-5.png" COMP;
1931          image: "busy-6.png" COMP;
1932          image: "busy-7.png" COMP;
1933          image: "busy-8.png" COMP;
1934          image: "busy-9.png" COMP;
1935          image: "exclam.png" COMP;
1936          image: "bd_button_close_shadow.png" COMP;
1937          image: "bd_button_close_focused.png" COMP;
1938          image: "bd_button_close_unfocused.png" COMP;
1939          image: "bd_button_max_shadow.png" COMP;
1940          image: "bd_button_max_focused.png" COMP;
1941          image: "bd_button_max_unfocused.png" COMP;
1942          image: "bd_button_min_shadow.png" COMP;
1943          image: "bd_button_min_focused.png" COMP;
1944          image: "bd_button_min_unfocused.png" COMP;
1945       }
1946       data.item: "shaped" "1";
1947       parts {
1948          part {
1949             name: "top";
1950             mouse_events: 0;
1951             description {
1952                state: "default" 0.0;
1953                rel1 {
1954                   relative: 0.0 0.0;
1955                   offset: 0 0;
1956                }
1957                rel2 {
1958                   relative: 1.0 1.0;
1959                   offset: -1 -1;
1960                   to_y: "title_base";
1961                }
1962                color_class: "border_top";
1963                image {
1964                   normal: "bd_top.png";
1965                   border: 2 2 2 2;
1966                }
1967             }
1968          }
1969          part {
1970             name: "bottom";
1971             mouse_events: 0;
1972             description {
1973                state: "default" 0.0;
1974                rel1 {
1975                   relative: 0.0 1.0;
1976                   offset: 0 -4;
1977                }
1978                rel2 {
1979                   relative: 1.0 1.0;
1980                   offset: -1 -1;
1981                }
1982                color_class: "border_bottom";
1983                image {
1984                   normal: "bd_bottom.png";
1985                   border: 2 2 0 0;
1986                }
1987             }
1988             description {
1989                state: "shaded" 0.0;
1990                inherit: "default" 0.0;
1991                visible: 0;
1992             }
1993             description {
1994                state: "max" 0.0;
1995                inherit: "default" 0.0;
1996                visible: 0;
1997             }
1998          }
1999          part {
2000             name: "icon_area";
2001             type: RECT;
2002             description {
2003                state: "default" 0.0;
2004                visible: 0;
2005                align: 0.0 0.5;
2006                aspect: 1.0 1.0;
2007                aspect_preference: VERTICAL;
2008                rel1 {
2009                   relative: 0.0 0.0;
2010                   offset: 2 2;
2011                }
2012                rel2 {
2013                   relative: 0.0 1.0;
2014                   offset: 2 -3;
2015                   to_y: "title_base";
2016                }
2017             }
2018             description {
2019                state: "active" 0.0;
2020                inherit: "default" 0.0;
2021                rel1 {
2022                   offset: 2 3;
2023                }
2024                rel2 {
2025                   offset: 2 -2;
2026                }
2027             }
2028          }
2029          part {
2030             name: "icon_area2";
2031             type: RECT;
2032             description {
2033                state: "default" 0.0;
2034                visible: 0;
2035                rel1.to: "icon_area";
2036                rel2.to: "icon_area";
2037             }
2038             description {
2039                state: "uw0" 0.0;
2040                inherit: "default" 0.0;
2041                rel1.offset: -3 -2;
2042                rel2.offset: -4 -3;
2043             }
2044             description {
2045                state: "uw1" 0.0;
2046                inherit: "default" 0.0;
2047                rel1.offset: 5 -2;
2048                rel2.offset: 4 -3;
2049             }
2050             description {
2051                state: "uw2" 0.0;
2052                inherit: "default" 0.0;
2053                rel1.offset: -1 4;
2054                rel2.offset: -2 3;
2055             }
2056             description {
2057                state: "uw3" 0.0;
2058                inherit: "default" 0.0;
2059                rel1.offset: -2 -1;
2060                rel2.offset: -3 -2;
2061             }
2062             description {
2063                state: "uw4" 0.0;
2064                inherit: "default" 0.0;
2065                rel1.offset: -4 1;
2066                rel2.offset: -5 0;
2067             }
2068          }
2069          part {
2070             name: "busy";
2071             mouse_events: 0;
2072             description {
2073                state: "default" 0.0;
2074                visible: 0;
2075                color: 255 255 255 0;
2076                max: 32 32;
2077                aspect: 1.0 1.0;
2078                aspect_preference: BOTH;
2079                rel1.to: "icon_area";
2080                rel2.to: "icon_area";
2081                image {
2082                   tween: "busy-1.png";
2083                   tween: "busy-2.png";
2084                   tween: "busy-3.png";
2085                   tween: "busy-4.png";
2086                   tween: "busy-5.png";
2087                   tween: "busy-6.png";
2088                   tween: "busy-7.png";
2089                   tween: "busy-8.png";
2090                   normal: "busy-9.png";
2091                }
2092             }
2093             description {
2094                state: "visible" 0.0;
2095                inherit: "default" 0.0;
2096                visible: 1;
2097                color: 255 255 255 255;
2098             }
2099          }
2100          part {
2101             name: "e.swallow.icon";
2102             type: SWALLOW;
2103             description {
2104                state: "default" 0.0;
2105                aspect: 1.0 1.0;
2106                aspect_preference: BOTH;
2107                rel1.to: "icon_area2";
2108                rel2.to: "icon_area2";
2109             }
2110             description {
2111                state: "shrunk" 0.0;
2112                inherit: "default" 0.0;
2113                rel1.relative: 0.3 0.3;
2114                rel2.relative: 0.7 0.7;
2115             }
2116          }
2117          part {
2118             name: "urgent";
2119             mouse_events: 0;
2120             description {
2121                state: "default" 0.0;
2122                visible: 0;
2123                color: 255 255 255 0;
2124                aspect: 1.0 1.0;
2125                aspect_preference: BOTH;
2126                rel1.to: "icon_area";
2127                rel2.to: "icon_area";
2128                image.normal: "exclam.png";
2129             }
2130             description {
2131                state: "visible" 0.0;
2132                inherit: "default" 0.0;
2133                visible: 1;
2134                color: 255 255 255 255;
2135             }
2136          }
2137          part {
2138             name: "urgent2";
2139             mouse_events: 0;
2140             description {
2141                state: "default" 0.0;
2142                visible: 0;
2143                color: 255 255 255 0;
2144                aspect: 1.0 1.0;
2145                aspect_preference: BOTH;
2146                rel1.to: "icon_area";
2147                rel2.to: "icon_area";
2148                image.normal: "exclam.png";
2149             }
2150             description {
2151                state: "visible" 0.0;
2152                inherit: "default" 0.0;
2153                visible: 1;
2154                color: 255 255 255 255;
2155             }
2156             description {
2157                state: "faded" 0.0;
2158                inherit: "default" 0.0;
2159                rel1.relative: -1.0 -1.0;
2160                rel2.relative: 2.0 2.0;
2161                visible: 1;
2162                color: 255 255 255 0;
2163             }
2164          }
2165          part {
2166             name: "e.text.title";
2167             type: TEXT;
2168             mouse_events: 0;
2169             description {
2170                state: "default" 0.0;
2171                visible: 1;
2172                align: 0.0 0.0;
2173                rel1 {
2174                   relative: 1.0 0.0;
2175                   offset: 9 2;
2176                   to_x: "icon_area";
2177                }
2178                rel2 {
2179                   relative: 1.0 0.0;
2180                   offset: -8 2;
2181                   to_x: "title_base";
2182                }
2183                color_class: "border_title";
2184                text {
2185                   font: "Sans:style=Bold";
2186                   size: 10;
2187                   min: 0 1;
2188                   align: 0.0 0.0;
2189                   text_class: "title_bar";
2190                }
2191             }
2192             description {
2193                state: "focused" 0.0;
2194                inherit: "default" 0.0;
2195                visible: 0;
2196                color: 0 0 0 0;
2197             }
2198          }
2199          part {
2200             name: "bt_close";
2201             mouse_events: 0;
2202             description {
2203                state: "default" 0.0;
2204                min: 14 14;
2205                max: 14 14;
2206                aspect: 1.0 1.0;
2207                aspect_preference: VERTICAL;
2208                rel1 {
2209                   relative: 1.0 0.0;
2210                   offset: -28 1;
2211                   to_x: "top";
2212                   to_y: "top";
2213                }
2214                rel2 {
2215                   relative: 1.0 1.0;
2216                   to_x: "top";
2217                   to_y: "top";
2218                }
2219                image.normal: "bd_button_close_shadow.png";
2220             }
2221          }
2222          part {
2223             name: "bt_max";
2224             mouse_events: 0;
2225             description {
2226                state: "default" 0.0;
2227                align: 1.0 0.5;
2228                min: 22 22;
2229                max: 22 22;
2230                aspect: 1.0 1.0;
2231                aspect_preference: VERTICAL;
2232                rel1 {
2233                   relative: 0.0 0.0;
2234                   offset: -2 1;
2235                   to_x: "bt_close";
2236                   to_y: "top";
2237                }
2238                rel2 {
2239                   relative: 0.0 1.0;
2240                   offset: -2 -2;
2241                   to_x: "bt_close";
2242                   to_y: "top";
2243                }
2244                image.normal: "bd_button_max_shadow.png";
2245             }
2246          }
2247          part {
2248             name: "bt_min";
2249             mouse_events: 0;
2250             description {
2251                state: "default" 0.0;
2252                align: 1.0 0.5;
2253                min: 22 22;
2254                max: 22 22;
2255                aspect: 1.0 1.0;
2256                aspect_preference: VERTICAL;
2257                rel1 {
2258                   relative: 0.0 0.0;
2259                   offset: -2 1;
2260                   to_x: "bt_max";
2261                   to_y: "top";
2262                }
2263                rel2 {
2264                   relative: 0.0 1.0;
2265                   offset: -2 -2;
2266                   to_x: "bt_max";
2267                   to_y: "top";
2268                }
2269                image.normal: "bd_button_min_shadow.png";
2270             }
2271          }
2272          part {
2273             name: "top_hilight";
2274             mouse_events: 0;
2275             description {
2276                state: "default" 0.0;
2277                rel1 {
2278                   relative: 0.0 0.0;
2279                   offset: 0 0;
2280                   to: "top";
2281                }
2282                rel2 {
2283                   relative: 1.0 0.5;
2284                   offset: -1 0;
2285                   to: "top";
2286                }
2287                color_class: "border_top_hilight";
2288                image {
2289                   normal: "bd_top_hilight.png";
2290                }
2291                fill.smooth: 0;
2292             }
2293          }
2294          part {
2295             name: "buttons_unfoc";
2296             type: RECT;
2297             description {
2298                state: "default" 0.0;
2299                visible: 1;
2300                color: 255 255 255 255;
2301             }
2302             description {
2303                state: "focused" 0.0;
2304                inherit: "default" 0.0;
2305                visible: 0;
2306                color: 255 255 255 0;
2307             }
2308          }
2309          part {
2310             name: "bt_close_unfoc";
2311             mouse_events: 0;
2312             clip_to: "buttons_unfoc";
2313             description {
2314                state: "default" 0.0;
2315                rel1.to: "bt_close";
2316                rel2.to: "bt_close";
2317                image.normal: "bd_button_close_unfocused.png";
2318             }
2319             description {
2320                state: "active" 0.0;
2321                inherit: "default" 0.0;
2322                rel1.offset: 0 1;
2323                rel2.offset: -1 0;
2324             }
2325          }
2326          part {
2327             name: "bt_max_unfoc";
2328             mouse_events: 0;
2329             clip_to: "buttons_unfoc";
2330             description {
2331                state: "default" 0.0;
2332                rel1.to: "bt_max";
2333                rel2.to: "bt_max";
2334                image.normal: "bd_button_max_unfocused.png";
2335             }
2336             description {
2337                state: "active" 0.0;
2338                inherit: "default" 0.0;
2339                rel1.offset: 0 1;
2340                rel2.offset: -1 0;
2341             }
2342          }
2343          part {
2344             name: "bt_min_unfoc";
2345             mouse_events: 0;
2346             clip_to: "buttons_unfoc";
2347             description {
2348                state: "default" 0.0;
2349                rel1.to: "bt_min";
2350                rel2.to: "bt_min";
2351                image.normal: "bd_button_min_unfocused.png";
2352             }
2353             description {
2354                state: "active" 0.0;
2355                inherit: "default" 0.0;
2356                rel1.offset: 0 1;
2357                rel2.offset: -1 0;
2358             }
2359          }
2360          part {
2361             name: "buttons_foc";
2362             type: RECT;
2363             description {
2364                state: "default" 0.0;
2365                visible: 0;
2366                color: 255 255 255 0;
2367             }
2368             description {
2369                state: "focused" 0.0;
2370                inherit: "default" 0.0;
2371                visible: 1;
2372                color: 255 255 255 255;
2373             }
2374          }
2375          part {
2376             name: "bt_close_foc";
2377             mouse_events: 0;
2378             clip_to: "buttons_foc";
2379             description {
2380                state: "default" 0.0;
2381                rel1.to: "bt_close";
2382                rel2.to: "bt_close";
2383                image.normal: "bd_button_close_focused.png";
2384             }
2385             description {
2386                state: "active" 0.0;
2387                inherit: "default" 0.0;
2388                rel1.offset: 0 1;
2389                rel2.offset: -1 0;
2390             }
2391          }
2392          part {
2393             name: "bt_max_foc";
2394             mouse_events: 0;
2395             clip_to: "buttons_foc";
2396             description {
2397                state: "default" 0.0;
2398                rel1.to: "bt_max";
2399                rel2.to: "bt_max";
2400                image.normal: "bd_button_max_focused.png";
2401             }
2402             description {
2403                state: "active" 0.0;
2404                inherit: "default" 0.0;
2405                rel1.offset: 0 1;
2406                rel2.offset: -1 0;
2407             }
2408          }
2409          part {
2410             name: "bt_min_foc";
2411             mouse_events: 0;
2412             clip_to: "buttons_foc";
2413             description {
2414                state: "default" 0.0;
2415                rel1.to: "bt_min";
2416                rel2.to: "bt_min";
2417                image.normal: "bd_button_min_focused.png";
2418             }
2419             description {
2420                state: "active" 0.0;
2421                inherit: "default" 0.0;
2422                rel1.offset: 0 1;
2423                rel2.offset: -1 0;
2424             }
2425          }
2426          part {
2427             name: "title_base";
2428             type: RECT;
2429             mouse_events: 0;
2430             description {
2431                state: "default" 0.0;
2432                visible: 0;
2433                rel1 {
2434                   relative: 1.0 0.0;
2435                   offset: 0 0;
2436                   to_x: "icon_area";
2437                }
2438                rel2 {
2439                   relative: 0.0 1.0;
2440                   offset: -3 4;
2441                   to_y: "e.text.title";
2442                   to_x: "bt_min";
2443                }
2444             }
2445          }
2446          part {
2447             name: "title_back";
2448             mouse_events: 0;
2449             description {
2450                state: "default" 0.0;
2451                visible: 0;
2452                rel1 {
2453                   to: "title_base";
2454                }
2455                rel2 {
2456                   to: "title_base";
2457                   relative: 1.0 0.0;
2458                }
2459                image {
2460                   normal: "bd_title_bg.png";
2461                   border: 7 7 2 7;
2462                }
2463                fill.smooth: 0;
2464             }
2465             description {
2466                state: "focused" 0.0;
2467                inherit: "default" 0.0;
2468                visible: 1;
2469                rel2 {
2470                   to: "title_base";
2471                   relative: 1.0 1.0;
2472                }
2473             }
2474          }
2475          part {
2476             name: "title2";
2477             type: TEXT;
2478             mouse_events: 0;
2479             effect: SOFT_SHADOW;
2480             description {
2481                state: "default" 0.0;
2482                visible: 0;
2483                align: 0.0 1.0;
2484                rel1 {
2485                   to_x: "e.text.title";
2486                   to_y: "title_back";
2487                   relative: 0.0 1.0;
2488                   offset: -1 0;
2489                }
2490                rel2 {
2491                   to_x: "e.text.title";
2492                   to_y: "title_back";
2493                   relative: 1.0 1.0;
2494                   offset: 0 1;
2495                }
2496                color_class: "border_title_active";
2497                text {
2498                   text_source: "e.text.title";
2499                   font: "Sans:style=Bold";
2500                   size: 10;
2501                   align: 0.0 0.0;
2502                   min: 0 1;
2503                   text_class: "title_bar";
2504                }
2505             }
2506             description {
2507                state: "focused" 0.0;
2508                inherit: "default" 0.0;
2509                visible: 1;
2510             }
2511          }
2512          part {
2513             name: "title_over";
2514             mouse_events: 0;
2515             description {
2516                state: "default" 0.0;
2517                visible: 0;
2518                rel1.to: "title_back";
2519                rel2.to: "title_back";
2520                image {
2521                   normal: "bd_title_over.png";
2522                   border: 7 7 2 7;
2523                }
2524                fill.smooth: 0;
2525             }
2526             description {
2527                state: "focused" 0.0;
2528                inherit: "default" 0.0;
2529                visible: 1;
2530             }
2531          }
2532          part {
2533             name: "bottom_clip";
2534             type: RECT;
2535             description {
2536                state: "default" 0.0;
2537                rel1.to: "bottom";
2538                rel2.to: "bottom";
2539                color: 255 255 255 255;
2540             }
2541          }
2542          part {
2543             name: "resize_b";
2544             mouse_events: 0;
2545             clip_to: "bottom_clip";
2546             description {
2547                state: "default" 0.0;
2548                min: 20 10;
2549                max: 20 10;
2550                rel1 {
2551                   to: "bottom";
2552                   relative: 0.5 0.0;
2553                   offset: 0 -10;
2554                }
2555                rel2 {
2556                   to: "bottom";
2557                   relative: 0.5 0.0;
2558                   offset: 0 -1;
2559                }
2560                image {
2561                   normal: "bd_resize_b.png";
2562                }
2563             }
2564             description {
2565                state: "past" 0.0;
2566                inherit: "default" 0.0;
2567                rel1 {
2568                   relative: 0.5 1.0;
2569                   offset: 0 0;
2570                }
2571                rel2 {
2572                   relative: 0.5 1.0;
2573                   offset: 0 9;
2574                }
2575             }
2576          }
2577          part {
2578             name: "e.swallow.client";
2579             type: SWALLOW;
2580             description {
2581                state: "default" 0.0;
2582                rel1 {
2583                   relative: 0.0 1.0;
2584                   offset: 0 0;
2585                   to_y: "top";
2586                }
2587                rel2 {
2588                   relative: 1.0 0.0;
2589                   offset: -1 -1;
2590                   to_y: "bottom";
2591                }
2592             }
2593             description {
2594                state: "shaded" 0.0;
2595                inherit: "default" 0.0;
2596                rel2 {
2597                   relative: 1.0 1.0;
2598                   offset: -1 -1;
2599                   to_y: "bottom";
2600                }
2601             }
2602             description {
2603                state: "max" 0.0;
2604                inherit: "default" 0.0;
2605                rel1 {
2606                   relative: 0.0 1.0;
2607                   offset: 0 0;
2608                   to_y: "top";
2609                }
2610                rel2 {
2611                   relative: 1.0 1.0;
2612                   offset: -1 -1;
2613                   to_y: "bottom";
2614                }
2615             }
2616          }
2617          part {
2618             name: "e.event.titlebar";
2619             type: RECT;
2620             description {
2621                state: "default" 0.0;
2622                rel1.to: "title_base";
2623                rel2.to: "title_base";
2624                color: 0 0 0 0;
2625             }
2626          }
2627          part {
2628             name: "e.event.resize.t";
2629             type: RECT;
2630             description {
2631                state: "default" 0.0;
2632                rel1 {
2633                   relative: 0.0 0.0;
2634                   offset: 0 0;
2635                }
2636                rel2 {
2637                   relative: 1.0 0.0;
2638                   offset: -1 3;
2639                }
2640                color: 0 0 0 0;
2641             }
2642             description {
2643                state: "shaded" 0.0;
2644                inherit: "default" 0.0;
2645                visible: 0;
2646             }
2647          }
2648          part {
2649             name: "e.event.resize.b";
2650             type: RECT;
2651             description {
2652                state: "default" 0.0;
2653                rel1 {
2654                   relative: 0.0 1.0;
2655                   offset: 0 -4;
2656                }
2657                rel2 {
2658                   relative: 1.0 1.0;
2659                   offset: -1 -1;
2660                }
2661                color: 0 0 0 0;
2662             }
2663             description {
2664                state: "shaded" 0.0;
2665                inherit: "default" 0.0;
2666                visible: 0;
2667             }
2668          }
2669          part {
2670             name: "e.event.resize.tl";
2671             type: RECT;
2672             description {
2673                state: "default" 0.0;
2674                rel1 {
2675                   relative: 0.0 0.0;
2676                   offset: 0 0;
2677                }
2678                rel2 {
2679                   relative: 0.0 0.0;
2680                   offset: 15 15;
2681                }
2682                color: 0 0 0 0;
2683             }
2684             description {
2685                state: "shaded" 0.0;
2686                inherit: "default" 0.0;
2687                visible: 0;
2688             }
2689          }
2690          part {
2691             name: "e.event.resize.tr";
2692             type: RECT;
2693             description {
2694                state: "default" 0.0;
2695                rel1 {
2696                   relative: 1.0 0.0;
2697                   offset: -16 0;
2698                }
2699                rel2 {
2700                   relative: 1.0 0.0;
2701                   offset: -1 15;
2702                }
2703                color: 0 0 0 0;
2704             }
2705             description {
2706                state: "shaded" 0.0;
2707                inherit: "default" 0.0;
2708                visible: 0;
2709             }
2710          }
2711          part {
2712             name: "e.event.resize.bl";
2713             type: RECT;
2714             description {
2715                state: "default" 0.0;
2716                rel1 {
2717                   relative: 0.0 1.0;
2718                   offset: 0 -16;
2719                }
2720                rel2 {
2721                   relative: 0.0 1.0;
2722                   offset: 15 -1;
2723                }
2724                color: 0 0 0 0;
2725             }
2726             description {
2727                state: "shaded" 0.0;
2728                inherit: "default" 0.0;
2729                visible: 0;
2730             }
2731          }
2732          part {
2733             name: "e.event.resize.br";
2734             type: RECT;
2735             description {
2736                state: "default" 0.0;
2737                rel1 {
2738                   relative: 1.0 1.0;
2739                   offset: -16 -16;
2740                }
2741                rel2 {
2742                   relative: 1.0 1.0;
2743                   offset: -1 -1;
2744                }
2745                color: 0 0 0 0;
2746             }
2747             description {
2748                state: "shaded" 0.0;
2749                inherit: "default" 0.0;
2750                visible: 0;
2751             }
2752          }
2753          part {
2754             name: "e.event.icon";
2755             type: RECT;
2756             description {
2757                state: "default" 0.0;
2758                rel1.to: "icon_area";
2759                rel2.to: "icon_area";
2760                color: 0 0 0 0;
2761             }
2762          }
2763          part {
2764             name: "e.event.close";
2765             type: RECT;
2766             description {
2767                state: "default" 0.0;
2768                rel1.to: "bt_close";
2769                rel2.to: "bt_close";
2770                color: 0 0 0 0;
2771             }
2772          }
2773          part {
2774             name: "e.event.minimize";
2775             type: RECT;
2776             description {
2777                state: "default" 0.0;
2778                rel1.to: "bt_min";
2779                rel2.to: "bt_min";
2780                color: 0 0 0 0;
2781             }
2782          }
2783          part {
2784             name: "e.event.maximize";
2785             type: RECT;
2786             description {
2787                state: "default" 0.0;
2788                rel1.to: "bt_max";
2789                rel2.to: "bt_max";
2790                color: 0 0 0 0;
2791             }
2792          }
2793       }
2794       programs {
2795          program {
2796             name: "focus_in";
2797             signal: "e,state,focused";
2798             source: "e";
2799             action: STATE_SET "focused" 0.0;
2800             transition: LINEAR 0.2;
2801             target: "title_back";
2802             target: "title2";
2803             target: "title_over";
2804             target: "buttons_foc";
2805             target: "buttons_unfoc";
2806             target: "e.text.title";
2807          }
2808          program {
2809             name: "focus_out";
2810             signal: "e,state,unfocused";
2811             source: "e";
2812             action: STATE_SET "default" 0.0;
2813             transition: LINEAR 0.2;
2814             target: "title_back";
2815             target: "title2";
2816             target: "title_over";
2817             target: "buttons_foc";
2818             target: "buttons_unfoc";
2819             target: "e.text.title";
2820          }
2821          program {
2822             name: "urgent";
2823             signal: "e,state,urgent";
2824             source: "e";
2825             action: STATE_SET "visible" 0.0;
2826             target: "urgent";
2827             target: "urgent2";
2828             transition: DECELERATE 0.5;
2829             after: "urgent2";
2830          }
2831          program {
2832             name: "urgent2";
2833             action: STATE_SET "faded" 0.0;
2834             target: "urgent2";
2835             transition: LINEAR 0.5;
2836             after: "urgent3";
2837          }
2838          program {
2839             name: "urgent3";
2840             action: STATE_SET "visible" 0.0;
2841             target: "urgent2";
2842             after: "urgent2";
2843          }
2844          program {
2845             name: "urgentw0";
2846             signal: "e,state,urgent";
2847             source: "e";
2848             action: STATE_SET "default" 0.0;
2849             target: "icon_area2";
2850             transition: DECELERATE 0.1;
2851             after: "urgentw1";
2852          }
2853          program {
2854             name: "urgentw1";
2855             action: STATE_SET "uw1" 0.0;
2856             target: "icon_area2";
2857             transition: DECELERATE 0.1;
2858             after: "urgentw2";
2859          }
2860          program {
2861             name: "urgentw2";
2862             action: STATE_SET "uw2" 0.0;
2863             target: "icon_area2";
2864             transition: DECELERATE 0.1;
2865             after: "urgentw3";
2866          }
2867          program {
2868             name: "urgentw3";
2869             action: STATE_SET "uw3" 0.0;
2870             target: "icon_area2";
2871             transition: DECELERATE 0.1;
2872             after: "urgentw4";
2873          }
2874          program {
2875             name: "urgentw4";
2876             action: STATE_SET "uw4" 0.0;
2877             target: "icon_area2";
2878             transition: DECELERATE 0.1;
2879             after: "urgentw0";
2880          }
2881          program {
2882             name: "not_urgent";
2883             signal: "e,state,not_urgent";
2884             source: "e";
2885             action: ACTION_STOP;
2886             target: "urgentw0";
2887             target: "urgentw1";
2888             target: "urgentw2";
2889             target: "urgentw3";
2890             target: "urgentw4";
2891             target: "urgent";
2892             target: "urgent2";
2893             target: "urgent3";
2894             after: "not_urgent2";
2895          }
2896          program {
2897             name: "not_urgent2";
2898             action: STATE_SET "default" 0.0;
2899             target: "urgent";
2900             target: "urgent2";
2901             target: "icon_area2";
2902          }
2903          program {
2904             name: "hung";
2905             signal: "e,state,hung";
2906             source: "e";
2907             /* FIXME: */
2908             action: STATE_SET "shrunk" 0.0;
2909             target: "e.swallow.icon";
2910             transition: DECELERATE 0.5;
2911          }
2912          program {
2913             name: "unhung";
2914             signal: "e,state,unhung";
2915             source: "e";
2916             /* FIXME: */
2917             action: ACTION_STOP;
2918             target: "busy_anim";
2919          }
2920          program {
2921             name: "unhung2";
2922             signal: "e,state,unhung";
2923             source: "e";
2924             /* FIXME: */
2925             action: STATE_SET "default" 0.0;
2926             target: "e.swallow.icon";
2927             target: "busy";
2928             transition: ACCELERATE 0.5;
2929          }
2930          program {
2931             name: "busy_anim";
2932             signal: "e,state,hung";
2933             source: "e";
2934             action: STATE_SET "visible" 0.0;
2935             transition: LINEAR 0.3333;
2936             target: "busy";
2937             after: "busy_anim";
2938          }
2939          program {
2940             name: "max_full";
2941             signal: "e,action,maximize,fullscreen";
2942             source: "e";
2943             action: STATE_SET "max" 0.0;
2944             target: "bottom";
2945             target: "e.swallow.client";
2946          }
2947          program {
2948             name: "unmax_full";
2949             signal: "e,action,unmaximize,fullscreen";
2950             source: "e";
2951             action: STATE_SET "default" 0.0;
2952             target: "bottom";
2953             target: "e.swallow.client";
2954          }
2955          program {
2956             name: "shade_end";
2957             signal: "e,state,shaded";
2958             source: "e";
2959             action: STATE_SET "shaded" 0.0;
2960             target: "bottom";
2961             target: "e.swallow.client";
2962             target: "e.event.resize.tl";
2963             target: "e.event.resize.tr";
2964             target: "e.event.resize.bl";
2965             target: "e.event.resize.br";
2966             target: "e.event.resize.t";
2967             target: "e.event.resize.b";
2968          }
2969          program {
2970             name: "unshade_start";
2971             signal: "e,state,unshading";
2972             source: "e";
2973             action: STATE_SET "default" 0.0;
2974             target: "bottom";
2975             target: "e.swallow.client";
2976             target: "e.event.resize.tl";
2977             target: "e.event.resize.tr";
2978             target: "e.event.resize.bl";
2979             target: "e.event.resize.br";
2980             target: "e.event.resize.t";
2981             target: "e.event.resize.b";
2982          }
2983          program {
2984             name: "resize_b_on";
2985             signal: "mouse,in";
2986             source: "e.event.resize.b";
2987             action: ACTION_STOP;
2988             target: "resize_b_on2";
2989             target: "resize_b_on3";
2990             after: "resize_b_on2";
2991          }
2992          program {
2993             name: "resize_b_on2";
2994             action: STATE_SET "default" 0.0;
2995             target: "resize_b";
2996             after: "resize_b_on3";
2997          }
2998          program {
2999             name: "resize_b_on3";
3000             action: STATE_SET "past" 0.0;
3001             transition: LINEAR 0.5;
3002             target: "resize_b";
3003             after: "resize_b_on2";
3004          }
3005          program {
3006             name: "resize_b_off";
3007             signal: "mouse,out";
3008             source: "e.event.resize.b";
3009             action: ACTION_STOP;
3010             target: "resize_b_on";
3011             target: "resize_b_on2";
3012             target: "resize_b_on3";
3013          }
3014          program {
3015             name: "icon_down";
3016             signal: "mouse,down,*";
3017             source: "e.event.icon";
3018             action: STATE_SET "active" 0.0;
3019             target: "icon_area";
3020          }
3021          program {
3022             name: "icon_up";
3023             signal: "mouse,up,*";
3024             source: "e.event.icon";
3025             action: STATE_SET "default" 0.0;
3026             target: "icon_area";
3027          }
3028          program {
3029             name: "bt_close_down";
3030             signal: "mouse,down,*";
3031             source: "e.event.close";
3032             action: STATE_SET "active" 0.0;
3033             target: "bt_close_unfoc";
3034             target: "bt_close_foc";
3035          }
3036          program {
3037             name: "bt_close_up";
3038             signal: "mouse,up,*";
3039             source: "e.event.close";
3040             action: STATE_SET "default" 0.0;
3041             target: "bt_close_unfoc";
3042             target: "bt_close_foc";
3043          }
3044          program {
3045             name: "bt_max_down";
3046             signal: "mouse,down,*";
3047             source: "e.event.maximize";
3048             action: STATE_SET "active" 0.0;
3049             target: "bt_max_unfoc";
3050             target: "bt_max_foc";
3051          }
3052          program {
3053             name: "bt_max_up";
3054             signal: "mouse,up,*";
3055             source: "e.event.maximize";
3056             action: STATE_SET "default" 0.0;
3057             target: "bt_max_unfoc";
3058             target: "bt_max_foc";
3059          }
3060          program {
3061             name: "bt_min_down";
3062             signal: "mouse,down,*";
3063             source: "e.event.minimize";
3064             action: STATE_SET "active" 0.0;
3065             target: "bt_min_unfoc";
3066             target: "bt_min_foc";
3067          }
3068          program {
3069             name: "bt_min_up";
3070             signal: "mouse,up,*";
3071             source: "e.event.minimize";
3072             action: STATE_SET "default" 0.0;
3073             target: "bt_min_unfoc";
3074             target: "bt_min_foc";
3075          }
3076       }
3077    }
3078    /*** NORESIZE WINDOW BORDER ***/
3079    group {
3080       name: "e/widgets/border/noresize/border";
3081       images {
3082          image: "bd_top.png" COMP;
3083          image: "bd_top_hilight.png" COMP;
3084          image: "bd_title_bg.png" COMP;
3085          image: "bd_title_over.png" COMP;
3086          image: "busy-1.png" COMP;
3087          image: "busy-2.png" COMP;
3088          image: "busy-3.png" COMP;
3089          image: "busy-4.png" COMP;
3090          image: "busy-5.png" COMP;
3091          image: "busy-6.png" COMP;
3092          image: "busy-7.png" COMP;
3093          image: "busy-8.png" COMP;
3094          image: "busy-9.png" COMP;
3095          image: "exclam.png" COMP;
3096          image: "bd_button_close_shadow.png" COMP;
3097          image: "bd_button_close_focused.png" COMP;
3098          image: "bd_button_close_unfocused.png" COMP;
3099          image: "bd_button_max_shadow.png" COMP;
3100          image: "bd_button_max_unfocused.png" COMP;
3101          image: "bd_button_min_shadow.png" COMP;
3102          image: "bd_button_min_focused.png" COMP;
3103          image: "bd_button_min_unfocused.png" COMP;
3104       }
3105       parts {
3106          part {
3107             name: "top";
3108             mouse_events: 0;
3109             description {
3110                state: "default" 0.0;
3111                rel1 {
3112                   relative: 0.0 0.0;
3113                   offset: 0 0;
3114                }
3115                rel2 {
3116                   relative: 1.0 1.0;
3117                   offset: -1 -1;
3118                   to_y: "title_base";
3119                }
3120                color_class: "border_top";
3121                image {
3122                   normal: "bd_top.png";
3123                   border: 2 2 2 2;
3124                }
3125             }
3126          }
3127          part {
3128             name: "icon_area";
3129             type: RECT;
3130             description {
3131                state: "default" 0.0;
3132                visible: 0;
3133                align: 0.0 0.5;
3134                aspect: 1.0 1.0;
3135                aspect_preference: VERTICAL;
3136                rel1 {
3137                   relative: 0.0 0.0;
3138                   offset: 2 2;
3139                }
3140                rel2 {
3141                   relative: 0.0 1.0;
3142                   offset: 2 -3;
3143                   to_y: "title_base";
3144                }
3145             }
3146             description {
3147                state: "active" 0.0;
3148                inherit: "default" 0.0;
3149                rel1 {
3150                   offset: 2 3;
3151                }
3152                rel2 {
3153                   offset: 2 -2;
3154                }
3155             }
3156          }
3157          part {
3158             name: "icon_area2";
3159             type: RECT;
3160             description {
3161                state: "default" 0.0;
3162                visible: 0;
3163                rel1.to: "icon_area";
3164                rel2.to: "icon_area";
3165             }
3166             description {
3167                state: "uw0" 0.0;
3168                inherit: "default" 0.0;
3169                rel1.offset: -3 -2;
3170                rel2.offset: -4 -3;
3171             }
3172             description {
3173                state: "uw1" 0.0;
3174                inherit: "default" 0.0;
3175                rel1.offset: 5 -2;
3176                rel2.offset: 4 -3;
3177             }
3178             description {
3179                state: "uw2" 0.0;
3180                inherit: "default" 0.0;
3181                rel1.offset: -1 4;
3182                rel2.offset: -2 3;
3183             }
3184             description {
3185                state: "uw3" 0.0;
3186                inherit: "default" 0.0;
3187                rel1.offset: -2 -1;
3188                rel2.offset: -3 -2;
3189             }
3190             description {
3191                state: "uw4" 0.0;
3192                inherit: "default" 0.0;
3193                rel1.offset: -4 1;
3194                rel2.offset: -5 0;
3195             }
3196          }
3197          part {
3198             name: "busy";
3199             mouse_events: 0;
3200             description {
3201                state: "default" 0.0;
3202                visible: 0;
3203                color: 255 255 255 0;
3204                max: 32 32;
3205                aspect: 1.0 1.0;
3206                aspect_preference: BOTH;
3207                rel1.to: "icon_area";
3208                rel2.to: "icon_area";
3209                image {
3210                   tween: "busy-1.png";
3211                   tween: "busy-2.png";
3212                   tween: "busy-3.png";
3213                   tween: "busy-4.png";
3214                   tween: "busy-5.png";
3215                   tween: "busy-6.png";
3216                   tween: "busy-7.png";
3217                   tween: "busy-8.png";
3218                   normal: "busy-9.png";
3219                }
3220             }
3221             description {
3222                state: "visible" 0.0;
3223                inherit: "default" 0.0;
3224                visible: 1;
3225                color: 255 255 255 255;
3226             }
3227          }
3228          part {
3229             name: "e.swallow.icon";
3230             type: SWALLOW;
3231             description {
3232                state: "default" 0.0;
3233                aspect: 1.0 1.0;
3234                aspect_preference: BOTH;
3235                rel1.to: "icon_area2";
3236                rel2.to: "icon_area2";
3237             }
3238             description {
3239                state: "shrunk" 0.0;
3240                inherit: "default" 0.0;
3241                rel1.relative: 0.3 0.3;
3242                rel2.relative: 0.7 0.7;
3243             }
3244          }
3245          part {
3246             name: "urgent";
3247             mouse_events: 0;
3248             description {
3249                state: "default" 0.0;
3250                visible: 0;
3251                color: 255 255 255 0;
3252                aspect: 1.0 1.0;
3253                aspect_preference: BOTH;
3254                rel1.to: "icon_area";
3255                rel2.to: "icon_area";
3256                image.normal: "exclam.png";
3257             }
3258             description {
3259                state: "visible" 0.0;
3260                inherit: "default" 0.0;
3261                visible: 1;
3262                color: 255 255 255 255;
3263             }
3264          }
3265          part {
3266             name: "urgent2";
3267             mouse_events: 0;
3268             description {
3269                state: "default" 0.0;
3270                visible: 0;
3271                color: 255 255 255 0;
3272                aspect: 1.0 1.0;
3273                aspect_preference: BOTH;
3274                rel1.to: "icon_area";
3275                rel2.to: "icon_area";
3276                image.normal: "exclam.png";
3277             }
3278             description {
3279                state: "visible" 0.0;
3280                inherit: "default" 0.0;
3281                visible: 1;
3282                color: 255 255 255 255;
3283             }
3284             description {
3285                state: "faded" 0.0;
3286                inherit: "default" 0.0;
3287                rel1.relative: -1.0 -1.0;
3288                rel2.relative: 2.0 2.0;
3289                visible: 1;
3290                color: 255 255 255 0;
3291             }
3292          }
3293          part {
3294             name: "e.text.title";
3295             type: TEXT;
3296             mouse_events: 0;
3297             description {
3298                state: "default" 0.0;
3299                visible: 1;
3300                align: 0.0 0.0;
3301                rel1 {
3302                   relative: 1.0 0.0;
3303                   offset: 9 2;
3304                   to_x: "icon_area";
3305                }
3306                rel2 {
3307                   relative: 1.0 0.0;
3308                   offset: -8 2;
3309                   to_x: "title_base";
3310                }
3311                color_class: "border_title";
3312                text {
3313                   font: "Sans:style=Bold";
3314                   size: 10;
3315                   min: 0 1;
3316                   align: 0.0 0.0;
3317                   text_class: "title_bar";
3318                }
3319             }
3320             description {
3321                state: "focused" 0.0;
3322                inherit: "default" 0.0;
3323                visible: 0;
3324                color: 0 0 0 0;
3325             }
3326          }
3327          part {
3328             name: "bt_close";
3329             mouse_events: 0;
3330             description {
3331                state: "default" 0.0;
3332                min: 14 14;
3333                max: 14 14;
3334                aspect: 1.0 1.0;
3335                aspect_preference: VERTICAL;
3336                rel1 {
3337                   relative: 1.0 0.0;
3338                   offset: -28 1;
3339                   to_x: "top";
3340                   to_y: "top";
3341                }
3342                rel2 {
3343                   relative: 1.0 1.0;
3344                   to_x: "top";
3345                   to_y: "top";
3346                }
3347                image.normal: "bd_button_close_shadow.png";
3348             }
3349          }
3350          part {
3351             name: "bt_max";
3352             description {
3353                state: "default" 0.0;
3354                align: 1.0 0.5;
3355                min: 22 22;
3356                max: 22 22;
3357                aspect: 1.0 1.0;
3358                aspect_preference: VERTICAL;
3359                rel1 {
3360                   relative: 0.0 0.0;
3361                   offset: -2 1;
3362                   to_x: "bt_close";
3363                   to_y: "top";
3364                }
3365                rel2 {
3366                   relative: 0.0 1.0;
3367                   offset: -2 -2;
3368                   to_x: "bt_close";
3369                   to_y: "top";
3370                }
3371                image.normal: "bd_button_max_shadow.png";
3372             }
3373          }
3374          part {
3375             name: "bt_min";
3376             mouse_events: 0;
3377             description {
3378                state: "default" 0.0;
3379                align: 1.0 0.5;
3380                min: 22 22;
3381                max: 22 22;
3382                aspect: 1.0 1.0;
3383                aspect_preference: VERTICAL;
3384                rel1 {
3385                   relative: 0.0 0.0;
3386                   offset: -2 1;
3387                   to_x: "bt_max";
3388                   to_y: "top";
3389                }
3390                rel2 {
3391                   relative: 0.0 1.0;
3392                   offset: -2 -2;
3393                   to_x: "bt_max";
3394                   to_y: "top";
3395                }
3396                image.normal: "bd_button_min_shadow.png";
3397             }
3398          }
3399          part {
3400             name: "top_hilight";
3401             mouse_events: 0;
3402             description {
3403                state: "default" 0.0;
3404                rel1 {
3405                   relative: 0.0 0.0;
3406                   offset: 0 0;
3407                   to: "top";
3408                }
3409                rel2 {
3410                   relative: 1.0 0.5;
3411                   offset: -1 0;
3412                   to: "top";
3413                }
3414                color_class: "border_top_hilight";
3415                image {
3416                   normal: "bd_top_hilight.png";
3417                }
3418                fill.smooth: 0;
3419             }
3420          }
3421          part {
3422             name: "buttons_unfoc";
3423             type: RECT;
3424             description {
3425                state: "default" 0.0;
3426                visible: 1;
3427                color: 255 255 255 255;
3428             }
3429             description {
3430                state: "focused" 0.0;
3431                inherit: "default" 0.0;
3432                visible: 0;
3433                color: 255 255 255 0;
3434             }
3435          }
3436          part {
3437             name: "bt_close_unfoc";
3438             mouse_events: 0;
3439             clip_to: "buttons_unfoc";
3440             description {
3441                state: "default" 0.0;
3442                rel1.to: "bt_close";
3443                rel2.to: "bt_close";
3444                image.normal: "bd_button_close_unfocused.png";
3445             }
3446             description {
3447                state: "active" 0.0;
3448                inherit: "default" 0.0;
3449                rel1.offset: 0 1;
3450                rel2.offset: -1 0;
3451             }
3452          }
3453          part {
3454             name: "bt_max_unfoc";
3455             clip_to: "buttons_unfoc";
3456             description {
3457                state: "default" 0.0;
3458                rel1.to: "bt_max";
3459                rel2.to: "bt_max";
3460                image.normal: "bd_button_max_unfocused.png";
3461             }
3462             description {
3463                state: "active" 0.0;
3464                inherit: "default" 0.0;
3465                rel1.offset: 0 1;
3466                rel2.offset: -1 0;
3467             }
3468          }
3469          part {
3470             name: "bt_min_unfoc";
3471             mouse_events: 0;
3472             clip_to: "buttons_unfoc";
3473             description {
3474                state: "default" 0.0;
3475                rel1.to: "bt_min";
3476                rel2.to: "bt_min";
3477                image.normal: "bd_button_min_unfocused.png";
3478             }
3479             description {
3480                state: "active" 0.0;
3481                inherit: "default" 0.0;
3482                rel1.offset: 0 1;
3483                rel2.offset: -1 0;
3484             }
3485          }
3486          part {
3487             name: "buttons_foc";
3488             type: RECT;
3489             description {
3490                state: "default" 0.0;
3491                visible: 0;
3492                color: 255 255 255 0;
3493             }
3494             description {
3495                state: "focused" 0.0;
3496                inherit: "default" 0.0;
3497                visible: 1;
3498                color: 255 255 255 255;
3499             }
3500          }
3501          part {
3502             name: "bt_close_foc";
3503             mouse_events: 0;
3504             clip_to: "buttons_foc";
3505             description {
3506                state: "default" 0.0;
3507                rel1.to: "bt_close";
3508                rel2.to: "bt_close";
3509                image.normal: "bd_button_close_focused.png";
3510             }
3511             description {
3512                state: "active" 0.0;
3513                inherit: "default" 0.0;
3514                rel1.offset: 0 1;
3515                rel2.offset: -1 0;
3516             }
3517          }
3518          part {
3519             name: "bt_max_foc";
3520             clip_to: "buttons_foc";
3521             description {
3522                state: "default" 0.0;
3523                rel1.to: "bt_max";
3524                rel2.to: "bt_max";
3525                image.normal: "bd_button_max_unfocused.png";
3526             }
3527             description {
3528                state: "active" 0.0;
3529                inherit: "default" 0.0;
3530                rel1.offset: 0 1;
3531                rel2.offset: -1 0;
3532             }
3533          }
3534          part {
3535             name: "bt_min_foc";
3536             mouse_events: 0;
3537             clip_to: "buttons_foc";
3538             description {
3539                state: "default" 0.0;
3540                rel1.to: "bt_min";
3541                rel2.to: "bt_min";
3542                image.normal: "bd_button_min_focused.png";
3543             }
3544             description {
3545                state: "active" 0.0;
3546                inherit: "default" 0.0;
3547                rel1.offset: 0 1;
3548                rel2.offset: -1 0;
3549             }
3550          }
3551          part {
3552             name: "title_base";
3553             type: RECT;
3554             mouse_events: 0;
3555             description {
3556                state: "default" 0.0;
3557                visible: 0;
3558                rel1 {
3559                   relative: 1.0 0.0;
3560                   offset: 0 0;
3561                   to_x: "icon_area";
3562                }
3563                rel2 {
3564                   relative: 0.0 1.0;
3565                   offset: -3 4;
3566                   to_y: "e.text.title";
3567                   to_x: "bt_min";
3568                }
3569             }
3570          }
3571          part {
3572             name: "title_back";
3573             mouse_events: 0;
3574             description {
3575                state: "default" 0.0;
3576                visible: 0;
3577                rel1 {
3578                   to: "title_base";
3579                }
3580                rel2 {
3581                   to: "title_base";
3582                   relative: 1.0 0.0;
3583                }
3584                image {
3585                   normal: "bd_title_bg.png";
3586                   border: 7 7 2 7;
3587                }
3588                fill.smooth: 0;
3589             }
3590             description {
3591                state: "focused" 0.0;
3592                inherit: "default" 0.0;
3593                visible: 1;
3594                rel2 {
3595                   to: "title_base";
3596                   relative: 1.0 1.0;
3597                }
3598             }
3599          }
3600          part {
3601             name: "title2";
3602             type: TEXT;
3603             mouse_events: 0;
3604             effect: SOFT_SHADOW;
3605             description {
3606                state: "default" 0.0;
3607                visible: 0;
3608                align: 0.0 1.0;
3609                rel1 {
3610                   to_x: "e.text.title";
3611                   to_y: "title_back";
3612                   relative: 0.0 1.0;
3613                   offset: -1 0;
3614                }
3615                rel2 {
3616                   to_x: "e.text.title";
3617                   to_y: "title_back";
3618                   relative: 1.0 1.0;
3619                   offset: 0 1;
3620                }
3621                color_class: "border_title_active";
3622                text {
3623                   text_source: "e.text.title";
3624                   font: "Sans:style=Bold";
3625                   size: 10;
3626                   align: 0.0 0.0;
3627                   min: 0 1;
3628                   text_class: "title_bar";
3629                }
3630             }
3631             description {
3632                state: "focused" 0.0;
3633                inherit: "default" 0.0;
3634                visible: 1;
3635             }
3636          }
3637          part {
3638             name: "title_over";
3639             mouse_events: 0;
3640             description {
3641                state: "default" 0.0;
3642                visible: 0;
3643                rel1.to: "title_back";
3644                rel2.to: "title_back";
3645                image {
3646                   normal: "bd_title_over.png";
3647                   border: 7 7 2 7;
3648                }
3649                fill.smooth: 0;
3650             }
3651             description {
3652                state: "focused" 0.0;
3653                inherit: "default" 0.0;
3654                visible: 1;
3655             }
3656          }
3657          part {
3658             name: "e.swallow.client";
3659             type: SWALLOW;
3660             description {
3661                state: "default" 0.0;
3662                rel1 {
3663                   relative: 0.0 1.0;
3664                   offset: 0 0;
3665                   to_y: "top";
3666                }
3667                rel2 {
3668                   relative: 1.0 1.0;
3669                   offset: -1 -1;
3670                }
3671             }
3672             description {
3673                state: "shaded" 0.0;
3674                inherit: "default" 0.0;
3675                rel2 {
3676                   relative: 1.0 1.0;
3677                   offset: -1 -1;
3678                }
3679             }
3680             description {
3681                state: "max" 0.0;
3682                inherit: "default" 0.0;
3683                rel1 {
3684                   relative: 0.0 1.0;
3685                   offset: 0 0;
3686                   to_y: "top";
3687                }
3688                rel2 {
3689                   relative: 1.0 1.0;
3690                   offset: -1 -1;
3691                }
3692             }
3693          }
3694          part {
3695             name: "e.event.titlebar";
3696             type: RECT;
3697             description {
3698                state: "default" 0.0;
3699                rel1.to: "title_base";
3700                rel2.to: "title_base";
3701                color: 0 0 0 0;
3702             }
3703          }
3704          part {
3705             name: "e.event.icon";
3706             type: RECT;
3707             description {
3708                state: "default" 0.0;
3709                rel1.to: "icon_area";
3710                rel2.to: "icon_area";
3711                color: 0 0 0 0;
3712             }
3713          }
3714          part {
3715             name: "e.event.close";
3716             type: RECT;
3717             description {
3718                state: "default" 0.0;
3719                rel1.to: "bt_close";
3720                rel2.to: "bt_close";
3721                color: 0 0 0 0;
3722             }
3723          }
3724          part {
3725             name: "e.event.minimize";
3726             type: RECT;
3727             description {
3728                state: "default" 0.0;
3729                rel1.to: "bt_min";
3730                rel2.to: "bt_min";
3731                color: 0 0 0 0;
3732             }
3733          }
3734       }
3735       programs {
3736          program {
3737             name: "focus_in";
3738             signal: "e,state,focused";
3739             source: "e";
3740             action: STATE_SET "focused" 0.0;
3741             transition: LINEAR 0.2;
3742             target: "title_back";
3743             target: "title2";
3744             target: "title_over";
3745             target: "buttons_foc";
3746             target: "buttons_unfoc";
3747             target: "e.text.title";
3748          }
3749          program {
3750             name: "focus_out";
3751             signal: "e,state,unfocused";
3752             source: "e";
3753             action: STATE_SET "default" 0.0;
3754             transition: LINEAR 0.2;
3755             target: "title_back";
3756             target: "title2";
3757             target: "title_over";
3758             target: "buttons_foc";
3759             target: "buttons_unfoc";
3760             target: "e.text.title";
3761          }
3762          program {
3763             name: "urgent";
3764             signal: "e,state,urgent";
3765             source: "e";
3766             action: STATE_SET "visible" 0.0;
3767             target: "urgent";
3768             target: "urgent2";
3769             transition: DECELERATE 0.5;
3770             after: "urgent2";
3771          }
3772          program {
3773             name: "urgent2";
3774             action: STATE_SET "faded" 0.0;
3775             target: "urgent2";
3776             transition: LINEAR 0.5;
3777             after: "urgent3";
3778          }
3779          program {
3780             name: "urgent3";
3781             action: STATE_SET "visible" 0.0;
3782             target: "urgent2";
3783             after: "urgent2";
3784          }
3785          program {
3786             name: "urgentw0";
3787             signal: "e,state,urgent";
3788             source: "e";
3789             action: STATE_SET "default" 0.0;
3790             target: "icon_area2";
3791             transition: DECELERATE 0.1;
3792             after: "urgentw1";
3793          }
3794          program {
3795             name: "urgentw1";
3796             action: STATE_SET "uw1" 0.0;
3797             target: "icon_area2";
3798             transition: DECELERATE 0.1;
3799             after: "urgentw2";
3800          }
3801          program {
3802             name: "urgentw2";
3803             action: STATE_SET "uw2" 0.0;
3804             target: "icon_area2";
3805             transition: DECELERATE 0.1;
3806             after: "urgentw3";
3807          }
3808          program {
3809             name: "urgentw3";
3810             action: STATE_SET "uw3" 0.0;
3811             target: "icon_area2";
3812             transition: DECELERATE 0.1;
3813             after: "urgentw4";
3814          }
3815          program {
3816             name: "urgentw4";
3817             action: STATE_SET "uw4" 0.0;
3818             target: "icon_area2";
3819             transition: DECELERATE 0.1;
3820             after: "urgentw0";
3821          }
3822          program {
3823             name: "not_urgent";
3824             signal: "e,state,not_urgent";
3825             source: "e";
3826             action: ACTION_STOP;
3827             target: "urgentw0";
3828             target: "urgentw1";
3829             target: "urgentw2";
3830             target: "urgentw3";
3831             target: "urgentw4";
3832             target: "urgent";
3833             target: "urgent2";
3834             target: "urgent3";
3835             after: "not_urgent2";
3836          }
3837          program {
3838             name: "not_urgent2";
3839             action: STATE_SET "default" 0.0;
3840             target: "urgent";
3841             target: "urgent2";
3842             target: "icon_area2";
3843          }
3844          program {
3845             name: "hung";
3846             signal: "e,state,hung";
3847             source: "e";
3848             /* FIXME: */
3849             action: STATE_SET "shrunk" 0.0;
3850             target: "e.swallow.icon";
3851             transition: DECELERATE 0.5;
3852          }
3853          program {
3854             name: "unhung";
3855             signal: "e,state,unhung";
3856             source: "e";
3857             /* FIXME: */
3858             action: ACTION_STOP;
3859             target: "busy_anim";
3860          }
3861          program {
3862             name: "unhung2";
3863             signal: "e,state,unhung";
3864             source: "e";
3865             /* FIXME: */
3866             action: STATE_SET "default" 0.0;
3867             target: "e.swallow.icon";
3868             target: "busy";
3869             transition: ACCELERATE 0.5;
3870          }
3871          program {
3872             name: "busy_anim";
3873             signal: "e,state,hung";
3874             source: "e";
3875             action: STATE_SET "visible" 0.0;
3876             transition: LINEAR 0.3333;
3877             target: "busy";
3878             after: "busy_anim";
3879          }
3880          program {
3881             name: "shade_end";
3882             signal: "e,state,shaded";
3883             source: "e";
3884             action: STATE_SET "shaded" 0.0;
3885             target: "e.swallow.client";
3886          }
3887          program {
3888             name: "unshade_start";
3889             signal: "e,state,unshading";
3890             source: "e";
3891             action: STATE_SET "default" 0.0;
3892             target: "e.swallow.client";
3893          }
3894          program {
3895             name: "icon_down";
3896             signal: "mouse,down,*";
3897             source: "e.event.icon";
3898             action: STATE_SET "active" 0.0;
3899             target: "icon_area";
3900          }
3901          program {
3902             name: "icon_up";
3903             signal: "mouse,up,*";
3904             source: "e.event.icon";
3905             action: STATE_SET "default" 0.0;
3906             target: "icon_area";
3907          }
3908          program {
3909             name: "bt_close_down";
3910             signal: "mouse,down,*";
3911             source: "e.event.close";
3912             action: STATE_SET "active" 0.0;
3913             target: "bt_close_unfoc";
3914             target: "bt_close_foc";
3915          }
3916          program {
3917             name: "bt_close_up";
3918             signal: "mouse,up,*";
3919             source: "e.event.close";
3920             action: STATE_SET "default" 0.0;
3921             target: "bt_close_unfoc";
3922             target: "bt_close_foc";
3923          }
3924          program {
3925             name: "bt_min_down";
3926             signal: "mouse,down,*";
3927             source: "e.event.minimize";
3928             action: STATE_SET "active" 0.0;
3929             target: "bt_min_unfoc";
3930             target: "bt_min_foc";
3931          }
3932          program {
3933             name: "bt_min_up";
3934             signal: "mouse,up,*";
3935             source: "e.event.minimize";
3936             action: STATE_SET "default" 0.0;
3937             target: "bt_min_unfoc";
3938             target: "bt_min_foc";
3939          }
3940       }
3941    }
3942 #endif
3943    /*** DIALOG WINDOW BORDER ***/
3944    group {
3945       name: "e/widgets/border/dialog/border";
3946       images {
3947          image: "added_images/DM_Internet_Title_bg.png" COMP;
3948          image: "added_images/DM_Internet_icon_close.png" COMP;
3949          image: "bd_top.png" COMP;
3950          image: "bd_top_hilight.png" COMP;
3951          image: "bd_bottom.png" COMP;
3952          image: "bd_title_bg.png" COMP;
3953          image: "bd_title_over.png" COMP;
3954          image: "bd_resize_b.png" COMP;
3955          image: "busy-1.png" COMP;
3956          image: "busy-2.png" COMP;
3957          image: "busy-3.png" COMP;
3958          image: "busy-4.png" COMP;
3959          image: "busy-5.png" COMP;
3960          image: "busy-6.png" COMP;
3961          image: "busy-7.png" COMP;
3962          image: "busy-8.png" COMP;
3963          image: "busy-9.png" COMP;
3964          image: "exclam.png" COMP;
3965          image: "bd_button_close_shadow.png" COMP;
3966          image: "bd_button_close_focused.png" COMP;
3967          image: "bd_button_close_unfocused.png" COMP;
3968       }
3969       parts {
3970          part {
3971             name: "top";
3972             mouse_events: 0;
3973             description {
3974                state: "default" 0.0;
3975                rel1 {
3976                   relative: 0.0 0.0;
3977                   offset: 0 0;
3978                }
3979                rel2 {
3980                   relative: 1.0 1.0;
3981                   to_y: "title_base";
3982                }
3983                color_class: "border_top";
3984                image {
3985                   normal: "added_images/DM_Internet_Title_bg.png";
3986                }
3987             }
3988          }
3989          part {
3990             name: "bottom";
3991             mouse_events: 0;
3992             type: RECT;
3993             description {
3994                state: "default" 0.0;
3995                rel1 {
3996                   relative: 0.0 1.0;
3997                   offset: 0 -3;
3998                }
3999                rel2 {
4000                   relative: 1.0 1.0;
4001                }
4002                color_class: "border_bottom";
4003             }
4004             description {
4005                state: "shaded" 0.0;
4006                inherit: "default" 0.0;
4007                visible: 0;
4008             }
4009             description {
4010                state: "max" 0.0;
4011                inherit: "default" 0.0;
4012                visible: 0;
4013             }
4014          }
4015          part {
4016             name: "left";
4017             mouse_events: 0;
4018             type: RECT;
4019             description {
4020                state: "default" 0.0;
4021                rel1 {
4022                   relative: 0.0 0.0;
4023                   to_y: "title_base";
4024                   offset: -2 0;
4025                }
4026                rel2 {
4027                   relative: 0.0 1.0;
4028                   offset: 0 0;
4029                }
4030                color_class: "border_bottom";
4031             }
4032             description {
4033                state: "shaded" 0.0;
4034                inherit: "default" 0.0;
4035                visible: 0;
4036             }
4037             description {
4038                state: "max" 0.0;
4039                inherit: "default" 0.0;
4040                visible: 0;
4041             }
4042          }
4043           part {
4044             name: "right";
4045             mouse_events: 0;
4046             type: RECT;
4047             description {
4048                state: "default" 0.0;
4049                rel1 {
4050                   relative: 1.0 0.0;
4051                   to_y: "title_base";
4052                   offset: -1 0;
4053                }
4054                rel2 {
4055                   relative: 1.0 1.0;
4056                   offset: 0 0;
4057                }
4058                color_class: "border_bottom";
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                /* whem maximised too */
4068                inherit: "default" 0.0;
4069                visible: 0;
4070             }
4071          }
4072          part {
4073             name: "e.text.title";
4074             type: TEXT;
4075             mouse_events: 0;
4076             description {
4077                state: "default" 0.0;
4078                visible: 1;
4079                align: 0.5 0.0;
4080                rel1 {
4081                   relative: 0.0 0.0;
4082                   offset: 9 2;
4083                }
4084                rel2 {
4085                   relative: 1.0 0.0;
4086                   offset: -8 2;
4087                   to_x: "title_base";
4088                }
4089                color: 255 255 255 255;
4090                text {
4091                   font: "Sans";
4092                   size: 14;
4093                   min: 0 1;
4094                   align: 0.5 0.0;
4095                   text_class: "title_bar";
4096                }
4097             }
4098             description {
4099                state: "focused" 0.0;
4100                inherit: "default" 0.0;
4101                visible: 1;
4102             }
4103          }
4104          part {
4105             name: "bt_close";
4106             mouse_events: 0;
4107             description {
4108                state: "default" 0.0;
4109                min: 14 14;
4110                max: 14 14;
4111                rel1 {
4112                   relative: 1.0 0.0;
4113                   offset: -24 0;
4114                   to_x: "top";
4115                   to_y: "top";
4116                }
4117                rel2 {
4118                   relative: 1.0 1.0;
4119                   offset: 0 -2;
4120                   to_x: "top";
4121                   to_y: "top";
4122                }
4123                image.normal: "added_images/DM_Internet_icon_close.png";
4124             }
4125          }
4126          part {
4127             name: "top_hilight";
4128             mouse_events: 0;
4129             description {
4130                state: "default" 0.0;
4131                rel1 {
4132                   relative: 0.0 0.0;
4133                   offset: 0 0;
4134                   to: "top";
4135                }
4136                rel2 {
4137                   relative: 1.0 0.5;
4138                   offset: -1 0;
4139                   to: "top";
4140                }
4141                color_class: "border_top_hilight";
4142                fill.smooth: 0;
4143             }
4144          }
4145          part {
4146             name: "buttons_unfoc";
4147             type: RECT;
4148             description {
4149                state: "default" 0.0;
4150                visible: 1;
4151                color: 255 255 255 255;
4152             }
4153             description {
4154                state: "focused" 0.0;
4155                inherit: "default" 0.0;
4156                visible: 0;
4157                color: 255 255 255 0;
4158             }
4159          }
4160          part {
4161             name: "bt_close_unfoc";
4162             mouse_events: 0;
4163             clip_to: "buttons_unfoc";
4164             description {
4165                state: "default" 0.0;
4166                rel1.to: "bt_close";
4167                rel2.to: "bt_close";
4168                image.normal: "added_images/DM_Internet_icon_close.png";
4169             }
4170             description {
4171                state: "active" 0.0;
4172                inherit: "default" 0.0;
4173                rel1.offset: 0 1;
4174                rel2.offset: -1 0;
4175             }
4176          }
4177          part {
4178             name: "buttons_foc";
4179             type: RECT;
4180             description {
4181                state: "default" 0.0;
4182                visible: 0;
4183                color: 255 255 255 0;
4184             }
4185             description {
4186                state: "focused" 0.0;
4187                inherit: "default" 0.0;
4188                visible: 1;
4189                color: 255 255 255 255;
4190             }
4191          }
4192          part {
4193             name: "bt_close_foc";
4194             mouse_events: 0;
4195             clip_to: "buttons_foc";
4196             description {
4197                state: "default" 0.0;
4198                rel1.to: "bt_close";
4199                rel2.to: "bt_close";
4200                image.normal: "added_images/DM_Internet_icon_close.png";
4201             }
4202             description {
4203                state: "active" 0.0;
4204                inherit: "default" 0.0;
4205                rel1.offset: 0 1;
4206                rel2.offset: -1 0;
4207             }
4208          }
4209          part {
4210             name: "title_base";
4211             type: RECT;
4212             mouse_events: 0;
4213             description {
4214                state: "default" 0.0;
4215                visible: 0;
4216                rel1 {
4217                   relative: 0.0 0.0;
4218                   offset: 0 0;
4219                   //to_x: "icon_area";
4220                }
4221                rel2 {
4222                   relative: 0.0 1.0;
4223                   offset: -3 4;
4224                   to_y: "e.text.title";
4225                   to_x: "bt_close";
4226                }
4227             }
4228          }
4229          part {
4230             name: "title_back";
4231             mouse_events: 0;
4232             description {
4233                state: "default" 0.0;
4234                visible: 0;
4235                rel1 {
4236                   to: "title_base";
4237                }
4238                rel2 {
4239                   to: "title_base";
4240                   relative: 1.0 0.0;
4241                }
4242                fill.smooth: 0;
4243             }
4244             description {
4245                state: "focused" 0.0;
4246                inherit: "default" 0.0;
4247                visible: 1;
4248                rel2 {
4249                   to: "title_base";
4250                   relative: 1.0 1.0;
4251                }
4252             }
4253          }
4254          part {
4255             name: "title2";
4256             type: TEXT;
4257             mouse_events: 0;
4258             effect: SOFT_SHADOW;
4259             description {
4260                state: "default" 0.0;
4261                visible: 0;
4262                align: 0.0 1.0;
4263                rel1 {
4264                   to_x: "e.text.title";
4265                   to_y: "title_back";
4266                   relative: 0.0 1.0;
4267                   offset: -1 0;
4268                }
4269                rel2 {
4270                   to_x: "e.text.title";
4271                   to_y: "title_back";
4272                   relative: 1.0 1.0;
4273                   offset: 0 0;
4274                }
4275                color_class: "border_title_active";
4276                text {
4277                   text_source: "e.text.title";
4278                   font: "Sans:style=Bold";
4279                   size: 10;
4280                   align: 0.5 0.0;
4281                   min: 0 1;
4282                   text_class: "title_bar";
4283                }
4284             }
4285             description {
4286                state: "focused" 0.0;
4287                inherit: "default" 0.0;
4288                visible: 1;
4289             }
4290          }
4291          part {
4292             name: "title_over";
4293             mouse_events: 0;
4294             description {
4295                state: "default" 0.0;
4296                visible: 0;
4297                rel1.to: "title_back";
4298                rel2.to: "title_back";
4299                fill.smooth: 0;
4300             }
4301             description {
4302                state: "focused" 0.0;
4303                inherit: "default" 0.0;
4304                visible: 1;
4305             }
4306          }
4307          part {
4308             name: "bottom_clip";
4309             type: RECT;
4310             description {
4311                state: "default" 0.0;
4312                rel1.to: "bottom";
4313                rel2.to: "bottom";
4314                color: 255 255 255 255;
4315             }
4316          }
4317          part {
4318             name: "resize_b";
4319             mouse_events: 0;
4320             clip_to: "bottom_clip";
4321             description {
4322                state: "default" 0.0;
4323                min: 20 10;
4324                max: 20 10;
4325                rel1 {
4326                   to: "bottom";
4327                   relative: 0.5 0.0;
4328                   offset: 0 -10;
4329                }
4330                rel2 {
4331                   to: "bottom";
4332                   relative: 0.5 0.0;
4333                   offset: 0 -1;
4334                }
4335                image {
4336                   normal: "bd_resize_b.png";
4337                }
4338             }
4339             description {
4340                state: "past" 0.0;
4341                inherit: "default" 0.0;
4342                rel1 {
4343                   relative: 0.5 1.0;
4344                   offset: 0 0;
4345                }
4346                rel2 {
4347                   relative: 0.5 1.0;
4348                   offset: 0 9;
4349                }
4350             }
4351          }
4352          part {
4353             name: "e.swallow.client";
4354             type: SWALLOW;
4355             description {
4356                state: "default" 0.0;
4357                rel1 {
4358                   relative: 1.0 1.0;
4359                   offset: 0 0;
4360                   to_x: "left";
4361                   to_y: "top";
4362                }
4363                rel2 {
4364                   relative: 0.0 0.0;
4365                   offset: -1 0;
4366                   to_x: "right";
4367                   to_y: "bottom";
4368                }
4369             }
4370             description {
4371                state: "shaded" 0.0;
4372                inherit: "default" 0.0;
4373                rel2 {
4374                   relative: 1.0 1.0;
4375                   offset: -1 -1;
4376                   to_y: "bottom";
4377                }
4378             }
4379             description {
4380                state: "max" 0.0;
4381                inherit: "default" 0.0;
4382                rel1 {
4383                   relative: 0.0 1.0;
4384                   offset: 0 0;
4385                   to_y: "top";
4386                }
4387                rel2 {
4388                   relative: 1.0 1.0;
4389                   offset: -1 -1;
4390                   to_y: "bottom";
4391                }
4392             }
4393          }
4394          part {
4395             name: "e.event.titlebar";
4396             type: RECT;
4397             description {
4398                state: "default" 0.0;
4399                rel1.to: "title_base";
4400                rel2.to: "title_base";
4401                color: 0 0 0 0;
4402             }
4403          }
4404          part {
4405             name: "e.event.resize.t";
4406             type: RECT;
4407             description {
4408                state: "default" 0.0;
4409                rel1 {
4410                   relative: 0.0 0.0;
4411                   offset: 0 0;
4412                }
4413                rel2 {
4414                   relative: 1.0 0.0;
4415                   offset: -1 3;
4416                }
4417                color: 0 0 0 0;
4418             }
4419             description {
4420                state: "shaded" 0.0;
4421                inherit: "default" 0.0;
4422                visible: 0;
4423             }
4424          }
4425          part {
4426             name: "e.event.resize.b";
4427             type: RECT;
4428             description {
4429                state: "default" 0.0;
4430                rel1 {
4431                   relative: 0.0 1.0;
4432                   offset: 0 -4;
4433                }
4434                rel2 {
4435                   relative: 1.0 1.0;
4436                   offset: -1 -1;
4437                }
4438                color: 0 0 0 0;
4439             }
4440             description {
4441                state: "shaded" 0.0;
4442                inherit: "default" 0.0;
4443                visible: 0;
4444             }
4445          }
4446          part {
4447             name: "e.event.resize.l";
4448             type: RECT;
4449             description {
4450                state: "default" 0.0;
4451                rel1 {
4452                   relative: 0.0 0.0;
4453                   offset: 0 0;
4454                }
4455                rel2 {
4456                   relative: 0.0 1.0;
4457                   offset: 5 -3;
4458                }
4459                color: 0 0 0 0;
4460             }
4461             description {
4462                state: "shaded" 0.0;
4463                inherit: "default" 0.0;
4464                visible: 0;
4465             }
4466          }
4467          part {
4468             name: "e.event.resize.r";
4469             type: RECT;
4470             description {
4471                state: "default" 0.0;
4472                rel1 {
4473                   relative: 1.0 0.0;
4474                   offset: -5 0;
4475                }
4476                rel2 {
4477                   relative: 1.0 1.0;
4478                   offset: 1 -1;
4479                }
4480                color: 0 0 0 0;
4481             }
4482             description {
4483                state: "shaded" 0.0;
4484                inherit: "default" 0.0;
4485                visible: 0;
4486             }
4487          }
4488          part {
4489             name: "e.event.resize.tl";
4490             type: RECT;
4491             description {
4492                state: "default" 0.0;
4493                rel1 {
4494                   relative: 0.0 0.0;
4495                   offset: 0 0;
4496                }
4497                rel2 {
4498                   relative: 0.0 0.0;
4499                   offset: 15 15;
4500                }
4501                color: 0 0 0 0;
4502             }
4503             description {
4504                state: "shaded" 0.0;
4505                inherit: "default" 0.0;
4506                visible: 0;
4507             }
4508          }
4509          part {
4510             name: "e.event.resize.tr";
4511             type: RECT;
4512             description {
4513                state: "default" 0.0;
4514                rel1 {
4515                   relative: 1.0 0.0;
4516                   offset: -16 0;
4517                }
4518                rel2 {
4519                   relative: 1.0 0.0;
4520                   offset: -1 15;
4521                }
4522                color: 0 0 0 0;
4523             }
4524             description {
4525                state: "shaded" 0.0;
4526                inherit: "default" 0.0;
4527                visible: 0;
4528             }
4529          }
4530          part {
4531             name: "e.event.resize.bl";
4532             type: RECT;
4533             description {
4534                state: "default" 0.0;
4535                rel1 {
4536                   relative: 0.0 1.0;
4537                   offset: 0 -16;
4538                }
4539                rel2 {
4540                   relative: 0.0 1.0;
4541                   offset: 15 -1;
4542                }
4543                color: 0 0 0 0;
4544             }
4545             description {
4546                state: "shaded" 0.0;
4547                inherit: "default" 0.0;
4548                visible: 0;
4549             }
4550          }
4551          part {
4552             name: "e.event.resize.br";
4553             type: RECT;
4554             description {
4555                state: "default" 0.0;
4556                rel1 {
4557                   relative: 1.0 1.0;
4558                   offset: -16 -16;
4559                }
4560                rel2 {
4561                   relative: 1.0 1.0;
4562                   offset: -1 -1;
4563                }
4564                color: 0 0 0 0;
4565             }
4566             description {
4567                state: "shaded" 0.0;
4568                inherit: "default" 0.0;
4569                visible: 0;
4570             }
4571          }
4572          part {
4573             name: "e.event.close";
4574             type: RECT;
4575             description {
4576                state: "default" 0.0;
4577                rel1.to: "bt_close";
4578                rel2.to: "bt_close";
4579                color: 0 0 0 0;
4580             }
4581          }
4582       }
4583       programs {
4584          program {
4585             name: "focus_in";
4586             signal: "e,state,focused";
4587             source: "e";
4588             action: STATE_SET "focused" 0.0;
4589             target: "buttons_foc";
4590             target: "buttons_unfoc";
4591          }
4592          program {
4593             name: "focus_out";
4594             signal: "e,state,unfocused";
4595             source: "e";
4596             action: STATE_SET "default" 0.0;
4597             target: "buttons_foc";
4598             target: "buttons_unfoc";
4599          }
4600          program {
4601             name: "max_full";
4602             signal: "e,action,maximize,fullscreen";
4603             source: "e";
4604             action: STATE_SET "max" 0.0;
4605             target: "bottom";
4606             target: "e.swallow.client";
4607          }
4608          program {
4609             name: "unmax_full";
4610             signal: "e,action,unmaximize,fullscreen";
4611             source: "e";
4612             action: STATE_SET "default" 0.0;
4613             target: "bottom";
4614             target: "e.swallow.client";
4615          }
4616          program {
4617             name: "shade_end";
4618             signal: "e,state,shaded";
4619             source: "e";
4620             action: STATE_SET "shaded" 0.0;
4621             target: "bottom";
4622             target: "e.swallow.client";
4623             target: "e.event.resize.tl";
4624             target: "e.event.resize.tr";
4625             target: "e.event.resize.bl";
4626             target: "e.event.resize.br";
4627             target: "e.event.resize.t";
4628             target: "e.event.resize.b";
4629          }
4630          program {
4631             name: "unshade_start";
4632             signal: "e,state,unshading";
4633             source: "e";
4634             action: STATE_SET "default" 0.0;
4635             target: "bottom";
4636             target: "e.swallow.client";
4637             target: "e.event.resize.tl";
4638             target: "e.event.resize.tr";
4639             target: "e.event.resize.bl";
4640             target: "e.event.resize.br";
4641             target: "e.event.resize.t";
4642             target: "e.event.resize.b";
4643          }
4644          program {
4645             name: "resize_b_on";
4646             signal: "mouse,in";
4647             source: "e.event.resize.b";
4648             action: ACTION_STOP;
4649             target: "resize_b_on2";
4650             target: "resize_b_on3";
4651             after: "resize_b_on2";
4652          }
4653          program {
4654             name: "resize_b_on2";
4655             action: STATE_SET "default" 0.0;
4656             target: "resize_b";
4657             after: "resize_b_on3";
4658          }
4659          program {
4660             name: "resize_b_on3";
4661             action: STATE_SET "past" 0.0;
4662             transition: LINEAR 0.5;
4663             target: "resize_b";
4664             after: "resize_b_on2";
4665          }
4666          program {
4667             name: "resize_b_off";
4668             signal: "mouse,out";
4669             source: "e.event.resize.b";
4670             action: ACTION_STOP;
4671             target: "resize_b_on";
4672             target: "resize_b_on2";
4673             target: "resize_b_on3";
4674          }
4675          program {
4676             name: "bt_close_down";
4677             signal: "mouse,down,*";
4678             source: "e.event.close";
4679             action: STATE_SET "active" 0.0;
4680             target: "bt_close_unfoc";
4681             target: "bt_close_foc";
4682          }
4683          program {
4684             name: "bt_close_up";
4685             signal: "mouse,up,*";
4686             source: "e.event.close";
4687             action: STATE_SET "default" 0.0;
4688             target: "bt_close_unfoc";
4689             target: "bt_close_foc";
4690          }
4691       }
4692    }
4693    /*** NORESIZE DIALOG WINDOW BORDER ***/
4694    group {
4695       name: "e/widgets/border/noresize_dialog/border";
4696       images {
4697          image: "added_images/DM_Internet_Title_bg.png" COMP;
4698          image: "added_images/DM_Internet_icon_close.png" COMP;
4699          image: "bd_top.png" COMP;
4700          image: "bd_top_hilight.png" COMP;
4701          image: "bd_bottom.png" COMP;
4702          image: "bd_title_bg.png" COMP;
4703          image: "bd_title_over.png" COMP;
4704          image: "bd_resize_b.png" COMP;
4705          image: "busy-1.png" COMP;
4706          image: "busy-2.png" COMP;
4707          image: "busy-3.png" COMP;
4708          image: "busy-4.png" COMP;
4709          image: "busy-5.png" COMP;
4710          image: "busy-6.png" COMP;
4711          image: "busy-7.png" COMP;
4712          image: "busy-8.png" COMP;
4713          image: "busy-9.png" COMP;
4714          image: "exclam.png" COMP;
4715          image: "bd_button_close_shadow.png" COMP;
4716          image: "bd_button_close_focused.png" COMP;
4717          image: "bd_button_close_unfocused.png" COMP;
4718       }
4719       parts {
4720          part {
4721             name: "top";
4722             mouse_events: 0;
4723             description {
4724                state: "default" 0.0;
4725                rel1 {
4726                   relative: 0.0 0.0;
4727                   offset: 0 0;
4728                }
4729                rel2 {
4730                   relative: 1.0 1.0;
4731                   to_y: "title_base";
4732                }
4733                color_class: "border_top";
4734                image {
4735                   normal: "added_images/DM_Internet_Title_bg.png";
4736                }
4737             }
4738          }
4739          part {
4740             name: "bottom";
4741             mouse_events: 0;
4742             description {
4743                state: "default" 0.0;
4744                rel1 {
4745                   relative: 0.0 1.0;
4746                   offset: 0 -3;
4747                }
4748                rel2 {
4749                   relative: 1.0 1.0;
4750                }
4751                color_class: "border_bottom";
4752             }
4753             description {
4754                state: "shaded" 0.0;
4755                inherit: "default" 0.0;
4756                visible: 0;
4757             }
4758             description {
4759                state: "max" 0.0;
4760                inherit: "default" 0.0;
4761                visible: 0;
4762             }
4763          }
4764          part {
4765             name: "left";
4766             mouse_events: 0;
4767             type: RECT;
4768             description {
4769                state: "default" 0.0;
4770                rel1 {
4771                   relative: 0.0 0.0;
4772                   to_y: "title_base";
4773                   offset: -2 0;
4774                }
4775                rel2 {
4776                   relative: 0.0 1.0;
4777                   offset: 0 0;
4778                }
4779                color_class: "border_bottom";
4780             }
4781             description {
4782                state: "shaded" 0.0;
4783                inherit: "default" 0.0;
4784                visible: 0;
4785             }
4786             description {
4787                state: "max" 0.0;
4788                inherit: "default" 0.0;
4789                visible: 0;
4790             }
4791          }
4792           part {
4793             name: "right";
4794             mouse_events: 0;
4795             type: RECT;
4796             description {
4797                state: "default" 0.0;
4798                rel1 {
4799                   relative: 1.0 0.0;
4800                   to_y: "title_base";
4801                   offset: -1 0;
4802                }
4803                rel2 {
4804                   relative: 1.0 1.0;
4805                   offset: 0 0;
4806                }
4807                color_class: "border_bottom";
4808             }
4809             description {
4810                state: "shaded" 0.0;
4811                inherit: "default" 0.0;
4812                visible: 0;
4813             }
4814             description {
4815                state: "max" 0.0;
4816                inherit: "default" 0.0;
4817                visible: 0;
4818             }
4819          }
4820          part {
4821             name: "e.text.title";
4822             type: TEXT;
4823             mouse_events: 0;
4824             description {
4825                state: "default" 0.0;
4826                visible: 1;
4827                align: 0.5 0.0;
4828                rel1 {
4829                   relative: 0.0 0.0;
4830                   offset: 9 2;
4831                   //to_x: "title_base";
4832                }
4833                rel2 {
4834                   relative: 1.0 0.0;
4835                   offset: -8 2;
4836                   to_x: "title_base";
4837                }
4838                color: 255 255 255 255;
4839                text {
4840                   font: "Sans";
4841                   size: 14;
4842                   min: 0 1;
4843                   align: 0.5 0.0;
4844                   text_class: "title_bar";
4845                }
4846             }
4847             description {
4848                state: "focused" 0.0;
4849                inherit: "default" 0.0;
4850                visible: 1;
4851             }
4852          }
4853          part {
4854             name: "bt_close";
4855             mouse_events: 0;
4856             description {
4857                state: "default" 0.0;
4858                min: 14 14;
4859                max: 14 14;
4860                aspect: 1.0 1.0;
4861                aspect_preference: VERTICAL;
4862                rel1 {
4863                   relative: 1.0 0.0;
4864                   offset: -24 0;
4865                   to_x: "top";
4866                   to_y: "top";
4867                }
4868                rel2 {
4869                   relative: 1.0 1.0;
4870                   offset: 0 -2;
4871                   to_x: "top";
4872                   to_y: "top";
4873                }
4874                image.normal: "added_images/DM_Internet_icon_close.png";
4875             }
4876          }
4877          part {
4878             name: "top_hilight";
4879             mouse_events: 0;
4880             description {
4881                state: "default" 0.0;
4882                rel1 {
4883                   relative: 0.0 0.0;
4884                   offset: 0 0;
4885                   to: "top";
4886                }
4887                rel2 {
4888                   relative: 1.0 0.5;
4889                   offset: -1 0;
4890                   to: "top";
4891                }
4892                color_class: "border_top_hilight";
4893                fill.smooth: 0;
4894             }
4895          }
4896          part {
4897             name: "buttons_unfoc";
4898             type: RECT;
4899             description {
4900                state: "default" 0.0;
4901                visible: 1;
4902                color: 255 255 255 255;
4903             }
4904             description {
4905                state: "focused" 0.0;
4906                inherit: "default" 0.0;
4907                visible: 0;
4908                color: 255 255 255 0;
4909             }
4910          }
4911          part {
4912             name: "bt_close_unfoc";
4913             mouse_events: 0;
4914             clip_to: "buttons_unfoc";
4915             description {
4916                state: "default" 0.0;
4917                rel1.to: "bt_close";
4918                rel2.to: "bt_close";
4919                image.normal: "added_images/DM_Internet_icon_close.png";
4920             }
4921             description {
4922                state: "active" 0.0;
4923                inherit: "default" 0.0;
4924                rel1.offset: 0 1;
4925                rel2.offset: -1 0;
4926             }
4927          }
4928          part {
4929             name: "buttons_foc";
4930             type: RECT;
4931             description {
4932                state: "default" 0.0;
4933                visible: 0;
4934                color: 255 255 255 0;
4935             }
4936             description {
4937                state: "focused" 0.0;
4938                inherit: "default" 0.0;
4939                visible: 1;
4940                color: 255 255 255 255;
4941             }
4942          }
4943          part {
4944             name: "bt_close_foc";
4945             mouse_events: 0;
4946             clip_to: "buttons_foc";
4947             description {
4948                state: "default" 0.0;
4949                rel1.to: "bt_close";
4950                rel2.to: "bt_close";
4951                image.normal: "added_images/DM_Internet_icon_close.png";
4952             }
4953             description {
4954                state: "active" 0.0;
4955                inherit: "default" 0.0;
4956                rel1.offset: 0 1;
4957                rel2.offset: -1 0;
4958             }
4959          }
4960          part {
4961             name: "title_base";
4962             type: RECT;
4963             mouse_events: 0;
4964             description {
4965                state: "default" 0.0;
4966                visible: 0;
4967                rel1 {
4968                   relative: 0.0 0.0;
4969                   offset: 0 0;
4970                }
4971                rel2 {
4972                   relative: 0.0 1.0;
4973                   offset: -3 4;
4974                   to_y: "e.text.title";
4975                   to_x: "bt_close";
4976                }
4977             }
4978          }
4979          part {
4980             name: "title_back";
4981             mouse_events: 0;
4982             description {
4983                state: "default" 0.0;
4984                visible: 0;
4985                rel1 {
4986                   to: "title_base";
4987                }
4988                rel2 {
4989                   to: "title_base";
4990                   relative: 1.0 0.0;
4991                }
4992                fill.smooth: 0;
4993             }
4994             description {
4995                state: "focused" 0.0;
4996                inherit: "default" 0.0;
4997                visible: 1;
4998                rel2 {
4999                   to: "title_base";
5000                   relative: 1.0 1.0;
5001                }
5002             }
5003          }
5004          part {
5005             name: "title2";
5006             type: TEXT;
5007             mouse_events: 0;
5008             effect: SOFT_SHADOW;
5009             description {
5010                state: "default" 0.0;
5011                visible: 0;
5012                align: 0.0 1.0;
5013                rel1 {
5014                   to_x: "e.text.title";
5015                   to_y: "title_back";
5016                   relative: 0.0 1.0;
5017                   offset: -1 0;
5018                }
5019                rel2 {
5020                   to_x: "e.text.title";
5021                   to_y: "title_back";
5022                   relative: 1.0 1.0;
5023                   offset: 0 0;
5024                }
5025                color_class: "border_title_active";
5026                text {
5027                   text_source: "e.text.title";
5028                   font: "Sans:style=Bold";
5029                   size: 10;
5030                   align: 0.5 0.0;
5031                   min: 0 1;
5032                   text_class: "title_bar";
5033                }
5034             }
5035             description {
5036                state: "focused" 0.0;
5037                inherit: "default" 0.0;
5038                visible: 1;
5039             }
5040          }
5041          part {
5042             name: "title_over";
5043             mouse_events: 0;
5044             description {
5045                state: "default" 0.0;
5046                visible: 0;
5047                rel1.to: "title_back";
5048                rel2.to: "title_back";
5049                fill.smooth: 0;
5050             }
5051             description {
5052                state: "focused" 0.0;
5053                inherit: "default" 0.0;
5054                visible: 1;
5055             }
5056          }
5057          part {
5058             name: "bottom_clip";
5059             type: RECT;
5060             description {
5061                state: "default" 0.0;
5062                rel1.to: "bottom";
5063                rel2.to: "bottom";
5064                color: 255 255 255 255;
5065             }
5066          }
5067          part {
5068             name: "resize_b";
5069             mouse_events: 0;
5070             clip_to: "bottom_clip";
5071             description {
5072                state: "default" 0.0;
5073                min: 20 10;
5074                max: 20 10;
5075                rel1 {
5076                   to: "bottom";
5077                   relative: 0.5 0.0;
5078                   offset: 0 -10;
5079                }
5080                rel2 {
5081                   to: "bottom";
5082                   relative: 0.5 0.0;
5083                   offset: 0 -1;
5084                }
5085                image {
5086                   normal: "bd_resize_b.png";
5087                }
5088             }
5089             description {
5090                state: "past" 0.0;
5091                inherit: "default" 0.0;
5092                rel1 {
5093                   relative: 0.5 1.0;
5094                   offset: 0 0;
5095                }
5096                rel2 {
5097                   relative: 0.5 1.0;
5098                   offset: 0 9;
5099                }
5100             }
5101          }
5102          part {
5103             name: "e.swallow.client";
5104             type: SWALLOW;
5105             description {
5106                state: "default" 0.0;
5107                rel1 {
5108                   relative: 1.0 1.0;
5109                   offset: 0 0;
5110                   to_x: "left";
5111                   to_y: "top";
5112                }
5113                rel2 {
5114                   relative: 0.0 0.0;
5115                   offset: -1 -1;
5116                   to_x: "right";
5117                   to_y: "bottom";
5118                }
5119             }
5120             description {
5121                state: "shaded" 0.0;
5122                inherit: "default" 0.0;
5123                rel2 {
5124                   relative: 1.0 1.0;
5125                   offset: -1 -1;
5126                   to_y: "bottom";
5127                }
5128             }
5129             description {
5130                state: "max" 0.0;
5131                inherit: "default" 0.0;
5132                rel1 {
5133                   relative: 0.0 1.0;
5134                   offset: 0 0;
5135                   to_y: "top";
5136                }
5137                rel2 {
5138                   relative: 1.0 1.0;
5139                   offset: -1 -1;
5140                   to_y: "bottom";
5141                }
5142             }
5143          }
5144          part {
5145             name: "e.event.titlebar";
5146             type: RECT;
5147             description {
5148                state: "default" 0.0;
5149                rel1.to: "title_base";
5150                rel2.to: "title_base";
5151                color: 0 0 0 0;
5152             }
5153          }
5154          part {
5155             name: "e.event.close";
5156             type: RECT;
5157             description {
5158                state: "default" 0.0;
5159                rel1.to: "bt_close";
5160                rel2.to: "bt_close";
5161                color: 0 0 0 0;
5162             }
5163          }
5164       }
5165       programs {
5166          program {
5167             name: "focus_in";
5168             signal: "e,state,focused";
5169             source: "e";
5170             action: STATE_SET "focused" 0.0;
5171             target: "buttons_foc";
5172             target: "buttons_unfoc";
5173          }
5174          program {
5175             name: "focus_out";
5176             signal: "e,state,unfocused";
5177             source: "e";
5178             action: STATE_SET "default" 0.0;
5179             target: "buttons_foc";
5180             target: "buttons_unfoc";
5181          }
5182          program {
5183             name: "max_full";
5184             signal: "e,action,maximize,fullscreen";
5185             source: "e";
5186             action: STATE_SET "max" 0.0;
5187             target: "bottom";
5188             target: "e.swallow.client";
5189          }
5190          program {
5191             name: "unmax_full";
5192             signal: "e,action,unmaximize,fullscreen";
5193             source: "e";
5194             action: STATE_SET "default" 0.0;
5195             target: "bottom";
5196             target: "e.swallow.client";
5197          }
5198          program {
5199             name: "resize_b_on";
5200             signal: "mouse,in";
5201             source: "e.event.resize.b";
5202             action: ACTION_STOP;
5203             target: "resize_b_on2";
5204             target: "resize_b_on3";
5205             after: "resize_b_on2";
5206          }
5207          program {
5208             name: "resize_b_on2";
5209             action: STATE_SET "default" 0.0;
5210             target: "resize_b";
5211             after: "resize_b_on3";
5212          }
5213          program {
5214             name: "resize_b_on3";
5215             action: STATE_SET "past" 0.0;
5216             transition: LINEAR 0.5;
5217             target: "resize_b";
5218             after: "resize_b_on2";
5219          }
5220          program {
5221             name: "resize_b_off";
5222             signal: "mouse,out";
5223             source: "e.event.resize.b";
5224             action: ACTION_STOP;
5225             target: "resize_b_on";
5226             target: "resize_b_on2";
5227             target: "resize_b_on3";
5228          }
5229          program {
5230             name: "bt_close_down";
5231             signal: "mouse,down,*";
5232             source: "e.event.close";
5233             action: STATE_SET "active" 0.0;
5234             target: "bt_close_unfoc";
5235             target: "bt_close_foc";
5236          }
5237          program {
5238             name: "bt_close_up";
5239             signal: "mouse,up,*";
5240             source: "e.event.close";
5241             action: STATE_SET "default" 0.0;
5242             target: "bt_close_unfoc";
5243             target: "bt_close_foc";
5244          }
5245       }
5246    }
5247    /*** BONUS BORDERS TO CHOOSE FROM ***/
5248    group {
5249       name: "e/widgets/border/pixel/border";
5250       parts {
5251          part {
5252             name: "px1";
5253             type: RECT;
5254             description {
5255                state: "default" 0.0;
5256                rel1 {
5257                   relative: 0.0 0.0;
5258                   offset: 0 0;
5259                }
5260                rel2 {
5261                   relative: 1.0 0.0;
5262                   offset: -1 0;
5263                }
5264                color: 0 0 0 255;
5265             }
5266          }
5267          part {
5268             name: "px2";
5269             type: RECT;
5270             description {
5271                state: "default" 0.0;
5272                rel1 {
5273                   relative: 0.0 1.0;
5274                   offset: 0 -1;
5275                }
5276                rel2 {
5277                   relative: 1.0 1.0;
5278                   offset: -1 -1;
5279                }
5280                color: 0 0 0 255;
5281             }
5282          }
5283          part {
5284             name: "px3";
5285             type: RECT;
5286             description {
5287                state: "default" 0.0;
5288                rel1 {
5289                   relative: 0.0 0.0;
5290                   offset: 0 1;
5291                }
5292                rel2 {
5293                   relative: 0.0 1.0;
5294                   offset: 0 -2;
5295                }
5296                color: 0 0 0 255;
5297             }
5298          }
5299          part {
5300             name: "px4";
5301             type: RECT;
5302             description {
5303                state: "default" 0.0;
5304                rel1 {
5305                   relative: 1.0 0.0;
5306                   offset: -1 1;
5307                }
5308                rel2 {
5309                   relative: 1.0 1.0;
5310                   offset: -1 -2;
5311                }
5312                color: 0 0 0 255;
5313             }
5314          }
5315          part {
5316             name: "e.swallow.client";
5317             type: SWALLOW;
5318             description {
5319                state: "default" 0.0;
5320                rel1 {
5321                   relative: 0.0 0.0;
5322                   offset: 1 1;
5323                }
5324                rel2 {
5325                   relative: 1.0 1.0;
5326                   offset: -2 -2;
5327                }
5328             }
5329          }
5330       }
5331    }
5332
5333
5334 /////////////////////////////////////////////////////////////////////////////
5335 /*** THE DEFAULT MOUSE CURSOR - COLOR ***/
5336
5337    group {
5338       name: "e/pointer/enlightenment/default/color";
5339       images {         
5340          image: "added_images/e17_pointer_mono.png" COMP;
5341       }
5342       parts {
5343          part {
5344             name: "base";
5345             mouse_events: 0;
5346             description {
5347                state: "default" 0.0;               
5348                image {
5349                   normal: "added_images/e17_pointer_mono.png";                  
5350                }
5351             }
5352          }
5353          part {
5354             name: "e.swallow.hotspot";
5355             /* this is a "fake" swallow part
5356              * that is used by e to determine
5357              * the pointer hotspot - or where
5358              * the actual mouse events get
5359              * reported from on the cursor */
5360             type: SWALLOW;
5361             description {
5362                state: "default" 0.0;
5363                visible: 0;
5364                rel1 {
5365                   /* the hotspot will scale with the cursor here */
5366                   to: "base";
5367                   relative: 0.27 0.125;
5368                   offset: 0 0;
5369                }
5370                rel2 {
5371                   to: "base";
5372                   relative: 0.27 0.125;
5373                   offset: 0 0;
5374                }
5375             }
5376          }
5377       }
5378    }
5379
5380
5381 /////////////////////////////////////////////////////////////////////////////
5382 /*** THE DEFAULT MOUSE CURSOR - MONOCHROME. REALLY BORING ***/
5383    /* This pointer is used if the Xserver does not support full ARGB color
5384     * pointers. This can happen if X is old or the driver or libxcursor did
5385     * not exist when ecore was compiled. since the cursor will be literally
5386     * reduced down to black and white with a single transparency mask,
5387     * colors other than black and whigte will be lost (and be approximated
5388     * with dithering) and any translucency other than completely opaque or
5389     * completely transparent pixels will also be lost. it then makes sense
5390     * to have a special black and white only image with no semi-transparency
5391     * so when this is displayed it will look directly as intended by the
5392     * artist */
5393
5394    group {
5395       name: "e/pointer/enlightenment/default/mono";
5396       images {
5397          image: "added_images/e17_pointer_mono.png" COMP;
5398       }
5399       parts {
5400          part {
5401             name: "e/pointer";
5402             mouse_events: 0;
5403             description {
5404                state: "default" 0.0;
5405                image {
5406                   normal: "added_images/e17_pointer_mono.png";
5407                }
5408             }
5409          }
5410          part {
5411             name: "hotspot";
5412             /* this cursor also has a hotspot */
5413             type: SWALLOW;
5414             description {
5415                state: "default" 0.0;
5416                visible: 0;
5417                rel1 {
5418                   relative: 0.0 0.0;
5419                   offset: 1 1;
5420                }
5421                rel2 {
5422                   relative: 0.0 0.0;
5423                   offset: 1 1;
5424                }
5425             }
5426          }
5427       }
5428    }
5429 /////////////////////////////////////////////////////////////////////////////
5430 /*** TOOLBAR ****/
5431
5432    group {
5433       name: "e/widgets/toolbar";
5434       images {
5435          image: "bt_dis_base.png" COMP;
5436          image: "bt_dis_hilight.png" COMP;
5437          image: "bt_dis_shine.png" COMP;
5438          image: "icon_left_arrow.png" COMP;
5439          image: "icon_right_arrow.png" COMP;
5440       }
5441       parts {
5442          part {
5443             name: "base";
5444             mouse_events: 1;
5445             description {
5446                state: "default" 0.0;
5447                rel1 {
5448                   relative: 0.0 0.0;
5449                   offset: 2 2;
5450                }
5451                rel2.offset: -3 -3;
5452                image {
5453                   normal: "bt_dis_base.png";
5454                   border: 4 4 4 4;
5455                }
5456             }
5457          }
5458          part {
5459             name: "clipper";
5460             type: RECT;
5461             mouse_events: 0;
5462             description {
5463                state: "default" 0.0;
5464                rel1 {
5465                   to: "base";
5466                   offset: 2 2;
5467                }
5468                rel2 {
5469                   to: "base";
5470                   offset: -3 -3;
5471                }
5472             }
5473          }
5474          part {
5475             name: "e.swallow.content";
5476             clip_to: "clipper";
5477             type: SWALLOW;
5478             description {
5479                state: "default" 0.0;
5480                rel1.to: "clipper";
5481                rel2.to: "clipper";
5482             }
5483          }
5484          part {
5485             name: "over2";
5486             mouse_events: 0;
5487             description {
5488                state: "default" 0.0;
5489                rel1.to: "base";
5490                rel2.to: "base";
5491                image {
5492                   normal: "bt_dis_shine.png";
5493                   border: 4 4 4 4;
5494                }
5495             }
5496          }
5497          part {
5498             name: "over1";
5499             mouse_events: 0;
5500             description {
5501                state: "default" 0.0;
5502                rel1.to: "base";
5503                rel2.to: "base";
5504                rel2.relative: 1.0 0.5;
5505                image {
5506                   normal: "bt_dis_hilight.png";
5507                   border: 4 4 4 0;
5508                }
5509                color: 255 255 255 128;
5510             }
5511          }
5512          part {
5513             name: "left_arrow";
5514             mouse_events: 1;
5515             scale: 1;
5516             description {
5517                state: "default" 0.0;
5518                image.normal: "icon_left_arrow.png";
5519                aspect: 1.0 1.0;
5520                aspect_preference: VERTICAL;
5521                align: 0.0 0.5;
5522                min: 32 32;
5523                max: 32 32;
5524             }
5525             description {
5526                state: "hidden" 0.0;
5527                inherit: "default" 0.0;
5528                visible: 0;
5529                color: 255 255 255 0;
5530             }
5531          }
5532          part {
5533             name: "right_arrow";
5534             mouse_events: 1;
5535             scale: 1;
5536             description {
5537                state: "default" 0.0;
5538                image.normal: "icon_right_arrow.png";
5539                aspect: 1.0 1.0;
5540                aspect_preference: VERTICAL;
5541                align: 1.0 0.5;
5542                min: 32 32;
5543                max: 32 32;
5544             }
5545             description {
5546                state: "hidden" 0.0;
5547                inherit: "default" 0.0;
5548                visible: 0;
5549                color: 255 255 255 0;
5550             }
5551          }
5552          part {
5553             name: "e.dragable.hbar";
5554             mouse_events: 0;
5555             dragable {
5556                x: 1 1 0;
5557                y: 0 0 0;
5558                confine: "base";
5559             }
5560             description {
5561                state: "default" 0.0;
5562                visible: 0;
5563                rel1.to: "base";
5564                rel2.to: "base";
5565             }
5566          }
5567          part {
5568             name: "event";
5569             type: RECT;
5570             mouse_events: 1;
5571             repeat_events: 1;
5572             description {
5573                state: "default" 0.0;
5574                color: 0 0 0 0;
5575             }
5576          }
5577       }
5578       programs {
5579          program {
5580             name: "sb_hbar_show";
5581             signal: "e,action,show,hbar";
5582             source: "e";
5583             action: STATE_SET "default" 0.0;
5584             transition: LINEAR 0.5;
5585             target: "left_arrow";
5586             target: "right_arrow";
5587          }
5588          program {
5589             name: "sb_hbar_hide";
5590             signal: "e,action,hide,hbar";
5591             source: "e";
5592             action: STATE_SET "hidden" 0.0;
5593             target: "left_arrow";
5594             target: "right_arrow";
5595             transition: LINEAR 0.5;
5596          }
5597          program {
5598             name: "sb_left";
5599             signal: "mouse,down,1";
5600             source: "left_arrow";
5601             action: SIGNAL_EMIT "e,action,prev" "e";
5602          }
5603          program {
5604             name: "sb_right";
5605             signal: "mouse,down,1";
5606             source: "right_arrow";
5607             action: SIGNAL_EMIT "e,action,next" "e";
5608          }
5609       }
5610    }
5611    group {
5612       name: "e/widgets/toolbar/item";
5613       images {
5614          image: "toolbar_sel.png" COMP;
5615       }
5616       parts {
5617          part {
5618             name: "label2";
5619             type: TEXT;
5620             mouse_events: 0;
5621             scale: 1;
5622             description {
5623                state: "default" 0.0;
5624                align: 0.5 1.0;
5625                fixed: 0 1;
5626                rel1.to: "e.text.label";
5627                rel2.to: "e.text.label";
5628                color: 0 0 0 255;
5629                text {
5630                   font: "Sans";
5631                   text_source: "e.text.label";
5632                   size: 10;
5633                   min: 1 1;
5634                   align: 0.5 0.5;
5635                   text_class: "fileman_icon";
5636                }
5637             }
5638             description {
5639                state: "selected" 0.0;
5640                inherit: "default" 0.0;
5641                visible: 0;
5642             }
5643          }
5644          part {
5645             name: "bg";
5646             mouse_events: 0;
5647             description {
5648                state: "default" 0.0;
5649                visible: 0;
5650                color: 255 255 255 0;
5651                image {
5652                   normal: "toolbar_sel.png";
5653                   border: 3 3 0 0;
5654                }
5655                fill.smooth: 0;
5656             }
5657             description {
5658                state: "selected" 0.0;
5659                inherit: "default" 0.0;
5660                visible: 1;
5661                color: 255 255 255 255;
5662             }
5663          }
5664          part {
5665             name: "e.swallow.icon";
5666             type: SWALLOW;
5667             description {
5668                state: "default" 0.0;
5669                align: 0.5 0.5;
5670                rel1 {
5671                   relative: 0.0 0.0;
5672                   offset: 2 2;
5673                }
5674                rel2 {
5675                   to_y: "e.text.label";
5676                   relative: 1.0 0.0;
5677                   offset: -3 -1;
5678                }
5679                color: 0 0 0 0;
5680             }
5681          }
5682          part {
5683             name: "e.text.label";
5684             type: TEXT;
5685             effect: SOFT_SHADOW;
5686             mouse_events: 0;
5687             scale: 1;
5688             description {
5689                state: "default" 0.0;
5690                align: 0.5 1.0;
5691                fixed: 0 1;
5692                rel1 {
5693                   relative: 0.0 1.0;
5694                   offset: 0 2;
5695                }
5696                rel2 {
5697                   relative: 1.0 1.0;
5698                   offset: -1 -1;
5699                }
5700                visible: 0;
5701                color: 224 224 224 255;
5702                color3: 0 0 0 32;
5703                text {
5704                   font: "Sans:style=Bold";
5705                   size: 10;
5706                   min: 1 1;
5707                   align: 0.5 0.5;
5708                   text_class: "fileman_icon";
5709                }
5710             }
5711             description {
5712                state: "selected" 0.0;
5713                inherit: "default" 0.0;
5714                visible: 1;
5715             }
5716          }
5717          part {
5718             name: "event";
5719             type: RECT;
5720             mouse_events: 1;
5721             ignore_flags: ON_HOLD;
5722             description {
5723                state: "default" 0.0;
5724                color: 0 0 0 0;
5725             }
5726          }
5727       }
5728       programs {
5729          program {
5730             name: "go_active";
5731             signal: "e,state,selected";
5732             source: "e";
5733             action: STATE_SET "selected" 0.0;
5734             target: "bg";
5735             target: "e.text.label";
5736             target: "label2";
5737             transition: LINEAR 0.2;
5738          }
5739          program {
5740             name: "go_passive";
5741             signal: "e,state,unselected";
5742             source: "e";
5743             action: STATE_SET "default" 0.0;
5744             target: "bg";
5745             target: "e.text.label";
5746             target: "label2";
5747             transition: LINEAR 0.1;
5748          }
5749          program {
5750             name: "go";
5751             signal: "mouse,up,1";
5752             source: "event";
5753             action: SIGNAL_EMIT "e,action,click" "e";
5754          }
5755       }
5756    }
5757
5758
5759 /////////////////////////////////////////////////////////////////////////////
5760 /*** MENUS ***/
5761
5762    /* this is the background for all menus. it also may optionally display a
5763     * title for the menu. this is wrapped around all the menu items that are
5764     * laid out in a vertical list from top to bottom */
5765
5766    group {
5767       name: "e/widgets/menu/default/background";
5768       images {
5769          image: "base_bg.png" COMP;
5770          image: "bd_top_hilight.png" COMP;
5771          image: "bd_title_bg.png" COMP;
5772          image: "bd_title_over.png" COMP;
5773       }
5774       parts {
5775          part {
5776             name: "base";
5777             mouse_events: 0;
5778             description {
5779                state: "default" 0.0;
5780                align: 0.5 0.0;
5781                color_class: "menu_base";
5782                image {
5783                   normal: "base_bg.png";
5784                   border: 2 2 2 2;
5785                }
5786                fill.smooth: 0;
5787                /* note - a shortcut for avoiding doing
5788                 * fill { smooth: 0; } */
5789             }
5790          }
5791          part {
5792             name: "top_hilight";
5793             mouse_events: 0;
5794             description {
5795                state: "default" 0.0;
5796                rel1 {
5797                   relative: 0.0 0.0;
5798                   offset: 0 0;
5799                }
5800                rel2 {
5801                   relative: 1.0 0.0;
5802                   offset: -1 15;
5803                }
5804                image.normal: "bd_top_hilight.png";
5805                fill.smooth: 0;
5806             }
5807          }
5808          part {
5809             name: "title_back";
5810             mouse_events: 0;
5811             description {
5812                state: "default" 0.0;
5813                visible: 0;
5814                rel1 {
5815                   relative: 0.0 0.0;
5816                   offset: 4 0;
5817                }
5818                rel2 {
5819                   relative: 1.0 0.0;
5820                   offset: -5 0;
5821                }
5822                image {
5823                   normal: "bd_title_bg.png";
5824                   border: 7 7 2 7;
5825                }
5826                fill.smooth: 0;
5827             }
5828             description {
5829                state: "active" 0.0;
5830                inherit: "default" 0.0;
5831                visible: 1;
5832                rel1 {
5833                   relative: 0.0 0.0;
5834                   offset: 4 0;
5835                }
5836                rel2 {
5837                   to_y: "e.text.title";
5838                   relative: 1.0 1.0;
5839                   offset: -5 -4;
5840                }
5841             }
5842          }
5843          part {
5844             name: "e.text.title";
5845             /* e sets the text of this to the title
5846              * if there is any */
5847             type: TEXT;
5848             mouse_events: 0;
5849             scale: 1;
5850             effect: SOFT_SHADOW;
5851             description {
5852                state: "default" 0.0;
5853                fixed: 1 1;
5854                visible: 0;
5855                align: 0.5 0.0;
5856                rel1 {
5857                   relative: 0.0 0.0;
5858                   offset: 0 0;
5859                }
5860                rel2 {
5861                   relative: 1.0 0.0;
5862                   offset: -1 0;
5863                }
5864                color_class: "menu_title";
5865                text {
5866                   text_source: "e.text.title";
5867                   font: "Sans:style=Bold";
5868                   size: 10;
5869                   align: 0.5 0.0;
5870                   min: 0 0;
5871                   text_class: "menu_title";
5872                }
5873             }
5874             description {
5875                state: "active" 0.0;
5876                inherit: "default" 0.0;
5877                visible: 1;
5878                color_class: "menu_title_active";
5879                text.min: 1 1;
5880             }
5881          }
5882          part {
5883             name: "title_over";
5884             mouse_events: 0;
5885             description {
5886                state: "default" 0.0;
5887                visible: 0;
5888                rel1.to: "title_back";
5889                rel2.to: "title_back";
5890                image {
5891                   normal: "bd_title_over.png";
5892                   border: 7 7 2 7;
5893                }
5894                fill.smooth: 0;
5895             }
5896             description {
5897                state: "active" 0.0;
5898                inherit: "default" 0.0;
5899                visible: 1;
5900             }
5901          }
5902          part {
5903             name: "e.swallow.content";
5904             /* this swallow part determines
5905              * where in the menu the vertical
5906              * list of menu items is put */
5907             type: SWALLOW;
5908             description {
5909                state: "default" 0.0;
5910                rel1 {
5911                   to_y: "e.text.title";
5912                   relative: 0.0 1.0;
5913                   offset: 2 1;
5914                }
5915                rel2 {
5916                   relative: 1.0 1.0;
5917                   offset: -3 -3;
5918                }
5919             }
5920          }
5921       }
5922       programs {
5923          program {
5924             name: "on";
5925             /* this program is run when e emits a signal
5926              * to display a title. e will also set the
5927              * title text */
5928             signal: "e,action,show,title";
5929             source: "e";
5930             action: STATE_SET "active" 0.0;
5931             target: "title_back";
5932             target: "e.text.title";
5933             target: "title_over";
5934          }
5935          program {
5936             name: "off";
5937             /* run when the title is removed */
5938             signal: "e,action,hide,title";
5939             source: "e";
5940             action: STATE_SET "default" 0.0;
5941             target: "title_back";
5942             target: "e.text.title";
5943             target: "title_over";
5944          }
5945       }
5946    }
5947    /* this is placed as a horizontal separator between menu items in the
5948     * vertical menu item list. it has no functionality other than being
5949     * a visual separator */
5950    group {
5951       name: "e/widgets/menu/default/separator";
5952       images {
5953          image: "menu_sep.png" COMP;
5954       }
5955       parts {
5956          part {
5957             name: "separator";
5958             mouse_events: 0;
5959             description {
5960                state: "default" 0.0;
5961                min: 16 2;
5962                rel1.offset: 2 2;
5963                rel2.offset: -3 -3;
5964                image {
5965                   normal: "menu_sep.png";
5966                   border: 2 2 0 0;
5967                }
5968                fill.smooth: 0;
5969             }
5970          }
5971       }
5972    }
5973    /* this is used for regular menu items. this is what swallows/holds the
5974     * whole line of the menu item, icon, check/radio mark, label and submenu
5975     * indicator, where applicable */
5976    group {
5977       name: "e/widgets/menu/default/item_bg";
5978       /* this is idential to the regular menu item above, but used only for
5979        * items that have a submenu. this is to allow for a possible different
5980        * look for submenu holding items. here this is identical to to the
5981        * normal menu item, thus we are making use of the alias directive that
5982        * gives a group the ability to go by manu names */
5983       alias: "e/widgets/menu/default/submenu_bg";
5984       images {
5985          image: "menu_sel_bg.png" COMP;
5986          image: "menu_sel_fg.png" COMP;
5987       }
5988       parts {
5989          part {
5990             name: "bg";
5991             mouse_events: 0;
5992             description {
5993                state: "default" 0.0;
5994                visible: 0;
5995                color: 255 255 255 0;
5996                rel1 {
5997                   relative: 0.0 0.0;
5998                   offset: -5 -3;
5999                }
6000                rel2 {
6001                   relative: 1.0 1.0;
6002                   offset: 4 5;
6003                }
6004                image {
6005                   normal: "menu_sel_bg.png";
6006                   border: 8 8 5 9;
6007                }
6008             }
6009             description {
6010                state: "selected" 0.0;
6011                inherit: "default" 0.0;
6012                visible: 1;
6013                color: 255 255 255 255;
6014                rel1 {
6015                   relative: 0.0 0.0;
6016                   offset: -2 0;
6017                }
6018                rel2 {
6019                   relative: 1.0 1.0;
6020                   offset: 1 2;
6021                }
6022             }
6023          }
6024          part {
6025             name: "e.swallow.content";
6026             /* all item content will go here */
6027             type: SWALLOW;
6028             description {
6029                state: "default" 0.0;
6030                align: 0.0 0.0;
6031                rel1.offset: 2 1;
6032                rel2.offset: -3 -2;
6033             }
6034          }
6035          part {
6036             name: "fg";
6037             mouse_events: 0;
6038             description {
6039                state: "default" 0.0;
6040                visible: 0;
6041                color: 255 255 255 0;
6042                rel1.to: "bg";
6043                rel2.to: "bg";
6044                image {
6045                   normal: "menu_sel_fg.png";
6046                   border: 8 8 5 9;
6047                }
6048             }
6049             description {
6050                state: "selected" 0.0;
6051                inherit: "default" 0.0;
6052                visible: 1;
6053                color: 255 255 255 255;
6054             }
6055          }
6056       }
6057       programs {
6058          program {
6059             name: "sel";
6060             /* when the menu item is selected (hilighted)
6061              * this program is run to give the whole item
6062              * an overall selected look */
6063             signal: "e,state,selected";
6064             source: "e";
6065             action: STATE_SET "selected" 0.0;
6066             transition: LINEAR 0.2;
6067             target: "bg";
6068             target: "fg";
6069          }
6070          program {
6071             name: "unsel";
6072             /* when selection is removed from the menu
6073              * item */
6074             signal: "e,state,unselected";
6075             source: "e";
6076             action: STATE_SET "default" 0.0;
6077             transition: LINEAR 0.1;
6078             target: "bg";
6079             target: "fg";
6080          }
6081       }
6082    }
6083    /* this group holds a menu icon. here we just use it to add padding around
6084     * the icon. And to gray-out when disabled */
6085    group {
6086       name: "e/widgets/menu/default/icon";
6087       parts {
6088          part {
6089             name: "clip";
6090             type: RECT;
6091             description {
6092                min: 10 10;
6093                state: "default" 0.0;
6094                color: 255 255 255 255;
6095             }
6096             description {
6097                state: "disabled" 0.0;
6098                color: 255 255 255 128;
6099             }
6100          }
6101          part {
6102             name: "e.swallow.content";
6103             /* icon is swallowed here */
6104             type: SWALLOW;
6105             clip_to: "clip";
6106             description {
6107                state: "default" 0.0;
6108                min: 16 16;
6109                max: 24 24;
6110                fixed: 1 1;
6111                rel1 {
6112                   relative: 0.0 0.0;
6113                   offset: 2 2;
6114                }
6115                rel2 {
6116                   relative: 1.0 1.0;
6117                   offset: -3 -3;
6118                }
6119             }
6120          }
6121       }
6122       programs {
6123          program {
6124             name: "enable";
6125             /* enable */
6126             signal: "e,state,enable";
6127             source: "e";
6128             action: STATE_SET "default" 0.0;
6129             target: "clip";
6130          }
6131          program {
6132             name: "disable";
6133             /* disable */
6134             signal: "e,state,disable";
6135             source: "e";
6136             action: STATE_SET "disabled" 0.0;
6137             target: "clip";
6138          }
6139       }
6140    }
6141    /* this is the actual text label for the menu item */
6142    group {
6143       name: "e/widgets/menu/default/label";
6144       parts {
6145          part {
6146             name: "e.text.label";
6147             /* e sets the text of this */
6148             type: TEXT;
6149             effect: SOFT_SHADOW;
6150             mouse_events: 0;
6151             scale: 1;
6152             description {
6153                state: "default" 0.0;
6154                rel1 {
6155                   relative: 0.0 0.0;
6156                   offset: 1 -1;
6157                }
6158                rel2 {
6159                   relative: 1.0 1.0;
6160                   offset: -1 1;
6161                }
6162                color_class: "menu_item";
6163                text {
6164                   font: "Sans";
6165                   size: 10;
6166                   min: 1 1;
6167                   align: 0.0 0.5;
6168                   text_class: "menu_item";
6169                }
6170             }
6171             description {
6172                state: "selected" 0.0;
6173                inherit: "default" 0.0;
6174                color_class: "menu_item_active";
6175             }
6176             description {
6177                state: "disabled" 0.0;
6178                inherit: "default" 0.0;
6179                color_class: "menu_item_disabled";
6180             }
6181          }
6182       }
6183       programs {
6184          program {
6185             name: "sel";
6186             /* when the menu item is actually selected */
6187             signal: "e,state,selected";
6188             source: "e";
6189             action: STATE_SET "selected" 0.0;
6190             transition: LINEAR 0.2;
6191             target: "e.text.label";
6192          }
6193          program {
6194             name: "unsel";
6195             /* on de-select */
6196             signal: "e,state,unselected";
6197             source: "e";
6198             action: STATE_SET "default" 0.0;
6199             transition: LINEAR 0.3;
6200             target: "e.text.label";
6201          }
6202          program {
6203             name: "enable";
6204             /* enable */
6205             signal: "e,state,enable";
6206             source: "e";
6207             action: STATE_SET "default" 0.0;
6208             transition: LINEAR 0.3;
6209             target: "e.text.label";
6210          }
6211          program {
6212             name: "disable";
6213             /* disable */
6214             signal: "e,state,disable";
6215             source: "e";
6216             action: STATE_SET "disabled" 0.0;
6217             //transition: LINEAR 0.3;
6218             target: "e.text.label";
6219          }
6220       }
6221    }
6222    /* this is a small arrow on the right of the menu item to indicate that it
6223     * has a submenu after it */
6224    group {
6225       name: "e/widgets/menu/default/submenu";
6226       images {
6227          image: "menu_arrow_normal.png" COMP;
6228          image: "menu_arrow_sel.png" COMP;
6229       }
6230       parts {
6231          part {
6232             name: "arrow";
6233             mouse_events: 0;
6234             description {
6235                state: "default" 0.0;
6236                min: 9 12;
6237                max: 9 12;
6238                rel1 {
6239                   relative: 0.0 0.0;
6240                   offset: 4 1;
6241                }
6242                rel2 {
6243                   relative: 1.0 1.0;
6244                   offset: -3 -1;
6245                }
6246                image.normal: "menu_arrow_normal.png";
6247             }
6248             description {
6249                state: "selected" 0.0;
6250                inherit: "default" 0.0;
6251                image.normal: "menu_arrow_sel.png";
6252             }
6253          }
6254       }
6255       programs {
6256          program {
6257             name: "sel";
6258             signal: "e,state,selected";
6259             source: "e";
6260             action: STATE_SET "selected" 0.0;
6261             target: "arrow";
6262          }
6263          program {
6264             name: "unsel";
6265             signal: "e,state,unselected";
6266             source: "e";
6267             action: STATE_SET "default" 0.0;
6268             target: "arrow";
6269          }
6270       }
6271    }
6272    /* this is placed left of the icon in a menu item (if any icon) or left
6273     * of the label if no icon is present. this is a checkbox to indicate if
6274     * the menu item is enabled or disabled */
6275    group {
6276       name: "e/widgets/menu/default/check";
6277       images {
6278          image: "check_base.png" COMP;
6279          image: "check_on.png" COMP;
6280          image: "check_sel.png" COMP;
6281       }
6282       parts {
6283          part {
6284             name: "base";
6285             mouse_events: 0;
6286             scale: 1;
6287             description {
6288                state: "default" 0.0;
6289                min: 16 16;
6290                max: 16 16;
6291                image.normal: "check_base.png";
6292             }
6293          }
6294          part {
6295             name: "mark";
6296             mouse_events: 0;
6297             clip_to: "mark_hold";
6298             description {
6299                state: "default" 0.0;
6300                rel1.to: "mark_hold";
6301                rel2.to: "mark_hold";
6302                image.normal: "check_on.png";
6303             }
6304             description {
6305                state: "selected" 0.0;
6306                inherit: "default" 0.0;
6307                image.normal: "check_sel.png";
6308             }
6309          }
6310          part {
6311             name: "mark_hold";
6312             type: RECT;
6313             mouse_events: 0;
6314             description {
6315                state: "default" 0.0;
6316                visible: 0;
6317                color: 255 255 255 0;
6318                rel1 {
6319                   to: "base";
6320                   offset: -5 -5;
6321                }
6322                rel2 {
6323                   to: "base";
6324                   offset: 4 4;
6325                }
6326             }
6327             description {
6328                state: "on" 0.0;
6329                inherit: "default" 0.0;
6330                visible: 1;
6331                color: 255 255 255 255;
6332                rel1.offset: 0 0;
6333                rel2.offset: -1 -1;
6334             }
6335          }
6336       }
6337       programs {
6338          program {
6339             name: "sel";
6340             /* on selection of the menu item */
6341             signal: "e,state,selected";
6342             source: "e";
6343             action: STATE_SET "selected" 0.0;
6344             target: "mark";
6345          }
6346          program {
6347             name: "unsel";
6348             /* de-select */
6349             signal: "e,state,unselected";
6350             source: "e";
6351             action: STATE_SET "default" 0.0;
6352             target: "mark";
6353          }
6354          program {
6355             name: "on";
6356             /* if the checkmark is to be displayed */
6357             signal: "e,state,on";
6358             source: "e";
6359             action: STATE_SET "on" 0.0;
6360             transition: LINEAR 0.15;
6361             target: "mark_hold";
6362          }
6363          program {
6364             name: "off";
6365             /* check mark is not to be displayed */
6366             signal: "e,state,off";
6367             source: "e";
6368             action: STATE_SET "default" 0.0;
6369             transition: LINEAR 0.2;
6370             target: "mark_hold";
6371          }
6372       }
6373    }
6374    /* for a radio menu item - same as check, but only one of a group of radio
6375     * menu item can be selected at any one time */
6376    group {
6377       name: "e/widgets/menu/default/radio";
6378       images {
6379          image: "radio_base.png" COMP;
6380          image: "radio_on.png" COMP;
6381          image: "radio_sel.png" COMP;
6382       }
6383       parts {
6384          part {
6385             name: "base";
6386             mouse_events: 0;
6387             scale: 1;
6388             description {
6389                state: "default" 0.0;
6390                min: 16 16;
6391                max: 16 16;
6392                image.normal: "radio_base.png";
6393             }
6394             description {
6395                state: "selected" 0.0;
6396                inherit: "default" 0.0;
6397                image.normal: "menu_arrow_sel.png";
6398             }
6399          }
6400          part {
6401             name: "mark";
6402             mouse_events: 0;
6403             clip_to: "mark_hold";
6404             description {
6405                state: "default" 0.0;
6406                rel1.to: "mark_hold";
6407                rel2.to: "mark_hold";
6408                image.normal: "radio_on.png";
6409             }
6410             description {
6411                state: "selected" 0.0;
6412                inherit: "default" 0.0;
6413                image.normal: "radio_sel.png";
6414             }
6415          }
6416          part {
6417             name: "mark_hold";
6418             type: RECT;
6419             mouse_events: 0;
6420             description {
6421                state: "default" 0.0;
6422                visible: 0;
6423                color: 255 255 255 0;
6424                rel1 {
6425                   to: "base";
6426                   offset: -5 -5;
6427                }
6428                rel2 {
6429                   to: "base";
6430                   offset: 4 4;
6431                }
6432             }
6433             description {
6434                state: "on" 0.0;
6435                inherit: "default" 0.0;
6436                visible: 1;
6437                color: 255 255 255 255;
6438                rel1.offset: 0 0;
6439                rel2.offset: -1 -1;
6440             }
6441          }
6442       }
6443       programs {
6444          program {
6445             name: "sel";
6446             signal: "e,state,selected";
6447             source: "e";
6448             action: STATE_SET "selected" 0.0;
6449             target: "mark";
6450          }
6451          program {
6452             name: "unsel";
6453             signal: "e,state,unselected";
6454             source: "e";
6455             action: STATE_SET "default" 0.0;
6456             target: "mark";
6457          }
6458          program {
6459             name: "on";
6460             signal: "e,state,on";
6461             source: "e";
6462             action: STATE_SET "on" 0.0;
6463             transition: LINEAR 0.15;
6464             target: "mark_hold";
6465          }
6466          program {
6467             name: "off";
6468             signal: "e,state,off";
6469             source: "e";
6470             action: STATE_SET "default" 0.0;
6471             transition: LINEAR 0.2;
6472             target: "mark_hold";
6473          }
6474       }
6475    }
6476
6477
6478 /////////////////////////////////////////////////////////////////////////////
6479 /*** SHELF ***/
6480
6481    /* Shelves are "panels" that  are placed around the edges of the screen
6482     * to hold useful gadgets to control things - like switch desktops
6483     * (the pager module and its gadget), launch programs, and anything else
6484     * someone wants to put in there. The way to add gadgets to a shelf is to
6485     * write a module that places a gadget there. This means that it might end
6486     * up containing all sorts of things and the artist needs to be aware of
6487     * that and make sure the shelf border and background etc. won't interfere
6488     * with all manner of things that may get placed there */
6489
6490    group {
6491       name: "e/shelf/default/base";
6492       data {
6493          /* this tells e the shelf is shaped, not rectangular */
6494          //    item: "shaped" "1";
6495          /* this tells e the number of pixels of the shelf to leave "exposed"
6496           * when auto-hiding the shelf */
6497          item: "hidden_state_size" "1";
6498          /* This makes the border hide instantly after the given amount of
6499           * seconds - in this case 3 seconds. This means there will be no
6500           * visible part of the shelf after this time at all as it will be
6501           * totally hidden */
6502          //    item: "instant_delay" "3.0";
6503       }
6504       images {
6505          image: "base_bg.png" COMP;
6506       }
6507       parts {
6508          part {
6509             name: "base";
6510             mouse_events: 0;
6511             description {
6512                state: "default" 0.0;
6513                color_class: "shelf_base";
6514                image.normal: "base_bg.png";
6515                image.border: 2 2 2 2;
6516                fill.smooth: 0;
6517             }
6518          }
6519          part {
6520             name: "e.swallow.content";
6521             type: SWALLOW;
6522             description {
6523                state: "default" 0.0;
6524                rel1 {
6525                   relative: 0.0 0.0;
6526                   offset: 3 3;
6527                }
6528                rel2 {
6529                   relative: 1.0 1.0;
6530                   offset: -4 -4;
6531                }
6532             }
6533          }
6534       }
6535       programs {
6536          // tell us what oriantation we are in. not used here
6537          //      program { name: "xx";
6538          //    signal: "e,state,orientation,top";
6539          //    source: "e";
6540          //      }
6541          // tell us what oriantation we are in. not used here
6542          //      program { name: "xx";
6543          //    signal: "e,state,orientation,top_left";
6544          //    source: "e";
6545          //      }
6546          // tell us what oriantation we are in. not used here
6547          //      program { name: "xx";
6548          //    signal: "e,state,orientation,top_right";
6549          //    source: "e";
6550          //      }
6551          // tell us what oriantation we are in. not used here
6552          //      program { name: "xx";
6553          //    signal: "e,state,orientation,bottom";
6554          //    source: "e";
6555          //      }
6556          // tell us what oriantation we are in. not used here
6557          //      program { name: "xx";
6558          //    signal: "e,state,orientation,bottom_left";
6559          //    source: "e";
6560          //      }
6561          // tell us what oriantation we are in. not used here
6562          //      program { name: "xx";
6563          //    signal: "e,state,orientation,bottom_right";
6564          //    source: "e";
6565          //      }
6566          // tell us what oriantation we are in. not used here
6567          //      program { name: "xx";
6568          //    signal: "e,state,orientation,left";
6569          //    source: "e";
6570          //      }
6571          // tell us what oriantation we are in. not used here
6572          //      program { name: "xx";
6573          //    signal: "e,state,orientation,left_top";
6574          //    source: "e";
6575          //      }
6576          // tell us what oriantation we are in. not used here
6577          //      program { name: "xx";
6578          //    signal: "e,state,orientation,left_bottom";
6579          //    source: "e";
6580          //      }
6581          // tell us what oriantation we are in. not used here
6582          //      program { name: "xx";
6583          //    signal: "e,state,orientation,right";
6584          //    source: "e";
6585          //      }
6586          // tell us what oriantation we are in. not used here
6587          //      program { name: "xx";
6588          //    signal: "e,state,orientation,right_top";
6589          //    source: "e";
6590          //      }
6591          // tell us what oriantation we are in. not used here
6592          //      program { name: "xx";
6593          //    signal: "e,state,orientation,right_bottom";
6594          //    source: "e";
6595          //      }
6596          // tell us we became a visible shelf. not used here
6597          //      program { name: "xx";
6598          //    signal: "e,state,visible";
6599          //    source: "e";
6600          //      }
6601          // tell us we became a hidden shelf. not used here
6602          //      program { name: "xx";
6603          //    signal: "e,state,hidden";
6604          //    source: "e";
6605          //      }
6606       }
6607    }
6608    /* This is put around gadgets in the shelf if they ask for an "inset" style
6609     * framing. This puts some sort of bordering around them to make them look
6610     * "inset" into the shelf or screen. this is meant to go with the default
6611     * shelf style as implied in the group name */
6612    group {
6613       name: "e/shelf/default/inset";
6614       images {
6615          image: "inset_sunk.png" COMP;
6616       }
6617       parts {
6618          part {
6619             name: "base";
6620             type: RECT;
6621             description {
6622                state: "default" 0.0;
6623                rel1 {
6624                   to: "inset";
6625                   offset: 1 1;
6626                }
6627                rel2 {
6628                   to: "inset";
6629                   offset: -2 -2;
6630                }
6631                color: 255 255 255 255;
6632             }
6633          }
6634          part {
6635             name: "clip";
6636             type: RECT;
6637             description {
6638                state: "default" 0.0;
6639                rel1.to: "base";
6640                rel2.to: "base";
6641                color: 255 255 255 255;
6642             }
6643          }
6644          part {
6645             name: "e.swallow.content";
6646             type: SWALLOW;
6647             clip_to: "clip";
6648             description {
6649                state: "default" 0.0;
6650                rel1 {
6651                   to: "base";
6652                   offset: 1 1;
6653                }
6654                rel2 {
6655                   to: "base";
6656                   offset: -2 -2;
6657                }
6658             }
6659          }
6660          part {
6661             name: "inset";
6662             mouse_events: 0;
6663             description {
6664                state: "default" 0.0;
6665                rel1.offset: 1 1;
6666                rel2.offset: -2 -2;
6667                image.normal: "inset_sunk.png";
6668                image.middle: 0;
6669                /* here we say the "middle" part of the image
6670                 * between the borders is not filled - it's
6671                 * empty, so don't draw it - ignore it */
6672                image.border: 7 7 7 7;
6673                fill.smooth: 0;
6674             }
6675          }
6676       }
6677       programs {
6678          // tell us what oriantation we are in. not used here
6679          //      program { name: "xx";
6680          //    signal: "e,state,orientation,top";
6681          //    source: "e";
6682          //      }
6683          // tell us what oriantation we are in. not used here
6684          //      program { name: "xx";
6685          //    signal: "e,state,orientation,top_left";
6686          //    source: "e";
6687          //      }
6688          // tell us what oriantation we are in. not used here
6689          //      program { name: "xx";
6690          //    signal: "e,state,orientation,top_right";
6691          //    source: "e";
6692          //      }
6693          // tell us what oriantation we are in. not used here
6694          //      program { name: "xx";
6695          //    signal: "e,state,orientation,bottom";
6696          //    source: "e";
6697          //      }
6698          // tell us what oriantation we are in. not used here
6699          //      program { name: "xx";
6700          //    signal: "e,state,orientation,bottom_left";
6701          //    source: "e";
6702          //      }
6703          // tell us what oriantation we are in. not used here
6704          //      program { name: "xx";
6705          //    signal: "e,state,orientation,bottom_right";
6706          //    source: "e";
6707          //      }
6708          // tell us what oriantation we are in. not used here
6709          //      program { name: "xx";
6710          //    signal: "e,state,orientation,left";
6711          //    source: "e";
6712          //      }
6713          // tell us what oriantation we are in. not used here
6714          //      program { name: "xx";
6715          //    signal: "e,state,orientation,left_top";
6716          //    source: "e";
6717          //      }
6718          // tell us what oriantation we are in. not used here
6719          //      program { name: "xx";
6720          //    signal: "e,state,orientation,left_bottom";
6721          //    source: "e";
6722          //      }
6723          // tell us what oriantation we are in. not used here
6724          //      program { name: "xx";
6725          //    signal: "e,state,orientation,right";
6726          //    source: "e";
6727          //      }
6728          // tell us what oriantation we are in. not used here
6729          //      program { name: "xx";
6730          //    signal: "e,state,orientation,right_top";
6731          //    source: "e";
6732          //      }
6733          // tell us what oriantation we are in. not used here
6734          //      program { name: "xx";
6735          //    signal: "e,state,orientation,right_bottom";
6736          //    source: "e";
6737          //      }
6738       }
6739    }
6740    /* Same as inset, but meant to be with no decorations that are visible. here
6741     * we simply make the content swallow inset a bit from the edges to align
6742     * with any plain style inset boxes */
6743    group {
6744       name: "e/shelf/default/plain";
6745       parts {
6746          part {
6747             name: "clip";
6748             type: RECT;
6749             description {
6750                state: "default" 0.0;
6751                color: 255 255 255 255;
6752             }
6753          }
6754          part {
6755             name: "e.swallow.content";
6756             type: SWALLOW;
6757             clip_to: "clip";
6758             description {
6759                state: "default" 0.0;
6760                rel1.offset: 1 1;
6761                rel2.offset: -2 -2;
6762             }
6763          }
6764       }
6765    }
6766    /* This is the "invisible" shelf. Yes. Even it has visual config in edje.
6767     * The idea is that it will remain invisible, BUT will allow the designer
6768     * to do some layout and padding. This gets the same signals as the
6769     * default shelf and can provide the same data items */
6770    group {
6771       name: "e/shelf/invisible/base";
6772       data.item: "shaped" "1";
6773       parts {
6774          part {
6775             name: "e.swallow.content";
6776             type: SWALLOW;
6777             description {
6778                state: "default" 0.0;
6779                rel1 {
6780                   relative: 0.0 0.0;
6781                   offset: 0 0;
6782                }
6783                rel2 {
6784                   relative: 1.0 1.0;
6785                   offset: -1 -1;
6786                }
6787             }
6788          }
6789       }
6790    }
6791    group {
6792       name: "e/shelf/invisible/inset";
6793       images {
6794          image: "inset_sunk_dark.png" COMP;
6795       }
6796       parts {
6797          part {
6798             name: "base";
6799             type: RECT;
6800             description {
6801                state: "default" 0.0;
6802                rel1 {
6803                   to: "inset";
6804                   offset: 1 1;
6805                }
6806                rel2 {
6807                   to: "inset";
6808                   offset: -2 -2;
6809                }
6810                color: 0 0 0 32;
6811             }
6812          }
6813          part {
6814             name: "clip";
6815             type: RECT;
6816             description {
6817                state: "default" 0.0;
6818                rel1.to: "base";
6819                rel2.to: "base";
6820                color: 255 255 255 255;
6821             }
6822          }
6823          part {
6824             name: "e.swallow.content";
6825             type: SWALLOW;
6826             clip_to: "clip";
6827             description {
6828                state: "default" 0.0;
6829                rel1 {
6830                   to: "base";
6831                   offset: 1 1;
6832                }
6833                rel2 {
6834                   to: "base";
6835                   offset: -2 -2;
6836                }
6837             }
6838          }
6839          part {
6840             name: "inset";
6841             mouse_events: 0;
6842             description {
6843                state: "default" 0.0;
6844                rel1.offset: 1 1;
6845                rel2.offset: -2 -2;
6846                image.normal: "inset_sunk_dark.png";
6847                image.middle: 0;
6848                image.border: 7 7 7 7;
6849                fill.smooth: 0;
6850             }
6851          }
6852       }
6853    }
6854    group {
6855       name: "e/shelf/invisible/plain";
6856       parts {
6857          part {
6858             name: "clip";
6859             type: RECT;
6860             description {
6861                state: "default" 0.0;
6862                color: 255 255 255 255;
6863             }
6864          }
6865          part {
6866             name: "e.swallow.content";
6867             type: SWALLOW;
6868             clip_to: "clip";
6869             description {
6870                state: "default" 0.0;
6871                rel1.offset: 1 1;
6872                rel2.offset: -2 -2;
6873             }
6874          }
6875       }
6876    }
6877    /* This is the alternate shelf. It provides a stylistic alternative to
6878     * make the shelf more dynamic to your tastes and wallpaper. It is
6879     * selected in the Shelf Configuration. More alternative shelfs can
6880     * be provided by using more group names. eg, "e/shelf/black/base" */
6881    group {
6882       name: "e/shelf/alternate/base";
6883       images {
6884          image: "shelf_alt_bg.png" COMP;
6885          //     image: "shelf_alt_bg_left.png" COMP;
6886          //     image: "shelf_alt_bg_right.png" COMP;
6887          image: "shelf_alt_over.png" COMP;
6888          //     image: "shelf_alt_over_left.png" COMP;
6889          //     image: "shelf_alt_over_right.png" COMP;
6890          image: "shelf_alt_shine.png" COMP;
6891       }
6892       parts {
6893          part {
6894             name: "base";
6895             mouse_events: 0;
6896             description {
6897                state: "default" 0.0;
6898                color_class: "shelf_base";
6899                image.normal: "shelf_alt_bg.png";
6900                fill.smooth: 0;
6901             }
6902             //        description { state: "left" 0.0;
6903             //           image.normal: "shelf_alt_bg_left.png";
6904             //           fill.smooth: 0;
6905             //        }
6906             //        description { state: "right" 0.0;
6907             //           image.normal: "shelf_alt_bg_right.png";
6908             //           fill.smooth: 0;
6909             //        }
6910          }
6911          part {
6912             name: "e.swallow.content";
6913             type: SWALLOW;
6914             description {
6915                state: "default" 0.0;
6916                rel1 {
6917                   relative: 0.0 0.0;
6918                   offset: 3 3;
6919                }
6920                rel2 {
6921                   relative: 1.0 1.0;
6922                   offset: -4 -4;
6923                }
6924             }
6925          }
6926          part {
6927             name: "shine";
6928             mouse_events: 0;
6929             description {
6930                state: "default" 0.0;
6931                image.normal: "shelf_alt_shine.png";
6932                rel2.relative: 1.0 0.5;
6933                fill.smooth: 0;
6934             }
6935             //        description { state: "left" 0.0;
6936             //           inherit: "default" 0.0;
6937             //           color: 255 255 255 0;
6938             //        }
6939             //        description { state: "right" 0.0;
6940             //           inherit: "default" 0.0;
6941             //           color: 255 255 255 0;
6942             //        }
6943          }
6944          part {
6945             name: "over";
6946             mouse_events: 0;
6947             description {
6948                state: "default" 0.0;
6949                image.normal: "shelf_alt_over.png";
6950                image.border: 5 5 5 5;
6951                image.middle: 0;
6952                fill.smooth: 0;
6953             }
6954             //        description { state: "left" 0.0;
6955             //           image.normal: "shelf_alt_over_left.png";
6956             //           image.border: 5 5 5 5;
6957             //           image.middle: 0;
6958             //           fill.smooth: 0;
6959             //        }
6960             //        description { state: "right" 0.0;
6961             //           image.normal: "shelf_alt_over_right.png";
6962             //           image.border: 5 5 5 5;
6963             //           image.middle: 0;
6964             //           fill.smooth: 0;
6965             //        }
6966          }
6967       }
6968       /* Because programs can not respond to 2 different types of signals,
6969        * the programs are split into individual programs that point towards
6970        * the base program for its orientation. */
6971       programs {
6972          /* Left orientation */
6973          //     program { name: "left";
6974          //        signal: "e,state,orientation,left";
6975          //        source: "e";
6976          //        action: STATE_SET "left" 0.0;
6977          //        target: "base";
6978          //        target: "over";
6979          //        target: "shine";
6980          //     }
6981          //     program { name: "left_top";
6982          //        signal: "e,state,orientation,left_top";
6983          //        source: "e";
6984          //        after: "left";
6985          //     }
6986          //     program { name: "left_bottom";
6987          //        signal: "e,state,orientation,left_bottom";
6988          //        source: "e";
6989          //        after: "left";
6990          //     }
6991          //     /* Right orientation */
6992          //     program { name: "right";
6993          //        signal: "e,state,orientation,right";
6994          //        source: "e";
6995          //        action: STATE_SET "right" 0.0;
6996          //        target: "base";
6997          //        target: "over";
6998          //        target: "shine";
6999          //     }
7000          //     program { name: "right_top";
7001          //        signal: "e,state,orientation,right_top";
7002          //        source: "e";
7003          //        after: "right";
7004          //     }
7005          //     program { name: "right_bottom";
7006          //        signal: "e,state,orientation,right_bottom";
7007          //        source: "e";
7008          //        after: "right";
7009          //     }
7010       }
7011    }
7012    /* This is the alternate shelf. It provides a stylistic alternative to
7013     * make the shelf more dynamic to your tastes and wallpaper. It is
7014     * selected in the Shelf Configuration. More alternative shelfs can
7015     * be provided by using more group names. eg, "e/shelf/black/base" */
7016    group { name: "e/shelf/alternate_vertical/base";
7017       images {
7018          image: "shelf_alt_vert_bg.png" COMP;
7019 //       image: "shelf_alt_bg_left.png" COMP;
7020 //       image: "shelf_alt_bg_right.png" COMP;
7021          image: "shelf_alt_over.png" COMP;
7022 //       image: "shelf_alt_over_left.png" COMP;
7023 //       image: "shelf_alt_over_right.png" COMP;
7024       }
7025       parts {
7026          part { name: "base";
7027             mouse_events: 0;
7028             description { state: "default" 0.0;
7029                color_class: "shelf_base";
7030                image.normal: "shelf_alt_vert_bg.png";
7031                fill.smooth: 0;
7032             }
7033 //          description { state: "left" 0.0;
7034 //             image.normal: "shelf_alt_bg_left.png";
7035 //             fill.smooth: 0;
7036 //          }
7037 //          description { state: "right" 0.0;
7038 //             image.normal: "shelf_alt_bg_right.png";
7039 //             fill.smooth: 0;
7040 //          }
7041          }
7042          part { name: "e.swallow.content";
7043             type: SWALLOW;
7044             description { state: "default" 0.0;
7045                rel1 {
7046                   relative: 0.0 0.0;
7047                   offset: 3 3;
7048                }
7049                rel2 {
7050                   relative: 1.0 1.0;
7051                   offset: -4 -4;
7052                }
7053             }
7054          }
7055          part { name: "over";
7056             mouse_events: 0;
7057             description { state: "default" 0.0;
7058                image.normal: "shelf_alt_over.png";
7059                image.border: 5 5 5 5;
7060                image.middle: 0;
7061                fill.smooth: 0;
7062             }
7063 //          description { state: "left" 0.0;
7064 //             image.normal: "shelf_alt_over_left.png";
7065 //             image.border: 5 5 5 5;
7066 //             image.middle: 0;
7067 //             fill.smooth: 0;
7068 //          }
7069 //          description { state: "right" 0.0;
7070 //             image.normal: "shelf_alt_over_right.png";
7071 //             image.border: 5 5 5 5;
7072 //             image.middle: 0;
7073 //             fill.smooth: 0;
7074 //          }
7075          }
7076       }
7077       /* Because programs can not respond to 2 different types of signals,
7078        * the programs are split into individual programs that point towards
7079        * the base program for its orientation. */
7080       programs {
7081          /* Left orientation */
7082 //       program { name: "left";
7083 //          signal: "e,state,orientation,left";
7084 //          source: "e";
7085 //          action: STATE_SET "left" 0.0;
7086 //          target: "base";
7087 //          target: "over";
7088 //          target: "shine";
7089 //       }
7090 //       program { name: "left_top";
7091 //          signal: "e,state,orientation,left_top";
7092 //          source: "e";
7093 //          after: "left";
7094 //       }
7095 //       program { name: "left_bottom";
7096 //          signal: "e,state,orientation,left_bottom";
7097 //          source: "e";
7098 //          after: "left";
7099 //       }
7100 //       /* Right orientation */
7101 //       program { name: "right";
7102 //          signal: "e,state,orientation,right";
7103 //          source: "e";
7104 //          action: STATE_SET "right" 0.0;
7105 //          target: "base";
7106 //          target: "over";
7107 //          target: "shine";
7108 //       }
7109 //       program { name: "right_top";
7110 //          signal: "e,state,orientation,right_top";
7111 //          source: "e";
7112 //          after: "right";
7113 //       }
7114 //       program { name: "right_bottom";
7115 //          signal: "e,state,orientation,right_bottom";
7116 //          source: "e";
7117 //          after: "right";
7118 //       }
7119       }
7120    }
7121    group {
7122       name: "e/shelf/alternate/inset";
7123       images {
7124          image: "inset_raised.png" COMP;
7125       }
7126       parts {
7127          part {
7128             name: "base";
7129             type: RECT;
7130             description {
7131                state: "default" 0.0;
7132                rel1 {
7133                   to: "inset";
7134                   offset: 4 4;
7135                }
7136                rel2 {
7137                   to: "inset";
7138                   offset: -5 -5;
7139                }
7140                color: 0 0 0 0;
7141             }
7142          }
7143          part {
7144             name: "clip";
7145             type: RECT;
7146             description {
7147                state: "default" 0.0;
7148                rel1.to: "base";
7149                rel2.to: "base";
7150                color: 255 255 255 255;
7151             }
7152          }
7153          part {
7154             name: "e.swallow.content";
7155             type: SWALLOW;
7156             clip_to: "clip";
7157             description {
7158                state: "default" 0.0;
7159                rel1 {
7160                   to: "base";
7161                   offset: 0 0;
7162                }
7163                rel2 {
7164                   to: "base";
7165                   offset: -1 -1;
7166                }
7167             }
7168          }
7169          part {
7170             name: "inset";
7171             mouse_events: 0;
7172             description {
7173                state: "default" 0.0;
7174                rel1.offset: -1 -1;
7175                rel2.offset: 0 0;
7176                image.normal: "inset_raised.png";
7177                image.middle: 0;
7178                image.border: 7 7 7 7;
7179                fill.smooth: 0;
7180             }
7181          }
7182       }
7183    }
7184    group {
7185       name: "e/shelf/alternate/plain";
7186       parts {
7187          part {
7188             name: "clip";
7189             type: RECT;
7190             description {
7191                state: "default" 0.0;
7192                color: 255 255 255 255;
7193             }
7194          }
7195          part {
7196             name: "e.swallow.content";
7197             type: SWALLOW;
7198             clip_to: "clip";
7199             description {
7200                state: "default" 0.0;
7201                rel1.offset: 1 1;
7202                rel2.offset: -2 -2;
7203             }
7204          }
7205       }
7206    }
7207
7208 /////////////////////////////////////////////////////////////////////////////
7209 /*** MOD: CLOCK ***/
7210
7211 images {
7212    image: "clock/DM_Clock_time.png" COMP;
7213    image: "clock/DM_Clock_time_0.png" COMP;
7214    image: "clock/DM_Clock_time_1.png" COMP;
7215    image: "clock/DM_Clock_time_2.png" COMP;
7216    image: "clock/DM_Clock_time_3.png" COMP;
7217    image: "clock/DM_Clock_time_4.png" COMP;
7218    image: "clock/DM_Clock_time_5.png" COMP;
7219    image: "clock/DM_Clock_time_6.png" COMP;
7220    image: "clock/DM_Clock_time_7.png" COMP;
7221    image: "clock/DM_Clock_time_8.png" COMP;
7222    image: "clock/DM_Clock_time_9.png" COMP;
7223    image: "clock/DM_Clock_time_AM.png" COMP;
7224    image: "clock/DM_Clock_time_PM.png" COMP;
7225    image: "clock/DM_Clock_time_center.png" COMP;
7226 }
7227
7228 #define DIGIT_WIDTH  0.25
7229 #define DIGIT_10_WIDTH  0.1
7230 #define DIGIT_Y      0.2
7231 #define DIGIT_HEIGHT 0.8
7232 #define HOUR_10_XOFF 0.0
7233 #define WEEKDAY_XOFF 0.0
7234 #define DAY_XOFF     0.15
7235 #define DAY_HEIGHT   0.2
7236 #define DAY_Y        0.0
7237 #define MONTH_XOFF   0.25
7238 #define HOUR_1_XOFF  0.1
7239 #define COLON_XOFF   0.32
7240 #define COLON_WIDTH  0.05
7241 #define MIN_10_XOFF  0.34
7242 #define MIN_1_XOFF   0.54
7243 #define AM_PM_XOFF   0.78
7244 #define AM_PM_WIDTH  0.15
7245
7246 #define BASE_DESCR(XOFF)                 \
7247 description { state: "default" 0.0;             \
7248    image.normal: "clock/DM_Clock_time_0.png";   \
7249    visible: 1;                                  \
7250    rel1 {                                       \
7251       to: "whole";                              \
7252       relative: XOFF DIGIT_Y;                       \
7253       offset: 0 0;                              \
7254    }                                            \
7255    rel2 {                                       \
7256       to: "whole";                              \
7257       relative: (XOFF+DIGIT_WIDTH) (DIGIT_Y+DIGIT_HEIGHT);         \
7258       offset: -1 -1;                            \
7259    }                                            \
7260    color: 255 255 255 0;                        \
7261 }                                               \
7262 description { state: "reset" 0.0;               \
7263    inherit: "default" 0.0;                      \
7264    color: 255 255 255 255;                      \
7265 }
7266
7267 #define DIGIT_DESCR_10HOUR(IDX,NUM, X)          \
7268 description { state: "default" 0.0;             \
7269    image.normal: "clock/DM_Clock_time.png";     \
7270    visible: 0;                                  \
7271    rel1 {                                       \
7272       to: "whole";                              \
7273       relative: HOUR_10_XOFF DIGIT_Y;           \
7274       offset: 0 0;                              \
7275    }                                            \
7276    rel2 {                                       \
7277       to: "whole";                              \
7278       relative: (HOUR_10_XOFF+DIGIT_10_WIDTH) (DIGIT_Y+DIGIT_HEIGHT);         \
7279       offset: -1 -1;                            \
7280    }                                            \
7281    color: 255 255 255 0;                        \
7282 }                                               \
7283 description { state: "digit" 0.0;               \
7284    inherit: "default" 0.0;                      \
7285    visible: 0;                                  \
7286    color: 255 255 255 255;                      \
7287 }                                               \
7288 description { state: "digit" 0.1;               \
7289    inherit: "default" 0.0;                      \
7290    visible: 1;                                  \
7291    color: 255 255 255 255;                      \
7292 }
7293
7294 #define DIGIT_DESCR(IDX,NUM, X)                         \
7295 description { state: "digit" IDX;                       \
7296    inherit: "default" 0.0;                              \
7297    image.normal: "clock/DM_Clock_time_"NUM".png";       \
7298    rel1 {                                               \
7299       relative: X DIGIT_Y;                              \
7300       offset: 0 0;                                      \
7301    }                                                    \
7302    rel2 {                                               \
7303       relative: (X+DIGIT_WIDTH) (DIGIT_Y+DIGIT_HEIGHT); \
7304       offset: 0 0;                                      \
7305    }                                                    \
7306    color: 255 255 255 255;                              \
7307 }
7308 #define BASE_DESCR_AM_PM(XOFF)                  \
7309 description { state: "default" 0.0;             \
7310    image.normal: "clock/DM_Clock_time_0.png";   \
7311    visible: 1;                                  \
7312    rel1 {                                       \
7313       to: "whole";                              \
7314       relative: XOFF 0.0;                       \
7315       offset: 0 0;                              \
7316    }                                            \
7317    rel2 {                                       \
7318       to: "whole";                              \
7319       relative: (XOFF+AM_PM_WIDTH) 1.0;         \
7320       offset: -1 -1;                            \
7321    }                                            \
7322    color: 255 255 255 0;                        \
7323 }                                               \
7324 description { state: "reset" 0.0;               \
7325    inherit: "default" 0.0;                      \
7326    color: 255 255 255 255;                      \
7327 }
7328
7329 #define DIGIT_DESCR_AM_PM(IDX,NUM, X)                   \
7330 description { state: "digit" IDX;                       \
7331    inherit: "default" 0.0;                              \
7332    image.normal: "clock/DM_Clock_time_"NUM".png";       \
7333    rel1 {                                               \
7334       relative: X 0.6;                                  \
7335       offset: 0 0;                                      \
7336    }                                                    \
7337    rel2 {                                               \
7338       relative: (X+AM_PM_WIDTH) 0.9;                    \
7339       offset: 0 0;                                      \
7340    }                                                    \
7341    color: 255 255 255 255;                              \
7342 }
7343
7344 #define BASE_DESCR_WD_MD(XOFF)                  \
7345 description { state: "default" 0.0;             \
7346    visible: 1;                                  \
7347    rel1 {                                       \
7348       to: "whole";                              \
7349       relative: XOFF DAY_Y;                       \
7350       offset: 0 0;                              \
7351    }                                            \
7352    rel2 {                                       \
7353       to: "whole";                              \
7354       relative: (XOFF+0.5) (DAY_Y+0.3);                 \
7355       offset: -1 -1;                            \
7356    }                                            \
7357    color: 253 254 207 255;                      \
7358    text {                                       \
7359                text: "";                        \
7360                font: "Helvetica";               \
7361                size: 16;                        \
7362                min: 1 1;                        \
7363                align: 0.5 0.5;                  \
7364                text_class: "configure";         \
7365             }                                   \
7366 }                                               \
7367 description { state: "reset" 0.0;               \
7368    inherit: "default" 0.0;                      \
7369    color: 255 255 255 255;                      \
7370 }
7371
7372
7373 #define DIGIT_DESCR_WD_MD(IDX,DAY, X)                   \
7374 description { state: "digit" IDX;                       \
7375    inherit: "default" 0.0;                              \
7376    rel1 {                                               \
7377       relative: X DAY_Y;                                  \
7378       offset: 0 0;                                      \
7379    }                                                    \
7380    rel2 {                                               \
7381       relative: (X+0.5) (DAY_Y+DAY_HEIGHT);                     \
7382       offset: -1 -1;                                    \
7383    }                                                    \
7384    color: 253 254 207 255;                              \
7385    color2: 110 133 140 192;                                                 \
7386    color3: 0 0 0 192;                                                           \
7387    text {                                               \
7388                text: DAY;                               \
7389                font: "Helvetica";                       \
7390                size: 20;                                \
7391                min: 1 1;                                \
7392                align: 0.0 0.0;                          \
7393                text_class: "configure";                 \
7394             }                                           \
7395 }
7396
7397 #define BASE_DESCR_DAY(XOFF)                    \
7398 description { state: "default" 0.0;             \
7399    visible: 1;                                  \
7400    rel1 {                                       \
7401       to: "whole";                              \
7402       relative: XOFF DAY_Y;                       \
7403       offset: 0 0;                              \
7404    }                                            \
7405    rel2 {                                       \
7406       to: "whole";                              \
7407       relative: (XOFF+0.5) (DAY_Y+DAY_HEIGHT);          \
7408       offset: -1 -1;                            \
7409    }                                            \
7410    color: 253 254 207 255;                      \
7411     color2: 110 133 140 192;                                    \
7412     color3: 0 0 0 192;                                                  \
7413    text {                                       \
7414                text: "??";                      \
7415                font: "Helvetica";               \
7416                size: 20;                        \
7417                min: 1 1;                        \
7418                align: 0.0 0.0;                  \
7419                text_class: "configure";         \
7420             }                                   \
7421 }                                               \
7422 description { state: "reset" 0.0;               \
7423    inherit: "default" 0.0;                      \
7424    color: 255 255 255 255;                      \
7425 }
7426
7427 // This sets the digit transition type and length
7428 #define DIGITRANS SINUSOIDAL 0
7429
7430 #define CELL_TRANS(NAME,IDX,TARGET)             \
7431    program { name: NAME;                        \
7432    action: STATE_SET "digit" IDX;               \
7433    transition: DIGITRANS;                       \
7434    target: TARGET;                              \
7435 }
7436 #define HOUR_10_TRANS(NAME,IDX) CELL_TRANS(NAME,IDX,"hour_10")
7437 #define HOUR_1_TRANS(NAME,IDX) CELL_TRANS(NAME,IDX,"hour_1")
7438 #define MINUTE_10_TRANS(NAME,IDX) CELL_TRANS(NAME,IDX,"min_10")
7439 #define MINUTE_1_TRANS(NAME,IDX) CELL_TRANS(NAME,IDX,"min_1")
7440 #define WEEKDAY_TRANS(NAME,IDX) CELL_TRANS(NAME,IDX,"weekday")
7441 #define MONTH_TRANS(NAME,IDX) CELL_TRANS(NAME,IDX,"month")
7442
7443 styles
7444 {
7445    style {
7446       name: "text_style";
7447       base: "font=Helvetica font_size=50 align=left color=#000 style=shadow shadow_color=#ffffff80 wrap=word";
7448
7449       tag: "br" "\n";
7450       tag: "hilight" "+ font=Sans:style=Bold style=glow color=#fff glow2_color=#fe87 glow_color=#fa14";
7451       tag: "title" "+ font_size=12 font=Sans:style=Bold style=soft_shadow color=#fff shadow_color=#00000020";
7452       tag: "/title" "- \n \n";
7453    }
7454 }
7455
7456 group { name: "e/modules/clock/main";
7457
7458    script {
7459       public cur_hour_;
7460       public m_10_;
7461       public clock_cb(unused) {
7462          new year, month, day, yearday, weekday, hour, minute;
7463          new Float:second;
7464          new h;
7465          new m_mod, m_tmp;
7466          new pm;
7467          new text[5];
7468
7469          date(year, month, day, yearday, weekday, hour, minute, second);
7470
7471          // It is my preference not to have a second hand so the
7472          // the timer is set to go off at the top of the minute.
7473          timer(61.0 - second, "clock_cb", 1);
7474          snprintf(text, 5, "%d%d", day/10,day%10);
7475
7476          set_text(PART:"day", text);
7477          h = get_int(cur_hour_)
7478          if (hour != h) {
7479             set_int(cur_hour_, hour);
7480
7481             if (hour > 12) pm = 1;
7482             else if (hour == 12) pm = 0;
7483
7484              if(pm == 1)        run_program(PROGRAM:"pm");
7485              else if(pm == 0)   run_program(PROGRAM:"am");
7486
7487 #ifndef HOURS24
7488             if (hour > 12) hour = hour - 12;
7489             if (hour == 0) hour = 12;
7490 #endif
7491             new htmp = hour / 10;
7492             if (htmp == 0)      run_program(PROGRAM:"hour_10_0");
7493             else if (htmp == 1) run_program(PROGRAM:"hour_10_1");
7494             else if (htmp == 2) run_program(PROGRAM:"hour_10_2");
7495
7496             //
7497             htmp = hour % 10;
7498             if (htmp == 0)      run_program(PROGRAM:"hour_1_0");
7499             else if (htmp == 1) run_program(PROGRAM:"hour_1_1");
7500             else if (htmp == 2) run_program(PROGRAM:"hour_1_2");
7501             else if (htmp == 3) run_program(PROGRAM:"hour_1_3");
7502             else if (htmp == 4) run_program(PROGRAM:"hour_1_4");
7503             else if (htmp == 5) run_program(PROGRAM:"hour_1_5");
7504             else if (htmp == 6) run_program(PROGRAM:"hour_1_6");
7505             else if (htmp == 7) run_program(PROGRAM:"hour_1_7");
7506             else if (htmp == 8) run_program(PROGRAM:"hour_1_8");
7507             else if (htmp == 9) run_program(PROGRAM:"hour_1_9");
7508          }
7509
7510          m_mod = minute % 10;
7511          m_tmp = (minute - m_mod) / 10;
7512          if (m_10_ != m_tmp) {
7513             m_10_ = m_tmp;
7514             // value from 0-5
7515             if (m_10_ == 0)      run_program(PROGRAM:"min_10_0");
7516             else if (m_10_ == 1) run_program(PROGRAM:"min_10_1");
7517             else if (m_10_ == 2) run_program(PROGRAM:"min_10_2");
7518             else if (m_10_ == 3) run_program(PROGRAM:"min_10_3");
7519             else if (m_10_ == 4) run_program(PROGRAM:"min_10_4");
7520             else if (m_10_ == 5) run_program(PROGRAM:"min_10_5");
7521          }
7522          // minutes digit is 0 .. 9
7523          if (m_mod == 0)      run_program(PROGRAM:"min_1_0");
7524          else if (m_mod == 1) run_program(PROGRAM:"min_1_1");
7525          else if (m_mod == 2) run_program(PROGRAM:"min_1_2");
7526          else if (m_mod == 3) run_program(PROGRAM:"min_1_3");
7527          else if (m_mod == 4) run_program(PROGRAM:"min_1_4");
7528          else if (m_mod == 5) run_program(PROGRAM:"min_1_5");
7529          else if (m_mod == 6) run_program(PROGRAM:"min_1_6");
7530          else if (m_mod == 7) run_program(PROGRAM:"min_1_7");
7531          else if (m_mod == 8) run_program(PROGRAM:"min_1_8");
7532          else if (m_mod == 9) run_program(PROGRAM:"min_1_9");
7533
7534          if(weekday == 0)           run_program(PROGRAM:"weekday_0");
7535          else if(weekday == 1)      run_program(PROGRAM:"weekday_1");
7536          else if(weekday == 2)      run_program(PROGRAM:"weekday_2");
7537          else if(weekday == 3)      run_program(PROGRAM:"weekday_3");
7538          else if(weekday == 4)      run_program(PROGRAM:"weekday_4");
7539          else if(weekday == 5)      run_program(PROGRAM:"weekday_5");
7540          else if(weekday == 6)      run_program(PROGRAM:"weekday_6");
7541
7542          if(month == 1)           run_program(PROGRAM:"month_1");
7543          else if(month == 2)      run_program(PROGRAM:"month_2");
7544          else if(month == 3)      run_program(PROGRAM:"month_3");
7545          else if(month == 4)      run_program(PROGRAM:"month_4");
7546          else if(month == 5)      run_program(PROGRAM:"month_5");
7547          else if(month == 6)      run_program(PROGRAM:"month_6");
7548          else if(month == 7)      run_program(PROGRAM:"month_7");
7549          else if(month == 8)      run_program(PROGRAM:"month_8");
7550          else if(month == 9)      run_program(PROGRAM:"month_9");
7551          else if(month == 10)      run_program(PROGRAM:"month_10");
7552          else if(month == 11)      run_program(PROGRAM:"month_11");
7553          else if(month == 12)      run_program(PROGRAM:"month_12");
7554       }
7555    }
7556    parts {
7557       part { name: "whole";
7558          type: RECT;
7559          mouse_events: 1;
7560          description {
7561             state: "default" 0.0;
7562             color: 255 255 255 0;
7563             rel1 {
7564                relative: 0.0 0.1;
7565                offset: 0 0;
7566             }
7567             rel2 {
7568                relative: 1.0 0.9;
7569                offset: -1 -1;
7570             }
7571          }
7572       }
7573       part { name: "clipper";
7574          type: RECT;
7575          mouse_events: 0;
7576          description {
7577             rel1 {
7578                to: "whole";
7579                relative: 0.0 0.0;
7580                offset: 0 0;
7581             }
7582             rel2 {
7583                to: "whole";
7584                relative: 1.0 1.0;
7585                offset: -1 -1;
7586             }
7587          }
7588       }
7589       part { name: "hour_10";
7590          type: IMAGE;
7591          clip_to: "clipper";
7592          DIGIT_DESCR_10HOUR(0.0,0, HOUR_10_XOFF);
7593          DIGIT_DESCR_10HOUR(0.1,1, HOUR_10_XOFF);
7594          DIGIT_DESCR_10HOUR(0.2,2, HOUR_10_XOFF); /* only used in 24-hour clock */
7595       }
7596       part { name: "hour_1";
7597          type: IMAGE;
7598          clip_to: "clipper";
7599          BASE_DESCR(HOUR_1_XOFF);
7600          DIGIT_DESCR(0.0,0, HOUR_1_XOFF);
7601          DIGIT_DESCR(0.1,1, HOUR_1_XOFF);
7602          DIGIT_DESCR(0.2,2, HOUR_1_XOFF);
7603          DIGIT_DESCR(0.3,3, HOUR_1_XOFF);
7604          DIGIT_DESCR(0.4,4, HOUR_1_XOFF);
7605          DIGIT_DESCR(0.5,5, HOUR_1_XOFF);
7606          DIGIT_DESCR(0.6,6, HOUR_1_XOFF);
7607          DIGIT_DESCR(0.7,7, HOUR_1_XOFF);
7608          DIGIT_DESCR(0.8,8, HOUR_1_XOFF);
7609          DIGIT_DESCR(0.9,9, HOUR_1_XOFF);
7610       }
7611       part { name: "colon";
7612          type: IMAGE;
7613          clip_to: "clipper";
7614          description {
7615             state: "default" 0.0;
7616             image.normal: "clock/DM_Clock_time_center.png";
7617             visible: 1;
7618             rel1 {
7619                to: "whole";
7620                relative: COLON_XOFF DIGIT_Y;
7621                offset: 0 0;
7622             }
7623             rel2 {
7624                to: "whole";
7625                relative: (COLON_XOFF+COLON_WIDTH) (DIGIT_Y+DIGIT_HEIGHT);
7626                offset: 0 0;
7627             }
7628             color: 255 255 255 255;
7629          }
7630       }
7631       part { name: "min_10";
7632          type: IMAGE;
7633          clip_to: "clipper";
7634          BASE_DESCR(MIN_10_XOFF);
7635          DIGIT_DESCR(0.0,0, MIN_10_XOFF);
7636          DIGIT_DESCR(0.1,1, MIN_10_XOFF);
7637          DIGIT_DESCR(0.2,2, MIN_10_XOFF);
7638          DIGIT_DESCR(0.3,3, MIN_10_XOFF);
7639          DIGIT_DESCR(0.4,4, MIN_10_XOFF);
7640          DIGIT_DESCR(0.5,5, MIN_10_XOFF);
7641       }
7642
7643       part { name: "min_1";
7644          type: IMAGE;
7645          clip_to: "clipper";
7646          BASE_DESCR(MIN_1_XOFF);
7647          DIGIT_DESCR(0.0,0, MIN_1_XOFF);
7648          DIGIT_DESCR(0.1,1, MIN_1_XOFF);
7649          DIGIT_DESCR(0.2,2, MIN_1_XOFF);
7650          DIGIT_DESCR(0.3,3, MIN_1_XOFF);
7651          DIGIT_DESCR(0.4,4, MIN_1_XOFF);
7652          DIGIT_DESCR(0.5,5, MIN_1_XOFF);
7653          DIGIT_DESCR(0.6,6, MIN_1_XOFF);
7654          DIGIT_DESCR(0.7,7, MIN_1_XOFF);
7655          DIGIT_DESCR(0.8,8, MIN_1_XOFF);
7656          DIGIT_DESCR(0.9,9, MIN_1_XOFF);
7657       }
7658       part { name: "am_pm";
7659          type: IMAGE;
7660          clip_to: "clipper";
7661          BASE_DESCR_AM_PM(AM_PM_XOFF);
7662          DIGIT_DESCR_AM_PM(0.0,AM, AM_PM_XOFF);
7663          DIGIT_DESCR_AM_PM(0.1,PM, AM_PM_XOFF);
7664       }
7665       part { name: "weekday";
7666          type: TEXT;
7667          effect: OUTLINE_SOFT_SHADOW;
7668          BASE_DESCR_WD_MD(WEEKDAY_XOFF);
7669          DIGIT_DESCR_WD_MD(0.0,Mon., WEEKDAY_XOFF);
7670          DIGIT_DESCR_WD_MD(0.1,Tue., WEEKDAY_XOFF);
7671          DIGIT_DESCR_WD_MD(0.2,Wed., WEEKDAY_XOFF);
7672          DIGIT_DESCR_WD_MD(0.3,Tur., WEEKDAY_XOFF);
7673          DIGIT_DESCR_WD_MD(0.4,Fri., WEEKDAY_XOFF);
7674          DIGIT_DESCR_WD_MD(0.5,Sat., WEEKDAY_XOFF);
7675          DIGIT_DESCR_WD_MD(0.6,Sun., WEEKDAY_XOFF);
7676       }
7677       part { name: "day";
7678          type: TEXT;
7679          effect: OUTLINE_SOFT_SHADOW;
7680          BASE_DESCR_DAY(DAY_XOFF);
7681       }
7682
7683       part { name: "month";
7684          type: TEXT;
7685          effect: OUTLINE_SOFT_SHADOW;
7686          BASE_DESCR_WD_MD(MONTH_XOFF);
7687          DIGIT_DESCR_WD_MD(0.01,Jan, MONTH_XOFF);
7688          DIGIT_DESCR_WD_MD(0.02,Feb, MONTH_XOFF);
7689          DIGIT_DESCR_WD_MD(0.03,Mar, MONTH_XOFF);
7690          DIGIT_DESCR_WD_MD(0.04,Apr, MONTH_XOFF);
7691          DIGIT_DESCR_WD_MD(0.05,May, MONTH_XOFF);
7692          DIGIT_DESCR_WD_MD(0.06,Jun, MONTH_XOFF);
7693          DIGIT_DESCR_WD_MD(0.07,Jul, MONTH_XOFF);
7694          DIGIT_DESCR_WD_MD(0.08,Aug, MONTH_XOFF);
7695          DIGIT_DESCR_WD_MD(0.09,Sep, MONTH_XOFF);
7696          DIGIT_DESCR_WD_MD(0.10,Oct, MONTH_XOFF);
7697          DIGIT_DESCR_WD_MD(0.11,Nov, MONTH_XOFF);
7698          DIGIT_DESCR_WD_MD(0.12,Dec, MONTH_XOFF);
7699       }
7700
7701       part { name: "main";
7702          type: RECT;
7703          mouse_events: 1;
7704          description {
7705             state: "default" 0.0;
7706             rel1 {
7707                to: "whole";
7708                relative: 0.0 0.0;
7709                offset: 0 2;
7710             }
7711             rel2 {
7712                to: "whole";
7713                relative: 1.0 1.0;
7714                offset: -1 -2;
7715             }
7716             color: 255 255 255 0;
7717          }
7718       }
7719    }
7720
7721    programs {
7722       program { name: "init";
7723          signal: "load";
7724          source: "";
7725          script {
7726             set_int(cur_hour_,-1);
7727             set_int(m_10_,-1);
7728             clock_cb(0);
7729          }
7730       }
7731
7732       /* Each transition happens in a similar manner. The only quirk
7733        * is that on a transition to 0 a transition to "reset" is made
7734        * before the actual change so that rolling always goes the same
7735        * direction. (It would be simpler and still work if I didn't do
7736        * this, but it looks odd on minute transitions like 19->20
7737        * where '1' would roll one way to '2' and '9' would roll
7738        * backwards to '0'.)
7739        */
7740
7741       /* The tens of hours transitions */
7742           program { name: "am";
7743          action: STATE_SET "digit" 0.0;
7744          target: "am_pm";
7745       }
7746       program { name: "pm";
7747          action: STATE_SET "digit" 0.1;
7748          target: "am_pm";
7749       }
7750       program { name: "hour_10_0";
7751          action: STATE_SET "reset" 0.0;
7752          target: "hour_10";
7753          after: "hour_10_to_zero";
7754       }
7755       program { name: "hour_10_to_zero";
7756          action: STATE_SET "digit" 0.0;
7757          transition: DIGITRANS;
7758          target: "hour_10";
7759       }
7760       HOUR_10_TRANS("hour_10_1", 0.1);
7761       HOUR_10_TRANS("hour_10_2", 0.2); /* only used in 24-hour clock */
7762
7763       /* The hours transitions */
7764       program { name: "hour_1_0";
7765          action: STATE_SET "reset" 0.0;
7766          target: "hour_1";
7767          after: "hour_1_to_zero";
7768       }
7769       program { name: "hour_1_to_zero";
7770          action: STATE_SET "digit" 0.0;
7771          transition: DIGITRANS;
7772          target: "hour_1";
7773       }
7774       HOUR_1_TRANS("hour_1_1", 0.1);
7775       HOUR_1_TRANS("hour_1_2", 0.2);
7776       HOUR_1_TRANS("hour_1_3", 0.3);
7777       HOUR_1_TRANS("hour_1_4", 0.4);
7778       HOUR_1_TRANS("hour_1_5", 0.5);
7779       HOUR_1_TRANS("hour_1_6", 0.6);
7780       HOUR_1_TRANS("hour_1_7", 0.7);
7781       HOUR_1_TRANS("hour_1_8", 0.8);
7782       HOUR_1_TRANS("hour_1_9", 0.9);
7783
7784       /* The tens of minutes transitions */
7785       program { name: "min_10_0";
7786          action: STATE_SET "reset" 0.0;
7787          target: "min_10";
7788          after: "min_10_to_zero";
7789       }
7790       program { name: "min_10_to_zero";
7791          action: STATE_SET "digit" 0.0;
7792          transition: DIGITRANS;
7793          target: "min_10";
7794       }
7795       MINUTE_10_TRANS("min_10_1", 0.1);
7796       MINUTE_10_TRANS("min_10_2", 0.2);
7797       MINUTE_10_TRANS("min_10_3", 0.3);
7798       MINUTE_10_TRANS("min_10_4", 0.4);
7799       MINUTE_10_TRANS("min_10_5", 0.5);
7800
7801       /* The minute transitions */
7802       program { name: "min_1_0";
7803          action: STATE_SET "reset" 0.0;
7804          target: "min_1";
7805          after: "min_1_to_zero";
7806       }
7807       program { name: "min_1_to_zero";
7808          action: STATE_SET "digit" 0.0;
7809          transition: DIGITRANS;
7810          target: "min_1";
7811       }
7812       MINUTE_1_TRANS("min_1_1", 0.1);
7813       MINUTE_1_TRANS("min_1_2", 0.2);
7814       MINUTE_1_TRANS("min_1_3", 0.3);
7815       MINUTE_1_TRANS("min_1_4", 0.4);
7816       MINUTE_1_TRANS("min_1_5", 0.5);
7817       MINUTE_1_TRANS("min_1_6", 0.6);
7818       MINUTE_1_TRANS("min_1_7", 0.7);
7819       MINUTE_1_TRANS("min_1_8", 0.8);
7820       MINUTE_1_TRANS("min_1_9", 0.9);
7821
7822       WEEKDAY_TRANS("weekday_0",0.0);
7823       WEEKDAY_TRANS("weekday_1",0.1);
7824       WEEKDAY_TRANS("weekday_2",0.2);
7825       WEEKDAY_TRANS("weekday_3",0.3);
7826       WEEKDAY_TRANS("weekday_4",0.4);
7827       WEEKDAY_TRANS("weekday_5",0.5);
7828       WEEKDAY_TRANS("weekday_6",0.6);
7829
7830       MONTH_TRANS("month_1",0.01);
7831       MONTH_TRANS("month_2",0.02);
7832       MONTH_TRANS("month_3",0.03);
7833       MONTH_TRANS("month_4",0.04);
7834       MONTH_TRANS("month_5",0.05);
7835       MONTH_TRANS("month_6",0.06);
7836       MONTH_TRANS("month_7",0.07);
7837       MONTH_TRANS("month_8",0.08);
7838       MONTH_TRANS("month_9",0.09);
7839       MONTH_TRANS("month_10",0.10);
7840       MONTH_TRANS("month_11",0.11);
7841       MONTH_TRANS("month_12",0.12);
7842
7843      }
7844 }
7845 group { name: "e/modules/clock/digital";
7846
7847    script {
7848       public cur_hour_;
7849       public m_10_;
7850       public clock_cb(unused) {
7851          new year, month, day, yearday, weekday, hour, minute;
7852          new Float:second;
7853          new h;
7854          new m_mod, m_tmp;
7855          new pm;
7856          new text[5];
7857
7858          date(year, month, day, yearday, weekday, hour, minute, second);
7859
7860          // It is my preference not to have a second hand so the
7861          // the timer is set to go off at the top of the minute.
7862          timer(61.0 - second, "clock_cb", 1);
7863          snprintf(text, 5, "%d%d", day/10,day%10);
7864
7865          set_text(PART:"day", text);
7866          h = get_int(cur_hour_)
7867          if (hour != h) {
7868             set_int(cur_hour_, hour);
7869
7870             if (hour > 12) pm = 1;
7871             else if (hour == 12) pm = 0;
7872
7873              if(pm == 1)        run_program(PROGRAM:"pm");
7874              else if(pm == 0)   run_program(PROGRAM:"am");
7875
7876 #ifndef HOURS24
7877             if (hour > 12) hour = hour - 12;
7878             if (hour == 0) hour = 12;
7879 #endif
7880             new htmp = hour / 10;
7881             if (htmp == 0)      run_program(PROGRAM:"hour_10_0");
7882             else if (htmp == 1) run_program(PROGRAM:"hour_10_1");
7883             else if (htmp == 2) run_program(PROGRAM:"hour_10_2");
7884
7885             //
7886             htmp = hour % 10;
7887             if (htmp == 0)      run_program(PROGRAM:"hour_1_0");
7888             else if (htmp == 1) run_program(PROGRAM:"hour_1_1");
7889             else if (htmp == 2) run_program(PROGRAM:"hour_1_2");
7890             else if (htmp == 3) run_program(PROGRAM:"hour_1_3");
7891             else if (htmp == 4) run_program(PROGRAM:"hour_1_4");
7892             else if (htmp == 5) run_program(PROGRAM:"hour_1_5");
7893             else if (htmp == 6) run_program(PROGRAM:"hour_1_6");
7894             else if (htmp == 7) run_program(PROGRAM:"hour_1_7");
7895             else if (htmp == 8) run_program(PROGRAM:"hour_1_8");
7896             else if (htmp == 9) run_program(PROGRAM:"hour_1_9");
7897          }
7898
7899          m_mod = minute % 10;
7900          m_tmp = (minute - m_mod) / 10;
7901          if (m_10_ != m_tmp) {
7902             m_10_ = m_tmp;
7903             // value from 0-5
7904             if (m_10_ == 0)      run_program(PROGRAM:"min_10_0");
7905             else if (m_10_ == 1) run_program(PROGRAM:"min_10_1");
7906             else if (m_10_ == 2) run_program(PROGRAM:"min_10_2");
7907             else if (m_10_ == 3) run_program(PROGRAM:"min_10_3");
7908             else if (m_10_ == 4) run_program(PROGRAM:"min_10_4");
7909             else if (m_10_ == 5) run_program(PROGRAM:"min_10_5");
7910          }
7911          // minutes digit is 0 .. 9
7912          if (m_mod == 0)      run_program(PROGRAM:"min_1_0");
7913          else if (m_mod == 1) run_program(PROGRAM:"min_1_1");
7914          else if (m_mod == 2) run_program(PROGRAM:"min_1_2");
7915          else if (m_mod == 3) run_program(PROGRAM:"min_1_3");
7916          else if (m_mod == 4) run_program(PROGRAM:"min_1_4");
7917          else if (m_mod == 5) run_program(PROGRAM:"min_1_5");
7918          else if (m_mod == 6) run_program(PROGRAM:"min_1_6");
7919          else if (m_mod == 7) run_program(PROGRAM:"min_1_7");
7920          else if (m_mod == 8) run_program(PROGRAM:"min_1_8");
7921          else if (m_mod == 9) run_program(PROGRAM:"min_1_9");
7922
7923          if(weekday == 0)           run_program(PROGRAM:"weekday_0");
7924          else if(weekday == 1)      run_program(PROGRAM:"weekday_1");
7925          else if(weekday == 2)      run_program(PROGRAM:"weekday_2");
7926          else if(weekday == 3)      run_program(PROGRAM:"weekday_3");
7927          else if(weekday == 4)      run_program(PROGRAM:"weekday_4");
7928          else if(weekday == 5)      run_program(PROGRAM:"weekday_5");
7929          else if(weekday == 6)      run_program(PROGRAM:"weekday_6");
7930
7931          if(month == 1)           run_program(PROGRAM:"month_1");
7932          else if(month == 2)      run_program(PROGRAM:"month_2");
7933          else if(month == 3)      run_program(PROGRAM:"month_3");
7934          else if(month == 4)      run_program(PROGRAM:"month_4");
7935          else if(month == 5)      run_program(PROGRAM:"month_5");
7936          else if(month == 6)      run_program(PROGRAM:"month_6");
7937          else if(month == 7)      run_program(PROGRAM:"month_7");
7938          else if(month == 8)      run_program(PROGRAM:"month_8");
7939          else if(month == 9)      run_program(PROGRAM:"month_9");
7940          else if(month == 10)      run_program(PROGRAM:"month_10");
7941          else if(month == 11)      run_program(PROGRAM:"month_11");
7942          else if(month == 12)      run_program(PROGRAM:"month_12");
7943       }
7944    }
7945    parts {
7946       part { name: "whole";
7947          type: RECT;
7948          mouse_events: 1;
7949          description {
7950             state: "default" 0.0;
7951             color: 255 255 255 0;
7952             rel1 {
7953                relative: 0.0 0.1;
7954                offset: 0 0;
7955             }
7956             rel2 {
7957                relative: 1.0 0.9;
7958                offset: -1 -1;
7959             }
7960          }
7961       }
7962       part { name: "clipper";
7963          type: RECT;
7964          mouse_events: 0;
7965          description {
7966             rel1 {
7967                to: "whole";
7968                relative: 0.0 0.0;
7969                offset: 0 0;
7970             }
7971             rel2 {
7972                to: "whole";
7973                relative: 1.0 1.0;
7974                offset: -1 -1;
7975             }
7976          }
7977       }
7978       part { name: "hour_10";
7979          type: IMAGE;
7980          clip_to: "clipper";
7981          BASE_DESCR(HOUR_10_XOFF);
7982          DIGIT_DESCR(0.0,0, HOUR_10_XOFF);
7983          DIGIT_DESCR(0.1,1, HOUR_10_XOFF);
7984          DIGIT_DESCR(0.2,2, HOUR_10_XOFF); /* only used in 24-hour clock */
7985       }
7986       part { name: "hour_1";
7987          type: IMAGE;
7988          clip_to: "clipper";
7989          BASE_DESCR(HOUR_1_XOFF);
7990          DIGIT_DESCR(0.0,0, HOUR_1_XOFF);
7991          DIGIT_DESCR(0.1,1, HOUR_1_XOFF);
7992          DIGIT_DESCR(0.2,2, HOUR_1_XOFF);
7993          DIGIT_DESCR(0.3,3, HOUR_1_XOFF);
7994          DIGIT_DESCR(0.4,4, HOUR_1_XOFF);
7995          DIGIT_DESCR(0.5,5, HOUR_1_XOFF);
7996          DIGIT_DESCR(0.6,6, HOUR_1_XOFF);
7997          DIGIT_DESCR(0.7,7, HOUR_1_XOFF);
7998          DIGIT_DESCR(0.8,8, HOUR_1_XOFF);
7999          DIGIT_DESCR(0.9,9, HOUR_1_XOFF);
8000       }
8001       part { name: "colon";
8002          type: IMAGE;
8003          clip_to: "clipper";
8004          description {
8005             state: "default" 0.0;
8006             image.normal: "clock/DM_Clock_time_center.png";
8007             visible: 1;
8008             rel1 {
8009                to: "whole";
8010                relative: COLON_XOFF DIGIT_Y;
8011                offset: 0 0;
8012             }
8013             rel2 {
8014                to: "whole";
8015                relative: (COLON_XOFF+.1) 1.0;
8016                offset: 0 0;
8017             }
8018             color: 255 255 255 255;
8019          }
8020       }
8021       part { name: "min_10";
8022          type: IMAGE;
8023          clip_to: "clipper";
8024          BASE_DESCR(MIN_10_XOFF);
8025          DIGIT_DESCR(0.0,0, MIN_10_XOFF);
8026          DIGIT_DESCR(0.1,1, MIN_10_XOFF);
8027          DIGIT_DESCR(0.2,2, MIN_10_XOFF);
8028          DIGIT_DESCR(0.3,3, MIN_10_XOFF);
8029          DIGIT_DESCR(0.4,4, MIN_10_XOFF);
8030          DIGIT_DESCR(0.5,5, MIN_10_XOFF);
8031       }
8032
8033       part { name: "min_1";
8034          type: IMAGE;
8035          clip_to: "clipper";
8036          BASE_DESCR(MIN_1_XOFF);
8037          DIGIT_DESCR(0.0,0, MIN_1_XOFF);
8038          DIGIT_DESCR(0.1,1, MIN_1_XOFF);
8039          DIGIT_DESCR(0.2,2, MIN_1_XOFF);
8040          DIGIT_DESCR(0.3,3, MIN_1_XOFF);
8041          DIGIT_DESCR(0.4,4, MIN_1_XOFF);
8042          DIGIT_DESCR(0.5,5, MIN_1_XOFF);
8043          DIGIT_DESCR(0.6,6, MIN_1_XOFF);
8044          DIGIT_DESCR(0.7,7, MIN_1_XOFF);
8045          DIGIT_DESCR(0.8,8, MIN_1_XOFF);
8046          DIGIT_DESCR(0.9,9, MIN_1_XOFF);
8047       }
8048       part { name: "am_pm";
8049          type: IMAGE;
8050          clip_to: "clipper";
8051          BASE_DESCR_AM_PM(AM_PM_XOFF);
8052          DIGIT_DESCR_AM_PM(0.0,AM, AM_PM_XOFF);
8053          DIGIT_DESCR_AM_PM(0.1,PM, AM_PM_XOFF);
8054       }
8055       part { name: "weekday";
8056          type: TEXT;
8057          effect: OUTLINE_SOFT_SHADOW;
8058          BASE_DESCR_WD_MD(WEEKDAY_XOFF);
8059          DIGIT_DESCR_WD_MD(0.0,Mon., WEEKDAY_XOFF);
8060          DIGIT_DESCR_WD_MD(0.1,Tue., WEEKDAY_XOFF);
8061          DIGIT_DESCR_WD_MD(0.2,Wed., WEEKDAY_XOFF);
8062          DIGIT_DESCR_WD_MD(0.3,Tur., WEEKDAY_XOFF);
8063          DIGIT_DESCR_WD_MD(0.4,Fri., WEEKDAY_XOFF);
8064          DIGIT_DESCR_WD_MD(0.5,Sat., WEEKDAY_XOFF);
8065          DIGIT_DESCR_WD_MD(0.6,Sun., WEEKDAY_XOFF);
8066       }
8067       part { name: "day";
8068          type: TEXT;
8069          effect: OUTLINE_SOFT_SHADOW;
8070          scale: 1;
8071          BASE_DESCR_DAY(DAY_XOFF);
8072       }
8073
8074       part { name: "month";
8075          type: TEXT;
8076          effect: OUTLINE_SOFT_SHADOW;
8077          BASE_DESCR_WD_MD(MONTH_XOFF);
8078          DIGIT_DESCR_WD_MD(0.01,Jan, MONTH_XOFF);
8079          DIGIT_DESCR_WD_MD(0.02,Feb, MONTH_XOFF);
8080          DIGIT_DESCR_WD_MD(0.03,Mar, MONTH_XOFF);
8081          DIGIT_DESCR_WD_MD(0.04,Apr, MONTH_XOFF);
8082          DIGIT_DESCR_WD_MD(0.05,May, MONTH_XOFF);
8083          DIGIT_DESCR_WD_MD(0.06,Jun, MONTH_XOFF);
8084          DIGIT_DESCR_WD_MD(0.07,Jul, MONTH_XOFF);
8085          DIGIT_DESCR_WD_MD(0.08,Aug, MONTH_XOFF);
8086          DIGIT_DESCR_WD_MD(0.09,Sep, MONTH_XOFF);
8087          DIGIT_DESCR_WD_MD(0.10,Oct, MONTH_XOFF);
8088          DIGIT_DESCR_WD_MD(0.11,Nov, MONTH_XOFF);
8089          DIGIT_DESCR_WD_MD(0.12,Dec, MONTH_XOFF);
8090       }
8091
8092       part { name: "main";
8093          type: RECT;
8094          mouse_events: 1;
8095          description {
8096             state: "default" 0.0;
8097             rel1 {
8098                to: "whole";
8099                relative: 0.0 0.0;
8100                offset: 0 2;
8101             }
8102             rel2 {
8103                to: "whole";
8104                relative: 1.0 1.0;
8105                offset: -1 -2;
8106             }
8107             color: 255 255 255 0;
8108          }
8109       }
8110    }
8111
8112    programs {
8113       program { name: "init";
8114          signal: "load";
8115          source: "";
8116          script {
8117             set_int(cur_hour_,-1);
8118             set_int(m_10_,-1);
8119             clock_cb(0);
8120          }
8121       }
8122
8123       /* Each transition happens in a similar manner. The only quirk
8124        * is that on a transition to 0 a transition to "reset" is made
8125        * before the actual change so that rolling always goes the same
8126        * direction. (It would be simpler and still work if I didn't do
8127        * this, but it looks odd on minute transitions like 19->20
8128        * where '1' would roll one way to '2' and '9' would roll
8129        * backwards to '0'.)
8130        */
8131
8132       /* The tens of hours transitions */
8133           program { name: "am";
8134          action: STATE_SET "digit" 0.0;
8135          target: "am_pm";
8136       }
8137       program { name: "pm";
8138          action: STATE_SET "digit" 0.1;
8139          target: "am_pm";
8140       }
8141       program { name: "hour_10_0";
8142          action: STATE_SET "reset" 0.0;
8143          target: "hour_10";
8144          after: "hour_10_to_zero";
8145       }
8146       program { name: "hour_10_to_zero";
8147          action: STATE_SET "digit" 0.0;
8148          transition: DIGITRANS;
8149          target: "hour_10";
8150       }
8151       HOUR_10_TRANS("hour_10_1", 0.1);
8152       HOUR_10_TRANS("hour_10_2", 0.2); /* only used in 24-hour clock */
8153
8154       /* The hours transitions */
8155
8156       program { name: "hour_1_0";
8157          action: STATE_SET "reset" 0.0;
8158          target: "hour_1";
8159          after: "hour_1_to_zero";
8160       }
8161       program { name: "hour_1_to_zero";
8162          action: STATE_SET "digit" 0.0;
8163          transition: DIGITRANS;
8164          target: "hour_1";
8165       }
8166       HOUR_1_TRANS("hour_1_1", 0.1);
8167       HOUR_1_TRANS("hour_1_2", 0.2);
8168       HOUR_1_TRANS("hour_1_3", 0.3);
8169       HOUR_1_TRANS("hour_1_4", 0.4);
8170       HOUR_1_TRANS("hour_1_5", 0.5);
8171       HOUR_1_TRANS("hour_1_6", 0.6);
8172       HOUR_1_TRANS("hour_1_7", 0.7);
8173       HOUR_1_TRANS("hour_1_8", 0.8);
8174       HOUR_1_TRANS("hour_1_9", 0.9);
8175
8176       /* The tens of minutes transitions */
8177
8178       program { name: "min_10_0";
8179          action: STATE_SET "reset" 0.0;
8180          target: "min_10";
8181          after: "min_10_to_zero";
8182       }
8183       program { name: "min_10_to_zero";
8184          action: STATE_SET "digit" 0.0;
8185          transition: DIGITRANS;
8186          target: "min_10";
8187       }
8188       MINUTE_10_TRANS("min_10_1", 0.1);
8189       MINUTE_10_TRANS("min_10_2", 0.2);
8190       MINUTE_10_TRANS("min_10_3", 0.3);
8191       MINUTE_10_TRANS("min_10_4", 0.4);
8192       MINUTE_10_TRANS("min_10_5", 0.5);
8193
8194       /* The minute transitions */
8195
8196       program { name: "min_1_0";
8197          action: STATE_SET "reset" 0.0;
8198          target: "min_1";
8199          after: "min_1_to_zero";
8200       }
8201       program { name: "min_1_to_zero";
8202          action: STATE_SET "digit" 0.0;
8203          transition: DIGITRANS;
8204          target: "min_1";
8205       }
8206       /* */
8207       MINUTE_1_TRANS("min_1_1", 0.1);
8208       MINUTE_1_TRANS("min_1_2", 0.2);
8209       MINUTE_1_TRANS("min_1_3", 0.3);
8210       MINUTE_1_TRANS("min_1_4", 0.4);
8211       MINUTE_1_TRANS("min_1_5", 0.5);
8212       MINUTE_1_TRANS("min_1_6", 0.6);
8213       MINUTE_1_TRANS("min_1_7", 0.7);
8214       MINUTE_1_TRANS("min_1_8", 0.8);
8215       MINUTE_1_TRANS("min_1_9", 0.9);
8216
8217       WEEKDAY_TRANS("weekday_0",0.0);
8218       WEEKDAY_TRANS("weekday_1",0.1);
8219       WEEKDAY_TRANS("weekday_2",0.2);
8220       WEEKDAY_TRANS("weekday_3",0.3);
8221       WEEKDAY_TRANS("weekday_4",0.4);
8222       WEEKDAY_TRANS("weekday_5",0.5);
8223       WEEKDAY_TRANS("weekday_6",0.6);
8224
8225       MONTH_TRANS("month_1",0.01);
8226       MONTH_TRANS("month_2",0.02);
8227       MONTH_TRANS("month_3",0.03);
8228       MONTH_TRANS("month_4",0.04);
8229       MONTH_TRANS("month_5",0.05);
8230       MONTH_TRANS("month_6",0.06);
8231       MONTH_TRANS("month_7",0.07);
8232       MONTH_TRANS("month_8",0.08);
8233       MONTH_TRANS("month_9",0.09);
8234       MONTH_TRANS("month_10",0.10);
8235       MONTH_TRANS("month_11",0.11);
8236       MONTH_TRANS("month_12",0.12);
8237
8238      }
8239 }
8240
8241 /////////////////////////////////////////////////////////////////////////////
8242 /*** MOD: IBOX / IBAR ***/
8243
8244    group {
8245       name: "e/modules/ibox/icon";
8246       alias: "e/modules/ibar/icon";
8247       data {
8248       // This didn't seem to work ...
8249       item: "raise_on_hilight" "0"; // 1 or 0 if u want an icon holder
8250                                     // to raise when the mouse (or
8251                                     // keyboard) hilights it
8252          // item: "item_list" "item item2 item3";
8253       }
8254       images {
8255            image: "added_images/DM_Doc_ef.png" COMP;
8256            image: "added_images/DM_icon_rollover.png" COMP;
8257       }
8258       parts {
8259          part {
8260             name: "item_clip";
8261             type: RECT;
8262             mouse_events: 0;
8263             description {
8264                state: "default" 0.0;
8265                color: 255 255 255 255;
8266             }
8267          }
8268          part {
8269             name: "doc_bg";
8270             type: IMAGE;
8271             mouse_events: 0;
8272             description {
8273                state: "default" 0.0;
8274                     rel1 {
8275                        relative: 0.3 0.4;
8276                        offset: 0 0;
8277                     }
8278                     rel2 {
8279                        relative: 0.7 0.8;
8280                        offset: 0 0;
8281                     }
8282                     image.normal:"added_images/DM_Doc_ef.png";
8283                 }
8284          }
8285          part {
8286             name: "e.swallow.content";
8287             type: SWALLOW;
8288             clip_to: "item_clip";
8289             description {
8290                state: "default" 0.0;
8291             rel1 {
8292                relative: 0.3 0.4;
8293                offset: 2 2;
8294             }
8295             rel2 {
8296                relative: 0.7 0.8;
8297                offset: -2 -2;
8298             }
8299          }
8300             description {
8301                state: "smaller" 0.0;
8302                inherit: "default" 0.0;
8303                rel1 {
8304                   offset: 5 5;
8305                }
8306                rel2 {
8307                   offset: -5 -5;
8308                }
8309             }
8310          }
8311          part {
8312             name: "icon_over";
8313             type: IMAGE;
8314             mouse_events: 0;
8315             description{
8316                state: "default" 0.0;
8317                visible: 0;
8318                rel1.to: "e.swallow.content";
8319                rel2.to: "e.swallow.content";
8320                image.normal: "added_images/DM_icon_rollover.png";
8321             }
8322             description{
8323                state: "focused" 0.0;
8324                inherit: "default" 0.0;
8325                visible: 1;
8326             }
8327             description
8328             {
8329                state: "pressed" 0.0;
8330                inherit: "default" 0.0;
8331                visible: 1;
8332                rel1 {
8333                   offset: -1 -1;
8334                }
8335                rel2 {
8336                   offset: 1    1;
8337                }
8338                color: 0 0 0 204;
8339              }
8340          }
8341          part {
8342             name: "over";
8343             type: RECT;
8344             repeat_events: 0;
8345             description {
8346                state: "default" 0.0;
8347                color: 0 0 0 0;
8348             }
8349          }
8350       }
8351       programs {
8352          program {
8353             signal: "e,state,focused";
8354             source: "e";
8355             action: STATE_SET "focused" 0.0;
8356             target: "icon_over";
8357          }
8358          program{
8359             signal: "e,state,unfocused";
8360             source: "e";
8361             action: STATE_SET "default" 0.0;
8362             target: "icon_over";
8363          }
8364          program {
8365             name: "hover_normal";
8366             signal: "mouse,down,1";
8367             source: "over";
8368             action: STATE_SET "default" 0.0;
8369             target: "icon_over";
8370             after: "hover_down";
8371          }
8372          program {
8373             name: "hover_down";
8374             source: "over";
8375             action: STATE_SET "pressed" 0.0;
8376             target: "icon_over";
8377          }
8378          program {
8379             name: "hover_up";
8380             signal: "mouse,up,1";
8381             source: "over";
8382             action: STATE_SET "focused" 0.0;
8383             target: "icon_over";
8384          }
8385          program {
8386             name: "exec_start";
8387             signal: "e,action,start";
8388             source: "e";
8389             action: STATE_SET "faded" 0.0;
8390             transition: LINEAR 0.5;
8391             target: "item_clip";
8392          }
8393          program {
8394             name: "exec_exec";
8395             signal: "e,action,exec";
8396             source: "e";
8397             action: STATE_SET "faded" 0.0;
8398             transition: LINEAR 0.5;
8399             target: "item_clip";
8400             after: "exec_stop";
8401          }
8402          program {
8403             name: "exec_stop";
8404             signal: "e,action,stop";
8405             source: "e";
8406             action: STATE_SET "default" 0.0;
8407             target: "item_clip";
8408          }
8409       }
8410    }
8411    group {
8412       name: "e/modules/ibox/icon_overlay";
8413       alias: "e/modules/ibar/icon_overlay";
8414       data {
8415          // item: "item_list", "item item2 item3";
8416       }
8417       parts {
8418          part {
8419             name: "base";
8420             type: RECT;
8421             mouse_events: 0;
8422             description {
8423                state: "default" 0.0;
8424                color: 255 255 255 0;
8425             }
8426          }
8427          part {
8428             name: "background";
8429             type: RECT;
8430             mouse_events: 0;
8431             description {
8432                state: "default" 0.0;
8433                visible: 0;
8434             rel1 {
8435                to: "base";
8436             }
8437             rel2 {
8438                to: "base";
8439             }
8440                color: 255 255 255 0;
8441             }
8442             description {
8443                state: "visible" 0.0;
8444                visible: 1;
8445             rel1 {
8446                to: "base";
8447                offset: 0 -5;
8448             }
8449             rel2 {
8450                to: "base";
8451                offset: 0 -5;
8452             }
8453                color: 255 255 255 255;
8454             }
8455             description {
8456                state: "hidden" 0.0;
8457                visible: 1;
8458                rel1 {
8459                   relative: -0.3 -0.3;
8460                   offset: 0 -5;
8461                   to: "base";
8462                }
8463                rel2 {
8464                   relative: 1.3 1.3;
8465                   offset: 0 -5;
8466                   to: "base";
8467                }
8468                color: 255 255 255 0;
8469             }
8470             description {
8471                state: "huge" 0.0;
8472                visible: 1;
8473                rel1 {
8474                   relative: -2.0  -2.0;
8475                   to: "base";
8476                }
8477                rel2 {
8478                   relative: 3.0  3.0;
8479                   to: "base";
8480                }
8481                color: 255 255 255 0;
8482             }
8483          }
8484          part {
8485             name: "e.swallow.content";
8486             type: SWALLOW;
8487             clip_to: "background";
8488             description {
8489                state: "default" 0.0;
8490             rel1 {
8491                to: "background";
8492             }
8493             rel2 {
8494                to: "background";
8495             }
8496          }
8497          }
8498       // Smoke ibar text doesn't "fade away" it rolls up
8499          part {
8500             name: "text_clip";
8501             type: RECT;
8502             mouse_events: 0;
8503             description {
8504                state: "default" 0.0;
8505                rel1 {
8506                   to: "base";
8507                   offset: 0 0;
8508                }
8509                rel2 {
8510                   to: "base";
8511                   offset: 0 0;
8512                }
8513                color: 255 255 255 255;
8514             }
8515          }
8516          part {
8517             name: "e.text.label";
8518             type: TEXT;
8519             effect: SOFT_SHADOW;
8520             mouse_events: 0;
8521             clip_to: "text_clip";
8522             description {
8523                state: "default" 0.0;
8524                align: 0.5 0.5;
8525                rel1 {
8526                   relative: 0.0 0.7;
8527                   offset: 0 0;
8528                }
8529                rel2 {
8530                   relative: 1.0  1.0;
8531                   offset: 0 0;
8532                }
8533                color: 255 255 255 255;
8534                color3: 0 0 0 42;
8535                color_class: "module_label";
8536                text {
8537                   text: "";
8538                   font: "Sans";
8539                   size: 14;
8540                   min: 0 0;
8541                   align: 0.5 0.5;
8542                   elipsis: 0.0;
8543                   text_class: "module_normal";
8544                }
8545             }
8546          }
8547       }
8548       programs {
8549          program {
8550             name: "go_active";
8551             signal: "e,state,focused";
8552             source: "e";
8553             action: STATE_SET "visible" 0.0;
8554             target: "background";
8555             after: "go_active2";
8556          }
8557          program {
8558             name: "go_activeB";
8559             signal: "e,action,show,label";
8560             source: "e";
8561             action: STATE_SET "default" 0.0;
8562             target: "e.text.label";
8563             after: "go_activeB2";
8564          }
8565          program {
8566             name: "go_activeB2";
8567             signal: "";
8568             source: "";
8569             action: STATE_SET "visible" 0.0;
8570             target: "e.text.label";
8571          }
8572          program {
8573             name: "go_active2";
8574             signal: "";
8575             source: "";
8576             action: STATE_SET "hidden" 0.0;
8577             target: "background";
8578             after: "go_active";
8579          }
8580          program {
8581             name: "go_passive";
8582             signal: "e,state,unfocused";
8583             source: "e";
8584             action: ACTION_STOP;
8585             target: "go_active";
8586             target: "go_active2";
8587             after: "go_passive2";
8588          }
8589          program {
8590             name: "go_passiveB";
8591             signal: "e,action,hide,label";
8592             source: "e";
8593             action: STATE_SET "visible" 0.0;
8594             target: "e.text.label";
8595             after: "go_passiveB2";
8596          }
8597          program {
8598             name: "go_passiveB2";
8599             signal: "";
8600             source: "";
8601             action: STATE_SET "default" 0.0;
8602             target: "e.text.label";
8603          }
8604          program {
8605             name: "go_passive2";
8606             signal: "";
8607             source: "";
8608             action: STATE_SET "default" 0.0;
8609             target: "background";
8610          }
8611          program {
8612             name: "go_big";
8613             action: STATE_SET "visible" 0.0;
8614             target: "background";
8615             after: "go_big2";
8616          }
8617          program {
8618             name: "go_big2";
8619             action: STATE_SET "huge" 0.0;
8620             target: "background";
8621          }
8622          program {
8623             name: "exec_start";
8624             signal: "e,action,start";
8625             source: "e";
8626             action: ACTION_STOP;
8627             target: "go_active";
8628             target: "go_active2";
8629             target: "go_passive";
8630             target: "go_passive2";
8631             target: "go_big";
8632             target: "go_big2";
8633             after: "go_big";
8634          }
8635          program {
8636             name: "exec_exec";
8637             signal: "e,action,exec";
8638             source: "e";
8639             after: "exec_start";
8640          }
8641          program {
8642             name: "exec_stop";
8643             signal: "e,action,stop";
8644             source: "e";
8645          }
8646       }
8647    }
8648    group {
8649       name: "e/modules/ibox/drop";
8650       alias: "e/modules/ibar/drop";
8651       images.image: "inset_raised.png" COMP;
8652       parts {
8653          part {
8654             name: "bg";
8655             mouse_events: 0;
8656             description {
8657                state: "default" 0.0;
8658                image {
8659                   normal: "inset_raised.png";
8660                   border: 7 7 7 7;
8661                   middle: 0;
8662                }
8663             }
8664          }
8665       }
8666    }
8667    group {
8668       name: "e/modules/ibox/drop_overlay";
8669       alias: "e/modules/ibar/drop_overlay";
8670       images {
8671          image: "gadman_top.png" COMP;
8672          image: "gadman_bottom.png" COMP;
8673          image: "gadman_left.png" COMP;
8674          image: "gadman_right.png" COMP;
8675       }
8676       parts {
8677          part {
8678             name: "left_arrow1";
8679             description {
8680                state: "default" 0.0;
8681                aspect: 1.0 1.0;
8682                aspect_preference: VERTICAL;
8683                rel1.relative: -1.0 0.5;
8684                rel2.relative: -1.0 0.5;
8685                image.normal: "gadman_right.png";
8686             }
8687             description {
8688                state: "1" 0.0;
8689                inherit: "default" 0.0;
8690                rel1.relative: -0.8 0.2;
8691                rel2.relative: -0.7 0.8;
8692             }
8693             description {
8694                state: "2" 0.0;
8695                inherit: "default" 0.0;
8696                rel1.relative: 0.2 0.5;
8697                rel2.relative: 0.2 0.5;
8698             }
8699          }
8700          part {
8701             name: "left_arrow2";
8702             description {
8703                state: "default" 0.0;
8704                aspect: 1.0 1.0;
8705                aspect_preference: VERTICAL;
8706                rel1.relative: -1.0 0.5;
8707                rel2.relative: -1.0 0.5;
8708                image.normal: "gadman_right.png";
8709             }
8710             description {
8711                state: "1" 0.0;
8712                inherit: "default" 0.0;
8713                rel1.relative: -0.8 0.2;
8714                rel2.relative: -0.7 0.8;
8715             }
8716             description {
8717                state: "2" 0.0;
8718                inherit: "default" 0.0;
8719                rel1.relative: 0.2 0.5;
8720                rel2.relative: 0.2 0.5;
8721             }
8722          }
8723          part {
8724             name: "right_arrow1";
8725             description {
8726                state: "default" 0.0;
8727                aspect: 1.0 1.0;
8728                aspect_preference: VERTICAL;
8729                rel1.relative: 2.0 0.5;
8730                rel2.relative: 2.0 0.5;
8731                image.normal: "gadman_left.png";
8732             }
8733             description {
8734                state: "1" 0.0;
8735                inherit: "default" 0.0;
8736                rel1.relative: 1.8 0.2;
8737                rel2.relative: 1.7 0.8;
8738             }
8739             description {
8740                state: "2" 0.0;
8741                inherit: "default" 0.0;
8742                rel1.relative: 0.8 0.5;
8743                rel2.relative: 0.8 0.5;
8744             }
8745          }
8746          part {
8747             name: "right_arrow2";
8748             description {
8749                state: "default" 0.0;
8750                aspect: 1.0 1.0;
8751                aspect_preference: VERTICAL;
8752                rel1.relative: 2.0 0.5;
8753                rel2.relative: 2.0 0.5;
8754                image.normal: "gadman_left.png";
8755             }
8756             description {
8757                state: "1" 0.0;
8758                inherit: "default" 0.0;
8759                rel1.relative: 1.8 0.2;
8760                rel2.relative: 1.7 0.8;
8761             }
8762             description {
8763                state: "2" 0.0;
8764                inherit: "default" 0.0;
8765                rel1.relative: 0.8 0.5;
8766                rel2.relative: 0.8 0.5;
8767             }
8768          }
8769          part {
8770             name: "top_arrow1";
8771             description {
8772                state: "default" 0.0;
8773                aspect: 1.0 1.0;
8774                aspect_preference: HORIZONTAL;
8775                rel1.relative: 0.5 -1.0;
8776                rel2.relative: 0.5 -1.0;
8777                image.normal: "gadman_bottom.png";
8778             }
8779             description {
8780                state: "1" 0.0;
8781                inherit: "default" 0.0;
8782                rel1.relative: 0.2 -0.8;
8783                rel2.relative: 0.8 -0.7;
8784             }
8785             description {
8786                state: "2" 0.0;
8787                inherit: "default" 0.0;
8788                rel1.relative: 0.5 0.2;
8789                rel2.relative: 0.5 0.2;
8790             }
8791          }
8792          part {
8793             name: "top_arrow2";
8794             description {
8795                state: "default" 0.0;
8796                aspect: 1.0 1.0;
8797                aspect_preference: HORIZONTAL;
8798                rel1.relative: 0.5 -1.0;
8799                rel2.relative: 0.5 -1.0;
8800                image.normal: "gadman_bottom.png";
8801             }
8802             description {
8803                state: "1" 0.0;
8804                inherit: "default" 0.0;
8805                rel1.relative: 0.2 -0.8;
8806                rel2.relative: 0.8 -0.7;
8807             }
8808             description {
8809                state: "2" 0.0;
8810                inherit: "default" 0.0;
8811                rel1.relative: 0.5 0.2;
8812                rel2.relative: 0.5 0.2;
8813             }
8814          }
8815          part {
8816             name: "bottom_arrow1";
8817             description {
8818                state: "default" 0.0;
8819                aspect: 1.0 1.0;
8820                aspect_preference: HORIZONTAL;
8821                rel1.relative: 0.5 2.0;
8822                rel2.relative: 0.5 2.0;
8823                image.normal: "gadman_top.png";
8824             }
8825             description {
8826                state: "1" 0.0;
8827                inherit: "default" 0.0;
8828                rel1.relative: 0.2 1.7;
8829                rel2.relative: 0.8 1.8;
8830             }
8831             description {
8832                state: "2" 0.0;
8833                inherit: "default" 0.0;
8834                rel1.relative: 0.5 0.8;
8835                rel2.relative: 0.5 0.8;
8836             }
8837          }
8838          part {
8839             name: "bottom_arrow2";
8840             description {
8841                state: "default" 0.0;
8842                aspect: 1.0 1.0;
8843                aspect_preference: HORIZONTAL;
8844                rel1.relative: 0.5 2.0;
8845                rel2.relative: 0.5 2.0;
8846                image.normal: "gadman_top.png";
8847             }
8848             description {
8849                state: "1" 0.0;
8850                inherit: "default" 0.0;
8851                rel1.relative: 0.2 1.7;
8852                rel2.relative: 0.8 1.8;
8853             }
8854             description {
8855                state: "2" 0.0;
8856                inherit: "default" 0.0;
8857                rel1.relative: 0.5 0.8;
8858                rel2.relative: 0.5 0.8;
8859             }
8860          }
8861       }
8862       programs {
8863          program {
8864             name: "start1";
8865             signal: "show";
8866             source: "";
8867             after: "left1_1";
8868             after: "right1_1";
8869             after: "top1_1";
8870             after: "bottom1_1";
8871          }
8872          program {
8873             name: "start2";
8874             signal: "show";
8875             source: "";
8876             in: 0.4 0.0;
8877             after: "left2_1";
8878             after: "right2_1";
8879             after: "top2_1";
8880             after: "bottom2_1";
8881          }
8882          // LEFT ARROW
8883          program {
8884             name: "left1_1";
8885             action: STATE_SET "1" 0.0;
8886             target: "left_arrow1";
8887             transition: LINEAR 0.4;
8888             after: "left1_2";
8889          }
8890          program {
8891             name: "left1_2";
8892             action: STATE_SET "2" 0.0;
8893             target: "left_arrow1";
8894             transition: LINEAR 0.4;
8895             after: "left1_r";
8896          }
8897          program {
8898             name: "left1_r";
8899             action: STATE_SET "default" 0.0;
8900             target: "left_arrow1";
8901             after: "left1_1";
8902          }
8903          program {
8904             name: "left2_1";
8905             action: STATE_SET "1" 0.0;
8906             target: "left_arrow2";
8907             transition: LINEAR 0.4;
8908             after: "left2_2";
8909          }
8910          program {
8911             name: "left2_2";
8912             action: STATE_SET "2" 0.0;
8913             target: "left_arrow2";
8914             transition: LINEAR 0.4;
8915             after: "left2_r";
8916          }
8917          program {
8918             name: "left2_r";
8919             action: STATE_SET "default" 0.0;
8920             target: "left_arrow2";
8921             after: "left2_1";
8922          }
8923          // RIGHT ARROW
8924          program {
8925             name: "right1_1";
8926             action: STATE_SET "1" 0.0;
8927             target: "right_arrow1";
8928             transition: LINEAR 0.4;
8929             after: "right1_2";
8930          }
8931          program {
8932             name: "right1_2";
8933             action: STATE_SET "2" 0.0;
8934             target: "right_arrow1";
8935             transition: LINEAR 0.4;
8936             after: "right1_r";
8937          }
8938          program {
8939             name: "right1_r";
8940             action: STATE_SET "default" 0.0;
8941             target: "right_arrow1";
8942             after: "right1_1";
8943          }
8944          program {
8945             name: "right2_1";
8946             action: STATE_SET "1" 0.0;
8947             target: "right_arrow2";
8948             transition: LINEAR 0.4;
8949             after: "right2_2";
8950          }
8951          program {
8952             name: "right2_2";
8953             action: STATE_SET "2" 0.0;
8954             target: "right_arrow2";
8955             transition: LINEAR 0.4;
8956             after: "right2_r";
8957          }
8958          program {
8959             name: "right2_r";
8960             action: STATE_SET "default" 0.0;
8961             target: "right_arrow2";
8962             after: "right2_1";
8963          }
8964          // TOP ARROW
8965          program {
8966             name: "top1_1";
8967             action: STATE_SET "1" 0.0;
8968             target: "top_arrow1";
8969             transition: LINEAR 0.4;
8970             after: "top1_2";
8971          }
8972          program {
8973             name: "top1_2";
8974             action: STATE_SET "2" 0.0;
8975             target: "top_arrow1";
8976             transition: LINEAR 0.4;
8977             after: "top1_r";
8978          }
8979          program {
8980             name: "top1_r";
8981             action: STATE_SET "default" 0.0;
8982             target: "top_arrow1";
8983             after: "top1_1";
8984          }
8985          program {
8986             name: "top2_1";
8987             action: STATE_SET "1" 0.0;
8988             target: "top_arrow2";
8989             transition: LINEAR 0.4;
8990             after: "top2_2";
8991          }
8992          program {
8993             name: "top2_2";
8994             action: STATE_SET "2" 0.0;
8995             target: "top_arrow2";
8996             transition: LINEAR 0.4;
8997             after: "top2_r";
8998          }
8999          program {
9000             name: "top2_r";
9001             action: STATE_SET "default" 0.0;
9002             target: "top_arrow2";
9003             after: "top2_1";
9004          }
9005          // BOTTOM ARROW
9006          program {
9007             name: "bottom1_1";
9008             action: STATE_SET "1" 0.0;
9009             target: "bottom_arrow1";
9010             transition: LINEAR 0.4;
9011             after: "bottom1_2";
9012          }
9013          program {
9014             name: "bottom1_2";
9015             action: STATE_SET "2" 0.0;
9016             target: "bottom_arrow1";
9017             transition: LINEAR 0.4;
9018             after: "bottom1_r";
9019          }
9020          program {
9021             name: "bottom1_r";
9022             action: STATE_SET "default" 0.0;
9023             target: "bottom_arrow1";
9024             after: "bottom1_1";
9025          }
9026          program {
9027             name: "bottom2_1";
9028             action: STATE_SET "1" 0.0;
9029             target: "bottom_arrow2";
9030             transition: LINEAR 0.4;
9031             after: "bottom2_2";
9032          }
9033          program {
9034             name: "bottom2_2";
9035             action: STATE_SET "2" 0.0;
9036             target: "bottom_arrow2";
9037             transition: LINEAR 0.4;
9038             after: "bottom2_r";
9039          }
9040          program {
9041             name: "bottom2_r";
9042             action: STATE_SET "default" 0.0;
9043             target: "bottom_arrow2";
9044             after: "bottom2_1";
9045          }
9046       }
9047    }
9048
9049 /////////////////////////////////////////////////////////////////////////////
9050 /*** DIALOG ***/
9051 /* Used in all dialogs eg; Wallpaper selector */
9052
9053    group {
9054       name: "e/widgets/dialog/main";
9055       images {
9056          image: "dia_grad.png" COMP;
9057          image: "dia_topshad.png" COMP;
9058          image: "dia_botshad.png" COMP;
9059          image: "menu_sep.png" COMP;
9060       }
9061       parts {
9062          part {
9063             name: "base";
9064             mouse_events: 0;
9065             description {
9066                state: "default" 0.0;
9067                color_class: "dialog_base";
9068                image.normal: "dia_grad.png";
9069                fill {
9070                   smooth: 0;
9071                   size {
9072                      relative: 0.0 1.0;
9073                      offset: 64 0;
9074                   }
9075                }
9076             }
9077          }
9078          part {
9079             name: "shadow";
9080             mouse_events: 0;
9081             description {
9082                state: "default" 0.0;
9083                rel2.relative: 1.0 0.0;
9084                rel2.offset: -1 31;
9085                image.normal: "dia_topshad.png";
9086                fill {
9087                   smooth: 0;
9088                   size {
9089                      relative: 0.0 1.0;
9090                      offset: 64 0;
9091                   }
9092                }
9093             }
9094          }
9095          part {
9096             name: "shadow2";
9097             mouse_events: 0;
9098             description {
9099                state: "default" 0.0;
9100                rel1.relative: 0.0 1.0;
9101                rel1.offset: 0 -4;
9102                image.normal: "dia_botshad.png";
9103                fill {
9104                   smooth: 0;
9105                   size {
9106                      relative: 0.0 1.0;
9107                      offset: 64 0;
9108                   }
9109                }
9110             }
9111          }
9112          part {
9113             name: "e.swallow.icon";
9114             type: SWALLOW;
9115             description {
9116                state: "default" 0.0;
9117                align: 0.0 0.5;
9118                fixed: 1 0;
9119                rel1 {
9120                   relative: 0.0 0.0;
9121                   offset: 2  2;
9122                }
9123                rel2 {
9124                   relative: 0.0 0.0;
9125                   offset: 2  -5;
9126                   to_y: "e.swallow.buttons";
9127                }
9128             }
9129          }
9130          part {
9131             name: "e.swallow.content";
9132             type: SWALLOW;
9133             description {
9134                state: "default" 0.0;
9135                rel1 {
9136                   relative: 1.0 0.0;
9137                   offset: 2   2;
9138                   to_x: "e.swallow.icon";
9139                }
9140                rel2 {
9141                   relative: 1.0 0.0;
9142                   offset: -3  -5;
9143                   to_y: "e.swallow.buttons";
9144                }
9145             }
9146          }
9147          part {
9148             name: "separator";
9149             mouse_events: 0;
9150             description {
9151                state: "default" 0.0;
9152                min: 16 2;
9153                rel1 {
9154                   relative: 0.0  1.0;
9155                   offset: 4    -1;
9156                   to_y: "e.swallow.content";
9157                }
9158                rel2 {
9159                   relative: 1.0  1.0;
9160                   offset: -5   0;
9161                   to_y: "e.swallow.content";
9162                }
9163                image {
9164                   normal: "menu_sep.png";
9165                   border: 2 2 0 0;
9166                }
9167                fill.smooth: 0;
9168             }
9169          }
9170          part {
9171             name: "e.swallow.buttons";
9172             type: SWALLOW;
9173             description {
9174                state: "default" 0.0;
9175                align: 0.5 1.0;
9176                fixed: 0 1;
9177                rel1 {
9178                   relative: 0.0 1.0;
9179                   offset: 4   -5;
9180                }
9181                rel2 {
9182                   relative: 1.0 1.0;
9183                   offset: -5  -5;
9184                }
9185             }
9186          }
9187       }
9188    }
9189    group {
9190       name: "e/widgets/dialog/text";
9191       styles {
9192          style {
9193             name: "dialog_style";
9194             base: "font=Sans font_size=10 text_class=tb_plain align=center color=#000 style=shadow shadow_color=#ffffff80 wrap=word";
9195             tag: "br" "\n";
9196             tag: "hilight" "+ font=Sans:style=Bold text_class=tb_light";
9197          }
9198       }
9199       parts {
9200          part {
9201             name: "e.textblock.message";
9202             type: TEXTBLOCK;
9203             mouse_events: 0;
9204             scale: 1;
9205             description {
9206                state: "default" 0.0;
9207                rel1.offset: 4 4;
9208                rel2.offset: -5 -5;
9209                text {
9210                   style: "dialog_style";
9211                   min: 1 1;
9212                }
9213             }
9214          }
9215       }
9216    }
9217
9218
9219 /////////////////////////////////////////////////////////////////////////////
9220 /*** CONFIGURATION PANEL ***/
9221
9222    group {
9223       name: "e/widgets/configure/main";
9224       images {
9225          image: "dia_grad.png" COMP;
9226          image: "dia_topshad.png" COMP;
9227          image: "dia_botshad.png" COMP;
9228          image: "menu_sep.png" COMP;
9229       }
9230       parts {
9231          part {
9232             name: "base";
9233             mouse_events: 0;
9234             description {
9235                state: "default" 0.0;
9236                color_class: "dialog_base";
9237                image.normal: "dia_grad.png";
9238                fill {
9239                   smooth: 0;
9240                   size {
9241                      relative: 0.0 1.0;
9242                      offset: 64 0;
9243                   }
9244                }
9245             }
9246          }
9247          part {
9248             name: "shadow";
9249             mouse_events: 0;
9250             description {
9251                state: "default" 0.0;
9252                rel2.relative: 1.0 0.0;
9253                rel2.offset: -1 31;
9254                image.normal: "dia_topshad.png";
9255                fill {
9256                   smooth: 0;
9257                   size {
9258                      relative: 0.0 1.0;
9259                      offset: 64 0;
9260                   }
9261                }
9262             }
9263          }
9264          part {
9265             name: "shadow2";
9266             mouse_events: 0;
9267             description {
9268                state: "default" 0.0;
9269                rel1.relative: 0.0 1.0;
9270                rel1.offset: 0 -4;
9271                image.normal: "dia_botshad.png";
9272                fill {
9273                   smooth: 0;
9274                   size {
9275                      relative: 0.0 1.0;
9276                      offset: 64 0;
9277                   }
9278                }
9279             }
9280          }
9281          part {
9282             name: "separator";
9283             mouse_events: 0;
9284             description {
9285                state: "default" 0.0;
9286                min: 16 2;
9287                rel1 {
9288                   relative: 0.0  1.0;
9289                   offset: 4    -1;
9290                   to_y: "e.swallow.content";
9291                }
9292                rel2 {
9293                   relative: 1.0  1.0;
9294                   offset: -5   0;
9295                   to_y: "e.swallow.content";
9296                }
9297                image {
9298                   normal: "menu_sep.png";
9299                   border: 2 2 0 0;
9300                }
9301                fill.smooth: 0;
9302             }
9303          }
9304          part {
9305             name: "e.swallow.content";
9306             type: SWALLOW;
9307             description {
9308                state: "default" 0.0;
9309                align: 0.5 0.5;
9310                min: 100 200;
9311                rel1.offset: 2 2;
9312                rel2 {
9313                   relative: 1.0 0.0;
9314                   offset: -3 -5;
9315                   to_y: "e.swallow.button";
9316                }
9317             }
9318          }
9319          part {
9320             name: "e.swallow.button";
9321             type: SWALLOW;
9322             description {
9323                state: "default" 0.0;
9324                align: 0.5 1.0;
9325                fixed: 1 1;
9326                rel1.relative: 0.5 1.0;
9327                rel2.relative: 0.5 1.0;
9328             }
9329          }
9330       }
9331    }
9332
9333
9334 /////////////////////////////////////////////////////////////////////////////
9335 /*** MOVE/RESIZE BOX ***/
9336
9337    group {
9338       name: "e/widgets/border/default/move";
9339       images {
9340          image: "base_bg.png" COMP;
9341          image: "icon_win_move.png" COMP;
9342       }
9343       parts {
9344          part {
9345             name: "base";
9346             mouse_events: 0;
9347             description {
9348                state: "default" 0.0;
9349                image {
9350                   normal: "base_bg.png";
9351                   border: 2 2 2 2;
9352                }
9353                fill.smooth: 0;
9354             }
9355          }
9356          part {
9357             name: "icon";
9358             mouse_events: 0;
9359             description {
9360                state: "default" 0.0;
9361                align: 0.0 0.5;
9362                min: 21 21;
9363                max: 21 21;
9364                fixed: 1 1;
9365                rel1.offset: 2 2;
9366                rel2.relative: 0.0 1.0;
9367                rel2.offset: 2 -3;
9368                image.normal: "icon_win_move.png";
9369             }
9370          }
9371          part {
9372             name: "e.text.label";
9373             type: TEXT;
9374             scale: 1;
9375             description {
9376                state: "default" 0.0;
9377                rel1.to_x: "icon";
9378                rel1.offset: 2 4;
9379                rel1.relative: 1.0 0.0;
9380                rel2.offset: -5 -5;
9381                color_class: "move_text";
9382                text {
9383                   text: "X Y";
9384                   font: "Sans";
9385                   size: 10;
9386                   align: 0.5 0.5;
9387                   min: 1 1;
9388                   text_class: "move_text";
9389                }
9390             }
9391          }
9392       }
9393    }
9394    group {
9395       name: "e/widgets/border/default/resize";
9396       images {
9397          image: "base_bg.png" COMP;
9398          image: "icon_win_resize.png" COMP;
9399       }
9400       parts {
9401          part {
9402             name: "base";
9403             mouse_events: 0;
9404             description {
9405                state: "default" 0.0;
9406                align: 0.5 0.0;
9407                image {
9408                   normal: "base_bg.png";
9409                   border: 2 2 2 2;
9410                }
9411                fill.smooth: 0;
9412             }
9413          }
9414          part {
9415             name: "icon";
9416             mouse_events: 0;
9417             description {
9418                state: "default" 0.0;
9419                align: 0.0 0.5;
9420                min: 21 21;
9421                max: 21 21;
9422                fixed: 1 1;
9423                rel1.offset: 2 2;
9424                rel2.relative: 0.0 1.0;
9425                rel2.offset: 2 -3;
9426                image.normal: "icon_win_resize.png";
9427             }
9428          }
9429          part {
9430             name: "e.text.label";
9431             type: TEXT;
9432             scale: 1;
9433             description {
9434                state: "default" 0.0;
9435                rel1.to_x: "icon";
9436                rel1.offset: 2 4;
9437                rel1.relative: 1.0 0.0;
9438                rel2.offset: -5 -5;
9439                color_class: "resize_text";
9440                text {
9441                   text: "WxH";
9442                   font: "Sans";
9443                   size: 10;
9444                   align: 0.5 0.5;
9445                   min: 1 1;
9446                   text_class: "resize_text";
9447                }
9448             }
9449          }
9450       }
9451    }
9452
9453
9454 /////////////////////////////////////////////////////////////////////////////
9455 /*** WIDGETS ***/
9456
9457    group {
9458       name: "e/widgets/check";
9459       images {
9460          image: "check_base.png" COMP;
9461          image: "check_on.png" COMP;
9462          image: "check_sel.png" COMP;
9463       }
9464       parts {
9465          part {
9466             name: "base";
9467             mouse_events: 0;
9468             scale: 1;
9469             description {
9470                state: "default" 0.0;
9471                min: 16 16;
9472                max: 16 16;
9473                align: 0.0 0.5;
9474                fixed: 1 1;
9475                rel1 {
9476                   relative: 0.0  0.0;
9477                   offset: 2    2;
9478                }
9479                rel2 {
9480                   relative: 0.0  1.0;
9481                   offset: 2   -3;
9482                }
9483                image.normal: "check_base.png";
9484             }
9485          }
9486          part {
9487             name: "mark";
9488             mouse_events: 0;
9489             clip_to: "mark_hold";
9490             description {
9491                state: "default" 0.0;
9492                rel1.to: "mark_hold";
9493                rel2.to: "mark_hold";
9494                image.normal: "check_on.png";
9495             }
9496             description {
9497                state: "selected" 0.0;
9498                inherit: "default" 0.0;
9499                image.normal: "check_sel.png";
9500             }
9501             description {
9502                state: "disabled" 0.0;
9503                inherit: "default" 0.0;
9504                color: 255 255 255 128;
9505             }
9506          }
9507          part {
9508             name: "mark_hold";
9509             type: RECT;
9510             mouse_events: 0;
9511             description {
9512                state: "default" 0.0;
9513                visible: 0;
9514                color: 255 255 255 0;
9515                rel1 {
9516                   to: "base";
9517                   offset: -5 -5;
9518                }
9519                rel2 {
9520                   to: "base";
9521                   offset: 4 4;
9522                }
9523             }
9524             description {
9525                state: "on" 0.0;
9526                inherit: "default" 0.0;
9527                visible: 1;
9528                color: 255 255 255 255;
9529                rel1.offset: 0 0;
9530                rel2.offset: -1 -1;
9531             }
9532          }
9533          part {
9534             name: "e.text.label";
9535             type: TEXT;
9536             mouse_events: 0;
9537             scale: 1;
9538             description {
9539                state: "default" 0.0;
9540                min: 16 16;
9541                rel1 {
9542                   to_x: "base";
9543                   relative: 1.0  0.0;
9544                   offset: 2 2;
9545                }
9546                rel2 {
9547                   relative: 1.0  1.0;
9548                   offset: -2 -2;
9549                }
9550                color_class: "check_text";
9551                text {
9552                   font: "Sans";
9553                   size: 10;
9554                   min: 1 1;
9555                   align: 0.0 0.5;
9556                   text_class: "check_button";
9557                }
9558             }
9559             description {
9560                state: "disabled" 0.0;
9561                inherit: "default" 0.0;
9562                color_class: "check_text_disabled";
9563             }
9564          }
9565          part {
9566             name: "event";
9567             type: RECT;
9568             ignore_flags: ON_HOLD;
9569             description {
9570                state: "default" 0.0;
9571                color: 0 0 0 0;
9572             }
9573             description {
9574                state: "disabled" 0.0;
9575                inherit: "default" 0.0;
9576                visible: 0;
9577             }
9578          }
9579       }
9580       programs {
9581          program {
9582             name: "on";
9583             /* if the checkmark is to be displayed */
9584             signal: "e,state,checked";
9585             source: "e";
9586             action: STATE_SET "on" 0.0;
9587             transition: LINEAR 0.15;
9588             target: "mark_hold";
9589          }
9590          program {
9591             name: "off";
9592             /* check mark is not to be displayed */
9593             signal: "e,state,unchecked";
9594             source: "e";
9595             action: STATE_SET "default" 0.0;
9596             transition: LINEAR 0.2;
9597             target: "mark_hold";
9598          }
9599          program {
9600             name: "click";
9601             signal: "mouse,up,1";
9602             source: "event";
9603             action: SIGNAL_EMIT "e,action,toggle" "";
9604          }
9605          program {
9606             name: "disable";
9607             signal: "e,state,disabled";
9608             source: "e";
9609             action: STATE_SET "disabled" 0.0;
9610             target: "mark";
9611             target: "event";
9612             target: "e.text.label";
9613          }
9614          program {
9615             name: "enable";
9616             signal: "e,state,enabled";
9617             source: "e";
9618             action: STATE_SET "default" 0.0;
9619             target: "mark";
9620             target: "event";
9621             target: "e.text.label";
9622          }
9623       }
9624    }
9625    group {
9626       name: "e/widgets/check_icon";
9627       images {
9628          image: "check_base.png" COMP;
9629          image: "check_on.png" COMP;
9630          image: "check_sel.png" COMP;
9631       }
9632       parts {
9633          part {
9634             name: "base";
9635             mouse_events: 0;
9636             scale: 1;
9637             description {
9638                state: "default" 0.0;
9639                min: 16 16;
9640                max: 16 16;
9641                align: 0.0 0.5;
9642                fixed: 1 1;
9643                rel1 {
9644                   relative: 0.0  0.0;
9645                   offset: 2    2;
9646                }
9647                rel2 {
9648                   relative: 0.0  1.0;
9649                   offset: 2   -3;
9650                }
9651                image.normal: "check_base.png";
9652             }
9653          }
9654          part {
9655             name: "mark";
9656             mouse_events: 0;
9657             clip_to: "mark_hold";
9658             description {
9659                state: "default" 0.0;
9660                rel1.to: "mark_hold";
9661                rel2.to: "mark_hold";
9662                image.normal: "check_on.png";
9663             }
9664             description {
9665                state: "selected" 0.0;
9666                inherit: "default" 0.0;
9667                image.normal: "check_sel.png";
9668             }
9669             description {
9670                state: "disabled" 0.0;
9671                inherit: "default" 0.0;
9672                color: 255 255 255 128;
9673             }
9674          }
9675          part {
9676             name: "mark_hold";
9677             type: RECT;
9678             mouse_events: 0;
9679             description {
9680                state: "default" 0.0;
9681                visible: 0;
9682                color: 255 255 255 0;
9683                rel1 {
9684                   to: "base";
9685                   offset: -5 -5;
9686                }
9687                rel2 {
9688                   to: "base";
9689                   offset: 4 4;
9690                }
9691             }
9692             description {
9693                state: "on" 0.0;
9694                inherit: "default" 0.0;
9695                visible: 1;
9696                color: 255 255 255 255;
9697                rel1.offset: 0 0;
9698                rel2.offset: -1 -1;
9699             }
9700          }
9701          part {
9702             name: "e.swallow.icon";
9703             type: SWALLOW;
9704             clip_to: "icon_clip";
9705             description {
9706                state: "default" 0.0;
9707                min: 16 16;
9708                rel1 {
9709                   to_x: "base";
9710                   relative: 1.0  0.0;
9711                   offset: 2 2;
9712                }
9713                rel2 {
9714                   relative: 1.0  1.0;
9715                   offset: -2 -2;
9716                }
9717             }
9718             description {
9719                state: "label_visible" 0.0;
9720                inherit: "default" 0.0;
9721                min: 16 16;
9722                rel2 {
9723                   to_y: "base";
9724                   relative: 1.0  0.0;
9725                   offset: -2 -2;
9726                }
9727             }
9728          }
9729          part {
9730             name: "icon_clip";
9731             type: RECT;
9732             mouse_events: 0;
9733             description {
9734                state: "default" 0.0;
9735                color: 255 255 255 255;
9736             }
9737          }
9738          part {
9739             name: "label_clip";
9740             type: RECT;
9741             mouse_events: 0;
9742             description {
9743                state: "default" 0.0;
9744                visible: 0;
9745             }
9746             description {
9747                state: "label_visible" 0.0;
9748                visible: 1;
9749             }
9750          }
9751          part {
9752             name: "e.text.label";
9753             type: TEXT;
9754             mouse_events: 0;
9755             scale: 1;
9756             clip_to: "label_clip";
9757             description {
9758                state: "default" 0.0;
9759                min: 16 16;
9760                rel1 {
9761                   to_x: "base";
9762                   relative: 1.0  0.0;
9763                   offset: 2 2;
9764                }
9765                rel2 {
9766                   relative: 1.0  1.0;
9767                   offset: -2 -2;
9768                }
9769                color_class: "check_text";
9770                text {
9771                   font: "Sans";
9772                   size: 10;
9773                   min: 1 1;
9774                   align: 0.5 0.5;
9775                   text_class: "check_button";
9776                }
9777             }
9778             description {
9779                state: "disabled" 0.0;
9780                inherit: "default" 0.0;
9781                color_class: "check_text_disabled";
9782             }
9783          }
9784          part {
9785             name: "event";
9786             type: RECT;
9787             ignore_flags: ON_HOLD;
9788             description {
9789                state: "default" 0.0;
9790                color: 0 0 0 0;
9791             }
9792             description {
9793                state: "disabled" 0.0;
9794                inherit: "default" 0.0;
9795                visible: 0;
9796             }
9797          }
9798       }
9799       programs {
9800          program {
9801             name: "on";
9802             /* if the checkmark is to be displayed */
9803             signal: "e,state,checked";
9804             source: "e";
9805             action: STATE_SET "on" 0.0;
9806             transition: LINEAR 0.15;
9807             target: "mark_hold";
9808          }
9809          program {
9810             name: "off";
9811             /* check mark is not to be displayed */
9812             signal: "e,state,unchecked";
9813             source: "e";
9814             action: STATE_SET "default" 0.0;
9815             transition: LINEAR 0.2;
9816             target: "mark_hold";
9817          }
9818          program {
9819             name: "click";
9820             signal: "mouse,up,1";
9821             source: "event";
9822             action: SIGNAL_EMIT "e,action,toggle" "";
9823          }
9824          program {
9825             name: "label_on";
9826             signal: "e,state,labeled";
9827             source: "e";
9828             action: STATE_SET "label_visible" 0.0;
9829             target: "e.swallow.icon";
9830             target: "label_clip";
9831          }
9832          program {
9833             name: "disable";
9834             signal: "e,state,disabled";
9835             source: "e";
9836             action: STATE_SET "disabled" 0.0;
9837             target: "mark";
9838             target: "event";
9839             target: "e.text.label";
9840          }
9841          program {
9842             name: "enable";
9843             signal: "e,state,enabled";
9844             source: "e";
9845             action: STATE_SET "default" 0.0;
9846             target: "mark";
9847             target: "event";
9848             target: "e.text.label";
9849          }
9850       }
9851    }
9852    /* for a radio menu item - same as check, but only one of a group of radio
9853     * menu item can be selected at any one time */
9854    group {
9855       name: "e/widgets/radio";
9856       images {
9857          image: "radio_base.png" COMP;
9858          image: "radio_on.png" COMP;
9859          image: "radio_sel.png" COMP;
9860       }
9861       parts {
9862          part {
9863             name: "base";
9864             mouse_events: 0;
9865             scale: 1;
9866             description {
9867                state: "default" 0.0;
9868                min: 16 16;
9869                max: 16 16;
9870                align: 0.0 0.5;
9871                fixed: 1 1;
9872                rel1 {
9873                   relative: 0.0  0.0;
9874                   offset: 2    2;
9875                }
9876                rel2 {
9877                   relative: 0.0  1.0;
9878                   offset: 2   -3;
9879                }
9880                image.normal: "radio_base.png";
9881             }
9882          }
9883          part {
9884             name: "mark";
9885             mouse_events: 0;
9886             clip_to: "mark_hold";
9887             description {
9888                state: "default" 0.0;
9889                rel1.to: "mark_hold";
9890                rel2.to: "mark_hold";
9891                image.normal: "radio_on.png";
9892             }
9893             description {
9894                state: "selected" 0.0;
9895                inherit: "default" 0.0;
9896                image.normal: "radio_sel.png";
9897             }
9898             description {
9899                state: "disabled" 0.0;
9900                inherit: "default" 0.0;
9901                color: 255 255 255 128;
9902             }
9903          }
9904          part {
9905             name: "mark_hold";
9906             type: RECT;
9907             mouse_events: 0;
9908             description {
9909                state: "default" 0.0;
9910                visible: 0;
9911                color: 255 255 255 0;
9912                rel1 {
9913                   to: "base";
9914                   offset: -5 -5;
9915                }
9916                rel2 {
9917                   to: "base";
9918                   offset: 4 4;
9919                }
9920             }
9921             description {
9922                state: "on" 0.0;
9923                inherit: "default" 0.0;
9924                visible: 1;
9925                color: 255 255 255 255;
9926                rel1.offset: 0 0;
9927                rel2.offset: -1 -1;
9928             }
9929          }
9930          part {
9931             name: "e.text.label";
9932             type: TEXT;
9933             mouse_events: 0;
9934             scale: 1;
9935             description {
9936                state: "default" 0.0;
9937                min: 16 16;
9938                rel1 {
9939                   to_x: "base";
9940                   relative: 1.0  0.0;
9941                   offset: 2 2;
9942                }
9943                rel2 {
9944                   relative: 1.0  1.0;
9945                   offset: -2 -2;
9946                }
9947                color_class: "radio_text";
9948                text {
9949                   font: "Sans";
9950                   size: 10;
9951                   min: 1 1;
9952                   align: 0.0 0.5;
9953                   text_class: "radio_button";
9954                }
9955             }
9956             description {
9957                state: "disabled" 0.0;
9958                inherit: "default" 0.0;
9959                color_class: "radio_text_disabled";
9960             }
9961          }
9962          part {
9963             name: "event";
9964             type: RECT;
9965             ignore_flags: ON_HOLD;
9966             description {
9967                state: "default" 0.0;
9968                color: 0 0 0 0;
9969             }
9970             description {
9971                state: "disabled" 0.0;
9972                inherit: "default" 0.0;
9973                visible: 0;
9974             }
9975          }
9976       }
9977       programs {
9978          program {
9979             name: "on";
9980             /* if the checkmark is to be displayed */
9981             signal: "e,state,on";
9982             source: "e";
9983             action: STATE_SET "on" 0.0;
9984             transition: LINEAR 0.15;
9985             target: "mark_hold";
9986          }
9987          program {
9988             name: "off";
9989             /* check mark is not to be displayed */
9990             signal: "e,state,off";
9991             source: "e";
9992             action: STATE_SET "default" 0.0;
9993             transition: LINEAR 0.2;
9994             target: "mark_hold";
9995          }
9996          program {
9997             name: "click";
9998             signal: "mouse,up,1";
9999             source: "event";
10000             action: SIGNAL_EMIT "e,action,toggle" "";
10001          }
10002          program {
10003             name: "disable";
10004             signal: "e,state,disabled";
10005             source: "e";
10006             action: STATE_SET "disabled" 0.0;
10007             target: "mark";
10008             target: "event";
10009             target: "e.text.label";
10010          }
10011          program {
10012             name: "enable";
10013             signal: "e,state,enabled";
10014             source: "e";
10015             action: STATE_SET "default" 0.0;
10016             target: "mark";
10017             target: "event";
10018             target: "e.text.label";
10019          }
10020       }
10021    }
10022    group {
10023       name: "e/widgets/radio_icon";
10024       images {
10025          image: "radio_base.png" COMP;
10026          image: "radio_on.png" COMP;
10027          image: "radio_sel.png" COMP;
10028       }
10029       parts {
10030          part {
10031             name: "base";
10032             mouse_events: 0;
10033             scale: 1;
10034             description {
10035                state: "default" 0.0;
10036                min: 16 16;
10037                max: 16 16;
10038                align: 0.0 0.5;
10039                fixed: 1 1;
10040                rel1 {
10041                   relative: 0.0  0.0;
10042                   offset: 2    2;
10043                }
10044                rel2 {
10045                   relative: 0.0  1.0;
10046                   offset: 2   -3;
10047                }
10048                image.normal: "radio_base.png";
10049             }
10050          }
10051          part {
10052             name: "mark";
10053             mouse_events: 0;
10054             clip_to: "mark_hold";
10055             description {
10056                state: "default" 0.0;
10057                rel1.to: "mark_hold";
10058                rel2.to: "mark_hold";
10059                image.normal: "radio_on.png";
10060             }
10061             description {
10062                state: "selected" 0.0;
10063                inherit: "default" 0.0;
10064                image.normal: "radio_sel.png";
10065             }
10066             description {
10067                state: "disabled" 0.0;
10068                inherit: "default" 0.0;
10069                color: 255 255 255 128;
10070             }
10071          }
10072          part {
10073             name: "mark_hold";
10074             type: RECT;
10075             mouse_events: 0;
10076             description {
10077                state: "default" 0.0;
10078                visible: 0;
10079                color: 255 255 255 0;
10080                rel1 {
10081                   to: "base";
10082                   offset: -5 -5;
10083                }
10084                rel2 {
10085                   to: "base";
10086                   offset: 4 4;
10087                }
10088             }
10089             description {
10090                state: "on" 0.0;
10091                inherit: "default" 0.0;
10092                visible: 1;
10093                color: 255 255 255 255;
10094                rel1.offset: 0 0;
10095                rel2.offset: -1 -1;
10096             }
10097          }
10098          part {
10099             name: "e.swallow.icon";
10100             type: SWALLOW;
10101             clip_to: "icon_clip";
10102             description {
10103                state: "default" 0.0;
10104                min: 16 16;
10105                rel1 {
10106                   to_x: "base";
10107                   relative: 1.0  0.0;
10108                   offset: 2 2;
10109                }
10110                rel2 {
10111                   relative: 1.0  1.0;
10112                   offset: -2 -2;
10113                }
10114             }
10115             description {
10116                state: "label_visible" 0.0;
10117                inherit: "default" 0.0;
10118                min: 16 16;
10119                rel2 {
10120                   to_y: "e.text.label";
10121                   relative: 1.0  0.0;
10122                   offset: -2 -2;
10123                }
10124             }
10125          }
10126          part {
10127             name: "icon_clip";
10128             type: RECT;
10129             mouse_events: 0;
10130             description {
10131                state: "default" 0.0;
10132                color: 255 255 255 255;
10133             }
10134          }
10135          part {
10136             name: "label_clip";
10137             type: RECT;
10138             mouse_events: 0;
10139             description {
10140                state: "default" 0.0;
10141                visible: 0;
10142             }
10143             description {
10144                state: "label_visible" 0.0;
10145                visible: 1;
10146             }
10147          }
10148          part {
10149             name: "e.text.label";
10150             type: TEXT;
10151             mouse_events: 0;
10152             scale: 1;
10153             clip_to: "label_clip";
10154             description {
10155                state: "default" 0.0;
10156                min: 16 16;
10157                rel1 {
10158                   to_x: "base";
10159                   relative: 1.0  0.5;
10160                   offset: 2 1;
10161                }
10162                rel2 {
10163                   relative: 1.0  1.0;
10164                   offset: -2 -2;
10165                }
10166                color_class: "radio_text";
10167                text {
10168                   font: "Sans";
10169                   size: 10;
10170                   min: 1 1;
10171                   align: 0.5 0.5;
10172                   text_class: "radio_button";
10173                }
10174             }
10175             description {
10176                state: "disabled" 0.0;
10177                inherit: "default" 0.0;
10178                color_class: "radio_text_disabled";
10179             }
10180          }
10181          part {
10182             name: "event";
10183             type: RECT;
10184             ignore_flags: ON_HOLD;
10185             description {
10186                state: "default" 0.0;
10187                color: 0 0 0 0;
10188             }
10189             description {
10190                state: "disabled" 0.0;
10191                inherit: "default" 0.0;
10192                visible: 0;
10193             }
10194          }
10195       }
10196       programs {
10197          program {
10198             name: "on";
10199             /* if the radiomark is to be displayed */
10200             signal: "e,state,on";
10201             source: "e";
10202             action: STATE_SET "on" 0.0;
10203             transition: LINEAR 0.15;
10204             target: "mark_hold";
10205          }
10206          program {
10207             name: "off";
10208             /* radio mark is not to be displayed */
10209             signal: "e,state,off";
10210             source: "e";
10211             action: STATE_SET "default" 0.0;
10212             transition: LINEAR 0.2;
10213             target: "mark_hold";
10214          }
10215          program {
10216             name: "click";
10217             signal: "mouse,up,1";
10218             source: "event";
10219             action: SIGNAL_EMIT "e,action,toggle" "";
10220          }
10221          program {
10222             name: "label_on";
10223             signal: "e,state,labeled";
10224             source: "e";
10225             action: STATE_SET "label_visible" 0.0;
10226             target: "e.swallow.icon";
10227             target: "label_clip";
10228          }
10229          program {
10230             name: "disable";
10231             signal: "e,state,disabled";
10232             source: "e";
10233             action: STATE_SET "disabled" 0.0;
10234             target: "mark";
10235             target: "event";
10236             target: "e.text.label";
10237          }
10238          program {
10239             name: "enable";
10240             signal: "e,state,enabled";
10241             source: "e";
10242             action: STATE_SET "default" 0.0;
10243             target: "mark";
10244             target: "event";
10245             target: "e.text.label";
10246          }
10247       }
10248    }
10249    group {
10250       name: "e/widgets/button";
10251       images {
10252          image: "bt_base1.png" COMP;
10253          image: "bt_base2.png" COMP;
10254          image: "bt_hilight.png" COMP;
10255          image: "bt_shine.png" COMP;
10256          image: "bt_glow.png" COMP;
10257          image: "bt_dis_base.png" COMP;
10258          image: "bt_dis_hilight.png" COMP;
10259       }
10260       parts {
10261          part {
10262             name: "button_image";
10263             mouse_events: 1;
10264             description {
10265                state: "default" 0.0;
10266                min: 32 16;
10267                image {
10268                   normal: "bt_base2.png";
10269                   border: 7 7 7 7;
10270                }
10271             }
10272             description {
10273                state: "clicked" 0.0;
10274                inherit: "default" 0.0;
10275                image.normal: "bt_base1.png";
10276             }
10277             description {
10278                state: "disabled" 0.0;
10279                inherit: "default" 0.0;
10280                image {
10281                   normal: "bt_dis_base.png";
10282                   border: 4 4 4 4;
10283                }
10284             }
10285          }
10286          part {
10287             name: "e.swallow.icon";
10288             type: SWALLOW;
10289             mouse_events: 0;
10290             description {
10291                state: "default" 0.0;
10292                align: 0.0 0.5;
10293                rel1 {
10294                   relative: 0.0 0.0;
10295                   offset: 3   3;
10296                   to: "button_image";
10297                }
10298                rel2 {
10299                   relative: 0.0 1.0;
10300                   offset: 3  -4;
10301                   to: "button_image";
10302                }
10303             }
10304             description {
10305                state: "combo" 0.0;
10306                inherit: "default" 0.0;
10307                aspect: 1.0 1.0;
10308                aspect_preference: VERTICAL;
10309                align: 0.0 0.5;
10310                rel1 {
10311                   relative: 0.0 0.0;
10312                   offset: 3  3;
10313                   to: "button_image";
10314                }
10315                rel2 {
10316                   relative: 0.0 1.0;
10317                   offset: 3   -4;
10318                   to: "button_image";
10319                }
10320             }
10321             description {
10322                state: "icon" 0.0;
10323                inherit: "default" 0.0;
10324                aspect: 1.0 1.0;
10325                aspect_preference: BOTH;
10326                align: 0.5 0.5;
10327                rel1 {
10328                   relative: 0.0 0.0;
10329                   offset: 3  3;
10330                   to: "button_image";
10331                }
10332                rel2 {
10333                   relative: 1.0 1.0;
10334                   offset: -4   -4;
10335                   to: "button_image";
10336                }
10337             }
10338          }
10339          part {
10340             name: "e.text.label";
10341             type: TEXT;
10342             effect: SOFT_SHADOW;
10343             mouse_events: 0;
10344             scale: 1;
10345             description {
10346                state: "default" 0.0;
10347                rel1 {
10348                   relative: 1.0  0.0;
10349                   offset: 2    3;
10350                   to_x: "e.swallow.icon";
10351                   to_y: "button_image";
10352                }
10353                rel2 {
10354                   relative: 1.0  1.0;
10355                   offset: -4   -4;
10356                   to: "button_image";
10357                }
10358                color_class: "button_text";
10359                text {
10360                   font: "Sans";
10361                   size: 10;
10362                   min: 1 1;
10363                   align: 0.5 0.5;
10364                   text_class: "button";
10365                }
10366             }
10367             description {
10368                state: "disabled" 0.0;
10369                inherit: "default" 0.0;
10370                color_class: "button_text_disabled";
10371             }
10372             description {
10373                state: "icon" 0.0;
10374                inherit: "default" 0.0;
10375                visible: 0;
10376             }
10377          }
10378          part {
10379             name: "over1";
10380             mouse_events: 0;
10381             description {
10382                state: "default" 0.0;
10383                rel2.relative: 1.0 0.5;
10384                image {
10385                   normal: "bt_hilight.png";
10386                   border: 7 7 7 0;
10387                }
10388             }
10389             description {
10390                state: "disabled" 0.0;
10391                inherit: "default" 0.0;
10392                image {
10393                   normal: "bt_dis_hilight.png";
10394                   border: 4 4 4 0;
10395                }
10396             }
10397          }
10398          part {
10399             name: "over2";
10400             mouse_events: 0;
10401             description {
10402                state: "default" 0.0;
10403                image {
10404                   normal: "bt_shine.png";
10405                   border: 7 7 7 7;
10406                }
10407             }
10408             description {
10409                state: "disabled" 0.0;
10410                inherit: "default" 0.0;
10411                visible: 0;
10412             }
10413          }
10414          part {
10415             name: "over3";
10416             mouse_events: 0;
10417             description {
10418                state: "default" 0.0;
10419                visible: 0;
10420                color: 255 255 255 0;
10421                image {
10422                   normal: "bt_glow.png";
10423                   border: 7 7 9 9;
10424                }
10425                fill.smooth : 0;
10426             }
10427             description {
10428                state: "clicked" 0.0;
10429                inherit: "default" 0.0;
10430                visible: 1;
10431                color: 255 255 255 255;
10432             }
10433          }
10434          part {
10435             name: "disabler";
10436             type: RECT;
10437             description {
10438                state: "default" 0.0;
10439                color: 0 0 0 0;
10440                visible: 0;
10441             }
10442             description {
10443                state: "disabled" 0.0;
10444                inherit: "default" 0.0;
10445                visible: 1;
10446             }
10447          }
10448       }
10449       programs {
10450          program {
10451             name: "button_click";
10452             signal: "mouse,down,1";
10453             source: "button_image";
10454             action: STATE_SET "clicked" 0.0;
10455             target: "button_image";
10456             target: "over3";
10457          }
10458          program {
10459             name: "button_unclick";
10460             signal: "mouse,up,1";
10461             source: "button_image";
10462             action: STATE_SET "default" 0.0;
10463             target: "button_image";
10464             target: "over3";
10465          }
10466          program {
10467             name: "button_unclick2";
10468             signal: "mouse,clicked,1";
10469             source: "button_image";
10470             action: SIGNAL_EMIT "e,action,click" "";
10471          }
10472          program {
10473             name: "text_state";
10474             signal: "e,state,text";
10475             source: "e";
10476             action: STATE_SET "default" 0.0;
10477             target: "e.swallow.icon";
10478             target: "e.text.label";
10479          }
10480          program {
10481             name: "icon_state";
10482             signal: "e,state,icon";
10483             source: "e";
10484             action: STATE_SET "icon" 0.0;
10485             target: "e.swallow.icon";
10486             target: "e.text.label";
10487          }
10488          program {
10489             name: "combo_state";
10490             signal: "e,state,combo";
10491             source: "e";
10492             action: STATE_SET "combo" 0.0;
10493             target: "e.swallow.icon";
10494             target: "e.text.label";
10495          }
10496          program {
10497             name: "disable";
10498             signal: "e,state,disabled";
10499             source: "e";
10500             action: STATE_SET "disabled" 0.0;
10501             target: "button_image";
10502             target: "over1";
10503             target: "e.text.label";
10504             target: "disabler";
10505          }
10506          program {
10507             name: "enable";
10508             signal: "e,state,enabled";
10509             source: "e";
10510             action: STATE_SET "default" 0.0;
10511             target: "button_image";
10512             target: "over1";
10513             target: "e.text.label";
10514             target: "disabler";
10515          }
10516       }
10517    }
10518    /* e/widgets/scrollframe is used in the Wallpaper selector dialog */
10519    group {
10520       name: "e/widgets/scrollframe";
10521       images {
10522          image: "added_images/e17_ibar_bg_v.png" COMP;
10523          image: "added_images/e17_ibar_over_v.png" COMP;
10524          image: "added_images/e17_scrollbar_hdrag_thumb.png" COMP;
10525          image: "added_images/e17_scrollbar_vdrag_thumb.png" COMP;
10526          image: "added_images/focus.png" COMP;
10527          image: "sb_thumb.png" COMP;
10528          image: "added_images/DM_Internet_Scroll_01.png" COMP;
10529          image: "added_images/DM_Internet_Scroll_02.png" COMP;
10530          image: "added_images/DM_Internet_Scroll_03.png" COMP;
10531          image: "added_images/DM_Internet_Scroll_h_01.png" COMP;
10532          image: "added_images/DM_Internet_Scroll_h_02.png" COMP;
10533          image: "added_images/DM_Internet_Scroll_h_03.png" COMP;
10534          image: "added_images/DM_Internet_Scroll_Up.png" COMP;
10535          image: "added_images/DM_Internet_Scroll_Middle.png" COMP;
10536          image: "added_images/DM_Internet_Scroll_Down.png" COMP;
10537          image: "added_images/DM_Internet_Scroll_Left_h.png" COMP;
10538          image: "added_images/DM_Internet_Scroll_Middle_h.png" COMP;
10539          image: "added_images/DM_Internet_Scroll_Right_h.png" COMP;
10540          image: "added_images/DM_Internet_Scroll_Increase.png" COMP;
10541       }
10542       parts {
10543          part {
10544             name: "bg";
10545             type: RECT;
10546             mouse_events:  0;
10547             description {
10548                state: "default" 0.0;
10549                color: 255 255 255 0;
10550             }
10551          }
10552          part {
10553             name: "clipper";
10554             type: RECT;
10555             mouse_events: 0;
10556             description {
10557                state: "default" 0.0;
10558                rel1 {
10559                   to: "bg";
10560                }
10561                rel2 {
10562                   to: "bg";
10563                }
10564             }
10565          }
10566          part {
10567             name: "e.swallow.content";
10568             clip_to: "clipper";
10569             type: SWALLOW;
10570             description {
10571                state: "default" 0.0;
10572                rel1.to: "clipper";
10573                rel2 {
10574                   relative: 0.0  0.0;
10575                   offset: -1   1;
10576                   to_x: "sb_vbar";
10577                   to_y: "sb_hbar";
10578               }
10579             }
10580          }
10581          part {
10582             name: "sb_vbar";
10583             type: RECT;
10584             mouse_events: 0;
10585             description {
10586                state: "default" 0.0;
10587                min: 17 17;
10588                max: 17 9999;
10589                align: 1.0 0.0;
10590                rel1 {
10591                   to: "bg";
10592                   relative: 1.0 0.0;
10593                   offset: -16 0;
10594                }
10595                rel2 {
10596                   relative: 1.0 0.0;
10597                   offset: 0 2;
10598                   to_y: "sb_hbar";
10599                   to_x: "bg";
10600                }
10601             }
10602             description {
10603                state: "hidden" 0.0;
10604                visible: 0;
10605                max: 0 99999;
10606                rel1 {
10607                   to: "bg";
10608                   relative: 1.0 0.0;
10609                   offset: 0 4;
10610                }
10611                rel2 {
10612                   to: "bg";
10613                   relative: 1.0 0.0;
10614                   offset: 0 -1;
10615                   to_y: "sb_hbar";
10616                }
10617             }
10618          }
10619          part {
10620             name: "sb_vbar_base";
10621             type: RECT;
10622             clip_to: "sb_vbar";
10623             mouse_events: 1;
10624             description {
10625                state: "default" 0.0;
10626                color: 0 0 0 0;
10627                rel1 {
10628                   relative: 0.0  1.0;
10629                   offset: 0    0;
10630                   to: "sb_vbar_a1";
10631                }
10632                rel2 {
10633                   relative: 1.0  0.0;
10634                   offset: -3   -1;
10635                   to: "sb_vbar_a2";
10636                }
10637             }
10638          }
10639          part {
10640             name: "sb_vbar_runner";
10641             clip_to: "sb_vbar";
10642             mouse_events: 0;
10643             description {
10644                state: "default" 0.0;
10645                rel1 {
10646                   to: "sb_vbar_base";
10647                   offset:   0    0;
10648                }
10649                rel2 {
10650                   to: "sb_vbar_base";
10651                   offset:   0    0;
10652                }
10653                image {
10654                   normal: "added_images/DM_Internet_Scroll_Middle.png";
10655                }
10656                fill {
10657                   smooth: 0;
10658                }
10659             }
10660          }
10661          part {
10662             name: "sb_vbar_p1";
10663             type: RECT;
10664             clip_to: "sb_vbar";
10665             mouse_events: 1;
10666             description {
10667                state: "default" 0.0;
10668                color: 0 0 0 0;
10669                rel1 {
10670                   relative: 0.0 1.0;
10671                   offset:   0   0;
10672                   to: "sb_vbar_a1";
10673                }
10674                rel2 {
10675                   relative: 1.0 0.0;
10676                   offset:   -1  -1;
10677                   to: "e.dragable.vbar";
10678                }
10679             }
10680          }
10681          part {
10682             name: "sb_vbar_p2";
10683             type: RECT;
10684             clip_to: "sb_vbar";
10685             mouse_events: 1;
10686             description {
10687                state: "default" 0.0;
10688                color: 0 0 0 0;
10689                rel1 {
10690                   relative: 0.0 1.0;
10691                   offset:   0   0;
10692                   to: "e.dragable.vbar";
10693                }
10694                rel2 {
10695                   relative: 1.0 0.0;
10696                   offset:   -1  -1;
10697                   to: "sb_vbar_a2";
10698                }
10699             }
10700          }
10701          part {
10702             name: "e.dragable.vbar";
10703             clip_to: "sb_vbar";
10704             mouse_events: 1;
10705             dragable {
10706                x: 0 0 0;
10707                y: 1 1 0;
10708                confine: "sb_vbar_base";
10709             }
10710             description {
10711                state: "default" 0.0;
10712                rel1 {
10713                   relative: 0.5  0.5;
10714                   offset: 0    0;
10715                   to: "sb_vbar_base";
10716                }
10717                rel2 {
10718                   relative: 0.5  0.5;
10719                   offset: 0    0;
10720                   to: "sb_vbar_base";
10721                }
10722                image {
10723                   normal: "added_images/DM_Internet_Scroll_01.png";
10724                   border: 5 5 5 5;
10725                }
10726             }
10727             description {
10728                state: "over" 0.0;
10729                inherit: "default" 0.0;
10730                image {
10731                   normal: "added_images/DM_Internet_Scroll_02.png";
10732               }
10733             }
10734             description {
10735                state: "clicked" 0.0;
10736                inherit: "default" 0.0;
10737                image {
10738                   normal: "added_images/DM_Internet_Scroll_03.png";
10739                }
10740             }
10741          }
10742          part {
10743             name: "vbar_bar_thumb";
10744             clip_to: "sb_vbar";
10745             mouse_events: 0;
10746             description {
10747                state: "default" 0.0;
10748                max: 8 8;
10749                min: 8 8;
10750                rel1 {
10751                   to: "e.dragable.vbar";
10752                }
10753                rel2 {
10754                   to: "e.dragable.vbar";
10755                }
10756                image {
10757                   normal: "added_images/e17_scrollbar_vdrag_thumb.png";
10758                }
10759             }
10760          }
10761          part {
10762             name: "sb_vbar_a1";
10763             type: IMAGE;
10764             mouse_events: 1;
10765             clip_to: "sb_vbar";
10766             description {
10767                state: "default" 0.0;
10768                align: 0.5 0.0;
10769                aspect: 1.0 1.0;
10770                aspect_preference: HORIZONTAL;
10771                rel1 {
10772                   to: "sb_vbar";
10773                   relative: 0.0  0.0;
10774                   offset: 1    0;
10775                }
10776                rel2 {
10777                   to: "sb_vbar";
10778                   relative: 1.0  0.0;
10779                   offset: 0   0;
10780                }
10781                image {
10782                   normal: "added_images/DM_Internet_Scroll_Up.png";
10783                }
10784             }
10785             description {
10786                state: "clicked" 0.0;
10787                inherit: "default" 0.0;
10788                image {
10789                   normal: "added_images/DM_Internet_Scroll_Up.png";
10790                }
10791             }
10792          }
10793          part {
10794             name: "sb_vbar_a2";
10795             type: IMAGE;
10796             mouse_events: 1;
10797             clip_to: "sb_vbar";
10798             description {
10799                state: "default" 0.0;
10800                align: 0.5 1.0;
10801                aspect: 1.0 1.0;
10802                aspect_preference: HORIZONTAL;
10803                rel1 {
10804                   to: "sb_vbar";
10805                   relative: 0.0  1.0;
10806                   offset:   1    0;
10807                }
10808                rel2 {
10809                   to: "sb_vbar";
10810                   relative: 1.0  1.0;
10811                  offset:   0   -1;
10812                }
10813                image {
10814                   normal: "added_images/DM_Internet_Scroll_Down.png";
10815                }
10816             }
10817             description {
10818                state: "clicked" 0.0;
10819                inherit: "default" 0.0;
10820                image {
10821                   normal: "added_images/DM_Internet_Scroll_Down.png";
10822                }
10823             }
10824          }
10825          part {
10826             name: "sb_increase";
10827             type: IMAGE;
10828             mouse_events: 1;
10829             description {
10830                state: "default" 0.0;
10831                align: 0.5 1.0;
10832                aspect: 1.0 1.0;
10833                aspect_preference: HORIZONTAL;
10834                rel1 {
10835                   to: "sb_hbar_a2";
10836                   relative: 1.0  0.0;
10837                   offset: 0 2;
10838                }
10839                rel2 {
10840                   to: "sb_vbar_a2";
10841                   relative: 1.0  2.0;
10842                   offset: -1 -1;
10843                }
10844                image {
10845                   normal: "added_images/DM_Internet_Scroll_Increase.png";
10846                }
10847             }
10848             description {
10849                state: "clicked" 0.0;
10850                inherit: "default" 0.0;
10851                image {
10852                   normal: "added_images/DM_Internet_Scroll_Increase.png";
10853                }
10854             }
10855             description {
10856                state: "hidden" 0.0;
10857                visible: 0;
10858                rel1 {
10859                   to: "sb_hbar_a2";
10860                   relative: 1.0  0.0;
10861                   offset: 0 2;
10862                }
10863                rel2 {
10864                   to: "sb_vbar_a2";
10865                   relative: 1.0  2.0;
10866                   offset: -1 -1;
10867                }
10868             }
10869          }
10870          part {
10871             name: "sb_hbar";
10872             type: RECT;
10873             mouse_events: 0;
10874             description {
10875                state: "default" 0.0;
10876                min: 16 16;
10877                align: 0.0 1.0;
10878                rel1 {
10879                   to: "bg";
10880                   relative: 0.0 1.0;
10881                   offset: 4 -5;
10882                }
10883                rel2 {
10884                   to: "bg";
10885                   relative: 0.0 1.0;
10886                   offset: -1 -5;
10887                   to_x: "sb_vbar";
10888                }
10889             }
10890             description {
10891                state: "hidden" 0.0;
10892                visible: 0;
10893                rel1 {
10894                   to: "bg";
10895                   relative: 0.0  1.0;
10896                   offset: 0    -4;
10897                }
10898                rel2 {
10899                   to: "bg";
10900                   relative: 0.0  1.0;
10901                   offset: -1   -4;
10902                   to_x: "sb_vbar";
10903                }
10904             }
10905          }
10906          part {
10907             name: "sb_hbar_base";
10908             type: RECT;
10909             clip_to: "sb_hbar";
10910             mouse_events: 1;
10911             description {
10912                state: "default" 0.0;
10913                color: 0 0 0 0;
10914                rel1 {
10915                   relative: 1.0  0.0;
10916                   offset: 0    0;
10917                   to: "sb_hbar_a1";
10918                }
10919                rel2 {
10920                   relative: 0.0  1.0;
10921                   offset: -1   -1;
10922                   to: "sb_hbar_a2";
10923                }
10924             }
10925          }
10926          part {
10927             name: "sb_hbar_runner";
10928             clip_to: "sb_hbar";
10929             mouse_events: 0;
10930             description {
10931                state: "default" 0.0;
10932                rel1 {
10933                   to: "sb_hbar_base";
10934                }
10935                rel2 {
10936                   to: "sb_hbar_base";
10937                }
10938                image {
10939                   normal: "added_images/DM_Internet_Scroll_Middle_h.png";
10940                }
10941                fill {
10942                   smooth: 0;
10943                }
10944             }
10945          }
10946          part {
10947             name: "sb_hbar_p1";
10948             type: RECT;
10949             clip_to: "sb_hbar";
10950             mouse_events: 1;
10951             description {
10952                state: "default" 0.0;
10953                color: 0 0 0 0;
10954                rel1 {
10955                   relative: 1.0 0.0;
10956                   offset:   0   0;
10957                   to: "sb_hbar_a1";
10958                }
10959                rel2 {
10960                   relative: 0.0 1.0;
10961                   offset:   -1  -1;
10962                   to: "e.dragable.hbar";
10963                }
10964             }
10965          }
10966          part {
10967             name: "sb_hbar_p2";
10968             type: RECT;
10969             clip_to: "sb_hbar";
10970             mouse_events: 1;
10971             description {
10972                state: "default" 0.0;
10973                color: 0 0 0 0;
10974                rel1 {
10975                   relative: 1.0 0.0;
10976                   offset:   0   0;
10977                   to: "e.dragable.hbar";
10978                }
10979                rel2 {
10980                   relative: 0.0 1.0;
10981                   offset:   -1  -1;
10982                   to: "sb_hbar_a2";
10983                }
10984             }
10985          }
10986          part {
10987             name: "e.dragable.hbar";
10988             clip_to: "sb_hbar";
10989             mouse_events: 1;
10990             dragable {
10991                x: 1 1 0;
10992                y: 0 0 0;
10993                confine: "sb_hbar_base";
10994             }
10995             description {
10996                state: "default" 0.0;
10997                min: 16 16;
10998                rel1 {
10999                   relative: 0.5  0.5;
11000                   offset: 0    0;
11001                   to: "sb_hbar_base";
11002                }
11003                rel2 {
11004                   relative: 0.5  0.5;
11005                   offset: 0    0;
11006                   to: "sb_hbar_base";
11007                }
11008                image {
11009                   normal: "added_images/DM_Internet_Scroll_h_01.png";
11010                   border: 5 5 5 5;
11011                }
11012             }
11013             description {
11014                state: "over" 0.0;
11015                inherit: "default" 0.0;
11016                image {
11017                   normal: "added_images/DM_Internet_Scroll_h_02.png";
11018                }
11019             }
11020             description {
11021                state: "clicked" 0.0;
11022                inherit: "default" 0.0;
11023                image {
11024                   normal: "added_images/DM_Internet_Scroll_h_01.png";
11025                }
11026             }
11027          }
11028          part {
11029             name: "hbar_bar_thumb";
11030             clip_to: "sb_hbar";
11031             mouse_events: 0;
11032             description {
11033                state: "default" 0.0;
11034                max: 8 8;
11035                min: 8 8;
11036                rel1 {
11037                   to: "e.dragable.hbar";
11038                }
11039                rel2 {
11040                   to: "e.dragable.hbar";
11041                }
11042                image {
11043                   normal: "added_images/e17_scrollbar_hdrag_thumb.png";
11044                }
11045             }
11046          }
11047          part {
11048             name: "sb_hbar_a1";
11049             type: IMAGE;
11050             mouse_events: 1;
11051             clip_to: "sb_hbar";
11052             description {
11053                state: "default" 0.0;
11054                align: 0.0 0.5;
11055                aspect: 1.0 1.0;
11056                aspect_preference: VERTICAL;
11057                rel1 {
11058                   to: "sb_hbar";
11059                   relative: 0.0  0.0;
11060                   offset: 0    0;
11061                }
11062                rel2 {
11063                   to: "sb_hbar";
11064                   relative: 0.0  1.0;
11065                   offset: 0   -1;
11066                }
11067                image {
11068                   normal: "added_images/DM_Internet_Scroll_Left_h.png";
11069                }
11070             }
11071             description {
11072                state: "clicked" 0.0;
11073                inherit: "default" 0.0;
11074                image {
11075                   normal: "added_images/DM_Internet_Scroll_Left_h.png";
11076                }
11077             }
11078          }
11079          part {
11080             name: "sb_hbar_a2";
11081             type: IMAGE;
11082             mouse_events: 1;
11083             clip_to: "sb_hbar";
11084             description {
11085                state: "default" 0.0;
11086                align: 1.0 0.5;
11087                aspect: 1.0 1.0;
11088                aspect_preference: VERTICAL;
11089                rel1 {
11090                   to: "sb_hbar";
11091                   relative: 1.0  0.0;
11092                   offset: -1    0;
11093                }
11094                rel2 {
11095                   to: "sb_hbar";
11096                   relative: 1.0  1.0;
11097                   offset: -1   -1;
11098                }
11099                image {
11100                   normal: "added_images/DM_Internet_Scroll_Right_h.png";
11101                }
11102             }
11103             description {
11104                state: "clicked" 0.0;
11105                inherit: "default" 0.0;
11106                image {
11107                   normal: "added_images/DM_Internet_Scroll_Right_h.png";
11108                }
11109             }
11110          }
11111          part {
11112             name: "focus";
11113             mouse_events: 0;
11114             description {
11115                state: "default" 0.0;
11116                visible: 0;
11117                color: 255 255 255 0;
11118                image {
11119                   normal: "added_images/focus.png";
11120                   border: 7 7 7 7;
11121                   middle: 0;
11122                }
11123                fill {
11124                   smooth: 0;
11125                }
11126             }
11127             description {
11128                state: "focused" 0.0;
11129                inherit: "default" 0.0;
11130                visible: 0;
11131                color: 255 255 255 255;
11132             }
11133          }
11134       }
11135       programs {
11136          program {
11137             name: "sb_vbar_show";
11138             signal: "e,action,show,vbar";
11139             source: "e";
11140             action: STATE_SET "default" 0.0;
11141             target: "sb_vbar";
11142          }
11143          program {
11144             name: "sb_vbar_hide";
11145             signal: "e,action,hide,vbar";
11146             source: "e";
11147             action: STATE_SET "hidden" 0.0;
11148             target: "sb_vbar";
11149          }
11150          program {
11151             name: "sb_hbar_show";
11152             signal: "e,action,show,hbar";
11153             source: "e";
11154             action: STATE_SET "default" 0.0;
11155             target: "sb_hbar";
11156             target: "sb_increase";
11157          }
11158          program {
11159             name: "sb_hbar_hide";
11160             signal: "e,action,hide,hbar";
11161             source: "e";
11162             action: STATE_SET "hidden" 0.0;
11163             target: "sb_hbar";
11164             target: "sb_increase";
11165          }
11166          program {
11167             name: "sb_vbar_a1_down";
11168             signal: "mouse,down,1";
11169             source: "sb_vbar_a1";
11170             action: STATE_SET "clicked" 0.0;
11171             target: "sb_vbar_a1";
11172          }
11173          program {
11174             name: "sb_vbar_a1_down2";
11175             signal: "mouse,down,1";
11176             source: "sb_vbar_a1";
11177             action: DRAG_VAL_STEP 0.0 -1.0;
11178             target: "e.dragable.vbar";
11179          }
11180          program {
11181             name: "sb_vbar_a1_up";
11182             signal: "mouse,up,1";
11183             source: "sb_vbar_a1";
11184             action: STATE_SET "default" 0.0;
11185             target: "sb_vbar_a1";
11186          }
11187          program {
11188             name: "sb_vbar_a2_down";
11189             signal: "mouse,down,1";
11190             source: "sb_vbar_a2";
11191             action: STATE_SET "clicked" 0.0;
11192             target: "sb_vbar_a2";
11193          }
11194          program {
11195             name: "sb_vbar_a2_down2";
11196             signal: "mouse,down,1";
11197             source: "sb_vbar_a2";
11198             action: DRAG_VAL_STEP 0.0 1.0;
11199             target: "e.dragable.vbar";
11200          }
11201          program {
11202             name: "sb_vbar_a2_up";
11203             signal: "mouse,up,1";
11204             source: "sb_vbar_a2";
11205             action: STATE_SET "default" 0.0;
11206             target: "sb_vbar_a2";
11207          }
11208          program {
11209             name: "sb_vbar_p1_down";
11210             signal: "mouse,down,1";
11211             source: "sb_vbar_p1";
11212             action: DRAG_VAL_PAGE 0.0 -1.0;
11213             target: "e.dragable.vbar";
11214          }
11215          program {
11216             name: "sb_vbar_p2_down";
11217             signal: "mouse,down,1";
11218             source: "sb_vbar_p2";
11219             action: DRAG_VAL_PAGE  0.0 1.0;
11220             target: "e.dragable.vbar";
11221          }
11222          program {
11223             name: "sb_vbar_down";
11224             signal: "mouse,down,1";
11225             source: "e.dragable.vbar";
11226             action: STATE_SET "clicked" 0.0;
11227             target: "e.dragable.vbar";
11228          }
11229          program {
11230             name: "sb_vbar_up";
11231             signal: "mouse,up,1";
11232             source: "e.dragable.vbar";
11233             action: STATE_SET "default" 0.0;
11234             target: "e.dragable.vbar";
11235          }
11236          program {
11237             name: "sb_vbar_in";
11238             signal: "mouse,in";
11239             source: "e.dragable.vbar";
11240             action:  STATE_SET "over" 0.0;
11241             target: "e.dragable.vbar";
11242          }
11243          program {
11244             name: "sb_vbar_out";
11245             signal: "mouse,out";
11246             source: "e.dragable.vbar";
11247             action:  STATE_SET "default" 0.0;
11248             target: "e.dragable.vbar";
11249          }
11250          program {
11251             name: "sb_hbar_a1_down";
11252             signal: "mouse,down,1";
11253             source: "sb_hbar_a1";
11254             action: STATE_SET "clicked" 0.0;
11255             target: "sb_hbar_a1";
11256          }
11257          program {
11258             name: "sb_hbar_a1_down2";
11259             signal: "mouse,down,1";
11260             source: "sb_hbar_a1";
11261             action: DRAG_VAL_STEP -1.0 0.0;
11262             target: "e.dragable.hbar";
11263          }
11264          program {
11265             name: "sb_hbar_a1_up";
11266             signal: "mouse,up,1";
11267             source: "sb_hbar_a1";
11268             action: STATE_SET "default" 0.0;
11269             target: "sb_hbar_a1";
11270          }
11271          program {
11272             name: "sb_hbar_a2_down";
11273             signal: "mouse,down,1";
11274             source: "sb_hbar_a2";
11275             action: STATE_SET "clicked" 0.0;
11276             target: "sb_hbar_a2";
11277          }
11278          program {
11279             name: "sb_hbar_a2_down2";
11280             signal: "mouse,down,1";
11281             source: "sb_hbar_a2";
11282             action: DRAG_VAL_STEP 1.0 0.0;
11283             target: "e.dragable.hbar";
11284          }
11285          program {
11286             name: "sb_hbar_a2_up";
11287             signal: "mouse,up,1";
11288             source: "sb_hbar_a2";
11289             action: STATE_SET "default" 0.0;
11290             target: "sb_hbar_a2";
11291          }
11292          program {
11293             name: "sb_hbar_p1_down";
11294             signal: "mouse,down,1";
11295             source: "sb_hbar_p1";
11296             action: DRAG_VAL_PAGE -1.0 0.0;
11297             target: "e.dragable.hbar";
11298          }
11299          program {
11300             name: "sb_hbar_p2_down";
11301             signal: "mouse,down,1";
11302             source: "sb_hbar_p2";
11303             action: DRAG_VAL_PAGE  1.0 0.0;
11304             target: "e.dragable.hbar";
11305          }
11306          program {
11307             name: "sb_hbar_down";
11308             signal: "mouse,down,1";
11309             source: "e.dragable.hbar";
11310             action: STATE_SET "clicked" 0.0;
11311             target: "e.dragable.hbar";
11312          }
11313          program {
11314             name: "sb_hbar_up";
11315             signal: "mouse,up,1";
11316             source: "e.dragable.hbar";
11317             action: STATE_SET "default" 0.0;
11318             target: "e.dragable.hbar";
11319          }
11320          program {
11321             name: "sb_hbar_in";
11322             signal: "mouse,in";
11323             source: "e.dragable.hbar";
11324             action:  STATE_SET "over" 0.0;
11325             target: "e.dragable.hbar";
11326          }
11327          program {
11328             name: "sb_hbar_out";
11329             signal: "mouse,out";
11330             source: "e.dragable.hbar";
11331             action:  STATE_SET "default" 0.0;
11332             target: "e.dragable.hbar";
11333          }
11334       program {
11335             name: "focus_in";
11336             signal: "e,state,focused";
11337             source: "e";
11338             action: STATE_SET "focused" 0.0;
11339             transition: DECELERATE 0.2;
11340             target: "focus";
11341          }
11342          program {
11343             name: "focus_out";
11344             signal: "e,state,unfocused";
11345             source: "e";
11346             action: STATE_SET "default" 0.0;
11347             transition: ACCELERATE 0.5;
11348             target: "focus";
11349          }
11350       }
11351    }
11352    /* e/widgets/ilist is used in the Module Config Dialog for the module list */
11353    group {
11354       name: "e/widgets/ilist";
11355       data.item: "stacking" "above";
11356       data.item: "selectraise" "on";
11357       images {
11358          image: "bt_sm_base1.png" COMP;
11359          image: "bt_sm_shine.png" COMP;
11360          image: "bt_sm_hilight.png" COMP;
11361          image: "ilist_1.png" COMP;
11362          image: "ilist_item_shadow.png" COMP;
11363       }
11364       parts {
11365          part {
11366             name: "base_sh";
11367             mouse_events: 0;
11368             description {
11369                state: "default" 0.0;
11370                fixed: 1 1;
11371                align: 0.0 0.0;
11372                min: 0 10;
11373                rel1 {
11374                   to: "base";
11375                   relative: 0.0 1.0;
11376                   offset: 0 0;
11377                }
11378                rel2 {
11379                   to: "base";
11380                   relative: 1.0 1.0;
11381                   offset: -1 0;
11382                }
11383                image {
11384                   normal: "ilist_item_shadow.png";
11385                }
11386                fill.smooth: 0;
11387             }
11388          }
11389          part {
11390             name: "base";
11391             mouse_events: 0;
11392             description {
11393                state: "default" 0.0;
11394                color_class: "ilist_item_base";
11395                image {
11396                   normal: "ilist_1.png";
11397                   border: 2 2 2 2;
11398                }
11399                fill.smooth: 0;
11400             }
11401          }
11402          part {
11403             name: "bg";
11404             mouse_events: 0;
11405             description {
11406                state: "default" 0.0;
11407                visible: 0;
11408                color: 255 255 255 0;
11409                rel1 {
11410                   relative: 0.0 0.0;
11411                   offset: -5 -5;
11412                }
11413                rel2 {
11414                   relative: 1.0 1.0;
11415                   offset: 4 4;
11416                }
11417                image {
11418                   normal: "bt_sm_base1.png";
11419                   border: 6 6 6 6;
11420                }
11421             }
11422             description {
11423                state: "selected" 0.0;
11424                inherit: "default" 0.0;
11425                visible: 1;
11426                color: 255 255 255 255;
11427                rel1 {
11428                   relative: 0.0 0.0;
11429                   offset: -2 -2;
11430                }
11431                rel2 {
11432                   relative: 1.0 1.0;
11433                   offset: 1 1;
11434                }
11435             }
11436          }
11437          part {
11438             name: "e.swallow.icon";
11439             type: SWALLOW;
11440             description {
11441                state: "default" 0.0;
11442                align: 0.0 0.5;
11443                aspect: 1.0 1.0;
11444                aspect_preference: VERTICAL;
11445                rel1 {
11446                   relative: 0.0  0.0;
11447                   offset: 4    4;
11448                }
11449                rel2 {
11450                   relative: 0.0  1.0;
11451                   offset: 4   -5;
11452                }
11453             }
11454          }
11455          part {
11456             name: "e.text.label";
11457             type: TEXT;
11458             effect: SOFT_SHADOW;
11459             mouse_events: 0;
11460             scale: 1;
11461             description {
11462                state: "default" 0.0;
11463                min: 16 16;
11464                rel1 {
11465                   to_x: "e.swallow.icon";
11466                   relative: 1.0  0.0;
11467                   offset: 4 4;
11468                }
11469                rel2 {
11470                   relative: 1.0  1.0;
11471                   offset: -5 -5;
11472                }
11473                color_class: "ilist_item";
11474                text {
11475                   font: "Sans";
11476                   size: 10;
11477                   min: 1 1;
11478                   align: 0.0 0.5;
11479                   text_class: "ilist_item";
11480                }
11481             }
11482             description {
11483                state: "selected" 0.0;
11484                inherit: "default" 0.0;
11485                color_class: "ilist_item_selected";
11486             }
11487          }
11488          part {
11489             name: "e.swallow.end";
11490             type: SWALLOW;
11491             description {
11492                state: "default" 0.0;
11493                align: 1.0 0.5;
11494                aspect: 1.0 1.0;
11495                aspect_preference: VERTICAL;
11496                rel1 {
11497                   relative: 1.0  0.0;
11498                   offset: -5    4;
11499                }
11500                rel2 {
11501                   relative: 1.0  1.0;
11502                   offset: -5   -5;
11503                }
11504             }
11505          }
11506          part {
11507             name: "fg1";
11508             mouse_events: 0;
11509             description {
11510                state: "default" 0.0;
11511                visible: 0;
11512                color: 255 255 255 0;
11513                rel1.to: "bg";
11514                rel2.relative: 1.0 0.5;
11515                rel2.to: "bg";
11516                image {
11517                   normal: "bt_sm_hilight.png";
11518                   border: 6 6 6 0;
11519                }
11520             }
11521             description {
11522                state: "selected" 0.0;
11523                inherit: "default" 0.0;
11524                visible: 1;
11525                color: 255 255 255 255;
11526             }
11527          }
11528          part {
11529             name: "fg2";
11530             mouse_events: 0;
11531             description {
11532                state: "default" 0.0;
11533                visible: 0;
11534                color: 255 255 255 0;
11535                rel1.to: "bg";
11536                rel2.to: "bg";
11537                image {
11538                   normal: "bt_sm_shine.png";
11539                   border: 6 6 6 0;
11540                }
11541             }
11542             description {
11543                state: "selected" 0.0;
11544                inherit: "default" 0.0;
11545                visible: 1;
11546                color: 255 255 255 255;
11547             }
11548          }
11549          part {
11550             name: "event";
11551             type: RECT;
11552             description {
11553                state: "default" 0.0;
11554                color: 0 0 0 0;
11555             }
11556          }
11557       }
11558       programs {
11559          program {
11560             name: "go_active";
11561             signal: "e,state,selected";
11562             source: "e";
11563             action: STATE_SET "selected" 0.0;
11564             target: "bg";
11565             target: "fg1";
11566             target: "fg2";
11567             target: "e.text.label";
11568          }
11569          program {
11570             name: "go_passive";
11571             signal: "e,state,unselected";
11572             source: "e";
11573             action: STATE_SET "default" 0.0;
11574             target: "bg";
11575             target: "fg1";
11576             target: "fg2";
11577             target: "e.text.label";
11578             transition: LINEAR 0.1;
11579          }
11580       }
11581    }
11582    group {
11583       name: "e/widgets/ilist_odd";
11584       data.item: "stacking" "below";
11585       data.item: "selectraise" "on";
11586       images {
11587          image: "bt_sm_base1.png" COMP;
11588          image: "bt_sm_shine.png" COMP;
11589          image: "bt_sm_hilight.png" COMP;
11590          image: "ilist_2.png" COMP;
11591       }
11592       parts {
11593          part {
11594             name: "base";
11595             mouse_events: 0;
11596             description {
11597                state: "default" 0.0;
11598                color_class: "ilist_item_odd_base";
11599                image {
11600                   normal: "ilist_2.png";
11601                   border: 2 2 2 2;
11602                }
11603                fill.smooth: 0;
11604             }
11605          }
11606          part {
11607             name: "bg";
11608             mouse_events: 0;
11609             description {
11610                state: "default" 0.0;
11611                visible: 0;
11612                color: 255 255 255 0;
11613                rel1 {
11614                   relative: 0.0 0.0;
11615                   offset: -5 -5;
11616                }
11617                rel2 {
11618                   relative: 1.0 1.0;
11619                   offset: 4 4;
11620                }
11621                image {
11622                   normal: "bt_sm_base1.png";
11623                   border: 6 6 6 6;
11624                }
11625             }
11626             description {
11627                state: "selected" 0.0;
11628                inherit: "default" 0.0;
11629                visible: 1;
11630                color: 255 255 255 255;
11631                rel1 {
11632                   relative: 0.0 0.0;
11633                   offset: -2 -2;
11634                }
11635                rel2 {
11636                   relative: 1.0 1.0;
11637                   offset: 1 1;
11638                }
11639             }
11640          }
11641          part {
11642             name: "e.swallow.icon";
11643             type: SWALLOW;
11644             description {
11645                state: "default" 0.0;
11646                align: 0.0 0.5;
11647                aspect: 1.0 1.0;
11648                aspect_preference: VERTICAL;
11649                rel1 {
11650                   relative: 0.0  0.0;
11651                   offset: 4    4;
11652                }
11653                rel2 {
11654                   relative: 0.0  1.0;
11655                   offset: 4   -5;
11656                }
11657             }
11658          }
11659          part {
11660             name: "e.text.label";
11661             type: TEXT;
11662             effect: SOFT_SHADOW;
11663             mouse_events: 0;
11664             scale: 1;
11665             description {
11666                state: "default" 0.0;
11667                min: 16 16;
11668                rel1 {
11669                   to_x: "e.swallow.icon";
11670                   relative: 1.0  0.0;
11671                   offset: 4 4;
11672                }
11673                rel2 {
11674                   relative: 1.0  1.0;
11675                   offset: -5 -5;
11676                }
11677                color_class: "ilist_item_odd";
11678                text {
11679                   font: "Sans";
11680                   size: 10;
11681                   min: 1 1;
11682                   align: 0.0 0.5;
11683                   text_class: "ilist_item";
11684                }
11685             }
11686             description {
11687                state: "selected" 0.0;
11688                inherit: "default" 0.0;
11689                color_class: "ilist_item_selected";
11690             }
11691          }
11692          part {
11693             name: "e.swallow.end";
11694             type: SWALLOW;
11695             description {
11696                state: "default" 0.0;
11697                align: 1.0 0.5;
11698                aspect: 1.0 1.0;
11699                aspect_preference: VERTICAL;
11700                rel1 {
11701                   relative: 1.0  0.0;
11702                   offset: -5    4;
11703                }
11704                rel2 {
11705                   relative: 1.0  1.0;
11706                   offset: -5   -5;
11707                }
11708             }
11709          }
11710          part {
11711             name: "fg1";
11712             mouse_events: 0;
11713             description {
11714                state: "default" 0.0;
11715                visible: 0;
11716                color: 255 255 255 0;
11717                rel1.to: "bg";
11718                rel2.relative: 1.0 0.5;
11719                rel2.to: "bg";
11720                image {
11721                   normal: "bt_sm_hilight.png";
11722                   border: 6 6 6 0;
11723                }
11724             }
11725             description {
11726                state: "selected" 0.0;
11727                inherit: "default" 0.0;
11728                visible: 1;
11729                color: 255 255 255 255;
11730             }
11731          }
11732          part {
11733             name: "fg2";
11734             mouse_events: 0;
11735             description {
11736                state: "default" 0.0;
11737                visible: 0;
11738                color: 255 255 255 0;
11739                rel1.to: "bg";
11740                rel2.to: "bg";
11741                image {
11742                   normal: "bt_sm_shine.png";
11743                   border: 6 6 6 0;
11744                }
11745             }
11746             description {
11747                state: "selected" 0.0;
11748                inherit: "default" 0.0;
11749                visible: 1;
11750                color: 255 255 255 255;
11751             }
11752          }
11753          part {
11754             name: "event";
11755             type: RECT;
11756             description {
11757                state: "default" 0.0;
11758                color: 0 0 0 0;
11759             }
11760          }
11761       }
11762       programs {
11763          program {
11764             name: "go_active";
11765             signal: "e,state,selected";
11766             source: "e";
11767             action: STATE_SET "selected" 0.0;
11768             target: "bg";
11769             target: "fg1";
11770             target: "fg2";
11771             target: "e.text.label";
11772          }
11773          program {
11774             name: "go_passive";
11775             signal: "e,state,unselected";
11776             source: "e";
11777             action: STATE_SET "default" 0.0;
11778             target: "bg";
11779             target: "fg1";
11780             target: "fg2";
11781             target: "e.text.label";
11782             transition: LINEAR 0.1;
11783          }
11784       }
11785    }
11786    group {
11787       name: "e/widgets/ilist_header";
11788       data.item: "stacking" "above";
11789       data.item: "selectraise" "on";
11790       images {
11791          image: "bt_sm_base1.png" COMP;
11792          image: "bt_sm_shine.png" COMP;
11793          image: "bt_sm_hilight.png" COMP;
11794          image: "ilist_header_1.png" COMP;
11795          image: "ilist_item_shadow.png" COMP;
11796       }
11797       parts {
11798          part {
11799             name: "base_sh";
11800             mouse_events: 0;
11801             description {
11802                state: "default" 0.0;
11803                fixed: 1 1;
11804                align: 0.0 0.0;
11805                min: 0 10;
11806                rel1 {
11807                   to: "base";
11808                   relative: 0.0 1.0;
11809                   offset: 0 0;
11810                }
11811                rel2 {
11812                   to: "base";
11813                   relative: 1.0 1.0;
11814                   offset: -1 0;
11815                }
11816                image {
11817                   normal: "ilist_item_shadow.png";
11818                }
11819                fill.smooth: 0;
11820             }
11821          }
11822          part {
11823             name: "base";
11824             mouse_events: 0;
11825             description {
11826                state: "default" 0.0;
11827                color_class: "ilist_item_header_base";
11828                image {
11829                   normal: "ilist_header_1.png";
11830                   border: 2 2 2 2;
11831                }
11832             }
11833          }
11834          part {
11835             name: "bg";
11836             mouse_events: 0;
11837             description {
11838                state: "default" 0.0;
11839                visible: 0;
11840                color: 255 255 255 0;
11841                rel1 {
11842                   relative: 0.0 0.0;
11843                   offset: -5 -5;
11844                }
11845                rel2 {
11846                   relative: 1.0 1.0;
11847                   offset: 4 4;
11848                }
11849                image {
11850                   normal: "bt_sm_base1.png";
11851                   border: 6 6 6 6;
11852                }
11853             }
11854             description {
11855                state: "selected" 0.0;
11856                inherit: "default" 0.0;
11857                visible: 1;
11858                color: 255 255 255 255;
11859                rel1 {
11860                   relative: 0.0 0.0;
11861                   offset: -2 -2;
11862                }
11863                rel2 {
11864                   relative: 1.0 1.0;
11865                   offset: 1 1;
11866                }
11867             }
11868          }
11869          part {
11870             name: "e.swallow.icon";
11871             type: SWALLOW;
11872             description {
11873                state: "default" 0.0;
11874                align: 0.0 0.5;
11875                aspect: 1.0 1.0;
11876                aspect_preference: VERTICAL;
11877                rel1 {
11878                   relative: 0.0  0.0;
11879                   offset: 4    4;
11880                }
11881                rel2 {
11882                   relative: 0.0  1.0;
11883                   offset: 4   -5;
11884                }
11885             }
11886          }
11887          part {
11888             name: "e.text.label";
11889             type: TEXT;
11890             effect: SOFT_SHADOW;
11891             mouse_events: 0;
11892             scale: 1;
11893             description {
11894                state: "default" 0.0;
11895                min: 16 16;
11896                rel1 {
11897                   to_x: "e.swallow.icon";
11898                   relative: 1.0  0.0;
11899                   offset: 4 4;
11900                }
11901                rel2 {
11902                   relative: 1.0  1.0;
11903                   offset: -5 -5;
11904                }
11905                color_class: "ilist_item_header";
11906                text {
11907                   font: "Sans:style=Bold";
11908                   size: 16;
11909                   min: 1 1;
11910                   align: 0.0 0.5;
11911                   text_class: "ilist_item";
11912                }
11913             }
11914          }
11915          part {
11916             name: "fg1";
11917             mouse_events: 0;
11918             description {
11919                state: "default" 0.0;
11920                visible: 0;
11921                color: 255 255 255 0;
11922                rel1.to: "bg";
11923                rel2.relative: 1.0 0.5;
11924                rel2.to: "bg";
11925                image {
11926                   normal: "bt_sm_hilight.png";
11927                   border: 6 6 6 0;
11928                }
11929             }
11930             description {
11931                state: "selected" 0.0;
11932                inherit: "default" 0.0;
11933                visible: 1;
11934                color: 255 255 255 255;
11935             }
11936          }
11937          part {
11938             name: "fg2";
11939             mouse_events: 0;
11940             description {
11941                state: "default" 0.0;
11942                visible: 0;
11943                color: 255 255 255 0;
11944                rel1.to: "bg";
11945                rel2.to: "bg";
11946                image {
11947                   normal: "bt_sm_shine.png";
11948                   border: 6 6 6 0;
11949                }
11950             }
11951             description {
11952                state: "selected" 0.0;
11953                inherit: "default" 0.0;
11954                visible: 1;
11955                color: 255 255 255 255;
11956             }
11957          }
11958          part {
11959             name: "event";
11960             type: RECT;
11961             description {
11962                state: "default" 0.0;
11963                color: 0 0 0 0;
11964             }
11965          }
11966       }
11967       programs {
11968          program {
11969             name: "go_active";
11970             signal: "e,state,selected";
11971             source: "e";
11972             action: STATE_SET "selected" 0.0;
11973             target: "bg";
11974             target: "fg1";
11975             target: "fg2";
11976             target: "e.text.label";
11977          }
11978          program {
11979             name: "go_passive";
11980             signal: "e,state,unselected";
11981             source: "e";
11982             action: STATE_SET "default" 0.0;
11983             target: "bg";
11984             target: "fg1";
11985             target: "fg2";
11986             target: "e.text.label";
11987             transition: LINEAR 0.1;
11988          }
11989       }
11990    }
11991    group {
11992       name: "e/widgets/ilist_header_odd";
11993       data.item: "stacking" "below";
11994       data.item: "selectraise" "on";
11995       images {
11996          image: "bt_sm_base1.png" COMP;
11997          image: "bt_sm_shine.png" COMP;
11998          image: "bt_sm_hilight.png" COMP;
11999          image: "ilist_header_2.png" COMP;
12000       }
12001       parts {
12002          part {
12003             name: "base";
12004             mouse_events: 0;
12005             description {
12006                state: "default" 0.0;
12007                color_class: "ilist_item_header_odd_base";
12008                image {
12009                   normal: "ilist_header_2.png";
12010                   border: 2 2 2 2;
12011                }
12012             }
12013          }
12014          part {
12015             name: "bg";
12016             mouse_events: 0;
12017             description {
12018                state: "default" 0.0;
12019                visible: 0;
12020                color: 255 255 255 0;
12021                rel1 {
12022                   relative: 0.0 0.0;
12023                   offset: -5 -5;
12024                }
12025                rel2 {
12026                   relative: 1.0 1.0;
12027                   offset: 4 4;
12028                }
12029                image {
12030                   normal: "bt_sm_base1.png";
12031                   border: 6 6 6 6;
12032                }
12033             }
12034             description {
12035                state: "selected" 0.0;
12036                inherit: "default" 0.0;
12037                visible: 1;
12038                color: 255 255 255 255;
12039                rel1 {
12040                   relative: 0.0 0.0;
12041                   offset: -2 -2;
12042                }
12043                rel2 {
12044                   relative: 1.0 1.0;
12045                   offset: 1 1;
12046                }
12047             }
12048          }
12049          part {
12050             name: "e.swallow.icon";
12051             type: SWALLOW;
12052             description {
12053                state: "default" 0.0;
12054                align: 0.0 0.5;
12055                aspect: 1.0 1.0;
12056                aspect_preference: VERTICAL;
12057                rel1 {
12058                   relative: 0.0  0.0;
12059                   offset: 4    4;
12060                }
12061                rel2 {
12062                   relative: 0.0  1.0;
12063                   offset: 4   -5;
12064                }
12065             }
12066          }
12067          part {
12068             name: "e.text.label";
12069             type: TEXT;
12070             effect: SOFT_SHADOW;
12071             mouse_events: 0;
12072             scale: 1;
12073             description {
12074                state: "default" 0.0;
12075                min: 16 16;
12076                rel1 {
12077                   to_x: "e.swallow.icon";
12078                   relative: 1.0  0.0;
12079                   offset: 4 4;
12080                }
12081                rel2 {
12082                   relative: 1.0  1.0;
12083                   offset: -5 -5;
12084                }
12085                color_class: "ilist_item_header_odd";
12086                text {
12087                   font: "Sans:style=Bold";
12088                   size: 16;
12089                   min: 1 1;
12090                   align: 0.0 0.5;
12091                   text_class: "ilist_item";
12092                }
12093             }
12094          }
12095          part {
12096             name: "fg1";
12097             mouse_events: 0;
12098             description {
12099                state: "default" 0.0;
12100                visible: 0;
12101                color: 255 255 255 0;
12102                rel1.to: "bg";
12103                rel2.relative: 1.0 0.5;
12104                rel2.to: "bg";
12105                image {
12106                   normal: "bt_sm_hilight.png";
12107                   border: 6 6 6 0;
12108                }
12109             }
12110             description {
12111                state: "selected" 0.0;
12112                inherit: "default" 0.0;
12113                visible: 1;
12114                color: 255 255 255 255;
12115             }
12116          }
12117          part {
12118             name: "fg2";
12119             mouse_events: 0;
12120             description {
12121                state: "default" 0.0;
12122                visible: 0;
12123                color: 255 255 255 0;
12124                rel1.to: "bg";
12125                rel2.to: "bg";
12126                image {
12127                   normal: "bt_sm_shine.png";
12128                   border: 6 6 6 0;
12129                }
12130             }
12131             description {
12132                state: "selected" 0.0;
12133                inherit: "default" 0.0;
12134                visible: 1;
12135                color: 255 255 255 255;
12136             }
12137          }
12138          part {
12139             name: "event";
12140             type: RECT;
12141             description {
12142                state: "default" 0.0;
12143                color: 0 0 0 0;
12144             }
12145          }
12146       }
12147       programs {
12148          program {
12149             name: "go_active";
12150             signal: "e,state,selected";
12151             source: "e";
12152             action: STATE_SET "selected" 0.0;
12153             target: "bg";
12154             target: "fg1";
12155             target: "fg2";
12156             target: "e.text.label";
12157          }
12158          program {
12159             name: "go_passive";
12160             signal: "e,state,unselected";
12161             source: "e";
12162             action: STATE_SET "default" 0.0;
12163             target: "bg";
12164             target: "fg1";
12165             target: "fg2";
12166             target: "e.text.label";
12167             transition: LINEAR 0.1;
12168          }
12169       }
12170    }
12171    group {
12172       name: "e/widgets/ilist/toggle_end";
12173       images {
12174          image: "icon_active.png" COMP;
12175       }
12176       parts {
12177          part {
12178             name: "icon";
12179             type: IMAGE;
12180             description {
12181                state: "default" 0.0;
12182                color: 255 255 255 0;
12183                visible: 0;
12184                align: 1.0 0.5;
12185                aspect: 1.0 1.0;
12186                aspect_preference: VERTICAL;
12187                rel1 {
12188                   relative: 0.0  0.0;
12189                   offset: 4    4;
12190                }
12191                rel2 {
12192                   relative: 0.0  1.0;
12193                   offset: 4   -5;
12194                }
12195                image.normal: "icon_active.png";
12196             }
12197             description {
12198                state: "visible" 0.0;
12199                inherit: "default" 0.0;
12200                color: 255 255 255 255;
12201                visible: 1;
12202             }
12203          }
12204       }
12205       programs {
12206          program {
12207             signal: "e,state,checked";
12208             source: "e";
12209             action: STATE_SET "visible" 0.0;
12210             target: "icon";
12211             transition: LINEAR 0.1;
12212          }
12213          program {
12214             signal: "e,state,unchecked";
12215             source: "e";
12216             action: STATE_SET "default" 0.0;
12217             target: "icon";
12218             transition: LINEAR 0.1;
12219          }
12220       }
12221    }
12222    /* Used to display RGB/HSV values via sliders
12223       in Wallpaper Gradient Dialog               */
12224    group {
12225       name: "e/widgets/cslider";
12226       images.image: "inset_sunk.png" COMP;
12227       parts {
12228          part {
12229             name: "content_clip";
12230             type: RECT;
12231             mouse_events: 0;
12232             description {
12233                state: "default" 0.0;
12234                rel1.to: "e.swallow.content";
12235                rel2.to: "e.swallow.content";
12236                color: 255 255 255 255;
12237             }
12238          }
12239          part {
12240             name: "e.swallow.content";
12241             type: SWALLOW;
12242             clip_to: "content_clip";
12243             description {
12244                state: "default" 0.0;
12245                min: 50 20;
12246                rel1.offset: 4    4;
12247                rel2.offset: -5    -5;
12248             }
12249             description {
12250                state: "vertical" 0.0;
12251                inherit: "default" 0.0;
12252                min: 20 50;
12253             }
12254          }
12255          part {
12256             name: "border";
12257             mouse_events: 1;
12258             description {
12259                state: "default" 0.0;
12260                rel1 {
12261                   to: "e.swallow.content";
12262                   offset: -1 -1;
12263                }
12264                rel2 {
12265                   to: "e.swallow.content";
12266                   offset: 0 0;
12267                }
12268                image {
12269                   normal: "inset_sunk.png";
12270                   border: 7 7 7 7;
12271                   middle: 0;
12272                }
12273                fill.smooth : 0;
12274             }
12275          }
12276          part {
12277             name: "e.dragable.cursor";
12278             type: RECT;
12279             clip_to: "content_clip";
12280             dragable {
12281                confine: "e.swallow.content";
12282                x: 1 1 0;
12283                y: -1 1 0;
12284             }
12285             description {
12286                state: "default" 0.0;
12287                min: 1 24;
12288                max: 1 9999;
12289                fixed: 1 1;
12290                rel1 {
12291                   to: "e.swallow.content";
12292                   relative: 0.5 0.0;
12293                   offset: 0 0;
12294                }
12295                rel2 {
12296                   to: "e.swallow.content";
12297                   relative: 0.5 1.0;
12298                   offset: 0 -1;
12299                }
12300                color: 255 255 255 150;
12301             }
12302             description {
12303                state: "vertical" 0.0;
12304                min: 24 1;
12305                max: 9999 1;
12306                fixed: 1 1;
12307                rel1 {
12308                   to: "e.swallow.content";
12309                   relative: 0.0 0.5 ;
12310                   offset: 0 0;
12311                }
12312                rel2 {
12313                   to: "e.swallow.content";
12314                   relative: 1.0 0.5;
12315                   offset: -1 0;
12316                }
12317                color: 255 255 255 150;
12318             }
12319          }
12320       }
12321       programs {
12322          program {
12323             name: "go_vertical";
12324             signal: "e,state,direction,v";
12325             source: "e";
12326             action: STATE_SET "vertical" 0.0;
12327             target: "e.dragable.cursor";
12328             target: "e.swallow.content";
12329          }
12330       }
12331    }
12332    /* e/widgets/slider* is used in the Virtual Desktops Config dialog */
12333    group {
12334       name: "e/widgets/slider_vertical";
12335       images {
12336          image: "slider.png" COMP;
12337          image: "slider_clicked.png" COMP;
12338          image: "sb_runnerv.png" COMP;
12339          image: "inset_sunk.png" COMP;
12340       }
12341       parts {
12342          part {
12343             name: "base";
12344             type: RECT;
12345             mouse_events: 1;
12346             description {
12347                state: "default" 0.0;
12348                color: 0 0 0 0;
12349                min: 22 0;
12350                rel1.offset: 2 2;
12351                rel2.offset: -3 -3;
12352             }
12353             description {
12354                state: "active" 0.0;
12355                inherit: "default" 0.0;
12356                rel2 {
12357                   to_y: "label";
12358                   relative: 1.0  0.0;
12359                   offset: -3   -1;
12360                }
12361             }
12362          }
12363          part {
12364             name: "runner";
12365             mouse_events: 0;
12366             clip_to: "clip";
12367             description {
12368                state: "default" 0.0;
12369                max: 3 99999;
12370                rel1.to: "base";
12371                rel2.to: "base";
12372                image {
12373                   normal: "sb_runnerv.png";
12374                   border: 0 0 4 4;
12375                }
12376                fill.smooth: 0;
12377             }
12378          }
12379          part {
12380             name: "label_base";
12381             clip_to: "clip";
12382             type: RECT;
12383             description {
12384                state: "default" 0.0;
12385                color: 255 255 255 0;
12386                visible: 0;
12387                rel1.to: "label";
12388                rel1.offset: 1 1;
12389                rel2.to: "label";
12390                rel2.offset: -2 -2;
12391             }
12392             description {
12393                state: "active" 0.0;
12394                inherit: "default" 0.0;
12395                visible: 1;
12396             }
12397          }
12398          part {
12399             name: "label";
12400             mouse_events: 0;
12401             clip_to: "clip";
12402             description {
12403                state: "default" 0.0;
12404                visible: 0;
12405             }
12406             description {
12407                state: "active" 0.0;
12408                rel1 {
12409                   to: "e.text.label";
12410                   offset: -4  -2;
12411                }
12412                rel2 {
12413                   to: "e.text.label";
12414                   offset: 3  1;
12415                }
12416             }
12417          }
12418          part {
12419             name: "e.text.label";
12420             type: TEXT;
12421             mouse_events: 0;
12422             clip_to: "clip";
12423             scale: 1;
12424             description {
12425                state: "default" 0.0;
12426                visible: 0;
12427             }
12428             description {
12429                state: "active" 0.0;
12430                align: 0.5 1.0;
12431                fixed: 1 1;
12432                rel1 {
12433                   relative: 0.0  1.0;
12434                   offset: 7    -8;
12435                }
12436                rel2 {
12437                   relative: 1.0  1.0;
12438                   offset: -8  -8;
12439                }
12440                color_class: "slider_text";
12441                text {
12442                   text: "0.0";
12443                   font: "Sans";
12444                   size: 10;
12445                   min: 1 1;
12446                   align: 0.5 0.5;
12447                   text_class: "slider";
12448                }
12449             }
12450          }
12451          part {
12452             name: "sld_p1";
12453             type: RECT;
12454             mouse_events: 1;
12455             description {
12456                state: "default" 0.0;
12457                color: 0 0 0 0;
12458                rel2 {
12459                   relative: 1.0 0.0;
12460                   to: "e.dragable.slider";
12461                }
12462             }
12463          }
12464          part {
12465             name: "sld_p2";
12466             type: RECT;
12467             mouse_events: 1;
12468             description {
12469                state: "default" 0.0;
12470                color: 0 0 0 0;
12471                rel1 {
12472                   relative: 0.0 1.0;
12473                   to: "e.dragable.slider";
12474                }
12475             }
12476          }
12477          part {
12478             name: "e.swallow.bar";
12479             type: SWALLOW;
12480             description { state: "default" 0.0;
12481                rel1 {
12482                   to_x: "e.dragable.slider";
12483                   to_y: "base";
12484                   offset: 0 5;
12485                }
12486                rel2 {
12487                   to_x: "e.dragable.slider";
12488                   to_y: "base";
12489                   offset: -1 -6;
12490                }
12491             }
12492          }
12493          part {
12494             name: "e.dragable.slider";
12495             type: RECT;
12496             mouse_events: 1;
12497             scale: 1;
12498             dragable {
12499                x: 0 0 0;
12500                y: -1 1 0;
12501                confine: "base";
12502             }
12503             description {
12504                state: "default" 0.0;
12505                min: 11 11;
12506                fixed: 1 1;
12507                rel1 {
12508                   relative: 0.5  0.5;
12509                   offset: -1    0;
12510                   to: "base";
12511                }
12512                rel2 {
12513                   relative: 0.5  0.5;
12514                   offset: -1    -1;
12515                   to: "base";
12516                }
12517                color: 0 0 0 0;
12518             }
12519          }
12520          part {
12521             name: "button";
12522             mouse_events: 0;
12523             scale: 1;
12524             description {
12525                state: "default" 0.0;
12526                min: 22 22;
12527                fixed: 1 1;
12528                rel1.to: "e.dragable.slider";
12529                rel2.to: "e.dragable.slider";
12530                image.normal: "slider.png";
12531             }
12532             description {
12533                state: "clicked" 0.0;
12534                inherit: "default" 0.0;
12535                image.normal: "slider_clicked.png";
12536             }
12537          }
12538          part {
12539             name: "clip";
12540             type: RECT;
12541             description {
12542                state: "default" 0.0;
12543                color: 255 255 255 255;
12544             }
12545             description {
12546                state: "disabled" 0.0;
12547                inherit: "default" 0.0;
12548                color: 255 255 255 128;
12549             }
12550          }
12551          part {
12552             name: "event";
12553             type: RECT;
12554             mouse_events: 1;
12555             description {
12556                state: "default" 0.0;
12557                visible: 0;
12558                color: 0 0 0 0;
12559             }
12560             description {
12561                state: "disabled" 0.0;
12562                inherit: "default" 0.0;
12563                visible: 1;
12564             }
12565          }
12566       }
12567       programs {
12568          program {
12569             name: "sld_p1_down";
12570             signal: "mouse,down,1";
12571             source: "sld_p1";
12572             action: DRAG_VAL_PAGE 0.0 -1.0;
12573             target: "e.dragable.slider";
12574          }
12575          program {
12576             name: "sld_p2_down";
12577             signal: "mouse,down,1";
12578             source: "sld_p2";
12579             action: DRAG_VAL_PAGE  0.0 1.0;
12580             target: "e.dragable.slider";
12581          }
12582          program {
12583             name: "button_down";
12584             signal: "mouse,down,1";
12585             source: "e.dragable.slider";
12586             action: STATE_SET "clicked" 0.0;
12587             target: "button";
12588          }
12589          program {
12590             name: "button_up";
12591             signal: "mouse,up,1";
12592             source: "e.dragable.slider";
12593             action: STATE_SET "default" 0.0;
12594             target: "button";
12595          }
12596          program {
12597             name: "show_label";
12598             signal: "e,action,show,label";
12599             source: "e";
12600             action: STATE_SET "active" 0.0;
12601             target: "base";
12602             target: "label";
12603             target: "label_base";
12604             target: "e.text.label";
12605          }
12606          program {
12607             name: "hide_label";
12608             signal: "e,action,hide,label";
12609             source: "e";
12610             action: STATE_SET "default" 0.0;
12611             target: "base";
12612             target: "label";
12613             target: "label_base";
12614             target: "e.text.label";
12615          }
12616          program {
12617             name: "disable";
12618             signal: "e,state,disabled";
12619             source: "e";
12620             action: STATE_SET "disabled" 0.0;
12621             target: "clip";
12622             target: "event";
12623          }
12624          program {
12625             name: "enable";
12626             signal: "e,state,enabled";
12627             source: "e";
12628             action: STATE_SET "default" 0.0;
12629             target: "clip";
12630             target: "event";
12631          }
12632       }
12633    }
12634    group {
12635       name: "e/widgets/slider_horizontal";
12636       images {
12637          image: "slider.png" COMP;
12638          image: "slider_clicked.png" COMP;
12639          image: "sb_runnerh.png" COMP;
12640          image: "inset_sunk.png" COMP;
12641       }
12642       parts {
12643          part {
12644             name: "base";
12645             type: RECT;
12646             mouse_events: 1;
12647             description {
12648                state: "default" 0.0;
12649                color: 0 0 0 0;
12650                min: 0 22;
12651                rel1.offset: 2 2;
12652                rel2.offset: -3 -3;
12653             }
12654             description {
12655                state: "active" 0.0;
12656                inherit: "default" 0.0;
12657                rel2 {
12658                   to_x: "label";
12659                   relative: 0.0  1.0;
12660                   offset: -1   -3;
12661                }
12662             }
12663          }
12664          part {
12665             name: "runner";
12666             mouse_events: 0;
12667             clip_to: "clip";
12668             description {
12669                state: "default" 0.0;
12670                max: 99999 3;
12671                rel1.to: "base";
12672                rel2.to: "base";
12673                image {
12674                   normal: "sb_runnerh.png";
12675                   border: 4 4 0 0;
12676                }
12677                fill.smooth: 0;
12678             }
12679          }
12680          part {
12681             name: "label_base";
12682             clip_to: "clip";
12683             type: RECT;
12684             description {
12685                state: "default" 0.0;
12686                color: 255 255 255 0;
12687                visible: 0;
12688                rel1.to: "label";
12689                rel1.offset: 1 1;
12690                rel2.to: "label";
12691                rel2.offset: -2 -2;
12692             }
12693             description {
12694                state: "active" 0.0;
12695                inherit: "default" 0.0;
12696                visible: 1;
12697             }
12698          }
12699          part {
12700             name: "label";
12701             mouse_events: 0;
12702             clip_to: "clip";
12703             description {
12704                state: "default" 0.0;
12705                visible: 0;
12706             }
12707             description {
12708                state: "active" 0.0;
12709                min: 20 0;
12710                rel1 {
12711                   to: "e.text.label";
12712                   offset: -4 -2;
12713                }
12714                rel2 {
12715                   to: "e.text.label";
12716                   offset: 2   1;
12717                }
12718             }
12719          }
12720          part {
12721             name: "e.text.label";
12722             type: TEXT;
12723             mouse_events: 0;
12724             clip_to: "clip";
12725             scale: 1;
12726             description {
12727                state: "default" 0.0;
12728                visible: 0;
12729             }
12730             description {
12731                state: "active" 0.0;
12732                align: 1.0 0.5;
12733                fixed: 1 0;
12734                rel1 {
12735                   relative: 1.0  0.0;
12736                   offset: -8   7;
12737                }
12738                rel2 {
12739                   relative: 1.0  1.0;
12740                   offset: -8 -8;
12741                }
12742                color_class: "slider_text";
12743                text {
12744                   text: "0.0";
12745                   font: "Sans";
12746                   size: 10;
12747                   min: 1 1;
12748                   align: 0.5 0.5;
12749                   text_class: "slider";
12750                }
12751             }
12752          }
12753          part {
12754             name: "sld_p1";
12755             type: RECT;
12756             mouse_events: 1;
12757             description {
12758                state: "default" 0.0;
12759                color: 0 0 0 0;
12760                rel2 {
12761                   relative: 0.0 1.0;
12762                   to: "e.dragable.slider";
12763                }
12764             }
12765          }
12766          part {
12767             name: "sld_p2";
12768             type: RECT;
12769             mouse_events: 1;
12770             description {
12771                state: "default" 0.0;
12772                color: 0 0 0 0;
12773                rel1 {
12774                   relative: 1.0 0.0;
12775                   to: "e.dragable.slider";
12776                }
12777             }
12778          }
12779          part {
12780             name: "e.swallow.bar";
12781             type: SWALLOW;
12782             description { state: "default" 0.0;
12783                rel1 {
12784                   to_x: "base";
12785                   to_y: "e.dragable.slider";
12786                   offset: 5 0;
12787                }
12788                rel2 {
12789                   to_x: "base";
12790                   to_y: "e.dragable.slider";
12791                   offset: -6 -1;
12792                }
12793             }
12794          }
12795          part {
12796             name: "e.dragable.slider";
12797             type: RECT;
12798             mouse_events: 1;
12799             scale: 1;
12800             dragable {
12801                x: 1 1 0;
12802                y: 0 0 0;
12803                confine: "base";
12804             }
12805             description {
12806                state: "default" 0.0;
12807                min: 11 11;
12808                fixed: 1 1;
12809                rel1 {
12810                   relative: 0.5  0.5;
12811                   to: "base";
12812                }
12813                rel2 {
12814                   relative: 0.5  0.5;
12815                   offset: 0    0;
12816                   to: "base";
12817                }
12818                color: 0 0 0 0;
12819             }
12820          }
12821          part {
12822             name: "slider";
12823             mouse_events: 0;
12824             clip_to: "clip";
12825             scale: 1;
12826             description {
12827                state: "default" 0.0;
12828                min: 22 22;
12829                fixed: 1 1;
12830                rel1.to: "e.dragable.slider";
12831                rel2.to: "e.dragable.slider";
12832                image.normal: "slider.png";
12833             }
12834             description {
12835                state: "clicked" 0.0;
12836                inherit: "default" 0.0;
12837                image.normal: "slider_clicked.png";
12838             }
12839          }
12840          part {
12841             name: "clip";
12842             type: RECT;
12843             description {
12844                state: "default" 0.0;
12845             }
12846             description {
12847                state: "disabled" 0.0;
12848                inherit: "default" 0.0;
12849                color: 255 255 255 128;
12850             }
12851          }
12852          part {
12853             name: "event";
12854             type: RECT;
12855             mouse_events: 1;
12856             description {
12857                state: "default" 0.0;
12858                visible: 0;
12859                color: 0 0 0 0;
12860             }
12861             description {
12862                state: "disabled" 0.0;
12863                inherit: "default" 0.0;
12864                visible: 1;
12865             }
12866          }
12867       }
12868       programs {
12869          program {
12870             name: "sld_p1_down";
12871             signal: "mouse,down,1";
12872             source: "sld_p1";
12873             action: DRAG_VAL_PAGE -1.0 0.0;
12874             target: "e.dragable.slider";
12875          }
12876          program {
12877             name: "sld_p2_down";
12878             signal: "mouse,down,1";
12879             source: "sld_p2";
12880             action: DRAG_VAL_PAGE  1.0 0.0;
12881             target: "e.dragable.slider";
12882          }
12883          program {
12884             name: "sld_down";
12885             signal: "mouse,down,1";
12886             source: "e.dragable.slider";
12887             action: STATE_SET "clicked" 0.0;
12888             target: "slider";
12889          }
12890          program {
12891             name: "sld_up";
12892             signal: "mouse,up,1";
12893             source: "e.dragable.slider";
12894             action: STATE_SET "default" 0.0;
12895             target: "slider";
12896          }
12897          program {
12898             name: "show_label";
12899             signal: "e,action,show,label";
12900             source: "e";
12901             action: STATE_SET "active" 0.0;
12902             target: "base";
12903             target: "label";
12904             target: "label_base";
12905             target: "e.text.label";
12906          }
12907          program {
12908             name: "hide_label";
12909             signal: "e,action,hide,label";
12910             source: "e";
12911             action: STATE_SET "default" 0.0;
12912             target: "base";
12913             target: "label";
12914             target: "label_base";
12915             target: "e.text.label";
12916          }
12917          program {
12918             name: "disable";
12919             signal: "e,state,disabled";
12920             source: "e";
12921             action: STATE_SET "disabled" 0.0;
12922             target: "clip";
12923             target: "event";
12924          }
12925          program {
12926             name: "enable";
12927             signal: "e,state,enabled";
12928             source: "e";
12929             action: STATE_SET "default" 0.0;
12930             target: "clip";
12931             target: "event";
12932          }
12933       }
12934    }
12935    /* e/widgets/frame is used in the Config Dialog
12936       to outline the content                       */
12937    group {
12938       name: "e/widgets/frame";
12939       images {
12940          image: "frame_1.png" COMP;
12941          image: "frame_2.png" COMP;
12942          image: "dia_grad.png" COMP;
12943       }
12944       parts {
12945          part {
12946             name: "base0";
12947             mouse_events: 0;
12948             description {
12949                state: "default" 0.0;
12950                color_class: "frame_base";
12951                image.normal: "dia_grad.png";
12952                rel1.to: "over";
12953                rel2.to: "over";
12954                fill {
12955                   smooth: 0;
12956                   size {
12957                      relative: 0.0 1.0;
12958                      offset: 64 0;
12959                   }
12960                }
12961             }
12962          }
12963          part {
12964             name: "base";
12965             mouse_events: 0;
12966             description {
12967                state: "default" 0.0;
12968                image {
12969                   normal: "frame_2.png";
12970                   border: 5 5 32 26;
12971                   middle: 0;
12972                }
12973                fill.smooth : 0;
12974             }
12975          }
12976          part {
12977             name: "e.swallow.content";
12978             type: SWALLOW;
12979             description {
12980                state: "default" 0.0;
12981                rel1 {
12982                   to_y: "e.text.label";
12983                   relative: 0.0 1.0;
12984                   offset: 8 2;
12985                }
12986                rel2.offset: -9 -9;
12987             }
12988          }
12989          part {
12990             name: "e.text.label";
12991             type: TEXT;
12992             mouse_events: 0;
12993             scale: 1;
12994             description {
12995                state: "default" 0.0;
12996                align: 0.0 0.0;
12997                fixed: 0 1;
12998                rel1 {
12999                   relative: 0.0 0.0;
13000                   offset: 6 6;
13001                }
13002                rel2 {
13003                   relative: 1.0 0.0;
13004                   offset: -7 6;
13005                }
13006                color: 0 0 0 64;
13007                text {
13008                   font: "Sans:style=Bold";
13009                   size: 10;
13010                   min: 1 1;
13011                   max: 1 1;
13012                   align: 0.0 0.0;
13013                   text_class: "frame";
13014                }
13015             }
13016          }
13017          part {
13018             name: "over";
13019             mouse_events: 0;
13020             description {
13021                state: "default" 0.0;
13022                rel1.offset: 4 4;
13023                rel2.offset: -5 -5;
13024                image {
13025                   normal: "frame_1.png";
13026                   border: 2 2 28 22;
13027                   middle: 0;
13028                }
13029                fill.smooth : 0;
13030             }
13031          }
13032       }
13033    }
13034    group {
13035       name: "e/widgets/label";
13036       parts {
13037          part {
13038             name: "e.text.label";
13039             type: TEXT;
13040             mouse_events: 0;
13041             scale: 1;
13042             description {
13043                state: "default" 0.0;
13044                rel1.offset: 2 2;
13045                rel2.offset: -3 -3;
13046                color_class: "label_text";
13047                text {
13048                   font: "Sans";
13049                   size: 10;
13050                   min: 1 1;
13051                   align: 0.0 0.5;
13052                   text_class: "label";
13053                }
13054             }
13055             description {
13056                state: "disabled" 0.0;
13057                inherit: "default" 0.0;
13058                color_class: "label_text_disabled";
13059             }
13060          }
13061       }
13062       programs {
13063          program {
13064             name: "disable";
13065             signal: "e,state,disabled";
13066             source: "e";
13067             action: STATE_SET "disabled" 0.0;
13068             target: "e.text.label";
13069          }
13070          program {
13071             name: "enable";
13072             signal: "e,state,enabled";
13073             source: "e";
13074             action: STATE_SET "default" 0.0;
13075             target: "e.text.label";
13076          }
13077       }
13078    }
13079
13080    /* e/widgets/textblock is used in the description
13081       of modules in Module Config dialog             */
13082    group {
13083       name: "e/widgets/textblock";
13084       styles {
13085          style {
13086             name: "textblock_style";
13087             base: "font=Sans font_size=10 align=left color=#000 style=shadow shadow_color=#ffffff80 wrap=word";
13088             tag: "title" "+ font=Sans:style=Bold font_size=12 style=soft_shadow color=#fff shadow_color=#00000021";
13089             tag: "hilight" "+ font=Sans:style=Bold style=glow color=#fff glow2_color=#333333be glow_color=#0000005a";
13090             tag: "urgent" "+ font=Sans:style=Bold style=glow color=#fff glow2_color=#333 glow_color=#b01010";
13091             tag: "b" "+ font=Sans:style=Bold";
13092             tag: "br" "\n";
13093          }
13094       }
13095       parts {
13096          part {
13097             name: "e.textblock.text";
13098             type: TEXTBLOCK;
13099             mouse_events: 0;
13100             scale: 1;
13101             description {
13102                state: "default" 0.0;
13103                rel1.offset: 4 4;
13104                rel2.offset: -5 -5;
13105                text {
13106                   style: "textblock_style";
13107                   min: 1 1;
13108                }
13109             }
13110          }
13111       }
13112    }
13113
13114 /////////////////////////////////////////////////////////////////////////////
13115 /*** GADMAN ***/
13116
13117    group {
13118       name: "e/gadman/popup";
13119       images.image: "base_bg.png" COMP;
13120       parts {
13121          part {
13122             name: "base";
13123             mouse_events: 0;
13124             description {
13125                state: "default" 0.0;
13126                image {
13127                   normal: "base_bg.png";
13128                   border: 2 2 2 2;
13129                }
13130                fill.smooth: 0;
13131             }
13132          }
13133          part {
13134             name: "e.swallow.content";
13135             type: SWALLOW;
13136             description {
13137                state: "default" 0.0;
13138                rel1.offset: 3 3;
13139                rel2.offset: -4 -4;
13140             }
13141          }
13142       }
13143    }
13144    group {
13145       name: "e/gadman/full_bg";
13146       parts {
13147          part {
13148             name: "bg";
13149             type: RECT;
13150             mouse_events: 0;
13151             description {
13152                state: "default" 0.0;
13153                color: 0 0 0 0;
13154             }
13155             description {
13156                state: "visible" 0.0;
13157                color: 0 0 0 128;
13158             }
13159          }
13160          part {
13161             name: "custom_bg";
13162             type: RECT;
13163             description {
13164                state: "default" 0.0;
13165                color: 255 255 255 0;
13166             }
13167             description {
13168                state: "visible" 0.0;
13169                color: 255 255 255 200;
13170             }
13171          }
13172          part {
13173             name: "e.swallow.bg";
13174             type: SWALLOW;
13175             clip_to: "custom_bg";
13176             description {
13177                state: "default" 0.0;
13178             }
13179          }
13180          part {
13181             name: "grabber";
13182             type: RECT;
13183             mouse_events: 1;
13184             repeat_events: 1;
13185             description {
13186                state: "default" 0.0;
13187                color: 0 0 0 0;
13188             }
13189          }
13190       }
13191       programs {
13192          program {
13193             name: "show";
13194             signal: "e,state,visibility,show";
13195             source: "e";
13196             action: STATE_SET "visible" 0.0;
13197             transition: LINEAR 0.4;
13198             target: "bg";
13199          }
13200          program {
13201             name: "show_now";
13202             signal: "e,state,visibility,show,now";
13203             source: "e";
13204             action: STATE_SET "visible" 0.0;
13205             transition: LINEAR 0.0;
13206             target: "bg";
13207          }
13208          program {
13209             name: "hide";
13210             signal: "e,state,visibility,hide";
13211             source: "e";
13212             action: STATE_SET "default" 0.0;
13213             transition: LINEAR 0.4;
13214             target: "bg";
13215             after: "hide_stop";
13216          }
13217          program {
13218             name: "hide_now";
13219             signal: "e,state,visibility,hide,now";
13220             source: "e";
13221             action: STATE_SET "default" 0.0;
13222             transition: LINEAR 0.0;
13223             target: "bg";
13224             after: "hide_stop";
13225          }
13226          program {
13227             name: "show_custom";
13228             signal: "e,state,visibility,show,custom";
13229             source: "e";
13230             action: STATE_SET "visible" 0.0;
13231             transition: LINEAR 0.4;
13232             target: "custom_bg";
13233          }
13234          program {
13235             name: "show_custom_now";
13236             signal: "e,state,visibility,show,custom,now";
13237             source: "e";
13238             action: STATE_SET "visible" 0.0;
13239             transition: LINEAR 0.0;
13240             target: "custom_bg";
13241          }
13242          program {
13243             name: "hide_custom";
13244             signal: "e,state,visibility,hide,custom";
13245             source: "e";
13246             action: STATE_SET "default" 0.0;
13247             transition: LINEAR 0.4;
13248             target: "custom_bg";
13249             after: "hide_stop";
13250          }
13251          program {
13252             name: "hide_custom_now";
13253             signal: "e,state,visibility,hide,custom,now";
13254             source: "e";
13255             action: STATE_SET "default" 0.0;
13256             transition: LINEAR 0.0;
13257             target: "custom_bg";
13258             after: "hide_stop";
13259          }
13260          program {
13261             name: "hide_stop";
13262             action: SIGNAL_EMIT "e,action,hide,stop" "";
13263          }
13264       }
13265    }
13266    group {
13267       name: "e/gadman/frame";
13268       images.image: "inset_raised.png" COMP;
13269       parts {
13270          part {
13271             name: "bg_clip";
13272             type: RECT;
13273             mouse_events: 0;
13274             description {
13275                state: "default" 0.0;
13276                rel1.to: "overlay";
13277                rel2.to: "overlay";
13278                color: 255 255 255 255;
13279             }
13280             description {
13281                state: "plain" 0.0;
13282                rel1.relative: 0.0 0.0;
13283                rel2.relative: 0.0 0.0;
13284                color: 255 255 255 255;
13285             }
13286          }
13287          part {
13288             name: "items_clip";
13289             type: RECT;
13290             mouse_events: 0;
13291             description {
13292                state: "default" 0.0;
13293                rel1 {
13294                   to: "overlay";
13295                   offset: 4  4;
13296                }
13297                rel2 {
13298                   to: "overlay";
13299                   offset: -5  -5;
13300                }
13301                color: 255 255 255 255;
13302             }
13303             description {
13304                state: "hidden" 0.0;
13305                inherit: "default" 0.0;
13306                color: 255 255 255 0;
13307             }
13308          }
13309          part {
13310             name: "e.swallow.content";
13311             type: SWALLOW;
13312             clip_to: "items_clip";
13313             description {
13314                state: "default" 0.0;
13315                rel1.offset: 4  4;
13316                rel2.offset: -5  -5;
13317                color: 255 255 255 255;
13318             }
13319             description {
13320                state: "hidden" 0.0;
13321                rel1.relative: 0.5 0.5;
13322                rel2.relative: 0.5 0.5;
13323                color: 255 255 255 0;
13324             }
13325          }
13326          part {
13327             name: "overlay";
13328             mouse_events: 0;
13329             clip_to: "bg_clip";
13330             description {
13331                state: "default" 0.0;
13332                image {
13333                   normal: "inset_raised.png";
13334                   border: 7 7 7 7;
13335                   middle: 0;
13336                }
13337                fill.smooth: 0;
13338                color: 255 255 255 255;
13339             }
13340             description {
13341                state: "hidden" 0.0;
13342                inherit: "default" 0.0;
13343                rel1.relative: 0.5 0.5;
13344                rel2.relative: 0.5 0.5;
13345                color: 255 255 255 0;
13346             }
13347          }
13348       }
13349       programs {
13350          program {
13351             name: "inset";
13352             signal: "e,state,visibility,inset";
13353             source: "e";
13354             action: STATE_SET "default" 0.0;
13355             target: "bg_clip";
13356          }
13357          program {
13358             name: "plain";
13359             signal: "e,state,visibility,plain";
13360             source: "e";
13361             action: STATE_SET "plain" 0.0;
13362             target: "bg_clip";
13363          }
13364          program {
13365             name: "hide";
13366             signal: "e,state,visibility,hide";
13367             source: "e";
13368             action: STATE_SET "hidden" 0.0;
13369             transition: ACCELERATE 0.4;
13370             target: "items_clip";
13371             target: "overlay";
13372             target: "e.swallow.content";
13373          }
13374          program {
13375             name: "hide_now";
13376             signal: "e,state,visibility,hide,now";
13377             source: "e";
13378             action: STATE_SET "hidden" 0.0;
13379             transition: LINEAR 0.0;
13380             target: "items_clip";
13381             target: "overlay";
13382             target: "e.swallow.content";
13383          }
13384          program {
13385             name: "show";
13386             signal: "e,state,visibility,show";
13387             source: "e";
13388             action: STATE_SET "default" 0.0;
13389             transition: DECELERATE 0.4;
13390             target: "items_clip";
13391             target: "overlay";
13392             target: "e.swallow.content";
13393          }
13394          program {
13395             name: "show_now";
13396             signal: "e,state,visibility,show,now";
13397             source: "e";
13398             action: STATE_SET "default" 0.0;
13399             transition: LINEAR 0.0;
13400             target: "items_clip";
13401             target: "overlay";
13402             target: "e.swallow.content";
13403          }
13404       }
13405    }
13406    group {
13407       name: "e/gadman/control";
13408       images {
13409          image: "gadman_frame.png" COMP;
13410          image: "gadman_border.png" COMP;
13411          image: "gadman_top.png" COMP;
13412          image: "gadman_bottom.png" COMP;
13413          image: "gadman_left.png" COMP;
13414          image: "gadman_right.png" COMP;
13415       }
13416       parts {
13417          part {
13418             name: "hclip";
13419             mouse_events: 0;
13420             type: RECT;
13421             description {
13422                state: "default" 0.0;
13423                visible: 1;
13424                rel1.offset: -85 -85;
13425                rel2.offset: 74 74;
13426             }
13427             description {
13428                state: "disabled" 0.0;
13429                inherit: "default" 0.0;
13430                visible : 0;
13431             }
13432          }
13433          part {
13434             name: "vclip";
13435             mouse_events: 0;
13436             type: RECT;
13437             description {
13438                state: "default" 0.0;
13439                visible: 1;
13440                rel1.offset: -85 -85;
13441                rel2.offset: 84 84;
13442             }
13443             description {
13444                state: "disabled" 0.0;
13445                inherit: "default" 0.0;
13446                visible : 0;
13447             }
13448          }
13449          part {
13450             name: "overlay";
13451             mouse_events: 1;
13452             description {
13453                state: "default" 0.0;
13454                rel1 {
13455                   to: "border";
13456                   offset: 4 4;
13457                }
13458                rel2 {
13459                   to: "border";
13460                   offset: -5 -5;
13461                }
13462                image.normal: "gadman_frame.png";
13463                fill.size.relative: 0 0;
13464                fill.size.offset: 24 24;
13465             }
13466          }
13467          part {
13468             name: "left_arrow1";
13469             description {
13470                state: "default" 0.0;
13471                aspect: 1.0 1.0;
13472                max: 12 24;
13473                rel1 {
13474                   relative: 0.0 0.5;
13475                   offset: 3 0;
13476                }
13477                rel2 {
13478                   relative: 0.0 0.5;
13479                   offset: 3 -1;
13480                }
13481                image.normal: "gadman_left.png";
13482             }
13483             description {
13484                state: "1" 0.0;
13485                inherit: "default" 0.0;
13486                rel1 {
13487                   relative: 0.0 0.5;
13488                   offset: -32 -12;
13489                }
13490                rel2 {
13491                   relative: 0.0 0.5;
13492                   offset: -18 11;
13493                }
13494             }
13495             description {
13496                state: "2" 0.0;
13497                inherit: "default" 0.0;
13498                rel1 {
13499                   relative: 0.0 0.5;
13500                   offset: -24 -6;
13501                }
13502                rel2 {
13503                   relative: 0.0 0.5;
13504                   offset: -10 5;
13505                }
13506             }
13507          }
13508          part {
13509             name: "left_arrow2";
13510             description {
13511                state: "default" 0.0;
13512                aspect: 1.0 1.0;
13513                max: 12 24;
13514                rel1 {
13515                   relative: 0.0 0.5;
13516                   offset: 3 0;
13517                }
13518                rel2 {
13519                   relative: 0.0 0.5;
13520                   offset: 3 -1;
13521                }
13522                image.normal: "gadman_left.png";
13523             }
13524             description {
13525                state: "1" 0.0;
13526                inherit: "default" 0.0;
13527                rel1 {
13528                   relative: 0.0 0.5;
13529                   offset: -32 -12;
13530                }
13531                rel2 {
13532                   relative: 0.0 0.5;
13533                   offset: -18 11;
13534                }
13535             }
13536             description {
13537                state: "2" 0.0;
13538                inherit: "default" 0.0;
13539                rel1 {
13540                   relative: 0.0 0.5;
13541                   offset: -24 -6;
13542                }
13543                rel2 {
13544                   relative: 0.0 0.5;
13545                   offset: -10 5;
13546                }
13547             }
13548          }
13549          part {
13550             name: "right_arrow1";
13551             description {
13552                state: "default" 0.0;
13553                aspect: 1.0 1.0;
13554                max: 12 24;
13555                rel1 {
13556                   relative: 1.0 0.5;
13557                   offset: -3 0;
13558                }
13559                rel2 {
13560                   relative: 1.0 0.5;
13561                   offset: -3 -1;
13562                }
13563                image.normal: "gadman_right.png";
13564             }
13565             description {
13566                state: "1" 0.0;
13567                inherit: "default" 0.0;
13568                rel1 {
13569                   relative: 1.0 0.5;
13570                   offset: 32 -12;
13571                }
13572                rel2 {
13573                   relative: 1.0 0.5;
13574                   offset: 18 11;
13575                }
13576             }
13577             description {
13578                state: "2" 0.0;
13579                inherit: "default" 0.0;
13580                rel1 {
13581                   relative: 1.0 0.5;
13582                   offset: 24 -6;
13583                }
13584                rel2 {
13585                   relative: 1.0 0.5;
13586                   offset: 10 5;
13587                }
13588             }
13589          }
13590          part {
13591             name: "right_arrow2";
13592             description {
13593                state: "default" 0.0;
13594                aspect: 1.0 1.0;
13595                max: 12 24;
13596                rel1 {
13597                   relative: 1.0 0.5;
13598                   offset: -3 0;
13599                }
13600                rel2 {
13601                   relative: 1.0 0.5;
13602                   offset: -3 -1;
13603                }
13604                image.normal: "gadman_right.png";
13605             }
13606             description {
13607                state: "1" 0.0;
13608                inherit: "default" 0.0;
13609                rel1 {
13610                   relative: 1.0 0.5;
13611                   offset: 32 -12;
13612                }
13613                rel2 {
13614                   relative: 1.0 0.5;
13615                   offset: 18 11;
13616                }
13617             }
13618             description {
13619                state: "2" 0.0;
13620                inherit: "default" 0.0;
13621                rel1 {
13622                   relative: 1.0 0.5;
13623                   offset: 24 -6;
13624                }
13625                rel2 {
13626                   relative: 1.0 0.5;
13627                   offset: 10 5;
13628                }
13629             }
13630          }
13631          part {
13632             name: "top_arrow1";
13633             description {
13634                state: "default" 0.0;
13635                aspect: 1.0 1.0;
13636                max: 24 12;
13637                rel1 {
13638                   relative: 0.5 0.0;
13639                   offset: 0 3;
13640                }
13641                rel2 {
13642                   relative: 0.5 0.0;
13643                   offset: -1 3;
13644                }
13645                image.normal: "gadman_top.png";
13646             }
13647             description {
13648                state: "1" 0.0;
13649                inherit: "default" 0.0;
13650                rel1 {
13651                   relative: 0.5 0.0;
13652                   offset: -12 -32;
13653                }
13654                rel2 {
13655                   relative: 0.5 0.0;
13656                   offset: 11 -18;
13657                }
13658             }
13659             description {
13660                state: "2" 0.0;
13661                inherit: "default" 0.0;
13662                rel1 {
13663                   relative: 0.5 0.0;
13664                   offset: -6 -24;
13665                }
13666                rel2 {
13667                   relative: 0.5 0.0;
13668                   offset: 5 -9;
13669                }
13670             }
13671          }
13672          part {
13673             name: "top_arrow2";
13674             description {
13675                state: "default" 0.0;
13676                aspect: 1.0 1.0;
13677                max: 24 12;
13678                rel1 {
13679                   relative: 0.5 0.0;
13680                   offset: 0 3;
13681                }
13682                rel2 {
13683                   relative: 0.5 0.0;
13684                   offset: -1 3;
13685                }
13686                image.normal: "gadman_top.png";
13687             }
13688             description {
13689                state: "1" 0.0;
13690                inherit: "default" 0.0;
13691                rel1 {
13692                   relative: 0.5 0.0;
13693                   offset: -12 -32;
13694                }
13695                rel2 {
13696                   relative: 0.5 0.0;
13697                   offset: 11 -18;
13698                }
13699             }
13700             description {
13701                state: "2" 0.0;
13702                inherit: "default" 0.0;
13703                rel1 {
13704                   relative: 0.5 0.0;
13705                   offset: -6 -24;
13706                }
13707                rel2 {
13708                   relative: 0.5 0.0;
13709                   offset: 5 -9;
13710                }
13711             }
13712          }
13713          part {
13714             name: "bottom_arrow1";
13715             description {
13716                state: "default" 0.0;
13717                aspect: 1.0 1.0;
13718                max: 24 12;
13719                rel1 {
13720                   relative: 0.5 1.0;
13721                   offset: 0 -3;
13722                }
13723                rel2 {
13724                   relative: 0.5 1.0;
13725                   offset: -1 -3;
13726                }
13727                image.normal: "gadman_bottom.png";
13728             }
13729             description {
13730                state: "1" 0.0;
13731                inherit: "default" 0.0;
13732                rel1 {
13733                   relative: 0.5 1.0;
13734                   offset: -12 18;
13735                }
13736                rel2 {
13737                   relative: 0.5 1.0;
13738                   offset: 11 31;
13739                }
13740             }
13741             description {
13742                state: "2" 0.0;
13743                inherit: "default" 0.0;
13744                rel1 {
13745                   relative: 0.5 1.0;
13746                   offset: -6 10;
13747                }
13748                rel2 {
13749                   relative: 0.5 1.0;
13750                   offset: 5 24;
13751                }
13752             }
13753          }
13754          part {
13755             name: "bottom_arrow2";
13756             description {
13757                state: "default" 0.0;
13758                aspect: 1.0 1.0;
13759                max: 24 12;
13760                rel1 {
13761                   relative: 0.5 1.0;
13762                   offset: 0 -3;
13763                }
13764                rel2 {
13765                   relative: 0.5 1.0;
13766                   offset: -1 -3;
13767                }
13768                image.normal: "gadman_bottom.png";
13769             }
13770             description {
13771                state: "1" 0.0;
13772                inherit: "default" 0.0;
13773                rel1 {
13774                   relative: 0.5 1.0;
13775                   offset: -12 18;
13776                }
13777                rel2 {
13778                   relative: 0.5 1.0;
13779                   offset: 11 31;
13780                }
13781             }
13782             description {
13783                state: "2" 0.0;
13784                inherit: "default" 0.0;
13785                rel1 {
13786                   relative: 0.5 1.0;
13787                   offset: -6 10;
13788                }
13789                rel2 {
13790                   relative: 0.5 1.0;
13791                   offset: 5 24;
13792                }
13793             }
13794          }
13795          part {
13796             name: "v1";
13797             mouse_events: 1;
13798             clip_to: "vclip";
13799             description {
13800                state: "default" 0.0;
13801                rel2.relative: 1.0 0.0;
13802                rel2.offset: -1 9;
13803             }
13804          }
13805          part {
13806             name: "v2";
13807             mouse_events: 1;
13808             clip_to: "vclip";
13809             description {
13810                state: "default" 0.0;
13811                rel1.relative: 0.0 1.0;
13812                rel1.offset: 0 -8;
13813             }
13814          }
13815          part {
13816             name: "h1";
13817             mouse_events: 1;
13818             clip_to: "hclip";
13819             description {
13820                state: "default" 0.0;
13821                rel2.relative: 0.0 1.0;
13822                rel2.offset: 9 -1;
13823             }
13824          }
13825          part {
13826             name: "h2";
13827             mouse_events: 1;
13828             clip_to: "hclip";
13829             description {
13830                state: "default" 0.0;
13831                rel1.relative: 1.0 0.0;
13832                rel1.offset: -8 0;
13833             }
13834          }
13835          part {
13836             name: "border";
13837             mouse_events: 1;
13838             repeat_events: 1;
13839             description {
13840                state: "default" 0.0;
13841                image {
13842                   normal: "gadman_border.png";
13843                   border: 10 10 10 10;
13844                   middle: 0;
13845                }
13846                fill.smooth: 0;
13847             }
13848          }
13849       }
13850       programs {
13851          program {
13852             name: "api_hsize_on";
13853             signal: "e,state,hsize,on";
13854             source: "e";
13855             action: STATE_SET "default" 0.0;
13856             target: "hclip";
13857          }
13858          program {
13859             name: "api_hsize_off";
13860             signal: "e,state,hsize,off";
13861             source: "e";
13862             action: STATE_SET "disabled" 0.0;
13863             target: "hclip";
13864          }
13865          program {
13866             name: "api_vsize_on";
13867             signal: "e,state,vsize,on";
13868             source: "e";
13869             action: STATE_SET "default" 0.0;
13870             target: "vclip";
13871          }
13872          program {
13873             name: "api_vsize_off";
13874             signal: "e,state,vsize,off";
13875             source: "e";
13876             action: STATE_SET "disabled" 0.0;
13877             target: "vclip";
13878          }
13879          /*
13880          program {
13881             name: "api_move_on";
13882             signal: "e,state,move,on";
13883             source: "e";
13884          }
13885          program {
13886             name: "api_move_off";
13887             signal: "e,state,move,off";
13888             source: "e";
13889          }
13890          program {
13891             name: "api_active";
13892             signal: "e,state,focused";
13893             source: "e";
13894          }
13895          program {
13896             name: "api_inactive";
13897             signal: "e,state,unfocused";
13898             source: "e";
13899          }
13900          */
13901          // MOVE PROGRAMS
13902          program {
13903             name: "mv_down";
13904             signal: "mouse,down,1";
13905             source: "overlay";
13906             action: SIGNAL_EMIT "e,action,move,start" "";
13907          }
13908          program {
13909             name: "mv_up";
13910             signal: "mouse,up,1";
13911             source: "overlay";
13912             action: SIGNAL_EMIT "e,action,move,stop" "";
13913          }
13914          program {
13915             name: "mv_move";
13916             signal: "mouse,move";
13917             source: "overlay";
13918             action: SIGNAL_EMIT "e,action,move,go" "";
13919          }
13920          program {
13921             name: "h1_down1";
13922             signal: "mouse,down,1";
13923             source: "h1";
13924             action: STATE_SET "clicked" 0.0;
13925             target: "h1";
13926          }
13927          program {
13928             name: "h1_up1";
13929             signal: "mouse,up,1";
13930             source: "h1";
13931             action: STATE_SET "default" 0.0;
13932             target: "h1";
13933          }
13934          program {
13935             name: "h1_down2";
13936             signal: "mouse,down,1";
13937             source: "h1";
13938             action: SIGNAL_EMIT "e,action,resize,left,start" "";
13939          }
13940          program {
13941             name: "h1_up2";
13942             signal: "mouse,up,1";
13943             source: "h1";
13944             action: SIGNAL_EMIT "e,action,resize,left,stop" "";
13945          }
13946          program {
13947             name: "h1_move";
13948             signal: "mouse,move";
13949             source: "h1";
13950             action: SIGNAL_EMIT "e,action,resize,left,go" "";
13951          }
13952          program {
13953             name: "h2_down1";
13954             signal: "mouse,down,1";
13955             source: "h2";
13956             action: STATE_SET "clicked" 0.0;
13957             target: "h2";
13958          }
13959          program {
13960             name: "h2_up1";
13961             signal: "mouse,up,1";
13962             source: "h2";
13963             action: STATE_SET "default" 0.0;
13964             target: "h2";
13965          }
13966          program {
13967             name: "h2_down2";
13968             signal: "mouse,down,1";
13969             source: "h2";
13970             action: SIGNAL_EMIT "e,action,resize,right,start" "";
13971          }
13972          program {
13973             name: "h2_up2";
13974             signal: "mouse,up,1";
13975             source: "h2";
13976             action: SIGNAL_EMIT "e,action,resize,right,stop" "";
13977          }
13978          program {
13979             name: "h2_move";
13980             signal: "mouse,move";
13981             source: "h2";
13982             action: SIGNAL_EMIT "e,action,resize,right,go" "";
13983          }
13984          program {
13985             name: "v1_down1";
13986             signal: "mouse,down,1";
13987             source: "v1";
13988             action: STATE_SET "clicked" 0.0;
13989             target: "v1";
13990          }
13991          program {
13992             name: "v1_up1";
13993             signal: "mouse,up,1";
13994             source: "v1";
13995             action: STATE_SET "default" 0.0;
13996             target: "v1";
13997          }
13998          program {
13999             name: "v1_down2";
14000             signal: "mouse,down,1";
14001             source: "v1";
14002             action: SIGNAL_EMIT "e,action,resize,up,start" "";
14003          }
14004          program {
14005             name: "v1_up2";
14006             signal: "mouse,up,1";
14007             source: "v1";
14008             action: SIGNAL_EMIT "e,action,resize,up,stop" "";
14009          }
14010          program {
14011             name: "v1_move";
14012             signal: "mouse,move";
14013             source: "v1";
14014             action: SIGNAL_EMIT "e,action,resize,up,go" "";
14015          }
14016          program {
14017             name: "v2_down1";
14018             signal: "mouse,down,1";
14019             source: "v2";
14020             action: STATE_SET "clicked" 0.0;
14021             target: "v2";
14022          }
14023          program {
14024             name: "v2_up1";
14025             signal: "mouse,up,1";
14026             source: "v2";
14027             action: STATE_SET "default" 0.0;
14028             target: "v2";
14029          }
14030          program {
14031             name: "v2_down2";
14032             signal: "mouse,down,1";
14033             source: "v2";
14034             action: SIGNAL_EMIT "e,action,resize,down,start" "";
14035          }
14036          program {
14037             name: "v2_up2";
14038             signal: "mouse,up,1";
14039             source: "v2";
14040             action: SIGNAL_EMIT "e,action,resize,down,stop" "";
14041          }
14042          program {
14043             name: "v2_move";
14044             signal: "mouse,move";
14045             source: "v2";
14046             action: SIGNAL_EMIT "e,action,resize,down,go" "";
14047          }
14048          // LEFT ARROW
14049          program {
14050             name: "start_left1";
14051             signal: "mouse,in";
14052             source: "h1";
14053             after: "left1_1";
14054          }
14055          program {
14056             name: "start_left2";
14057             signal: "mouse,in";
14058             source: "h1";
14059             in: 0.4 0.0;
14060             after: "left2_1";
14061          }
14062          program {
14063             name: "left1_1";
14064             action: STATE_SET "1" 0.0;
14065             target: "left_arrow1";
14066             transition: LINEAR 0.4;
14067             after: "left1_2";
14068          }
14069          program {
14070             name: "left1_2";
14071             action: STATE_SET "2" 0.0;
14072             target: "left_arrow1";
14073             transition: LINEAR 0.4;
14074             after: "left1_r";
14075          }
14076          program {
14077             name: "left1_r";
14078             action: STATE_SET "default" 0.0;
14079             target: "left_arrow1";
14080             after: "left1_1";
14081          }
14082          program {
14083             name: "left2_1";
14084             action: STATE_SET "1" 0.0;
14085             target: "left_arrow2";
14086             transition: LINEAR 0.4;
14087             after: "left2_2";
14088          }
14089          program {
14090             name: "left2_2";
14091             action: STATE_SET "2" 0.0;
14092             target: "left_arrow2";
14093             transition: LINEAR 0.4;
14094             after: "left2_r";
14095          }
14096          program {
14097             name: "left2_r";
14098             action: STATE_SET "default" 0.0;
14099             target: "left_arrow2";
14100             after: "left2_1";
14101          }
14102          program {
14103             name: "stop_left1";
14104             signal: "mouse,out";
14105             source: "h1";
14106             action: ACTION_STOP;
14107             target: "left1_1";
14108             target: "left1_2";
14109             target: "left1_r";
14110             target: "left2_1";
14111             target: "left2_2";
14112             target: "left2_r";
14113             target: "start_left2";
14114             after: "stop_left2";
14115          }
14116          program {
14117             name: "stop_left2";
14118             action: STATE_SET "default" 0.0;
14119             target: "left_arrow1";
14120             target: "left_arrow2";
14121          }
14122          // RIGHT ARROW
14123          program {
14124             name: "start_right1";
14125             signal: "mouse,in";
14126             source: "h2";
14127             after: "right1_1";
14128          }
14129          program {
14130             name: "start_right2";
14131             signal: "mouse,in";
14132             source: "h2";
14133             in: 0.4 0.0;
14134             after: "right2_1";
14135          }
14136          program {
14137             name: "right1_1";
14138             action: STATE_SET "1" 0.0;
14139             target: "right_arrow1";
14140             transition: LINEAR 0.4;
14141             after: "right1_2";
14142          }
14143          program {
14144             name: "right1_2";
14145             action: STATE_SET "2" 0.0;
14146             target: "right_arrow1";
14147             transition: LINEAR 0.4;
14148             after: "right1_r";
14149          }
14150          program {
14151             name: "right1_r";
14152             action: STATE_SET "default" 0.0;
14153             target: "right_arrow1";
14154             after: "right1_1";
14155          }
14156          program {
14157             name: "right2_1";
14158             action: STATE_SET "1" 0.0;
14159             target: "right_arrow2";
14160             transition: LINEAR 0.4;
14161             after: "right2_2";
14162          }
14163          program {
14164             name: "right2_2";
14165             action: STATE_SET "2" 0.0;
14166             target: "right_arrow2";
14167             transition: LINEAR 0.4;
14168             after: "right2_r";
14169          }
14170          program {
14171             name: "right2_r";
14172             action: STATE_SET "default" 0.0;
14173             target: "right_arrow2";
14174             after: "right2_1";
14175          }
14176          program {
14177             name: "stop_right1";
14178             signal: "mouse,out";
14179             source: "h2";
14180             action: ACTION_STOP;
14181             target: "right1_1";
14182             target: "right1_2";
14183             target: "right1_r";
14184             target: "right2_1";
14185             target: "right2_2";
14186             target: "right2_r";
14187             target: "start_right2";
14188             after: "stop_right2";
14189          }
14190          program {
14191             name: "stop_right2";
14192             action: STATE_SET "default" 0.0;
14193             target: "right_arrow1";
14194             target: "right_arrow2";
14195          }
14196          // TOP ARROW
14197          program {
14198             name: "start_top1";
14199             signal: "mouse,in";
14200             source: "v1";
14201             after: "top1_1";
14202          }
14203          program {
14204             name: "start_top2";
14205             signal: "mouse,in";
14206             source: "v1";
14207             in: 0.4 0.0;
14208             after: "top2_1";
14209          }
14210          program {
14211             name: "top1_1";
14212             action: STATE_SET "1" 0.0;
14213             target: "top_arrow1";
14214             transition: LINEAR 0.4;
14215             after: "top1_2";
14216          }
14217          program {
14218             name: "top1_2";
14219             action: STATE_SET "2" 0.0;
14220             target: "top_arrow1";
14221             transition: LINEAR 0.4;
14222             after: "top1_r";
14223          }
14224          program {
14225             name: "top1_r";
14226             action: STATE_SET "default" 0.0;
14227             target: "top_arrow1";
14228             after: "top1_1";
14229          }
14230          program {
14231             name: "top2_1";
14232             action: STATE_SET "1" 0.0;
14233             target: "top_arrow2";
14234             transition: LINEAR 0.4;
14235             after: "top2_2";
14236          }
14237          program {
14238             name: "top2_2";
14239             action: STATE_SET "2" 0.0;
14240             target: "top_arrow2";
14241             transition: LINEAR 0.4;
14242             after: "top2_r";
14243          }
14244          program {
14245             name: "top2_r";
14246             action: STATE_SET "default" 0.0;
14247             target: "top_arrow2";
14248             after: "top2_1";
14249          }
14250          program {
14251             name: "stop_top1";
14252             signal: "mouse,out";
14253             source: "v1";
14254             action: ACTION_STOP;
14255             target: "top1_1";
14256             target: "top1_2";
14257             target: "top1_r";
14258             target: "top2_1";
14259             target: "top2_2";
14260             target: "top2_r";
14261             target: "start_top2";
14262             after: "stop_top2";
14263          }
14264          program {
14265             name: "stop_top2";
14266             action: STATE_SET "default" 0.0;
14267             target: "top_arrow1";
14268             target: "top_arrow2";
14269          }
14270          // BOTTOM ARROW
14271          program {
14272             name: "start_bottom1";
14273             signal: "mouse,in";
14274             source: "v2";
14275             after: "bottom1_1";
14276          }
14277          program {
14278             name: "start_bottom2";
14279             signal: "mouse,in";
14280             source: "v2";
14281             in: 0.4 0.0;
14282             after: "bottom2_1";
14283          }
14284          program {
14285             name: "bottom1_1";
14286             action: STATE_SET "1" 0.0;
14287             target: "bottom_arrow1";
14288             transition: LINEAR 0.4;
14289             after: "bottom1_2";
14290          }
14291          program {
14292             name: "bottom1_2";
14293             action: STATE_SET "2" 0.0;
14294             target: "bottom_arrow1";
14295             transition: LINEAR 0.4;
14296             after: "bottom1_r";
14297          }
14298          program {
14299             name: "bottom1_r";
14300             action: STATE_SET "default" 0.0;
14301             target: "bottom_arrow1";
14302             after: "bottom1_1";
14303          }
14304          program {
14305             name: "bottom2_1";
14306             action: STATE_SET "1" 0.0;
14307             target: "bottom_arrow2";
14308             transition: LINEAR 0.4;
14309             after: "bottom2_2";
14310          }
14311          program {
14312             name: "bottom2_2";
14313             action: STATE_SET "2" 0.0;
14314             target: "bottom_arrow2";
14315             transition: LINEAR 0.4;
14316             after: "bottom2_r";
14317          }
14318          program {
14319             name: "bottom2_r";
14320             action: STATE_SET "default" 0.0;
14321             target: "bottom_arrow2";
14322             after: "bottom2_1";
14323          }
14324          program {
14325             name: "stop_bottom1";
14326             signal: "mouse,out";
14327             source: "v2";
14328             action: ACTION_STOP;
14329             target: "bottom1_1";
14330             target: "bottom1_2";
14331             target: "bottom1_r";
14332             target: "bottom2_1";
14333             target: "bottom2_2";
14334             target: "bottom2_r";
14335             target: "start_bottom2";
14336             after: "stop_bottom2";
14337          }
14338          program {
14339             name: "stop_bottom2";
14340             action: STATE_SET "default" 0.0;
14341             target: "bottom_arrow1";
14342             target: "bottom_arrow2";
14343          }
14344       }
14345    }
14346
14347    group {
14348       name: "e/widgets/slidesel";
14349       alias: "e/pointer/enlightenment/default/mono";
14350       alias: "e/modules/connman/network";
14351       alias: "e/fileman/default/list/drop_between";
14352       alias: "e/fileman/desktop/list/drop_in";
14353       alias: "e/fileman/desktop/list/drop_between";
14354       alias: "e/fileman/desktop/overlay";
14355       alias: "e/fileman/desktop/list/fixed";
14356       alias: "e/fileman/desktop/list_odd/fixed";
14357       alias: "e/sys/halt";
14358       alias: "e/sys/reboot";
14359       alias: "e/sys/suspend";
14360       alias: "e/sys/hibernate";
14361       alias:  "e/widgets/gradpreview";
14362       alias: "e/modules/connman/main";
14363       alias: "e/modules/conf_edgebindings/selection";
14364       alias: "e/modules/start/main";
14365       alias: "e/modules/pager/popup";
14366       alias: "e/modules/pager/desk";
14367       alias: "e/modules/pager/window";
14368       alias: "e/modules/battery/main";
14369       alias: "e/modules/battery/popup";
14370       alias: "e/modules/temperature/main";
14371       alias: "e/modules/clock/main";
14372       alias: "e/modules/cpufreq/main";
14373       alias: "e/widgets/winlist/main";
14374       alias: "e/widgets/winlist/item";
14375       alias: "e/widgets/exebuf/main";
14376       alias: "e/widgets/exebuf/item";
14377       alias: "e/widgets/syscon/main";
14378       alias: "e/widgets/syscon/item/button";
14379       alias: "e/modules/mixer/main";
14380       alias: "e/fileman/default/window/main";
14381       alias: "e/fileman/default/progress";
14382       alias: "e/fileman/default/scrollframe";
14383       alias: "e/fileman/desktop/scrollframe";
14384       alias: "e/fileman/default/list/drop_in";
14385       alias: "e/fileman/default/rubberband";
14386       alias: "e/fileman/default/overlay";
14387       alias: "e/fileman/default/icon/variable";
14388       alias: "e/fileman/default/icon/fixed";
14389       alias: "e/fileman/desktop/icon/variable";
14390       alias: "e/fileman/desktop/icon/fixed";
14391       alias: "e/fileman/default/list/variable";
14392       alias: "e/fileman/default/list_odd/variable";
14393       alias: "e/fileman/default/list/fixed";
14394       alias: "e/fileman/default/list_odd/fixed";
14395       alias: "e/sys/logout";
14396       alias: "e/transpreview/0";
14397       alias: "e/transpreview/1";
14398       alias: "e/transitions/crossfade";
14399       alias: "e/transitions/vswipe";
14400       alias: "e/widgets/entry";
14401       alias: "e/widgets/entry/text";
14402       alias: "e/widgets/entry/cursor";
14403       alias: "e/widgets/entry/selection";
14404       alias: "e/widgets/preview";
14405       alias: "e/widgets/deskpreview/desk";
14406       alias: "e/widgets/color_well";
14407       alias: "e/widgets/spectrum";
14408       alias: "e/widgets/fontpreview";
14409       alias: "e/desklock/background";
14410       alias: "e/desklock/login_box";
14411       alias: "e/wizard/extra";
14412       alias: "e/wizard/main";
14413       alias: "e/widgets/about/main";
14414       alias: "e/theme/about";
14415       alias: "e/icons/enlightenment/wallpaper_stretch";
14416       alias: "e/icons/enlightenment/wallpaper_tile";
14417       alias: "e/icons/enlightenment/wallpaper_center";
14418       alias: "e/icons/enlightenment/wallpaper_scale_aspect_in";
14419       alias: "e/icons/enlightenment/wallpaper_scale_aspect_out";
14420       alias: "e/icons/enlightenment/gradient_h";
14421       alias: "e/icons/enlightenment/gradient_v";
14422       alias: "e/icons/enlightenment/gradient_du";
14423       alias: "e/icons/enlightenment/gradient_dd";
14424       alias: "e/icons/enlightenment/gradient_rad";
14425       alias: "e/init/splash";
14426       alias: "e/init/extra_screen";
14427       alias: "e/conf/wallpaper/main/window";
14428       alias: "e/conf/wallpaper/main/mini";
14429       alias: "e/conf/wallpaper/main/mini-theme";
14430       alias: "e/conf/wallpaper/main/mini-remote";
14431       alias: "e/conf/wallpaper/main/scrollframe";
14432       alias: "e/widgets/everything/main";
14433       alias: "e/widgets/everything/item";
14434       parts {
14435          part {
14436             name: "base";
14437             mouse_events: 0;
14438             type: RECT;
14439             description {
14440                state: "default" 0.0;
14441                color: 0 0 0 0;
14442             }
14443          }
14444       }
14445    }
14446 }