1
0
Fork 0
Commit graph

13 commits

Author SHA1 Message Date
jimishol
f5a5ba60ca Fix Equipment-Instrument Settings inconsistency toward Altimeter Indicator.
Altimeter Indicator seems to respect even rounding. So, if on settings
appear 29.9299 it shows 29.93. Equipment-Instrument Settings do not and
shows 29.92. If user sets 29.93 then settings keep the rest previous digits
and shows 29.9399. So, altimeter indicator shows 29.94 but instrument
settings keep the difference of 0.01 and shows 29.93.
Same phenomenon happens to hpa value too.

In code with '+0.05' we create even rounding and because the coversion
of one unit to the other many times leaves decimals of values to end
to series of 9, thus Instrument Settings keeps showing 29.929999 as 29.92,
we add artificial small value 0.00001 so as to make significant digits exact.
2021-11-23 11:06:59 +00:00
Julian Smith
1d4bc4cc1a gui/dialogs/instruments.xml: added control of panel/instrument lighting. 2020-11-01 09:32:39 +00:00
Joni
a33de462d6 GUI modifications: Show/hide checklist marker with a button. Display local magnetic variation in Instruments dialog. 2020-03-03 12:45:17 +01:00
Stuart Buchanan
0581ad323d GUI Cleanup from Michael HABARTA. Part 2 2015-03-14 23:03:31 +00:00
Clément de l'Hamaide
913b6db91f oops, remove debug code 2014-12-30 17:40:28 +01:00
Clément de l'Hamaide
c42da1014d Instruments GUI: format value with Nasal 2014-12-30 17:32:21 +01:00
Clément de l'Hamaide
2ce60a3659 Instruments GUI: add QNH setting
Thanks to Omega & jam007 on forum

http://forum.flightgear.org/viewtopic.php?f=6&t=20045
2014-12-30 16:27:10 +01:00
Gijs de Rooy
05788b5675 Live update dialog fields, so no (non-intuitive) key-press is required 2011-01-05 22:44:33 +01:00
Stuart Buchanan
3d7d00ead9 Minor changes various dialogs to make generally consistent:
- Title bar with cancel button in top left hand side.
- horizontal line dividing main dialog from bottom buttons
- Minor layout and Nasal fixes.
2010-12-27 20:19:31 +00:00
mfranz
9fa98151db use <key>Esc</key> instead of <keynum>27</keynum> 2005-11-05 18:42:28 +00:00
mfranz
9c49dccd5b let all dialogs in $FG_ROOT/gui/dialogs be closed/canceled/dismissed on
Escape key; nasal generated dialogs will follow
2005-11-05 13:59:06 +00:00
ehofman
1846713b30 Clean up the appearance a bit. 2005-05-06 14:01:46 +00:00
david
b0ffc44129 Added a simple, easy-to-use dialog for setting instruments (currently
the altimeter and heading indicator).
2004-03-23 21:41:16 +00:00