we should release 1.1 much faster :) like that people will be able to get all the fixes.... Stef On Apr 18, 2010, at 2:42 AM, Henrik Sperre Johansen wrote:
Sorry for responding so late. but... On 09.04.2010 11:14, Lukas Renggli wrote:
Pay attention there is a #haltOnce in the code. Also there is something wrong with the line endings in the change-set.
:( Didn't have time to review it before submission at the time, so some debug code was left in.
However it also breaks some window refreshing, see attached screenshot.
Lukas
Yes, for some reason, 1.0 does not contain TransformMorph >> areasRemainingTofFill: aRectangle
^Array with: aRectangle
Which is needed for a proper refresh. As you noticed, at least it's quite visible when not present, so one is forced to determine what the proper return value should be, Basically, areasRemaining...: should denote the non-opaque areas of the morph. This is mostly used in the drawing algorithm, to determine coverage of a morph, and thus which areas remain to be drawn below it. In the case of TransformMorph, the calculation for returning a decent estimate is probably more work than just telling it to draw everything below (ie. return the rectangle as the area that remains to be drawn), so that's what we do. If you have a better default, please suggest it! :D
Cheers, Henry
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project