/[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.18 by tjl, Tue Oct 15 13:29:18 2002 UTC revision 1.19 by tjl, Tue Oct 29 07:30:58 2002 UTC
# Line 102  public class VobVanishingClient implemen Line 102  public class VobVanishingClient implemen
102      ViewContext context;      ViewContext context;
103      CellView cvf;      CellView cvf;
104    
105        float[] s = new float[2];
106      public Object getVobSize(Cell c, float fract, int flags, Dimension outDim) {      public Object getVobSize(Cell c, float fract, int flags, Dimension outDim) {
107          cvf.getDefaultSize(fract, outDim);          cvf.getSize(null, fract, s);
108            outDim.width = (int)(s[0] * fract);
109            outDim.height = (int)(s[1] * fract);
110          return null;          return null;
111      }      }
112    

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

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