Hmm... Are the gradients precalculated, or made on the fly?They are pre-calculated for each defined ob_type and width/height of it (when needed). So whensize changes it will probably be re-calculated.
Ok, I see. This makes it a bit more complicated.
Maybe something like obj_change would help here.
Or maybe your objc_set_gradient is best. I'm not in a hurry :) Jo Even