raster pushed a commit to branch master.

commit 369d331efb218fa34892642caae620bdac21f3cf
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Mon May 20 10:03:35 2013 +0900

    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 2837f5a..7baf376 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;
       }
    }

-- 

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d

Reply via email to