stuartpb / rainpower-watchface

A custom watchface for my Pebble.
MIT License
1 stars 0 forks source link

Extreme temperature handling #22

Open stuartpb opened 7 years ago

stuartpb commented 7 years ago

There are two rare-but-not-unheard-of cases where three characters need to be displayed for the temperature:

There's also an extremely rare case where four characters would need to be displayed: under-100-degree cold (Fahrenheit in Antarctica).

I want to be able to handle each of these cases, so I'll want to add case similar to how 24-hour handling works that changes the font size and position of the temperature display when there are three digits.

For the record-cold-day-in-Antarctica case, I intend to handle that as well, by flipping the sign of the temperature, then manually drawing a tiny hyphen left of the three-digit number (I'm not too concerned about readability of the hyphen: in the scenario where it applies, I doubt there'd be any confusion).