Mercurial > boomslang
comparison pyntnclick/tools/rect_drawer.py @ 700:22e1893152c5 pyntnclick
Comment out crash button
author | Neil Muller <neil@dip.sun.ac.za> |
---|---|
date | Tue, 14 Feb 2012 17:17:13 +0200 |
parents | 8edd7b52423a |
children | 9c920deb28c2 |
comparison
equal
deleted
inserted
replaced
699:8edd7b52423a | 700:22e1893152c5 |
---|---|
321 r = rect.move(self.offset) | 321 r = rect.move(self.offset) |
322 print ' (%d, %d, %d, %d),' % (r.x, r.y, r.w, r.h) | 322 print ' (%d, %d, %d, %d),' % (r.x, r.y, r.w, r.h) |
323 print | 323 print |
324 print | 324 print |
325 | 325 |
326 def image_load(self): | 326 def image_load(self, ev, widget): |
327 # XXX: Needs file choose widget | |
328 return | |
327 image_path = ('%s/Resources/images/%s' | 329 image_path = ('%s/Resources/images/%s' |
328 % (script_path, self.state.current_scene.FOLDER)) | 330 % (script_path, self.state.current_scene.FOLDER)) |
329 imagename = request_old_filename(directory=image_path) | 331 imagename = request_old_filename(directory=image_path) |
330 try: | 332 try: |
331 image_data = pygame.image.load(imagename) | 333 image_data = pygame.image.load(imagename) |