<div dir="auto">Yes, before I also suggested to Juan the name BoxMorph or BoxedMorph (it’s bounded by a box). I understand that they can have any shape, the rectangular thing about them is that they are bounded by a rectangle.</div><div dir="auto"><br></div><div dir="auto">What’s the difference between the current KernelMorph and WidgetMorph? They have duplicated code, and the only difference seems to be that WidgetMorph has border. So they are kind of the old RectangularMorph and BorderedMorph, if I remember correctly. If KernelMorph is only there to separate “system” morphs from “user” morphs I think it shouldn’t exist.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 24 Dec 2021 at 3:30 PM Hilaire Fernandes via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">
<div text="#000000" bgcolor="#FFFFFF">
<div>Hi guys, <br>
</div>
<div><br>
</div>
<div>Le 24/12/2021 à 07:12, Luciano
Notarfrancesco a écrit :<br>
</div>
<blockquote type="cite">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 cols="72" style="font-family:monospace">--
GNU Dr. Geo
<a href="http://drgeo.eu" target="_blank" style="font-family:monospace">http://drgeo.eu</a>
<a href="http://blog.drgeo.eu" target="_blank" style="font-family:monospace">http://blog.drgeo.eu</a></pre>
</div>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote></div></div>