mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-07-12 06:39:00 +00:00
25381c5c22
- migrate ESP board-specific implementations and runtime adapters into boards/* - continue GAT562/Tab5/UI runtime alignment across app and board layers - sync BLE and runtime integrations, and apply repository clang-format rules
30 lines
722 B
C++
30 lines
722 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* 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
|