Text formatters shared by the faces, bound to the engine's text-slots. More...
#include "ui/readouts.h"#include <stdio.h>#include <string.h>#include "clock/beats.h"#include "io/stores/time_store.h"#include "io/stores/health_store.h"#include "io/stores/weather_store.h"#include "io/stores/location_store.h"#include "system/settings/settings.h"#include "system/settings/setting_values.h"#include "system/units/units.h"#include "text/text_case.h"#include "weather/wx_label.h"Functions | |
| void | readout_time (char *out, size_t n) |
| Format the clock per the Time Format setting: 24h, 12h, system, or .beats. | |
| void | readout_meridiem (char *out, size_t n) |
| Format the AM/PM marker, or empty on a 24-hour or .beats clock. | |
| void | readout_date (char *out, size_t n) |
| Format the date in the chosen format, upper-cased. | |
| bool | readout_date_shows_beats (void) |
| Whether the chosen date format ends in a .beats reading. | |
| void | readout_hr (char *out, size_t n) |
| Format the heart rate, or "--" when there is no reading. | |
| void | readout_steps (char *out, size_t n) |
| Format the step count, or the distance walked per the Steps Mode setting. | |
| void | readout_weather_temp (char *out, size_t n) |
| Format the temperature with its unit letter, or "--" when there is no reading. | |
| void | readout_weather_cond (char *out, size_t n) |
| Format the condition word, or "--" when there is none. | |
| void | readout_lat (char *out, size_t n) |
| Format the latitude string, or "--" when there is no fix. | |
| void | readout_lon (char *out, size_t n) |
| Format the longitude string, or "--" when there is no fix. | |
Text formatters shared by the faces, bound to the engine's text-slots.