Changeset 209:3172e5cab96e for src/mlx/gui
- Timestamp:
- 05/31/12 15:20:55 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/monitor.py
r202 r209 141 141 142 142 self._antiCollisionLightsOn = gtk.Label("ANTICOLLISION") 143 table.attach(self._antiCollisionLightsOn, 1, 3, 5, 6)143 table.attach(self._antiCollisionLightsOn, 1, 2, 5, 6) 144 144 145 145 self._strobeLightsOn = gtk.Label("STROBE") 146 table.attach(self._strobeLightsOn, 3, 4, 5, 6)146 table.attach(self._strobeLightsOn, 2, 3, 5, 6) 147 147 148 148 self._landingLightsOn = gtk.Label("LANDING") 149 table.attach(self._landingLightsOn, 4, 5, 5, 6)149 table.attach(self._landingLightsOn, 3, 4, 5, 6) 150 150 151 151 self._pitotHeatOn = gtk.Label("PITOT HEAT") 152 table.attach(self._pitotHeatOn, 5, 7, 5, 6)152 table.attach(self._pitotHeatOn, 4, 5, 5, 6) 153 153 154 154 self._parking = gtk.Label("PARKING") 155 table.attach(self._parking, 7, 8, 5, 6) 155 table.attach(self._parking, 5, 6, 5, 6) 156 157 self._gearControlDown = gtk.Label("GEAR LEVER DOWN") 158 table.attach(self._gearControlDown, 6, 8, 5, 6) 156 159 157 160 self._gearsDown = gtk.Label("GEARS DOWN") … … 241 244 self._pitotHeatOn.set_sensitive(False) 242 245 self._parking.set_sensitive(False) 246 self._gearControlDown.set_sensitive(False) 243 247 self._gearsDown.set_sensitive(False) 244 248 self._spoilersArmed.set_sensitive(False) … … 308 312 self._pitotHeatOn.set_sensitive(aircraftState.pitotHeatOn) 309 313 self._parking.set_sensitive(aircraftState.parking) 314 self._gearControlDown.set_sensitive(aircraftState.gearControlDown) 310 315 self._gearsDown.set_sensitive(aircraftState.gearsDown) 311 316 self._spoilersArmed.set_sensitive(aircraftState.spoilersArmed)
Note:
See TracChangeset
for help on using the changeset viewer.