[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] fenfire/org/fenfire/demo buoyoing.py
From: |
Matti Katila |
Subject: |
[Gzz-commits] fenfire/org/fenfire/demo buoyoing.py |
Date: |
Wed, 16 Apr 2003 05:47:13 -0400 |
CVSROOT: /cvsroot/fenfire
Module name: fenfire
Changes by: Matti Katila <address@hidden> 03/04/16 05:47:13
Modified files:
org/fenfire/demo: buoyoing.py
Log message:
add a buoy
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/demo/buoyoing.py.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
Patches:
Index: fenfire/org/fenfire/demo/buoyoing.py
diff -u fenfire/org/fenfire/demo/buoyoing.py:1.13
fenfire/org/fenfire/demo/buoyoing.py:1.14
--- fenfire/org/fenfire/demo/buoyoing.py:1.13 Wed Apr 16 05:32:08 2003
+++ fenfire/org/fenfire/demo/buoyoing.py Wed Apr 16 05:47:13 2003
@@ -212,11 +212,14 @@
#wholepage = pg0.getCurrent().subSpan(0,1)
#span = wholepage.subArea(70, 50, 400, 100)
- paper = ppAct.newPaper()
- ppAct.newNote(paper, 0,0, 'This is a test!')
+ paperA = ppAct.newPaper()
+ note1 = ppAct.newNote(paperA, 0,-50, 'This is a test!')
#linkid1 = addTrans(span, paper)
+ paperB = ppAct.newPaper()
+ note2 = ppAct.newNote(paperB, 10,30, 'This is an another test!')
+ ppAct.assocNotes(note1, 1, note2)
#scrollblockLinker.xuIndex = xuindexer
scrollblockLinker.xulinkPageSpanNodeType =
pagespanNodes.AnchorPageSpanNodeType(scrollblockLinker)
@@ -226,7 +229,7 @@
#mainNodeType = (scrollblockLinker.xulinkPageSpanNodeType, None, pagespans[0])
# mainNodeType = (adaptor.nodes[0], None, ff.swamp.Nodes.get(paper))
-mainNodeType = (adaptor, None, ff.swamp.Nodes.get(paper))
+mainNodeType = (adaptor, None, ff.swamp.Nodes.get(paperA))
class Scene(vob.buoy.buoymanager.RealBuoyManager):
def __init__(self):
- [Gzz-commits] fenfire/org/fenfire/demo buoyoing.py, Tuomas J. Lukka, 2003/04/16
- [Gzz-commits] fenfire/org/fenfire/demo buoyoing.py, Tuomas J. Lukka, 2003/04/16
- [Gzz-commits] fenfire/org/fenfire/demo buoyoing.py, Matti Katila, 2003/04/16
- [Gzz-commits] fenfire/org/fenfire/demo buoyoing.py,
Matti Katila <=
- [Gzz-commits] fenfire/org/fenfire/demo buoyoing.py, Benja Fallenstein, 2003/04/24
- [Gzz-commits] fenfire/org/fenfire/demo buoyoing.py, Benja Fallenstein, 2003/04/24
- [Gzz-commits] fenfire/org/fenfire/demo buoyoing.py, Matti Katila, 2003/04/28