Add all enum types in select.

SVN revision: 25012
This commit is contained in:
sebastid 2006-08-21 16:29:14 +00:00 committed by sebastid
parent 98e61fa3d3
commit c67f9bcbf6
3 changed files with 14 additions and 1 deletions

View File

@ -244,6 +244,8 @@ _e_spectrum_2d_color_at(E_Spectrum *sp, int x, int y, int *r, int *g, int *b)
s = x / (double)(sp->iw);
evas_color_hsv_to_rgb(h, s, v, &rr, &gg, &bb);
break;
case E_COLOR_COMPONENT_MAX:
break;
}
if (r) *r = rr;
@ -287,6 +289,8 @@ _e_spectrum_redraw(void *d)
case E_COLOR_COMPONENT_V:
vz = sp->cv->v;
break;
case E_COLOR_COMPONENT_MAX:
break;
}
for (i = 0; i < sp->ih; i++)

View File

@ -153,6 +153,8 @@ _e_wid_value_set(Evas_Object *o, double vx)
wd->color->v = vx;
e_color_update_hsv(wd->color);
break;
case E_COLOR_COMPONENT_MAX:
break;
}
_e_wid_update(wd);
@ -252,6 +254,8 @@ _e_wid_update_standard(E_Widget_Data *wd)
evas_object_gradient_color_add(wd->o_grad, r, g, b, 255, 1);
vx = wd->color->v;
break;
case E_COLOR_COMPONENT_MAX:
break;
}
edje_object_part_drag_value_set(wd->o_cslider, "cursor", vx, vx);
@ -315,6 +319,8 @@ _e_wid_update_fixed(E_Widget_Data *wd)
evas_object_gradient_color_add(wd->o_grad, 0, 0, 0, 255, 1);
vx = wd->color->v;
break;
case E_COLOR_COMPONENT_MAX:
break;
}
edje_object_part_drag_value_set(wd->o_cslider, "cursor", vx, vx);

View File

@ -126,6 +126,8 @@ e_widget_spectrum_update(Evas_Object *obj, int redraw)
vy = wd->cv->h / 360.0;
vx = wd->cv->s;
break;
case E_COLOR_COMPONENT_MAX:
break;
}
edje_object_part_drag_value_set(wd->o_edje, "cursor", vx, vy);
@ -265,7 +267,8 @@ _e_wid_mouse_handle(Evas_Object *obj, int mx, int my)
wd->cv->s = vx;
e_color_update_hsv(wd->cv);
break;
case E_COLOR_COMPONENT_MAX:
break;
}
e_widget_change(obj);
}