Mercurial > boomslang
comparison pyntnclick/tools/rect_drawer.py @ 715:4716709b28c1 pyntnclick
Hook up animation in rect_drawer again
author | Neil Muller <neil@dip.sun.ac.za> |
---|---|
date | Sun, 05 Aug 2012 15:12:46 +0200 |
parents | 62f4f948ff01 |
children | 3b2d1adca59c |
comparison
equal
deleted
inserted
replaced
714:9c1cb8a8bc1c | 715:4716709b28c1 |
---|---|
551 return True | 551 return True |
552 return False | 552 return False |
553 | 553 |
554 def animate(self): | 554 def animate(self): |
555 if self.draw_anim: | 555 if self.draw_anim: |
556 self.state.animate() | 556 self._scene.animate() |
557 | 557 |
558 | 558 |
559 class ModeLabel(LabelWidget): | 559 class ModeLabel(LabelWidget): |
560 | 560 |
561 def __init__(self, rect, gd, app_image): | 561 def __init__(self, rect, gd, app_image): |