theme - make dark rounded square less transp. and add shadow to ibar menu
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sun, 12 Jan 2014 20:07:52 +0000 (05:07 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sun, 12 Jan 2014 20:15:12 +0000 (05:15 +0900)
data/themes/edc/ibar-ibox.edc
data/themes/img/darken_rounded_square.png
data/themes/img/darken_rounded_square_half.png
data/themes/img/darken_rounded_square_half_h.png
data/themes/orig/mock-22.xcf.gz [new file with mode: 0644]

index 487539c2a9c6b32382455f4ce5d945e717d5b9ee..3d7824ccb4f51b035490d446a050f487a30da29b 100644 (file)
@@ -237,6 +237,7 @@ group { name: "e/modules/ibar/menu";
 
 group { name: "e/modules/ibar/menu/item";
    images.image: "glow_small.png" COMP;
+   images.image: "win_shadow.png" COMP;
    parts {
       part { name: "icon"; type: SPACER;
          description { state: "default";
@@ -248,6 +249,18 @@ group { name: "e/modules/ibar/menu/item";
             max: 48 48;
          }
       }
+      part { name: "shadow"; mouse_events: 0;
+         description { state: "default" 0.0;
+            image.normal: "win_shadow.png";
+            image.border: 14 14 14 14;
+            image.middle: 0;
+            rel1.to: "e.swallow.icon";
+            rel1.offset: -7 -3;
+            rel2.to: "e.swallow.icon";
+            rel2.offset: 6 11;
+            fill.smooth: 0;
+         }
+      }
       part { name: "glow"; mouse_events: 0;
          description { state: "default" 0.0;
             rel1.to: "e.swallow.icon";
@@ -274,8 +287,8 @@ group { name: "e/modules/ibar/menu/item";
          }
          description { state: "focus";
             inherit: "default";
-            rel1.offset: -2 -2;
-            rel2.offset: 1 1;
+            rel1.offset: -4 -4;
+            rel2.offset: 3 3;
          }
       }
       part { name: "e.text.title"; type: TEXT; mouse_events: 0;
index c7f1435128688f453b0f30407678bb013736fabb..4321bb584785da759128194bd28830df5bf5dfe1 100644 (file)
Binary files a/data/themes/img/darken_rounded_square.png and b/data/themes/img/darken_rounded_square.png differ
index 43c78d870a4230d85061c0cb2fff8fa6926a6533..3d20e0e48933afe537103b2ea2d247ce12f74ea1 100644 (file)
Binary files a/data/themes/img/darken_rounded_square_half.png and b/data/themes/img/darken_rounded_square_half.png differ
index bfbe70d21b8ccade405ef8b701b977a1cb7a632e..753e547e60cf7a5e498a5c5238d014c2cf784076 100644 (file)
Binary files a/data/themes/img/darken_rounded_square_half_h.png and b/data/themes/img/darken_rounded_square_half_h.png differ
diff --git a/data/themes/orig/mock-22.xcf.gz b/data/themes/orig/mock-22.xcf.gz
new file mode 100644 (file)
index 0000000..6f24abc
Binary files /dev/null and b/data/themes/orig/mock-22.xcf.gz differ