mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-02 10:51:57 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user