Hi All,
I was wondering why is there a method originFor: in FormsBuilder. In
VW there is none. Why the builder should know about the bounds of the
element to display? I always though the shape was in charge of it.
Something else, both in Squeak and VW we have the following method:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
FormsBuilder>>at: aX and: aY
"Utility method that makes other methods easier to read."
^self components
select: [:component | component gridX = aX and: [component gridY =
aY]]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Is there a reason to not store the components in a matrix ? One reason
that I see, is that one could have a large compound contains only few
elements in it. But still, I find that strange.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project