add: case TYPE_TGRADIENT: case TYPE_PIXMAP: updateImage(panel, NULL); break;
context: changeTypeCallback(WMWidget *w, void *data){    TexturePanel *panel = (TexturePanel*)data;    int newType;    int i;    newType = WMGetPopUpButtonSelectedItem(w);    if (newType == panel->currentType)	return;    if (panel->currentType >= 0) {	for (i = 0; i < MAX_SECTION_PARTS; i++) {	    if (panel->sectionParts[panel->currentType][i] == NULL)		break;	    WMUnmapWidget(panel->sectionParts[panel->currentType][i]);	}    }    for (i = 0; i < MAX_SECTION_PARTS; i++) {	if (panel->sectionParts[newType][i] == NULL)	    break;	WMMapWidget(panel->sectionParts[newType][i]);    }    panel->currentType = newType;    switch (newType) {     case TYPE_SGRADIENT:	updateSGradButtons(panel);	break;     case TYPE_GRADIENT:	updateGradButtons(panel);	break;    }}