/[fenfire]/fenfire/org/fenfire/view/PaperView2D.java
ViewVC logotype

Diff of /fenfire/org/fenfire/view/PaperView2D.java

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

revision 1.21 by tjl, Wed Sep 10 13:28:24 2003 UTC revision 1.22 by tjl, Wed Nov 5 10:25:53 2003 UTC
# Line 45  public class PaperView2D extends View2D Line 45  public class PaperView2D extends View2D
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() {
# Line 58  public class PaperView2D extends View2D Line 70  public class PaperView2D extends View2D
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      }      }

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

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