mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-10-08 03:27:22 +00:00
* refactor: render chat rows from presentation state * Fix Meshtastic channel sync and add MeshCore CN preset * Add granular chat notification settings * Add SD settings backup and restore * Prepare 0.1.26-alpha release --------- Co-authored-by: vicliu624 <vicliu@outlook.com>
23 lines
494 B
C++
23 lines
494 B
C++
#include "ui_map_runtime/map_overlay_snapshot_source.h"
|
|
|
|
namespace ui
|
|
{
|
|
namespace map_overlay
|
|
{
|
|
|
|
MapOverlaySnapshotSource::MapOverlaySnapshotSource(IMapOverlayGpsSource* gps,
|
|
IMapOverlayTeamSource* team)
|
|
: gps_(gps),
|
|
team_(team)
|
|
{
|
|
}
|
|
|
|
bool MapOverlaySnapshotSource::buildMapOverlaySnapshot(
|
|
::ui::map::MapOverlaySnapshot& out) const
|
|
{
|
|
return adapter_.project(gps_, team_, out);
|
|
}
|
|
|
|
} // namespace map_overlay
|
|
} // namespace ui
|