diff options
| author | Keith Packard <keithp@keithp.com> | 2013-09-02 23:10:23 -0600 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2013-09-02 23:11:52 -0600 | 
| commit | 528e2e41112cad8a81bccbb89c3bd202b818a506 (patch) | |
| tree | 2c2076a5d1972681ba3300e9a44636b526efaa82 /altosui/AltosAscent.java | |
| parent | 224a1e01bacb7db0076129906ed58e1c785e1b14 (diff) | |
altoslib: More AltosState hacking
EasyMini graphs are looking good now.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosAscent.java')
| -rw-r--r-- | altosui/AltosAscent.java | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/altosui/AltosAscent.java b/altosui/AltosAscent.java index ceba2d1d..20474f52 100644 --- a/altosui/AltosAscent.java +++ b/altosui/AltosAscent.java @@ -240,7 +240,7 @@ public class AltosAscent extends JComponent implements AltosFlightDisplay {  	class Height extends AscentValueHold {  		void show (AltosState state, AltosListenerState listener_state) { -			show(AltosConvert.height, state.height); +			show(AltosConvert.height, state.height());  		}  		public Height (GridBagLayout layout, int y) {  			super (layout, y, "Height"); @@ -251,7 +251,7 @@ public class AltosAscent extends JComponent implements AltosFlightDisplay {  	class Speed extends AscentValueHold {  		void show (AltosState state, AltosListenerState listener_state) { -			show(AltosConvert.speed, state.speed); +			show(AltosConvert.speed, state.speed());  		}  		public Speed (GridBagLayout layout, int y) {  			super (layout, y, "Speed"); @@ -262,7 +262,7 @@ public class AltosAscent extends JComponent implements AltosFlightDisplay {  	class Accel extends AscentValueHold {  		void show (AltosState state, AltosListenerState listener_state) { -			show(AltosConvert.accel, state.acceleration); +			show(AltosConvert.accel, state.acceleration());  		}  		public Accel (GridBagLayout layout, int y) {  			super (layout, y, "Acceleration"); | 
