d445a47bf4ab373e1020c5beb37cfc5a7ed90098
[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.relative: 0.0 1.0;
440             rel1.to: "top";
441             rel1.offset: -7 -3;
442             rel2.to: "bottom";
443             rel2.offset: 6 11;
444             fill.smooth: 0;
445          }
446          description { state: "hidden" 0.0;
447             inherit: "default" 0.0;
448             visible: 0;
449          }
450       }
451       part { name: "e.event.resize.bl"; type: RECT;
452          description { state: "default" 0.0;
453             rel1.relative: 0.0 1.0;
454             rel2.relative: 0.0 1.0;
455             min: 32 5;
456             align: 0.0 1.0;
457             color: 0 0 0 0;
458             fixed: 1 1;
459          }
460          description { state: "shaded" 0.0;
461             inherit: "default" 0.0;
462             min: 0 0;
463             visible: 0;
464          }
465          description { state: "max" 0.0;
466             inherit: "default" 0.0;
467             min: 0 0;
468             visible: 0;
469          }
470       }
471       part { name: "e.event.resize.b"; type: RECT;
472          description { state: "default" 0.0;
473             rel1.relative: 1.0 1.0;
474             rel1.to_x: "e.event.resize.tl";
475             rel2.relative: 0.0 1.0;
476             rel2.to_x: "e.event.resize.tr";
477             min: 0 5;
478             align: 0.5 1.0;
479             color: 0 0 0 0;
480             fixed: 0 1;
481          }
482          description { state: "shaded" 0.0;
483             inherit: "default" 0.0;
484             min: 0 0;
485             visible: 0;
486          }
487          description { state: "max" 0.0;
488             inherit: "default" 0.0;
489             min: 0 0;
490             visible: 0;
491          }
492       }
493       part { name: "e.event.resize.br"; type: RECT;
494          description { state: "default" 0.0;
495             rel1.relative: 1.0 1.0;
496             rel2.relative: 1.0 1.0;
497             min: 32 5;
498             align: 1.0 1.0;
499             color: 0 0 0 0;
500             fixed: 1 1;
501          }
502          description { state: "shaded" 0.0;
503             inherit: "default" 0.0;
504             min: 0 0;
505             visible: 0;
506          }
507          description { state: "max" 0.0;
508             inherit: "default" 0.0;
509             min: 0 0;
510             visible: 0;
511          }
512       }
513       part { name: "shine"; mouse_events: 0;
514          description { state: "default" 0.0;
515             image.normal: "shine.png";
516             rel1.offset: 0 -2;
517             rel1.to: "top";
518             rel2.relative: 1.0 0.0;
519             rel2.offset: -1 2;
520             rel2.to: "top";
521             FIXED_SIZE(69, 5)
522          }
523       }
524       part { name: "events"; type: RECT; repeat_events: 1;
525         description { state: "default";
526            color: 0 0 0 0;
527         }
528       }
529    }
530    programs {
531       program {
532          signal: "e,state,shadow,on"; source: "e";
533          action: STATE_SET "default" 0.0;
534          target: "shadow";
535       }
536       program {
537          signal: "e,state,shadow,off"; source: "e";
538          action: STATE_SET "hidden" 0.0;
539          target: "shadow";
540       }
541       program {
542          signal: "e,state,focused"; source: "e";
543          action: STATE_SET "focused" 0.0;
544          target: "top";
545          target: "e.text.title";
546          target: "title2";
547          target: "clip1";
548          target: "clip2";
549       }
550       program {
551          signal: "e,state,unfocused"; source: "e";
552          action: STATE_SET "default" 0.0;
553          target: "top";
554          target: "e.text.title";
555          target: "title2";
556          target: "clip1";
557          target: "clip2";
558       }
559       program {
560          signal: "e,state,urgent"; source: "e";
561          action: STATE_SET "bounce1" 0.0;
562          target: "icon";
563          after: "urg1";
564       }
565       program { name: "urg1";
566          action: STATE_SET "bounce2" 0.0;
567          transition: DECELERATE 0.2;
568          target: "icon";
569          after: "urg2";
570       }
571       program { name: "urg2";
572          action: STATE_SET "bounce1" 0.0;
573          transition: ACCELERATE 0.2;
574          target: "icon";
575          after: "urg1";
576       }
577       program {
578          signal: "e,state,not_urgent"; source: "e";
579          action: STATE_SET "default" 0.0;
580          target: "icon";
581       }
582       program { name: "spin";
583          signal: "e,state,hung"; source: "e";
584          action: STATE_SET "spin" 0.0;
585          transition: LINEAR 1.0;
586          target: "knob_spinner";
587          after: "spin2";
588       }
589       program { name: "spin2";
590          action: STATE_SET "default" 0.0;
591          target: "knob_spinner";
592          after: "spin";
593       }
594       program {
595          signal: "e,state,hung"; source: "e";
596          action: STATE_SET "hung" 0.0;
597          transition: SINUSOIDAL 0.25;
598          target: "busy_clip";
599       }
600       program {
601          signal: "e,state,unhung"; source: "e";
602          action: STATE_SET "default" 0.0;
603          transition: SINUSOIDAL 1.0;
604          target: "busy_clip";
605          after: "spin3";
606       }
607       program { name: "spin3";
608          action: ACTION_STOP;
609          target: "spin";
610          target: "spin2";
611          after: "spin4";
612       }
613       program { name: "spin4";
614          action: STATE_SET "default" 0.0;
615          target: "knob_spinner";
616       }
617       program {
618          signal: "e,state,shaded"; source: "e";
619          action: STATE_SET "shaded" 0.0;
620          target: "e.swallow.client";
621          target: "bottom";
622          target: "bevel2";
623          target: "e.event.resize.bl";
624          target: "e.event.resize.b";
625          target: "e.event.resize.br";
626       }
627 //      program {
628 //         signal: "e,state,shading"; source: "e";
629 //      }
630 //      program {
631 //         signal: "e,state,unshaded"; source: "e";
632 //      }
633       program {
634          signal: "e,state,unshading"; source: "e";
635          action: STATE_SET "default" 0.0;
636          target: "e.swallow.client";
637          target: "bottom";
638          target: "bevel2";
639          target: "e.event.resize.bl";
640          target: "e.event.resize.b";
641          target: "e.event.resize.br";
642       }
643 //      program {
644 //         signal: "e,action,maximize"; source: "e";
645 //      }
646 //      program {
647 //         signal: "e,action,unmaximize"; source: "e";
648 //      }
649 //      program {
650 //         signal: "e,action,maximize,fullscreen"; source: "e";
651 //      }
652 //      program {
653 //         signal: "e,action,unmaximize,fullscreen"; source: "e";
654 //      }
655       program {
656          signal: "e,action,maximize*"; source: "e";
657          action: STATE_SET "max" 0.0;
658          target: "e.swallow.client";
659          target: "bottom";
660          target: "bevel2";
661          target: "e.event.resize.bl";
662          target: "e.event.resize.b";
663          target: "e.event.resize.br";
664       }
665       program {
666          signal: "e,action,unmaximize*"; source: "e";
667          action: STATE_SET "default" 0.0;
668          target: "e.swallow.client";
669          target: "bottom";
670          target: "bevel2";
671          target: "e.event.resize.bl";
672          target: "e.event.resize.b";
673          target: "e.event.resize.br";
674       }
675       program {
676          signal: "mouse,down,*"; source: "e.event.close";
677          action: STATE_SET "selected" 0.0;
678          target: "close1";
679          target: "close2";
680       }
681       program {
682          signal: "mouse,up,*"; source: "e.event.close";
683          action: STATE_SET "default" 0.0;
684          target: "close1";
685          target: "close2";
686       }
687       program {
688          signal: "mouse,down,*"; source: "e.event.maximize";
689          action: STATE_SET "selected" 0.0;
690          target: "max1";
691          target: "max2";
692       }
693       program {
694          signal: "mouse,up,*"; source: "e.event.maximize";
695          action: STATE_SET "default" 0.0;
696          target: "max1";
697          target: "max2";
698       }
699       program {
700          signal: "mouse,down,*"; source: "e.event.minimize";
701          action: STATE_SET "selected" 0.0;
702          target: "min1";
703          target: "min2";
704       }
705       program {
706          signal: "mouse,up,*"; source: "e.event.minimize";
707          action: STATE_SET "default" 0.0;
708          target: "min1";
709          target: "min2";
710       }
711    }
712 }
713
714 group { name: "e/widgets/border/dialog/border";
715    inherit: "e/widgets/border/default/border";
716    parts {
717       part { name: "max1";
718          description { state: "default" 0.0;
719             min: 0 0;
720             max: 0 0;
721             visible: 0;
722          }
723          description { state: "selected" 0.0;
724             min: 0 0;
725             max: 0 0;
726             visible: 0;
727          }
728       }
729       part { name: "min1";
730          description { state: "default" 0.0;
731             min: 0 0;
732             max: 0 0;
733             visible: 0;
734          }
735          description { state: "selected" 0.0;
736             min: 0 0;
737             max: 0 0;
738             visible: 0;
739          }
740       }
741       part { name: "max2";
742          description { state: "default" 0.0;
743             min: 0 0;
744             max: 0 0;
745             visible: 0;
746          }
747          description { state: "selected" 0.0;
748             min: 0 0;
749             max: 0 0;
750             visible: 0;
751          }
752       }
753       part { name: "min2";
754          description { state: "default" 0.0;
755             min: 0 0;
756             max: 0 0;
757             visible: 0;
758          }
759          description { state: "selected" 0.0;
760             min: 0 0;
761             max: 0 0;
762             visible: 0;
763          }
764       }
765       part { name: "e.event.titlebar";
766          description { state: "default" 0.0;
767             rel2.to_x: "e.event.close";
768          }
769       }
770       part { name: "e.event.maximize";
771          description { state: "default" 0.0;
772             max: 0 0;
773             aspect: 0.0 0.0;
774             visible: 0;
775             fixed: 1 1;
776          }
777       }
778       part { name: "e.event.minimize";
779          description { state: "default" 0.0;
780             max: 0 0;
781             aspect: 0.0 0.0;
782             visible: 0;
783             fixed: 1 1;
784          }
785       }
786    }
787 }
788
789 group { name: "e/widgets/border/noresize/border";
790    inherit: "e/widgets/border/default/border";
791    parts {
792       part { name: "e.swallow.client"; type: SWALLOW;
793          description { state: "default" 0.0;
794             rel2.relative: 1.0 1.0;
795          }
796       }
797       part { name: "bottom"; type: RECT;
798          description { state: "default" 0.0;
799             color_class: "border_bottom";
800             rel1.relative: 0.0 1.0;
801             rel1.offset: 0 -1;
802             rel2.relative: 1.0 1.0;
803             min: 0 0;
804             fixed: 0 1;
805             visible: 0;
806          }
807       }
808       part { name: "bevel2";
809          description { state: "default" 0.0;
810             visible: 0;
811          }
812       }
813       part { name: "e.event.resize.bl";
814          description { state: "default" 0.0;
815             min: 0 0;
816             visible: 0;
817          }
818       }
819       part { name: "e.event.resize.b";
820          description { state: "default" 0.0;
821             min: 0 0;
822             visible: 0;
823          }
824       }
825       part { name: "e.event.resize.br";
826          description { state: "default" 0.0;
827             min: 0 0;
828             visible: 0;
829          }
830       }
831    }
832 }
833
834 group { name: "e/widgets/border/noresize_dialog/border";
835    inherit: "e/widgets/border/dialog/border";
836    parts {
837       part { name: "e.swallow.client"; type: SWALLOW;
838          description { state: "default" 0.0;
839             rel2.relative: 1.0 1.0;
840          }
841       }
842       part { name: "bottom"; type: RECT;
843          description { state: "default" 0.0;
844             color_class: "border_bottom";
845             rel1.relative: 0.0 1.0;
846             rel1.offset: 0 -1;
847             rel2.relative: 1.0 1.0;
848             min: 0 0;
849             fixed: 0 1;
850             visible: 0;
851          }
852       }
853       part { name: "bevel2";
854          description { state: "default" 0.0;
855             visible: 0;
856          }
857       }
858       part { name: "e.event.resize.bl";
859          description { state: "default" 0.0;
860             min: 0 0;
861             visible: 0;
862          }
863       }
864       part { name: "e.event.resize.b";
865          description { state: "default" 0.0;
866             min: 0 0;
867             visible: 0;
868          }
869       }
870       part { name: "e.event.resize.br";
871          description { state: "default" 0.0;
872             min: 0 0;
873             visible: 0;
874          }
875       }
876    }
877 }
878
879 group { name: "e/widgets/border/pixel/border";
880    parts {
881       part { name: "client_clip"; type: RECT;
882          description { state: "default" 0.0;
883             rel1.to_y: "e.swallow.client";
884             rel2.to_y: "e.swallow.client";
885          }
886       }
887       part { name: "e.swallow.client"; type: SWALLOW;
888          description { state: "default" 0.0;
889             rel1.offset: 1 1;
890             rel2.offset: -2 -2;
891          }
892       }
893       part { name: "top"; type: RECT;
894          description { state: "default" 0.0;
895             color: 0 0 0 255;
896             align: 0.0 0.0;
897             max: 99999 1;
898          }
899          description { state: "focused" 0.0;
900             inherit: "default" 0.0;
901             color: 51 153 255 255;
902          }
903       }
904       part { name: "bottom"; type: RECT;
905          description { state: "default" 0.0;
906             color: 0 0 0 255;
907             align: 0.0 1.0;
908             max: 99999 1;
909          }
910          description { state: "focused" 0.0;
911             inherit: "default" 0.0;
912             color: 51 153 255 255;
913          }
914       }
915       part { name: "left"; type: RECT;
916          description { state: "default" 0.0;
917             color: 0 0 0 255;
918             align: 0.0 0.0;
919             max: 1 99999;
920          }
921          description { state: "focused" 0.0;
922             inherit: "default" 0.0;
923             color: 51 153 255 255;
924          }
925       }
926       part { name: "right"; type: RECT;
927          description { state: "default" 0.0;
928             color: 0 0 0 255;
929             align: 1.0 0.0;
930             max: 1 99999;
931          }
932          description { state: "focused" 0.0;
933             inherit: "default" 0.0;
934             color: 51 153 255 255;
935          }
936       }
937       part { name: "e.event.resize.tl"; type: RECT;
938          description { state: "default" 0.0;
939             rel2.relative: 0.0 0.0;
940             min: 32 4;
941             align: 0.0 0.0;
942             color: 0 0 0 0;
943          }
944       }
945       part { name: "e.event.resize.t"; type: RECT;
946          description { state: "default" 0.0;
947             rel1.relative: 1.0 0.0;
948             rel1.to_x: "e.event.resize.tl";
949             rel2.relative: 0.0 0.0;
950             rel2.to_x: "e.event.resize.tr";
951             min: 0 4;
952             align: 0.5 0.0;
953             color: 0 0 0 0;
954          }
955       }
956       part { name: "e.event.resize.tr"; type: RECT;
957          description { state: "default" 0.0;
958             rel1.relative: 1.0 0.0;
959             rel2.relative: 1.0 0.0;
960             min: 32 4;
961             align: 1.0 0.0;
962             color: 0 0 0 0;
963          }
964       }
965       part { name: "e.event.resize.bl"; type: RECT;
966          description { state: "default" 0.0;
967             rel1.relative: 0.0 1.0;
968             rel2.relative: 0.0 1.0;
969             min: 32 5;
970             align: 0.0 1.0;
971             color: 0 0 0 0;
972             fixed: 1 1;
973          }
974       }
975       part { name: "e.event.resize.b"; type: RECT;
976          description { state: "default" 0.0;
977             rel1.relative: 1.0 1.0;
978             rel1.to_x: "e.event.resize.tl";
979             rel2.relative: 0.0 1.0;
980             rel2.to_x: "e.event.resize.tr";
981             min: 0 5;
982             align: 0.5 1.0;
983             color: 0 0 0 0;
984             fixed: 0 1;
985          }
986       }
987       part { name: "e.event.resize.br"; type: RECT;
988          description { state: "default" 0.0;
989             rel1.relative: 1.0 1.0;
990             rel2.relative: 1.0 1.0;
991             min: 32 5;
992             align: 1.0 1.0;
993             color: 0 0 0 0;
994             fixed: 1 1;
995          }
996       }
997    }
998    programs {
999       program {
1000          signal: "e,state,focused"; source: "e";
1001          action: STATE_SET "focused" 0.0;
1002          target: "top";
1003          target: "bottom";
1004          target: "left";
1005          target: "right";
1006       }
1007       program {
1008          signal: "e,state,unfocused"; source: "e";
1009          action: STATE_SET "default" 0.0;
1010          target: "top";
1011          target: "bottom";
1012          target: "left";
1013          target: "right";
1014       }
1015    }
1016 }
1017
1018 group { name: "e/widgets/border/default/move";
1019    images.image: "vgrad_tall.png" COMP;
1020    images.image: "bevel_out.png" COMP;
1021    images.image: "shine.png" COMP;
1022    images.image: "ic_win_move.png" COMP;
1023    parts {
1024       part { name: "bg"; mouse_events: 0;
1025          description { state: "default" 0.0;
1026             image.normal: "vgrad_tall.png";
1027             fill.smooth: 0;
1028             TILED_HORIZ(40)
1029          }
1030       }
1031       part { name: "bevel"; mouse_events: 0;
1032          description { state: "default" 0.0;
1033             image.normal: "bevel_out.png";
1034             image.border: 1 1 1 1;
1035             image.middle: 0;
1036             fill.smooth: 0;
1037          }
1038       }
1039       part { name: "icon";
1040          description { state: "default" 0.0;
1041             align: 0.0 0.5;
1042             FIXED_SIZE(21, 21)
1043             rel1.offset: 2 2;
1044             rel2.relative: 0.0 1.0;
1045             rel2.offset: 2 -3;
1046             image.normal: "ic_win_move.png";
1047          }
1048       }
1049       part { name: "e.text.label"; type: TEXT;
1050          effect: SHADOW BOTTOM;
1051          scale: 1;
1052          description { state: "default" 0.0;
1053             rel1.to_x: "icon";
1054             rel1.offset: 4 4;
1055             rel1.relative: 1.0 0.0;
1056             rel2.offset: -5 -5;
1057             color: 255 255 255 255;
1058             color3: 0 0 0 128;
1059             color_class: "move_text";
1060             text { font: "Sans"; size: 10;
1061                min: 1 1;
1062                text_class: "move_text";
1063             }
1064          }
1065       }
1066       part { name: "shine"; mouse_events: 0;
1067          description { state: "default" 0.0;
1068             image.normal: "shine.png";
1069             rel1.offset: 0 -2;
1070             rel2.relative: 1.0 0.0;
1071             rel2.offset: -1 2;
1072             FIXED_SIZE(69, 5)
1073          }
1074       }
1075    }
1076 }
1077
1078 group { name: "e/widgets/border/default/resize";
1079    inherit: "e/widgets/border/default/move";
1080    images.image: "ic_win_resize.png" COMP;
1081    parts {
1082       part { name: "icon";
1083          description { state: "default" 0.0;
1084             image.normal: "ic_win_resize.png";
1085          }
1086       }
1087    }
1088 }