[squeak-dev] Re: SystemWindow titlebar buttons.

Ronald Spengler ron.spengler at gmail.com
Mon Dec 14 02:10:06 UTC 2009

I put what I did in the inbox if anyone wants it:)

On Sun, Dec 13, 2009 at 5:14 PM, Andreas Raab <andreas.raab at gmx.de> wrote:
> Ronald Spengler wrote:
>> Why use ScriptingSystem for this? Seems unnecessary. If there's a good
>> reason to, why not use it for both?
> There's no good reason. These forms were stored there initially and when
> someone wanted to use them in SystemWindow they naturally used the
> ScriptingSystem formAtKey: pattern.
> This should probably be migrated to something more along the lines of
> MenuIcons (perhaps call it StandardGraphics), i.e., a utility class whose
> only purpose is to store some of the graphic resources that are widely used
> throughout the system. Then have ScriptingSystem delegate to it.
> If you're looking for a short-term fix, just move it into another class var
> in SystemWindow. That's a recognizable pattern too.
> Cheers,
>  - Andreas


More information about the Squeak-dev mailing list