summaryrefslogtreecommitdiff
path: root/data/themes/edc
diff options
context:
space:
mode:
authorMike Blumenkrantz <m.blumenkran@samsung.com>2013-02-25 14:04:12 +0000
committerMike Blumenkrantz <m.blumenkran@samsung.com>2013-04-15 08:39:16 +0100
commit505cec1d91dde9f8bb5e3e4ebe6c0b0942183486 (patch)
tree61913d10c07c978c59de9e402f3ce766680c9b33 /data/themes/edc
parentb919573644acc25dfc07a07a58213758d90e4671 (diff)
downloadenlightenment-505cec1d91dde9f8bb5e3e4ebe6c0b0942183486.tar.gz
giant comp rejiggering commit #5:
* border frame/object now drawn directly on compositor canvas * border shadows now in border theme with edje hint, non-updated themes still receive comp object shadows FOR NOW * e_border MOVE/RESIZE pointer mode defines are now e_pointer.h enums * added BD_CHANGED() util macro for setting bd->changed and printing a debug line to assist in finding places where this all-important flag is wrongly set * bd->bg_win removed entirely * bd->pointer objects moved to compositor object; now only one pointer object exists for each compositor * resizing windows now shows a new and totally-intended scaling effect for window contents * some additional retooling of border deletion/free callbacks * fixed lurking potential bug where window could recieve focus from autoraise timer after border had been deleted * more comp shape improvements/rewrites * desk transitions are now BROKEN(ish) * various modules updated to not be totally broken with these changes
Diffstat (limited to 'data/themes/edc')
-rw-r--r--data/themes/edc/border.edc63
1 files changed, 49 insertions, 14 deletions
diff --git a/data/themes/edc/border.edc b/data/themes/edc/border.edc
index 28f5d4181b..d445a47bf4 100644
--- a/data/themes/edc/border.edc
+++ b/data/themes/edc/border.edc
@@ -19,6 +19,8 @@ group { name: "e/widgets/border/default/border";
images.image: "sym_up_light_selected.png" COMP;
images.image: "glow_round_corners_small.png" COMP;
images.image: "knob_round_small_busy.png" COMP;
+ images.image: "screen_circular_shadow.png" COMP;
+ data.item: "shadow" "1";
parts {
part { name: "client_clip"; type: RECT;
description { state: "default" 0.0;
@@ -71,7 +73,7 @@ group { name: "e/widgets/border/default/border";
fill.smooth: 0;
}
}
- part { name: "e.text.title"; type: TEXT;
+ part { name: "e.text.title"; type: TEXT; mouse_events: 0;
scale: 1;
effect: SHADOW BOTTOM;
description { state: "default" 0.0;
@@ -97,7 +99,7 @@ group { name: "e/widgets/border/default/border";
visible: 0;
}
}
- part { name: "title2"; type: TEXT;
+ part { name: "title2"; type: TEXT; mouse_events: 0;
scale: 1;
effect: SOFT_SHADOW BOTTOM;
description { state: "default" 0.0;
@@ -141,7 +143,7 @@ group { name: "e/widgets/border/default/border";
rel2.relative: 1.0 0.85;
}
}
- part { name: "e.swallow.icon"; type: SWALLOW;
+ part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "icon";
rel1.relative: 0.15 0.15;
@@ -150,7 +152,7 @@ group { name: "e/widgets/border/default/border";
rel2.offset: 0 0;
}
}
- part { name: "busy_clip"; type: RECT;
+ part { name: "busy_clip"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 255 255 255 0;
visible: 0;
@@ -194,7 +196,7 @@ group { name: "e/widgets/border/default/border";
map.rotation.z: 360;
}
}
- part { name: "clip1"; type: RECT;
+ part { name: "clip1"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "top";
rel2.to: "top";
@@ -204,7 +206,7 @@ group { name: "e/widgets/border/default/border";
visible: 0;
}
}
- part { name: "clip2"; type: RECT;
+ part { name: "clip2"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "top";
rel2.to: "top";
@@ -215,7 +217,7 @@ group { name: "e/widgets/border/default/border";
visible: 1;
}
}
- part { name: "close1";
+ part { name: "close1"; mouse_events: 0;
clip_to: "clip1";
description { state: "default" 0.0;
image.normal: "sym_close_dark_normal.png";
@@ -230,7 +232,7 @@ group { name: "e/widgets/border/default/border";
image.normal: "sym_close_dark_selected.png";
}
}
- part { name: "max1";
+ part { name: "max1"; mouse_events: 0;
clip_to: "clip1";
description { state: "default" 0.0;
image.normal: "sym_up_dark_normal.png";
@@ -245,7 +247,7 @@ group { name: "e/widgets/border/default/border";
image.normal: "sym_up_dark_selected.png";
}
}
- part { name: "min1";
+ part { name: "min1"; mouse_events: 0;
clip_to: "clip1";
description { state: "default" 0.0;
image.normal: "sym_down_dark_normal.png";
@@ -260,7 +262,7 @@ group { name: "e/widgets/border/default/border";
image.normal: "sym_down_dark_selected.png";
}
}
- part { name: "close2";
+ part { name: "close2"; mouse_events: 0;
clip_to: "clip2";
description { state: "default" 0.0;
image.normal: "sym_close_light_normal.png";
@@ -275,7 +277,7 @@ group { name: "e/widgets/border/default/border";
image.normal: "sym_close_light_selected.png";
}
}
- part { name: "max2";
+ part { name: "max2"; mouse_events: 0;
clip_to: "clip2";
description { state: "default" 0.0;
image.normal: "sym_up_light_normal.png";
@@ -290,7 +292,7 @@ group { name: "e/widgets/border/default/border";
image.normal: "sym_up_light_selected.png";
}
}
- part { name: "min2";
+ part { name: "min2"; mouse_events: 0;
clip_to: "clip2";
description { state: "default" 0.0;
image.normal: "sym_down_light_normal.png";
@@ -389,7 +391,7 @@ group { name: "e/widgets/border/default/border";
color: 0 0 0 0;
}
}
- part { name: "bottom"; type: RECT;
+ part { name: "bottom"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color_class: "border_bottom";
rel1.relative: 0.0 1.0;
@@ -410,7 +412,7 @@ group { name: "e/widgets/border/default/border";
visible: 0;
}
}
- part { name: "bevel2";
+ part { name: "bevel2"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bevel_dark_out.png";
image.border: 1 1 1 1;
@@ -428,6 +430,24 @@ group { name: "e/widgets/border/default/border";
visible: 0;
}
}
+ part { name: "shadow";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "win_shadow.png";
+ image.border: 14 14 14 14;
+ image.middle: 0;
+ rel1.relative: 0.0 1.0;
+ rel1.to: "top";
+ rel1.offset: -7 -3;
+ rel2.to: "bottom";
+ rel2.offset: 6 11;
+ fill.smooth: 0;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
part { name: "e.event.resize.bl"; type: RECT;
description { state: "default" 0.0;
rel1.relative: 0.0 1.0;
@@ -501,9 +521,24 @@ group { name: "e/widgets/border/default/border";
FIXED_SIZE(69, 5)
}
}
+ part { name: "events"; type: RECT; repeat_events: 1;
+ description { state: "default";
+ color: 0 0 0 0;
+ }
+ }
}
programs {
program {
+ signal: "e,state,shadow,on"; source: "e";
+ action: STATE_SET "default" 0.0;
+ target: "shadow";
+ }
+ program {
+ signal: "e,state,shadow,off"; source: "e";
+ action: STATE_SET "hidden" 0.0;
+ target: "shadow";
+ }
+ program {
signal: "e,state,focused"; source: "e";
action: STATE_SET "focused" 0.0;
target: "top";