/[gzz]/gzz/test/gzz/view/renderscene.test
ViewVC logotype

Diff of /gzz/test/gzz/view/renderscene.test

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by benja, Tue Oct 29 14:50:43 2002 UTC revision 1.2 by tjl, Tue Oct 29 15:08:08 2002 UTC
# Line 6  Render a scene through a Fallback view. Line 6  Render a scene through a Fallback view.
6    
7  import gzz, java  import gzz, java
8  from test.tools.tools import *  from test.tools.tools import *
9    from test.tools.gfx import *
10    
11  space = gzz.impl.ModularSpace(*spaceArgList())  space = gzz.impl.ModularSpace(*spaceArgList())
12    
# Line 35  class VC(gzz.view.ViewContext): Line 36  class VC(gzz.view.ViewContext):
36  def testRenderScene():  def testRenderScene():
37      view = gzz.view.RowColView(0)      view = gzz.view.RowColView(0)
38      cellview = gzz.view.CellVobFactory()      cellview = gzz.view.CellVobFactory()
39      contentview = TextCellContentView(win.getGraphicsAPI().getTextStyle(      contentview = gzz.view.TextCellContentView(win.getGraphicsAPI().getTextStyle(
40                                        "sans", 0, 20))                                        "sans", 0, 20))
41    
42      vc = VC(space.getHomeCell(), cellview, contentview)      vc = VC(space.getHomeCell(), cellview, contentview)

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26