Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/data/themes


Modified Files:
        default_fileman.edc 


Log Message:


add an overlay object to the fm and use it to display a busy indicator with
file count

===================================================================
RCS file: /cvs/e/e17/apps/e/data/themes/default_fileman.edc,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -3 -r1.38 -r1.39
--- default_fileman.edc 24 Jul 2006 17:41:43 -0000      1.38
+++ default_fileman.edc 29 Jul 2006 16:27:54 -0000      1.39
@@ -1,6 +1,15 @@
 images {
    image: "e17_ilist_bg0.png" COMP;
    image: "e17_ilist_bg1.png" COMP;
+   image: "e17_busy-1.png" COMP;
+   image: "e17_busy-2.png" COMP;
+   image: "e17_busy-3.png" COMP;
+   image: "e17_busy-4.png" COMP;
+   image: "e17_busy-5.png" COMP;
+   image: "e17_busy-6.png" COMP;
+   image: "e17_busy-7.png" COMP;
+   image: "e17_busy-8.png" COMP;
+   image: "e17_busy-9.png" COMP;
 }
 
 group {
@@ -2912,6 +2921,138 @@
       }      
    }   
 }
+
+group {
+   name: "fileman/overlay";
+   parts {
+      part {
+        name: "busy";
+        clip_to: "busy_clip";
+         mouse_events:  0;
+        description {
+           state: "default" 0.0;
+           max: 32 32;
+           aspect: 1.0 1.0;
+           align: 1.0 1.0;
+           rel1 {
+              relative: 0.0 0.0;
+              offset:   8 8;
+           }
+           rel2 {
+              relative: 1.0 1.0;
+              offset:   -9 -9;
+           }
+           image {
+              normal: "e17_busy-9.png";
+              tween:  "e17_busy-1.png";
+              tween:  "e17_busy-2.png";
+              tween:  "e17_busy-3.png";
+              tween:  "e17_busy-4.png";
+              tween:  "e17_busy-5.png";
+              tween:  "e17_busy-6.png";
+              tween:  "e17_busy-7.png";
+              tween:  "e17_busy-8.png";
+           }
+        }
+      }
+      part {
+        name: "busy_label";
+         type: TEXT;
+        effect: SOFT_SHADOW;
+        clip_to: "busy_clip";
+         mouse_events:  0;
+        description {
+           state: "default" 0.0;
+           align: 1.0 0.5;
+           rel1 {
+              to: "busy";
+              relative: 0.0 0.0;
+              offset:   -1 0;
+           }
+           rel2 {
+              to: "busy";
+              relative: 0.0 1.0;
+              offset:   -1 -1;
+           }
+           color: 255 255 255 255;
+           color3: 0 0 0 24;
+           text {
+              text: "";
+              font: "Edje-Vera-Bold";
+              size: 10;
+              min:  1 1;
+              align: 1.0 0.5;
+              text_class: "fileman_notice";
+           }
+        }
+      }
+      part {
+        name: "busy_clip";
+        type: RECT;
+         mouse_events:  0;
+        description {
+           state: "default" 0.0;
+           visible: 0;
+           color: 255 255 255 0;
+        }
+        description {
+           state: "active" 0.0;
+           visible: 1;
+           color: 255 255 255 255;
+        }
+      }
+   }
+   programs {
+      program {
+        name: "go1";
+        signal: "busy";
+        source: "start";
+        action: STATE_SET "active" 0.0;
+        transition: SINUSOIDAL 1.0;
+        target:  "busy_clip";
+      }
+      program {
+        name: "go2";
+        signal: "busy";
+        source: "start";
+        action: STATE_SET "default" 0.0;
+        transition: LINEAR 0.5;
+        target: "busy";
+        after:  "go2";
+      }
+      program {
+        name: "stop1";
+        signal: "busy";
+        source: "stop";
+        action: STATE_SET "default" 0.0;
+        transition: SINUSOIDAL 1.0;
+        target: "busy_clip";
+        after: "stop2";
+      }
+      program {
+        name: "stop2";
+        action: ACTION_STOP;
+        target: "go2";
+      }
+   }
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 
 
 



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to