Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : apps/e

Dir     : e17/apps/e/data/themes


Modified Files:
        default_fileman.edc 


Log Message:
- fix icon file names
- fix spacing


===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/data/themes/default_fileman.edc,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- default_fileman.edc 31 Oct 2005 10:08:41 -0000      1.16
+++ default_fileman.edc 2 Nov 2005 01:37:11 -0000       1.17
@@ -25,15 +25,16 @@
 #define FILEMAN_ICON(TYPE) \
 group { \
    name: "icons/fileman/"TYPE; \
-   max:  64 64; \
+   max:  48 48; \
    parts { \
       part { \
         name:          "icon"; \
         mouse_events:  0; \
-        description { \
+        description { \            
            state:    "default" 0.0; \
            aspect:   1.0 1.0; \
-           max:      64 64; \
+            align: 0.5 0.0; \
+           max:      48 48; \
            image { \
               normal: "e17_icon_fileman_"TYPE".png"; \
            } \
@@ -45,23 +46,25 @@
 #define FILEMAN_ICON_CLICKABLE(TYPE) \
 group { \
    name: "icons/fileman/"TYPE; \
-   max:  64 64; \
+   max:  48 48; \
    parts { \
       part { \
         name:          "icon"; \
         mouse_events:  0; \
         description { \
            state:    "default" 0.0; \
+           align: 0.5 0.0; \
            aspect:   1.0 1.0; \
-           max:      64 64; \
+           max:      48 48; \
            image { \
               normal: "e17_icon_fileman_"TYPE".png"; \
            } \
         } \
         description { \
            state:    "clicked" 0.0; \
+           align: 0.5 0.0; \
            aspect:   1.0 1.0; \
-           max:      64 64; \
+           max:      48 48; \
            image { \
               normal: "e17_icon_fileman_"TYPE"_clicked.png"; \
            } \
@@ -153,7 +156,7 @@
 {
       style {
         name: "fileman_icon_style"; 
-        base: "font=Edje-Vera color=#000 style=shadow shadow_color=#cccccc 
font_size=10 align=center wrap=char";        
+        base: "font=Edje-Vera color=#000 style=shadow shadow_color=#cccccc 
font_size=10 align=center wrap=char";
         tag:  "br" "\n";
         tag:  "hilight" "+ font=Edje-Vera-Bold";
         tag:  "invisible" "+ font=Edje-Vera font_size=7 style=none 
color=#0002";
@@ -912,57 +915,50 @@
 group {
    name: "fileman/icon_normal";
    min:  48 48;
-   max:  128 128;
+   max:  128 9999;
    parts {
       part {
+        /* this is used for debugging */
+        name: "ghost";
+        type: RECT;
+        description {
+           state: "default" 0.0;
+           visible: 0;
+           color: 128 128 128 128;
+        }
+      }
+      part {
         name:          "icon_swallow";
         type:          SWALLOW;
         mouse_events:  0;
         description {
            min: 48 48;
-           max: 128 128;
+           max: 48 48;
+           align: 0.5 0.0;
            state:      "default" 0.0;
-           rel1 {
-              relative: 0.0 0.0;
-              offset:   5 5;
-           }
-           rel2 {
-              relative: 1.0 1.0;
-              offset:   -6 -20;
-           }
-           color: 0 0 0 255;
         }
       }
       part {
         name:          "icon_title";      
-        type:          TEXT;
-        effect:        SHADOW;
+        type:          SWALLOW;
         description {
+           fixed: 1 1;
+           align: 0.5 0.0; 
            state: "default" 0.0;
            rel1 {
+              to: "icon_swallow";
               relative: 0.0 1.0;
-              offset:   5 -6;
+              offset:   -1 -1;
            }
            rel2 {
+              to: "icon_swallow";
               relative: 1.0 1.0;
-              offset:   -6 -6;
-           }
-           color:      0 0 0 255;
-           color3: 255 255 255 128;        
-           text {
-              text: "No Title";
-              align:    0.0 0.0;              
-              font: "Edje-Vera";
-              size: 10;
-             // min: 1 1;
-           }
+              offset:   -1  -1;
+           }       
         }
         description {
            state:   "clicked" 0.0;
            inherit: "default" 0.0;
-           text {
-              font: "Edje-Vera-Bold";
-           }       
         }
       }
       part {
@@ -974,12 +970,10 @@
            rel1 {
               relative: 0.0 0.0;
               offset:   0 0;
-              //to:       "icon_swallow";
            }
            rel2 {
               relative: 1.0 1.0;
               offset:   -1 -1;
-              //to:       "icon_swallow";
            }
            color:      0 0 0 0;
         }




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to