On Thu, Mar 20, 2003 at 05:04:35PM +0000, John Levon wrote:
> And how does it alter its *parent* when needed ?

Nothing knows about its parent except what it gets passed in the info
structure. 

By returning something in the info structure. When the parent starts doing
its calculations, the sizes of the children are fixed.

> This sounds tremendously like what already exists Andre, except you
> called "update" "metrics" instead,  and you do a full redraw of the
> screen. It is doing this update/metrics traversal that is the
> complicated bit !

It is a simple depth first tree traversal...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

Reply via email to