summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-11-14 17:51:11 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-11-23 13:04:12 +0900
commit4b2d822733b4527f81cca2e07848254d361e38a1 (patch)
tree7d82f9fb784821d5fc1db66f636369a4a8ce1b3d /data
parent0e52264ae0d0e9197e03115f65f30be1a064b6b9 (diff)
theme: Move ews stuff to its own file
This move ews from border.edc to ews.edc
Diffstat (limited to 'data')
-rw-r--r--data/elementary/themes/Makefile.am1
-rw-r--r--data/elementary/themes/default.edc1
-rw-r--r--data/elementary/themes/edc/elm/border.edc765
-rw-r--r--data/elementary/themes/edc/elm/ews.edc722
4 files changed, 724 insertions, 765 deletions
diff --git a/data/elementary/themes/Makefile.am b/data/elementary/themes/Makefile.am
index 8987864..529a3c7 100644
--- a/data/elementary/themes/Makefile.am
+++ b/data/elementary/themes/Makefile.am
@@ -106,6 +106,7 @@ elementary/themes/edc/elm/cursor.edc \
106elementary/themes/edc/elm/dayselector.edc \ 106elementary/themes/edc/elm/dayselector.edc \
107elementary/themes/edc/elm/diskselector.edc \ 107elementary/themes/edc/elm/diskselector.edc \
108elementary/themes/edc/elm/entry.edc \ 108elementary/themes/edc/elm/entry.edc \
109elementary/themes/edc/elm/ews.edc \
109elementary/themes/edc/elm/fileselector.edc \ 110elementary/themes/edc/elm/fileselector.edc \
110elementary/themes/edc/elm/flipselector.edc \ 111elementary/themes/edc/elm/flipselector.edc \
111elementary/themes/edc/elm/focus.edc \ 112elementary/themes/edc/elm/focus.edc \
diff --git a/data/elementary/themes/default.edc b/data/elementary/themes/default.edc
index 9756132..1d317c8 100644
--- a/data/elementary/themes/default.edc
+++ b/data/elementary/themes/default.edc
@@ -73,6 +73,7 @@ collections {
73#include "edc/elm/hover.edc" 73#include "edc/elm/hover.edc"
74#include "edc/elm/cursor.edc" 74#include "edc/elm/cursor.edc"
75#include "edc/elm/code.edc" 75#include "edc/elm/code.edc"
76#include "edc/elm/ews.edc"
76 77
77// desktop in general 78// desktop in general
78#include "edc/wallpaper.edc" 79#include "edc/wallpaper.edc"
diff --git a/data/elementary/themes/edc/elm/border.edc b/data/elementary/themes/edc/elm/border.edc
index 5f77f53..788e529 100644
--- a/data/elementary/themes/edc/elm/border.edc
+++ b/data/elementary/themes/edc/elm/border.edc
@@ -1,768 +1,3 @@
1group { name: "elm/ews/background/default";
2 images.image: "bg_radgrad.png" COMP;
3 images.image: "dot_pattern.png" COMP;
4 parts {
5 part { name: "bg";
6 description { state: "default" 0.0;
7 image.normal: "bg_radgrad.png";
8 image.scale_hint: STATIC;
9 fill.smooth: 0;
10 ASPECT_FILL((1024/653))
11 }
12 }
13 part { name: "pat";
14 description { state: "default" 0.0;
15 image.normal: "dot_pattern.png";
16 TILED_PATTERN(256, 256)
17 }
18 }
19 }
20}
21
22group { name: "elm/ews/decoration/default";
23 images.image: "win_shadow.png" COMP;
24 images.image: "win_glow.png" COMP;
25 images.image: "vgrad_med_lighter.png" COMP;
26 images.image: "vgrad_med_dark.png" COMP;
27 images.image: "bevel_out.png" COMP;
28 images.image: "shine.png" COMP;
29 images.image: "bevel_dark_out.png" COMP;
30 images.image: "sym_close_dark_normal.png" COMP;
31 images.image: "sym_close_dark_selected.png" COMP;
32 images.image: "sym_close_light_normal.png" COMP;
33 images.image: "sym_close_light_selected.png" COMP;
34 images.image: "sym_down_dark_normal.png" COMP;
35 images.image: "sym_down_dark_selected.png" COMP;
36 images.image: "sym_down_light_normal.png" COMP;
37 images.image: "sym_down_light_selected.png" COMP;
38 images.image: "sym_up_dark_normal.png" COMP;
39 images.image: "sym_up_dark_selected.png" COMP;
40 images.image: "sym_up_light_normal.png" COMP;
41 images.image: "sym_up_light_selected.png" COMP;
42 images.image: "glow_round_corners_small.png" COMP;
43 images.image: "knob_round_small_busy.png" COMP;
44 parts {
45 part { name: "shadow"; mouse_events: 0;
46 description { state: "default" 0.0;
47 rel1.to: "top";
48 rel2.to: "bottom";
49 WIN_SHADOW;
50 }
51 description { state: "hidden" 0.0;
52 inherit: "default" 0.0;
53 visible: 0;
54 }
55 }
56 part { name: "glow"; mouse_events: 0;
57 description { state: "default" 0.0;
58 image.normal: "win_glow.png";
59 image.border: 9 9 9 9;
60 image.middle: 0;
61 rel1.offset: -5 -5;
62 rel1.to: "top";
63 rel2.offset: 4 4;
64 rel2.to: "bottom";
65 fill.smooth: 0;
66 color: 255 255 255 0;
67 visible: 0;
68 }
69 description { state: "focused" 0.0;
70 inherit: "default" 0.0;
71 color: 255 255 255 255;
72 visible: 1;
73 }
74 }
75 part { name: "top";
76 description { state: "default" 0.0;
77 color_class: "border_top";
78 image.normal: "vgrad_med_lighter.png";
79 rel1.to_y: "title2";
80 rel1.offset: -1 0;
81 rel2.relative: 1.0 0.0;
82 fill.smooth: 0;
83 TILED_HORIZ(120)
84 }
85 description { state: "focused" 0.0;
86 inherit: "default" 0.0;
87 image.normal: "vgrad_med_dark.png";
88 }
89 }
90 part { name: "bevel"; mouse_events: 0;
91 description { state: "default" 0.0;
92 image.normal: "bevel_out.png";
93 image.border: 1 1 1 1;
94 image.middle: 0;
95 rel1.to: "top";
96 rel2.to: "top";
97 fill.smooth: 0;
98 }
99 }
100 part { name: "elm.text.title"; type: TEXT;
101 scale: 1; nomouse;
102 effect: SHADOW BOTTOM;
103 description { state: "default" 0.0;
104 color_class: "border_title";
105 rel1.relative: 1.0 0.0;
106 rel1.offset: 1 -3;
107 rel1.to_x: "e.event.icon";
108 rel2.relative: 0.0 0.0;
109 rel2.offset: -2 -3;
110 rel2.to_x: "e.event.minimize";
111 align: 0.5 0.0;
112 color_class: "border_title";
113 color3: 255 255 255 255;
114 text { font: FNBD; size: 10;
115 text_class: "title_bar";
116 align: 0.5 0.0;
117 min: 0 1;
118 }
119 fixed: 0 1;
120 }
121 description { state: "focused" 0.0;
122 inherit: "default" 0.0;
123 visible: 0;
124 }
125 }
126 part { name: "title2"; type: TEXT;
127 scale: 1; nomouse;
128 effect: SOFT_SHADOW BOTTOM;
129 description { state: "default" 0.0;
130 color_class: "border_title_active";
131 rel1.relative: 1.0 0.0;
132 rel1.offset: 1 2;
133 rel1.to_x: "e.event.icon";
134 rel2.relative: 0.0 0.0;
135 rel2.offset: -1 2;
136 rel2.to_x: "e.event.minimize";
137 align: 0.5 0.0;
138 color_class: "border_title_active";
139 color3: 255 255 255 255;
140 text { font: FNBD; size: 10;
141 text_source: "elm.text.title";
142 text_class: "title_bar";
143 align: 0.5 0.0;
144 min: 0 1;
145 }
146 fixed: 0 1;
147 visible: 0;
148 }
149 description { state: "focused" 0.0;
150 inherit: "default" 0.0;
151 visible: 1;
152 }
153 }
154 part { name: "icon"; type: SPACER;
155 description { state: "default" 0.0;
156 rel1.to: "e.event.icon";
157 rel2.to: "e.event.icon";
158 }
159 description { state: "bounce1" 0.0;
160 inherit: "default" 0.0;
161 rel1.relative: 0.0 0.15;
162 rel2.relative: 1.0 1.15;
163 }
164 description { state: "bounce2" 0.0;
165 inherit: "default" 0.0;
166 rel1.relative: 0.0 -0.15;
167 rel2.relative: 1.0 0.85;
168 }
169 }
170 part { name: "e.swallow.icon"; type: SWALLOW; nomouse;
171 description { state: "default" 0.0;
172 rel1.to: "icon";
173 rel1.relative: 0.15 0.15;
174 rel2.to: "icon";
175 rel2.relative: 0.85 0.85;
176 rel2.offset: 0 0;
177 }
178 }
179 part { name: "knob"; mouse_events: 0;
180 description { state: "default" 0.0;
181 fixed: 1 1;
182 image.normal: "knob_round_small_busy.png";
183 aspect: 1.0 1.0; aspect_preference: BOTH;
184 max: 20 20;
185 rel1.to: "e.event.icon";
186 rel2.to: "e.event.icon";
187 fixed: 1 1;
188 }
189 }
190
191 part { name: "clip1"; type: RECT;
192 description { state: "default" 0.0;
193 rel1.to: "top";
194 rel2.to: "top";
195 }
196 description { state: "focused" 0.0;
197 inherit: "default" 0.0;
198 visible: 0;
199 }
200 }
201 part { name: "clip2"; type: RECT;
202 description { state: "default" 0.0;
203 rel1.to: "top";
204 rel2.to: "top";
205 visible: 0;
206 }
207 description { state: "focused" 0.0;
208 inherit: "default" 0.0;
209 visible: 1;
210 }
211 }
212 part { name: "close1"; nomouse;
213 clip_to: "clip1";
214 description { state: "default" 0.0;
215 image.normal: "sym_close_dark_normal.png";
216 rel1.to: "e.event.close";
217 rel2.to: "e.event.close";
218 min: 15 15;
219 max: 15 15;
220 fixed: 1 1;
221 }
222 description { state: "selected" 0.0;
223 inherit: "default" 0.0;
224 image.normal: "sym_close_dark_selected.png";
225 }
226 }
227 part { name: "max1"; nomouse;
228 clip_to: "clip1";
229 description { state: "default" 0.0;
230 image.normal: "sym_up_dark_normal.png";
231 rel1.to: "e.event.maximize";
232 rel2.to: "e.event.maximize";
233 min: 15 15;
234 max: 15 15;
235 fixed: 1 1;
236 }
237 description { state: "selected" 0.0;
238 inherit: "default" 0.0;
239 image.normal: "sym_up_dark_selected.png";
240 }
241 }
242 part { name: "min1"; nomouse;
243 clip_to: "clip1";
244 description { state: "default" 0.0;
245 image.normal: "sym_down_dark_normal.png";
246 rel1.to: "e.event.minimize";
247 rel2.to: "e.event.minimize";
248 min: 15 15;
249 max: 15 15;
250 fixed: 1 1;
251 }
252 description { state: "selected" 0.0;
253 inherit: "default" 0.0;
254 image.normal: "sym_down_dark_selected.png";
255 }
256 }
257 part { name: "close2"; nomouse;
258 clip_to: "clip2";
259 description { state: "default" 0.0;
260 image.normal: "sym_close_light_normal.png";
261 rel1.to: "e.event.close";
262 rel2.to: "e.event.close";
263 min: 15 15;
264 max: 15 15;
265 fixed: 1 1;
266 }
267 description { state: "selected" 0.0;
268 inherit: "default" 0.0;
269 image.normal: "sym_close_light_selected.png";
270 }
271 }
272 part { name: "max2"; nomouse;
273 clip_to: "clip2";
274 description { state: "default" 0.0;
275 image.normal: "sym_up_light_normal.png";
276 rel1.to: "e.event.maximize";
277 rel2.to: "e.event.maximize";
278 min: 15 15;
279 max: 15 15;
280 fixed: 1 1;
281 }
282 description { state: "selected" 0.0;
283 inherit: "default" 0.0;
284 image.normal: "sym_up_light_selected.png";
285 }
286 }
287 part { name: "min2"; nomouse;
288 clip_to: "clip2";
289 description { state: "default" 0.0;
290 image.normal: "sym_down_light_normal.png";
291 rel1.to: "e.event.minimize";
292 rel2.to: "e.event.minimize";
293 min: 15 15;
294 max: 15 15;
295 fixed: 1 1;
296 }
297 description { state: "selected" 0.0;
298 inherit: "default" 0.0;
299 image.normal: "sym_down_light_selected.png";
300 }
301 }
302 part { name: "e.event.icon"; type: RECT;
303 description { state: "default" 0.0;
304 rel1.relative: 0.0 0.0;
305 rel1.to_y: "top";
306 rel2.relative: 0.0 0.0;
307 align: 0.0 0.5;
308 aspect: 1.0 1.0; aspect_preference: VERTICAL;
309 color: 0 0 0 0;
310 }
311 }
312 program {
313 signal: "mouse,clicked,1"; source: "e.event.icon";
314 action: SIGNAL_EMIT "elm,action,menu" "elm";
315 }
316 part { name: "e.event.titlebar"; type: RECT;
317 description { state: "default" 0.0;
318 rel1.to_y: "top";
319 rel1.relative: 1.0 0.0;
320 rel1.to_x: "e.event.icon";
321 rel2.relative: 0.0 0.0;
322 rel2.to_x: "e.event.minimize";
323 color: 0 0 0 0;
324 }
325 }
326 program {
327 signal: "mouse,down,1"; source: "e.event.titlebar";
328 action: SIGNAL_EMIT "elm,action,move,start" "elm";
329 }
330 program {
331 signal: "mouse,up,1"; source: "e.event.titlebar";
332 action: SIGNAL_EMIT "elm,action,move,stop" "elm";
333 }
334 part { name: "e.event.close"; type: RECT;
335 description { state: "default" 0.0;
336 rel1.relative: 1.0 0.0;
337 rel1.to_y: "top";
338 rel2.relative: 1.0 0.0;
339 align: 1.0 0.5;
340 aspect: 1.0 1.0; aspect_preference: VERTICAL;
341 color: 0 0 0 0;
342 }
343 }
344 program {
345 signal: "mouse,clicked,1"; source: "e.event.close";
346 action: SIGNAL_EMIT "elm,action,close" "elm";
347 }
348 part { name: "e.event.maximize"; type: RECT;
349 description { state: "default" 0.0;
350 rel1.to_y: "top";
351 rel1.relative: -0.25 0.0;
352 rel1.offset: -1 0;
353 rel1.to_x: "e.event.close";
354 rel2.relative: -0.25 0.0;
355 rel2.to_x: "e.event.close";
356 align: 1.0 0.5;
357 aspect: 1.0 1.0; aspect_preference: VERTICAL;
358 color: 0 0 0 0;
359 }
360 description { state: "max" 0.0;
361 inherit: "default" 0.0;
362 visible: 0;
363 }
364 }
365 part { name: "e.event.maximize2"; type: RECT;
366 description { state: "default" 0.0;
367 rel1.to: "e.event.maximize";
368 rel2.to: "e.event.maximize";
369 color: 0 0 0 0;
370 visible: 0;
371 }
372 description { state: "max" 0.0;
373 inherit: "default" 0.0;
374 visible: 1;
375 }
376 }
377 program {
378 signal: "mouse,clicked,1"; source: "e.event.maximize";
379 action: SIGNAL_EMIT "elm,action,maximize" "elm";
380 }
381 program {
382 signal: "mouse,clicked,1"; source: "e.event.maximize2";
383 action: SIGNAL_EMIT "elm,action,restore" "elm";
384 }
385 part { name: "e.event.minimize"; type: RECT;
386 description { state: "default" 0.0;
387 rel1.to_y: "top";
388 rel1.relative: 0.0 0.0;
389 rel1.offset: -1 0;
390 rel1.to_x: "e.event.maximize";
391 rel2.relative: 0.0 0.0;
392 rel2.to_x: "e.event.maximize";
393 align: 1.0 0.5;
394 aspect: 1.0 1.0; aspect_preference: VERTICAL;
395 color: 0 0 0 0;
396 }
397 }
398 program {
399 signal: "mouse,clicked,1"; source: "e.event.minimize";
400 action: SIGNAL_EMIT "elm,action,iconify" "elm";
401 }
402 part { name: "e.event.resize.tl"; type: RECT;
403 description { state: "default" 0.0;
404 rel2.relative: 0.0 0.0;
405 min: 32 4;
406 align: 0.0 0.0;
407 color: 0 0 0 0;
408 }
409 }
410 part { name: "e.event.resize.t"; type: RECT;
411 description { state: "default" 0.0;
412 rel1.relative: 1.0 0.0;
413 rel1.to_x: "e.event.resize.tl";
414 rel2.relative: 0.0 0.0;
415 rel2.to_x: "e.event.resize.tr";
416 min: 0 4;
417 align: 0.5 0.0;
418 color: 0 0 0 0;
419 }
420 }
421 part { name: "e.event.resize.tr"; type: RECT;
422 description { state: "default" 0.0;
423 rel1.relative: 1.0 0.0;
424 rel2.relative: 1.0 0.0;
425 min: 32 4;
426 align: 1.0 0.0;
427 color: 0 0 0 0;
428 }
429 }
430 part { name: "bottom"; type: RECT;
431 description { state: "default" 0.0;
432 color_class: "border_bottom";
433 rel1.relative: 0.0 1.0;
434 rel2.relative: 1.0 1.0;
435 rel2.offset: -1 4;
436 min: 0 5;
437 color: 64 64 64 255;
438 fixed: 0 1;
439 }
440 description { state: "shaded" 0.0;
441 inherit: "default" 0.0;
442 min: 0 0;
443 visible: 0;
444 }
445 description { state: "max" 0.0;
446 inherit: "default" 0.0;
447 min: 0 0;
448 visible: 0;
449 }
450 }
451 part { name: "bevel2"; nomouse;
452 description { state: "default" 0.0;
453 image.normal: "bevel_dark_out.png";
454 image.border: 1 1 1 1;
455 image.middle: 0;
456 rel1.to: "bottom";
457 rel2.to: "bottom";
458 fill.smooth: 0;
459 }
460 description { state: "shaded" 0.0;
461 inherit: "default" 0.0;
462 visible: 0;
463 }
464 description { state: "max" 0.0;
465 inherit: "default" 0.0;
466 visible: 0;
467 }
468 }
469 part { name: "e.event.resize.bl"; type: RECT;
470 description { state: "default" 0.0;
471 rel1.relative: 0.0 1.0;
472 rel2.relative: 0.0 1.0;
473 min: 32 5;
474 align: 0.0 1.0;
475 color: 0 0 0 0;
476 fixed: 1 1;
477 }
478 description { state: "shaded" 0.0;
479 inherit: "default" 0.0;
480 min: 0 0;
481 visible: 0;
482 }
483 description { state: "max" 0.0;
484 inherit: "default" 0.0;
485 min: 0 0;
486 visible: 0;
487 }
488 }
489 part { name: "e.event.resize.b"; type: RECT;
490 description { state: "default" 0.0;
491 rel1.relative: 1.0 1.0;
492 rel1.to_x: "e.event.resize.tl";
493 rel2.relative: 0.0 1.0;
494 rel2.to_x: "e.event.resize.tr";
495 min: 0 5;
496 align: 0.5 1.0;
497 color: 0 0 0 0;
498 fixed: 0 1;
499 }
500 description { state: "shaded" 0.0;
501 inherit: "default" 0.0;
502 min: 0 0;
503 visible: 0;
504 }
505 description { state: "max" 0.0;
506 inherit: "default" 0.0;
507 min: 0 0;
508 visible: 0;
509 }
510 }
511 part { name: "e.event.resize.br"; type: RECT;
512 description { state: "default" 0.0;
513 rel1.relative: 1.0 1.0;
514 rel2.relative: 1.0 1.0;
515 min: 32 5;
516 align: 1.0 1.0;
517 color: 0 0 0 0;
518 fixed: 1 1;
519 }
520 description { state: "shaded" 0.0;
521 inherit: "default" 0.0;
522 min: 0 0;
523 visible: 0;
524 }
525 description { state: "max" 0.0;
526 inherit: "default" 0.0;
527 min: 0 0;
528 visible: 0;
529 }
530 }
531 part { name: "shine"; mouse_events: 0;
532 description { state: "default" 0.0;
533 image.normal: "shine.png";
534 rel1.offset: 0 -2;
535 rel1.to: "top";
536 rel2.relative: 1.0 0.0;
537 rel2.offset: -1 2;
538 rel2.to: "top";
539 FIXED_SIZE(69, 5)
540 }
541 }
542 part { name: "focus"; type: RECT; repeat_events: 1;
543 description { state: "default" 0.0;
544 rel1.to: "top";
545 rel2.to: "bottom";
546 color: 0 0 0 0;
547 }
548 description { state: "focused" 0.0;
549 inherit: "default" 0.0;
550 visible: 0;
551 }
552 }
553 program {
554 signal: "mouse,down,1"; source: "focus";
555 action: SIGNAL_EMIT "elm,action,focus" "elm";
556 }
557 program {
558 signal: "elm,state,focus,on"; source: "elm";
559 action: STATE_SET "focused" 0.0;
560 transition: SINUSOIDAL 0.1;
561 target: "glow";
562 target: "focus";
563 after: "focus2";
564 }
565 program { name: "focus2";
566 action: STATE_SET "default" 0.0;
567 transition: SINUSOIDAL 0.4;
568 target: "glow";
569 }
570 program {
571 signal: "elm,state,focus,off"; source: "elm";
572 action: STATE_SET "default" 0.0;
573 transition: SINUSOIDAL 0.1;
574 target: "focus";
575 target: "glow";
576 }
577 program {
578 signal: "elm,state,focus,on"; source: "elm";
579 action: STATE_SET "focused" 0.0;
580 target: "top";
581 target: "elm.text.title";
582 target: "title2";
583 target: "clip1";
584 target: "clip2";
585 }
586 program {
587 signal: "elm,state,focus,off"; source: "elm";
588 action: STATE_SET "default" 0.0;
589 target: "top";
590 target: "elm.text.title";
591 target: "title2";
592 target: "clip1";
593 target: "clip2";
594 }
595
596 program {
597 signal: "elm,state,maximized,on"; source: "elm";
598 action: STATE_SET "max" 0.0;
599 target: "e.event.maximize";
600 target: "e.event.maximize2";
601 target: "bottom";
602 target: "bevel2";
603 target: "e.event.resize.bl";
604 target: "e.event.resize.b";
605 target: "e.event.resize.br";
606 }
607 program {
608 signal: "elm,state,maximized,off"; source: "elm";
609 action: STATE_SET "default" 0.0;
610 target: "e.event.maximize";
611 target: "e.event.maximize2";
612 target: "bottom";
613 target: "bevel2";
614 target: "e.event.resize.bl";
615 target: "e.event.resize.b";
616 target: "e.event.resize.br";
617 }
618 program {
619 signal: "mouse,down,*"; source: "e.event.close";
620 action: STATE_SET "selected" 0.0;
621 target: "close1";
622 target: "close2";
623 }
624 program {
625 signal: "mouse,up,*"; source: "e.event.close";
626 action: STATE_SET "default" 0.0;
627 target: "close1";
628 target: "close2";
629 }
630 program {
631 signal: "mouse,down,*"; source: "e.event.maximize*";
632 action: STATE_SET "selected" 0.0;
633 target: "max1";
634 target: "max2";
635 }
636 program {
637 signal: "mouse,up,*"; source: "e.event.maximize*";
638 action: STATE_SET "default" 0.0;
639 target: "max1";
640 target: "max2";
641 }
642 program {
643 signal: "mouse,down,*"; source: "e.event.minimize";
644 action: STATE_SET "selected" 0.0;
645 target: "min1";
646 target: "min2";
647 }
648 program {
649 signal: "mouse,up,*"; source: "e.event.minimize";
650 action: STATE_SET "default" 0.0;
651 target: "min1";
652 target: "min2";
653 }
654 }
655}
656
657group { name: "elm/ews/decoration/borderless";
658 images.image: "win_shadow.png" COMP;
659 images.image: "win_glow.png" COMP;
660 parts {
661 part { name: "shadow"; mouse_events: 0;
662 description { state: "default" 0.0;
663 WIN_SHADOW;
664 }
665 description { state: "hidden" 0.0;
666 inherit: "default" 0.0;
667 visible: 0;
668 }
669 }
670 part { name: "glow"; mouse_events: 0;
671 description { state: "default" 0.0;
672 image.normal: "win_glow.png";
673 image.border: 9 9 9 9;
674 image.middle: 0;
675 rel1.offset: -5 -5;
676 rel2.offset: 4 4;
677 fill.smooth: 0;
678 color: 255 255 255 0;
679 visible: 0;
680 }
681 description { state: "focused" 0.0;
682 inherit: "default" 0.0;
683 color: 255 255 255 255;
684 visible: 1;
685 }
686 }
687 part { name: "focus"; type: RECT; repeat_events: 1;
688 description { state: "default" 0.0;
689 color: 0 0 0 0;
690 }
691 description { state: "focused" 0.0;
692 inherit: "default" 0.0;
693 visible: 0;
694 }
695 }
696 program {
697 signal: "mouse,down,1"; source: "focus";
698 action: SIGNAL_EMIT "elm,action,focus" "elm";
699 }
700 program {
701 signal: "elm,state,focus,on"; source: "elm";
702 action: STATE_SET "focused" 0.0;
703 transition: SINUSOIDAL 0.1;
704 target: "glow";
705 target: "focus";
706 after: "focus2";
707 }
708 program { name: "focus2";
709 action: STATE_SET "default" 0.0;
710 transition: SINUSOIDAL 0.4;
711 target: "glow";
712 }
713 program {
714 signal: "elm,state,focus,off"; source: "elm";
715 action: STATE_SET "default" 0.0;
716 transition: SINUSOIDAL 0.1;
717 target: "focus";
718 target: "glow";
719 }
720 }
721}
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752////////////////////////////////////////////////////////////////////////////
753////////////////////////////////////////////////////////////////////////////
754////////////////////////////////////////////////////////////////////////////
755////////////////////////////////////////////////////////////////////////////
756////////////////////////////////////////////////////////////////////////////
757////////////////////////////////////////////////////////////////////////////
758////////////////////////////////////////////////////////////////////////////
759////////////////////////////////////////////////////////////////////////////
760////////////////////////////////////////////////////////////////////////////
761////////////////////////////////////////////////////////////////////////////
762////////////////////////////////////////////////////////////////////////////
763////////////////////////////////////////////////////////////////////////////
764////////////////////////////////////////////////////////////////////////////
765
766group { name: "elm/border/base/default"; 1group { name: "elm/border/base/default";
767 images.image: "vgrad_med_lighter.png" COMP; 2 images.image: "vgrad_med_lighter.png" COMP;
768 images.image: "vgrad_med_dark.png" COMP; 3 images.image: "vgrad_med_dark.png" COMP;
diff --git a/data/elementary/themes/edc/elm/ews.edc b/data/elementary/themes/edc/elm/ews.edc
new file mode 100644
index 0000000..fd654f3
--- /dev/null
+++ b/data/elementary/themes/edc/elm/ews.edc
@@ -0,0 +1,722 @@
1group { name: "elm/ews/background/default";
2 images.image: "bg_radgrad.png" COMP;
3 images.image: "dot_pattern.png" COMP;
4 parts {
5 part { name: "bg";
6 description { state: "default" 0.0;
7 image.normal: "bg_radgrad.png";
8 image.scale_hint: STATIC;
9 fill.smooth: 0;
10 ASPECT_FILL((1024/653))
11 }
12 }
13 part { name: "pat";
14 description { state: "default" 0.0;
15 image.normal: "dot_pattern.png";
16 TILED_PATTERN(256, 256)
17 }
18 }
19 }
20}
21
22group { name: "elm/ews/decoration/default";
23 images.image: "win_shadow.png" COMP;
24 images.image: "win_glow.png" COMP;
25 images.image: "vgrad_med_lighter.png" COMP;
26 images.image: "vgrad_med_dark.png" COMP;
27 images.image: "bevel_out.png" COMP;
28 images.image: "shine.png" COMP;
29 images.image: "bevel_dark_out.png" COMP;
30 images.image: "sym_close_dark_normal.png" COMP;
31 images.image: "sym_close_dark_selected.png" COMP;
32 images.image: "sym_close_light_normal.png" COMP;
33 images.image: "sym_close_light_selected.png" COMP;
34 images.image: "sym_down_dark_normal.png" COMP;
35 images.image: "sym_down_dark_selected.png" COMP;
36 images.image: "sym_down_light_normal.png" COMP;
37 images.image: "sym_down_light_selected.png" COMP;
38 images.image: "sym_up_dark_normal.png" COMP;
39 images.image: "sym_up_dark_selected.png" COMP;
40 images.image: "sym_up_light_normal.png" COMP;
41 images.image: "sym_up_light_selected.png" COMP;
42 images.image: "glow_round_corners_small.png" COMP;
43 images.image: "knob_round_small_busy.png" COMP;
44 parts {
45 part { name: "shadow"; mouse_events: 0;
46 description { state: "default" 0.0;
47 rel1.to: "top";
48 rel2.to: "bottom";
49 WIN_SHADOW;
50 }
51 description { state: "hidden" 0.0;
52 inherit: "default" 0.0;
53 visible: 0;
54 }
55 }
56 part { name: "glow"; mouse_events: 0;
57 description { state: "default" 0.0;
58 image.normal: "win_glow.png";
59 image.border: 9 9 9 9;
60 image.middle: 0;
61 rel1.offset: -5 -5;
62 rel1.to: "top";
63 rel2.offset: 4 4;
64 rel2.to: "bottom";
65 fill.smooth: 0;
66 color: 255 255 255 0;
67 visible: 0;
68 }
69 description { state: "focused" 0.0;
70 inherit: "default" 0.0;
71 color: 255 255 255 255;
72 visible: 1;
73 }
74 }
75 part { name: "top";
76 description { state: "default" 0.0;
77 color_class: "border_top";
78 image.normal: "vgrad_med_lighter.png";
79 rel1.to_y: "title2";
80 rel1.offset: -1 0;
81 rel2.relative: 1.0 0.0;
82 fill.smooth: 0;
83 TILED_HORIZ(120)
84 }
85 description { state: "focused" 0.0;
86 inherit: "default" 0.0;
87 image.normal: "vgrad_med_dark.png";
88 }
89 }
90 part { name: "bevel"; mouse_events: 0;
91 description { state: "default" 0.0;
92 image.normal: "bevel_out.png";
93 image.border: 1 1 1 1;
94 image.middle: 0;
95 rel1.to: "top";
96 rel2.to: "top";
97 fill.smooth: 0;
98 }
99 }
100 part { name: "elm.text.title"; type: TEXT;
101 scale: 1; nomouse;
102 effect: SHADOW BOTTOM;
103 description { state: "default" 0.0;
104 color_class: "border_title";
105 rel1.relative: 1.0 0.0;
106 rel1.offset: 1 -3;
107 rel1.to_x: "e.event.icon";
108 rel2.relative: 0.0 0.0;
109 rel2.offset: -2 -3;
110 rel2.to_x: "e.event.minimize";
111 align: 0.5 0.0;
112 color_class: "border_title";
113 color3: 255 255 255 255;
114 text { font: FNBD; size: 10;
115 text_class: "title_bar";
116 align: 0.5 0.0;
117 min: 0 1;
118 }
119 fixed: 0 1;
120 }
121 description { state: "focused" 0.0;
122 inherit: "default" 0.0;
123 visible: 0;
124 }
125 }
126 part { name: "title2"; type: TEXT;
127 scale: 1; nomouse;
128 effect: SOFT_SHADOW BOTTOM;
129 description { state: "default" 0.0;
130 color_class: "border_title_active";
131 rel1.relative: 1.0 0.0;
132 rel1.offset: 1 2;
133 rel1.to_x: "e.event.icon";
134 rel2.relative: 0.0 0.0;
135 rel2.offset: -1 2;
136 rel2.to_x: "e.event.minimize";
137 align: 0.5 0.0;
138 color_class: "border_title_active";
139 color3: 255 255 255 255;
140 text { font: FNBD; size: 10;
141 text_source: "elm.text.title";
142 text_class: "title_bar";
143 align: 0.5 0.0;
144 min: 0 1;
145 }
146 fixed: 0 1;
147 visible: 0;
148 }
149 description { state: "focused" 0.0;
150 inherit: "default" 0.0;
151 visible: 1;
152 }
153 }
154 part { name: "icon"; type: SPACER;
155 description { state: "default" 0.0;
156 rel1.to: "e.event.icon";
157 rel2.to: "e.event.icon";
158 }
159 description { state: "bounce1" 0.0;
160 inherit: "default" 0.0;
161 rel1.relative: 0.0 0.15;
162 rel2.relative: 1.0 1.15;
163 }
164 description { state: "bounce2" 0.0;
165 inherit: "default" 0.0;
166 rel1.relative: 0.0 -0.15;
167 rel2.relative: 1.0 0.85;
168 }
169 }
170 part { name: "e.swallow.icon"; type: SWALLOW; nomouse;
171 description { state: "default" 0.0;
172 rel1.to: "icon";
173 rel1.relative: 0.15 0.15;
174 rel2.to: "icon";
175 rel2.relative: 0.85 0.85;
176 rel2.offset: 0 0;
177 }
178 }
179 part { name: "knob"; mouse_events: 0;
180 description { state: "default" 0.0;
181 fixed: 1 1;
182 image.normal: "knob_round_small_busy.png";
183 aspect: 1.0 1.0; aspect_preference: BOTH;
184 max: 20 20;
185 rel1.to: "e.event.icon";
186 rel2.to: "e.event.icon";
187 fixed: 1 1;
188 }
189 }
190
191 part { name: "clip1"; type: RECT;
192 description { state: "default" 0.0;
193 rel1.to: "top";
194 rel2.to: "top";
195 }
196 description { state: "focused" 0.0;
197 inherit: "default" 0.0;
198 visible: 0;
199 }
200 }
201 part { name: "clip2"; type: RECT;
202 description { state: "default" 0.0;
203 rel1.to: "top";
204 rel2.to: "top";
205 visible: 0;
206 }
207 description { state: "focused" 0.0;
208 inherit: "default" 0.0;
209 visible: 1;
210 }
211 }
212 part { name: "close1"; nomouse;
213 clip_to: "clip1";
214 description { state: "default" 0.0;
215 image.normal: "sym_close_dark_normal.png";
216 rel1.to: "e.event.close";
217 rel2.to: "e.event.close";
218 min: 15 15;
219 max: 15 15;
220 fixed: 1 1;
221 }
222 description { state: "selected" 0.0;
223 inherit: "default" 0.0;
224 image.normal: "sym_close_dark_selected.png";
225 }
226 }
227 part { name: "max1"; nomouse;
228 clip_to: "clip1";
229 description { state: "default" 0.0;
230 image.normal: "sym_up_dark_normal.png";
231 rel1.to: "e.event.maximize";
232 rel2.to: "e.event.maximize";
233 min: 15 15;
234 max: 15 15;
235 fixed: 1 1;
236 }
237 description { state: "selected" 0.0;
238 inherit: "default" 0.0;
239 image.normal: "sym_up_dark_selected.png";
240 }
241 }
242 part { name: "min1"; nomouse;
243 clip_to: "clip1";
244 description { state: "default" 0.0;
245 image.normal: "sym_down_dark_normal.png";
246 rel1.to: "e.event.minimize";
247 rel2.to: "e.event.minimize";
248 min: 15 15;
249 max: 15 15;
250 fixed: 1 1;
251 }
252 description { state: "selected" 0.0;
253 inherit: "default" 0.0;
254 image.normal: "sym_down_dark_selected.png";
255 }
256 }
257 part { name: "close2"; nomouse;
258 clip_to: "clip2";
259 description { state: "default" 0.0;
260 image.normal: "sym_close_light_normal.png";
261 rel1.to: "e.event.close";
262 rel2.to: "e.event.close";
263 min: 15 15;
264 max: 15 15;
265 fixed: 1 1;
266 }
267 description { state: "selected" 0.0;
268 inherit: "default" 0.0;
269 image.normal: "sym_close_light_selected.png";
270 }
271 }
272 part { name: "max2"; nomouse;
273 clip_to: "clip2";
274 description { state: "default" 0.0;
275 image.normal: "sym_up_light_normal.png";
276 rel1.to: "e.event.maximize";
277 rel2.to: "e.event.maximize";
278 min: 15 15;
279 max: 15 15;
280 fixed: 1 1;
281 }
282 description { state: "selected" 0.0;
283 inherit: "default" 0.0;
284 image.normal: "sym_up_light_selected.png";
285 }
286 }
287 part { name: "min2"; nomouse;
288 clip_to: "clip2";
289 description { state: "default" 0.0;
290 image.normal: "sym_down_light_normal.png";
291 rel1.to: "e.event.minimize";
292 rel2.to: "e.event.minimize";
293 min: 15 15;
294 max: 15 15;
295 fixed: 1 1;
296 }
297 description { state: "selected" 0.0;
298 inherit: "default" 0.0;
299 image.normal: "sym_down_light_selected.png";
300 }
301 }
302 part { name: "e.event.icon"; type: RECT;
303 description { state: "default" 0.0;
304 rel1.relative: 0.0 0.0;
305 rel1.to_y: "top";
306 rel2.relative: 0.0 0.0;
307 align: 0.0 0.5;
308 aspect: 1.0 1.0; aspect_preference: VERTICAL;
309 color: 0 0 0 0;
310 }
311 }
312 program {
313 signal: "mouse,clicked,1"; source: "e.event.icon";
314 action: SIGNAL_EMIT "elm,action,menu" "elm";
315 }
316 part { name: "e.event.titlebar"; type: RECT;
317 description { state: "default" 0.0;
318 rel1.to_y: "top";
319 rel1.relative: 1.0 0.0;
320 rel1.to_x: "e.event.icon";
321 rel2.relative: 0.0 0.0;
322 rel2.to_x: "e.event.minimize";
323 color: 0 0 0 0;
324 }
325 }
326 program {
327 signal: "mouse,down,1"; source: "e.event.titlebar";
328 action: SIGNAL_EMIT "elm,action,move,start" "elm";
329 }
330 program {
331 signal: "mouse,up,1"; source: "e.event.titlebar";
332 action: SIGNAL_EMIT "elm,action,move,stop" "elm";
333 }
334 part { name: "e.event.close"; type: RECT;
335 description { state: "default" 0.0;
336 rel1.relative: 1.0 0.0;
337 rel1.to_y: "top";
338 rel2.relative: 1.0 0.0;
339 align: 1.0 0.5;
340 aspect: 1.0 1.0; aspect_preference: VERTICAL;
341 color: 0 0 0 0;
342 }
343 }
344 program {
345 signal: "mouse,clicked,1"; source: "e.event.close";
346 action: SIGNAL_EMIT "elm,action,close" "elm";
347 }
348 part { name: "e.event.maximize"; type: RECT;
349 description { state: "default" 0.0;
350 rel1.to_y: "top";
351 rel1.relative: -0.25 0.0;
352 rel1.offset: -1 0;
353 rel1.to_x: "e.event.close";
354 rel2.relative: -0.25 0.0;
355 rel2.to_x: "e.event.close";
356 align: 1.0 0.5;
357 aspect: 1.0 1.0; aspect_preference: VERTICAL;
358 color: 0 0 0 0;
359 }
360 description { state: "max" 0.0;
361 inherit: "default" 0.0;
362 visible: 0;
363 }
364 }
365 part { name: "e.event.maximize2"; type: RECT;
366 description { state: "default" 0.0;
367 rel1.to: "e.event.maximize";
368 rel2.to: "e.event.maximize";
369 color: 0 0 0 0;
370 visible: 0;
371 }
372 description { state: "max" 0.0;
373 inherit: "default" 0.0;
374 visible: 1;
375 }
376 }
377 program {
378 signal: "mouse,clicked,1"; source: "e.event.maximize";
379 action: SIGNAL_EMIT "elm,action,maximize" "elm";
380 }
381 program {
382 signal: "mouse,clicked,1"; source: "e.event.maximize2";
383 action: SIGNAL_EMIT "elm,action,restore" "elm";
384 }
385 part { name: "e.event.minimize"; type: RECT;
386 description { state: "default" 0.0;
387 rel1.to_y: "top";
388 rel1.relative: 0.0 0.0;
389 rel1.offset: -1 0;
390 rel1.to_x: "e.event.maximize";
391 rel2.relative: 0.0 0.0;
392 rel2.to_x: "e.event.maximize";
393 align: 1.0 0.5;
394 aspect: 1.0 1.0; aspect_preference: VERTICAL;
395 color: 0 0 0 0;
396 }
397 }
398 program {
399 signal: "mouse,clicked,1"; source: "e.event.minimize";
400 action: SIGNAL_EMIT "elm,action,iconify" "elm";
401 }
402 part { name: "e.event.resize.tl"; type: RECT;
403 description { state: "default" 0.0;
404 rel2.relative: 0.0 0.0;
405 min: 32 4;
406 align: 0.0 0.0;
407 color: 0 0 0 0;
408 }
409 }
410 part { name: "e.event.resize.t"; type: RECT;
411 description { state: "default" 0.0;
412 rel1.relative: 1.0 0.0;
413 rel1.to_x: "e.event.resize.tl";
414 rel2.relative: 0.0 0.0;
415 rel2.to_x: "e.event.resize.tr";
416 min: 0 4;
417 align: 0.5 0.0;
418 color: 0 0 0 0;
419 }
420 }
421 part { name: "e.event.resize.tr"; type: RECT;
422 description { state: "default" 0.0;
423 rel1.relative: 1.0 0.0;
424 rel2.relative: 1.0 0.0;
425 min: 32 4;
426 align: 1.0 0.0;
427 color: 0 0 0 0;
428 }
429 }
430 part { name: "bottom"; type: RECT;
431 description { state: "default" 0.0;
432 color_class: "border_bottom";
433 rel1.relative: 0.0 1.0;
434 rel2.relative: 1.0 1.0;
435 rel2.offset: -1 4;
436 min: 0 5;
437 color: 64 64 64 255;
438 fixed: 0 1;
439 }
440 description { state: "shaded" 0.0;
441 inherit: "default" 0.0;
442 min: 0 0;
443 visible: 0;
444 }
445 description { state: "max" 0.0;
446 inherit: "default" 0.0;
447 min: 0 0;
448 visible: 0;
449 }
450 }
451 part { name: "bevel2"; nomouse;
452 description { state: "default" 0.0;
453 image.normal: "bevel_dark_out.png";
454 image.border: 1 1 1 1;
455 image.middle: 0;
456 rel1.to: "bottom";
457 rel2.to: "bottom";
458 fill.smooth: 0;
459 }
460 description { state: "shaded" 0.0;
461 inherit: "default" 0.0;
462 visible: 0;
463 }
464 description { state: "max" 0.0;
465 inherit: "default" 0.0;
466 visible: 0;
467 }
468 }
469 part { name: "e.event.resize.bl"; type: RECT;
470 description { state: "default" 0.0;
471 rel1.relative: 0.0 1.0;
472 rel2.relative: 0.0 1.0;
473 min: 32 5;
474 align: 0.0 1.0;
475 color: 0 0 0 0;
476 fixed: 1 1;
477 }
478 description { state: "shaded" 0.0;
479 inherit: "default" 0.0;
480 min: 0 0;
481 visible: 0;
482 }
483 description { state: "max" 0.0;
484 inherit: "default" 0.0;
485 min: 0 0;
486 visible: 0;
487 }
488 }
489 part { name: "e.event.resize.b"; type: RECT;
490 description { state: "default" 0.0;
491 rel1.relative: 1.0 1.0;
492 rel1.to_x: "e.event.resize.tl";
493 rel2.relative: 0.0 1.0;
494 rel2.to_x: "e.event.resize.tr";
495 min: 0 5;
496 align: 0.5 1.0;
497 color: 0 0 0 0;
498 fixed: 0 1;
499 }
500 description { state: "shaded" 0.0;
501 inherit: "default" 0.0;
502 min: 0 0;
503 visible: 0;
504 }
505 description { state: "max" 0.0;
506 inherit: "default" 0.0;
507 min: 0 0;
508 visible: 0;
509 }
510 }
511 part { name: "e.event.resize.br"; type: RECT;
512 description { state: "default" 0.0;
513 rel1.relative: 1.0 1.0;
514 rel2.relative: 1.0 1.0;
515 min: 32 5;
516 align: 1.0 1.0;
517 color: 0 0 0 0;
518 fixed: 1 1;
519 }
520 description { state: "shaded" 0.0;
521 inherit: "default" 0.0;
522 min: 0 0;
523 visible: 0;
524 }
525 description { state: "max" 0.0;
526 inherit: "default" 0.0;
527 min: 0 0;
528 visible: 0;
529 }
530 }
531 part { name: "shine"; mouse_events: 0;
532 description { state: "default" 0.0;
533 image.normal: "shine.png";
534 rel1.offset: 0 -2;
535 rel1.to: "top";
536 rel2.relative: 1.0 0.0;
537 rel2.offset: -1 2;
538 rel2.to: "top";
539 FIXED_SIZE(69, 5)
540 }
541 }
542 part { name: "focus"; type: RECT; repeat_events: 1;
543 description { state: "default" 0.0;
544 rel1.to: "top";
545 rel2.to: "bottom";
546 color: 0 0 0 0;
547 }
548 description { state: "focused" 0.0;
549 inherit: "default" 0.0;
550 visible: 0;
551 }
552 }
553 program {
554 signal: "mouse,down,1"; source: "focus";
555 action: SIGNAL_EMIT "elm,action,focus" "elm";
556 }
557 program {
558 signal: "elm,state,focus,on"; source: "elm";
559 action: STATE_SET "focused" 0.0;
560 transition: SINUSOIDAL 0.1;
561 target: "glow";
562 target: "focus";
563 after: "focus2";
564 }
565 program { name: "focus2";
566 action: STATE_SET "default" 0.0;
567 transition: SINUSOIDAL 0.4;
568 target: "glow";
569 }
570 program {
571 signal: "elm,state,focus,off"; source: "elm";
572 action: STATE_SET "default" 0.0;
573 transition: SINUSOIDAL 0.1;
574 target: "focus";
575 target: "glow";
576 }
577 program {
578 signal: "elm,state,focus,on"; source: "elm";
579 action: STATE_SET "focused" 0.0;
580 target: "top";
581 target: "elm.text.title";
582 target: "title2";
583 target: "clip1";
584 target: "clip2";
585 }
586 program {
587 signal: "elm,state,focus,off"; source: "elm";
588 action: STATE_SET "default" 0.0;
589 target: "top";
590 target: "elm.text.title";
591 target: "title2";
592 target: "clip1";
593 target: "clip2";
594 }
595
596 program {
597 signal: "elm,state,maximized,on"; source: "elm";
598 action: STATE_SET "max" 0.0;
599 target: "e.event.maximize";
600 target: "e.event.maximize2";
601 target: "bottom";
602 target: "bevel2";
603 target: "e.event.resize.bl";
604 target: "e.event.resize.b";
605 target: "e.event.resize.br";
606 }
607 program {
608 signal: "elm,state,maximized,off"; source: "elm";
609 action: STATE_SET "default" 0.0;
610 target: "e.event.maximize";
611 target: "e.event.maximize2";
612 target: "bottom";
613 target: "bevel2";
614 target: "e.event.resize.bl";
615 target: "e.event.resize.b";
616 target: "e.event.resize.br";
617 }
618 program {
619 signal: "mouse,down,*"; source: "e.event.close";
620 action: STATE_SET "selected" 0.0;
621 target: "close1";
622 target: "close2";
623 }
624 program {
625 signal: "mouse,up,*"; source: "e.event.close";
626 action: STATE_SET "default" 0.0;
627 target: "close1";
628 target: "close2";
629 }
630 program {
631 signal: "mouse,down,*"; source: "e.event.maximize*";
632 action: STATE_SET "selected" 0.0;
633 target: "max1";
634 target: "max2";
635 }
636 program {
637 signal: "mouse,up,*"; source: "e.event.maximize*";
638 action: STATE_SET "default" 0.0;
639 target: "max1";
640 target: "max2";
641 }
642 program {
643 signal: "mouse,down,*"; source: "e.event.minimize";
644 action: STATE_SET "selected" 0.0;
645 target: "min1";
646 target: "min2";
647 }
648 program {
649 signal: "mouse,up,*"; source: "e.event.minimize";
650 action: STATE_SET "default" 0.0;
651 target: "min1";
652 target: "min2";
653 }
654 }
655}
656
657group { name: "elm/ews/decoration/borderless";
658 images.image: "win_shadow.png" COMP;
659 images.image: "win_glow.png" COMP;
660 parts {
661 part { name: "shadow"; mouse_events: 0;
662 description { state: "default" 0.0;
663 WIN_SHADOW;
664 }
665 description { state: "hidden" 0.0;
666 inherit: "default" 0.0;
667 visible: 0;
668 }
669 }
670 part { name: "glow"; mouse_events: 0;
671 description { state: "default" 0.0;
672 image.normal: "win_glow.png";
673 image.border: 9 9 9 9;
674 image.middle: 0;
675 rel1.offset: -5 -5;
676 rel2.offset: 4 4;
677 fill.smooth: 0;
678 color: 255 255 255 0;
679 visible: 0;
680 }
681 description { state: "focused" 0.0;
682 inherit: "default" 0.0;
683 color: 255 255 255 255;
684 visible: 1;
685 }
686 }
687 part { name: "focus"; type: RECT; repeat_events: 1;
688 description { state: "default" 0.0;
689 color: 0 0 0 0;
690 }
691 description { state: "focused" 0.0;
692 inherit: "default" 0.0;
693 visible: 0;
694 }
695 }
696 program {
697 signal: "mouse,down,1"; source: "focus";
698 action: SIGNAL_EMIT "elm,action,focus" "elm";
699 }
700 program {
701 signal: "elm,state,focus,on"; source: "elm";
702 action: STATE_SET "focused" 0.0;
703 transition: SINUSOIDAL 0.1;
704 target: "glow";
705 target: "focus";
706 after: "focus2";
707 }
708 program { name: "focus2";
709 action: STATE_SET "default" 0.0;
710 transition: SINUSOIDAL 0.4;
711 target: "glow";
712 }
713 program {
714 signal: "elm,state,focus,off"; source: "elm";
715 action: STATE_SET "default" 0.0;
716 transition: SINUSOIDAL 0.1;
717 target: "focus";
718 target: "glow";
719 }
720 }
721}
722