[Cuis-dev] WindowManager package
Luciano Notarfrancesco
luchiano at gmail.com
Tue Mar 11 03:25:57 PDT 2025
Cool, thanks Mariano. I’ve been playing with it, and I have some comments
and questions. In my opinion it could be simpler, perhaps only the class
SystemWindowDecoration (but I would call it just SystemWindow or
DecoratedSystemWindow), and maybe a simpler superclass that we can subclass
to create our favorite look and feel for windows. And the hierarchy of
application morphs, that I would just call “windows” to keep the current
class names (they are all called *Window).. perhaps ApplicationMorph could
be called ApplicationWindow? Also, why not make it subclass of
PluggableMorph as other morphs with model? And do we really need this
class, or we could just make them subclass of PluggableMorph?
Also, the WindowManager class seems unnecessary to me, I think all that it
does could be implemented on the class side of the decorated windows
(open:, open:label:), or on the instance side of the application windows
(open, openWithLabel:), and the class of system window to use can be set in
a class variable.
What do you think?
Cheers,
Luciano
On Wed, Mar 5, 2025 at 08:43 Mariano Montone via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:
> I attach an image with my current attempt:
> https://drive.google.com/file/d/1DwqxEPtdBfQ8n5QNsWrdBspaa1dKCIcV/view?usp=sharing
>
> Based on Cuis 7.3.
>
> I'm calling Inspectors, Browser morphs "Application Morphs" . (subject to
> change, though).
>
> Then a WindowManager class and WindowDecorations.
>
> Feedback welcome!
>
> Mariano
> El 25/2/25 a las 06:34, Luciano Notarfrancesco via Cuis-dev escribió:
>
> I’ve been looking at the image and I like the idea. I’m not sure about the
> particular implementation with the three classes PluggableLayoutMorph,
> WindowAreaMorph and PluggableSystemWindow tho… maybe we could think better
> about the design and names, and bring it to a new image?
>
>
> On Thu, Feb 13, 2025 at 06:25 Mariano Montone via Cuis-dev <
> cuis-dev at lists.cuis.st> wrote:
>
>>
>> El 12/2/25 a las 16:39, H. Hirzel via Cuis-dev escribió:
>> > Mariano,
>> >
>> > Unfortunately
>> > #openOn:label:
>> > is not implemented in the example image you provide
>> >
>> >
>> https://drive.google.com/file/d/1r-K2uTQsnAIIlolDrRHzpAJYozdq8Zad/view?usp=sharing
>>
>> Ouch. I shared wrong image.
>>
>> This is the correct image:
>>
>> https://drive.google.com/file/d/1qUpuqRu7ALOCsaQsnMwUucOW_A8vx7FB/view?usp=sharing
>>
>> --
>> Cuis-dev mailing list
>> Cuis-dev at lists.cuis.st
>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>
>
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250311/f0b03a06/attachment.htm>
More information about the Cuis-dev
mailing list