Files
trail-mate/modules/ui_shared/include/ui/ui_status.h
T
vicliu b2229138ed Tdeck (#24)
* fix(tracker): apply localized labels on tracker page

* feat: add runtime locale packs and font fallback

* release: prepare 0.1.19-alpha
2026-04-21 03:19:05 +08:00

31 lines
773 B
C++

/**
* @file ui_status.h
* @brief Global UI status indicators (top bar icons + menu badges)
*/
#pragma once
#include "lvgl.h"
namespace ui
{
namespace status
{
void init();
void register_menu_status_row(lv_obj_t* row,
lv_obj_t* route_icon,
lv_obj_t* tracker_icon,
lv_obj_t* gps_icon,
lv_obj_t* wifi_icon,
lv_obj_t* team_icon,
lv_obj_t* msg_icon,
lv_obj_t* ble_icon);
void register_chat_badge(lv_obj_t* badge_bg, lv_obj_t* badge_label);
void force_update();
int get_total_unread();
void set_menu_active(bool active);
} // namespace status
} // namespace ui