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

320 lines
5.7 KiB
XML
Raw Normal View History

2003-01-18 17:28:52 +00:00
<?xml version="1.0"?>
<PropertyList>
<name>clouds</name>
2009-07-11 20:04:31 +00:00
<layout>vbox</layout>
2003-01-18 17:28:52 +00:00
<text>
2009-07-11 20:04:31 +00:00
<label>Weather - Clouds</label>
2003-01-18 17:28:52 +00:00
</text>
2009-07-11 20:04:31 +00:00
<hrule/>
2009-07-11 20:19:48 +00:00
<nasal>
<open>
var rebuild = func {
var p = "/environment/rebuild-layers";
setprop(p, getprop(p) + 1);
}
</open>
</nasal>
<!-- Header Row -->
2003-01-18 17:28:52 +00:00
<group>
2009-07-11 20:04:31 +00:00
<layout>table</layout>
<padding>7</padding>
2003-01-18 17:28:52 +00:00
<text>
<label>Layer</label>
2009-07-11 20:04:31 +00:00
<row>0</row>
<col>0</col>
</text>
2003-01-18 17:28:52 +00:00
<text>
<label>Elevation (ft)</label>
2009-07-11 20:04:31 +00:00
<row>0</row>
<col>1</col>
</text>
2003-01-18 17:28:52 +00:00
<text>
<label>Coverage</label>
2009-07-11 20:04:31 +00:00
<row>0</row>
<col>2</col>
<width>80</width>
</text>
2003-01-18 17:28:52 +00:00
<text>
<label>Thickness (ft)</label>
2009-07-11 20:04:31 +00:00
<row>0</row>
<col>3</col>
</text>
2003-01-18 17:28:52 +00:00
2009-07-11 20:04:31 +00:00
<!-- Layer 4 -->
2003-01-18 17:28:52 +00:00
<text>
<label>4</label>
2009-07-11 20:04:31 +00:00
<row>1</row>
<col>0</col>
</text>
<input>
2009-07-11 20:04:31 +00:00
<row>1</row>
<col>1</col>
<live>true</live>
<property>/environment/clouds/layer[4]/elevation-ft</property>
2009-07-11 20:04:31 +00:00
<binding>
<command>dialog-apply</command>
</binding>
</input>
<combo>
2009-07-11 20:04:31 +00:00
<row>1</row>
<col>2</col>
<pref-width>100</pref-width>
<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>
2009-07-11 20:04:31 +00:00
<binding>
<command>dialog-apply</command>
</binding>
2009-07-11 20:19:48 +00:00
<binding>
<command>nasal</command>
<script>rebuild()</script>
</binding>
</combo>
<input>
2009-07-11 20:04:31 +00:00
<row>1</row>
<col>3</col>
<live>true</live>
<property>/environment/clouds/layer[4]/thickness-ft</property>
2009-07-11 20:04:31 +00:00
<binding>
<command>dialog-apply</command>
</binding>
</input>
2009-07-11 20:04:31 +00:00
<!-- Layer 3 -->
2003-01-18 17:28:52 +00:00
<text>
<label>3</label>
2009-07-11 20:04:31 +00:00
<row>2</row>
<col>0</col>
</text>
<input>
2009-07-11 20:04:31 +00:00
<row>2</row>
<col>1</col>
<live>true</live>
<property>/environment/clouds/layer[3]/elevation-ft</property>
2009-07-11 20:04:31 +00:00
<binding>
<command>dialog-apply</command>
</binding>
</input>
<combo>
2009-07-11 20:04:31 +00:00
<row>2</row>
<col>2</col>
<pref-width>100</pref-width>
<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>
2009-07-11 20:04:31 +00:00
<binding>
<command>dialog-apply</command>
</binding>
2009-07-11 20:19:48 +00:00
<binding>
<command>nasal</command>
<script>rebuild()</script>
</binding>
</combo>
<input>
2009-07-11 20:04:31 +00:00
<row>2</row>
<col>3</col>
<live>true</live>
<property>/environment/clouds/layer[3]/thickness-ft</property>
2009-07-11 20:04:31 +00:00
<binding>
<command>dialog-apply</command>
</binding>
</input>
2009-07-11 20:04:31 +00:00
<!-- Layer 2 -->
2003-01-18 17:28:52 +00:00
<text>
<label>2</label>
2009-07-11 20:04:31 +00:00
<row>3</row>
<col>0</col>
</text>
<input>
2009-07-11 20:04:31 +00:00
<row>3</row>
<col>1</col>
<live>true</live>
<property>/environment/clouds/layer[2]/elevation-ft</property>
2009-07-11 20:04:31 +00:00
<binding>
<command>dialog-apply</command>
</binding>
</input>
<combo>
2009-07-11 20:04:31 +00:00
<row>3</row>
<col>2</col>
<pref-width>100</pref-width>
<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>
2009-07-11 20:04:31 +00:00
<binding>
<command>dialog-apply</command>
</binding>
2009-07-11 20:19:48 +00:00
<binding>
<command>nasal</command>
<script>rebuild()</script>
</binding>
</combo>
<input>
2009-07-11 20:04:31 +00:00
<row>3</row>
<col>3</col>
<live>true</live>
<property>/environment/clouds/layer[2]/thickness-ft</property>
2009-07-11 20:04:31 +00:00
<binding>
<command>dialog-apply</command>
</binding>
</input>
2009-07-11 20:04:31 +00:00
<!-- Layer 1 -->
2003-01-18 17:28:52 +00:00
<text>
<label>1</label>
2009-07-11 20:04:31 +00:00
<row>4</row>
<col>0</col>
</text>
<input>
2009-07-11 20:04:31 +00:00
<row>4</row>
<col>1</col>
<live>true</live>
<property>/environment/clouds/layer[1]/elevation-ft</property>
2009-07-11 20:04:31 +00:00
<binding>
<command>dialog-apply</command>
</binding>
</input>
<combo>
2009-07-11 20:04:31 +00:00
<row>4</row>
<col>2</col>
<pref-width>100</pref-width>
<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>
2009-07-11 20:04:31 +00:00
<binding>
<command>dialog-apply</command>
</binding>
2009-07-11 20:19:48 +00:00
<binding>
<command>nasal</command>
<script>rebuild()</script>
</binding>
</combo>
<input>
2009-07-11 20:04:31 +00:00
<row>4</row>
<col>3</col>
<live>true</live>
<property>/environment/clouds/layer[1]/thickness-ft</property>
2009-07-11 20:04:31 +00:00
<binding>
<command>dialog-apply</command>
</binding>
</input>
2009-07-11 20:04:31 +00:00
<!-- Layer 0 -->
2003-01-18 17:28:52 +00:00
<text>
<label>0</label>
2009-07-11 20:04:31 +00:00
<row>5</row>
<col>0</col>
</text>
<input>
2009-07-11 20:04:31 +00:00
<row>5</row>
<col>1</col>
<live>true</live>
<property>/environment/clouds/layer[0]/elevation-ft</property>
2009-07-11 20:04:31 +00:00
<binding>
<command>dialog-apply</command>
</binding>
</input>
<combo>
2009-07-11 20:04:31 +00:00
<row>5</row>
<col>2</col>
<pref-width>100</pref-width>
<live>true</live>
2009-07-11 20:19:48 +00:00
<editable>false</editable>
<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>
2009-07-11 20:04:31 +00:00
<binding>
<command>dialog-apply</command>
</binding>
2009-07-11 20:19:48 +00:00
<binding>
<command>nasal</command>
<script>rebuild()</script>
</binding>
</combo>
<input>
2009-07-11 20:04:31 +00:00
<row>5</row>
<col>3</col>
<live>true</live>
<property>/environment/clouds/layer[0]/thickness-ft</property>
2009-07-11 20:04:31 +00:00
<binding>
<command>dialog-apply</command>
</binding>
</input>
</group>
2009-07-11 20:04:31 +00:00
<!-- Buttons -->
2009-07-11 20:04:31 +00:00
<button>
<legend>Close</legend>
<default>true</default>
<binding>
<command>dialog-close</command>
</binding>
</button>
2003-01-18 17:28:52 +00:00
</PropertyList>