forked from enlightenment/enlightenment
fix button focus glow to not be a few pixels off and look screwed.
This commit is contained in:
parent
942b0a2b5f
commit
00e1cf45fb
|
@ -114,15 +114,26 @@
|
||||||
visible: 1;
|
visible: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
part { name: "base2"; type: SPACER;
|
||||||
|
description { state: "default" 0.0;
|
||||||
|
rel1.to: "base";
|
||||||
|
rel2.to: "base";
|
||||||
|
}
|
||||||
|
description { state: "clicked" 0.0;
|
||||||
|
inherit: "default" 0.0;
|
||||||
|
rel1.offset: 1 1;
|
||||||
|
rel2.offset: -2 -2;
|
||||||
|
}
|
||||||
|
}
|
||||||
part { name: "glow"; mouse_events: 0;
|
part { name: "glow"; mouse_events: 0;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
image.normal: "win_glow.png";
|
image.normal: "win_glow.png";
|
||||||
image.border: 9 9 9 9;
|
image.border: 9 9 9 9;
|
||||||
image.middle: 0;
|
image.middle: 0;
|
||||||
rel1.to: "base";
|
rel1.to: "base2";
|
||||||
rel1.offset: -1 -1;
|
rel1.offset: -2 -3;
|
||||||
rel2.to: "base";
|
rel2.to: "base2";
|
||||||
rel2.offset: 1 1;
|
rel2.offset: 1 0;
|
||||||
fill.smooth: 0;
|
fill.smooth: 0;
|
||||||
color: 255 255 255 0;
|
color: 255 255 255 0;
|
||||||
visible: 0;
|
visible: 0;
|
||||||
|
@ -149,11 +160,13 @@
|
||||||
signal: "mouse,down,1"; source: "event";
|
signal: "mouse,down,1"; source: "event";
|
||||||
action: STATE_SET "clicked" 0.0;
|
action: STATE_SET "clicked" 0.0;
|
||||||
target: "base";
|
target: "base";
|
||||||
|
target: "base2";
|
||||||
}
|
}
|
||||||
program {
|
program {
|
||||||
signal: "mouse,up,1"; source: "event";
|
signal: "mouse,up,1"; source: "event";
|
||||||
action: STATE_SET "default" 0.0;
|
action: STATE_SET "default" 0.0;
|
||||||
target: "base";
|
target: "base";
|
||||||
|
target: "base2";
|
||||||
}
|
}
|
||||||
program {
|
program {
|
||||||
signal: "mouse,clicked,1*"; source: "event";
|
signal: "mouse,clicked,1*"; source: "event";
|
||||||
|
|
Loading…
Reference in New Issue