/[gzz]/gzz/gzz/modules/pp/BuoyView.java
ViewVC logotype

Diff of /gzz/gzz/modules/pp/BuoyView.java

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

revision 1.29 by tjl, Wed Oct 9 14:38:41 2002 UTC revision 1.30 by tjl, Sun Oct 20 11:45:58 2002 UTC
# Line 62  public static final String rcsid = "$Id$ Line 62  public static final String rcsid = "$Id$
62    
63      private VobKeyer keyer;      private VobKeyer keyer;
64    
65      public BuoyView(VobKeyer keyer) {      PPDims d;
66    
67        public BuoyView(Space space, VobKeyer keyer) {
68          this.keyer = keyer;          this.keyer = keyer;
69            d = new PPDims(space);
70      }      }
71    
72      static int bwid;      static int bwid;
# Line 126  public static final String rcsid = "$Id$ Line 129  public static final String rcsid = "$Id$
129          rbf = new CircleFloater4(into, 0, ctrx, ctry, rad, ctrx-rad, ctry);          rbf = new CircleFloater4(into, 0, ctrx, ctry, rad, ctrx-rad, ctry);
130    
131    
132          planeView = new PlaneView(keyer, lbf, rbf);          planeView = new PlaneView(context.getAccursed().space,
133                            keyer, lbf, rbf);
134    
135          putBackground(into);          putBackground(into);
136    
# Line 163  public static final String rcsid = "$Id$ Line 167  public static final String rcsid = "$Id$
167          int panx = Win.xctr, pany = Win.yctr;          int panx = Win.xctr, pany = Win.yctr;
168          float zoom = Win.zoom;          float zoom = Win.zoom;
169          VobKeyer.Entry keyEntry =          VobKeyer.Entry keyEntry =
170                      keyer.getMainEntry( center.h(Win.d_contains) );                      keyer.getMainEntry( center.h(d.contains) );
171          planeView.renderSinglePaper(into, center,  x, y, w, h, 15,          planeView.renderSinglePaper(into, center,  x, y, w, h, 15,
172                      panx, pany, zoom,                      panx, pany, zoom,
173                      leftBuoys, rightBuoys, keyEntry);                      leftBuoys, rightBuoys, keyEntry);
# Line 179  public static final String rcsid = "$Id$ Line 183  public static final String rcsid = "$Id$
183          if(cursor==null)          if(cursor==null)
184              return;              return;
185    
186          Cell plane = cursor.h(Win.d_contains);          Cell plane = cursor.h(d.contains);
187    
188          int vd = 10;          int vd = 10;
189          float vx = x+w/3, vy = y + h/3, vw = 100, vh = 50;          float vx = x+w/3, vy = y + h/3, vw = 100, vh = 50;
# Line 205  public static final String rcsid = "$Id$ Line 209  public static final String rcsid = "$Id$
209              plane = plane.s(d_1, -1);              plane = plane.s(d_1, -1);
210          }          }
211    
212          plane = cursor.h(Win.d_contains);          plane = cursor.h(d.contains);
213          plane = plane.s(d_1, 1);          plane = plane.s(d_1, 1);
214    
215          vd = 100;          vd = 100;

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

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