projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altoslib: More AltosState hacking
[fw/altos]
/
altosui
/
AltosLanded.java
diff --git
a/altosui/AltosLanded.java
b/altosui/AltosLanded.java
index 4cdaa3df795ac095a191304bf1d335f5fc5c9b2a..630527a04d601f66a31ba81913281aa0f5b3107e 100644
(file)
--- a/
altosui/AltosLanded.java
+++ b/
altosui/AltosLanded.java
@@
-163,7
+163,7
@@
public class AltosLanded extends JComponent implements AltosFlightDisplay, Actio
class Height extends LandedValue {
void show (AltosState state, AltosListenerState listener_state) {
class Height extends LandedValue {
void show (AltosState state, AltosListenerState listener_state) {
- show(AltosConvert.height, state.max_height);
+ show(AltosConvert.height, state.max_height
()
);
}
public Height (GridBagLayout layout, int y) {
super (layout, y, "Maximum Height");
}
public Height (GridBagLayout layout, int y) {
super (layout, y, "Maximum Height");
@@
-185,7
+185,7
@@
public class AltosLanded extends JComponent implements AltosFlightDisplay, Actio
class Accel extends LandedValue {
void show (AltosState state, AltosListenerState listener_state) {
class Accel extends LandedValue {
void show (AltosState state, AltosListenerState listener_state) {
- show(AltosConvert.accel, state.max_acceleration);
+ show(AltosConvert.accel, state.max_acceleration
()
);
}
public Accel (GridBagLayout layout, int y) {
super (layout, y, "Maximum Acceleration");
}
public Accel (GridBagLayout layout, int y) {
super (layout, y, "Maximum Acceleration");