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

118 lines
2 KiB
XML
Raw Normal View History

2010-04-12 20:46:07 +00:00
<?xml version="1.0"?>
<PropertyList>
<!-- Cloud placement methods -->
<name>local_weather_tiles</name>
<width>300</width>
<height>300</height>
<modal>false</modal>
<text>
<x>10</x>
<y>270</y>
<label>Select a weather scenario tile</label>
</text>
<combo>
<x>10</x>
<y>220</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>
<value>Altocumulus sky</value>
2010-04-12 21:29:37 +00:00
<value>Broken layers</value>
<value>Cirrus sky</value>
<value>Fair weather</value>
<value>Glider's sky</value>
<value>Incoming rainfront</value>
<value>Overcast stratus sky</value>
<value>Summer rain</value>
2010-04-12 20:46:07 +00:00
<binding>
<command>dialog-apply</command>
</binding>
</combo>
2010-04-12 21:29:37 +00:00
<text>
<x>10</x>
<y>170</y>
<label>orientation (deg)</label>
</text>
<input>
<x>120</x>
<y>170</y>
<width>50</width>
<height>25</height>
<property>/local-weather/tmp/tile-orientation-deg</property>
</input>
<text>
<x>170</x>
<y>170</y>
<label>alt. offset (ft)</label>
</text>
<input>
<x>250</x>
<y>170</y>
<width>40</width>
<height>25</height>
<property>/local-weather/tmp/tile-alt-offset-ft</property>
</input>
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>
<default>true</default>
<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>
<x>80</x>
<y>0</y>
<legend>Clear clouds</legend>
<default>true</default>
<equal>true</equal>
<binding>
<command>nasal</command>
<script>local_weather.clear_all()</script>
</binding>
</button>
<button>
<x>200</x>
<y>0</y>
<legend>Cancel</legend>
<equal>true</equal>
<key>Esc</key>
<binding>
<command>dialog-close</command>
</binding>
</button>
</group>
</PropertyList>