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

Diff of /gzz/gzz/view/MarkDecorator.java

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

revision 1.7 by tjl, Mon Oct 14 10:11:13 2002 UTC revision 1.8 by tjl, Tue Oct 15 13:29:18 2002 UTC
# Line 52  public class MarkDecorator implements Fa Line 52  public class MarkDecorator implements Fa
52          float x = outer.width - w - PAD,          float x = outer.width - w - PAD,
53                y = outer.height - h - PAD;                y = outer.height - h - PAD;
54    
55          int cs_list = vs.coordsys(into, KEY, 0, x, y, 2, 2);          int cs_list = vs.orthoCS(into, KEY, 0, x, y, 2, 2);
56    
57          Box b = new Box();          Box b = new Box();
58    
# Line 61  public class MarkDecorator implements Fa Line 61  public class MarkDecorator implements Fa
61              if(m.spans != null) return; // for now-- should show span(s)              if(m.spans != null) return; // for now-- should show span(s)
62              Cell c = m.cell;              Cell c = m.cell;
63    
64              int cs = vs.coordsys(cs_list, c, 0, 0, i*boxsize.height, 1, 1);              int cs = vs.orthoCS(cs_list, c, 0, 0, i*boxsize.height, 1, 1);
65              b.set(vs, cs, boxsize.width, boxsize.height);              b.set(vs, cs, boxsize.width, boxsize.height);
66    
67              cv.place(c, vs, b, win);              cv.place(c, vs, b, win);
# Line 73  public class MarkDecorator implements Fa Line 73  public class MarkDecorator implements Fa
73          if(w > boxsize.width)          if(w > boxsize.width)
74              x += boxsize.width - w;              x += boxsize.width - w;
75    
76          int cs = vs.coordsys(into, TEXT_KEY, 0, x, y, 2, 2);          int cs = vs.orthoCS(into, TEXT_KEY, 0, x, y, 2, 2);
77          vs.map.put(new TextVob(style, str), cs);          vs.map.put(new TextVob(style, str), cs);
78      }      }
79  }  }

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