From 369d331efb218fa34892642caae620bdac21f3cf Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Mon, 20 May 2013 10:03:35 +0900 Subject: [PATCH] add glow to popup sel in ibar. more visible selection now. --- data/themes/edc/ibar-ibox.edc | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/data/themes/edc/ibar-ibox.edc b/data/themes/edc/ibar-ibox.edc index 2837f5aca..7baf37692 100644 --- a/data/themes/edc/ibar-ibox.edc +++ b/data/themes/edc/ibar-ibox.edc @@ -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; } }