diff options
author | Keith Packard <keithp@keithp.com> | 2014-06-11 18:46:47 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-06-11 18:46:47 -0700 |
commit | db2443fdbf65b65703217174303027c439124a83 (patch) | |
tree | dd18a92bddd7d39f2a37c46c045e06767fcf0a99 /altosui/AltosGraphUI.java | |
parent | ac33ca137551e32235cd2a0304da4b5e7af51a44 (diff) |
altosuilib: Rewrite map GUI bits
Use a single large Canvas and draw images on top by hand.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosGraphUI.java')
-rw-r--r-- | altosui/AltosGraphUI.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/altosui/AltosGraphUI.java b/altosui/AltosGraphUI.java index 9e8a1939..0df92eae 100644 --- a/altosui/AltosGraphUI.java +++ b/altosui/AltosGraphUI.java @@ -34,7 +34,7 @@ public class AltosGraphUI extends AltosUIFrame JTabbedPane pane; AltosGraph graph; AltosUIEnable enable; - AltosSiteMap map; + AltosUIMap map; AltosState state; AltosGraphDataSet graphDataSet; AltosFlightStats stats; @@ -46,7 +46,7 @@ public class AltosGraphUI extends AltosUIFrame for (AltosState state : states) { if (state.gps != null && state.gps.locked && state.gps.nsat >= 4) { if (map == null) - map = new AltosSiteMap(); + map = new AltosUIMap(); map.show(state, null); has_gps = true; } |