]> git.earman.xyz Git - sensor-watch.git/commit
Merge PR #299 - leading zero representation
authorMatheus Afonso Martins Moreira <matheus@matheusmoreira.com>
Tue, 3 Sep 2024 21:49:13 +0000 (18:49 -0300)
committerMatheus Afonso Martins Moreira <matheus@matheusmoreira.com>
Tue, 3 Sep 2024 21:49:13 +0000 (18:49 -0300)
commit4d6a9345f2df0badd9bbf4741df8207fedd38dfd
treecffb94bd6dc8e164d7f7288ac6f89754e62d07af
parenta67076f43775dadd48db447a88e25b23989f3255
parentf633b7634b80d0bf08e491606eab3f10f85d6ece
Merge PR #299 - leading zero representation

Adds a movement-wide leading zero 024h representation mode
that's toggleable in the preferences watch face.
Also adds support for the new display mode to existing faces.

I modified the logic a bit to ensure the 24h indicator remains lit
in the simple clock face even when in 024h mode. I also added support
to the more advanced clock face. In the future I will add a compile time
toggle to it as well.

Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/299
movement/movement.h
movement/watch_faces/clock/clock_face.c
movement/watch_faces/clock/repetition_minute_face.c
movement/watch_faces/clock/simple_clock_face.c
movement/watch_faces/clock/world_clock2_face.c
movement/watch_faces/complication/alarm_face.c
movement/watch_faces/complication/sunrise_sunset_face.c
movement/watch_faces/complication/wake_face.c
movement/watch_faces/settings/preferences_face.c
movement/watch_faces/settings/set_time_face.c
movement/watch_faces/settings/set_time_hackwatch_face.c