[Cuis] A bit of explanation about Morph >> bounds

Frank Shearar frank.shearar at gmail.com
Mon Dec 23 04:03:01 CST 2013


On 23 December 2013 03:09, Casey Ransberger <casey.obrien.r at gmail.com> wrote:
> The main difference is that in Cuis, a Morph's position is relative to
> whatever Morph it's embedded in, whereas in Squeak/Pharo, it's relative to
> the World.
>
> The Cuis solution is simpler and more forward-looking. It was implemented to
> support Morphic 3 and a zoomable interface.

I think you mean by "simpler and more forward-looking" that it's "the
only sensible choice"! Using absolute coordinates means not being able
to compose different coordinate systems.

frank

> On Dec 22, 2013, at 8:41 AM, Germán Arduino <garduino at gmail.com> wrote:
>
> Hi People:
>
> I'm playing with some Morph packages that I would like to port to Cuis.
>
> I managed to understand several differences between Morphic of Cuis and
> Morphic of Squeak, but I'm a bit disoriented with #bounds that is an instvar
> very used in Squeak and return a rectangle with the corners of the morph.
>
> How I should replace this method in a proper way in Cuis?
>
> Thanks.
>
>
> --
> Saludos / Regards,
> Germán Arduino
> www.arduinosoftware.com
>
> _______________________________________________
> Cuis mailing list
> Cuis at jvuletich.org
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
>
>
> _______________________________________________
> Cuis mailing list
> Cuis at jvuletich.org
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
>




More information about the Cuis mailing list