[squeak-dev] The Inbox: Graphics-ct.441.mcz

Marcel Taeumel marcel.taeumel at hpi.de
Wed Oct 7 07:07:27 UTC 2020


Then make it at least consistent. ;-) That ifNil-case will still produce parentheses. So ...

Best,
Marcel
Am 01.10.2020 14:09:59 schrieb Thiede, Christoph <christoph.thiede at student.hpi.uni-potsdam.de>:
Hm, isn't it enough to add the parentheses in the store string? (6 at 7) printString does not have parentheses either ...

Best,
Christoph
[http://www.hpi.de/]
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von Taeumel, Marcel
Gesendet: Donnerstag, 1. Oktober 2020 12:55:16
An: squeak-dev
Betreff: Re: [squeak-dev] The Inbox: Graphics-ct.441.mcz
 
Nice. Given that #storeOn: is used, we should take care to always wrap the result in parentheses.

-> '(Color red alpha: 0.4)'

Best,
Marcel
Am 01.10.2020 10:51:29 schrieb Stéphane Rollandin <lecteur at zogotounga.net>:
> Proposal: Isolate alpha channel when printing a named color. This allows it to reuse the color name even for translucent color.
>
> Example:
> (Color red alpha: 0.4) printString
> Output (new):
> 'Color red alpha: 0.4'
> Output (old):
> '(TranslucentColor r: 1 g: 0.0 b: 0.0 alpha: 0.4)'

+1

Stef


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20201007/e284bf8d/attachment.html>


More information about the Squeak-dev mailing list