forked from enlightenment/enlightenment
ok - have your pixel border. and a blue focus color - but i'm npot
fixing maximized state, shaded state, hung,urgent etc. - thats why i didnt want to... the can of worms. SVN revision: 80802
This commit is contained in:
parent
47e53b259e
commit
726a01f5c4
|
@ -834,6 +834,139 @@ group { name: "e/widgets/border/noresize_dialog/border";
|
|||
}
|
||||
}
|
||||
|
||||
group { name: "e/widgets/border/pixel/border";
|
||||
parts {
|
||||
part { name: "e.swallow.client"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 1 1;
|
||||
rel2.offset: -2 -2;
|
||||
}
|
||||
}
|
||||
part { name: "top"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 255;
|
||||
align: 0.0 0.0;
|
||||
max: 99999 1;
|
||||
}
|
||||
description { state: "focused" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "bottom"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 255;
|
||||
align: 0.0 1.0;
|
||||
max: 99999 1;
|
||||
}
|
||||
description { state: "focused" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "left"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 255;
|
||||
align: 0.0 0.0;
|
||||
max: 1 99999;
|
||||
}
|
||||
description { state: "focused" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "right"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 255;
|
||||
align: 1.0 0.0;
|
||||
max: 1 99999;
|
||||
}
|
||||
description { state: "focused" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "e.event.resize.tl"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel2.relative: 0.0 0.0;
|
||||
min: 32 4;
|
||||
align: 0.0 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "e.event.resize.t"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.to_x: "e.event.resize.tl";
|
||||
rel2.relative: 0.0 0.0;
|
||||
rel2.to_x: "e.event.resize.tr";
|
||||
min: 0 4;
|
||||
align: 0.5 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "e.event.resize.tr"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.relative: 1.0 0.0;
|
||||
min: 32 4;
|
||||
align: 1.0 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "e.event.resize.bl"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel2.relative: 0.0 1.0;
|
||||
min: 32 5;
|
||||
align: 0.0 1.0;
|
||||
color: 0 0 0 0;
|
||||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
part { name: "e.event.resize.b"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 1.0 1.0;
|
||||
rel1.to_x: "e.event.resize.tl";
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.to_x: "e.event.resize.tr";
|
||||
min: 0 5;
|
||||
align: 0.5 1.0;
|
||||
color: 0 0 0 0;
|
||||
fixed: 0 1;
|
||||
}
|
||||
}
|
||||
part { name: "e.event.resize.br"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 1.0 1.0;
|
||||
rel2.relative: 1.0 1.0;
|
||||
min: 32 5;
|
||||
align: 1.0 1.0;
|
||||
color: 0 0 0 0;
|
||||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "e,state,focused"; source: "e";
|
||||
action: STATE_SET "focused" 0.0;
|
||||
target: "top";
|
||||
target: "bottom";
|
||||
target: "left";
|
||||
target: "right";
|
||||
}
|
||||
program {
|
||||
signal: "e,state,unfocused"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "top";
|
||||
target: "bottom";
|
||||
target: "left";
|
||||
target: "right";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "e/widgets/border/default/move";
|
||||
images.image: "vgrad_tall.png" COMP;
|
||||
images.image: "bevel_out.png" COMP;
|
||||
|
|
Loading…
Reference in New Issue