<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi guys, <br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Le 24/12/2021 à 07:12, Luciano
Notarfrancesco a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAL5GDyqW2X1iwVQH-Pa_Sz6Lr8PV1Z2oQ5ub-K6rYHhR2zd3ag@mail.gmail.com">I’ve
been thinking about it and I would rename KernelMorph to
RectangularMorph, as in the original Morphic, because I think
having rectangular bounds is enough to call it “rectangular”. It’s
not a rectangle, tho (it wouldn’t make sense to call it
RectangleMorph). And about WidgetMorph I’d keep that name and make
it subclass of RectangularMorph (it just adds borderWidth and
borderColor).</blockquote>
<p>Yes and No. <br>
</p>
<p>Yes. The RectangularMorph or maybe just RectMorph will be more
meaningful than Kernel/SpecialMorph. Some user will read Rectangle
and be confused, because subclass of KernelMorph can be non
rectangle (Think about a disc or an ellipse) <br>
</p>
<p>In that case I will call it a BoxyMorph or BoxMorph because a
rectangular, ellipse, or any other shape defined by its -x and -y
extents are kind of box.<br>
</p>
<p>No. Because the intend of Juan is to make Widget not limited to
Rectangular like widget, but to extend it to widget with any kind
of shape. So it can't be a sublcass of KernelMorph. In Juan,
renaming scheme, this is GUIControlMorph which could be a subclass
of KernelMorph.</p>
<p>My poor Juan, I think we add a lot of confusion we our opinions
;-)<br>
</p>
<p>Reading at your email, we want coherent names for these
fundamental classes. Here is a distilled proposal from your
suggestions:</p>
<p>MovableMorph -> MorphicWidget
-> <b>WidgetMorph </b>(subclass of Morph)<br>
WidgetMorph -> GUIControlMorph -> <b>RectWidgetMorph </b>(subclass
of WidgetMorph as for now)
<br>
KernelMorph -> SpecialMorph -> <b>BoxyMorph </b>/<b>
BoxMorph </b>(subclass of WidgetMorph)<br>
<b></b>WorldMorph + PasteUpMorph -> <b>WorldMorph</b></p>
<p>I think having both WidgetMorph and RectWidgetMorph names (or
anything with the same idea) will help the future users to
distinguish these two kinds of widget and not be confused as I
was.<br>
</p>
<p>As Luciano mentioned it, we can wonder why in the current name
scheme WidgetMoprh is not a subclass of KernelMorph. But maybe we
can keep this for later and Juan may have some good reason.<br>
</p>
<p>Best wishes to all of you!<br>
</p>
<p>Hilaire</p>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</body>
</html>