1
0
Fork 0
fgdata/gui/dialogs/local_weather_tiles.xml
2010-04-12 21:29:37 +00:00

117 lines
2 KiB
XML

<?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>
<width>280</width>
<height>25</height>
<live>true</live>
<property>/local-weather/tmp/tile-type</property>
<value>Altocumulus sky</value>
<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>
<binding>
<command>dialog-apply</command>
</binding>
</combo>
<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>
<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>