summaryrefslogtreecommitdiff
path: root/data/themes/edc/deskmirror.edc
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-02-10 09:29:22 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-02-10 09:29:51 +0900
commita32cacf2a8b3eca7591ae84e0982f461cc94690d (patch)
tree8e6bfc70426e89326c41f59a6b6bae44ca61eee6 /data/themes/edc/deskmirror.edc
parentcc07e231e9c2b2c59e36f4c0d13f36d4e59bd5f3 (diff)
theme - use smaller shadow in deskmirror and simpler program for on/off
Diffstat (limited to 'data/themes/edc/deskmirror.edc')
-rw-r--r--data/themes/edc/deskmirror.edc28
1 files changed, 13 insertions, 15 deletions
diff --git a/data/themes/edc/deskmirror.edc b/data/themes/edc/deskmirror.edc
index 7af5ef8..ff3f787 100644
--- a/data/themes/edc/deskmirror.edc
+++ b/data/themes/edc/deskmirror.edc
@@ -2,7 +2,7 @@ group { name: "e/deskmirror/frame/default";
2 alias: "e/deskmirror/frame/dialog"; 2 alias: "e/deskmirror/frame/dialog";
3 alias: "e/deskmirror/frame/urgent"; 3 alias: "e/deskmirror/frame/urgent";
4 alias: "e/deskmirror/frame/sparkle"; 4 alias: "e/deskmirror/frame/sparkle";
5 images.image: "win_shadow.png" COMP; 5 images.image: "mini_box_bevel_shadow.png" COMP;
6 images.image: "shine.png" COMP; 6 images.image: "shine.png" COMP;
7 images.image: "vgrad_med_lighter.png" COMP; 7 images.image: "vgrad_med_lighter.png" COMP;
8 images.image: "vgrad_med_dark.png" COMP; 8 images.image: "vgrad_med_dark.png" COMP;
@@ -61,15 +61,19 @@ group { name: "e/deskmirror/frame/default";
61 part { name: "shadow"; 61 part { name: "shadow";
62 mouse_events: 0; 62 mouse_events: 0;
63 description { state: "default" 0.0; 63 description { state: "default" 0.0;
64 image.normal: "win_shadow.png"; 64 image.normal: "mini_box_bevel_shadow.png";
65 image.border: 7 7 3 12; 65 image.border: 7 7 7 7;
66 image.middle: 0; 66 image.middle: 0;
67 rel1.to: "top"; 67 rel1.to: "top";
68 rel1.offset: -7 -3; 68 rel1.offset: -5 -5;
69 rel2.to: "bottom"; 69 rel2.to: "bottom";
70 rel2.offset: 6 11; 70 rel2.offset: 4 4;
71 fill.smooth: 0; 71 fill.smooth: 0;
72 } 72 }
73 description { state: "off";
74 inherit: "default" 0.0;
75 visible: 0;
76 }
73 } 77 }
74 78
75 79
@@ -244,19 +248,13 @@ group { name: "e/deskmirror/frame/default";
244 } 248 }
245 program { name: "shon"; 249 program { name: "shon";
246 signal: "e,state,shadow,on"; source: "e"; 250 signal: "e,state,shadow,on"; source: "e";
247 script { 251 action: STATE_SET "default" 0.0;
248 custom_state(PART:"shadow", "default", 0.0); 252 target: "shadow";
249 set_state_val(PART:"shadow", STATE_VISIBLE, 1);
250 set_state(PART:"shadow", "custom", 0.0);
251 }
252 } 253 }
253 program { name: "shoff"; 254 program { name: "shoff";
254 signal: "e,state,shadow,off"; source: "e"; 255 signal: "e,state,shadow,off"; source: "e";
255 script { 256 action: STATE_SET "off" 0.0;
256 custom_state(PART:"shadow", "default", 0.0); 257 target: "shadow";
257 set_state_val(PART:"shadow", STATE_VISIBLE, 0);
258 set_state(PART:"shadow", "custom", 0.0);
259 }
260 } 258 }
261 program { 259 program {
262 name: "focus"; 260 name: "focus";