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

Diff of /gzz/gzz/view/LinebrokenCellContentView.java

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

revision 1.19 by benja, Sun Dec 29 02:01:41 2002 UTC revision 1.20 by mudyc, Fri Jan 10 10:00:16 2003 UTC
# Line 94  public static final String rcsid = "$Id$ Line 94  public static final String rcsid = "$Id$
94    
95      static Rectangle box = new Rectangle();      static Rectangle box = new Rectangle();
96      float[] boxwh = new float[2], xoffsarr = new float[1];      float[] boxwh = new float[2], xoffsarr = new float[1];
97    
98        public void place(Cell c, VobScene vs, int box,
99            ViewContext context) {
100            place(c,vs,box,context, null);
101        }
102        private String textColor;
103      public void place(Cell c, VobScene vs, int box,      public void place(Cell c, VobScene vs, int box,
104                        ViewContext context) {                        ViewContext context, String textColor) {
105            this.textColor = textColor;
106          float scale = 1; // XXX getFontScale (see PEG vobcoorder_fontscale--tjl)          float scale = 1; // XXX getFontScale (see PEG vobcoorder_fontscale--tjl)
107          vs.coords.getSqSize(box, boxwh);          vs.coords.getSqSize(box, boxwh);
108          if(dbg) pa(""+boxwh[0]);          if(dbg) pa(""+boxwh[0]);
# Line 177  public static final String rcsid = "$Id$ Line 184  public static final String rcsid = "$Id$
184          s = s.substring(start, end);          s = s.substring(start, end);
185    
186          if(dbg) pa("addVobs: "+start+" "+end+" '"+s+"'");          if(dbg) pa("addVobs: "+start+" "+end+" '"+s+"'");
187          TextVob vob = new TextVob(style, s, true, key);          TextVob vob = new TextVob(style, s, true, key, textColor);
188          ch.addBox(vob);          ch.addBox(vob);
189      }      }
190  }  }

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

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