45 |
|
|
46 |
public float paperScaling = .5f; |
public float paperScaling = .5f; |
47 |
|
|
48 |
public View2D getChildView2D() { return child; } |
// implement |
49 |
|
public void chgFast(VobScene vs, |
50 |
|
Object plane, |
51 |
|
int matchingParent, |
52 |
|
int box2screen, int box2plane) { |
53 |
|
if (child != null) |
54 |
|
child.chgFast(vs, plane, matchingParent, box2screen, box2plane); |
55 |
|
} |
56 |
|
// implement |
57 |
|
public View2D getContentView2D() { |
58 |
|
if (child != null) return child.getContentView2D(); |
59 |
|
return null; |
60 |
|
} |
61 |
protected View2D child; |
protected View2D child; |
62 |
|
|
63 |
public PaperView2D() { |
public PaperView2D() { |
70 |
private float[] tmp = new float[2]; |
private float[] tmp = new float[2]; |
71 |
private float[] tmp2 = new float[2]; |
private float[] tmp2 = new float[2]; |
72 |
|
|
73 |
|
// implement |
74 |
public Object getSelectedObject(Object plane, float x, float y, float w, float h) { |
public Object getSelectedObject(Object plane, float x, float y, float w, float h) { |
75 |
return child.getSelectedObject(plane, x, y, w, h); |
return child.getSelectedObject(plane, x, y, w, h); |
76 |
} |
} |