168 |
bg.setBg(new Color(bg.getBg().getRGB() & (int)0xff00ffffL)); |
bg.setBg(new Color(bg.getBg().getRGB() & (int)0xff00ffffL)); |
169 |
*/ |
*/ |
170 |
|
|
|
final int cs_box = v.coordsys(cs, BOX_KEY, 0, 0, 0, w, h); |
|
|
v.map.put(bg, cs_box); |
|
|
|
|
171 |
final int content_cs = v.coordsys(cs, CONTENT_KEY, 0, 5, 5, 2, 2); |
final int content_cs = v.coordsys(cs, CONTENT_KEY, 0, 5, 5, 2, 2); |
172 |
|
final int cs_box = v.coordsys(cs, BOX_KEY, 0, 0, 0, w, h); |
173 |
|
|
174 |
if(!(GraphicsAPI.getInstance() instanceof gzz.client.gl.GLAPI)) { |
if(!(GraphicsAPI.getInstance() instanceof gzz.client.gl.GLAPI)) { |
175 |
ccv.place(c, v, content_cs, w, h, context, scale); |
ccv.place(c, v, content_cs, w-10, h-10, context, scale); |
176 |
|
v.map.put(bg, cs_box); |
177 |
} else { |
} else { |
178 |
|
v.map.put(bg, cs_box); |
179 |
gzz.gfx.gl.Stencil.drawStenciled( |
gzz.gfx.gl.Stencil.drawStenciled( |
180 |
v, |
v, |
181 |
new Runnable() { public void run() { |
new Runnable() { public void run() { |