/[gzz]/gzz/gzz/view/VobVanishingClient.java
ViewVC logotype

Diff of /gzz/gzz/view/VobVanishingClient.java

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

revision 1.7 by benja, Wed Sep 25 18:18:51 2002 UTC revision 1.8 by benja, Thu Sep 26 14:36:22 2002 UTC
# Line 90  public class VobVanishingClient implemen Line 90  public class VobVanishingClient implemen
90          this.into = into;          this.into = into;
91          this.intoCS = intoCS;          this.intoCS = intoCS;
92          this.context = context;          this.context = context;
         cvf.setCenter(context.getAccursed());  
93          Dimension d = into.getSize();          Dimension d = into.getSize();
94          p("fallback: "+d+" "+context.getAccursed());          p("fallback: "+d+" "+context.getAccursed());
95          vanishing.render(this, context, d.width / 2, d.height / 2);          vanishing.render(this, context, d.width / 2, d.height / 2);
# Line 109  public class VobVanishingClient implemen Line 108  public class VobVanishingClient implemen
108    
109      ViewContext context;      ViewContext context;
110    
111      CellVobFactory cvf = new CellVobFactory();      CellView cvf = new CellVobFactory();
112    
113      /*      /*
114    
# Line 166  public class VobVanishingClient implemen Line 165  public class VobVanishingClient implemen
165                  int depth, float rot) {                  int depth, float rot) {
166          Vob v = (Vob)o;          Vob v = (Vob)o;
167          int cs = into.coordsys(intoCS, c, depth, x0, y0, x1-x0, y1-y0);          int cs = into.coordsys(intoCS, c, depth, x0, y0, x1-x0, y1-y0);
168          cvf.addCellVobs(c, into, cs, v, context, fract);          if(v != null) ((CellVobFactory)cvf).addCellVobs(c, into, cs, v, context, fract);
169            cvf.place(c, into, cs, context, fract);
170      }      }
171    
172      public void connect(Cell cell1, Cell cell2, int dx, int dy) {      public void connect(Cell cell1, Cell cell2, int dx, int dy) {

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

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