Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/edje

Dir     : e17/libs/edje/src/bin


Modified Files:
        edje_cc_out.c 


Log Message:


busy adding some MEAT to edje's embryo script support. just added
"persistent" variables - ie tied to each instance of an edje object and you
can save/load via get_int() set_int() get_float() set_float(), get_str(),
get_strlen() and set_str(). the values are fetched/stored wherever you do
these calls. you need a public variable declaration to indicate you want to
use a global var, and use this variable handle as the variable index - edje
will init it for you.

e_logo.edc has some examples...
:)

this solves being able to keep state like if a check button is enabled or
disabled etc. etc. etc.
then i guess its onto the rest of the calls...

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/bin/edje_cc_out.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- edje_cc_out.c       28 Mar 2004 05:26:17 -0000      1.12
+++ edje_cc_out.c       30 Mar 2004 10:30:35 -0000      1.13
@@ -445,7 +445,15 @@
                       snprintf(buf, sizeof(buf), "embryo_cc -i%s -o%s %s", 
                                DAT"data/include", tmpo, tmpn);
                       ret = system(buf);
-                      printf("ret = %i\n", ret);
+/*                    
+                      if (ret != 0)
+                        {
+                           printf("%i\n", ret);
+                           fprintf(stderr, "%s: Warning. Compiling script code not 
clean.\n",
+                                   progname);  
+                           ABORT_WRITE(ef, file_out);
+                        }
+ */
                       close(fd);
                    }
                  f = fopen(tmpo, "r");




-------------------------------------------------------
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