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): |
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); |
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 |
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() |