17 |
def key(self, key): pass |
def key(self, key): pass |
18 |
|
|
19 |
def scene(self, vs): |
def scene(self, vs): |
20 |
|
putnoc(vs, background((1,1,1))) |
21 |
|
|
22 |
outer = vs.coords.coordsys(0, 'o', 1, 10, 10, 50, 20) |
outer = vs.coords.coordsys(0, 'o', 1, 10, 10, 50, 20) |
23 |
inner = vs.coords.coordsys(outer, 'i', 1, 5, 5, 40, 10) |
inner = vs.coords.coordsys(outer, 'i', 1, 5, 5, 40, 10) |
24 |
|
|
25 |
rect = RectBgVob() |
rect = RectBgVob() |
26 |
style = GraphicsAPI.getTextStyle("serif", 0, 12) |
style = GraphicsAPI.getInstance().getTextStyle("serif", 0, 12) |
27 |
t = TextVob(style, |
t = TextVob(style, |
28 |
"This text is unfortunately NOT shown clippedly clap.") |
"This text is unfortunately NOT shown clippedly clap.") |
29 |
vs.map.put(rect, outer) |
vs.map.put(rect, outer) |
34 |
None, |
None, |
35 |
R(lambda vs=vs, inner=inner, t=t: vs.map.put(t, inner)), 0 |
R(lambda vs=vs, inner=inner, t=t: vs.map.put(t, inner)), 0 |
36 |
) |
) |
37 |
|
|
38 |
|
|
39 |
|
currentScene = StencilBugScene() |