29 |
|
|
30 |
def testRenderScene(): |
def testRenderScene(): |
31 |
view = gzz.view.RowColView(0) |
view = gzz.view.RowColView(0) |
|
cellview = gzz.view.BoxCellView() |
|
32 |
contentview = gzz.view.TextCellContentView(win.getGraphicsAPI().getTextStyle( |
contentview = gzz.view.TextCellContentView(win.getGraphicsAPI().getTextStyle( |
33 |
"sans", 0, 20)) |
"sans", 0, 20)) |
34 |
|
cellview = gzz.view.BoxCellView(contentview) |
35 |
|
|
36 |
vc = gzz.view.MockViewContext() |
vc = gzz.view.MockViewContext() |
37 |
vc.v = view |
vc.v = view |
38 |
vc.cv = cellview |
vc.cv = cellview |
|
vc.ccv = contentview |
|
39 |
vc.c = space.getHomeCell() |
vc.c = space.getHomeCell() |
40 |
vc.d = [space.getDim(d) for d in [d_1, d_2, d_3]] |
vc.d = [space.getDim(d) for d in [d_1, d_2, d_3]] |
41 |
|
|