Morph update

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


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

> I have a subclass of Morph, on which I redefine the method drawOn:
> Body of drawOn: is influenced by external event, such as the key,
> how can I make the morph refreshed ? Morph>>repaint, Morph>>update,
> ... seems to be hided using fancy name...

Morph>>changed will invalidate the area of the Morph, causing it to be 
redrawn soon.

There is also layoutChanged, which will force the layout to be updated 
(and the Morph redrawn).

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




More information about the Squeak-dev mailing list