CVS: data/gui/dialogs local_weather.xml, 1.1, 1.2 local_weather_tiles.xml, 1.1, 1.2

Vivian Meazza <[email protected]> Mon, 12 Apr 2010 16:29:45 -0500
Newsgroups gmane.games.flightgear.cvc
Message-ID <[email protected]>
Update of /var/cvs/FlightGear-0.9/data/gui/dialogs
In directory baron.flightgear.org:/tmp/cvs-serv5246

Modified Files:
	local_weather.xml local_weather_tiles.xml 
Log Message:
Add layered clouds

Index: local_weather.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/gui/dialogs/local_weather.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- local_weather.xml	12 Apr 2010 20:46:07 -0000	1.1
+++ local_weather.xml	12 Apr 2010 21:29:37 -0000	1.2
@@ -74,6 +74,9 @@
    <value>Cirrus</value>
    <value>Cumulus</value>
    <value>Cumulonimbus</value>
+   <value>Nimbus</value>
+   <value>Stratus</value>
+   <value>Stratus (structured)</value>
    <binding>
     <command>dialog-apply</command>
    </binding>
@@ -233,7 +236,11 @@
    <value>Altocumulus</value>
    <value>Cirrus</value>
    <value>Cumulus</value>
-   <value>Cumuloniombus</value>
+   <value>Cumulonimbus</value>
+   <value>Cumulonimbus (rain)</value>
+   <value>Nimbus</value>
+   <value>Stratus</value>
+   <value>Stratus (structured)</value>
    <binding>
     <command>dialog-apply</command>
    </binding>
@@ -546,6 +553,203 @@
 
 
 
+
+
+
+
+
+<text>
+  <x>10</x>
+  <y>170</y>
+  <label>Place a cloud layer</label>
+ </text>
+
+<group>
+  <x>0</x>
+  <y>140</y>
+
+  <text>
+   <x>10</x>
+   <y>0</y>
+   <label>Type</label>
+  </text>
+
+  <text>
+   <x>130</x>
+   <y>0</y>
+   <label>rad. x (km)</label>
+  </text>
+
+  <text>
+   <x>203</x>
+   <y>0</y>
+   <label>rad. y (km) </label>
+  </text>
+
+  <text>
+   <x>276</x>
+   <y>0</y>
+   <label>dir (deg)</label>
+  </text>
+
+  <text>
+   <x>349</x>
+   <y>0</y>
+   <label>alt (ft)</label>
+  </text>
+
+  <text>
+   <x>422</x>
+   <y>0</y>
+   <label>thick. (ft)</label>
+  </text>
+
+  <text>
+   <x>495</x>
+   <y>0</y>
+   <label>density</label>
+  </text>
+
+  <text>
+   <x>568</x>
+   <y>0</y>
+   <label>edge</label>
+  </text>
+
+  <text>
+   <x>641</x>
+   <y>0</y>
+   <label>rain flag</label>
+  </text>
+
+<text>
+   <x>714</x>
+   <y>0</y>
+   <label>rain dens.</label>
+  </text>
+
+
+ </group>
+
+
+<group>
+  <x>0</x>
+  <y>110</y>
+
+ 
+<combo>
+   <x>10</x>
+   <y>0</y>
+   <width>117</width>
+   <height>25</height>
+   <live>true</live>
+   <property>/local-weather/tmp/layer-type</property>
+   <value>Altocumulus</value>
+   <value>Cirrus</value>
+   <value>Cumulus</value>
+   <value>Cumulonimbus</value>
+   <value>Nimbus</value>
+   <value>Stratus</value>
+   <value>Stratus (structured)</value>
+   <binding>
+    <command>dialog-apply</command>
+   </binding>
+  </combo>
+
+
+  <input>
+   <x>130</x>
+   <y>0</y>
+   <width>70</width>
+   <height>25</height>
+   <property>/local-weather/tmp/layer-rx</property>
+  </input>
+
+  <input>
+   <x>203</x>
+   <y>0</y>
+   <width>70</width>
+   <height>25</height>
+   <property>/local-weather/tmp/layer-ry</property>
+  </input>
+
+  <input>
+   <x>276</x>
+   <y>0</y>
+   <width>70</width>
+   <height>25</height>
+   <property>/local-weather/tmp/layer-phi</property>
+  </input>
+
+  <input>
+   <x>349</x>
+   <y>0</y>
+   <width>70</width>
+   <height>25</height>
+   <property>/local-weather/tmp/layer-alt</property>
+  </input>
+
+  <input>
+   <x>422</x>
+   <y>0</y>
+   <width>70</width>
+   <height>25</height>
+   <property>/local-weather/tmp/layer-thickness</property>
+  </input>
+
+  <input>
+   <x>495</x>
+   <y>0</y>
+   <width>70</width>
+   <height>25</height>
+   <property>/local-weather/tmp/layer-density</property>
+  </input>
+
+  <input>
+   <x>568</x>
+   <y>0</y>
+   <width>70</width>
+   <height>25</height>
+   <property>/local-weather/tmp/layer-edge</property>
+  </input>
+
+  <input>
+   <x>641</x>
+   <y>0</y>
+   <width>70</width>
+   <height>25</height>
+   <property>/local-weather/tmp/layer-rain-flag</property>
+  </input>
+
+ <input>
+   <x>714</x>
+   <y>0</y>
+   <width>70</width>
+   <height>25</height>
+   <property>/local-weather/tmp/layer-rain-density</property>
+  </input>
+
+
+ </group>
+
+<button>
+   <x>10</x>
+   <y>70</y>
+   <legend>Create</legend>
+   <default>true</default>
+   <equal>true</equal>
+   <binding>
+    <command>dialog-apply</command>
+   </binding>
+   <binding>
+     <command>nasal</command>
+     <script>local_weather.layer_wrapper()</script>
+   </binding>
+  </button>
+
+
+
+
  <!-- Button Box -->
 
  <group>
@@ -594,6 +798,17 @@
    </binding>
   </button>
 
+<!--<button>
+   <x>300</x>
+   <y>0</y>
+   <legend>Test</legend>
+   <equal>true</equal>
+   <binding>
+    <command>nasal</command>
+     <script>local_weather.test()</script>
+   </binding>
+  </button>-->
+
  </group>
 
 </PropertyList>

Index: local_weather_tiles.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/gui/dialogs/local_weather_tiles.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- local_weather_tiles.xml	12 Apr 2010 20:46:07 -0000	1.1
+++ local_weather_tiles.xml	12 Apr 2010 21:29:39 -0000	1.2
@@ -20,17 +20,51 @@
 <combo>
    <x>10</x>
    <y>220</y>
-   <width>200</width>
+   <width>280</width>
    <height>25</height>
    <live>true</live>
    <property>/local-weather/tmp/tile-type</property>
    <value>Altocumulus sky</value>
-   <value>Cold front</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>


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev