25 |
import gzz.*; |
import gzz.*; |
26 |
import gzz.vob.*; |
import gzz.vob.*; |
27 |
import gzz.vob.vobs.*; |
import gzz.vob.vobs.*; |
28 |
import gzz.vob.*; |
import gzz.view.*; |
|
import gzz.vob.vobs.*; |
|
29 |
|
|
30 |
import gzz.gfx.gl.GLVobCoorder; |
import gzz.gfx.gl.GLVobCoorder; |
31 |
|
|
37 |
|
|
38 |
public class CoordinatePlaneView implements View { |
public class CoordinatePlaneView implements View { |
39 |
public static final String rcsid = "$Id$"; |
public static final String rcsid = "$Id$"; |
40 |
public static boolean dbg = true; |
public static boolean dbg = false; |
41 |
private static void pa(String s) { System.err.println(s); } |
private static void pa(String s) { System.err.println(s); } |
42 |
|
|
43 |
private Dim d_rank; |
private Dim d_rank; |
53 |
*/ |
*/ |
54 |
public int getCursorBox() { return cursorBox; } |
public int getCursorBox() { return cursorBox; } |
55 |
|
|
56 |
|
/** Next generation of PP doens't set accursed when drawing the paper |
57 |
|
*/ |
58 |
|
public void render(VobScene vs, int into, ViewContext context, int cullCS, Cell accursed) { |
59 |
|
// push |
60 |
|
Cell temp = context.getAccursed(); |
61 |
|
((AbstractViewContext)context).setAccursed(accursed); |
62 |
|
|
63 |
|
// render |
64 |
|
render(vs, into, context, cullCS); |
65 |
|
|
66 |
|
// pop |
67 |
|
((AbstractViewContext)context).setAccursed(temp); |
68 |
|
} |
69 |
|
|
70 |
public void render(VobScene vs, int into, ViewContext context) { |
public void render(VobScene vs, int into, ViewContext context) { |
71 |
render(vs, into, context, -1); |
render(vs, into, context, -1); |
72 |
} |
} |