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

343 lines
5.7 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<!-- Control the weather -->
<name>clouds</name>
<width>600</width>
<height>280</height>
<modal>false</modal>
<text>
<x>10</x>
<y>250</y>
<label>Weather: Clouds</label>
</text>
<!-- Header Row -->
<group>
<x>0</x>
<y>210</y>
<text>
<x>10</x>
<y>0</y>
<label>Layer</label>
</text>
<text>
<x>75</x>
<y>0</y>
<label>Elevation (ft)</label>
</text>
<text>
<x>225</x>
<y>0</y>
<label>Coverage</label>
</text>
<text>
<x>450</x>
<y>0</y>
<label>Thickness (ft)</label>
</text>
</group>
<!-- Data Rows -->
<group>
<x>0</x>
<y>180</y>
<text>
<x>10</x>
<y>0</y>
<label>4</label>
</text>
<input>
<x>75</x>
<y>0</y>
<width>125</width>
<height>25</height>
<live>true</live>
<property>/environment/clouds/layer[4]/elevation-ft</property>
</input>
<combo>
<x>225</x>
<y>0</y>
<width>200</width>
<height>25</height>
<live>true</live>
<property>/environment/clouds/layer[4]/coverage</property>
<value>clear</value>
<value>few</value>
<value>scattered</value>
<value>broken</value>
<value>overcast</value>
<value>cirrus</value>
</combo>
<input>
<x>450</x>
<y>0</y>
<width>125</width>
<height>25</height>
<live>true</live>
<property>/environment/clouds/layer[4]/thickness-ft</property>
</input>
</group>
<group>
<x>0</x>
<y>150</y>
<text>
<x>10</x>
<y>0</y>
<label>3</label>
</text>
<input>
<x>75</x>
<y>0</y>
<width>125</width>
<height>25</height>
<live>true</live>
<property>/environment/clouds/layer[3]/elevation-ft</property>
</input>
<combo>
<x>225</x>
<y>0</y>
<width>200</width>
<height>25</height>
<live>true</live>
<property>/environment/clouds/layer[3]/coverage</property>
<value>clear</value>
<value>few</value>
<value>scattered</value>
<value>broken</value>
<value>overcast</value>
<value>cirrus</value>
</combo>
<input>
<x>450</x>
<y>0</y>
<width>125</width>
<height>25</height>
<live>true</live>
<property>/environment/clouds/layer[3]/thickness-ft</property>
</input>
</group>
<group>
<x>0</x>
<y>120</y>
<text>
<x>10</x>
<y>0</y>
<label>2</label>
</text>
<input>
<x>75</x>
<y>0</y>
<width>125</width>
<height>25</height>
<live>true</live>
<property>/environment/clouds/layer[2]/elevation-ft</property>
</input>
<combo>
<x>225</x>
<y>0</y>
<width>200</width>
<height>25</height>
<live>true</live>
<property>/environment/clouds/layer[2]/coverage</property>
<value>clear</value>
<value>few</value>
<value>scattered</value>
<value>broken</value>
<value>overcast</value>
<value>cirrus</value>
</combo>
<input>
<x>450</x>
<y>0</y>
<width>125</width>
<height>25</height>
<live>true</live>
<property>/environment/clouds/layer[2]/thickness-ft</property>
</input>
</group>
<group>
<x>0</x>
<y>90</y>
<text>
<x>10</x>
<y>0</y>
<label>1</label>
</text>
<input>
<x>75</x>
<y>0</y>
<width>125</width>
<height>25</height>
<live>true</live>
<property>/environment/clouds/layer[1]/elevation-ft</property>
</input>
<combo>
<x>225</x>
<y>0</y>
<width>200</width>
<height>25</height>
<live>true</live>
<property>/environment/clouds/layer[1]/coverage</property>
<value>clear</value>
<value>few</value>
<value>scattered</value>
<value>broken</value>
<value>overcast</value>
<value>cirrus</value>
</combo>
<input>
<x>450</x>
<y>0</y>
<width>125</width>
<height>25</height>
<live>true</live>
<property>/environment/clouds/layer[1]/thickness-ft</property>
</input>
</group>
<group>
<x>0</x>
<y>60</y>
<text>
<x>10</x>
<y>0</y>
<label>0</label>
</text>
<input>
<x>75</x>
<y>0</y>
<width>125</width>
<height>25</height>
<live>true</live>
<property>/environment/clouds/layer[0]/elevation-ft</property>
</input>
<combo>
<x>225</x>
<y>0</y>
<width>200</width>
<height>25</height>
<live>true</live>
<property>/environment/clouds/layer[0]/coverage</property>
<value>clear</value>
<value>few</value>
<value>scattered</value>
<value>broken</value>
<value>overcast</value>
<value>cirrus</value>
</combo>
<input>
<x>450</x>
<y>0</y>
<width>125</width>
<height>25</height>
<live>true</live>
<property>/environment/clouds/layer[0]/thickness-ft</property>
</input>
</group>
<!-- Button Box -->
<group>
<x>105</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>
setprop("/environment/rebuild-layers", getprop("/environment/rebuild-layers")+1);
</script>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
<button>
<x>100</x>
<y>0</y>
<legend>Apply</legend>
<equal>true</equal>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>nasal</command>
<script>
setprop("/environment/rebuild-layers", getprop("/environment/rebuild-layers")+1);
</script>
</binding>
</button>
<button>
<x>200</x>
<y>0</y>
<legend>Reset</legend>
<equal>true</equal>
<binding>
<command>dialog-update</command>
</binding>
</button>
<button>
<x>300</x>
<y>0</y>
<legend>Cancel</legend>
<equal>true</equal>
<key>Esc</key>
<binding>
<command>dialog-close</command>
</binding>
</button>
</group>
</PropertyList>