/[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.7 by tjl, Tue Oct 8 10:49:26 2002 UTC revision 1.8 by jvk, Tue Oct 8 12:34:13 2002 UTC
# Line 115  class InfoScene: Line 115  class InfoScene:
115              ]]              ]]
116                                        
117    
118          putText(vs, cs1, vendor, color=(0,0,0))          putText(vs, cs1, vendor, color=(0,0,0), h=.8, y = 1)
119          putText(vs, cs1, renderer, color=(0,0,0))          putText(vs, cs1, renderer, color=(0,0,0), h=.8, y = 2)
120          putText(vs, cs1, version, color=(0,0,0))          putText(vs, cs1, version, color=(0,0,0), h=.8, y = 3)
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))                  putText(vs, cs1, foo[i], color=(0,0,0), h=.32,
131                            x=x*(1200./40/rows), y=y*.5+4)
132                  i += 1                  i += 1
133    
134    
# Line 140  class InfoScene: Line 141  class InfoScene:
141              for y in range(0, lines):              for y in range(0, lines):
142                  if i >= len(foo): break                  if i >= len(foo): break
143                                    
144                  putText(vs, cs1, foo[i], color=(0,0,0))                  putText(vs, cs1, foo[i], color=(0,0,0), h=.32,
145                            x=x*(1200./40/rows), y=y*.5+14)
146                  i += 1                  i += 1
147    
148          return vs          return vs

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

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