Changes between Version 9 and Version 10 of CanvasClasses
- Timestamp:
- 09/24/11 22:23:17 (20 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CanvasClasses
v9 v10 14 14 * remove the nested CompositeCanvas tree that is created and replace it with a single Layout for the whole screen 15 15 * reuse the "shards" concept in CompositeCanvas and described below 16 * allow containers to advertise when they might be affected bytheir childrens':16 * allow containers to subscribe to their childrens': 17 17 * size changes (immediate child only) 18 18 * pop-up definitions … … 24 24 * allow widgets (via render() or layout()) to send that information up to interested containers 25 25 26 Changes to the rendering process, possibly new render.py module 27 28 * layout is calculated iteratively building a flat Layout corresponding to the complete screen 29 1. call layout() on each widget that is visible, possibly finding more widgets 30 2. track and connect subscriptions from parent to children 31 3. repeat until no more widgets with layout() are remaining 32 4. build a flat cview-style representation of the remaining (non-container) widgets, with a dict of widgets and the positions they occupy in the cview (maybe just col,row,w,h) and their depths 33 5. render each non-container widget 26 34 27 35 = Current status (1.0) =
