Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/data/themes


Modified Files:
        default_shelf.edc 


Log Message:


some not-so-arsetastic shelf gfx

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/data/themes/default_shelf.edc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- default_shelf.edc   2 Mar 2006 12:28:40 -0000       1.3
+++ default_shelf.edc   19 Mar 2006 09:09:03 -0000      1.4
@@ -1,10 +1,22 @@
 images {
-   image: "e17_menu_bg.png" COMP;
-   image: "e17_menu_bg_border.png" COMP;
+   image: "e17_shelf1.png" COMP;
+   image: "e17_shelf2.png" COMP;
+   image: "e17_shelf3.png" COMP;
+   image: "e17_shelf4.png" COMP;
+   image: "e17_shelf5.png" COMP;
+   image: "e17_shelf6.png" COMP;
+   image: "e17_shelf_bg1.png" COMP;
+   image: "e17_shelf_bg2.png" COMP;
+   image: "e17_shelf_sh1.png" COMP;
+   image: "e17_shelf_sh2.png" COMP;
 }
 
 group {
    name: "shelf/default/base";
+   data {
+      // this tells e the border is shaped
+      item: "shaped" "1";
+   }
    parts {
       part {
         name:          "base";
@@ -14,12 +26,13 @@
            state:    "default" 0.0;
            rel1 {
               relative: 0.0  1.0;
-              offset:   1    0;
-              to_y:     "base2";
+              offset:   0    0;
+              to:       "base2";
            }
            rel2 {
+              to_x:       "base2";
               relative: 1.0  1.0;
-              offset:   -2   -2;
+              offset:   -1   -2;
            }
            color: 221 221 221 255;
         }
@@ -29,21 +42,23 @@
         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;
+              offset:   32   0;
            }
            rel2 {
-              relative: 1.0  1.0;
-              offset:   -2   -2;
+              relative: 1.0  0.0;
+              offset:   -33   19;
            }
            image {
-              normal: "e17_menu_bg.png";
+              normal: "e17_shelf_bg1.png";
            }
            fill {
               smooth: 0;
+               size {
+                  relative: 1.0 0;
+                  offset: 0 20;
+              }
            }
         }
       }
@@ -52,18 +67,19 @@
         mouse_events:  0;
         description {
            state:    "default" 0.0;
+           max:      99999 20;
            rel1 {
-              relative: 0.0  0.0;
-              offset:   0    0;
+              to_x: "base2";
+              relative: 0.0  1.0;
+              offset:   0   -1;
            }
            rel2 {
+              to_x: "base2";
               relative: 1.0  1.0;
               offset:   -1   -1;
            }
            image {
-              normal: "e17_menu_bg_border.png";
-              border: 1 1 1 1;
-              middle: 0;
+              normal: "e17_shelf_bg2.png";
            }
            fill {
               smooth: 0;
@@ -78,97 +94,156 @@
            state:    "default" 0.0;
            rel1 {
               relative: 0.0  0.0;
-              offset:   2    2;
+              offset:   32   2;
            }
            rel2 {
               relative: 1.0  1.0;
-              offset:   -3   -3;
+              offset:   -33   -3;
            }
         }
       }
       part {
-        name:          "drag";
-        mouse_events:  1;
-        type:          RECT;
+        name:          "sh1";
+        mouse_events:  0;
         description {
            state:    "default" 0.0;
            rel1 {
+              to_x: "base2";
+              relative: 0.0  0.0;
+              offset:   0    0;
+           }
+           rel2 {
+              to_x: "base2";
               relative: 0.0  1.0;
-              offset:   5    -5;
+              offset:   9   -1;
+           }
+           image {
+              normal: "e17_shelf_sh1.png";
+           }
+        }
+      }
+      part {
+        name:          "sh2";
+        mouse_events:  0;
+        description {
+           state:    "default" 0.0;
+           rel1 {
+              to_x: "base2";
+              relative: 1.0  0.0;
+              offset:   -10  0;
            }
            rel2 {
+              to_x: "base2";
               relative: 1.0  1.0;
-              offset:   -6   -3;
+              offset:   -1  -1;
+           }
+           image {
+              normal: "e17_shelf_sh2.png";
            }
-           color: 0 255 0 100;
         }
       }
       part {
         name:          "resize_l";
-        mouse_events:  1;
-        type:          RECT;
         description {
            state:    "default" 0.0;
            rel1 {
               relative: 0.0  0.0;
-              offset:   2    2;
+              offset:   0  0;
+           }
+           rel2 {
+              relative: 0.0  0.0;
+              offset:   31  9;
+           }
+           image {
+              normal: "e17_shelf1.png";
+           }
+        }
+      }
+      part {
+        name:          "drag1";
+        description {
+           state:    "default" 0.0;
+           rel1 {
+              relative: 0.0  0.0;
+              offset:   0  10;
            }
            rel2 {
               relative: 0.0  1.0;
-              offset:   4    -6;
+              offset:   31  -11;
+           }
+           image {
+              normal: "e17_shelf2.png";
+              border: 4 4 4 4;
+           }
+        }
+      }
+      part {
+        name:          "resize_b1";
+        description {
+           state:    "default" 0.0;
+           rel1 {
+              relative: 0.0  1.0;
+              offset:   0  -10;
+           }
+           rel2 {
+              relative: 0.0  1.0;
+              offset:   31  -1;
+           }
+           image {
+              normal: "e17_shelf3.png";
            }
-           color: 0 0 255 100;
         }
       }
       part {
         name:          "resize_r";
-        mouse_events:  1;
-        type:          RECT;
         description {
            state:    "default" 0.0;
            rel1 {
               relative: 1.0  0.0;
-              offset:   -5   2;
+              offset:   -32  0;
            }
            rel2 {
-              relative: 1.0  1.0;
-              offset:   -3   -6;
+              relative: 1.0  0.0;
+              offset:   -1  9;
+           }
+           image {
+              normal: "e17_shelf4.png";
            }
-           color: 0 0 255 100;
         }
       }
       part {
-        name:          "resize_b";
-        mouse_events:  1;
-        type:          RECT;
+        name:          "drag2";
         description {
            state:    "default" 0.0;
            rel1 {
-              relative: 0.0  1.0;
-              offset:   2    -5;
+              relative: 1.0  0.0;
+              offset:   -32  10;
            }
            rel2 {
-              relative: 0.0  1.0;
-              offset:   4    -3;
+              relative: 1.0  1.0;
+              offset:   -1  -11;
+           }
+           image {
+              normal: "e17_shelf5.png";
+              border: 4 4 4 4;
            }
-           color: 255 0 0 100;
         }
       }
       part {
         name:          "resize_b2";
-        mouse_events:  1;
-        type:          RECT;
         description {
            state:    "default" 0.0;
            rel1 {
               relative: 1.0  1.0;
-              offset:   -5    -5;
+              offset:   -32  -10;
            }
            rel2 {
               relative: 1.0  1.0;
-              offset:   -3   -3;
+              offset:   -1  -1;
+           }
+           image {
+              normal: "e17_shelf6.png";
            }
-           color: 255 0 0 100;
         }
       }
    }




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to