forked from enlightenment/enlightenment
add glow to popup sel in ibar. more visible selection now.
This commit is contained in:
parent
4ca3e80d2b
commit
369d331efb
|
@ -197,6 +197,7 @@ group { name: "e/modules/ibar/menu";
|
|||
}
|
||||
|
||||
group { name: "e/modules/ibar/menu/item";
|
||||
images.image: "glow_small.png" COMP;
|
||||
parts {
|
||||
part { name: "icon"; type: SPACER;
|
||||
description { state: "default";
|
||||
|
@ -208,6 +209,24 @@ group { name: "e/modules/ibar/menu/item";
|
|||
max: 48 48;
|
||||
}
|
||||
}
|
||||
part { name: "glow"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "e.swallow.icon";
|
||||
rel2.to: "e.swallow.icon";
|
||||
image.normal: "glow_small.png";
|
||||
image.border: 7 7 7 7;
|
||||
fill.smooth: 0;
|
||||
color: 255 255 255 0;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "focus" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.offset: -4 -4;
|
||||
rel2.offset: 3 3;
|
||||
color: 255 255 255 255;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0;
|
||||
clip_to: "icon_clip";
|
||||
description { state: "default";
|
||||
|
@ -273,13 +292,13 @@ group { name: "e/modules/ibar/menu/item";
|
|||
}
|
||||
part { name: "icon_clip"; type: RECT;
|
||||
description { state: "default";
|
||||
color: 255 255 255 255;
|
||||
color: 255 255 255 200;
|
||||
rel1.offset: -9999 -9999;
|
||||
rel2.offset: 9999 9999;
|
||||
}
|
||||
description { state: "focus";
|
||||
inherit: "default";
|
||||
color: 255 255 255 200;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "event"; type: RECT;
|
||||
|
@ -296,6 +315,7 @@ group { name: "e/modules/ibar/menu/item";
|
|||
target: "e.text.title";
|
||||
target: "title2";
|
||||
target: "icon_clip";
|
||||
target: "glow";
|
||||
transition: ACCELERATE 0.2;
|
||||
}
|
||||
program {
|
||||
|
@ -305,6 +325,7 @@ group { name: "e/modules/ibar/menu/item";
|
|||
target: "e.text.title";
|
||||
target: "title2";
|
||||
target: "icon_clip";
|
||||
target: "glow";
|
||||
transition: DECELERATE 0.2;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue