Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/edje

Dir     : e17/libs/edje/src/bin


Modified Files:
        edje_main.c 


Log Message:
Global text and color class manipulation. Settings on individual edje's will
override the global values.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/bin/edje_main.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- edje_main.c 19 Oct 2003 02:11:06 -0000      1.33
+++ edje_main.c 4 Nov 2003 06:15:18 -0000       1.34
@@ -232,10 +232,17 @@
             else if (!strcmp(ev->keyname, "Right"))
               edje_object_part_text_set(de->edje, "text", "You pressed \"U\". Nice 
one stenchie!");
             else if (!strcmp(ev->keyname, "F1"))
-              edje_object_color_class_set(de->edje, "bg", 
-                                          255, 255, 255, 255,
-                                          0, 0, 0, 0,
-                                          0, 0, 0, 0);
+              {
+                 edje_object_color_class_set(de->edje, "bg",
+                                             255, 255, 255, 255,
+                                             0, 0, 0, 0,
+                                             0, 0, 0, 0);
+                 edje_color_class_set("fg", 
+                                      0, 0, 0, 255,
+                                      0, 0, 0, 0,
+                                      0, 0, 0, 0);
+                 edje_text_class_set("plainjane", "Vera", 10);
+              }
             else if (!strcmp(ev->keyname, "F2"))
               edje_object_color_class_set(de->edje, "bg", 
                                           255, 200, 120, 255,




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to