summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2014-02-05 13:32:29 -0500
committerMike Blumenkrantz <zmike@samsung.com>2014-02-05 13:32:29 -0500
commitb98e4d49ee0b07491638aeb2446a46a23f4db270 (patch)
tree970d4246592112413fd1116fd0cf3b671e8f239e
parent5bddbe041478e0ad21f157bc83f43475c5603d0e (diff)
Revert "theme - remove shadow from border now comp provides it again"
This reverts commit 3d0eb4137359134eac2c815194a34472e2762c03. this breaks shadows completely. no more dicking with shadows until the object that they should come from gets finalized.
-rw-r--r--data/themes/edc/border.edc46
1 files changed, 44 insertions, 2 deletions
diff --git a/data/themes/edc/border.edc b/data/themes/edc/border.edc
index 6e4a57a18..fedba2e23 100644
--- a/data/themes/edc/border.edc
+++ b/data/themes/edc/border.edc
@@ -20,8 +20,34 @@ group { name: "e/widgets/border/default/border";
20 images.image: "glow_round_corners_small.png" COMP; 20 images.image: "glow_round_corners_small.png" COMP;
21 images.image: "knob_round_small_busy.png" COMP; 21 images.image: "knob_round_small_busy.png" COMP;
22 images.image: "screen_circular_shadow.png" COMP; 22 images.image: "screen_circular_shadow.png" COMP;
23 images.image: "win_shadow.png" COMP;
23 data.item: "shadow" "1"; 24 data.item: "shadow" "1";
24 parts { 25 parts {
26 part { name: "shadow_clip"; type: RECT; mouse_events: 0;
27 description { state: "default";
28 rel1.to: "shadow";
29 rel2.to: "shadow";
30 }
31 description { state: "hidden";
32 visible: 0;
33 }
34 }
35 part { name: "shadow"; mouse_events: 0; clip_to: "shadow_clip";
36 description { state: "default" 0.0;
37 image.normal: "win_shadow.png";
38 image.border: 14 14 14 14;
39 image.middle: 0;
40 rel1.to: "top";
41 rel1.offset: -7 -3;
42 rel2.to: "bottom";
43 rel2.offset: 6 11;
44 fill.smooth: 0;
45 }
46 description { state: "shaded";
47 inherit: "default";
48 rel2.to: "top";
49 }
50 }
25 part { name: "client_clip"; type: RECT; mouse_events: 0; 51 part { name: "client_clip"; type: RECT; mouse_events: 0;
26 description { state: "default" 0.0; 52 description { state: "default" 0.0;
27 rel1.to_y: "e.swallow.client"; 53 rel1.to_y: "e.swallow.client";
@@ -512,6 +538,16 @@ group { name: "e/widgets/border/default/border";
512 } 538 }
513 programs { 539 programs {
514 program { 540 program {
541 signal: "e,state,shadow,on"; source: "e";
542 action: STATE_SET "default" 0.0;
543 target: "shadow_clip";
544 }
545 program {
546 signal: "e,state,shadow,off"; source: "e";
547 action: STATE_SET "hidden" 0.0;
548 target: "shadow_clip";
549 }
550 program {
515 signal: "e,state,focused"; source: "e"; 551 signal: "e,state,focused"; source: "e";
516 action: STATE_SET "focused" 0.0; 552 action: STATE_SET "focused" 0.0;
517 target: "top"; 553 target: "top";
@@ -587,10 +623,15 @@ group { name: "e/widgets/border/default/border";
587 action: STATE_SET "default" 0.0; 623 action: STATE_SET "default" 0.0;
588 target: "knob_spinner"; 624 target: "knob_spinner";
589 } 625 }
590 program { 626 program { name: "shade_hide";
591 signal: "e,state,shaded"; source: "e";
592 action: STATE_SET "hidden" 0.0; 627 action: STATE_SET "hidden" 0.0;
593 target: "client_clip"; 628 target: "client_clip";
629 }
630 program {
631 signal: "e,state,shaded"; source: "e";
632 action: STATE_SET "shaded" 0.0;
633 target: "shadow";
634 after: "shade_hide";
594 after: "shading"; 635 after: "shading";
595 } 636 }
596 program { name: "shading"; 637 program { name: "shading";
@@ -618,6 +659,7 @@ group { name: "e/widgets/border/default/border";
618 signal: "e,state,unshading"; source: "e"; 659 signal: "e,state,unshading"; source: "e";
619 action: STATE_SET "default" 0.0; 660 action: STATE_SET "default" 0.0;
620 target: "e.swallow.client"; 661 target: "e.swallow.client";
662 target: "shadow";
621 target: "client_clip"; 663 target: "client_clip";
622 } 664 }
623// program { 665// program {