x += hue->get_w() + xs10;
hsv_h = new PaletteHSV(this, x,y= y0, hsv.h, 0, 360);
+ hsv_h->set_increment(1);
+ hsv_h->set_precision(1);
hsv_h->create_objects(); hsv_h->set_tooltip(_("Hue"));
hsv_s = new PaletteHSV(this, x,y+=ys25, hsv.s, 0, 1);
hsv_s->create_objects(); hsv_s->set_tooltip(_("Saturation"));
int ColorButtonPicker::handle_new_color(int color, int alpha)
{
color_button->lock_window("ColorButtonPicker::handle_new_color");
- color_button->update_gui(color, alpha);
+ color_button->update_gui(color);
color_button->unlock_window();
return color_button->handle_new_color(color, alpha);
}