On Fri, Oct 30, 2015 at 8:42 AM, marcel.taeumel Marcel.Taeumel@hpi.de wrote:
Hi Karl,
if we remove gradient specifications from code, how will we version them with Monticello?
They must be stored in preferences.
Is there a way to get the code snippet that produces the result, which the user has fine-tuned in this gradient editor?
It is kind of possible but needs more work. I reuse stuff from NewColorPicker which have the color as text printed back to the UI. You can also change the color in the text to change it. It's a little more complicated with the gradient since it must be possible to change a color in a array.
Also the GradientEditor is not accessing all the aspects of the GradientFillStyle at the moment, just the colorRamp. The origin, direction, normal and radial is not accessible from the UI at the moment .
Best, Marcel
-- View this message in context: http://forum.world.st/The-Trunk-Morphic-kfr-1022-mcz-tp4858453p4858595.html Sent from the Squeak - Dev mailing list archive at Nabble.com.