1
0
Fork 0
Commit graph

30 commits

Author SHA1 Message Date
Stuart Buchanan
ed068bef82 Unification of Weather UI. 2012-08-07 21:27:29 +01:00
ThorstenB
b62c1c01b7 Avoid duplication of "findElementByName" function.
Now moved to common gui.nas.
2012-03-24 12:45:58 +01:00
Torsten Dreyer
d63d9c98e7 Local/Global Weather Menu cleanup
- use just a single "Weather" menu item
- add buttons to switch between global and local weather dialogs
- Rename Global Weather to Basic Weather
- Rename Local Weather to Advanced Weather
2012-01-22 18:29:11 +01:00
ThorstenB
fdcd319c9f Fix global weather dialog.
Don't try to call "local_weather" when it isn't loaded.
2012-01-07 09:42:36 +01:00
Torsten Dreyer
8da025920b Fix #567: disable local weather global weather scenario changes 2012-01-05 13:52:17 +01:00
Gijs de Rooy
f852529e56 Adjust snow line based on METAR. Snow level is only adjusted when METAR reports snow below the user set altitude. 2011-12-06 20:39:05 +01:00
ThorstenB
539716828b Added GUI/menu item for scenery download/update. 2011-06-13 20:40:46 +02:00
Torsten Dreyer
c03ed7ee02 global-weather: add Curt's button and some tweaking
- add Apply button for the METAR input
- make the 'valid' checkbox disabled - it's a read-only property
- cleanup some indention
2011-01-23 12:15:37 +01:00
Torsten Dreyer
cf1660986d fix bug 255: add turbulence to weather menu 2011-01-21 10:36:28 +01:00
Torsten Dreyer
cdb21a52e4 GlobalWeather: (better) support for weather-scenario
- handle /environment/weather-scenario property on startup
- try to detect predefined scenario on startup of global
weather dialog box and select the corresponding entry in
the scenario combo box.
2011-01-17 21:05:01 +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
Torsten Dreyer
c41e11e80b bugfix: enable globalwx METAR textfield on --metar
The METAR input field is now enabled when the global weather
dialog is opened and fg was started with --metar=something
2010-12-22 22:54:49 +01:00
Torsten Dreyer
db627540aa GlobalWeather: use /environment/[rain|snow]-norm 2010-12-21 09:58:20 +01:00
Gijs de Rooy
cec50787b6 Gray-out dependant options, uniform close button 2010-12-15 13:43:09 +01:00
Torsten Dreyer
7062de844f GlobalWx: Metar does not update high altitudes visibility 2010-11-26 14:10:59 +01:00
Torsten Dreyer
10ed64e3ee GlobalWeather bugfix: enable editing of METAR
Initialize the METAR textbox to the current METAR on selection
of "Manual input" to have some data to start with. Apply the
data when the METAR textbox looses focus.
2010-11-21 21:20:17 +01:00
Torsten Dreyer
1751fdb22e GlobalWeather: display changing METAR 2010-11-21 20:27:05 +01:00
Torsten Dreyer
0fd0567d57 Make METAR field editable on manual input 2010-11-20 11:13:26 +01:00
Torsten Dreyer
083c9e9de6 weather-dialog: show, if METAR is valid
add a checkbox tied to the metar-valid property
2010-10-07 17:56:24 +02:00
Torsten Dreyer
284a283acb Some fixes for the GlobalWeather dialog
- make aloft and boundary data editable in "Disabled" mode
- make aloft and boundary data not-editable in other modes
- fix live-update issues on many input fields
2010-09-23 20:31:57 +02:00
Torsten Dreyer
d02cff21cf weather-dialog: handle incoming METAR
metar/data is a tied property, it does not trigger
a listener - metar/valid does.
2010-09-12 23:04:49 +02:00
Torsten Dreyer
9bdc9ec4e1 Environment: handle metar-updates-environment
And some minor fixes
2010-09-11 23:32:20 +02:00
Torsten Dreyer
66f3f67f37 GlobalWeather dialog: cosmetic changes and a bug fix
- Don't refer to the obsolete Weather Conditions and Clouds dialogs
- Nasal based rebuild of the cloud layers are no longer required this way
2010-09-11 21:27:09 +02:00
Torsten Dreyer
c6072c9c76 Environment controller overhaul
This is the initial commit for a reworked environment controller.
The main intention is to decouple the individual modules like
metar fetch, metar properties, environment interpolation etc.
to make it easier for other weather module developers to modify
environment settings.
As a side effect, the dialogs for weather-scenario, weather-conditions,
clouds and precipitations have been merged into a single dialog
2010-09-11 16:15:49 +02: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
david
6f9792af13 Add the ability to control turbulence rate as well as magnitude.
Square the normalized direction acceleration for the y and z axes, so
that turbulence predominantly affects pitch.

Bind to the /environment/turbulence/magnitude-norm and
/environment/turbulence/rate-hz properties in FlightGear.
2003-07-13 20:26:00 +00:00
curt
dc0f5206f3 Add two helpful comments to the weather dialog box as a reminder that
"Aloft" altitudes and data elements are relative to sea level while
"Boundary" altitdues and data elements are relative to the current ground
level.
2003-06-24 19:55:15 +00:00
ehofman
b4dc96fa85 It's typo time 2003-06-22 08:02:27 +00:00
david
a48332cfdf Added initialization and user dialog for improved weather system. 2003-06-08 14:44:53 +00:00