int ColorButtonPicker::handle_new_color(int color, int alpha)
{
update(color, alpha);
- color_button->handle_new_color(color, alpha);
return 1;
}
void ColorButtonPicker::update_gui(int color, int alpha)
{
ColorPicker::update_gui(color, alpha);
+ color_button->handle_new_color(color, alpha);
}
ColorButtonThread::ColorButtonThread(ColorButton *color_button)