170 |
final int content_cs = v.coords.coordsys(cs, CONTENT_KEY, 0, 5, 5, |
final int content_cs = v.coords.coordsys(cs, CONTENT_KEY, 0, 5, 5, |
171 |
rect.width-10, rect.height-10); |
rect.width-10, rect.height-10); |
172 |
|
|
173 |
gzz.gfx.gl.Stencil.drawStenciled( |
if(!(GraphicsAPI.getInstance() instanceof gzz.client.gl.GLAPI)) { |
174 |
v, |
if(content != null) |
175 |
new Runnable() { public void run() { |
v.map.put(content, content_cs); |
176 |
v.map.put(bg, content_cs); |
else |
177 |
}}, |
ccv.place(c, v, content_cs, context, scale); |
178 |
null, |
} else { |
179 |
null, |
gzz.gfx.gl.Stencil.drawStenciled( |
180 |
new Runnable() { public void run() { |
v, |
181 |
if(content != null) |
new Runnable() { public void run() { |
182 |
v.map.put(content, content_cs); |
v.map.put(bg, content_cs); |
183 |
else |
}}, |
184 |
ccv.place(c, v, content_cs, context, scale); |
null, |
185 |
}}, |
null, |
186 |
false |
new Runnable() { public void run() { |
187 |
); |
if(content != null) |
188 |
|
v.map.put(content, content_cs); |
189 |
|
else |
190 |
|
ccv.place(c, v, content_cs, context, scale); |
191 |
|
}}, |
192 |
|
false |
193 |
|
); |
194 |
|
} |
195 |
} |
} |
196 |
} |
} |