[Cuis-dev] Embedded Squeak/Cuis

Mariano Montone marianomontone at gmail.com
Fri Sep 4 07:53:49 PDT 2020


El 4/9/20 a las 09:28, Douglas Brebner via Cuis-dev escribió:
> On another note, why SystemWindows? Shouldn't this be handled by a
> Morph? (Which may, in turn, be in a SystemWindow.)
> 
> 
> SystemWindows have been bugging me for a while and I just realised why.
> They can't really be composed with other Morphs.
> 

I'm of the same opinion. I've found myself being incapable of reusing or
embedding some morph because it was implemented as a SystemWindow
(subclass). In my opinion, a better design would be to implement every
morph as one that can stand on its own without a window, and then have
SystemWindowMorph as a pluggable morph. Like: (SystemWindow on: myMorph)
openInWorld.

Cheers,

Mariano



More information about the Cuis-dev mailing list