mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-07-02 01:51:42 +00:00
34 lines
772 B
C++
34 lines
772 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_help_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
|