]> git.earman.xyz Git - sensor-watch.git/commitdiff
Merge PR #266 - add deadline tracking watch face
authorMatheus Afonso Martins Moreira <matheus@matheusmoreira.com>
Sat, 7 Sep 2024 20:21:10 +0000 (17:21 -0300)
committerMatheus Afonso Martins Moreira <matheus@matheusmoreira.com>
Sat, 7 Sep 2024 22:59:31 +0000 (19:59 -0300)
Adds a timing watch face that focuses on
keeping track of specific deadlines.

Dates and times can be set on the watch face
and it will display the time remaining at ever
decreasing levels of granularity for the sake
of brevity and ease of understanding.

For example, it will display years and months if over a year is left,
months and days if less than one year is left,
days and hours if less than one month is left
and the full remaining time if less than a day is left.

It also notifies the user when a deadline has passed recently.

Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
Tested-on-hardware-by: Konrad Rieck <konrad@mlsec.org>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/266

1  2 
movement/make/Makefile
movement/movement_faces.h

index 53adba935c20c9cb85962c8750096b57cb301cc9,74c630bc1e07e416751badade48f2c78db0d4ef8..d8cc032e1842fd14983371a9b58e20ab76a79e0a
@@@ -121,17 -118,7 +121,18 @@@ SRCS += 
    ../watch_faces/complication/flashlight_face.c \
    ../watch_faces/clock/decimal_time_face.c \
    ../watch_faces/clock/wyoscan_face.c \
 +  ../watch_faces/settings/save_load_face.c \
 +  ../watch_faces/clock/day_night_percentage_face.c \
 +  ../watch_faces/complication/simple_coin_flip_face.c \
 +  ../watch_faces/complication/solstice_face.c \
 +  ../watch_faces/complication/couch_to_5k_face.c \
 +  ../watch_faces/clock/minute_repeater_decimal_face.c \
 +  ../watch_faces/complication/tuning_tones_face.c \
 +  ../watch_faces/complication/kitchen_conversions_face.c \
 +  ../watch_faces/complication/wordle_face.c \
 +  ../watch_faces/complication/endless_runner_face.c \
 +  ../watch_faces/complication/periodic_face.c \
+   ../watch_faces/complication/deadline_face.c
  # New watch faces go above this line.
  
  # Leave this line at the bottom of the file; it has all the targets for making your project.
index 52eacf537f75fad01a4b18ea4e5e83383a9d4e5f,b96bfbbc9ccba2611a47b97c99e7875a26243f44..62167708637fcc21a53dc44024f050729df248b0
  #include "flashlight_face.h"
  #include "decimal_time_face.h"
  #include "wyoscan_face.h"
 +#include "save_load_face.h"
 +#include "day_night_percentage_face.h"
 +#include "simple_coin_flip_face.h"
 +#include "solstice_face.h"
 +#include "couch_to_5k_face.h"
 +#include "minute_repeater_decimal_face.h"
 +#include "tuning_tones_face.h"
 +#include "kitchen_conversions_face.h"
 +#include "wordle_face.h"
 +#include "endless_runner_face.h"
 +#include "periodic_face.h"
+ #include "deadline_face.h"
  // New includes go above this line.
  
  #endif // MOVEMENT_FACES_H_