From: Kevin A. <ka...@us...> - 2004-04-29 20:13:57
|
Update of /cvsroot/pythoncard/PythonCard/samples/life In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12401/life Modified Files: life.py Log Message: fixed x, y tuples Index: life.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/life/life.py,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** life.py 25 Apr 2004 03:03:45 -0000 1.35 --- life.py 29 Apr 2004 20:13:47 -0000 1.36 *************** *** 230,236 **** if cellWidth == 1: ! canvas.drawPoint(x1, y1) else: ! canvas.drawRectangle(x1, y1, cellWidth, cellWidth) if not self.toggleToLife: --- 230,236 ---- if cellWidth == 1: ! canvas.drawPoint((x1, y1)) else: ! canvas.drawRectangle((x1, y1), (cellWidth, cellWidth)) if not self.toggleToLife: |