summaryrefslogtreecommitdiff
path: root/telegps/TeleGPSInfo.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-05-29 10:16:15 -0700
committerKeith Packard <keithp@keithp.com>2014-05-29 10:16:15 -0700
commit71715337eb532a1fbe1a753240e7417d5223489f (patch)
tree2042488d19584b89b661e48fe0dadbe555d4f174 /telegps/TeleGPSInfo.java
parent13f84be8d1568a3fc2ed5eef5dcc2093c149285e (diff)
telegps: Add info table
Move a couple of files from altosui to altosuilib, hook up the info table after changing it to implement the AltosFlightDisplay interface Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'telegps/TeleGPSInfo.java')
-rw-r--r--telegps/TeleGPSInfo.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/telegps/TeleGPSInfo.java b/telegps/TeleGPSInfo.java
index 0fba77d5..da3df44e 100644
--- a/telegps/TeleGPSInfo.java
+++ b/telegps/TeleGPSInfo.java
@@ -58,6 +58,10 @@ public class TeleGPSInfo extends JComponent implements AltosFlightDisplay {
show(String.format(format, v));
}
+ void show(String format, int v) {
+ show(String.format(format, v));
+ }
+
void reset() {
lights.set(false);
value.setText("");