diff options
author | joeycastillo <joeycastillo@utexas.edu> | 2023-01-11 12:49:44 -0500 |
---|---|---|
committer | joeycastillo <joeycastillo@utexas.edu> | 2023-01-11 12:49:44 -0500 |
commit | a65d728877fc38ad5d1d749356befc2d7c6b0aba (patch) | |
tree | be09c25a45097ba032c6f6be5af0cf1f822c8866 /movement/watch_faces/complication | |
parent | dc5290410eb56c7d4974950d469d84c3a6602eb4 (diff) | |
download | Sensor-Watch-a65d728877fc38ad5d1d749356befc2d7c6b0aba.tar.gz Sensor-Watch-a65d728877fc38ad5d1d749356befc2d7c6b0aba.tar.bz2 Sensor-Watch-a65d728877fc38ad5d1d749356befc2d7c6b0aba.zip |
tarot: tweak to display of 'world' card
Diffstat (limited to 'movement/watch_faces/complication')
-rw-r--r-- | movement/watch_faces/complication/tarot_face.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/movement/watch_faces/complication/tarot_face.c b/movement/watch_faces/complication/tarot_face.c index fd8df139..16a989d8 100644 --- a/movement/watch_faces/complication/tarot_face.c +++ b/movement/watch_faces/complication/tarot_face.c @@ -62,7 +62,7 @@ static char *major_arcana[NUM_TAROT_CARDS] = { "n&OON ", // Moon " Sun ", "Jdgmnt", - " World", + "W orld", }; static void tarot_display(tarot_state_t *state) { @@ -73,6 +73,12 @@ static void tarot_display(tarot_state_t *state) { watch_display_string(buf, 3); sprintf(buf, "%s", major_arcana[state->drawn_cards[state->current_card]]); watch_display_string(buf, 4); + if (state->drawn_cards[state->current_card] == NUM_TAROT_CARDS - 1) { + // special tweak for "World" + watch_set_pixel(1, 20); + watch_set_pixel(2, 21); + watch_set_pixel(1, 17); + } } } |