mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-07-28 06:22:43 +00:00
* fix(tracker): apply localized labels on tracker page * feat: add runtime locale packs and font fallback * release: prepare 0.1.19-alpha
31 lines
628 B
C++
31 lines
628 B
C++
#pragma once
|
|
|
|
#include "lvgl.h"
|
|
|
|
#include "app/app_facades.h"
|
|
#include "ui/app_catalog.h"
|
|
|
|
namespace ui
|
|
{
|
|
namespace menu_layout
|
|
{
|
|
|
|
struct InitOptions
|
|
{
|
|
app::IAppMessagingFacade* messaging = nullptr;
|
|
AppCatalog apps{};
|
|
};
|
|
|
|
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
|