Changeset 197:93f89e9049be for src/mlx/gui/monitor.py
- Timestamp:
- 05/27/12 11:15:19 (12 years ago)
- Branch:
- default
- hg-Phase:
- (<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/monitor.py
r89 r197 72 72 table.attach(self._bank, 9, 10, 1, 2) 73 73 74 (label, self._vs) = self._createLabeledEntry("VS:", 5)74 (label, self._vs) = self._createLabeledEntry("VS:", 13) 75 75 table.attach(label, 10, 11, 1, 2) 76 76 table.attach(self._vs, 11, 12, 1, 2) 77 77 78 (label, self._ias) = self._createLabeledEntry("IAS:", 4)78 (label, self._ias) = self._createLabeledEntry("IAS:", 11) 79 79 table.attach(label, 0, 1, 2, 3) 80 80 table.attach(self._ias, 1, 2, 2, 3) … … 259 259 self._pitch.set_text("%.0f" % (aircraftState.pitch,)) 260 260 self._bank.set_text("%.0f" % (aircraftState.bank,)) 261 self._vs.set_text("%.0f" % (aircraftState.vs,)) 262 self._ias.set_text("%.0f" % (aircraftState.ias,)) 261 self._vs.set_text("%.0f (%.0f)" % (aircraftState.vs, 262 aircraftState.smoothedVS)) 263 self._ias.set_text("%.0f (%.0f)" % (aircraftState.ias, 264 aircraftState.smoothedIAS)) 263 265 self._mach.set_text("%.2f" % (aircraftState.mach,)) 264 266 self._groundSpeed.set_text("%.0f" % (aircraftState.groundSpeed,))
Note:
See TracChangeset
for help on using the changeset viewer.