diff options
author | Guido van Rossum <guido@python.org> | 1992-12-14 16:38:06 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-12-14 16:38:06 (GMT) |
commit | ffd7fa36341e831e14e2a078268ecec013f69f03 (patch) | |
tree | 92fe50f398aae1897db1e763059663e261d0490f /Demo/sgi | |
parent | 2219afcdfa4b546c7ff350e535f4c6acef046353 (diff) | |
download | cpython-ffd7fa36341e831e14e2a078268ecec013f69f03.zip cpython-ffd7fa36341e831e14e2a078268ecec013f69f03.tar.gz cpython-ffd7fa36341e831e14e2a078268ecec013f69f03.tar.bz2 |
Actualized.
Do import stdwingl
Diffstat (limited to 'Demo/sgi')
-rw-r--r-- | Demo/sgi/gl/glstdwin/tcolor.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Demo/sgi/gl/glstdwin/tcolor.py b/Demo/sgi/gl/glstdwin/tcolor.py index cf96158..d1c49e1 100644 --- a/Demo/sgi/gl/glstdwin/tcolor.py +++ b/Demo/sgi/gl/glstdwin/tcolor.py @@ -1,6 +1,6 @@ # Try colors -- display all 256 possible colors, with their color index -# import stdwingl +import stdwingl import stdwin from stdwinevents import * @@ -30,9 +30,9 @@ def main(): p = col*width/NCOLS, row*height/NROWS q = (col+1)*width/NCOLS, \ (row+1)*height/NROWS - d.paint(p, q) + d.paint((p, q)) d.setfgcolor(0) - d.box(p, q) + d.box((p, q)) d.text(p, `color`) p = p[0] , p[1]+ d.lineheight() d.setfgcolor(7) |