projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altosuilib: Rewrite map GUI bits
[fw/altos]
/
telegps
/
TeleGPS.java
diff --git
a/telegps/TeleGPS.java
b/telegps/TeleGPS.java
index c61b245e006c80d7e16ae353df4cd093ccc19a63..2503d53e4d92b47d658868976c6fbb27f6156196 100644
(file)
--- a/
telegps/TeleGPS.java
+++ b/
telegps/TeleGPS.java
@@
-67,7
+67,7
@@
public class TeleGPS
JTabbedPane pane;
JTabbedPane pane;
- Altos
SiteMap site
map;
+ Altos
UIMap
map;
TeleGPSInfo gps_info;
AltosInfoTable info_table;
TeleGPSInfo gps_info;
AltosInfoTable info_table;
@@
-167,7
+167,7
@@
public class TeleGPS
}
void load_maps() {
}
void load_maps() {
- new Altos
Site
MapPreload(this);
+ new Altos
UI
MapPreload(this);
}
void disconnect() {
}
void disconnect() {
@@
-438,9
+438,9
@@
public class TeleGPS
c.gridwidth = 2;
bag.add(pane, c);
c.gridwidth = 2;
bag.add(pane, c);
-
sitemap = new AltosSite
Map();
- pane.add("
Site Map", site
map);
- displays.add(
site
map);
+
map = new AltosUI
Map();
+ pane.add("
Map",
map);
+ displays.add(map);
gps_info = new TeleGPSInfo();
pane.add("Info", gps_info);
gps_info = new TeleGPSInfo();
pane.add("Info", gps_info);
@@
-578,7
+578,7
@@
public class TeleGPS
} else {
double lat = Double.parseDouble(args[i+1]);
double lon = Double.parseDouble(args[i+2]);
} else {
double lat = Double.parseDouble(args[i+1]);
double lon = Double.parseDouble(args[i+2]);
- Altos
SiteMap.prefetchM
aps(lat, lon);
+ Altos
UIMap.prefetch_m
aps(lat, lon);
i += 2;
}
} else if (args[i].equals("--replay"))
i += 2;
}
} else if (args[i].equals("--replay"))