visible: 0;
}
}
- part { name: "shadow"; mouse_events: 0;
+ part { name: "shadow_clip"; type: RECT; mouse_events: 0;
+ description { state: "default";
+ rel1.to: "shadow";
+ rel2.to: "shadow";
+ }
+ description { state: "hidden";
+ visible: 0;
+ }
+ }
+ part { name: "shadow"; mouse_events: 0; clip_to: "shadow_clip";
description { state: "default" 0.0;
image.normal: "win_shadow.png";
image.border: 14 14 14 14;
rel2.offset: 6 11;
fill.smooth: 0;
}
- description { state: "hidden" 0.0;
- inherit: "default" 0.0;
- visible: 0;
+ description { state: "shaded";
+ inherit: "default";
+ rel2.to: "top";
}
}
part { name: "e.event.resize.bl"; type: RECT;
program {
signal: "e,state,shadow,on"; source: "e";
action: STATE_SET "default" 0.0;
- target: "shadow";
+ target: "shadow_clip";
}
program {
signal: "e,state,shadow,off"; source: "e";
action: STATE_SET "hidden" 0.0;
- target: "shadow";
+ target: "shadow_clip";
}
program {
signal: "e,state,focused"; source: "e";
program {
signal: "e,state,shaded"; source: "e";
action: STATE_SET "shaded" 0.0;
+ target: "shadow";
+ after: "shading";
+ }
+ program { name: "shading";
+ signal: "e,state,shading"; source: "e";
+ action: STATE_SET "shaded" 0.0;
target: "e.swallow.client";
target: "bottom";
target: "bevel2";
target: "e.event.resize.b";
target: "e.event.resize.br";
}
-// program {
-// signal: "e,state,shading"; source: "e";
-// }
program {
signal: "e,state,unshaded"; source: "e";
- after: "unshading";
- }
- program { name: "unshading";
- signal: "e,state,unshading"; source: "e";
action: STATE_SET "default" 0.0;
- target: "e.swallow.client";
target: "bottom";
target: "bevel2";
target: "e.event.resize.bl";
target: "e.event.resize.b";
target: "e.event.resize.br";
+ after: "unshading";
+ }
+ program { name: "unshading";
+ signal: "e,state,unshading"; source: "e";
+ action: STATE_SET "default" 0.0;
+ target: "e.swallow.client";
+ target: "shadow";
}
// program {
// signal: "e,action,maximize"; source: "e";