<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>> <span style="font-size: 12pt;">Does it matter if the text is white on black?</span></p>
<div><br>
</div>
<p></p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div>
<div class="_rp_T4" id="Item.MessagePartBody">That was my doubt, exactly. :-)
<div class="_rp_U4 ms-font-weight-regular ms-font-color-neutralDark rpHighlightAllClass rpHighlightBodyClass" id="Item.MessageUniqueBody" style="font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif,serif,EmojiFont">
<div dir="ltr">
<div id="divtagdefaultwrapper"><font face="Calibri,Helvetica,sans-serif,EmojiFont,Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols">
<div id="Signature">
<div style="margin:0px"><font style="font-family:Calibri,Arial,Helvetica,sans-serif,serif,EmojiFont"></font></div>
</div>
</font></div>
</div>
</div>
</div>
<div class="_rp_T4" id="Item.MessagePartBody"><br>
</div>
<div class="_rp_T4" id="Item.MessagePartBody">Best,</div>
<div class="_rp_T4" id="Item.MessagePartBody">Christoph</div>
</div>
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Jakob Reschke <forums.jakob@resfarm.de><br>
<b>Gesendet:</b> Montag, 20. April 2020 20:36:08<br>
<b>An:</b> The general-purpose Squeak developers list<br>
<b>Betreff:</b> Re: [squeak-dev] The Trunk: Graphics-mt.430.mcz</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div dir="auto">Does it matter if the text is white on black?</div>
<div dir="auto"><br>
</div>
<div>Note that "Smalltalk classNamed: ..." is not Environments-friendly unless we changed the default binding of #Smalltalk.</div>
<div><br>
</div>
<div>Also, why not use a Symbol for the class name? The bindings all have Symbols as keys anyway, so you might trigger a conversion on each invocation. Didn't look it up though.<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Tobias Pape <<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>> schrieb am Sa., 18. Apr. 2020, 16:30:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> On 18.04.2020, at 15:37, Thiede, Christoph <<a href="mailto:Christoph.Thiede@student.hpi.uni-potsdam.de" rel="noreferrer" target="_blank">Christoph.Thiede@student.hpi.uni-potsdam.de</a>> wrote:<br>
> <br>
> > +                ifNil: [TextColor black "Fall back"]<br>
> <br>
> Do you think there would be the need for an explicit FallbackTextAttribute, which acts like a null object?<br>
<br>
That's essentially what it is.<br>
No need to overengineer.<br>
<br>
Best regards<br>
        -Tobias<br>
<br>
> Von: Squeak-dev <<a href="mailto:squeak-dev-bounces@lists.squeakfoundation.org" rel="noreferrer" target="_blank">squeak-dev-bounces@lists.squeakfoundation.org</a>> im Auftrag von
<a href="mailto:commits@source.squeak.org" rel="noreferrer" target="_blank">commits@source.squeak.org</a> <<a href="mailto:commits@source.squeak.org" rel="noreferrer" target="_blank">commits@source.squeak.org</a>><br>
> Gesendet: Freitag, 17. April 2020 16:52:44<br>
> An: <a href="mailto:squeak-dev@lists.squeakfoundation.org" rel="noreferrer" target="_blank">
squeak-dev@lists.squeakfoundation.org</a>; <a href="mailto:packages@lists.squeakfoundation.org" rel="noreferrer" target="_blank">
packages@lists.squeakfoundation.org</a><br>
> Betreff: [squeak-dev] The Trunk: Graphics-mt.430.mcz<br>
>  <br>
> Marcel Taeumel uploaded a new version of Graphics to project The Trunk:<br>
> <a href="http://source.squeak.org/trunk/Graphics-mt.430.mcz" rel="noreferrer noreferrer" target="_blank">
http://source.squeak.org/trunk/Graphics-mt.430.mcz</a><br>
> <br>
> ==================== Summary ====================<br>
> <br>
> Name: Graphics-mt.430<br>
> Author: mt<br>
> Time: 17 April 2020, 4:52:36.27086 pm<br>
> UUID: 1e5eac6b-e758-8445-b60e-7b09db8dcc63<br>
> Ancestors: Graphics-nice.429<br>
> <br>
> Adds a simple way to use forms as text anchors without exposing Morphic, where such anchors are currently implemented.<br>
> <br>
> =============== Diff against Graphics-nice.429 ===============<br>
> <br>
> Item was added:<br>
> + ----- Method: Form>>asTextAnchor (in category 'converting') -----<br>
> + asTextAnchor<br>
> +        "Convert the receiver to be embedded in text."<br>
> + <br>
> +        self flag: #refactor. "mt: Text anchors should work outside of Morphic, too. Any instance of Form could be embedded in Text."<br>
> +        ^ (Smalltalk classNamed: 'TextAnchor')<br>
> +                ifNil: [TextColor black "Fall back"]<br>
> +                ifNotNil: [:cls | cls new anchoredMorph: self]!<br>
<br>
<br>
<br>
</blockquote>
</div>
</div>
</body>
</html>