mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-16 13:42:16 -04:00
RecentEntries: Extract Columns model.
This commit is contained in:
parent
61f0d97c39
commit
298324d6e4
7 changed files with 46 additions and 45 deletions
|
@ -161,7 +161,11 @@ private:
|
|||
AISRecentEntries recent;
|
||||
std::unique_ptr<AISLogger> logger;
|
||||
|
||||
AISRecentEntriesView recent_entries_view { recent };
|
||||
const RecentEntriesColumns columns { {
|
||||
{ "MMSI", 9 },
|
||||
{ "Name/Call", 20 },
|
||||
} };
|
||||
AISRecentEntriesView recent_entries_view { columns, recent };
|
||||
AISRecentEntryDetailView recent_entry_detail_view;
|
||||
|
||||
static constexpr auto header_height = 1 * 16;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue