<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 4, 2016 at 9:26 AM, marcel.taeumel <span dir="ltr">&lt;<a href="mailto:Marcel.Taeumel@hpi.de" target="_blank">Marcel.Taeumel@hpi.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Then, I think, themes affect mainly fonts and colors and other<br>
preference-like things. I don&#39;t think we need to prepare for fundamentally<br>
different #drawOn: methods/implementations/behavior in various morphs. Back<br>
then, in my opinion, &quot;Poly Morph&quot; overdid it somehow. Programming the GUI<br>
for tools got more challenging than it had to be.<br>
<br>
Besides creating morphs according to the current preferences, we should<br>
think about how to update existing instances. For colors, there is<br>
SystemWindow class &gt;&gt; refreshAllWindows and TheWorldMainDockingBar class &gt;&gt;<br>
#updateInstances. There is also ScrollBar class &gt;&gt; #refreshAllScrollBars.<br>
But this is rather specific and not reusable without carefully<br>
copy-and-paste. They make use of #allSubInstances -- is this the best way of<br>
doing it?<br>
<br>
Coming back to the original problem in this thread: Yes, we should add a<br>
preference to specify the background color in lists, trees, and text fields.<br>
Should be easy. :)<br></blockquote><div><br></div><div>Sounds promising ;-)</div><div><br></div><div>Best,</div><div>KarlĀ </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Best,<br>
Marcel<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://forum.world.st/Dark-theme-tp4869082p4869133.html" rel="noreferrer" target="_blank">http://forum.world.st/Dark-theme-tp4869082p4869133.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the Squeak - Dev mailing list archive at Nabble.com.<br>
<br>
</div></div></blockquote></div><br></div></div>