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 |
|
|
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 |
|
|
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 |
} |
} |