/[gzz]/gzz/gzz/modules/pp2/SinglePaper.java
ViewVC logotype

Diff of /gzz/gzz/modules/pp2/SinglePaper.java

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

revision 1.7 by mudyc, Wed Feb 12 11:04:07 2003 UTC revision 1.8 by mudyc, Wed Feb 12 13:37:56 2003 UTC
# Line 66  private static final String rcsid = "$Id Line 66  private static final String rcsid = "$Id
66          this.space = space;          this.space = space;
67          this.context.setAccursed(current);          this.context.setAccursed(current);
68          this.d = d;          this.d = d;
69          this.coordinatePlaneView = new CoordinatePlaneView(d.contains, d.pan);          this.coordinatePlaneView = new CoordinatePlaneMultiView(d.contains, d.pan);
70          this.window = win;          this.window = win;
71      }      }
72    
# Line 101  private static final String rcsid = "$Id Line 101  private static final String rcsid = "$Id
101    
102    
103      private Vob black = GLCache.getCallList("Color 0 0 0\n");      private Vob black = GLCache.getCallList("Color 0 0 0\n");
104      private CoordinatePlaneView coordinatePlaneView;      private CoordinatePlaneMultiView coordinatePlaneView;
105      private GraphicsAPI.Window window;      private GraphicsAPI.Window window;
106    
107    
# Line 124  private static final String rcsid = "$Id Line 124  private static final String rcsid = "$Id
124       */       */
125      void render(final VobScene vs, final int frameCS, final int panZoom,      void render(final VobScene vs, final int frameCS, final int panZoom,
126                      CellPlacementHook hook) {                      CellPlacementHook hook) {
127          if(hook != null)          final CellPlacementHook hook_final = hook;
128                
129              if (space.getCellTexter() == null)          // don't want to move this away from here..
130                  context.setCellView(new CellViewPlugin(cellview, hook));          // rest are set in CoordinatePlaneMultiView
131              else          context.setCellView(cellview);
                 context.setCellView(  
                    new CellViewPlugin(new PageSpanCellView(), hook));  
         else  
             if (space.getCellTexter() == null)  
                 context.setCellView(cellview);  
             else  
                 context.setCellView(new PageSpanCellView());  
132    
133          final GLVobCoorder glc = (GLVobCoorder)vs.coords;          final GLVobCoorder glc = (GLVobCoorder)vs.coords;
134          float[] sqs = new float[2];          float[] sqs = new float[2];
# Line 189  private static final String rcsid = "$Id Line 182  private static final String rcsid = "$Id
182                      bg.put(vs, frameUnit, bg2screen);                      bg.put(vs, frameUnit, bg2screen);
183                      vs.map.put(black);                      vs.map.put(black);
184                      coordinatePlaneView.render(vs, paper2screen_shifted,                      coordinatePlaneView.render(vs, paper2screen_shifted,
185                                                 context, frameCS);                                                 context, frameCS, space, hook_final);
186                  }};                  }};
187    
188          if(useStencil)          if(useStencil)

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