feat(ui-lvgl): map tools regrouped; a map area previews when picked

Map tools: TRAIL, LIVE SHARE and ARRIVAL ALERT each with their own options
page (that section of Map options; back returns to Map tools), the arrival
alert switch where its state is shown, OFFLINE MAPS (Map areas, Live
tiles; the separate Download an area is gone -- a running or unfinished
download shows at the top of Map areas) and LAYERS.

Map areas: picking one frames it on the map above a small sheet (no Show
button, the map above isn't dimmed); closing the sheet, however it's
closed, puts the map back where it was and drops the outline -- it used
to stay on the map. New popup kind POP_BOTTOM.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-09-28 21:30:46 +02:00
co-authored by Claude Opus 5.5
parent a11df8431b
commit e47738ce01
4 changed files with 128 additions and 64 deletions
+3 -1
View File
@@ -88,6 +88,7 @@ public:
void mapRegionPopup(int idx);
void mapRegionAction(uint8_t act);
void mapAreaRenameDone(bool ok);
void areaPreviewEnd(); // back to the view from before a map area's preview
int mapZoomLevel() const;
void setTapWake(bool on);
void mapDownloadClose();
@@ -317,6 +318,7 @@ private:
void buildSettings();
void buildSchemaSettings();
void schemaRows(lv_obj_t* body, uint8_t page);
void showMapOptions(uint8_t section);
void schemaRow(lv_obj_t* card, int idx);
void buildKeyboardPage(lv_obj_t* body);
void buildAboutPage(lv_obj_t* body);
@@ -347,7 +349,7 @@ private:
void refreshNavBar();
void navFrameTarget();
void navSetTarget(uint8_t kind, const uint8_t* key, int32_t lat, int32_t lon, const char* name);
lv_obj_t* navPopupPanel(const char* title, bool full);
lv_obj_t* navPopupPanel(const char* title, bool full, bool bottom = false);
void navRenamePopup(int idx);
void navAddWaypoint(int32_t lat, int32_t lon);
void navDropAt(int x, int y);