[MCP] [Q] Color change notification

Bill Spight bspight at pacbell.net
Tue Mar 18 17:00:46 UTC 2003


Dear Bob,

Ned:
> >> Of course, in Morph all changed does is invalidate the rectangle. It's 
> >> not the same as Object>>changed (i.e. it's not a change 
> >> notification).
> >> 
> >

Bill:
> >Then why in the world should Morph>>color: invalidate the rectangle?????
> 

Bob:
> So that the morph will be redrawn with the new color.
> 

1: If we're going to use #colorChanged, we could move the redrawing
there.

2: Why not use #redraw ? Wouldn't something like that be clearer?

Thanks,

Bill



More information about the Squeak-dev mailing list