mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-02 10:51:57 +00:00
feat(ui): a turn dial / compass rose on narrow navigation screens
navview::draw (Waypoints, trail back, Nearby, a message's location) shows a dial beside the lines, or under them on a tall screen (portrait e-ink) where that makes it larger: with a course a turn dial (the top is where you're heading, the arrow points at the target, "Turn R 55"), without it the compass rose. The 4.2" screens keep theirs. On a short screen (the 64 px OLED) the gap under the distance and the pitch of the lines give way so the ETA is not cut off at the bottom. sim_nav_waypoint() opens a waypoint's navigate view from the simulator page. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
15ac4d8f83
commit
52812d8235
@@ -117,6 +117,7 @@ public:
|
||||
|
||||
// Forwarded to UITask's GPS duty-cycle hold — see WaypointsView::needsLiveGps().
|
||||
bool wpNeedsLiveGps() const { return _wp.needsLiveGps(); }
|
||||
void simWaypointNav(int row) { _wp.simNav(row); } // sim tests
|
||||
|
||||
int render(DisplayDriver& display) override {
|
||||
display.setTextSize(1);
|
||||
|
||||
Reference in New Issue
Block a user