Files
trail-mate/modules/ui_shared/include/ui/ui_status.h
T
liu weikai 7adf727950 feat: add walkie monitor topbar indicators
Add LoRa/FSK topbar modulation badges and monitor status handling for walkie talkie mode.

Keep built-in text candidates and small symbol/emoji font baselines aligned with localization specs, and remove the legacy compiled-in CJK font path.
2026-06-19 21:04:40 +08:00

33 lines
890 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,
lv_obj_t* radio_mod_icon,
lv_obj_t* walkie_monitor_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