[Cuis-dev] Renaming several fundamental Morph classes
Hilaire Fernandes
hilaire at drgeo.eu
Mon Dec 27 15:42:33 PST 2021
Hi,
I agree BorderedBoxedMorph is a very long name...
Can't we merge both BorderedBoxedMorph and BoxedMorph?
After all, in Cuis most morphs defined with an extent want to have an
optional borderline. When looking at the subclasses of KernelMorph (no
border) there are little, and some may have useful use of a border.
When reading BoxedMorph do you expect a border? Me yes.
Do FramedMorph or FrameMorph suggest more the idea of box+border?
This will simplify even more the hierarchy:
Morph
PlacedMorph (location) [today’s MovableMorph]
BoxedMorph (extent, color, borderWidth, borderColor) [KernelMorph +
WidgetMorph]
PasteUpMorph [no change]
WorlddMorph [no change]
PluggableMorph [no change]
PlacedMorph and BoxedMorph looks odd to me, but it may be just a
cultural bias.
Hilaire
Le 27/12/2021 à 21:03, Jaromir Matas via Cuis-dev a écrit :
>
> Hi all,
>
> > Generally speaking, for things that will be talked about a lot,
> **fewer syllables are better**.
>
> In that case how about EdgedMorph or RimmedMorph instead of
> BorderedBoxedMorph? 😊
>
> $0.02
>
--
GNU Dr. Geo
http://drgeo.eu
http://blog.drgeo.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20211228/d55a8cf0/attachment.htm>
More information about the Cuis-dev
mailing list