/[fenfire]/fenfire/org/fenfire/view/buoy/TransclusionConnector.java
ViewVC logotype

Diff of /fenfire/org/fenfire/view/buoy/TransclusionConnector.java

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

revision 1.20 by mudyc, Thu Jul 31 11:39:10 2003 UTC revision 1.21 by mudyc, Mon Aug 4 06:02:48 2003 UTC
# Line 56  public static final String rcsid = "$Id$ Line 56  public static final String rcsid = "$Id$
56    
57      protected NodeFunction nodeView;      protected NodeFunction nodeView;
58    
59      // Function: node -> pair(scrollblock, rect)      // Function: node -> pair(scrollblock, View2D.Anchor)
60      private class SB4Node implements NodeFunction {      private class SB4Node implements NodeFunction {
61          public Object f(ConstGraph g, Object node) {          public Object f(ConstGraph g, Object node) {
62              Enfilade1D enf = (Enfilade1D)fen.txtfunc.f(g, node);              Enfilade1D enf = (Enfilade1D)fen.txtfunc.f(g, node);
# Line 79  public static final String rcsid = "$Id$ Line 79  public static final String rcsid = "$Id$
79              for(int i=0; i<sp.getPageIndex(); i++)              for(int i=0; i<sp.getPageIndex(); i++)
80                  x += b.getPage(i).getSize().width;                  x += b.getPage(i).getSize().width;
81    
             //      return new Pair(b, new Pair(new Rectangle(x,y,w,h), null));  
82              return new View2D.Anchor(b, x,y,w,h, null);              return new View2D.Anchor(b, x,y,w,h, null);
83          }          }
84      }      }

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

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