Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/edje

Dir     : e17/libs/edje/data/src


Modified Files:
        e_logo.edc test.edc 


Log Message:


remove that debug... dont need that.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/data/src/e_logo.edc,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- e_logo.edc  28 Mar 2004 05:26:17 -0000      1.24
+++ e_logo.edc  28 Mar 2004 06:21:52 -0000      1.25
@@ -143,16 +143,6 @@
         item: "My Data" "The string to attach to this data";
         item: "The Key" "String data attached to the key";
       }
-      script {
-        
-        main()
-          {
-             tst();
-             emit("Flabby", "Pants");
-             return 7;
-          }
-        
-      }
       parts {
         part {
            name:          "background";
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/data/src/test.edc,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- test.edc    23 Jan 2004 02:13:29 -0000      1.15
+++ test.edc    28 Mar 2004 06:21:52 -0000      1.16
@@ -40,6 +40,23 @@
             item: "My Data" "The string to attach to this data";
             item: "The Key" "String data attached to the key";
          }
+// this section is optional. it contains all "shared" subroutines for this
+// group. so if any program scripts call functions that are not edje
+// exported calls, then this is where you put your own subroutines.
+       script
+         {
+            my_routine(var)
+              {
+                 new i;
+                 
+                 if (var > 10) tst();
+                 if (var > 20)
+                   {
+                      for (i = 20; i < var; i++)
+                        emit("SMELLY", "Fish");
+                   }
+              }
+         }
        parts
          {
             part
@@ -196,6 +213,24 @@
                  action:     STATE_SET "default" 0.0;
                  target:     "logo";
               }
+            program
+              {
+                 name:       "logo_unclick_script";
+                 signal:     "mouse,up,1";
+                 source:     "logo";
+// code to execute if this program matches. it can use subroutines declared
+// for this group or functions exported
+                 script
+                   {
+                      var i = 5;
+                      
+                      while (i > 0)
+                        {
+                           my_routine(10 + (i * 5));
+                           i--;
+                        }
+                   }
+              }
 /*          
             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