39 |
|
|
40 |
/** XXX |
/** XXX |
41 |
*/ |
*/ |
42 |
public class PPCanvasCursor extends AbstractAnimationNode { |
public class PPCanvasCursor implements BuoyViewMainNode { |
43 |
private static final String rcsid = "$Id$"; |
private static final String rcsid = "$Id$"; |
44 |
public static boolean dbg = false; |
public static boolean dbg = false; |
45 |
private static void pa(String s) { System.out.println("PPCanvasCursor:"+s); } |
private static void pa(String s) { System.out.println("PPCanvasCursor:"+s); } |
46 |
|
|
141 |
|
|
142 |
|
|
143 |
public void renderMain(VobScene vs, int into) { |
public void renderMain(VobScene vs, int into) { |
|
int mainctr = vs.translateCS(0, "MAINVPCTR", |
|
|
centerX(vs), mainY + mainHeight/2); |
|
|
|
|
|
int frameCS = vs.orthoBoxCS(mainctr, "MAINVP", 10, |
|
|
(-mainWidth)/2, -mainHeight/2, 1, 1, |
|
|
mainWidth, mainHeight); |
|
|
vs.activate(frameCS); |
|
|
|
|
|
// cell to frame CS |
|
144 |
int c2fCS = vs.coords.ortho(0, 0, 0, 0, 10, 10); |
int c2fCS = vs.coords.ortho(0, 0, 0, 0, 10, 10); |
145 |
vs.matcher.add(frameCS, c2fCS, "C2F"); |
vs.matcher.add(into, c2fCS, "C2F"); |
146 |
SinglePaper.i(avc, d, window, current).render(vs, frameCS, c2fCS); |
SinglePaper.i(avc, d, window, current).render(vs, into, c2fCS); |
147 |
hook.placed(current, vs, into, (ViewContext)avc); |
hook.placed(current, vs, into, (ViewContext)avc); |
|
|
|
148 |
} |
} |
149 |
|
|
150 |
public void keystroke(String s) { |
public void keystroke(String s) { |