Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/colordialog Modified Files: ewl_colordialog_test.c Log Message: - API BREAK: ewl_color[picker|dialog]_previous_rbg_set -> ewl_color[picker|dialog]_previous_rbga_set - Add alpha channel support to the color picker - I'm not sure if I like the fact that the previous color set and the current colour set are different. (Current has separate _rgb_set and _alpha_set) Thoughts? =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/colordialog/ewl_colordialog_test.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- ewl_colordialog_test.c 4 Dec 2007 05:27:58 -0000 1.1 +++ ewl_colordialog_test.c 7 Dec 2007 05:59:15 -0000 1.2 @@ -74,8 +74,7 @@ ewl_widget_color_get(o, &r, &g, &b, &a); o = ewl_colordialog_new(); - ewl_colordialog_previous_rgb_set(EWL_COLORDIALOG(o), r, g, b); - ewl_colordialog_alpha_set(EWL_COLORDIALOG(o), a); + ewl_colordialog_previous_rgba_set(EWL_COLORDIALOG(o), r, g, b, a); ewl_callback_append(o, EWL_CALLBACK_VALUE_CHANGED, colordialog_cb_value_changed, NULL); ewl_widget_show(o); ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs