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. |
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 |
|
|