mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-07-18 17:46:22 +00:00
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.
33 lines
890 B
C++
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
|