Enlightenment CVS committal Author : dj2 Project : e17 Module : docs
Dir : e17/docs/ewlbook/examples/hello_world Modified Files: main.c Log Message: - update examples =================================================================== RCS file: /cvs/e/e17/docs/ewlbook/examples/hello_world/main.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- main.c 3 Oct 2005 18:55:32 -0000 1.6 +++ main.c 28 Apr 2006 13:11:51 -0000 1.7 @@ -11,7 +11,7 @@ Ewl_Widget *label = NULL; char buf[BUFSIZ]; - s = ewl_entry_text_get(EWL_ENTRY(w)); + s = ewl_text_text_get(EWL_TEXT(w)); label = (Ewl_Widget *)data; snprintf(buf, BUFSIZ, "Hello %s", s); @@ -52,7 +52,7 @@ label = ewl_text_new(); ewl_container_child_append(EWL_CONTAINER(box), label); ewl_object_alignment_set(EWL_OBJECT(label), EWL_FLAG_ALIGN_CENTER); - ewl_text_style_set(EWL_TEXT(label), "soft_shadow"); + ewl_text_styles_set(EWL_TEXT(label), EWL_TEXT_STYLE_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); @@ -62,7 +62,7 @@ ewl_container_child_append(EWL_CONTAINER(box), o); ewl_object_alignment_set(EWL_OBJECT(o), EWL_FLAG_ALIGN_CENTER); ewl_object_padding_set(EWL_OBJECT(o), 5, 5, 5, 0); - ewl_entry_color_set(EWL_ENTRY(o), 0, 0, 0, 255); + ewl_text_color_set(EWL_TEXT(o), 0, 0, 0, 255); ewl_callback_append(o, EWL_CALLBACK_VALUE_CHANGED, text_update_cb, label); ewl_widget_show(o); ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs