rem: int		value[3]; char	tmp[3];  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");
add: 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");
context: cmykInit(W_ColorPanel *panel){	int		value[3];	char	tmp[3];	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");}