rem: value[0] = rint((255-panel->color.red)/2.55); value[1] = rint((255-panel->color.green)/2.55); value[2] = rint((255-panel->color.blue)/2.55);
add: value[0] = rint((255-panel->color.rgb.red)/2.55); value[1] = rint((255-panel->color.rgb.green)/2.55); value[2] = rint((255-panel->color.rgb.blue)/2.55);
context: cmykInit(W_ColorPanel *panel){    int		value[3];    char	tmp[4];        value[0] = rint((255-panel->color.red)/2.55);    value[1] = rint((255-panel->color.green)/2.55);    value[2] = rint((255-panel->color.blue)/2.55);        WMSetSliderValue(panel->cmykCyanS, value[0]);    WMSetSliderValue(panel->cmykMagentaS, value[1]);    WMSetSliderValue(panel->cmykYellowS, value[2]);    WMSetSliderValue(panel->cmykBlackS, 0);        sprintf(tmp, "%d", value[0]);    WMSetTextFieldText(panel->cmykCyanT, tmp);    sprintf(tmp, "%d", value[1]);    WMSetTextFieldText(panel->cmykMagentaT, tmp);    sprintf(tmp, "%d", value[2]);    WMSetTextFieldText(panel->cmykYellowT, tmp);    WMSetTextFieldText(panel->cmykBlackT, "0");}