1
0
Fork 0
fgdata/gui/dialogs/local_weather_tiles.xml

637 lines
11 KiB
XML
Raw Normal View History

2010-04-12 20:46:07 +00:00
<?xml version="1.0"?>
<PropertyList>
2010-08-03 06:18:14 +00:00
<!-- Weather tiles -->
2010-04-12 20:46:07 +00:00
<name>local_weather_tiles</name>
<width>470</width>
2012-04-26 10:03:51 +00:00
<height>410</height>
2010-04-12 20:46:07 +00:00
<modal>false</modal>
<text>
2010-08-03 06:18:14 +00:00
<x>5</x>
2012-04-26 10:03:51 +00:00
<y>380</y>
2010-08-03 06:18:14 +00:00
<label>Select initial weather scenario tile</label>
2010-04-12 20:46:07 +00:00
</text>
<combo>
<x>10</x>
2012-04-26 10:03:51 +00:00
<y>355</y>
2010-04-12 21:29:37 +00:00
<width>280</width>
2010-04-12 20:46:07 +00:00
<height>25</height>
<live>true</live>
<property>/local-weather/tmp/tile-type</property>
2010-06-04 21:05:32 +00:00
<value>High-pressure-core</value>
<value>High-pressure</value>
<value>High-pressure-border</value>
<value>Low-pressure-border</value>
<value>Low-pressure</value>
<value>Low-pressure-core</value>
2010-06-15 18:54:44 +00:00
<value>Cold-sector</value>
2010-08-03 06:18:14 +00:00
<value>Warm-sector</value>
2010-06-15 18:54:44 +00:00
<value>Coldfront</value>
2010-08-03 06:18:14 +00:00
<value>Warmfront</value>
2010-06-15 18:54:44 +00:00
<value>Tropical</value>
<value>Thunderstorms</value>
2011-09-23 21:22:19 +00:00
<value>Test tile</value>
2010-04-12 20:46:07 +00:00
<binding>
<command>dialog-apply</command>
</binding>
2011-05-14 13:15:20 +00:00
<!--<enable>
<not>
<equals>
<property>/local-weather/tmp/tile-management</property>
<value type="string">METAR</value>
</equals>
</not>
</enable>-->
2010-04-12 20:46:07 +00:00
</combo>
<text>
<x>300</x>
2012-04-26 10:03:51 +00:00
<y>355</y>
<label>alt. offset (ft)</label>
</text>
<input>
<x>390</x>
2012-04-26 10:03:51 +00:00
<y>355</y>
<width>50</width>
<height>25</height>
<property>/local-weather/tmp/tile-alt-offset-ft</property>
</input>
2010-04-12 21:29:37 +00:00
<text>
2010-08-03 06:18:14 +00:00
<x>5</x>
2012-04-26 10:03:51 +00:00
<y>320</y>
2010-08-03 06:18:14 +00:00
<label>wind deg</label>
2010-04-12 21:29:37 +00:00
</text>
<input>
2010-08-03 06:18:14 +00:00
<x>67</x>
2012-04-26 10:03:51 +00:00
<y>320</y>
2010-06-04 21:05:32 +00:00
<width>40</width>
2010-04-12 21:29:37 +00:00
<height>25</height>
<property>/local-weather/tmp/tile-orientation-deg</property>
</input>
2010-08-03 06:18:14 +00:00
<text>
<x>105</x>
2012-04-26 10:03:51 +00:00
<y>320</y>
2010-08-03 06:18:14 +00:00
<label>kt</label>
</text>
<input>
<x>125</x>
2012-04-26 10:03:51 +00:00
<y>320</y>
2010-08-03 06:18:14 +00:00
<width>30</width>
<height>25</height>
<property>/local-weather/tmp/windspeed-kt</property>
</input>
2011-03-19 13:03:28 +00:00
<text>
<x>157</x>
2012-04-26 10:03:51 +00:00
<y>320</y>
2011-03-19 13:03:28 +00:00
<label>gust freq.</label>
</text>
<slider>
<x>225</x>
2012-04-26 10:03:51 +00:00
<y>320</y>
2011-03-19 13:03:28 +00:00
<width>50</width>
<height>20</height>
<min>0.0</min>
2011-05-14 13:15:20 +00:00
<max>2.0</max>
2011-03-19 13:03:28 +00:00
<property>/local-weather/tmp/gust-frequency-hz</property>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
<text>
<x>275</x>
2012-04-26 10:03:51 +00:00
<y>320</y>
2011-03-19 13:03:28 +00:00
<label>strength</label>
</text>
<slider>
<x>333</x>
2012-04-26 10:03:51 +00:00
<y>320</y>
2011-03-19 13:03:28 +00:00
<width>50</width>
<height>20</height>
<min>0.0</min>
<max>1.5</max>
<property>/local-weather/tmp/gust-relative-strength</property>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
<text>
<x>380</x>
2012-04-26 10:03:51 +00:00
<y>320</y>
2011-03-19 13:03:28 +00:00
<label>dir.</label>
</text>
<slider>
<x>410</x>
2012-04-26 10:03:51 +00:00
<y>320</y>
2011-03-19 13:03:28 +00:00
<width>50</width>
<height>20</height>
<min>0.0</min>
<max>45.0</max>
<property>/local-weather/tmp/gust-angular-variation-deg</property>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
2010-04-12 21:29:37 +00:00
2010-06-04 21:05:32 +00:00
<text>
2010-08-03 06:18:14 +00:00
<x>5</x>
2012-04-26 10:03:51 +00:00
<y>290</y>
2010-08-03 06:18:14 +00:00
<label>wind model</label>
</text>
<combo>
<x>150</x>
2012-04-26 10:03:51 +00:00
<y>290</y>
2010-08-03 06:18:14 +00:00
<width>140</width>
<height>25</height>
<live>true</live>
<property>/local-weather/config/wind-model</property>
<value>constant</value>
<value>constant in tile</value>
<value>aloft interpolated</value>
<value>aloft waypoints</value>
<!-- <value>airmass interpolated</value> -->
2010-08-03 06:18:14 +00:00
<binding>
<command>dialog-apply</command>
</binding>
</combo>
<text>
<x>300</x>
2012-04-26 10:03:51 +00:00
<y>290</y>
<label>T offset (C)</label>
</text>
<input>
<x>390</x>
2012-04-26 10:03:51 +00:00
<y>290</y>
<width>50</width>
<height>25</height>
<property>/local-weather/config/temperature-offset-degc</property>
</input>
2010-08-03 06:18:14 +00:00
<text>
<x>5</x>
2012-04-26 10:03:51 +00:00
<y>260</y>
2010-06-04 21:05:32 +00:00
<label>tile selection mode</label>
2010-06-15 18:54:44 +00:00
</text>
2010-06-04 21:05:32 +00:00
<combo>
<x>150</x>
2012-04-26 10:03:51 +00:00
<y>260</y>
2010-06-04 21:05:32 +00:00
<width>140</width>
<height>25</height>
<live>true</live>
<property>/local-weather/tmp/tile-management</property>
<value>single tile</value>
<value>repeat tile</value>
<value>realistic weather</value>
2010-06-15 18:54:44 +00:00
<value>METAR</value>
2010-06-04 21:05:32 +00:00
<binding>
<command>dialog-apply</command>
</binding>
</combo>
2010-06-04 21:05:32 +00:00
<checkbox>
<x>10</x>
2012-04-26 10:03:51 +00:00
<y>230</y>
2010-06-04 21:05:32 +00:00
<width>15</width>
<height>15</height>
<label>debug output</label>
<property>/local-weather/config/debug-output-flag</property>
2010-06-04 21:05:32 +00:00
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<!--<checkbox>
2010-06-04 21:05:32 +00:00
<x>150</x>
<y>150</y>
2010-06-04 21:05:32 +00:00
<width>15</width>
<height>15</height>
<label>detailed clouds</label>
<property>/local-weather/config/detailed-clouds-flag</property>
2010-06-04 21:05:32 +00:00
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>-->
2010-06-04 21:05:32 +00:00
<!--<checkbox>
2010-06-04 21:05:32 +00:00
<x>10</x>
<y>125</y>
2010-06-04 21:05:32 +00:00
<width>15</width>
<height>15</height>
<label>dynamical weather</label>
<property>/local-weather/config/dynamics-flag</property>
2010-06-04 21:05:32 +00:00
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>-->
2010-06-04 21:05:32 +00:00
<!--<checkbox>
2010-06-04 21:05:32 +00:00
<x>150</x>
<y>125</y>
2010-06-04 21:05:32 +00:00
<width>15</width>
<height>15</height>
<label>dynamical convection</label>
<property>/local-weather/config/dynamical-convection-flag</property>
2010-06-04 21:05:32 +00:00
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>-->
2010-06-04 21:05:32 +00:00
2010-08-03 06:18:14 +00:00
<checkbox>
<x>150</x>
2012-04-26 10:03:51 +00:00
<y>230</y>
2010-08-03 06:18:14 +00:00
<width>15</width>
<height>15</height>
<label>terrain effects</label>
<property>/local-weather/config/detailed-terrain-interaction-flag</property>
2010-08-03 06:18:14 +00:00
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<checkbox>
<x>290</x>
2012-04-26 10:03:51 +00:00
<y>230</y>
<width>15</width>
<height>15</height>
<label>realistic visibility</label>
<property>/local-weather/config/realistic-visibility-flag</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
2011-09-23 21:22:19 +00:00
<checkbox>
<x>10</x>
2012-04-26 10:03:51 +00:00
<y>205</y>
2011-09-23 21:22:19 +00:00
<width>15</width>
<height>15</height>
<label>generate thermals</label>
<property>/local-weather/config/generate-thermal-lift-flag</property>
2011-09-23 21:22:19 +00:00
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<checkbox>
<x>150</x>
2012-04-26 10:03:51 +00:00
<y>205</y>
2011-09-23 21:22:19 +00:00
<width>15</width>
<height>15</height>
<label>terrain presampling</label>
<property>/local-weather/config/presampling-flag</property>
2011-09-23 21:22:19 +00:00
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
2010-06-15 18:54:44 +00:00
<text>
<x>5</x>
2012-04-26 10:03:51 +00:00
<y>175</y>
2010-06-15 18:54:44 +00:00
<label>Thermal properties:</label>
</text>
<text>
<x>160</x>
2012-04-26 10:03:51 +00:00
<y>175</y>
2010-06-15 18:54:44 +00:00
<label>rough day</label>
</text>
<slider>
<x>230</x>
2012-04-26 10:03:51 +00:00
<y>175</y>
2010-06-15 18:54:44 +00:00
<width>90</width>
<height>20</height>
<min>0.3</min>
<max>1.5</max>
<property>/local-weather/config/thermal-properties</property>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
<text>
<x>330</x>
2012-04-26 10:03:51 +00:00
<y>175</y>
2010-06-15 18:54:44 +00:00
<label>low convection</label>
</text>
<text>
<x>5</x>
2012-04-26 10:03:51 +00:00
<y>150</y>
<label>Ground haze:</label>
</text>
<text>
<x>160</x>
2012-04-26 10:03:51 +00:00
<y>150</y>
<label>thick</label>
</text>
<slider>
<x>230</x>
2012-04-26 10:03:51 +00:00
<y>150</y>
<width>90</width>
<height>20</height>
<min>0.1</min>
<max>1.0</max>
<property>/local-weather/config/ground-haze-factor</property>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
<text>
<x>330</x>
2012-04-26 10:03:51 +00:00
<y>150</y>
<label>thin</label>
</text>
2012-04-26 10:03:51 +00:00
<text>
<x>5</x>
<y>125</y>
<label>Air pollution:</label>
</text>
<text>
<x>160</x>
<y>125</y>
<label>clean</label>
</text>
<slider>
<x>230</x>
<y>125</y>
<width>90</width>
<height>20</height>
<min>0.0</min>
<max>1.0</max>
<property>/environment/air-pollution-norm</property>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
<text>
<x>330</x>
<y>125</y>
<label>smog</label>
</text>
<text>
<x>5</x>
<y>100</y>
<label>Max. visibility:</label>
</text>
<text>
<x>160</x>
<y>100</y>
2012-03-08 22:20:39 +00:00
<label>20 km</label>
</text>
<slider>
<x>230</x>
<y>100</y>
<width>90</width>
<height>20</height>
2012-03-08 22:20:39 +00:00
<min>9.90348</min>
<max>12.429216196</max>
<property>/local-weather/config/aux-max-vis-range-m</property>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
<text>
<x>330</x>
<y>100</y>
2012-03-08 22:20:39 +00:00
<label>250 km</label>
</text>
<text>
<x>380</x>
<y>100</y>
<label>12345678</label>
<format>%.fm</format>
<live>true</live>
<property>/local-weather/config/max-vis-range-m</property>
</text>
<text>
<x>5</x>
<y>75</y>
<label>Weather pattern scales</label>
</text>
<text>
<x>15</x>
<y>45</y>
<label>small</label>
</text>
<text>
<x>78</x>
<y>60</y>
<label>airmass</label>
</text>
<slider>
<x>60</x>
<y>45</y>
<width>100</width>
<height>20</height>
<min>0.5</min>
<max>2.0</max>
<property>/local-weather/config/large-scale-persistence</property>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
<text>
<x>165</x>
<y>45</y>
<label>large</label>
</text>
<text>
<x>205</x>
<y>45</y>
<label>small</label>
</text>
<text>
<x>257</x>
<y>60</y>
<label>cloud patterns</label>
</text>
<slider>
<x>250</x>
<y>45</y>
<width>100</width>
<height>20</height>
<min>0.0</min>
<max>1.0</max>
<property>/local-weather/config/small-scale-persistence</property>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
<text>
<x>355</x>
<y>45</y>
<label>large</label>
</text>
2010-04-12 20:46:07 +00:00
<group>
<x>10</x>
<y>10</y>
<button>
<x>0</x>
<y>0</y>
<legend>OK</legend>
2010-08-03 06:18:14 +00:00
<!--<default>true</default>-->
2010-04-12 20:46:07 +00:00
<equal>true</equal>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>nasal</command>
<script>local_weather.set_tile()</script>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
<button>
2012-04-26 10:03:51 +00:00
<x>40</x>
2010-04-12 20:46:07 +00:00
<y>0</y>
<legend>Clear / End</legend>
2010-08-03 06:18:14 +00:00
<!--<default>true</default>-->
2011-05-14 13:15:20 +00:00
<!--<equal>true</equal>-->
2010-04-12 20:46:07 +00:00
<binding>
<command>nasal</command>
<script>local_weather.clear_all()</script>
</binding>
</button>
<button>
2012-04-26 10:03:51 +00:00
<x>125</x>
2010-04-12 20:46:07 +00:00
<y>0</y>
<legend>Close</legend>
2011-05-14 13:15:20 +00:00
<!--<equal>true</equal>-->
2010-04-12 20:46:07 +00:00
<key>Esc</key>
<binding>
<command>dialog-close</command>
</binding>
</button>
<button>
2012-04-26 10:03:51 +00:00
<x>180</x>
2010-08-03 06:18:14 +00:00
<y>0</y>
2012-04-26 10:03:51 +00:00
<legend>Winds</legend>
2011-05-14 13:15:20 +00:00
<!--<equal>true</equal>-->
2010-08-03 06:18:14 +00:00
<binding>
<command>dialog-show</command>
<dialog-name>local_weather_winds</dialog-name>
</binding>
<binding>
<command>dialog-apply</command>
</binding>
</button>
2012-04-26 10:03:51 +00:00
<button>
<x>235</x>
<y>0</y>
<legend>Advanced</legend>
<!--<equal>true</equal>-->
<binding>
<command>dialog-show</command>
<dialog-name>local_weather_environment</dialog-name>
</binding>
<binding>
<command>dialog-apply</command>
</binding>
</button>
2010-08-03 06:18:14 +00:00
<button>
2012-04-26 10:03:51 +00:00
<x>330</x>
<y>0</y>
<legend>Basic Weather --></legend>
<default>false</default>
<binding>
<command>nasal</command>
<script>if (getprop("/nasal/local_weather/loaded",0)) local_weather.clear_all()</script>
</binding>
<binding>
<command>property-assign</command>
<property>/nasal/local_weather/enabled</property>
<value type="bool">false</value>
</binding>
<binding>
<command>dialog-show</command>
<dialog-name>weather</dialog-name>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
2010-04-12 20:46:07 +00:00
</group>
</PropertyList>