Enlightenment CVS committal
Author : moom
Project : e17
Module : libs/etk
Dir : e17/libs/etk/src/lib
Modified Files:
etk_colorpicker.c
Log Message:
* [Colorpicker] Fix a bug with the 'H' slider
===================================================================
RCS file: /cvs/e/e17/libs/etk/src/lib/etk_colorpicker.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -3 -r1.28 -r1.29
--- etk_colorpicker.c 23 Feb 2007 21:40:04 -0000 1.28
+++ etk_colorpicker.c 24 Feb 2007 20:36:45 -0000 1.29
@@ -1127,7 +1127,7 @@
/* First, we update the values of the other sliders */
if (mode == ETK_COLORPICKER_H || mode == ETK_COLORPICKER_S || mode ==
ETK_COLORPICKER_V)
{
- h = etk_range_value_get(ETK_RANGE(cp->sliders[ETK_COLORPICKER_S]));
+ h = etk_range_value_get(ETK_RANGE(cp->sliders[ETK_COLORPICKER_H]));
s = etk_range_value_get(ETK_RANGE(cp->sliders[ETK_COLORPICKER_S]));
v = etk_range_value_get(ETK_RANGE(cp->sliders[ETK_COLORPICKER_V]));
evas_color_hsv_to_rgb(h, s, v, &color.r, &color.g, &color.b);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs