Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : docs

Dir     : e17/docs/ewlbook/examples/hello_world


Modified Files:
        main.c 


Log Message:
- rework this bit of the hello world example a bit as it was causing
  confusion on how the styling worked and when it should kick in.
- hopefully this is easier to understand

===================================================================
RCS file: /cvsroot/enlightenment/e17/docs/ewlbook/examples/hello_world/main.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- main.c      9 Jul 2004 03:21:43 -0000       1.1
+++ main.c      28 Jul 2004 20:02:50 -0000      1.2
@@ -49,11 +49,12 @@
     ewl_widget_show(box);
  
     /* create text label */
-    label = ewl_text_new("Hello");
+    label = ewl_text_new(NULL);
     ewl_container_append_child(EWL_CONTAINER(box), label);
     ewl_object_set_alignment(EWL_OBJECT(label), EWL_FLAG_ALIGN_CENTER);
     ewl_text_style_set(EWL_TEXT(label), "soft_shadow");
     ewl_text_color_set(EWL_TEXT(label), 255, 0, 0, 255);
+    ewl_text_text_set(EWL_TEXT(label), "Hello");
     ewl_widget_show(label);
 
     /* create the entry */ 




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to