Jared Boone
cb403160b3
Really dumb list view columns structures.
2016-01-27 09:02:17 -08:00
Jared Boone
cac9f02c48
Add simple column headers to recents list views.
2016-01-26 17:25:51 -08:00
Jared Boone
dc42525dcb
Oops, removed line that should've been in prior commit.
2016-01-26 13:04:19 -08:00
Jared Boone
a13e19a907
Paint background of Text object before string.
2016-01-26 13:00:36 -08:00
Jared Boone
c1f7f23367
Add AIS channel control.
2016-01-25 11:47:59 -08:00
Jared Boone
8b0e6e65c8
Configure radio in AIS, ERT, TPMS apps.
2016-01-25 11:22:39 -08:00
Jared Boone
5ecc6d0330
Add Receiver sub-menu, Transponders item and sub-menu.
2016-01-24 22:38:36 -08:00
Jared Boone
e4f5539407
Remove unused variables.
2016-01-23 17:53:33 -08:00
Jared Boone
14f18d5cf7
Reduce use of unsigned integers when signed will do fine.
2016-01-23 17:53:16 -08:00
Jared Boone
05d7e0222f
Extract RecentEntries stuff to separate files.
2016-01-17 21:42:15 -08:00
Jared Boone
df3ce07c5c
Template AISRecentEntriesView.
...
More teasing apart, not sure where this will end...
2016-01-17 20:49:41 -08:00
Jared Boone
eda6e6a5be
Move AIS recent items list draw function back into class.
2016-01-17 19:08:08 -08:00
Jared Boone
fb8e5b21df
Use AIS MMSI string formatter, remove right-justification.
2016-01-17 18:07:39 -08:00
Jared Boone
3ee6fd3d87
Generalize AISRecentEntries -> templated RecentEntries.
...
Also access Entry unique key via key().
2016-01-17 18:06:31 -08:00
Jared Boone
5a864d8d44
Generalize RecentEntries find() method name.
2016-01-17 15:56:29 -08:00
Jared Boone
be44c21172
Move AIS received packet count to bottom of details view.
2016-01-15 18:15:50 -08:00
Jared Boone
93aea59847
Add AIS last position timestamp to details view.
2016-01-15 18:15:34 -08:00
Jared Boone
de98dfe10b
AUS consolidated lat/lon formatting.
2016-01-15 17:59:02 -08:00
Jared Boone
b5ac76afc4
Tiny code clean-up.
2016-01-15 17:58:27 -08:00
Jared Boone
8fd8815e95
Remove irrelevant comments.
2016-01-15 16:00:21 -08:00
Jared Boone
cb5f563b92
Push more common AIS lat/lon formatting into common function.
2016-01-15 15:59:04 -08:00
Jared Boone
f3989050e8
Clean up AIS lat/lon types and formatting.
2016-01-15 15:25:32 -08:00
Jared Boone
1e92d416c7
More AIS position report detail.
2016-01-15 15:21:45 -08:00
Jared Boone
70d349e1a7
Change default AIS navigational status to "unknown".
2016-01-15 13:39:40 -08:00
Jared Boone
8603c567ca
Unjustify AIS RX packet count.
2016-01-15 13:25:17 -08:00
Jared Boone
f292d5038a
Set AISRecentEntryDetailView dirty when entry changes.
2016-01-15 11:39:39 -08:00
Jared Boone
e163ed7463
Update recent entry detail when recent entry changes.
...
This doesn't feel like the right implementation, but I'm feeling impatient today...
2016-01-15 11:38:49 -08:00
Jared Boone
c4f7d9bf54
Return updated AIS RecentEntry.
2016-01-15 11:38:09 -08:00
Jared Boone
19e3b273ad
Expose current RecentEntry from detail view.
2016-01-15 11:37:37 -08:00
Jared Boone
089ef25df9
Draw AIS entry details.
2016-01-15 11:23:28 -08:00
Jared Boone
aa249cbad4
Add AIS detail view.
2016-01-14 22:39:58 -08:00
Jared Boone
b1707298b7
Extract weird range-of-entries algorithm out of view.
2016-01-14 11:49:19 -08:00
Jared Boone
9fd93b0af6
Remove redundant focus tracking code.
2016-01-14 09:45:29 -08:00
Jared Boone
6e0aa79d44
Move app-level config to new AISAppView class.
2016-01-14 09:41:58 -08:00
Jared Boone
1f2b28b2b8
Add AISAppView.
2016-01-14 09:30:23 -08:00
Jared Boone
fc16bc7867
Rename AISView to AISRecentEntriesView.
...
Coming soon, top-layer AISAppView.
2016-01-14 09:19:16 -08:00
Jared Boone
bd07e4e7e5
Modify LogFile to open/close file on SD card status.
...
Previously, would only open on construction, which was only when the receiver mode changed, which wasn't all that useful.
2016-01-13 23:11:19 -08:00
Jared Boone
8a30003ab6
Move entry update code into AISRecentEntry.
2016-01-13 22:27:30 -08:00
Jared Boone
8efeb049ca
Use std::begin(), std::end() where appropriate.
2016-01-13 18:06:45 -08:00
Jared Boone
af8630a6f3
Dedupe code, call AISRecentEntries::find_by_mmsi().
2016-01-13 18:04:50 -08:00
Jared Boone
3df003a678
Rename AISRecentEntries::find -> find_by_mmsi.
2016-01-13 18:04:04 -08:00
Jared Boone
2888257167
Extract AISRecentEntries from AISView.
2016-01-13 18:01:38 -08:00
Jared Boone
01741f3c7c
Rename AISModel to AISLogger.
...
That's really what it is. Also move receiver initialization to AISView. It'll eventually move further out to an AISApp, once I figure out what an App looks like...
2016-01-13 17:05:19 -08:00
Jared Boone
8c34e116af
Remove Signal use, register message handler in View.
...
Changed my mind from earlier commit...
2016-01-13 17:00:53 -08:00
Jared Boone
94b73d7825
AISView constructors out of header.
2016-01-13 16:44:01 -08:00
Jared Boone
f8a063312c
AISModel receive packets from baseband, notifies AISView.
...
Use Signal class to distribute packets to multiple listeners.
2016-01-13 16:32:56 -08:00
Jared Boone
9cab3c9978
Remove message_map from Context.
...
It doesn't belong in a display/rendering context object, it has much broader significance, mostly distributing messages via the M4->M0 IPC mechanism.
2016-01-13 15:46:04 -08:00
Jared Boone
d380ffe52b
Extract AIS record renderer from AISView.
2016-01-13 11:56:23 -08:00
Jared Boone
a29b76ac38
Pull AIS record types out of AISView.
2016-01-13 11:52:39 -08:00
Jared Boone
4b2157a938
Push AIS list item draw style into render method.
2016-01-13 11:43:21 -08:00