summaryrefslogtreecommitdiff
path: root/wasp/apps/steps.py
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-06-12 07:53:32 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-06-12 07:53:32 (GMT)
commit823e85584d3363f6a6a775c3ff6eca55e6c7e00d (patch)
tree04fc4b346d3474996dcb665e88b2a6ab30c3339f /wasp/apps/steps.py
parentbd41368d2b53091d6f3a841ee87e06621796ed30 (diff)
apps: [steps,stopwatch]: Increase font size of clock
We also change the colour scheme slightly because the increased size of the clock interferes visually with the main display when it is bright white. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'wasp/apps/steps.py')
-rw-r--r--wasp/apps/steps.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/wasp/apps/steps.py b/wasp/apps/steps.py
index f2b0382..8dbf619 100644
--- a/wasp/apps/steps.py
+++ b/wasp/apps/steps.py
@@ -69,8 +69,9 @@ class StepCounterApp():
now = wasp.watch.rtc.get_localtime()
if now[4] != self._last_clock[4]:
t1 = '{:02}:{:02}'.format(now[3], now[4])
- draw.set_font(fonts.sans24)
- draw.string(t1, 48, 16, 240-96)
+ draw.set_font(fonts.sans28)
+ draw.set_color(0x7bef)
+ draw.string(t1, 48, 12, 240-96)
if now[2] != self._last_clock[2]:
watch.accel.steps = 0
@@ -83,4 +84,5 @@ class StepCounterApp():
t = str(count)
w = fonts.width(fonts.sans36, t)
draw.set_font(fonts.sans36)
+ draw.set_color(0xfff0)
draw.string(t, 228-w, 132-18)