/[fenfire]/fenfire/org/fenfire/bin/fenpdf10.py
ViewVC logotype

Diff of /fenfire/org/fenfire/bin/fenpdf10.py

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

revision 1.13 by tjl, Mon Aug 11 11:07:26 2003 UTC revision 1.14 by mudyc, Mon Aug 11 12:07:31 2003 UTC
# Line 22  Line 22 
22    
23  # The FenPDF 1.0 !  # The FenPDF 1.0 !
24    
 from __future__ import nested_scopes  
   
25  dbg = 0  dbg = 0
26    
27  def p(*s):  def p(*s):
# Line 163  if not do_load_graph: Line 161  if not do_load_graph:
161      noteA3 = Nodes.get(ppAct.newNote(paperA, 100, 100, ''))      noteA3 = Nodes.get(ppAct.newNote(paperA, 100, 100, ''))
162      noteA4 = Nodes.get(ppAct.newNote(paperA, -60,70, 'This is a very long test which is used to see if '))      noteA4 = Nodes.get(ppAct.newNote(paperA, -60,70, 'This is a very long test which is used to see if '))
163    
164        fen.graph.add(noteA2, RDF.type, ff.vocab.lava.MINDSTRUCT.Data)
165    
166      ppAct.assocNotes(noteA1, 1, noteA2);      ppAct.assocNotes(noteA1, 1, noteA2);
167    
168      span = sc.getCurrent().getPage(0).subArea(100, 100, 300, 200);      span = sc.getCurrent().getPage(0).subArea(100, 100, 300, 200);
# Line 232  context.states.cursor.setAccursed(noteA1 Line 232  context.states.cursor.setAccursed(noteA1
232  context.states.cursor.setCursorOffset(3)  context.states.cursor.setCursorOffset(3)
233  context.ppView = irregu  context.ppView = irregu
234  context.pageView = None  context.pageView = None
235  context.alph = myalph  context.states.alph = myalph
236  context.states.view2d.irregu = irregu  context.states.view2d.irregu = irregu
237  ff.view.buoy.MainNode2D.fen = fen  ff.view.buoy.MainNode2D.fen = fen
238  ff.view.buoy.AbstractMainNode2D.context = context  ff.view.buoy.AbstractMainNode2D.context = context
# Line 266  mainMouse.setListener(3, 0, 'Show contex Line 266  mainMouse.setListener(3, 0, 'Show contex
266  # With wheel  # With wheel
267  mainMouse.setWheelListener(0, 'Moving the pan', \  mainMouse.setWheelListener(0, 'Moving the pan', \
268                             actions.PanMover(context))                             actions.PanMover(context))
269    context.states.mainMouse = mainMouse
270    
271  # Default controls for buoys  # Default controls for buoys
272  buoyMouse = vob.mouse.MouseMultiplexer()  buoyMouse = vob.mouse.MouseMultiplexer()

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

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