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

77 lines
1.6 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<PropertyList>
<name>weather_scenario</name>
<modal>false</modal>
<layout>vbox</layout>
<text>
<label>Weather Scenario</label>
</text>
<hrule><dummy/></hrule>
<text>
<label></label>
</text>
<group>
<layout>hbox</layout>
<text>
<label>Weather source</label>
<halign>left</halign>
</text>
<combo>
<pref-width>200</pref-width>
<property>/environment/weather-scenario</property>
<value>Fair weather</value>
<value>Thunderstorm</value>
<value>METAR</value>
<value>none</value>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>nasal</command>
<script>
setprop("/environment/rebuild_layers", getprop("/environment/rebuild_layers")+1);
</script>
</binding>
</combo>
</group>
<text><label>Last metar used</label></text>
<textbox>
<pref-width>400</pref-width>
<pref-height>120</pref-height>
<slider>12</slider>
<live>true</live>
<wrap>true</wrap>
<editable>false</editable>
<property>/environment/metar/last-metar</property>
</textbox>
<text>
<label></label>
</text>
<group>
<layout>hbox</layout>
<empty><stretch>true</stretch></empty>
<button>
<legend>Close</legend>
<default>true</default>
<key>Esc</key>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
<empty><stretch>true</stretch></empty>
</group>
</PropertyList>