On Mon, Aug 21, 2006 at 12:29:14PM -0400, Enlightenment CVS wrote:
Enlightenment CVS committal
Author : sebastid
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_spectrum.c e_widget_cslider.c e_widget_spectrum.c
Log Message:
Add all enum types in select.
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_spectrum.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- e_spectrum.c 20 Aug 2006 21:18:29 -0000 1.8
+++ e_spectrum.c 21 Aug 2006 16:29:14 -0000 1.9
@@ -244,6 +244,8 @@
s = x / (double)(sp->iw);
evas_color_hsv_to_rgb(h, s, v, &rr, &gg, &bb);
break;
+ case E_COLOR_COMPONENT_MAX:
+ break;
}
_MAX just gives you the number of them, so you can loop over them.
nothing should ever be set to it.
rephorm