/[gzz]/gzz/gfx/demo/buoyoing.py
ViewVC logotype

Diff of /gzz/gfx/demo/buoyoing.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by mudyc, Tue Feb 11 14:48:51 2003 UTC revision 1.13 by tjl, Tue Feb 11 18:05:43 2003 UTC
# Line 45  scrollblockLinker.transclusionPageSpanNo Line 45  scrollblockLinker.transclusionPageSpanNo
45  adaptor = BuoyAdaptor()  adaptor = BuoyAdaptor()
46  adaptor.cellNodes = [PPCanvasNode(d, space, w), zzNodes.VanishingNodeType()]  adaptor.cellNodes = [PPCanvasNode(d, space, w), zzNodes.VanishingNodeType()]
47  adaptor.cellLinkers = [PPLinker(d.clone, d.association), scrollblockLinker]  adaptor.cellLinkers = [PPLinker(d.clone, d.association), scrollblockLinker]
48    scrollblockLinker.cellNodeType = adaptor
49    
50  # Now, before reading the xu stuff, render something to try to prevent NV driver  # Now, before reading the xu stuff, render something to try to prevent NV driver
51  # fallback to software rendering.  # fallback to software rendering.
# Line 101  if xulinks: Line 102  if xulinks:
102      pg0 = pagescrolls[0]      pg0 = pagescrolls[0]
103      wholepage = pg0.getCurrent().subSpan(0,1)      wholepage = pg0.getCurrent().subSpan(0,1)
104      span = wholepage.subArea(1, 1, 40, 40)      span = wholepage.subArea(1, 1, 40, 40)
105      #newNote(span, 'Foobar')      newNote(span, 'Foobar')
106    
107    
108      scrollblockLinker.xuIndex = xuindexer      scrollblockLinker.xuIndex = xuindexer
109      scrollblockLinker.xulinkPageSpanNodeType = pagespanNodes.AnchorPageSpanNodeType(scrollblockLinker)      scrollblockLinker.xulinkPageSpanNodeType = pagespanNodes.AnchorPageSpanNodeType(scrollblockLinker)
110    
111      # For now, no transclusions there      # For now, no transclusions there
112      scrollblockLinker.transclusionPageSpanNodeType = None      # scrollblockLinker.transclusionPageSpanNodeType = None
113    
114      mainNodeType = (scrollblockLinker.xulinkPageSpanNodeType, None, pagespans[0])      mainNodeType = (scrollblockLinker.xulinkPageSpanNodeType, None, pagespans[0])
115    

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26