summaryrefslogtreecommitdiff
path: root/telegps/TeleGPS.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-06-13 15:23:30 -0700
committerKeith Packard <keithp@keithp.com>2014-06-13 15:23:30 -0700
commit3f7e885055f8a97f334e0cd3163b760b174114b6 (patch)
treed9e8d86f5bf767758603a2fe4a8964b642d763e9 /telegps/TeleGPS.java
parent876acbdc22ff93c22836f789e0b6394eb19e0da3 (diff)
telegps: Add status tab
This includes pad-relative information, battery voltage and version information Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'telegps/TeleGPS.java')
-rw-r--r--telegps/TeleGPS.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/telegps/TeleGPS.java b/telegps/TeleGPS.java
index 1898a668..307b5610 100644
--- a/telegps/TeleGPS.java
+++ b/telegps/TeleGPS.java
@@ -69,6 +69,7 @@ public class TeleGPS
AltosUIMap map;
TeleGPSInfo gps_info;
+ TeleGPSState gps_state;
AltosInfoTable info_table;
LinkedList<AltosFlightDisplay> displays;
@@ -444,13 +445,17 @@ public class TeleGPS
bag.add(pane, c);
map = new AltosUIMap();
- pane.add("Map", map);
+ pane.add(map.getName(), map);
displays.add(map);
gps_info = new TeleGPSInfo();
- pane.add("Info", gps_info);
+ pane.add(gps_info.getName(), gps_info);
displays.add(gps_info);
+ gps_state = new TeleGPSState();
+ pane.add(gps_state.getName(), gps_state);
+ displays.add(gps_state);
+
info_table = new AltosInfoTable();
pane.add("Table", info_table);
displays.add(info_table);