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

Diff of /gzz/gzz/view/BoxCellView.java

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

revision 1.3 by benja, Sat Nov 23 13:44:20 2002 UTC revision 1.4 by humppake, Wed Nov 27 16:35:41 2002 UTC
# Line 106  public static final String rcsid = "$Id$ Line 106  public static final String rcsid = "$Id$
106          vs.coords.getSqSize(box, boxwh);          vs.coords.getSqSize(box, boxwh);
107          final int contentBox = vs.orthoBoxCS(box, "CONTENT", 0, pad, pad, 1, 1,          final int contentBox = vs.orthoBoxCS(box, "CONTENT", 0, pad, pad, 1, 1,
108                                          boxwh[0]-2*pad, boxwh[1]-2*pad);                                          boxwh[0]-2*pad, boxwh[1]-2*pad);
         final int unitsq = vs.unitSqCS(box, "UNIT");  
109    
110          GraphicsAPI api = GraphicsAPI.getInstance();          GraphicsAPI api = GraphicsAPI.getInstance();
111          if(api instanceof gzz.client.awt.AWTAPI) {          if(api instanceof gzz.client.awt.AWTAPI) {
# Line 133  public static final String rcsid = "$Id$ Line 132  public static final String rcsid = "$Id$
132                          g.setClip(clipshape[0]);                          g.setClip(clipshape[0]);
133                      }                      }
134                  }, unclip_cs);                  }, unclip_cs);
135              vs.map.put(bg, unitsq);              vs.map.put(bg, box);
136          } else if(api instanceof gzz.client.gl.GLAPI) {          } else if(api instanceof gzz.client.gl.GLAPI) {
137              vs.map.put(bg, unitsq);              vs.map.put(bg, box);
138              gzz.gfx.gl.Stencil.drawStenciled(              gzz.gfx.gl.Stencil.drawStenciled(
139                  vs,                  vs,
140                  new Runnable() { public void run() {                  new Runnable() { public void run() {
141                      vs.map.put(bg, unitsq);                      vs.map.put(bg, box);
142                  }},                  }},
143                  null,                  null,
144                  null,                  null,

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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