/[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.38 by tjl, Fri Feb 21 20:02:30 2003 UTC revision 1.39 by mudyc, Mon Mar 31 19:20:42 2003 UTC
# Line 137  if xulinks: Line 137  if xulinks:
137      # "Fluid Links for Informed and Incremental Link Transitions"      # "Fluid Links for Informed and Incremental Link Transitions"
138      "01E941CB556ACB221B3909F6203E1763B7CA9A74B4")),      "01E941CB556ACB221B3909F6203E1763B7CA9A74B4")),
139    
140    
141      gzz.media.impl.PageImageScroll(None, gzz.mediaserver.Mediaserver.Id(      gzz.media.impl.PageImageScroll(None, gzz.mediaserver.Mediaserver.Id(
142      # "The mind's views of space"      # "The mind's views of space"
143      "011CA01BE52823106ED33F2C086FF8E7CCF9921A8D")),      "011CA01BE52823106ED33F2C086FF8E7CCF9921A8D")),
# Line 154  if xulinks: Line 155  if xulinks:
155      pagespans = [scroll.getCurrent() for scroll in pagescrolls]      pagespans = [scroll.getCurrent() for scroll in pagescrolls]
156    
157      if 1:      if 1:
158          xuindexer.add(gzz.index.XuLink(  #       xuindexer.add(gzz.index.XuLink(
159              pagespanNodes.makeEnf(pagespans[0].subSpan(0,1).subArea(300,350,30,200)),  #           pagespanNodes.makeEnf(pagespans[0].subSpan(0,1).subArea(300,350,30,200)),
160              pagespanNodes.makeEnf(pagespans[1].subSpan(0,1).subArea(220,250,370,240))  #           pagespanNodes.makeEnf(pagespans[1].subSpan(0,1).subArea(220,250,370,240))
161              ))  #           ))
162    
163          xuindexer.add(gzz.index.XuLink(          xuindexer.add(gzz.index.XuLink(
164              pagespanNodes.makeEnf(pagespans[1].subSpan(1,2).subArea(0,300,350,300)),              pagespanNodes.makeEnf(pagespans[1].subSpan(1,2).subArea(0,300,350,300)),
# Line 166  if xulinks: Line 167  if xulinks:
167    
168          xuindexer.add(gzz.index.XuLink(          xuindexer.add(gzz.index.XuLink(
169              pagespanNodes.makeEnf(pagespans[3].subSpan(1,2).subArea(0,200,350,200)),              pagespanNodes.makeEnf(pagespans[3].subSpan(1,2).subArea(0,200,350,200)),
170              pagespanNodes.makeEnf(pagespans[0].subSpan(3,4).subArea(300,400,30,40)),              pagespanNodes.makeEnf(pagespans[0].subSpan(3,4).subArea(250,500,30,40)),
171              ))              ))
172    
173          xuindexer.add(gzz.index.XuLink(  #       xuindexer.add(gzz.index.XuLink(
174              pagespanNodes.makeEnf(pagespans[0].subSpan(1,2).subArea(20,40,332,220)),  #           pagespanNodes.makeEnf(pagespans[0].subSpan(1,2).subArea(20,40,332,220)),
175              pagespanNodes.makeEnf(pagespans[4].subSpan(2,3).subArea(300,150,280,240)),  #           pagespanNodes.makeEnf(pagespans[4].subSpan(2,3).subArea(300,150,280,240)),
176              ))  #           ))
177    
178          xuindexer.add(gzz.index.XuLink(          xuindexer.add(gzz.index.XuLink(
179                pagespanNodes.makeEnf(pagespans[0].subSpan(2,3).subArea(470,100,30,20)),
180              pagespanNodes.makeEnf(pagespans[5].subSpan(1,2).subArea(0,240,350,200)),              pagespanNodes.makeEnf(pagespans[5].subSpan(1,2).subArea(0,240,350,200)),
             pagespanNodes.makeEnf(pagespans[0].subSpan(0,1).subArea(470,100,30,20)),  
181              ))              ))
182    
183    
# Line 200  if xulinks: Line 201  if xulinks:
201      addNote(paper, 'Iblam blla et laa',-30,-70)      addNote(paper, 'Iblam blla et laa',-30,-70)
202      addNote(paper, 'Foo et all laawd oone of gheese', -50, -45)      addNote(paper, 'Foo et all laawd oone of gheese', -50, -45)
203    
204      paper = newPaper()  #    paper = newPaper()
205      wholepage = pg0.getCurrent().subSpan(4,5)  #    wholepage = pg0.getCurrent().subSpan(4,5)
206      span = wholepage.subArea(300, 180, 280, 38)  #    span = wholepage.subArea(300, 180, 280, 38)
207      addTrans(span, paper)  #    addTrans(span, paper)
208      addNote(paper, 'The problem is well explained over here!', 0, -30)  #    addNote(paper, 'The problem is well explained over here!', 0, -30)
209    
210      paper = newPaper()  #    paper = newPaper()
211      wholepage = pg0.getCurrent().subSpan(3,4)  #    wholepage = pg0.getCurrent().subSpan(3,4)
212      span = wholepage.subArea(315, 385, 270, 110)  #    span = wholepage.subArea(315, 385, 270, 110)
213      addTrans(span, paper)  #    addTrans(span, paper)
214      addNote(paper, 'Well, this is a good point', -100, -187)  #    addNote(paper, 'Well, this is a good point', -100, -187)
215      addNote(paper, 'hmmm.... how about buoys?', -20, -31)  #    addNote(paper, 'hmmm.... how about buoys?', -20, -31)
216      addNote(paper, 'NOTE: Need to start discussing about this\n      on mailing list of our project..', -110)  #    addNote(paper, 'NOTE: Need to start discussing about this\n      on mailing list of our project..', -110)
217    
218    
219    

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39

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