71 |
throw new NullPointerException("clone dim not set in LollipopCellView"); |
throw new NullPointerException("clone dim not set in LollipopCellView"); |
72 |
|
|
73 |
/** Uses ColoredSectorVob as the ball. */ |
/** Uses ColoredSectorVob as the ball. */ |
74 |
final ColoredSectorVob bg = new ColoredSectorVob(45, 270, 10); |
final ColoredSectorVob bg = new ColoredSectorVob(); |
75 |
|
final RectBgVob stencil = new RectBgVob(); |
76 |
|
|
77 |
List cursorColors = context.getCursorColors(c); |
List cursorColors = context.getCursorColors(c); |
78 |
if(cursorColors != null) |
if(cursorColors != null) |
100 |
boxwh[1] - 2*pad); |
boxwh[1] - 2*pad); |
101 |
|
|
102 |
/** Coordsys to make ColoredSectorVob look circle and at |
/** Coordsys to make ColoredSectorVob look circle and at |
103 |
* right place of cell's Box. Currently "right place" |
* right place of cell's Box. |
|
* is in the middle. |
|
104 |
*/ |
*/ |
105 |
final int ballBox = vs.scaleCS(box, "ball", diameter, diameter); |
final int ballBox = vs.scaleCS(box, "ball", diameter, diameter); |
106 |
|
|
133 |
gzz.gfx.gl.Stencil.drawStenciled( |
gzz.gfx.gl.Stencil.drawStenciled( |
134 |
vs, |
vs, |
135 |
new Runnable() { public void run() { |
new Runnable() { public void run() { |
136 |
vs.map.put(bg, box); |
vs.map.put(stencil, box); |
137 |
}}, |
}}, |
138 |
null, |
null, |
139 |
null, |
null, |