Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/edje

Dir     : e17/libs/edje/data/src


Modified Files:
        e_logo.edc 


Log Message:


timers and animators are now supported from the embryo scripts - WOOO!
examples in e_logo.edc

errr - the animators may have problems if somehow aan animator is deleted or
object deleteded or file changed while running thru the list...

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/data/src/e_logo.edc,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -3 -r1.28 -r1.29
--- e_logo.edc  2 Apr 2004 03:55:37 -0000       1.28
+++ e_logo.edc  2 Apr 2004 09:16:48 -0000       1.29
@@ -147,6 +147,18 @@
         public global_int;
         public global_float;
         public global_str;
+        
+        public timer_cb(val)
+          {
+             emit("PROGRAAAAAAAM", "[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@[EMAIL PROTECTED]");
+          }
+         public anim_cb(val, Float: pos)
+          {
+             new buf[100];
+             
+             snprintf(buf, 100, "val = %i, pos = %f", val, pos);
+             emit("PR AAAAAAAAANIM", buf);
+          }
       }
       parts {
         part {
@@ -506,6 +518,8 @@
               set_state(PART:"logo", "clicked", 0.0);
               set_tween_state(PART:"logo", randf(), "default", 0.0, "clicked", 0.0);
               run_program(PROGRAM:"logo_click_d2");
+              timer(2.5, "timer_cb", 777);
+              anim(1.5, "anim_cb", 7777);
            }
         }
         program {




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to