Update of /cvsroot/pythoncard/PythonCard/samples/doodle
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19204/doodle
Modified Files:
doodle.py
Log Message:
Removed all of the plain except: clauses I could
Index: doodle.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/samples/doodle/doodle.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** doodle.py 12 Aug 2004 19:18:51 -0000 1.27
--- doodle.py 13 Dec 2005 11:13:22 -0000 1.28
***************
*** 2,8 ****
"""
__version__ = "$Revision$"
__date__ = "$Date$"
- """
from PythonCard import clipboard, dialog, graphic, model
--- 2,9 ----
"""
+ A simple bitmap drawing test. Select a color using the Color button. Click and drag the mouse to draw on the canvas.
+ """
__version__ = "$Revision$"
__date__ = "$Date$"
from PythonCard import clipboard, dialog, graphic, model
***************
*** 77,81 ****
bmp.SaveFile(path, fileType)
return 1
! except:
return 0
else:
--- 78,82 ----
bmp.SaveFile(path, fileType)
return 1
! except IOError:
return 0
else:
***************
*** 93,97 ****
self.components.bufOff.clear()
-
if __name__ == '__main__':
app = model.Application(Doodle)
--- 94,97 ----
|