/[gzz]/gzz/gfx/demo/opengl/glinfo.py
ViewVC logotype

Diff of /gzz/gfx/demo/opengl/glinfo.py

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

revision 1.6 by jvk, Mon Oct 7 10:15:09 2002 UTC revision 1.7 by tjl, Tue Oct 8 10:49:26 2002 UTC
# Line 115  class InfoScene: Line 115  class InfoScene:
115              ]]              ]]
116                                        
117    
118          putText(vs, cs1, vendor, color=(0,0,0), w=.8, h=.8, y = 1)          putText(vs, cs1, vendor, color=(0,0,0))
119          putText(vs, cs1, renderer, color=(0,0,0), w=.8, h=.8, y = 2)          putText(vs, cs1, renderer, color=(0,0,0))
120          putText(vs, cs1, version, color=(0,0,0), w=.8, h=.8, y = 3)          putText(vs, cs1, version, color=(0,0,0))
121    
122          foo = params          foo = params
123          i = 0          i = 0
# Line 127  class InfoScene: Line 127  class InfoScene:
127              for y in range(0, lines):              for y in range(0, lines):
128                  if i >= len(foo): break                  if i >= len(foo): break
129                                    
130                  putText(vs, cs1, foo[i], color=(0,0,0), w=.32, h=.32,                  putText(vs, cs1, foo[i], color=(0,0,0))
                         x=x*(1200./40/rows), y=y*.5+4)  
131                  i += 1                  i += 1
132    
133    
# Line 141  class InfoScene: Line 140  class InfoScene:
140              for y in range(0, lines):              for y in range(0, lines):
141                  if i >= len(foo): break                  if i >= len(foo): break
142                                    
143                  putText(vs, cs1, foo[i], color=(0,0,0), w=.32, h=.32,                  putText(vs, cs1, foo[i], color=(0,0,0))
                         x=x*(1200./40/rows), y=y*.5+14)  
144                  i += 1                  i += 1
145    
146          return vs          return vs

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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