mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-07-02 01:51:42 +00:00
bf7068b02b
* refactor: render chat rows from presentation state * Fix Meshtastic channel sync and add MeshCore CN preset * Add granular chat notification settings * Add SD settings backup and restore * Prepare 0.1.26-alpha release --------- Co-authored-by: vicliu624 <vicliu@outlook.com>
33 lines
723 B
C++
33 lines
723 B
C++
#pragma once
|
|
|
|
#include "lvgl.h"
|
|
|
|
#include "app/app_facades.h"
|
|
#include "ui/app_catalog.h"
|
|
#include "ui_presentation/menu/menu_model.h"
|
|
|
|
namespace ui
|
|
{
|
|
namespace menu_layout
|
|
{
|
|
|
|
struct InitOptions
|
|
{
|
|
app::IAppMessagingFacade* messaging = nullptr;
|
|
AppCatalog apps{};
|
|
const ui::menu::MenuModel* ux_menu = nullptr;
|
|
};
|
|
|
|
void init(const InitOptions& options);
|
|
lv_obj_t* menuPanel();
|
|
void bringContentToFront();
|
|
void refresh_localized_text();
|
|
void set_bottom_bar_node_text(const char* text);
|
|
void set_bottom_bar_ram_text(const char* text);
|
|
void set_bottom_bar_psram_text(const char* text);
|
|
void set_bottom_bar_psram_visible(bool visible);
|
|
void setMenuVisible(bool visible);
|
|
|
|
} // namespace menu_layout
|
|
} // namespace ui
|