rem: char	tmp[3];  WMSetSliderValue(panel->rgbRedS,panel->color.red); WMSetSliderValue(panel->rgbGreenS,panel->color.green); WMSetSliderValue(panel->rgbBlueS,panel->color.blue);  sprintf(tmp, "%d", panel->color.red); WMSetTextFieldText(panel->rgbRedT, tmp); sprintf(tmp, "%d", panel->color.green); WMSetTextFieldText(panel->rgbGreenT, tmp); sprintf(tmp, "%d", panel->color.blue); WMSetTextFieldText(panel->rgbBlueT, tmp);
add: char    tmp[4];  WMSetSliderValue(panel->rgbRedS,panel->color.red); WMSetSliderValue(panel->rgbGreenS,panel->color.green); WMSetSliderValue(panel->rgbBlueS,panel->color.blue);  sprintf(tmp, "%d", panel->color.red); WMSetTextFieldText(panel->rgbRedT, tmp); sprintf(tmp, "%d", panel->color.green); WMSetTextFieldText(panel->rgbGreenT, tmp); sprintf(tmp, "%d", panel->color.blue); WMSetTextFieldText(panel->rgbBlueT, tmp);
context: rgbInit(W_ColorPanel *panel){	char	tmp[3];	WMSetSliderValue(panel->rgbRedS,panel->color.red);	WMSetSliderValue(panel->rgbGreenS,panel->color.green);	WMSetSliderValue(panel->rgbBlueS,panel->color.blue);		sprintf(tmp, "%d", panel->color.red);	WMSetTextFieldText(panel->rgbRedT, tmp);	sprintf(tmp, "%d", panel->color.green);	WMSetTextFieldText(panel->rgbGreenT, tmp);	sprintf(tmp, "%d", panel->color.blue);	WMSetTextFieldText(panel->rgbBlueT, tmp);}