Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests Modified Files: ewl_icon.c Log Message: - add a horizontal icon test =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/ewl_icon.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_icon.c 10 Mar 2006 04:05:42 -0000 1.2 +++ ewl_icon.c 12 Apr 2006 01:48:17 -0000 1.3 @@ -45,6 +45,18 @@ ewl_container_child_append(EWL_CONTAINER(box), o); ewl_widget_show(o); + o = ewl_hseparator_new(); + ewl_container_child_append(EWL_CONTAINER(box), o); + ewl_widget_show(o); + + o = ewl_icon_new(); + ewl_box_orientation_set(EWL_BOX(o), EWL_ORIENTATION_HORIZONTAL); + ewl_icon_image_set(EWL_ICON(o), + PACKAGE_DATA_DIR "/images/Draw.png", NULL); + ewl_icon_label_set(EWL_ICON(o), "Draw"); + ewl_container_child_append(EWL_CONTAINER(box), o); + ewl_widget_show(o); + return 1; } ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs