Enlightenment CVS committal Author : rbdpngn Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin Modified Files: ewl_colorpicker_test.c Added Files: ewl_colordialog_test.c Log Message: Update colorpicker to use the new color type in the callback. Add a colordialog test. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_colorpicker_test.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_colorpicker_test.c 28 May 2005 20:32:49 -0000 1.2 +++ ewl_colorpicker_test.c 20 Jun 2005 04:20:16 -0000 1.3 @@ -15,8 +15,8 @@ __color_value_changed(Ewl_Widget *w __UNUSED__, void *ev_data, void *user_data __UNUSED__) { - char *text = ev_data; - printf("value changed to %s\n", text); + Ewl_Color_Set *col = ev_data; + printf("value changed to (%i, %i, %i)\n", col->r, col->g, col->b); } void ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs