summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMike Blumenkrantz <m.blumenkran@samsung.com>2013-05-30 15:00:21 +0100
committerMike Blumenkrantz <m.blumenkran@samsung.com>2013-05-30 15:00:21 +0100
commit095550fdfa0e00c143bbb12d4c603448bc39d5f1 (patch)
treedfbba18b765e03cce9b21521eee41ad80c5ea30c /data
parentfe8fa9d249d5a457ad8b46eb838eede959696aa8 (diff)
fix border shading animation size and shadow geometry
Diffstat (limited to 'data')
-rw-r--r--data/themes/edc/border.edc42
1 files changed, 28 insertions, 14 deletions
diff --git a/data/themes/edc/border.edc b/data/themes/edc/border.edc
index 74514f818..d6f3a1647 100644
--- a/data/themes/edc/border.edc
+++ b/data/themes/edc/border.edc
@@ -428,7 +428,16 @@ group { name: "e/widgets/border/default/border";
428 visible: 0; 428 visible: 0;
429 } 429 }
430 } 430 }
431 part { name: "shadow"; mouse_events: 0; 431 part { name: "shadow_clip"; type: RECT; mouse_events: 0;
432 description { state: "default";
433 rel1.to: "shadow";
434 rel2.to: "shadow";
435 }
436 description { state: "hidden";
437 visible: 0;
438 }
439 }
440 part { name: "shadow"; mouse_events: 0; clip_to: "shadow_clip";
432 description { state: "default" 0.0; 441 description { state: "default" 0.0;
433 image.normal: "win_shadow.png"; 442 image.normal: "win_shadow.png";
434 image.border: 14 14 14 14; 443 image.border: 14 14 14 14;
@@ -439,9 +448,9 @@ group { name: "e/widgets/border/default/border";
439 rel2.offset: 6 11; 448 rel2.offset: 6 11;
440 fill.smooth: 0; 449 fill.smooth: 0;
441 } 450 }
442 description { state: "hidden" 0.0; 451 description { state: "shaded";
443 inherit: "default" 0.0; 452 inherit: "default";
444 visible: 0; 453 rel2.to: "top";
445 } 454 }
446 } 455 }
447 part { name: "e.event.resize.bl"; type: RECT; 456 part { name: "e.event.resize.bl"; type: RECT;
@@ -528,12 +537,12 @@ group { name: "e/widgets/border/default/border";
528 program { 537 program {
529 signal: "e,state,shadow,on"; source: "e"; 538 signal: "e,state,shadow,on"; source: "e";
530 action: STATE_SET "default" 0.0; 539 action: STATE_SET "default" 0.0;
531 target: "shadow"; 540 target: "shadow_clip";
532 } 541 }
533 program { 542 program {
534 signal: "e,state,shadow,off"; source: "e"; 543 signal: "e,state,shadow,off"; source: "e";
535 action: STATE_SET "hidden" 0.0; 544 action: STATE_SET "hidden" 0.0;
536 target: "shadow"; 545 target: "shadow_clip";
537 } 546 }
538 program { 547 program {
539 signal: "e,state,focused"; source: "e"; 548 signal: "e,state,focused"; source: "e";
@@ -614,6 +623,12 @@ group { name: "e/widgets/border/default/border";
614 program { 623 program {
615 signal: "e,state,shaded"; source: "e"; 624 signal: "e,state,shaded"; source: "e";
616 action: STATE_SET "shaded" 0.0; 625 action: STATE_SET "shaded" 0.0;
626 target: "shadow";
627 after: "shading";
628 }
629 program { name: "shading";
630 signal: "e,state,shading"; source: "e";
631 action: STATE_SET "shaded" 0.0;
617 target: "e.swallow.client"; 632 target: "e.swallow.client";
618 target: "bottom"; 633 target: "bottom";
619 target: "bevel2"; 634 target: "bevel2";
@@ -621,22 +636,21 @@ group { name: "e/widgets/border/default/border";
621 target: "e.event.resize.b"; 636 target: "e.event.resize.b";
622 target: "e.event.resize.br"; 637 target: "e.event.resize.br";
623 } 638 }
624// program {
625// signal: "e,state,shading"; source: "e";
626// }
627 program { 639 program {
628 signal: "e,state,unshaded"; source: "e"; 640 signal: "e,state,unshaded"; source: "e";
629 after: "unshading";
630 }
631 program { name: "unshading";
632 signal: "e,state,unshading"; source: "e";
633 action: STATE_SET "default" 0.0; 641 action: STATE_SET "default" 0.0;
634 target: "e.swallow.client";
635 target: "bottom"; 642 target: "bottom";
636 target: "bevel2"; 643 target: "bevel2";
637 target: "e.event.resize.bl"; 644 target: "e.event.resize.bl";
638 target: "e.event.resize.b"; 645 target: "e.event.resize.b";
639 target: "e.event.resize.br"; 646 target: "e.event.resize.br";
647 after: "unshading";
648 }
649 program { name: "unshading";
650 signal: "e,state,unshading"; source: "e";
651 action: STATE_SET "default" 0.0;
652 target: "e.swallow.client";
653 target: "shadow";
640 } 654 }
641// program { 655// program {
642// signal: "e,action,maximize"; source: "e"; 656// signal: "e,action,maximize"; source: "e";