Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/data/themes/e17/bits


Modified Files:
        menu-groups.edc 


Log Message:
- nicer menu bar
- not sure why these don't quite stretch to the right/bottom of the window

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/ewl/data/themes/e17/bits/menu-groups.edc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- menu-groups.edc     7 Jan 2006 16:19:12 -0000       1.3
+++ menu-groups.edc     7 Jan 2006 21:11:22 -0000       1.4
@@ -1,24 +1,76 @@
 
 group {
     name, "menubar";
-    data {
-        item, "inset/left" "3";
-        item, "inset/right" "3";
-        item, "inset/top" "3";
-        item, "inset/bottom" "3";
-
-        item, "pad/left" "0";
-        item, "pad/right" "0";
-        item, "pad/top" "0";
-        item, "pad/bottom" "0";
-    }
 
     parts {
-BUTTON()
-    }
+        part {
+            name, "base";
+            mouse_events, 0;
+            type, RECT;
+
+            description {
+                state, "default" 0.0;
+                rel1 {
+                    relative, 0.0 1.0;
+                    offset, 1 0;
+                    to_y, "base2";
+                }
+                rel2 {
+                    relative, 1.0 1.0;
+                    offset, -2 -2;
+                }
+                color, 221 221 221 255;
+            }
+        }
+        part {
+            name, "base2";
+            mouse_events, 0;
+
+            description {
+                state, "default" 0.0;
+                max, 99999 48;
+                align, 0.5 0.0;
+
+                rel1 {
+                    relative, 0.0 0.0;
+                    offset, 1 1;
+                }
+                rel2 {
+                    relative, 1.0 1.0;
+                    offset, -2 -2;
+                }
+                image {
+                    normal, "e17_menu_bg.png";
+                }
+                fill {
+                    smooth, 0;
+                }
+            }
+        }
+        part {
+            name, "base3";
+            mouse_events, 0;
 
-    programs {
-BUTTON_PROG("mouse,in", "mouse,out")
+            description  {
+                state, "default" 0.0;
+                rel1 {
+                    relative, 0.0 0.0;
+                    offset, 0 0;
+                }
+                rel2 {
+                    relative, 1.0 1.0;
+                    offset, -1 -1;
+                }
+                image {
+                    normal, "e17_menu_bg_border.png";
+                    border, 1 1 1 1;
+                    middle, 0;
+                }
+                fill {
+                    smooth, 0;
+                }
+            }
+        }
     }
 }
 




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to