<?xml version="1.0"?>

<PropertyList>

 <!-- Weather tiles -->

 <name>local_weather_tiles</name>
 <width>310</width>
 <height>330</height>
 <modal>false</modal>


<text>
  <x>5</x>
  <y>300</y>
  <label>Select initial weather scenario tile</label>
</text>


<combo>
   <x>10</x>
   <y>275</y>
   <width>280</width>
   <height>25</height>
   <live>true</live>
   <property>/local-weather/tmp/tile-type</property>
   <value>High-pressure-core</value>
   <value>High-pressure</value>
   <value>High-pressure-border</value>
   <value>Low-pressure-border</value>
   <value>Low-pressure</value>
   <value>Low-pressure-core</value>
   <value>Cold-sector</value>
   <value>Warm-sector</value>
   <value>Coldfront</value>
   <value>Warmfront</value>
   <value>Tropical</value>
   <value>---</value>
   <value>Glider's sky</value>
   <value>Blue thermals</value>
   <!--<value>Test tile</value>-->
   <binding>
    <command>dialog-apply</command>
   </binding>
  </combo>

 <text>
   <x>5</x>
   <y>240</y>
   <label>wind deg</label>
  </text>

 <input>
   <x>67</x>
   <y>240</y>
   <width>40</width>
   <height>25</height>
   <property>/local-weather/tmp/tile-orientation-deg</property>
  </input>

 <text>
   <x>105</x>
   <y>240</y>
   <label>kt</label>
  </text>

<input>
   <x>125</x>
   <y>240</y>
   <width>30</width>
   <height>25</height>
   <property>/local-weather/tmp/windspeed-kt</property>
  </input>

 <text>
   <x>155</x>
   <y>240</y>
   <label>alt. offset (ft)</label>
  </text>

<input>
   <x>240</x>
   <y>240</y>
   <width>50</width>
   <height>25</height>
   <property>/local-weather/tmp/tile-alt-offset-ft</property>
  </input>

<text>
   <x>5</x>
   <y>210</y>
   <label>wind model</label>
  </text>


<combo>
   <x>150</x>
   <y>210</y>
   <width>140</width>
   <height>25</height>
   <live>true</live>
   <property>/local-weather/config/wind-model</property>
   <value>constant</value>
   <value>constant in tile</value>
   <value>aloft interpolated</value>
   <value>aloft waypoints</value>
   <!--<value>airmass interpolated</value>-->
   <binding>
    <command>dialog-apply</command>
   </binding>
  </combo>


<text>
   <x>5</x>
   <y>180</y>
   <label>tile selection mode</label>
</text>

<combo>
   <x>150</x>
   <y>180</y>
   <width>140</width>
   <height>25</height>
   <live>true</live>
   <property>/local-weather/tmp/tile-management</property>
   <value>single tile</value>
   <value>repeat tile</value>
   <value>realistic weather</value>
   <value>METAR</value>
   <binding>
    <command>dialog-apply</command>
   </binding>
  </combo>

<checkbox>
   <x>10</x>
   <y>150</y>
   <width>15</width>
   <height>15</height>
   <label>terrain presampling</label>
   <property>/local-weather/tmp/presampling-flag</property>
   <binding>
    <command>dialog-apply</command>
   </binding>
</checkbox>

<checkbox>
   <x>150</x>
   <y>150</y>
   <width>15</width>
   <height>15</height>
   <label>worker threads</label>
   <property>/local-weather/tmp/thread-flag</property>
   <binding>
    <command>dialog-apply</command>
   </binding>
</checkbox>

<checkbox>
   <x>10</x>
   <y>125</y>
   <width>15</width>
   <height>15</height>
   <label>asymmetric range</label>
   <property>/local-weather/tmp/asymmetric-tile-loading-flag</property>
   <binding>
    <command>dialog-apply</command>
   </binding>
</checkbox>

<checkbox>
   <x>150</x>
   <y>125</y>
   <width>15</width>
   <height>15</height>
   <label>detailed clouds</label>
   <property>/local-weather/config/detailed-clouds-flag</property>
   <binding>
    <command>dialog-apply</command>
   </binding>
</checkbox>

<checkbox>
   <x>10</x>
   <y>100</y>
   <width>15</width>
   <height>15</height>
   <label>dynamical weather</label>
   <property>/local-weather/config/dynamics-flag</property>
   <binding>
    <command>dialog-apply</command>
   </binding>
</checkbox>

<text>
   <x>10</x>
   <y>75</y>
   <label>Thermal properties:</label>
</text>

<text>
   <x>10</x>
   <y>50</y>
   <label>rough day</label>
</text>

<slider>
   <x>80</x>
   <y>50</y>
   <width>90</width>
   <height>20</height>
   <min>0.3</min>
   <max>1.5</max>
   <property>/local-weather/config/thermal-properties</property>
   <binding>
     <command>dialog-apply</command>
   </binding>
</slider>

<text>
   <x>180</x>
   <y>50</y>
   <label>low convection</label>
</text>

<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>45</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>135</x>
   <y>0</y>
   <legend>Cancel</legend>
   <equal>true</equal>
   <key>Esc</key>
   <binding>
    <command>dialog-close</command>
   </binding>
  </button>

<button>
   <x>200</x>
   <y>0</y>
   <legend>Show winds</legend>
   <equal>true</equal>
   <binding>
    <command>dialog-show</command>
   <dialog-name>local_weather_winds</dialog-name>
   </binding>
   <binding>
     <command>dialog-apply</command>
   </binding>
  </button>

 </group>


</PropertyList>