[Cuis-dev] Pluggable Windows experiment

Mariano Montone marianomontone at gmail.com
Mon Sep 7 09:25:28 PDT 2020


Hello Juan,

El 7/9/20 a las 12:53, Juan Vuletich escribió:
> Hi Mariano,
> 
> Haven't checked what you did yet, but one comment. All SystemWindow have
> a single LayoutMorph in invar layoutMorph, using all the client area of
> the Window. I guess it could make sense to make all the tools subclass
> LayoutMorph instead, and use (for example) a specific BrowserLayoutMorph
> inside a generic SystemWindow, instead of today's specific BrowserWindow
> holding a generic LayoutMorph. No need to add anew class.
> 
> (15 minutes later...)
> 
> Now I looked at what you did. It looks exactly what I was suggesting. I
> think it could be a nice improvement to the system.

Yes, it is just a quick experiment, though. It is a bit of a hack right
now, to see how pluggable windows would be.

But as you seem to agree with the design change, I could try to improve
it, looking to integrate into Cuis.

Cheers!

Mariano


More information about the Cuis-dev mailing list