[Dev] Re: lastDynamicBlock
Donn Denman
donn at osafoundation.org
Thu Jan 6 22:49:59 PST 2005
John,
Glad to hear about this progress. The only part that's confusing to me
is the Globals.views[2] - the new detail view. Can you give me another
sentence about what that is?
The lastDynamicBlock is used to detect changes in the Active View, to
decide if we need to rebuild the dynamic containers. It's a cache of
the lowest block in the tree (starting at the current Active View)
that's a dynamic container. If it changes, we need to rebuild the
dynamicContainers. I think it should belong to the mainViewRoot, since
it detects changes in the view hierarchy that could apply across any of
the Globals.views[]. Make sense?
- Donn
On Jan 6, 2005, at 5:25 PM, John Anderson wrote:
> Hi Donn:
>
> I'm eliminating Globals.mainView. Instead there's going to be a
> Globals.mainViewRoot, which contains a tree of blocks for the current
> application UI, as in the top most "trees of blocks" that we
> discussed. Also there's going to be a Globals.views, which is a list
> of nested trees of blocks, where each level has an event boundary. So
> typically Globals.views[0] is the old Globals.mainView (but might
> change as we change the top UI), Globals.views [1] is the new sidebar
> summary detail view, Globals.views[2] is the new detail view -- hope
> this isn't too confusing.
>
> So I've updated all the references to Globals.mainView except for
> lastDynamicBlock. Can I move lastDynamicBlock to wxApplication, or
> should it belong to mainViewRoot, or Globals.view[0], or something
> else?
>
> John
>
More information about the Dev
mailing list