<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>[Fwd: Morphic Wrappers]</title></head><body>
<div>&nbsp;<br>
</div>
<div>&nbsp;<br>
</div>
<div>-------- Original Message --------</div>
<div>Subject:&nbsp; Morphic Wrappers Date:&nbsp; Tue, 22 Sep 1998
16:53:07 +0200 From:&nbsp; Daniel Vainsencher
&lt;danielv@netvision.net.il&gt; To:&nbsp; lnotarfr@dc.uba.ar,
richie@core-sdi.com<br>
</div>
<div>&nbsp;<br>
</div>
<div>Dear Len and Ritchie,<br>
</div>
<div>I'm a relative newbie to squeak.<br>
I found an issue about your absolutly<b> wonderful, beautiful</b>
Morphic Wrappers that you might find interesting.<br>
</div>
<div>Playing around with pictures, its suddenly struck me as annoying
that forms should be represented as 'a Form' string in
WrapperWorld.<br>
</div>
<div>Happily, MW is built so I can easily tell forms how they should
be wrapped. Also happily, Morphic already has a way of holding
pictures - ImageMorph.<br>
</div>
<div>Extend ImageMorph's class protocol with on: aForm,<br>
specify ImageMorphs as Forms favorite wrapper, and voila, Forms are
represented as Image morphs just as they should be.<br>
</div>
<div>Double click on my just dragged supposedly wrapped Form. Bummer -
Morphs aren't really wrappers. They don't give you a message menu,
they just blink dumbly.<br>
</div>
<div>I started thinking about it, and realized that wrappers allow
Objects to live in Morphic, imitating Morphs. But by adding all that
wonderful Wrapper functionality, you leave Morphs behind, and
therefore, they don't mix.<br>
</div>
<div>I was wondering whether and how you intended to address this.<br>
Off the top of my head, it seems to me that the functionality in
Wrappers today might be better split between two levels, one allowing
a readable represetation on screen and the basic Morph menus, and the
next level providing the message sending interface.<br>
The representation level would bring all objects to equality with
Morphs, and the send level would allow all objects, Morph or wrapped,
to be sent arbitrary messages.<br>
Which level is used should be decided by the World you're in.<br>
</div>
<div>Waddaya think?<br>
Anyway, thank you for Wrappers, certainly one of the coolest things
I've seen in Squeak. What do you have in mind for version 2?<br>
</div>
<div>Please give my regards to all those wonderful cows ;-)<br>
</div>
<div>DanielV<br>
(Born in Buenos Aires)</div>
</body>
</html>