#ifndef UI_MANAGER_H #define UI_MANAGER_H #include #include #include "lvgl.h" void ui_init(void); /* Safe to call from any task -- these take the LVGL lock internally. */ void ui_update_weather(int16_t temp_f, const char *condition); void ui_set_status(const char *status); /* * Mark the displayed reading as no longer trustworthy. Dims the temperature * so a value that stopped updating is visibly distinct from a live one, * rather than sitting there at full styling looking current. */ void ui_set_weather_stale(bool stale); #endif