Changes between Version 9 and Version 10 of CanvasClasses

Show
Ignore:
Timestamp:
09/24/11 22:23:17 (20 months ago)
Author:
ian
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CanvasClasses

    v9 v10  
    1414 * remove the nested CompositeCanvas tree that is created and replace it with a single Layout for the whole screen 
    1515   * reuse the "shards" concept in CompositeCanvas and described below 
    16  * allow containers to advertise when they might be affected by their childrens': 
     16 * allow containers to subscribe to their childrens': 
    1717   * size changes (immediate child only) 
    1818   * pop-up definitions 
     
    2424 * allow widgets (via render() or layout()) to send that information up to interested containers 
    2525 
     26Changes 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 
    2634 
    2735= Current status (1.0) =