Morph update

Ned Konz ned at bike-nomad.com
Wed Dec 4 16:59:25 UTC 2002


On Wednesday 04 December 2002 08:57 am, Bergel Alexandre wrote:

> But anyway, why not to add a method such as:
> -=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=-
> refresh
>         | canvas |
>         canvas _ Display getCanvas.
>         self fullDrawOn: canvas.
>         canvas forceToScreen: self bounds
> -=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=-

because if the Morph is overlapped by another, you'd damage the 
appearance of the Morph on top by drawing over it.

The rectangle invalidation is necessary to get all the overlapping 
Morphs in a particular area to redraw in order.

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE




More information about the Squeak-dev mailing list