Morph update

Bergel Alexandre bergel at iam.unibe.ch
Wed Dec 4 16:57:01 UTC 2002


Sorry, 

I didn't read the ML enought :-)

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

Cheers,
Alexandre

On Wed, Dec 04, 2002 at 05:51:04PM +0100, Bergel Alexandre wrote:
> Hello,
> 
> 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...
> 
> Cheers,
> Alexandre
> 
> 
> -- 
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._
> Bergel Alexandre  http://www.iam.unibe.ch/~bergel
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._
Bergel Alexandre  http://www.iam.unibe.ch/~bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^



More information about the Squeak-dev mailing list