fix border shadow visuals
[platform/upstream/enlightenment.git] / data / themes / edc / border.edc
1 group { name: "e/widgets/border/default/border";
2    alias: "e/widgets/border/shaped/border";
3    images.image: "vgrad_med_lighter.png" COMP;
4    images.image: "vgrad_med_dark.png" COMP;
5    images.image: "bevel_out.png" COMP;
6    images.image: "shine.png" COMP;
7    images.image: "bevel_dark_out.png" COMP;
8    images.image: "sym_close_dark_normal.png" COMP;
9    images.image: "sym_close_dark_selected.png" COMP;
10    images.image: "sym_close_light_normal.png" COMP;
11    images.image: "sym_close_light_selected.png" COMP;
12    images.image: "sym_down_dark_normal.png" COMP;
13    images.image: "sym_down_dark_selected.png" COMP;
14    images.image: "sym_down_light_normal.png" COMP;
15    images.image: "sym_down_light_selected.png" COMP;
16    images.image: "sym_up_dark_normal.png" COMP;
17    images.image: "sym_up_dark_selected.png" COMP;
18    images.image: "sym_up_light_normal.png" COMP;
19    images.image: "sym_up_light_selected.png" COMP;
20    images.image: "glow_round_corners_small.png" COMP;
21    images.image: "knob_round_small_busy.png" COMP;
22    images.image: "screen_circular_shadow.png" COMP;
23    data.item: "shadow" "1";
24    parts {
25       part { name: "client_clip"; type: RECT;
26          description { state: "default" 0.0;
27             rel1.to_y: "e.swallow.client";
28             rel2.to_y: "e.swallow.client";
29          }
30       }
31       part { name: "e.swallow.client"; type: SWALLOW;
32          clip_to: "client_clip";
33          description { state: "default" 0.0;
34             rel1.relative: 0.0 1.0;
35             rel1.to_y: "top";
36             rel2.relative: 1.0 0.0;
37             rel2.to_y: "bottom";
38          }
39          description { state: "shaded" 0.0;
40             inherit: "default" 0.0;
41             rel2.relative: 1.0 1.0;
42             rel2.offset: -1 -1;
43             rel2.to_y: "bottom";
44          }
45          description { state: "max" 0.0;
46             inherit: "default" 0.0;
47             rel2.relative: 1.0 1.0;
48             rel2.offset: -1 -1;
49             rel2.to_y: "bottom";
50          }
51       }
52       part { name: "top";
53          description { state: "default" 0.0;
54             color_class: "border_top";
55             image.normal: "vgrad_med_lighter.png";
56             rel2.to_y: "title2";
57             rel2.offset: -1 -4;
58             fill.smooth: 0;
59             TILED_HORIZ(120)
60          }
61          description { state: "focused" 0.0;
62             inherit: "default" 0.0;
63             image.normal: "vgrad_med_dark.png";
64          }
65       }
66       part { name: "bevel"; mouse_events: 0;
67          description { state: "default" 0.0;
68             image.normal: "bevel_out.png";
69             image.border: 1 1 1 1;
70             image.middle: 0;
71             rel1.to: "top";
72             rel2.to: "top";
73             fill.smooth: 0;
74          }
75       }
76       part { name: "e.text.title"; type: TEXT; mouse_events: 0;
77          scale: 1;
78          effect: SHADOW BOTTOM;
79          description { state: "default" 0.0;
80             color_class: "border_title";
81             rel1.relative: 1.0 0.0;
82             rel1.offset: 1 3;
83             rel1.to_x: "e.event.icon";
84             rel2.relative: 0.0 0.0;
85             rel2.offset: -2 3;
86             rel2.to_x: "e.event.minimize";
87             align: 0.5 0.0;
88             color: 21 21 21 255;
89             color3: 255 255 255 25;
90             text { font: "Sans:style=Bold"; size: 10;
91                text_class: "title_bar";
92                align: 0.5 0.0;
93                min: 0 1;
94             }
95             fixed: 0 1;
96          }
97          description { state: "focused" 0.0;
98             inherit: "default" 0.0;
99             visible: 0;
100          }
101       }
102       part { name: "title2"; type: TEXT; mouse_events: 0;
103          scale: 1;
104          effect: SOFT_SHADOW BOTTOM;
105          description { state: "default" 0.0;
106             color_class: "border_title_active";
107             rel1.relative: 1.0 0.0;
108             rel1.offset: 1 2;
109             rel1.to_x: "e.event.icon";
110             rel2.relative: 0.0 0.0;
111             rel2.offset: -1 2;
112             rel2.to_x: "e.event.minimize";
113             align: 0.5 0.0;
114             color: 255 255 255 255;
115             color3: 0 0 0 18;
116             text { font: "Sans:style=Bold"; size: 10;
117                text_source: "e.text.title";
118                text_class: "title_bar";
119                align: 0.5 0.0;
120                min: 0 1;
121             }
122             fixed: 0 1;
123             visible: 0;
124          }
125          description { state: "focused" 0.0;
126             inherit: "default" 0.0;
127             visible: 1;
128          }
129       }
130       part { name: "icon"; type: SPACER;
131          description { state: "default" 0.0;
132             rel1.to: "e.event.icon";
133             rel2.to: "e.event.icon";
134          }
135          description { state: "bounce1" 0.0;
136             inherit: "default" 0.0;
137             rel1.relative: 0.0 0.15;
138             rel2.relative: 1.0 1.15;
139          }
140          description { state: "bounce2" 0.0;
141             inherit: "default" 0.0;
142             rel1.relative: 0.0 -0.15;
143             rel2.relative: 1.0 0.85;
144          }
145       }
146       part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0;
147          description { state: "default" 0.0;
148             rel1.to: "icon";
149             rel1.relative: 0.15 0.15;
150             rel2.to: "icon";
151             rel2.relative: 0.85 0.85;
152             rel2.offset: 0 0;
153          }
154       }
155       part { name: "busy_clip"; type: RECT; mouse_events: 0;
156          description { state: "default" 0.0;
157             color: 255 255 255 0;
158             visible: 0;
159          }
160          description { state: "hung" 0.0;
161             inherit: "default" 0.0;
162             color: 255 255 255 255;
163             visible: 1;
164          }
165       }
166       part { name: "knob"; mouse_events: 0;
167          clip_to: "busy_clip";
168          description { state: "default" 0.0;
169             fixed: 1 1;
170             image.normal: "knob_round_small_busy.png";
171             aspect: 1.0 1.0; aspect_preference: VERTICAL;
172             max: 20 20;
173             rel1.relative: 1.0 0.0;
174             rel1.offset: 2 -0;
175             rel1.to: "e.event.icon";
176             rel2.relative: 1.0 1.0;
177             rel2.offset: 2 -1;
178             rel2.to: "e.event.icon";
179             align: 0.0 0.5;
180             fixed: 1 1;
181          }
182       }
183       part { name: "knob_spinner"; mouse_events: 0;
184          clip_to: "busy_clip";
185          description { state: "default" 0.0;
186             fixed: 1 1;
187             rel1.to: "knob";
188             rel2.to: "knob";
189             image.normal: "glow_round_corners.png";
190             map.on: 1;
191             map.smooth: 1;
192             map.rotation.center: "knob";
193          }
194          description { state: "spin" 0.0;
195             inherit: "default" 0.0;
196             map.rotation.z: 360;
197          }
198       }
199       part { name: "clip1"; type: RECT; mouse_events: 0;
200          description { state: "default" 0.0;
201             rel1.to: "top";
202             rel2.to: "top";
203          }
204          description { state: "focused" 0.0;
205             inherit: "default" 0.0;
206             visible: 0;
207          }
208       }
209       part { name: "clip2"; type: RECT; mouse_events: 0;
210          description { state: "default" 0.0;
211             rel1.to: "top";
212             rel2.to: "top";
213             visible: 0;
214          }
215          description { state: "focused" 0.0;
216             inherit: "default" 0.0;
217             visible: 1;
218          }
219       }
220       part { name: "close1";  mouse_events: 0;
221          clip_to: "clip1";
222          description { state: "default" 0.0;
223             image.normal: "sym_close_dark_normal.png";
224             rel1.to: "e.event.close";
225             rel2.to: "e.event.close";
226             min: 15 15;
227             max: 15 15;
228             fixed: 1 1;
229          }
230          description { state: "selected" 0.0;
231             inherit: "default" 0.0;
232             image.normal: "sym_close_dark_selected.png";
233          }
234       }
235       part { name: "max1"; mouse_events: 0;
236          clip_to: "clip1";
237          description { state: "default" 0.0;
238             image.normal: "sym_up_dark_normal.png";
239             rel1.to: "e.event.maximize";
240             rel2.to: "e.event.maximize";
241             min: 15 15;
242             max: 15 15;
243             fixed: 1 1;
244          }
245          description { state: "selected" 0.0;
246             inherit: "default" 0.0;
247             image.normal: "sym_up_dark_selected.png";
248          }
249       }
250       part { name: "min1"; mouse_events: 0;
251          clip_to: "clip1";
252          description { state: "default" 0.0;
253             image.normal: "sym_down_dark_normal.png";
254             rel1.to: "e.event.minimize";
255             rel2.to: "e.event.minimize";
256             min: 15 15;
257             max: 15 15;
258             fixed: 1 1;
259          }
260          description { state: "selected" 0.0;
261             inherit: "default" 0.0;
262             image.normal: "sym_down_dark_selected.png";
263          }
264       }
265       part { name: "close2"; mouse_events: 0;
266          clip_to: "clip2";
267          description { state: "default" 0.0;
268             image.normal: "sym_close_light_normal.png";
269             rel1.to: "e.event.close";
270             rel2.to: "e.event.close";
271             min: 15 15;
272             max: 15 15;
273             fixed: 1 1;
274          }
275          description { state: "selected" 0.0;
276             inherit: "default" 0.0;
277             image.normal: "sym_close_light_selected.png";
278          }
279       }
280       part { name: "max2"; mouse_events: 0;
281          clip_to: "clip2";
282          description { state: "default" 0.0;
283             image.normal: "sym_up_light_normal.png";
284             rel1.to: "e.event.maximize";
285             rel2.to: "e.event.maximize";
286             min: 15 15;
287             max: 15 15;
288             fixed: 1 1;
289          }
290          description { state: "selected" 0.0;
291             inherit: "default" 0.0;
292             image.normal: "sym_up_light_selected.png";
293          }
294       }
295       part { name: "min2"; mouse_events: 0;
296          clip_to: "clip2";
297          description { state: "default" 0.0;
298             image.normal: "sym_down_light_normal.png";
299             rel1.to: "e.event.minimize";
300             rel2.to: "e.event.minimize";
301             min: 15 15;
302             max: 15 15;
303             fixed: 1 1;
304          }
305          description { state: "selected" 0.0;
306             inherit: "default" 0.0;
307             image.normal: "sym_down_light_selected.png";
308          }
309       }
310       part { name: "e.event.icon"; type: RECT;
311          description { state: "default" 0.0;
312             rel1.relative: 0.0 0.0;
313             rel2.relative: 0.0 1.0;
314             rel2.to_y: "top";
315             align: 0.0 0.5;
316             aspect: 1.0 1.0; aspect_preference: VERTICAL;
317             color: 0 0 0 0;
318          }
319       }
320       part { name: "e.event.titlebar"; type: RECT;
321          description { state: "default" 0.0;
322             rel1.relative: 1.0 0.0;
323             rel1.to_x: "e.event.icon";
324             rel2.relative: 0.0 1.0;
325             rel2.to_x: "e.event.minimize";
326             rel2.to_y: "top";
327             color: 0 0 0 0;
328          }
329       }
330       part { name: "e.event.close"; type: RECT;
331          description { state: "default" 0.0;
332             rel1.relative: 1.0 0.0;
333             rel2.relative: 1.0 1.0;
334             rel2.to_y: "top";
335             align: 1.0 0.5;
336             aspect: 1.0 1.0; aspect_preference: VERTICAL;
337             color: 0 0 0 0;
338          }
339       }
340       part { name: "e.event.maximize"; type: RECT;
341          description { state: "default" 0.0;
342             rel1.relative: -0.25 0.0;
343             rel1.offset: -1 0;
344             rel1.to_x: "e.event.close";
345             rel2.relative: -0.25 1.0;
346             rel2.to_y: "top";
347             rel2.to_x: "e.event.close";
348             align: 1.0 0.5;
349             aspect: 1.0 1.0; aspect_preference: VERTICAL;
350             color: 0 0 0 0;
351          }
352       }
353       part { name: "e.event.minimize"; type: RECT;
354          description { state: "default" 0.0;
355             rel1.relative: 0.0 0.0;
356             rel1.offset: -1 0;
357             rel1.to_x: "e.event.maximize";
358             rel2.relative: 0.0 1.0;
359             rel2.to_y: "top";
360             rel2.to_x: "e.event.maximize";
361             align: 1.0 0.5;
362             aspect: 1.0 1.0; aspect_preference: VERTICAL;
363             color: 0 0 0 0;
364          }
365       }
366       part { name: "e.event.resize.tl"; type: RECT;
367          description { state: "default" 0.0;
368             rel2.relative: 0.0 0.0;
369             min: 32 4;
370             align: 0.0 0.0;
371             color: 0 0 0 0;
372          }
373       }
374       part { name: "e.event.resize.t"; type: RECT;
375          description { state: "default" 0.0;
376             rel1.relative: 1.0 0.0;
377             rel1.to_x: "e.event.resize.tl";
378             rel2.relative: 0.0 0.0;
379             rel2.to_x: "e.event.resize.tr";
380             min: 0 4;
381             align: 0.5 0.0;
382             color: 0 0 0 0;
383          }
384       }
385       part { name: "e.event.resize.tr"; type: RECT;
386          description { state: "default" 0.0;
387             rel1.relative: 1.0 0.0;
388             rel2.relative: 1.0 0.0;
389             min: 32 4;
390             align: 1.0 0.0;
391             color: 0 0 0 0;
392          }
393       }
394       part { name: "bottom"; type: RECT; mouse_events: 0;
395          description { state: "default" 0.0;
396             color_class: "border_bottom";
397             rel1.relative: 0.0 1.0;
398             rel1.offset: 0 -5;
399             rel2.relative: 1.0 1.0;
400             min: 0 5;
401             color: 64 64 64 255;
402             fixed: 0 1;
403          }
404          description { state: "shaded" 0.0;
405             inherit: "default" 0.0;
406             min: 0 0;
407             visible: 0;
408          }
409          description { state: "max" 0.0;
410             inherit: "default" 0.0;
411             min: 0 0;
412             visible: 0;
413          }
414       }
415       part { name: "bevel2"; mouse_events: 0;
416          description { state: "default" 0.0;
417             image.normal: "bevel_dark_out.png";
418             image.border: 1 1 1 1;
419             image.middle: 0;
420             rel1.to: "bottom";
421             rel2.to: "bottom";
422             fill.smooth: 0;
423          }
424          description { state: "shaded" 0.0;
425             inherit: "default" 0.0;
426             visible: 0;
427          }
428          description { state: "max" 0.0;
429             inherit: "default" 0.0;
430             visible: 0;
431          }
432       }
433       part { name: "shadow";
434          mouse_events: 0;
435          description { state: "default" 0.0;
436             image.normal: "win_shadow.png";
437             image.border: 14 14 14 14;
438             image.middle: 0;
439             rel1.to: "top";
440             rel1.offset: -7 -3;
441             rel2.to: "bottom";
442             rel2.offset: 6 11;
443             fill.smooth: 0;
444          }
445          description { state: "hidden" 0.0;
446             inherit: "default" 0.0;
447             visible: 0;
448          }
449       }
450       part { name: "e.event.resize.bl"; type: RECT;
451          description { state: "default" 0.0;
452             rel1.relative: 0.0 1.0;
453             rel2.relative: 0.0 1.0;
454             min: 32 5;
455             align: 0.0 1.0;
456             color: 0 0 0 0;
457             fixed: 1 1;
458          }
459          description { state: "shaded" 0.0;
460             inherit: "default" 0.0;
461             min: 0 0;
462             visible: 0;
463          }
464          description { state: "max" 0.0;
465             inherit: "default" 0.0;
466             min: 0 0;
467             visible: 0;
468          }
469       }
470       part { name: "e.event.resize.b"; type: RECT;
471          description { state: "default" 0.0;
472             rel1.relative: 1.0 1.0;
473             rel1.to_x: "e.event.resize.tl";
474             rel2.relative: 0.0 1.0;
475             rel2.to_x: "e.event.resize.tr";
476             min: 0 5;
477             align: 0.5 1.0;
478             color: 0 0 0 0;
479             fixed: 0 1;
480          }
481          description { state: "shaded" 0.0;
482             inherit: "default" 0.0;
483             min: 0 0;
484             visible: 0;
485          }
486          description { state: "max" 0.0;
487             inherit: "default" 0.0;
488             min: 0 0;
489             visible: 0;
490          }
491       }
492       part { name: "e.event.resize.br"; type: RECT;
493          description { state: "default" 0.0;
494             rel1.relative: 1.0 1.0;
495             rel2.relative: 1.0 1.0;
496             min: 32 5;
497             align: 1.0 1.0;
498             color: 0 0 0 0;
499             fixed: 1 1;
500          }
501          description { state: "shaded" 0.0;
502             inherit: "default" 0.0;
503             min: 0 0;
504             visible: 0;
505          }
506          description { state: "max" 0.0;
507             inherit: "default" 0.0;
508             min: 0 0;
509             visible: 0;
510          }
511       }
512       part { name: "shine"; mouse_events: 0;
513          description { state: "default" 0.0;
514             image.normal: "shine.png";
515             rel1.offset: 0 -2;
516             rel1.to: "top";
517             rel2.relative: 1.0 0.0;
518             rel2.offset: -1 2;
519             rel2.to: "top";
520             FIXED_SIZE(69, 5)
521          }
522       }
523       part { name: "events"; type: RECT; repeat_events: 1;
524         description { state: "default";
525            color: 0 0 0 0;
526         }
527       }
528    }
529    programs {
530       program {
531          signal: "e,state,shadow,on"; source: "e";
532          action: STATE_SET "default" 0.0;
533          target: "shadow";
534       }
535       program {
536          signal: "e,state,shadow,off"; source: "e";
537          action: STATE_SET "hidden" 0.0;
538          target: "shadow";
539       }
540       program {
541          signal: "e,state,focused"; source: "e";
542          action: STATE_SET "focused" 0.0;
543          target: "top";
544          target: "e.text.title";
545          target: "title2";
546          target: "clip1";
547          target: "clip2";
548       }
549       program {
550          signal: "e,state,unfocused"; source: "e";
551          action: STATE_SET "default" 0.0;
552          target: "top";
553          target: "e.text.title";
554          target: "title2";
555          target: "clip1";
556          target: "clip2";
557       }
558       program {
559          signal: "e,state,urgent"; source: "e";
560          action: STATE_SET "bounce1" 0.0;
561          target: "icon";
562          after: "urg1";
563       }
564       program { name: "urg1";
565          action: STATE_SET "bounce2" 0.0;
566          transition: DECELERATE 0.2;
567          target: "icon";
568          after: "urg2";
569       }
570       program { name: "urg2";
571          action: STATE_SET "bounce1" 0.0;
572          transition: ACCELERATE 0.2;
573          target: "icon";
574          after: "urg1";
575       }
576       program {
577          signal: "e,state,not_urgent"; source: "e";
578          action: STATE_SET "default" 0.0;
579          target: "icon";
580       }
581       program { name: "spin";
582          signal: "e,state,hung"; source: "e";
583          action: STATE_SET "spin" 0.0;
584          transition: LINEAR 1.0;
585          target: "knob_spinner";
586          after: "spin2";
587       }
588       program { name: "spin2";
589          action: STATE_SET "default" 0.0;
590          target: "knob_spinner";
591          after: "spin";
592       }
593       program {
594          signal: "e,state,hung"; source: "e";
595          action: STATE_SET "hung" 0.0;
596          transition: SINUSOIDAL 0.25;
597          target: "busy_clip";
598       }
599       program {
600          signal: "e,state,unhung"; source: "e";
601          action: STATE_SET "default" 0.0;
602          transition: SINUSOIDAL 1.0;
603          target: "busy_clip";
604          after: "spin3";
605       }
606       program { name: "spin3";
607          action: ACTION_STOP;
608          target: "spin";
609          target: "spin2";
610          after: "spin4";
611       }
612       program { name: "spin4";
613          action: STATE_SET "default" 0.0;
614          target: "knob_spinner";
615       }
616       program {
617          signal: "e,state,shaded"; source: "e";
618          action: STATE_SET "shaded" 0.0;
619          target: "e.swallow.client";
620          target: "bottom";
621          target: "bevel2";
622          target: "e.event.resize.bl";
623          target: "e.event.resize.b";
624          target: "e.event.resize.br";
625       }
626 //      program {
627 //         signal: "e,state,shading"; source: "e";
628 //      }
629 //      program {
630 //         signal: "e,state,unshaded"; source: "e";
631 //      }
632       program {
633          signal: "e,state,unshading"; source: "e";
634          action: STATE_SET "default" 0.0;
635          target: "e.swallow.client";
636          target: "bottom";
637          target: "bevel2";
638          target: "e.event.resize.bl";
639          target: "e.event.resize.b";
640          target: "e.event.resize.br";
641       }
642 //      program {
643 //         signal: "e,action,maximize"; source: "e";
644 //      }
645 //      program {
646 //         signal: "e,action,unmaximize"; source: "e";
647 //      }
648 //      program {
649 //         signal: "e,action,maximize,fullscreen"; source: "e";
650 //      }
651 //      program {
652 //         signal: "e,action,unmaximize,fullscreen"; source: "e";
653 //      }
654       program {
655          signal: "e,action,maximize*"; source: "e";
656          action: STATE_SET "max" 0.0;
657          target: "e.swallow.client";
658          target: "bottom";
659          target: "bevel2";
660          target: "e.event.resize.bl";
661          target: "e.event.resize.b";
662          target: "e.event.resize.br";
663       }
664       program {
665          signal: "e,action,unmaximize*"; source: "e";
666          action: STATE_SET "default" 0.0;
667          target: "e.swallow.client";
668          target: "bottom";
669          target: "bevel2";
670          target: "e.event.resize.bl";
671          target: "e.event.resize.b";
672          target: "e.event.resize.br";
673       }
674       program {
675          signal: "mouse,down,*"; source: "e.event.close";
676          action: STATE_SET "selected" 0.0;
677          target: "close1";
678          target: "close2";
679       }
680       program {
681          signal: "mouse,up,*"; source: "e.event.close";
682          action: STATE_SET "default" 0.0;
683          target: "close1";
684          target: "close2";
685       }
686       program {
687          signal: "mouse,down,*"; source: "e.event.maximize";
688          action: STATE_SET "selected" 0.0;
689          target: "max1";
690          target: "max2";
691       }
692       program {
693          signal: "mouse,up,*"; source: "e.event.maximize";
694          action: STATE_SET "default" 0.0;
695          target: "max1";
696          target: "max2";
697       }
698       program {
699          signal: "mouse,down,*"; source: "e.event.minimize";
700          action: STATE_SET "selected" 0.0;
701          target: "min1";
702          target: "min2";
703       }
704       program {
705          signal: "mouse,up,*"; source: "e.event.minimize";
706          action: STATE_SET "default" 0.0;
707          target: "min1";
708          target: "min2";
709       }
710    }
711 }
712
713 group { name: "e/widgets/border/dialog/border";
714    inherit: "e/widgets/border/default/border";
715    parts {
716       part { name: "max1";
717          description { state: "default" 0.0;
718             min: 0 0;
719             max: 0 0;
720             visible: 0;
721          }
722          description { state: "selected" 0.0;
723             min: 0 0;
724             max: 0 0;
725             visible: 0;
726          }
727       }
728       part { name: "min1";
729          description { state: "default" 0.0;
730             min: 0 0;
731             max: 0 0;
732             visible: 0;
733          }
734          description { state: "selected" 0.0;
735             min: 0 0;
736             max: 0 0;
737             visible: 0;
738          }
739       }
740       part { name: "max2";
741          description { state: "default" 0.0;
742             min: 0 0;
743             max: 0 0;
744             visible: 0;
745          }
746          description { state: "selected" 0.0;
747             min: 0 0;
748             max: 0 0;
749             visible: 0;
750          }
751       }
752       part { name: "min2";
753          description { state: "default" 0.0;
754             min: 0 0;
755             max: 0 0;
756             visible: 0;
757          }
758          description { state: "selected" 0.0;
759             min: 0 0;
760             max: 0 0;
761             visible: 0;
762          }
763       }
764       part { name: "e.event.titlebar";
765          description { state: "default" 0.0;
766             rel2.to_x: "e.event.close";
767          }
768       }
769       part { name: "e.event.maximize";
770          description { state: "default" 0.0;
771             max: 0 0;
772             aspect: 0.0 0.0;
773             visible: 0;
774             fixed: 1 1;
775          }
776       }
777       part { name: "e.event.minimize";
778          description { state: "default" 0.0;
779             max: 0 0;
780             aspect: 0.0 0.0;
781             visible: 0;
782             fixed: 1 1;
783          }
784       }
785    }
786 }
787
788 group { name: "e/widgets/border/noresize/border";
789    inherit: "e/widgets/border/default/border";
790    parts {
791       part { name: "e.swallow.client"; type: SWALLOW;
792          description { state: "default" 0.0;
793             rel2.relative: 1.0 1.0;
794          }
795       }
796       part { name: "bottom"; type: RECT;
797          description { state: "default" 0.0;
798             color_class: "border_bottom";
799             rel1.relative: 0.0 1.0;
800             rel1.offset: 0 -1;
801             rel2.relative: 1.0 1.0;
802             min: 0 0;
803             fixed: 0 1;
804             visible: 0;
805          }
806       }
807       part { name: "bevel2";
808          description { state: "default" 0.0;
809             visible: 0;
810          }
811       }
812       part { name: "e.event.resize.bl";
813          description { state: "default" 0.0;
814             min: 0 0;
815             visible: 0;
816          }
817       }
818       part { name: "e.event.resize.b";
819          description { state: "default" 0.0;
820             min: 0 0;
821             visible: 0;
822          }
823       }
824       part { name: "e.event.resize.br";
825          description { state: "default" 0.0;
826             min: 0 0;
827             visible: 0;
828          }
829       }
830    }
831 }
832
833 group { name: "e/widgets/border/noresize_dialog/border";
834    inherit: "e/widgets/border/dialog/border";
835    parts {
836       part { name: "e.swallow.client"; type: SWALLOW;
837          description { state: "default" 0.0;
838             rel2.relative: 1.0 1.0;
839          }
840       }
841       part { name: "bottom"; type: RECT;
842          description { state: "default" 0.0;
843             color_class: "border_bottom";
844             rel1.relative: 0.0 1.0;
845             rel1.offset: 0 -1;
846             rel2.relative: 1.0 1.0;
847             min: 0 0;
848             fixed: 0 1;
849             visible: 0;
850          }
851       }
852       part { name: "bevel2";
853          description { state: "default" 0.0;
854             visible: 0;
855          }
856       }
857       part { name: "e.event.resize.bl";
858          description { state: "default" 0.0;
859             min: 0 0;
860             visible: 0;
861          }
862       }
863       part { name: "e.event.resize.b";
864          description { state: "default" 0.0;
865             min: 0 0;
866             visible: 0;
867          }
868       }
869       part { name: "e.event.resize.br";
870          description { state: "default" 0.0;
871             min: 0 0;
872             visible: 0;
873          }
874       }
875    }
876 }
877
878 group { name: "e/widgets/border/pixel/border";
879    parts {
880       part { name: "client_clip"; type: RECT;
881          description { state: "default" 0.0;
882             rel1.to_y: "e.swallow.client";
883             rel2.to_y: "e.swallow.client";
884          }
885       }
886       part { name: "e.swallow.client"; type: SWALLOW;
887          description { state: "default" 0.0;
888             rel1.offset: 1 1;
889             rel2.offset: -2 -2;
890          }
891       }
892       part { name: "top"; type: RECT;
893          description { state: "default" 0.0;
894             color: 0 0 0 255;
895             align: 0.0 0.0;
896             max: 99999 1;
897          }
898          description { state: "focused" 0.0;
899             inherit: "default" 0.0;
900             color: 51 153 255 255;
901          }
902       }
903       part { name: "bottom"; type: RECT;
904          description { state: "default" 0.0;
905             color: 0 0 0 255;
906             align: 0.0 1.0;
907             max: 99999 1;
908          }
909          description { state: "focused" 0.0;
910             inherit: "default" 0.0;
911             color: 51 153 255 255;
912          }
913       }
914       part { name: "left"; type: RECT;
915          description { state: "default" 0.0;
916             color: 0 0 0 255;
917             align: 0.0 0.0;
918             max: 1 99999;
919          }
920          description { state: "focused" 0.0;
921             inherit: "default" 0.0;
922             color: 51 153 255 255;
923          }
924       }
925       part { name: "right"; type: RECT;
926          description { state: "default" 0.0;
927             color: 0 0 0 255;
928             align: 1.0 0.0;
929             max: 1 99999;
930          }
931          description { state: "focused" 0.0;
932             inherit: "default" 0.0;
933             color: 51 153 255 255;
934          }
935       }
936       part { name: "e.event.resize.tl"; type: RECT;
937          description { state: "default" 0.0;
938             rel2.relative: 0.0 0.0;
939             min: 32 4;
940             align: 0.0 0.0;
941             color: 0 0 0 0;
942          }
943       }
944       part { name: "e.event.resize.t"; type: RECT;
945          description { state: "default" 0.0;
946             rel1.relative: 1.0 0.0;
947             rel1.to_x: "e.event.resize.tl";
948             rel2.relative: 0.0 0.0;
949             rel2.to_x: "e.event.resize.tr";
950             min: 0 4;
951             align: 0.5 0.0;
952             color: 0 0 0 0;
953          }
954       }
955       part { name: "e.event.resize.tr"; type: RECT;
956          description { state: "default" 0.0;
957             rel1.relative: 1.0 0.0;
958             rel2.relative: 1.0 0.0;
959             min: 32 4;
960             align: 1.0 0.0;
961             color: 0 0 0 0;
962          }
963       }
964       part { name: "e.event.resize.bl"; type: RECT;
965          description { state: "default" 0.0;
966             rel1.relative: 0.0 1.0;
967             rel2.relative: 0.0 1.0;
968             min: 32 5;
969             align: 0.0 1.0;
970             color: 0 0 0 0;
971             fixed: 1 1;
972          }
973       }
974       part { name: "e.event.resize.b"; type: RECT;
975          description { state: "default" 0.0;
976             rel1.relative: 1.0 1.0;
977             rel1.to_x: "e.event.resize.tl";
978             rel2.relative: 0.0 1.0;
979             rel2.to_x: "e.event.resize.tr";
980             min: 0 5;
981             align: 0.5 1.0;
982             color: 0 0 0 0;
983             fixed: 0 1;
984          }
985       }
986       part { name: "e.event.resize.br"; type: RECT;
987          description { state: "default" 0.0;
988             rel1.relative: 1.0 1.0;
989             rel2.relative: 1.0 1.0;
990             min: 32 5;
991             align: 1.0 1.0;
992             color: 0 0 0 0;
993             fixed: 1 1;
994          }
995       }
996    }
997    programs {
998       program {
999          signal: "e,state,focused"; source: "e";
1000          action: STATE_SET "focused" 0.0;
1001          target: "top";
1002          target: "bottom";
1003          target: "left";
1004          target: "right";
1005       }
1006       program {
1007          signal: "e,state,unfocused"; source: "e";
1008          action: STATE_SET "default" 0.0;
1009          target: "top";
1010          target: "bottom";
1011          target: "left";
1012          target: "right";
1013       }
1014    }
1015 }
1016
1017 group { name: "e/widgets/border/default/move";
1018    images.image: "vgrad_tall.png" COMP;
1019    images.image: "bevel_out.png" COMP;
1020    images.image: "shine.png" COMP;
1021    images.image: "ic_win_move.png" COMP;
1022    parts {
1023       part { name: "bg"; mouse_events: 0;
1024          description { state: "default" 0.0;
1025             image.normal: "vgrad_tall.png";
1026             fill.smooth: 0;
1027             TILED_HORIZ(40)
1028          }
1029       }
1030       part { name: "bevel"; mouse_events: 0;
1031          description { state: "default" 0.0;
1032             image.normal: "bevel_out.png";
1033             image.border: 1 1 1 1;
1034             image.middle: 0;
1035             fill.smooth: 0;
1036          }
1037       }
1038       part { name: "icon";
1039          description { state: "default" 0.0;
1040             align: 0.0 0.5;
1041             FIXED_SIZE(21, 21)
1042             rel1.offset: 2 2;
1043             rel2.relative: 0.0 1.0;
1044             rel2.offset: 2 -3;
1045             image.normal: "ic_win_move.png";
1046          }
1047       }
1048       part { name: "e.text.label"; type: TEXT;
1049          effect: SHADOW BOTTOM;
1050          scale: 1;
1051          description { state: "default" 0.0;
1052             rel1.to_x: "icon";
1053             rel1.offset: 4 4;
1054             rel1.relative: 1.0 0.0;
1055             rel2.offset: -5 -5;
1056             color: 255 255 255 255;
1057             color3: 0 0 0 128;
1058             color_class: "move_text";
1059             text { font: "Sans"; size: 10;
1060                min: 1 1;
1061                text_class: "move_text";
1062             }
1063          }
1064       }
1065       part { name: "shine"; mouse_events: 0;
1066          description { state: "default" 0.0;
1067             image.normal: "shine.png";
1068             rel1.offset: 0 -2;
1069             rel2.relative: 1.0 0.0;
1070             rel2.offset: -1 2;
1071             FIXED_SIZE(69, 5)
1072          }
1073       }
1074    }
1075 }
1076
1077 group { name: "e/widgets/border/default/resize";
1078    inherit: "e/widgets/border/default/move";
1079    images.image: "ic_win_resize.png" COMP;
1080    parts {
1081       part { name: "icon";
1082          description { state: "default" 0.0;
1083             image.normal: "ic_win_resize.png";
1084          }
1085       }
1086    }
1087 }