diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-03-28 17:19:34 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-04-06 21:04:20 (GMT) |
| commit | 0cc79876890713b49ff6ed155828707f494e37c2 (patch) | |
| tree | 217bc5f16a3faa7a3db237d3ccb8f000c57d5833 /wasp/apps/testapp.py | |
| parent | d10f3dbc49f07e626debe495b3cd9fc9c4b31c93 (diff) | |
apps: Remove unused support for effect animation
After a bit of testing I have not yet come up with a fast, visually
acceptable horizontal animated effect. Instead we simply reply on
screen blanking during the redraw... meaning there is no need for an
effect hint.
Diffstat (limited to 'wasp/apps/testapp.py')
| -rw-r--r-- | wasp/apps/testapp.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wasp/apps/testapp.py b/wasp/apps/testapp.py index 857ba4b..711feda 100644 --- a/wasp/apps/testapp.py +++ b/wasp/apps/testapp.py @@ -12,10 +12,10 @@ class TestApp(): self.tests = ('Touch', 'String') self.test = self.tests[0] - def foreground(self, effect=None): + def foreground(self): """Activate the application.""" self.on_screen = ( -1, -1, -1, -1, -1, -1 ) - self.draw(effect) + self.draw() wasp.system.request_event(wasp.EventMask.TOUCH | wasp.EventMask.SWIPE_UPDOWN) @@ -55,7 +55,7 @@ class TestApp(): return True - def draw(self, effect=None): + def draw(self): """Redraw the display from scratch.""" wasp.watch.display.mute(True) wasp.watch.drawable.fill() |
