summaryrefslogtreecommitdiff
path: root/altosui/AltosLanded.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-09-02 23:10:23 -0600
committerKeith Packard <keithp@keithp.com>2013-09-02 23:11:52 -0600
commit528e2e41112cad8a81bccbb89c3bd202b818a506 (patch)
tree2c2076a5d1972681ba3300e9a44636b526efaa82 /altosui/AltosLanded.java
parent224a1e01bacb7db0076129906ed58e1c785e1b14 (diff)
altoslib: More AltosState hacking
EasyMini graphs are looking good now. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosLanded.java')
-rw-r--r--altosui/AltosLanded.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/altosui/AltosLanded.java b/altosui/AltosLanded.java
index 4cdaa3df..630527a0 100644
--- 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) {
- show(AltosConvert.height, state.max_height);
+ show(AltosConvert.height, state.max_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) {
- show(AltosConvert.accel, state.max_acceleration);
+ show(AltosConvert.accel, state.max_acceleration());
}
public Accel (GridBagLayout layout, int y) {
super (layout, y, "Maximum Acceleration");