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

Diff of /gzz/gzz/view/LastOpDecorator.java

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

revision 1.23 by humppake, Fri Nov 22 03:55:20 2002 UTC revision 1.24 by benja, Fri Dec 6 01:03:51 2002 UTC
# Line 42  String rcsid = "$Id$"; Line 42  String rcsid = "$Id$";
42          GraphicsAPI.getInstance().getTextStyle("SansSerif", Font.PLAIN, 16);          GraphicsAPI.getInstance().getTextStyle("SansSerif", Font.PLAIN, 16);
43      static Object key = new Object();      static Object key = new Object();
44      static SimpleLinebreaker breaker = new SimpleLinebreaker();      static SimpleLinebreaker breaker = new SimpleLinebreaker();
     static BoxCellView cvf = new BoxCellView();  
45    
46      int padding = 15;      int padding = 15;
47    
# Line 64  String rcsid = "$Id$"; Line 63  String rcsid = "$Id$";
63          Dimension size = sc.getSize();          Dimension size = sc.getSize();
64    
65          HChain ch = new LinebreakableChain();          HChain ch = new LinebreakableChain();
         cvf.setCenter(win.cursor);  
66    
67          if(dbg) pa("fallback.binder.directOp: "+binder.directOp);          if(dbg) pa("fallback.binder.directOp: "+binder.directOp);
68    
# Line 141  String rcsid = "$Id$"; Line 139  String rcsid = "$Id$";
139      HBox cell(Cell c, ViewContext context) {      HBox cell(Cell c, ViewContext context) {
140          if(c == null) return text("[which cell?]");          if(c == null) return text("[which cell?]");
141    
142          return new CellHBox(c, cvf, context);          return new CellHBox(c, context.getCellView(), context);
143      }      }
144  }  }

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

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