31 |
import gzz.vob.*; |
import gzz.vob.*; |
32 |
import gzz.client.*; |
import gzz.client.*; |
33 |
import gzz.gfx.gl.*; |
import gzz.gfx.gl.*; |
|
import gzz.media.*; |
|
|
import gzz.media.impl.*; |
|
|
import gzz.impl.*; |
|
34 |
|
|
35 |
import java.awt.event.*; |
import java.awt.event.*; |
36 |
|
|
137 |
this.hook = hook; |
this.hook = hook; |
138 |
this.d = d; |
this.d = d; |
139 |
this.window = w; |
this.window = w; |
|
|
|
|
|
|
|
|
|
|
SimpleVStreamTexter sct = (SimpleVStreamTexter)space.getCellTexter(); |
|
|
Enfilade1DImpl enf = (Enfilade1DImpl)sct.getEnfilade(c, null); |
|
|
java.util.List enfList= enf.getList(); |
|
|
Span1D span = (Span1D) enfList.get(0); |
|
|
CellView cv; |
|
|
if (span instanceof TextSpan) |
|
|
cv = new TextCellContentView(); |
|
|
else |
|
|
cv = new PageSpanCellView(); |
|
|
float [] bs = new float[3]; |
|
|
cv.getSize(c, ((ViewContext)new AbstractViewContext()), bs); |
|
|
panx = -bs[0]/2; |
|
|
pany = -bs[1]/2; |
|
140 |
} |
} |
141 |
|
|
142 |
|
|