1
0
Fork 0

GUI Cleanup from Michael HABARTA. Part 3/3

This commit is contained in:
Stuart Buchanan 2015-05-03 17:13:50 +01:00
parent 12166b2ecd
commit b4d16682ce
23 changed files with 3302 additions and 2782 deletions

View file

@ -1111,7 +1111,7 @@ var dialog = {
var titlebar = me.dialog.addChild("group"); var titlebar = me.dialog.addChild("group");
titlebar.set("layout", "hbox"); titlebar.set("layout", "hbox");
titlebar.addChild("empty").set("stretch", 1); titlebar.addChild("empty").set("stretch", 1);
titlebar.addChild("text").set("label", "Wildfire settings"); titlebar.addChild("text").set("label", "Wildfire Settings");
titlebar.addChild("empty").set("stretch", 1); titlebar.addChild("empty").set("stretch", 1);
var w = titlebar.addChild("button"); var w = titlebar.addChild("button");
w.set("pref-width", 16); w.set("pref-width", 16);

View file

@ -188,7 +188,7 @@ var updateConfig = func() {
<text> <text>
<halign>left</halign> <halign>left</halign>
<label>To configure your joystick/yoke/pedals:</label> <label> To configure your joystick/yoke/pedals:</label>
</text> </text>
<text> <text>
@ -218,7 +218,7 @@ var updateConfig = func() {
<text> <text>
<halign>left</halign> <halign>left</halign>
<label>Your modified joystick configuration is saved automatically. You can reset the configuration to the default by pressing Reset Configuration.</label> <label> Your modified joystick configuration is saved automatically. You can reset the configuration to the default by pressing Reset Configuration. </label>
</text> </text>
<hrule/> <hrule/>
@ -291,7 +291,7 @@ var updateConfig = func() {
<row>1</row> <row>1</row>
<col>0</col> <col>0</col>
<halign>right</halign> <halign>right</halign>
<label>Configuration File:</label> <label> Configuration File:</label>
</text> </text>
<text> <text>

View file

@ -38,6 +38,14 @@
<hrule/> <hrule/>
<group>
<layout>hbox</layout>
<!-- gap -->
<text>
<label></label>
</text>
<group> <group>
<layout>vbox</layout> <layout>vbox</layout>
@ -53,7 +61,7 @@
<row>0</row> <row>0</row>
<col>0</col> <col>0</col>
<halign>right</halign> <halign>right</halign>
<label>Tile selection mode</label> <label>Tile Selection Mode</label>
</text> </text>
<combo> <combo>
@ -72,13 +80,11 @@
</binding> </binding>
</combo> </combo>
<text> <text>
<row>1</row> <row>1</row>
<col>0</col> <col>0</col>
<halign>right</halign> <halign>right</halign>
<label>Altitude offset (ft)</label> <label>Altitude Offset (ft)</label>
</text> </text>
<input> <input>
@ -92,7 +98,7 @@
<row>2</row> <row>2</row>
<col>0</col> <col>0</col>
<halign>right</halign> <halign>right</halign>
<label>Temperature offset (C)</label> <label>Temperature Offset (C)</label>
</text> </text>
<input> <input>
@ -106,7 +112,7 @@
<row>3</row> <row>3</row>
<col>0</col> <col>0</col>
<halign>left</halign> <halign>left</halign>
<label>debug output</label> <label>Debug Output</label>
<property>/local-weather/config/debug-output-flag</property> <property>/local-weather/config/debug-output-flag</property>
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>
@ -117,7 +123,7 @@
<row>3</row> <row>3</row>
<col>1</col> <col>1</col>
<halign>left</halign> <halign>left</halign>
<label>terrain effects</label> <label>Terrain Effects</label>
<property>/local-weather/config/detailed-terrain-interaction-flag</property> <property>/local-weather/config/detailed-terrain-interaction-flag</property>
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>
@ -128,24 +134,36 @@
<row>3</row> <row>3</row>
<col>2</col> <col>2</col>
<halign>left</halign> <halign>left</halign>
<label>terrain presampling</label> <label>Terrain Presampling</label>
<property>/local-weather/config/presampling-flag</property> <property>/local-weather/config/presampling-flag</property>
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>
</binding> </binding>
</checkbox> </checkbox>
</group>
</group>
<empty>
<stretch>true</stretch>
</empty>
</group> </group>
<hrule/> <hrule/>
<text> <group>
<halign>left</halign> <layout>hbox</layout>
<label>Wind Settings</label>
</text>
<group> <group>
<layout>vbox</layout> <layout>vbox</layout>
<text>
<halign>left</halign>
<label> Wind Settings</label>
</text>
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
@ -175,7 +193,6 @@
<label>kts</label> <label>kts</label>
</text> </text>
<empty> <empty>
<stretch>true</stretch> <stretch>true</stretch>
</empty> </empty>
@ -189,7 +206,7 @@
<row>0</row> <row>0</row>
<col>0</col> <col>0</col>
<halign>right</halign> <halign>right</halign>
<label>Gust frequency (Hz)</label> <label>Gust Frequency (Hz)</label>
</text> </text>
<slider> <slider>
@ -218,7 +235,7 @@
<row>1</row> <row>1</row>
<col>0</col> <col>0</col>
<halign>right</halign> <halign>right</halign>
<label>Gust factor</label> <label>Gust Factor</label>
</text> </text>
<slider> <slider>
@ -247,7 +264,7 @@
<row>2</row> <row>2</row>
<col>0</col> <col>0</col>
<halign>right</halign> <halign>right</halign>
<label>Gust direction variation</label> <label> Gust Direction Variation</label>
</text> </text>
<slider> <slider>
@ -276,7 +293,7 @@
<row>3</row> <row>3</row>
<col>0</col> <col>0</col>
<halign>right</halign> <halign>right</halign>
<label>Wind model</label> <label>Wind Model</label>
</text> </text>
<combo> <combo>
@ -297,61 +314,72 @@
</group> </group>
</group> </group>
<!-- gap -->
<text>
<label> </label>
</text>
</group>
<hrule/> <hrule/>
<group>
<layout>hbox</layout>
<group>
<layout>vbox</layout>
<text> <text>
<halign>left</halign> <halign>left</halign>
<label>Thermic and Visibility Settings</label> <label> Thermic and Visibility Settings</label>
</text>
<group>
<layout>hbox</layout>
<!-- gap -->
<text>
<label></label>
</text> </text>
<group> <group>
<layout>table</layout> <layout>table</layout>
<!-- gap -->
<text> <text>
<row>0</row> <row>0</row>
<col>0</col> <col>0</col>
<halign>right</halign> <pref-width>5</pref-width>
<label>Generate thermals</label> <label></label>
</text> </text>
<checkbox> <checkbox>
<row>0</row> <row>0</row>
<col>2</col> <col>1</col>
<halign>left</halign> <halign>left</halign>
<property>/local-weather/config/generate-thermal-lift-flag</property> <property>/local-weather/config/generate-thermal-lift-flag</property>
<label> Generate Thermals </label>
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>
</binding> </binding>
</checkbox> </checkbox>
<text>
<row>0</row>
<col>3</col>
<halign>right</halign>
<label>Realistic visibility</label>
</text>
<checkbox> <checkbox>
<row>0</row> <row>0</row>
<col>4</col> <col>2</col>
<halign>left</halign> <halign>left</halign>
<label> Realistic Visibility</label>
<property>/local-weather/config/realistic-visibility-flag</property> <property>/local-weather/config/realistic-visibility-flag</property>
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>
</binding> </binding>
</checkbox> </checkbox>
<text>
<row>1</row>
<col>0</col>
<halign>right</halign>
<label>Cloud shadows </label>
</text>
<checkbox> <checkbox>
<row>1</row> <row>1</row>
<col>2</col> <col>1</col>
<halign>left</halign> <halign>left</halign>
<label> Cloud Shadows </label>
<property>/local-weather/config/generate-cloud-shadows</property> <property>/local-weather/config/generate-cloud-shadows</property>
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>
@ -360,16 +388,32 @@
<text> <text>
<row>1</row> <row>1</row>
<col>3</col> <col>2</col>
<halign>right</halign> <halign>right</halign>
<label>(needs ALS shaders)</label> <label> (needs ALS shaders)</label>
</text> </text>
<!-- gap -->
<text>
<row>1</row>
<col>3</col>
<label> </label>
</text>
</group>
</group>
<empty><stretch>1</stretch></empty>
<group>
<layout>table</layout>
<text> <text>
<row>2</row> <row>2</row>
<col>0</col> <col>0</col>
<halign>right</halign> <halign>right</halign>
<label>Convective conditions</label> <label> Convective Conditions:</label>
</text> </text>
<text> <text>
@ -401,7 +445,7 @@
<row>3</row> <row>3</row>
<col>0</col> <col>0</col>
<halign>right</halign> <halign>right</halign>
<label>Ground haze</label> <label>Ground Haze:</label>
</text> </text>
<text> <text>
@ -433,7 +477,7 @@
<row>4</row> <row>4</row>
<col>0</col> <col>0</col>
<halign>right</halign> <halign>right</halign>
<label>Air pollution</label> <label>Air Pollution:</label>
</text> </text>
<text> <text>
@ -465,7 +509,7 @@
<row>5</row> <row>5</row>
<col>0</col> <col>0</col>
<halign>right</halign> <halign>right</halign>
<label>Fog properties</label> <label>Fog Properties:</label>
</text> </text>
<text> <text>
@ -503,7 +547,7 @@
<value>0</value> <value>0</value>
</equals> </equals>
</enable>--> </enable>-->
<label>Max. visibility</label> <label>Max. Visibility:</label>
</text> </text>
<text> <text>
@ -534,13 +578,6 @@
<row>6</row> <row>6</row>
<col>3</col> <col>3</col>
<halign>left</halign> <halign>left</halign>
<label>250 km</label>
</text>
<text>
<row>6</row>
<col>4</col>
<halign>left</halign>
<!--<enable> <!--<enable>
<equals> <equals>
<property>/local-weather/config/realistic-visibility-flag</property> <property>/local-weather/config/realistic-visibility-flag</property>
@ -548,14 +585,31 @@
</equals> </equals>
</enable>--> </enable>-->
<label>12345678</label> <label>12345678</label>
<format>%.fm</format> <format>250 km %.fm</format>
<live>true</live> <live>true</live>
<property>/local-weather/config/max-vis-range-m</property> <property>/local-weather/config/max-vis-range-m</property>
</text> </text>
</group> </group>
</group>
<!-- gap -->
<text>
<label> </label>
</text>
</group>
<hrule/> <hrule/>
<group>
<layout>hbox</layout>
<!-- gap -->
<text>
<label></label>
</text>
<group> <group>
<layout>vbox</layout> <layout>vbox</layout>
@ -570,28 +624,34 @@
<text> <text>
<row>0</row> <row>0</row>
<col>1</col> <col>0</col>
<label> </label>
</text>
<text>
<row>0</row>
<col>2</col>
<halign>left</halign> <halign>left</halign>
<label>small</label> <label>small</label>
</text> </text>
<text> <text>
<row>0</row> <row>0</row>
<col>2</col> <col>3</col>
<halign>right</halign> <halign>right</halign>
<label>large</label> <label>large</label>
</text> </text>
<text> <text>
<row>1</row> <row>1</row>
<col>0</col> <col>1</col>
<halign>right</halign> <halign>right</halign>
<label>Airmass</label> <label>Airmass</label>
</text> </text>
<slider> <slider>
<row>1</row> <row>1</row>
<col>1</col> <col>2</col>
<colspan>2</colspan> <colspan>2</colspan>
<halign>fill</halign> <halign>fill</halign>
<min>0.5</min> <min>0.5</min>
@ -604,14 +664,14 @@
<text> <text>
<row>2</row> <row>2</row>
<col>0</col> <col>1</col>
<halign>right</halign> <halign>right</halign>
<label>Cloud patterns</label> <label> Cloud Patterns</label>
</text> </text>
<slider> <slider>
<row>2</row> <row>2</row>
<col>1</col> <col>2</col>
<colspan>2</colspan> <colspan>2</colspan>
<halign>fill</halign> <halign>fill</halign>
<min>0.0</min> <min>0.0</min>
@ -623,6 +683,11 @@
</slider> </slider>
</group> </group>
</group> </group>
<empty>
<stretch>true</stretch>
</empty>
</group> </group>
<hrule/> <hrule/>
@ -635,7 +700,7 @@
</empty> </empty>
<button> <button>
<legend>OK</legend> <legend> OK </legend>
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>
</binding> </binding>
@ -654,7 +719,7 @@
</button> </button>
<button> <button>
<legend>Wind Configuration...</legend> <legend>Wind Configuration ...</legend>
<binding> <binding>
<command>dialog-show</command> <command>dialog-show</command>
<dialog-name>local_weather_winds</dialog-name> <dialog-name>local_weather_winds</dialog-name>

View file

@ -3,287 +3,298 @@
<PropertyList> <PropertyList>
<!-- Weather tiles --> <!-- Weather tiles -->
<name>local_weather_winds</name> <name>local_weather_winds</name>
<width>500</width>
<height>200</height>
<modal>false</modal> <modal>false</modal>
<resizable>false</resizable>
<layout>vbox</layout>
<default-padding>3</default-padding>
<!-- Title bar with close button -->
<text> <group>
<x>10</x> <layout>hbox</layout>
<y>170</y> <default-padding>3</default-padding>
<label>Specify aloft wind layers</label> <empty><stretch>1</stretch></empty>
</text>
<text>
<x>220</x>
<y>170</y>
<label>lat:</label>
</text>
<input>
<x>250</x>
<y>170</y>
<width>80</width>
<height>25</height>
<property>/local-weather/tmp/ipoint-latitude-deg</property>
</input>
<text>
<x>340</x>
<y>170</y>
<label>lon:</label>
</text>
<input>
<x>370</x>
<y>170</y>
<width>80</width>
<height>25</height>
<property>/local-weather/tmp/ipoint-longitude-deg</property>
</input>
<group>
<x>0</x>
<y>140</y>
<text> <text>
<x>80</x> <label>Wind Configuration</label>
<y>0</y>
<label>0</label>
</text> </text>
<text> <empty><stretch>1</stretch></empty>
<x>110</x>
<y>0</y> <button>
<pref-width>16</pref-width>
<pref-height>16</pref-height>
<legend></legend>
<keynum>27</keynum>
<border>2</border>
<binding>
<command>dialog-close</command>
</binding>
</button>
</group>
<hrule/>
<group>
<layout>hbox</layout>
<halign>left</halign>
<!-- gap -->
<text>
<label></label>
</text>
<text>
<label>Specify Aloft Wind Layers:</label>
</text>
<text>
<label> Lat:</label>
</text>
<input>
<width>80</width>
<property>/local-weather/tmp/ipoint-latitude-deg</property>
</input>
<text>
<label> Lon:</label>
</text>
<input>
<width>80</width>
<property>/local-weather/tmp/ipoint-longitude-deg</property>
</input>
</group>
<group>
<layout>table</layout>
<halign>center</halign>
<text>
<row>0</row>
<col>0</col>
<pref-width>50</pref-width>
<label> </label>
</text>
<text>
<row>0</row>
<col>1</col>
<pref-width>50</pref-width>
<label> 0 </label>
</text>
<text>
<row>0</row>
<col>2</col>
<halign>center</halign>
<pref-width>50</pref-width>
<label>FL50</label> <label>FL50</label>
</text> </text>
<text> <text>
<x>155</x> <row>0</row>
<y>0</y> <col>3</col>
<pref-width>50</pref-width>
<label>FL100</label> <label>FL100</label>
</text> </text>
<text> <text>
<x>200</x> <row>0</row>
<y>0</y> <col>4</col>
<pref-width>50</pref-width>
<label>FL180</label> <label>FL180</label>
</text> </text>
<text> <text>
<x>245</x> <row>0</row>
<y>0</y> <col>5</col>
<pref-width>50</pref-width>
<label>FL240</label> <label>FL240</label>
</text> </text>
<text> <text>
<x>290</x> <row>0</row>
<y>0</y> <col>6</col>
<pref-width>50</pref-width>
<label>FL300</label> <label>FL300</label>
</text> </text>
<text> <text>
<x>335</x> <row>0</row>
<y>0</y> <col>7</col>
<pref-width>50</pref-width>
<label>FL340</label> <label>FL340</label>
</text> </text>
<text> <text>
<x>380</x> <row>0</row>
<y>0</y> <col>8</col>
<pref-width>50</pref-width>
<label>FL390</label> <label>FL390</label>
</text> </text>
<text> <text>
<x>425</x> <row>0</row>
<y>0</y> <col>9</col>
<pref-width>50</pref-width>
<label>FL450</label> <label>FL450</label>
</text> </text>
</group> <text>
<row>1</row>
<group> <col>0</col>
<x>0</x> <label>Direction</label>
<y>100</y>
<text>
<x>5</x>
<y>0</y>
<label>direction</label>
</text> </text>
<input> <input>
<x>70</x> <row>1</row>
<y>0</y> <col>1</col>
<width>40</width> <pref-width>50</pref-width>
<height>25</height>
<property>/local-weather/tmp/FL0-wind-from-heading-deg</property> <property>/local-weather/tmp/FL0-wind-from-heading-deg</property>
</input> </input>
<input> <input>
<x>115</x> <row>1</row>
<y>0</y> <col>2</col>
<width>40</width> <pref-width>50</pref-width>
<height>25</height>
<property>/local-weather/tmp/FL50-wind-from-heading-deg</property> <property>/local-weather/tmp/FL50-wind-from-heading-deg</property>
</input> </input>
<input> <input>
<x>160</x> <row>1</row>
<y>0</y> <col>3</col>
<width>40</width> <pref-width>50</pref-width>
<height>25</height>
<property>/local-weather/tmp/FL100-wind-from-heading-deg</property> <property>/local-weather/tmp/FL100-wind-from-heading-deg</property>
</input> </input>
<input> <input>
<x>205</x> <row>1</row>
<y>0</y> <col>4</col>
<width>40</width> <pref-width>50</pref-width>
<height>25</height>
<property>/local-weather/tmp/FL180-wind-from-heading-deg</property> <property>/local-weather/tmp/FL180-wind-from-heading-deg</property>
</input> </input>
<input> <input>
<x>250</x> <row>1</row>
<y>0</y> <col>5</col>
<width>40</width> <pref-width>50</pref-width>
<height>25</height>
<property>/local-weather/tmp/FL240-wind-from-heading-deg</property> <property>/local-weather/tmp/FL240-wind-from-heading-deg</property>
</input> </input>
<input>
<input> <row>1</row>
<x>295</x> <col>6</col>
<y>0</y> <pref-width>50</pref-width>
<width>40</width>
<height>25</height>
<property>/local-weather/tmp/FL300-wind-from-heading-deg</property> <property>/local-weather/tmp/FL300-wind-from-heading-deg</property>
</input> </input>
<input> <input>
<x>340</x> <row>1</row>
<y>0</y> <col>7</col>
<width>40</width> <pref-width>50</pref-width>
<height>25</height>
<property>/local-weather/tmp/FL340-wind-from-heading-deg</property> <property>/local-weather/tmp/FL340-wind-from-heading-deg</property>
</input> </input>
<input> <input>
<x>385</x> <row>1</row>
<y>0</y> <col>8</col>
<width>40</width> <pref-width>50</pref-width>
<height>25</height>
<property>/local-weather/tmp/FL390-wind-from-heading-deg</property> <property>/local-weather/tmp/FL390-wind-from-heading-deg</property>
</input> </input>
<input> <input>
<x>430</x> <row>1</row>
<y>0</y> <col>9</col>
<width>40</width> <pref-width>50</pref-width>
<height>25</height>
<property>/local-weather/tmp/FL450-wind-from-heading-deg</property> <property>/local-weather/tmp/FL450-wind-from-heading-deg</property>
</input> </input>
</group> <text>
<row>2</row>
<col>0</col>
<group> <label>Speed (kt)</label>
<x>0</x>
<y>60</y>
<text>
<x>5</x>
<y>0</y>
<label>speed (kt)</label>
</text> </text>
<input> <input>
<x>70</x> <row>2</row>
<y>0</y> <col>1</col>
<width>40</width> <pref-width>50</pref-width>
<height>25</height>
<property>/local-weather/tmp/FL0-windspeed-kt</property> <property>/local-weather/tmp/FL0-windspeed-kt</property>
</input> </input>
<input> <input>
<x>115</x> <row>2</row>
<y>0</y> <col>2</col>
<width>40</width> <pref-width>50</pref-width>
<height>25</height>
<property>/local-weather/tmp/FL50-windspeed-kt</property> <property>/local-weather/tmp/FL50-windspeed-kt</property>
</input> </input>
<input> <input>
<x>160</x> <row>2</row>
<y>0</y> <col>3</col>
<width>40</width> <pref-width>50</pref-width>
<height>25</height>
<property>/local-weather/tmp/FL100-windspeed-kt</property> <property>/local-weather/tmp/FL100-windspeed-kt</property>
</input> </input>
<input> <input>
<x>205</x> <row>2</row>
<y>0</y> <col>4</col>
<width>40</width> <pref-width>50</pref-width>
<height>25</height>
<property>/local-weather/tmp/FL180-windspeed-kt</property> <property>/local-weather/tmp/FL180-windspeed-kt</property>
</input> </input>
<input> <input>
<x>250</x> <row>2</row>
<y>0</y> <col>5</col>
<width>40</width> <pref-width>50</pref-width>
<height>25</height>
<property>/local-weather/tmp/FL240-windspeed-kt</property> <property>/local-weather/tmp/FL240-windspeed-kt</property>
</input> </input>
<input> <input>
<x>295</x> <row>2</row>
<y>0</y> <col>6</col>
<width>40</width> <pref-width>50</pref-width>
<height>25</height>
<property>/local-weather/tmp/FL300-windspeed-kt</property> <property>/local-weather/tmp/FL300-windspeed-kt</property>
</input> </input>
<input> <input>
<x>340</x> <row>2</row>
<y>0</y> <col>7</col>
<width>40</width> <pref-width>50</pref-width>
<height>25</height>
<property>/local-weather/tmp/FL340-windspeed-kt</property> <property>/local-weather/tmp/FL340-windspeed-kt</property>
</input> </input>
<input> <input>
<x>385</x> <row>2</row>
<y>0</y> <col>8</col>
<width>40</width> <pref-width>50</pref-width>
<height>25</height>
<property>/local-weather/tmp/FL390-windspeed-kt</property> <property>/local-weather/tmp/FL390-windspeed-kt</property>
</input> </input>
<input> <input>
<x>430</x> <row>2</row>
<y>0</y> <col>9</col>
<width>40</width> <pref-width>50</pref-width>
<height>25</height>
<property>/local-weather/tmp/FL450-windspeed-kt</property> <property>/local-weather/tmp/FL450-windspeed-kt</property>
</input> </input>
</group>
</group> <hrule/>
<group> <group>
<x>10</x> <layout>hbox</layout>
<y>10</y> <halign>left</halign>
<empty>
<stretch>true</stretch>
</empty>
<button> <button>
<x>0</x> <legend> OK </legend>
<y>0</y>
<legend>OK</legend>
<!--<default>true</default>--> <!--<default>true</default>-->
<equal>true</equal> <equal>true</equal>
<binding> <binding>
@ -295,9 +306,7 @@
</button> </button>
<button> <button>
<x>45</x> <legend>Set Waypoint</legend>
<y>0</y>
<legend>Set waypoint</legend>
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>
</binding> </binding>
@ -310,10 +319,7 @@
</binding> </binding>
</button> </button>
<button>
<button>
<x>150</x>
<y>0</y>
<legend>Clear Waypoints</legend> <legend>Clear Waypoints</legend>
<binding> <binding>
<command>nasal</command> <command>nasal</command>
@ -325,9 +331,8 @@
</button> </button>
<button> <button>
<x>265</x>
<y>0</y>
<legend>Cancel</legend> <legend>Cancel</legend>
<default>true</default>
<equal>true</equal> <equal>true</equal>
<key>Esc</key> <key>Esc</key>
<binding> <binding>
@ -335,20 +340,16 @@
</binding> </binding>
</button> </button>
<text> <text>
<x>360</x> <label> Waypoints:</label>
<y>0</y>
<label>waypoints:</label>
</text> </text>
<text> <text>
<x>430</x> <label>MMMM</label>
<y>0</y>
<label>0</label>
<live>true</live> <live>true</live>
<property>/local-weather/interpolation/ipoint-number</property> <property>/local-weather/interpolation/ipoint-number</property>
</text> </text>
</group> </group>
</PropertyList> </PropertyList>

View file

@ -108,7 +108,7 @@
<text> <text>
<row>0</row><col>3</col> <row>0</row><col>3</col>
<halign>right</halign> <halign>right</halign>
<label>Runway:</label> <label> Runway:</label>
</text> </text>
<input> <input>
<row>0</row><col>4</col> <row>0</row><col>4</col>
@ -147,7 +147,7 @@
<text> <text>
<row>1</row><col>3</col> <row>1</row><col>3</col>
<halign>right</halign> <halign>right</halign>
<label>Latitude:</label> <label> Latitude:</label>
</text> </text>
<input> <input>
<row>1</row><col>4</col> <row>1</row><col>4</col>
@ -247,12 +247,15 @@
<label>Relative Position</label> <label>Relative Position</label>
</text> </text>
<group>
<layout>hbox</layout>
<group> <group>
<layout>table</layout> <layout>table</layout>
<text> <text>
<row>0</row><col>0</col> <row>0</row><col>0</col>
<halign>right</halign> <halign>right</halign>
<label>Distance (nm):</label> <label> Distance (nm):</label>
<enable><not><property>/sim/gui/dialogs/location-in-air/lonlat</property></not></enable> <enable><not><property>/sim/gui/dialogs/location-in-air/lonlat</property></not></enable>
</text> </text>
<input> <input>
@ -286,7 +289,7 @@
<text> <text>
<row>1</row><col>2</col> <row>1</row><col>2</col>
<halign>right</halign> <halign>right</halign>
<label>Glidepath (deg):</label> <label> Glidepath (deg):</label>
</text> </text>
<input> <input>
<row>1</row><col>3</col> <row>1</row><col>3</col>
@ -316,6 +319,17 @@
</input> </input>
</group> </group>
<!-- only for a gap -->
<group>
<layout>vbox</layout>
<default-padding>1</default-padding>
<text>
<label> </label>
</text>
</group>
</group>
<hrule/> <hrule/>
<group> <group>

View file

@ -29,7 +29,7 @@
<hrule/> <hrule/>
<text> <text>
<label>Select position of tower for the Tower Views</label> <label> Select Position of Tower for the Tower Views </label>
</text> </text>
<group> <group>
@ -50,13 +50,15 @@
</checkbox> </checkbox>
<text> <text>
<row>1</row><col>0</col> <row>1</row>
<col>0</col>
<halign>right</halign> <halign>right</halign>
<label>Airport ID:</label> <label>Airport ID:</label>
</text> </text>
<input> <input>
<name>airport-id</name> <name>airport-id</name>
<row>1</row><col>1</col> <row>1</row>
<col>1</col>
<property>/sim/tower/airport-id</property> <property>/sim/tower/airport-id</property>
<enable> <enable>
<not> <not>
@ -65,7 +67,8 @@
</enable> </enable>
</input> </input>
<empty> <empty>
<row>0</row><col>3</col> <row>0</row>
<col>3</col>
<stretch>true</stretch> <stretch>true</stretch>
</empty> </empty>
@ -131,7 +134,8 @@
<button> <button>
<legend>Preset</legend> <legend>Preset</legend>
<row>4</row><col>0</col> <row>4</row>
<col>0</col>
<!-- <!--
Is there a way in the GUI (other than via a dynamic Is there a way in the GUI (other than via a dynamic
NASAL dialog) to assign text to the widget rather NASAL dialog) to assign text to the widget rather
@ -153,11 +157,13 @@
</binding> </binding>
</button> </button>
<text> <text>
<row>4</row><col>1</col> <row>4</row>
<col>1</col>
<property>/sim/presets/airport-id</property> <property>/sim/presets/airport-id</property>
</text> </text>
<empty> <empty>
<row>4</row><col>3</col> <row>4</row>
<col>3</col>
<stretch>true</stretch> <stretch>true</stretch>
</empty> </empty>
</group> </group>

View file

@ -4,11 +4,10 @@
<name>map-canvas</name> <name>map-canvas</name>
<layout>vbox</layout> <layout>vbox</layout>
<resizable>true</resizable> <resizable>true</resizable>
<!-- mhab -->
<default-padding>3</default-padding>
<color> <color>
<red type="float">0.41</red>
<green type="float">0.4</green>
<blue type="float">0.42</blue>
<alpha type="float">1.0</alpha> <alpha type="float">1.0</alpha>
</color> </color>
@ -19,9 +18,6 @@
var setTransparency = func(updateDialog){ var setTransparency = func(updateDialog){
var alpha = (getprop("/sim/gui/dialogs/map-canvas/transparent") or 0); var alpha = (getprop("/sim/gui/dialogs/map-canvas/transparent") or 0);
self.getNode("color/alpha").setValue(1-alpha*0.3); self.getNode("color/alpha").setValue(1-alpha*0.3);
self.getNode("color/red").setValue(0.41-alpha*0.2);
self.getNode("color/green").setValue(0.4-alpha*0.2);
self.getNode("color/blue").setValue(0.42-alpha*0.2);
var n = props.Node.new({ "dialog-name": "map-canvas" }); var n = props.Node.new({ "dialog-name": "map-canvas" });
if (updateDialog) if (updateDialog)
{ {
@ -42,6 +38,7 @@
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<default-padding>1</default-padding>
<empty><stretch>1</stretch></empty> <empty><stretch>1</stretch></empty>
<text> <text>
@ -62,22 +59,27 @@
</binding> </binding>
</button> </button>
</group> </group>
<hrule/> <hrule/>
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<stretch>true</stretch> <stretch>true</stretch>
<halign>left</halign>
<!-- sidebar --> <!-- sidebar -->
<group> <group>
<layout>vbox</layout> <layout>vbox</layout>
<stretch>true</stretch>
<halign>left</halign>
<text> <text>
<label>Display:</label> <label>Display:</label>
</text> </text>
<checkbox> <checkbox>
<label>Airports</label> <label>Airports</label>
<pref-width>100</pref-width> <halign>left</halign>
<property>/sim/gui/dialogs/map-canvas/draw-APT</property> <property>/sim/gui/dialogs/map-canvas/draw-APT</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -90,7 +92,7 @@
<checkbox> <checkbox>
<label>Fixes</label> <label>Fixes</label>
<pref-width>100</pref-width> <halign>left</halign>
<property>/sim/gui/dialogs/map-canvas/draw-FIX</property> <property>/sim/gui/dialogs/map-canvas/draw-FIX</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -103,7 +105,7 @@
<checkbox> <checkbox>
<label>VORs</label> <label>VORs</label>
<pref-width>100</pref-width> <halign>left</halign>
<property>/sim/gui/dialogs/map-canvas/draw-VOR</property> <property>/sim/gui/dialogs/map-canvas/draw-VOR</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -116,7 +118,7 @@
<checkbox> <checkbox>
<label>DMEs</label> <label>DMEs</label>
<pref-width>100</pref-width> <halign>left</halign>
<property>/sim/gui/dialogs/map-canvas/draw-DME</property> <property>/sim/gui/dialogs/map-canvas/draw-DME</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -129,7 +131,7 @@
<checkbox> <checkbox>
<label>NDBs</label> <label>NDBs</label>
<pref-width>100</pref-width> <halign>left</halign>
<property>/sim/gui/dialogs/map-canvas/draw-NDB</property> <property>/sim/gui/dialogs/map-canvas/draw-NDB</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -149,7 +151,7 @@
<checkbox> <checkbox>
<label>Traffic</label> <label>Traffic</label>
<pref-width>100</pref-width> <halign>left</halign>
<property>/sim/gui/dialogs/map-canvas/draw-TFC</property> <property>/sim/gui/dialogs/map-canvas/draw-TFC</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -169,7 +171,7 @@
<checkbox> <checkbox>
<label>Data</label> <label>Data</label>
<pref-width>100</pref-width> <halign>left</halign>
<property>/sim/gui/dialogs/map-canvas/draw-data</property> <property>/sim/gui/dialogs/map-canvas/draw-data</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -182,7 +184,7 @@
<checkbox> <checkbox>
<label>Flight History</label> <label>Flight History</label>
<pref-width>100</pref-width> <halign>left</halign>
<property>/sim/gui/dialogs/map-canvas/draw-FLT</property> <property>/sim/gui/dialogs/map-canvas/draw-FLT</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -194,14 +196,15 @@
</checkbox> </checkbox>
<checkbox> <checkbox>
<label>Weather</label>
<halign>left</halign>
<!-- layer only supported if LW/AW is active --> <!-- layer only supported if LW/AW is active -->
<enable> <enable>
<property>/sim/gui/dialogs/metar/mode/local-weather</property> <property>/sim/gui/dialogs/metar/mode/local-weather</property>
<value>1</value> <value>1</value>
</enable> </enable>
<label>Weather</label>
<pref-width>100</pref-width>
<property>/sim/gui/dialogs/map-canvas/draw-WXR</property> <property>/sim/gui/dialogs/map-canvas/draw-WXR</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -220,6 +223,8 @@
<value>1</value> <value>1</value>
</enable> </enable>
<label>Tutorial Goals</label> <label>Tutorial Goals</label>
<label>Weather</label>
<halign>left</halign>
<pref-width>100</pref-width> <pref-width>100</pref-width>
<property>/sim/gui/dialogs/map-canvas/draw-TUT</property> <property>/sim/gui/dialogs/map-canvas/draw-TUT</property>
<live>true</live> <live>true</live>
@ -236,7 +241,7 @@
<checkbox> <checkbox>
<label>Magnetic Hdgs</label> <label>Magnetic Hdgs</label>
<pref-width>100</pref-width> <halign>left</halign>
<property>/sim/gui/dialogs/map-canvas/magnetic-headings</property> <property>/sim/gui/dialogs/map-canvas/magnetic-headings</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -249,7 +254,7 @@
<checkbox> <checkbox>
<label>Center on Acft</label> <label>Center on Acft</label>
<pref-width>100</pref-width> <halign>left</halign>
<property>/sim/gui/dialogs/map-canvas/centre-on-aircraft</property> <property>/sim/gui/dialogs/map-canvas/centre-on-aircraft</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -262,7 +267,7 @@
<checkbox> <checkbox>
<label>Aircraft Hdg Up</label> <label>Aircraft Hdg Up</label>
<pref-width>100</pref-width> <halign>left</halign>
<property>/sim/gui/dialogs/map-canvas/aircraft-heading-up</property> <property>/sim/gui/dialogs/map-canvas/aircraft-heading-up</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -275,7 +280,7 @@
<checkbox> <checkbox>
<label>Transparent</label> <label>Transparent</label>
<pref-width>100</pref-width> <halign>left</halign>
<property>/sim/gui/dialogs/map-canvas/transparent</property> <property>/sim/gui/dialogs/map-canvas/transparent</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -295,7 +300,6 @@
<button> <button>
<name>close</name> <name>close</name>
<legend>Close</legend> <legend>Close</legend>
<pref-width>100</pref-width>
<default>true</default> <default>true</default>
<binding> <binding>
<command>dialog-close</command> <command>dialog-close</command>

View file

@ -15,12 +15,15 @@ command interface /autopilot/route-manager/input:
<name>map</name> <name>map</name>
<layout>vbox</layout> <layout>vbox</layout>
<resizable>true</resizable> <resizable>true</resizable>
<!-- mhab -->
<default-padding>3</default-padding>
<color> <color>
<!-- mhab commented out
<red type="float">0.41</red> <red type="float">0.41</red>
<green type="float">0.4</green> <green type="float">0.4</green>
<blue type="float">0.42</blue> <blue type="float">0.42</blue>
<alpha type="float">1.0</alpha> -->
<alpha type="float">1.0</alpha> <alpha type="float">1.0</alpha>
</color> </color>
@ -30,9 +33,10 @@ command interface /autopilot/route-manager/input:
var setTransparency = func(updateDialog){ var setTransparency = func(updateDialog){
var alpha = (getprop("/gui/map/transparent") or 0); var alpha = (getprop("/gui/map/transparent") or 0);
mapDialog.getNode("color/alpha").setValue(1-alpha*0.3); mapDialog.getNode("color/alpha").setValue(1-alpha*0.3);
mapDialog.getNode("color/red").setValue(0.41-alpha*0.2); # mhab commented out
mapDialog.getNode("color/green").setValue(0.4-alpha*0.2); #mapDialog.getNode("color/red").setValue(0.41-alpha*0.2);
mapDialog.getNode("color/blue").setValue(0.42-alpha*0.2); #mapDialog.getNode("color/green").setValue(0.4-alpha*0.2);
#mapDialog.getNode("color/blue").setValue(0.42-alpha*0.2);
var n = props.Node.new({ "dialog-name": "map" }); var n = props.Node.new({ "dialog-name": "map" });
if (updateDialog) if (updateDialog)
{ {
@ -50,6 +54,7 @@ command interface /autopilot/route-manager/input:
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<default-padding>1</default-padding>
<empty><stretch>1</stretch></empty> <empty><stretch>1</stretch></empty>
<text> <text>
@ -70,11 +75,13 @@ command interface /autopilot/route-manager/input:
</binding> </binding>
</button> </button>
</group> </group>
<hrule/> <hrule/>
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<stretch>true</stretch> <stretch>true</stretch>
<halign>left</halign>
<!-- sidebar --> <!-- sidebar -->
<group> <group>
@ -85,7 +92,10 @@ command interface /autopilot/route-manager/input:
<checkbox> <checkbox>
<label>Fixes</label> <label>Fixes</label>
<halign>left</halign>
<!--
<pref-width>100</pref-width> <pref-width>100</pref-width>
-->
<property>/gui/map/draw-fixes</property> <property>/gui/map/draw-fixes</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -98,7 +108,10 @@ command interface /autopilot/route-manager/input:
<checkbox> <checkbox>
<label>Navaids</label> <label>Navaids</label>
<halign>left</halign>
<!--
<pref-width>100</pref-width> <pref-width>100</pref-width>
-->
<property>/gui/map/draw-navaids</property> <property>/gui/map/draw-navaids</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -117,7 +130,10 @@ command interface /autopilot/route-manager/input:
<checkbox> <checkbox>
<label>Traffic</label> <label>Traffic</label>
<halign>left</halign>
<!--
<pref-width>100</pref-width> <pref-width>100</pref-width>
-->
<property>/gui/map/draw-traffic</property> <property>/gui/map/draw-traffic</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -137,7 +153,10 @@ command interface /autopilot/route-manager/input:
<checkbox> <checkbox>
<label>Data</label> <label>Data</label>
<halign>left</halign>
<!--
<pref-width>100</pref-width> <pref-width>100</pref-width>
-->
<property>/gui/map/draw-data</property> <property>/gui/map/draw-data</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -150,7 +169,10 @@ command interface /autopilot/route-manager/input:
<checkbox> <checkbox>
<label>Flight History</label> <label>Flight History</label>
<halign>left</halign>
<!--
<pref-width>100</pref-width> <pref-width>100</pref-width>
-->
<property>/gui/map/draw-flight-history</property> <property>/gui/map/draw-flight-history</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -165,7 +187,10 @@ command interface /autopilot/route-manager/input:
<checkbox> <checkbox>
<label>Magnetic Hdgs</label> <label>Magnetic Hdgs</label>
<halign>left</halign>
<!--
<pref-width>100</pref-width> <pref-width>100</pref-width>
-->
<property>/gui/map/magnetic-headings</property> <property>/gui/map/magnetic-headings</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -178,7 +203,10 @@ command interface /autopilot/route-manager/input:
<checkbox> <checkbox>
<label>Center on Acft</label> <label>Center on Acft</label>
<halign>left</halign>
<!--
<pref-width>100</pref-width> <pref-width>100</pref-width>
-->
<property>/gui/map/centre-on-aircraft</property> <property>/gui/map/centre-on-aircraft</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -191,7 +219,10 @@ command interface /autopilot/route-manager/input:
<checkbox> <checkbox>
<label>Aircraft Hdg Up</label> <label>Aircraft Hdg Up</label>
<halign>left</halign>
<!--
<pref-width>100</pref-width> <pref-width>100</pref-width>
-->
<property>/gui/map/aircraft-heading-up</property> <property>/gui/map/aircraft-heading-up</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -204,7 +235,10 @@ command interface /autopilot/route-manager/input:
<checkbox> <checkbox>
<label>Transparent</label> <label>Transparent</label>
<halign>left</halign>
<!--
<pref-width>100</pref-width> <pref-width>100</pref-width>
-->
<property>/gui/map/transparent</property> <property>/gui/map/transparent</property>
<live>true</live> <live>true</live>
<binding> <binding>

View file

@ -121,7 +121,7 @@
<text> <text>
<row>0</row> <row>0</row>
<col>0</col> <col>0</col>
<label>Options:</label> <label> Options:</label>
<halign>right</halign> <halign>right</halign>
</text> </text>
<checkbox> <checkbox>
@ -155,7 +155,7 @@
<text> <text>
<row>2</row><col>0</col> <row>2</row><col>0</col>
<halign>right</halign> <halign>right</halign>
<label>Callsign:</label> <label> Callsign:</label>
</text> </text>
<input> <input>
<row>2</row><col>1</col> <row>2</row><col>1</col>

View file

@ -3,7 +3,9 @@
<PropertyList> <PropertyList>
<name>radios</name> <name>radios</name>
<!--
<width>550</width> <width>550</width>
-->
<modal>false</modal> <modal>false</modal>
<nasal> <nasal>
@ -496,17 +498,16 @@
<hrule/> <hrule/>
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<text> <text>
<label>TACAN</label> <label> TACAN </label>
</text> </text>
<combo> <combo>
<name>tacan-1</name> <name>tacan-1</name>
<pref-width>45</pref-width> <pref-width>55</pref-width>
<pref-height>25</pref-height> <pref-height>25</pref-height>
<live>true</live> <live>true</live>
<property>/instrumentation/tacan/frequencies/selected-channel[1]</property> <property>/instrumentation/tacan/frequencies/selected-channel[1]</property>
@ -528,7 +529,7 @@
<!----> <!---->
<combo> <combo>
<name>tacan-2</name> <name>tacan-2</name>
<pref-width>45</pref-width> <pref-width>55</pref-width>
<pref-height>25</pref-height> <pref-height>25</pref-height>
<live>true</live> <live>true</live>
<property>/instrumentation/tacan/frequencies/selected-channel[2]</property> <property>/instrumentation/tacan/frequencies/selected-channel[2]</property>
@ -550,7 +551,7 @@
<combo> <combo>
<name>tacan-3</name> <name>tacan-3</name>
<pref-width>45</pref-width> <pref-width>55</pref-width>
<pref-height>25</pref-height> <pref-height>25</pref-height>
<live>true</live> <live>true</live>
<property>/instrumentation/tacan/frequencies/selected-channel[3]</property> <property>/instrumentation/tacan/frequencies/selected-channel[3]</property>
@ -572,7 +573,7 @@
<combo> <combo>
<name>tacan-4</name> <name>tacan-4</name>
<pref-width>45</pref-width> <pref-width>55</pref-width>
<pref-height>25</pref-height> <pref-height>25</pref-height>
<live>true</live> <live>true</live>
<property>/instrumentation/tacan/frequencies/selected-channel[4]</property> <property>/instrumentation/tacan/frequencies/selected-channel[4]</property>
@ -595,21 +596,25 @@
</binding> </binding>
</button> </button>
<text>
<label> </label>
</text>
</group> </group>
<!-- of TACAN group --> <!-- of TACAN group -->
<!-- transponder controls --> <!-- transponder controls -->
<hrule/> <hrule/>
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<text> <text>
<label>Transponder</label> <label> Transponder</label>
</text> </text>
<combo> <combo>
<name>Tponder-1</name> <name>Tponder-1</name>
<pref-width>45</pref-width> <pref-width>55</pref-width>
<pref-height>25</pref-height> <pref-height>25</pref-height>
<live>true</live> <live>true</live>
<property>/instrumentation/transponder/inputs/digit[3]</property> <property>/instrumentation/transponder/inputs/digit[3]</property>
@ -629,7 +634,7 @@
<!-- --> <!-- -->
<combo> <combo>
<name>Tponder-2</name> <name>Tponder-2</name>
<pref-width>45</pref-width> <pref-width>55</pref-width>
<pref-height>25</pref-height> <pref-height>25</pref-height>
<live>true</live> <live>true</live>
<property>/instrumentation/transponder/inputs/digit[2]</property> <property>/instrumentation/transponder/inputs/digit[2]</property>
@ -648,7 +653,7 @@
</combo> </combo>
<combo> <combo>
<name>Tponder-3</name> <name>Tponder-3</name>
<pref-width>45</pref-width> <pref-width>55</pref-width>
<pref-height>25</pref-height> <pref-height>25</pref-height>
<live>true</live> <live>true</live>
<property>/instrumentation/transponder/inputs/digit[1]</property> <property>/instrumentation/transponder/inputs/digit[1]</property>
@ -667,7 +672,7 @@
</combo> </combo>
<combo> <combo>
<name>Tponder-4</name> <name>Tponder-4</name>
<pref-width>45</pref-width> <pref-width>55</pref-width>
<pref-height>25</pref-height> <pref-height>25</pref-height>
<live>true</live> <live>true</live>
<property>/instrumentation/transponder/inputs/digit[0]</property> <property>/instrumentation/transponder/inputs/digit[0]</property>
@ -731,6 +736,10 @@
<command>dialog-apply</command> <command>dialog-apply</command>
</binding> </binding>
</button> </button>
<text>
<label> </label>
</text>
</group> </group>
<!-- Transponder group --> <!-- Transponder group -->

View file

@ -66,7 +66,7 @@
<text> <text>
<halign>left</halign> <halign>left</halign>
<label>Configure MTBF/MCBF for all systems and instruments.</label> <label> Configure MTBF/MCBF for all systems and instruments. </label>
</text> </text>
<hrule></hrule> <hrule></hrule>
@ -77,6 +77,15 @@
<valign>top</valign> <valign>top</valign>
<stretch>true</stretch> <stretch>true</stretch>
<!-- only for a gap -->
<group>
<layout>vbox</layout>
<default-padding>1</default-padding>
<text>
<label> </label>
</text>
</group>
<group> <group>
<stretch>true</stretch> <stretch>true</stretch>
<layout>vbox</layout> <layout>vbox</layout>
@ -198,7 +207,7 @@
<text> <text>
<halign>center</halign> <halign>center</halign>
<label>Mean Cycles Between Failures</label> <label>Mean Cycles Between Failures </label>
</text> </text>
<radio> <radio>
@ -315,6 +324,7 @@
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<default-padding>7</default-padding>
<button> <button>
<legend>OK</legend> <legend>OK</legend>
@ -361,8 +371,4 @@
</group> </group>
<empty>
<pref-height>1</pref-height>
</empty>
</PropertyList> </PropertyList>

View file

@ -38,9 +38,19 @@
<layout>hbox</layout> <layout>hbox</layout>
<halign>left</halign> <halign>left</halign>
<!-- gap -->
<text>
<label></label>
</text>
<group>
<layout>table</layout>
<checkbox> <checkbox>
<row>0</row>
<col>0</col>
<halign>left</halign> <halign>left</halign>
<label>Bloom</label> <label> Bloom</label>
<name>bloom</name> <name>bloom</name>
<property>/sim/rendering/rembrandt/bloom</property> <property>/sim/rendering/rembrandt/bloom</property>
<binding> <binding>
@ -51,10 +61,9 @@
<property>/sim/rendering/rembrandt/bloom-buffers</property> <property>/sim/rendering/rembrandt/bloom-buffers</property>
</enable> </enable>
</checkbox> </checkbox>
<empty>
<pref-width>63</pref-width>
</empty>
<text> <text>
<row>0</row>
<col>1</col>
<label>Strength</label> <label>Strength</label>
<enable> <enable>
<and> <and>
@ -64,6 +73,8 @@
</enable> </enable>
</text> </text>
<slider> <slider>
<row>0</row>
<col>2</col>
<name>bloom-strength</name> <name>bloom-strength</name>
<min>0.0</min> <min>0.0</min>
<max>1.0</max> <max>1.0</max>
@ -81,6 +92,8 @@
</enable> </enable>
</slider> </slider>
<text> <text>
<row>0</row>
<col>3</col>
<label>12345678</label> <label>12345678</label>
<format>%.2f</format> <format>%.2f</format>
<live>true</live> <live>true</live>
@ -92,14 +105,11 @@
</and> </and>
</enable> </enable>
</text> </text>
</group>
<group>
<layout>hbox</layout>
<halign>left</halign>
<checkbox> <checkbox>
<label>Ambient occlusion</label> <row>1</row>
<col>0</col>
<label> Ambient occlusion</label>
<name>occlusion</name> <name>occlusion</name>
<property>/sim/rendering/rembrandt/ambient-occlusion</property> <property>/sim/rendering/rembrandt/ambient-occlusion</property>
<binding> <binding>
@ -110,10 +120,9 @@
<property>/sim/rendering/rembrandt/ambient-occlusion-buffers</property> <property>/sim/rendering/rembrandt/ambient-occlusion-buffers</property>
</enable> </enable>
</checkbox> </checkbox>
<empty>
<pref-width>-7</pref-width>
</empty>
<text> <text>
<row>1</row>
<col>1</col>
<label>Strength</label> <label>Strength</label>
<enable> <enable>
<and> <and>
@ -123,6 +132,8 @@
</enable> </enable>
</text> </text>
<slider> <slider>
<row>1</row>
<col>2</col>
<name>ambient-occlusion-strength</name> <name>ambient-occlusion-strength</name>
<min>0.0</min> <min>0.0</min>
<max>1.0</max> <max>1.0</max>
@ -140,6 +151,8 @@
</enable> </enable>
</slider> </slider>
<text> <text>
<row>1</row>
<col>3</col>
<label>12345678</label> <label>12345678</label>
<format>%.2f</format> <format>%.2f</format>
<live>true</live> <live>true</live>
@ -153,15 +166,27 @@
</text> </text>
</group> </group>
</group>
<hrule/> <hrule/>
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<halign>left</halign> <halign>left</halign>
<!-- gap -->
<text>
<label></label>
</text>
<group>
<layout>table</layout>
<checkbox> <checkbox>
<row>0</row>
<col>0</col>
<halign>left</halign> <halign>left</halign>
<label>Shadows</label> <label> Shadows</label>
<name>shadow</name> <name>shadow</name>
<property>/sim/rendering/shadows/enabled</property> <property>/sim/rendering/shadows/enabled</property>
<binding> <binding>
@ -169,16 +194,19 @@
<object-name>shadow</object-name> <object-name>shadow</object-name>
</binding> </binding>
</checkbox> </checkbox>
<empty>
<pref-width>42</pref-width>
</empty>
<text> <text>
<row>0</row>
<col>1</col>
<halign>right</halign>
<label>Map size</label> <label>Map size</label>
<enable> <enable>
<property>/sim/rendering/shadows/enabled</property> <property>/sim/rendering/shadows/enabled</property>
</enable> </enable>
</text> </text>
<combo> <combo>
<row>0</row>
<col>2</col>
<halign>left</halign>
<name>shadow-map-size</name> <name>shadow-map-size</name>
<enable> <enable>
<property>/sim/rendering/shadows/enabled</property> <property>/sim/rendering/shadows/enabled</property>
@ -193,20 +221,30 @@
<object-name>shadow-map-size</object-name> <object-name>shadow-map-size</object-name>
</binding> </binding>
</combo> </combo>
<text>
</group> <row>0</row>
<col>3</col>
<group> <label></label>
<layout>hbox</layout> </text>
<halign>right</halign> <empty>
<row>0</row>
<col>4</col>
<stretch>true</stretch>
</empty>
<text> <text>
<row>1</row>
<col>1</col>
<halign>right</halign>
<label>Filtering</label> <label>Filtering</label>
<enable> <enable>
<property>/sim/rendering/shadows/enabled</property> <property>/sim/rendering/shadows/enabled</property>
</enable> </enable>
</text> </text>
<slider> <slider>
<row>1</row>
<col>2</col>
<halign>left</halign>
<name>filtering</name> <name>filtering</name>
<enable> <enable>
<property>/sim/rendering/shadows/enabled</property> <property>/sim/rendering/shadows/enabled</property>
@ -222,47 +260,36 @@
</binding> </binding>
</slider> </slider>
<text> <text>
<row>1</row>
<col>3</col>
<halign>left</halign>
<enable> <enable>
<property>/sim/rendering/shadows/enabled</property> <property>/sim/rendering/shadows/enabled</property>
</enable> </enable>
<label>12345678</label> <label>MMMMMMMMMMMMMMM</label>
<format>%.0f</format> <format>%.0f</format>
<live>true</live> <live>true</live>
<property>/sim/rendering/shadows/filtering</property> <property>/sim/rendering/shadows/filtering</property>
</text> </text>
<empty> <empty>
<pref-width>222</pref-width> <row>1</row>
<col>3</col>
<stretch>true</stretch>
</empty> </empty>
</group>
<group>
<layout>hbox</layout>
<halign>right</halign>
<text> <text>
<row>2</row>
<col>1</col>
<halign>right</halign>
<label>Number of cascades</label> <label>Number of cascades</label>
<enable> <enable>
<property>/sim/rendering/shadows/enabled</property> <property>/sim/rendering/shadows/enabled</property>
</enable> </enable>
</text> </text>
<!--<combo>
<name>num-cascades</name>
<enable>
<property>/sim/rendering/shadows/enabled</property>
</enable>
<property>/sim/rendering/shadows/num-cascades</property>
<value>1</value>
<value>2</value>
<value>3</value>
<value>4</value>
<binding>
<command>dialog-apply</command>
<object-name>num-cascades</object-name>
</binding>
</combo>-->
<slider> <slider>
<row>1</row> <row>2</row>
<col>2</col> <col>2</col>
<halign>left</halign>
<name>filtering</name> <name>filtering</name>
<enable> <enable>
<property>/sim/rendering/shadows/enabled</property> <property>/sim/rendering/shadows/enabled</property>
@ -278,32 +305,47 @@
</binding> </binding>
</slider> </slider>
<text> <text>
<row>1</row> <row>2</row>
<col>3</col> <col>3</col>
<halign>left</halign>
<enable> <enable>
<property>/sim/rendering/shadows/enabled</property> <property>/sim/rendering/shadows/enabled</property>
</enable> </enable>
<label>12345678</label> <label>MMMMMMMMMMMMMMM</label>
<format>%.0f</format> <format>%.0f</format>
<live>true</live> <live>true</live>
<property>/sim/rendering/shadows/num-cascades</property> <property>/sim/rendering/shadows/num-cascades</property>
</text> </text>
<text>
<row>2</row>
<col>4</col>
<label></label>
</text>
<empty> <empty>
<pref-width>222</pref-width> <row>2</row>
<col>5</col>
<stretch>true</stretch>
</empty> </empty>
</group>
<group>
<layout>hbox</layout>
<halign>right</halign>
<text> <text>
<row>3</row>
<col>1</col>
<halign>right</halign>
<label>Cascades</label> <label>Cascades</label>
<enable> <enable>
<property>/sim/rendering/shadows/enabled</property> <property>/sim/rendering/shadows/enabled</property>
</enable> </enable>
</text> </text>
<group>
<layout>hbox</layout>
<halign>left</halign>
<row>3</row>
<col>2</col>
<colspan>2</colspan>
<input> <input>
<halign>left</halign>
<name>shadow-cascade-1</name> <name>shadow-cascade-1</name>
<enable> <enable>
<property>/sim/rendering/shadows/enabled</property> <property>/sim/rendering/shadows/enabled</property>
@ -362,16 +404,22 @@
<value>3</value> <value>3</value>
</greater-than> </greater-than>
</visible> </visible>
<pref-width>50</pref-width> <pref-width>60</pref-width>
<property>/sim/rendering/shadows/cascade-far-m[3]</property> <property>/sim/rendering/shadows/cascade-far-m[3]</property>
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>
<object-name>shadow-cascade-4</object-name> <object-name>shadow-cascade-4</object-name>
</binding> </binding>
</input> </input>
</group>
<empty> <empty>
<pref-width>147</pref-width> <row>3</row>
<col>3</col>
<stretch>true</stretch>
</empty> </empty>
</group>
</group> </group>
<hrule/> <hrule/>
@ -380,9 +428,14 @@
<layout>hbox</layout> <layout>hbox</layout>
<halign>left</halign> <halign>left</halign>
<!-- gap -->
<text>
<label></label>
</text>
<checkbox> <checkbox>
<halign>left</halign> <halign>left</halign>
<label>Night vision</label> <label> Night vision</label>
<name>night-vision</name> <name>night-vision</name>
<property>/sim/rendering/rembrandt/night-vision</property> <property>/sim/rendering/rembrandt/night-vision</property>
<binding> <binding>
@ -398,9 +451,19 @@
<layout>hbox</layout> <layout>hbox</layout>
<halign>left</halign> <halign>left</halign>
<!-- gap -->
<text>
<label></label>
</text>
<group>
<layout>table</layout>
<checkbox> <checkbox>
<row>0</row>
<col>0</col>
<halign>left</halign> <halign>left</halign>
<label>Vignette</label> <label> Vignette</label>
<name>vignette</name> <name>vignette</name>
<property>/sim/rendering/rembrandt/cinema/vignette</property> <property>/sim/rendering/rembrandt/cinema/vignette</property>
<binding> <binding>
@ -411,10 +474,9 @@
<not><property>/sim/rendering/rembrandt/night-vision</property></not> <not><property>/sim/rendering/rembrandt/night-vision</property></not>
</enable> </enable>
</checkbox> </checkbox>
<empty>
<pref-width>34</pref-width>
</empty>
<text> <text>
<row>0</row>
<col>1</col>
<label>Inner circle</label> <label>Inner circle</label>
<enable> <enable>
<and> <and>
@ -424,6 +486,8 @@
</enable> </enable>
</text> </text>
<slider> <slider>
<row>0</row>
<col>2</col>
<name>inner-circle</name> <name>inner-circle</name>
<min>0.0</min> <min>0.0</min>
<max>1.5</max> <max>1.5</max>
@ -441,7 +505,10 @@
</enable> </enable>
</slider> </slider>
<text> <text>
<label>12345678</label> <row>0</row>
<col>3</col>
<halign>left</halign>
<label>1234</label>
<format>%.2f</format> <format>%.2f</format>
<live>true</live> <live>true</live>
<property>/sim/rendering/rembrandt/cinema/inner-circle</property> <property>/sim/rendering/rembrandt/cinema/inner-circle</property>
@ -452,13 +519,10 @@
</and> </and>
</enable> </enable>
</text> </text>
</group>
<group>
<layout>hbox</layout>
<halign>right</halign>
<text> <text>
<row>1</row>
<col>1</col>
<label>Outer circle</label> <label>Outer circle</label>
<enable> <enable>
<and> <and>
@ -468,6 +532,8 @@
</enable> </enable>
</text> </text>
<slider> <slider>
<row>1</row>
<col>2</col>
<name>outer-circle</name> <name>outer-circle</name>
<min>1.0</min> <min>1.0</min>
<max>2.0</max> <max>2.0</max>
@ -485,7 +551,10 @@
</enable> </enable>
</slider> </slider>
<text> <text>
<label>12345678</label> <row>1</row>
<col>3</col>
<halign>left</halign>
<label>1234</label>
<format>%.2f</format> <format>%.2f</format>
<live>true</live> <live>true</live>
<property>/sim/rendering/rembrandt/cinema/outer-circle</property> <property>/sim/rendering/rembrandt/cinema/outer-circle</property>
@ -496,18 +565,12 @@
</and> </and>
</enable> </enable>
</text> </text>
<empty>
<pref-width>222</pref-width>
</empty>
</group>
<group>
<layout>hbox</layout>
<halign>left</halign>
<checkbox> <checkbox>
<row>2</row>
<col>0</col>
<halign>left</halign> <halign>left</halign>
<label>Color shift</label> <label> Color shift</label>
<name>color-shift</name> <name>color-shift</name>
<property>/sim/rendering/rembrandt/cinema/color-shift</property> <property>/sim/rendering/rembrandt/cinema/color-shift</property>
<binding> <binding>
@ -518,10 +581,9 @@
<not><property>/sim/rendering/rembrandt/night-vision</property></not> <not><property>/sim/rendering/rembrandt/night-vision</property></not>
</enable> </enable>
</checkbox> </checkbox>
<empty>
<pref-width>37</pref-width>
</empty>
<text> <text>
<row>2</row>
<col>1</col>
<label>Red shift</label> <label>Red shift</label>
<enable> <enable>
<and> <and>
@ -531,6 +593,8 @@
</enable> </enable>
</text> </text>
<slider> <slider>
<row>2</row>
<col>2</col>
<name>red-shift-r</name> <name>red-shift-r</name>
<min>0.0</min> <min>0.0</min>
<max>1.0</max> <max>1.0</max>
@ -548,6 +612,9 @@
</enable> </enable>
</slider> </slider>
<text> <text>
<row>2</row>
<col>3</col>
<halign>left</halign>
<label>1234</label> <label>1234</label>
<format>%.2f</format> <format>%.2f</format>
<live>true</live> <live>true</live>
@ -560,6 +627,8 @@
</enable> </enable>
</text> </text>
<slider> <slider>
<row>2</row>
<col>4</col>
<name>red-shift-g</name> <name>red-shift-g</name>
<min>0.0</min> <min>0.0</min>
<max>1.0</max> <max>1.0</max>
@ -577,6 +646,8 @@
</enable> </enable>
</slider> </slider>
<text> <text>
<row>2</row>
<col>5</col>
<label>1234</label> <label>1234</label>
<format>%.2f</format> <format>%.2f</format>
<live>true</live> <live>true</live>
@ -589,6 +660,8 @@
</enable> </enable>
</text> </text>
<slider> <slider>
<row>2</row>
<col>6</col>
<name>red-shift-b</name> <name>red-shift-b</name>
<min>0.0</min> <min>0.0</min>
<max>1.0</max> <max>1.0</max>
@ -606,6 +679,8 @@
</enable> </enable>
</slider> </slider>
<text> <text>
<row>2</row>
<col>7</col>
<label>1234</label> <label>1234</label>
<format>%.2f</format> <format>%.2f</format>
<live>true</live> <live>true</live>
@ -617,13 +692,15 @@
</and> </and>
</enable> </enable>
</text> </text>
</group> <empty>
<row>2</row>
<group> <col>8</col>
<layout>hbox</layout> <stretch>true</stretch>
<halign>right</halign> </empty>
<text> <text>
<row>3</row>
<col>1</col>
<label>Green shift</label> <label>Green shift</label>
<enable> <enable>
<and> <and>
@ -633,6 +710,8 @@
</enable> </enable>
</text> </text>
<slider> <slider>
<row>3</row>
<col>2</col>
<name>green-shift-r</name> <name>green-shift-r</name>
<min>0.0</min> <min>0.0</min>
<max>1.0</max> <max>1.0</max>
@ -650,6 +729,9 @@
</enable> </enable>
</slider> </slider>
<text> <text>
<row>3</row>
<col>3</col>
<halign>left</halign>
<label>1234</label> <label>1234</label>
<format>%.2f</format> <format>%.2f</format>
<live>true</live> <live>true</live>
@ -662,6 +744,8 @@
</enable> </enable>
</text> </text>
<slider> <slider>
<row>3</row>
<col>4</col>
<name>green-shift-g</name> <name>green-shift-g</name>
<min>0.0</min> <min>0.0</min>
<max>1.0</max> <max>1.0</max>
@ -679,6 +763,8 @@
</enable> </enable>
</slider> </slider>
<text> <text>
<row>3</row>
<col>5</col>
<label>1234</label> <label>1234</label>
<format>%.2f</format> <format>%.2f</format>
<live>true</live> <live>true</live>
@ -691,6 +777,8 @@
</enable> </enable>
</text> </text>
<slider> <slider>
<row>3</row>
<col>6</col>
<name>green-shift-b</name> <name>green-shift-b</name>
<min>0.0</min> <min>0.0</min>
<max>1.0</max> <max>1.0</max>
@ -708,6 +796,8 @@
</enable> </enable>
</slider> </slider>
<text> <text>
<row>3</row>
<col>7</col>
<label>1234</label> <label>1234</label>
<format>%.2f</format> <format>%.2f</format>
<live>true</live> <live>true</live>
@ -719,13 +809,10 @@
</and> </and>
</enable> </enable>
</text> </text>
</group>
<group>
<layout>hbox</layout>
<halign>right</halign>
<text> <text>
<row>4</row>
<col>1</col>
<label>Blue shift</label> <label>Blue shift</label>
<enable> <enable>
<and> <and>
@ -735,6 +822,8 @@
</enable> </enable>
</text> </text>
<slider> <slider>
<row>4</row>
<col>2</col>
<name>blue-shift-r</name> <name>blue-shift-r</name>
<min>0.0</min> <min>0.0</min>
<max>1.0</max> <max>1.0</max>
@ -752,6 +841,9 @@
</enable> </enable>
</slider> </slider>
<text> <text>
<row>4</row>
<col>3</col>
<halign>left</halign>
<label>1234</label> <label>1234</label>
<format>%.2f</format> <format>%.2f</format>
<live>true</live> <live>true</live>
@ -764,6 +856,8 @@
</enable> </enable>
</text> </text>
<slider> <slider>
<row>4</row>
<col>4</col>
<name>blue-shift-g</name> <name>blue-shift-g</name>
<min>0.0</min> <min>0.0</min>
<max>1.0</max> <max>1.0</max>
@ -781,6 +875,8 @@
</enable> </enable>
</slider> </slider>
<text> <text>
<row>4</row>
<col>5</col>
<label>1234</label> <label>1234</label>
<format>%.2f</format> <format>%.2f</format>
<live>true</live> <live>true</live>
@ -793,6 +889,8 @@
</enable> </enable>
</text> </text>
<slider> <slider>
<row>4</row>
<col>6</col>
<name>blue-shift-b</name> <name>blue-shift-b</name>
<min>0.0</min> <min>0.0</min>
<max>1.0</max> <max>1.0</max>
@ -810,6 +908,8 @@
</enable> </enable>
</slider> </slider>
<text> <text>
<row>4</row>
<col>7</col>
<label>1234</label> <label>1234</label>
<format>%.2f</format> <format>%.2f</format>
<live>true</live> <live>true</live>
@ -821,15 +921,12 @@
</and> </and>
</enable> </enable>
</text> </text>
</group>
<group>
<layout>hbox</layout>
<halign>left</halign>
<checkbox> <checkbox>
<row>5</row>
<col>0</col>
<halign>left</halign> <halign>left</halign>
<label>Distortion</label> <label> Distortion</label>
<name>distortion</name> <name>distortion</name>
<property>/sim/rendering/rembrandt/cinema/distortion</property> <property>/sim/rendering/rembrandt/cinema/distortion</property>
<binding> <binding>
@ -840,10 +937,9 @@
<not><property>/sim/rendering/rembrandt/night-vision</property></not> <not><property>/sim/rendering/rembrandt/night-vision</property></not>
</enable> </enable>
</checkbox> </checkbox>
<empty>
<pref-width>48</pref-width>
</empty>
<text> <text>
<row>5</row>
<col>1</col>
<label>Factors</label> <label>Factors</label>
<enable> <enable>
<and> <and>
@ -853,6 +949,8 @@
</enable> </enable>
</text> </text>
<slider> <slider>
<row>5</row>
<col>2</col>
<name>distortion-factor-x</name> <name>distortion-factor-x</name>
<min>-0.5</min> <min>-0.5</min>
<max>0.5</max> <max>0.5</max>
@ -870,6 +968,9 @@
</enable> </enable>
</slider> </slider>
<text> <text>
<row>5</row>
<col>3</col>
<halign>left</halign>
<label>1234</label> <label>1234</label>
<format>%.2f</format> <format>%.2f</format>
<live>true</live> <live>true</live>
@ -882,6 +983,8 @@
</enable> </enable>
</text> </text>
<slider> <slider>
<row>5</row>
<col>4</col>
<name>distortion-factor-y</name> <name>distortion-factor-y</name>
<min>-0.5</min> <min>-0.5</min>
<max>0.5</max> <max>0.5</max>
@ -899,6 +1002,8 @@
</enable> </enable>
</slider> </slider>
<text> <text>
<row>5</row>
<col>5</col>
<label>1234</label> <label>1234</label>
<format>%.2f</format> <format>%.2f</format>
<live>true</live> <live>true</live>
@ -911,6 +1016,8 @@
</enable> </enable>
</text> </text>
<slider> <slider>
<row>5</row>
<col>6</col>
<name>distortion-factor-z</name> <name>distortion-factor-z</name>
<min>0.5</min> <min>0.5</min>
<max>1.5</max> <max>1.5</max>
@ -928,6 +1035,8 @@
</enable> </enable>
</slider> </slider>
<text> <text>
<row>5</row>
<col>7</col>
<label>1234</label> <label>1234</label>
<format>%.2f</format> <format>%.2f</format>
<live>true</live> <live>true</live>
@ -939,15 +1048,12 @@
</and> </and>
</enable> </enable>
</text> </text>
</group>
<group>
<layout>hbox</layout>
<halign>left</halign>
<checkbox> <checkbox>
<row>6</row>
<col>0</col>
<halign>left</halign> <halign>left</halign>
<label>Color fringe</label> <label> Color fringe</label>
<name>color-fringe</name> <name>color-fringe</name>
<property>/sim/rendering/rembrandt/cinema/color-fringe</property> <property>/sim/rendering/rembrandt/cinema/color-fringe</property>
<binding> <binding>
@ -961,10 +1067,9 @@
</and> </and>
</enable> </enable>
</checkbox> </checkbox>
<empty>
<pref-width>42</pref-width>
</empty>
<text> <text>
<row>6</row>
<col>1</col>
<label>Factor</label> <label>Factor</label>
<enable> <enable>
<and> <and>
@ -975,6 +1080,8 @@
</enable> </enable>
</text> </text>
<slider> <slider>
<row>6</row>
<col>2</col>
<name>color-fringe-factor</name> <name>color-fringe-factor</name>
<min>0.96</min> <min>0.96</min>
<max>1.04</max> <max>1.04</max>
@ -993,7 +1100,9 @@
</enable> </enable>
</slider> </slider>
<text> <text>
<label>12345678</label> <row>6</row>
<col>3</col>
<label>12345</label>
<format>%.3f</format> <format>%.3f</format>
<live>true</live> <live>true</live>
<property>/sim/rendering/rembrandt/cinema/color-fringe-factor</property> <property>/sim/rendering/rembrandt/cinema/color-fringe-factor</property>
@ -1005,15 +1114,12 @@
</and> </and>
</enable> </enable>
</text> </text>
</group>
<group>
<layout>hbox</layout>
<halign>left</halign>
<checkbox> <checkbox>
<row>7</row>
<col>0</col>
<halign>left</halign> <halign>left</halign>
<label>Film wear</label> <label> Film wear</label>
<name>film-wear</name> <name>film-wear</name>
<property>/sim/rendering/rembrandt/cinema/film-wear</property> <property>/sim/rendering/rembrandt/cinema/film-wear</property>
<binding> <binding>
@ -1030,12 +1136,16 @@
</and> </and>
</enable> </enable>
</checkbox> </checkbox>
</group>
</group> </group>
<hrule/> <hrule/>
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<default-padding>7</default-padding>
<button> <button>
<legend>Back</legend> <legend>Back</legend>

View file

@ -53,6 +53,15 @@
<halign>center</halign> <halign>center</halign>
<layout>hbox</layout> <layout>hbox</layout>
<!-- only for a gap -->
<group>
<layout>vbox</layout>
<default-padding>1</default-padding>
<text>
<label> </label>
</text>
</group>
<group> <group>
<layout>vbox</layout> <layout>vbox</layout>
@ -218,6 +227,10 @@
</binding> </binding>
</checkbox> </checkbox>
<empty>
<stretch>1</stretch>
</empty>
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<text> <text>
@ -330,17 +343,20 @@
<object-name>random-vegetation</object-name> <object-name>random-vegetation</object-name>
</binding> </binding>
</checkbox> </checkbox>
<!--
<text> <text>
<row>4</row> <row>4</row>
<col>1</col> <col>1</col>
<label>density</label> <label>Density</label>
<enable> <enable>
<property>/sim/rendering/random-vegetation</property> <property>/sim/rendering/random-vegetation</property>
</enable> </enable>
</text> </text>
-->
<slider> <slider>
<row>4</row> <row>4</row>
<col>2</col> <col>1</col>
<halign>left</halign>
<name>vegetation-density</name> <name>vegetation-density</name>
<min>0</min> <min>0</min>
<max>10.0</max> <max>10.0</max>
@ -353,8 +369,9 @@
</slider> </slider>
<text> <text>
<row>4</row> <row>4</row>
<col>3</col> <col>2</col>
<label>12345678</label> <label>1234567890 </label>
<halign>left</halign>
<format>%.1f</format> <format>%.1f</format>
<live>true</live> <live>true</live>
<property>/sim/rendering/vegetation-density</property> <property>/sim/rendering/vegetation-density</property>
@ -363,7 +380,6 @@
</enable> </enable>
</text> </text>
<checkbox> <checkbox>
<enable> <enable>
<property>/sim/rendering/shaders/skydome</property> <property>/sim/rendering/shaders/skydome</property>
@ -386,13 +402,13 @@
</enable> </enable>
<row>5</row> <row>5</row>
<col>1</col> <col>1</col>
<colspan>3</colspan> <colspan>2</colspan>
<color> <color>
<red>1.0</red> <red>1.0</red>
<green>0.6</green> <green>0.6</green>
<blue>0.6</blue> <blue>0.6</blue>
</color> </color>
<label>(needs ALS and antialiasing)</label> <label>(needs ALS and Antialiasing)</label>
</text> </text>
</group> </group>
@ -404,15 +420,33 @@
</group> </group>
<!-- only for a gap -->
<group>
<layout>vbox</layout>
<default-padding>1</default-padding>
<text>
<label> </label>
</text>
</group>
<vrule/> <vrule/>
<!-- only for a gap -->
<group>
<layout>vbox</layout>
<default-padding>1</default-padding>
<text>
<label> </label>
</text>
</group>
<group> <group>
<layout>vbox</layout> <layout>vbox</layout>
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<text> <text>
<label>Shader effects</label> <label>Shader Effects</label>
<halign>left</halign> <halign>left</halign>
</text> </text>
<hrule> <hrule>
@ -536,7 +570,7 @@
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<text> <text>
<label>Atmospheric effects</label> <label>Atmospheric Effects</label>
<halign>left</halign> <halign>left</halign>
</text> </text>
<hrule> <hrule>
@ -658,82 +692,56 @@
</text> </text>
</group> </group>
<!-- mhab modified -->
<group> <group>
<layout>table</layout> <layout>table</layout>
<group> <group>
<layout>hbox</layout> <layout>vbox</layout>
<pref-height>35</pref-height>
<halign>left</halign> <halign>left</halign>
<row>0</row> <row>0</row>
<col>0</col> <col>0</col>
<checkbox> <checkbox>
<halign>left</halign> <halign>left</halign>
<label>Atmospheric light scattering (ALS)</label> <label>Atmospheric Light Scattering (ALS)</label>
<name>skydome-scattering</name> <name>skydome-scattering</name>
<visible> <enable>
<not> <not>
<property>/sim/rendering/rembrandt/enabled</property> <property>/sim/rendering/rembrandt/enabled</property>
</not> </not>
</visible> </enable>
<property>/sim/rendering/shaders/skydome</property> <property>/sim/rendering/shaders/skydome</property>
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>
<object-name>skydome-scattering</object-name> <object-name>skydome-scattering</object-name>
</binding> </binding>
</checkbox> </checkbox>
<!--<text>
<label>(Experimental)</label>
<visible>
<not>
<property>/sim/rendering/rembrandt/enabled</property>
</not>
</visible>
<color>
<red>1.0</red>
<green>0.6</green>
<blue>0.6</blue>
</color>
</text>-->
</group> </group>
<!--<text>
<row>1</row>
<col>0</col>
<label>This disables most effects/shaders.</label>
<halign>left</halign>
<visible>
<not>
<property>/sim/rendering/rembrandt/enabled</property>
</not>
</visible>
<color>
<red>1.0</red>
<green>0.6</green>
<blue>0.6</blue>
</color>
</text>-->
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<row>0</row> <row>1</row>
<col>0</col> <col>0</col>
<text> <text>
<label>Rembrandt</label> <label>Rembrandt</label>
<halign>left</halign> <halign>left</halign>
<visible> <enable>
<property>/sim/rendering/rembrandt/enabled</property> <property>/sim/rendering/rembrandt/enabled</property>
</visible> </enable>
</text> </text>
<text> <text>
<label>(Experimental)</label> <label>(experimental)</label>
<halign>left</halign> <halign>left</halign>
<color> <color>
<red>1.0</red> <red>1.0</red>
<green>0.6</green> <green>0.6</green>
<blue>0.6</blue> <blue>0.6</blue>
</color> </color>
<visible> <enable>
<property>/sim/rendering/rembrandt/enabled</property> <property>/sim/rendering/rembrandt/enabled</property>
</visible> </enable>
</text> </text>
<hrule> <hrule>
<stretch>true</stretch> <stretch>true</stretch>
@ -744,11 +752,11 @@
</group> </group>
<button> <button>
<row>1</row> <row>2</row>
<col>0</col> <col>0</col>
<visible> <enable>
<property>/sim/rendering/rembrandt/enabled</property> <property>/sim/rendering/rembrandt/enabled</property>
</visible> </enable>
<legend>Rembrandt Options</legend> <legend>Rembrandt Options</legend>
<halign>center</halign> <halign>center</halign>
<binding> <binding>
@ -769,12 +777,22 @@
</empty> </empty>
</group> </group>
<!-- only for a gap -->
<group>
<layout>vbox</layout>
<default-padding>1</default-padding>
<text>
<label> </label>
</text>
</group>
</group> </group>
<hrule/> <hrule/>
<button> <button>
<legend>OK</legend> <legend> OK </legend>
<default>true</default> <default>true</default>
<binding> <binding>
<command>nasal</command> <command>nasal</command>

View file

@ -301,14 +301,14 @@ command interface /autopilot/route-manager/input:
<row>0</row> <row>0</row>
<col>0</col> <col>0</col>
<halign>right</halign> <halign>right</halign>
<label>Departure:</label> <label> Departure:</label>
</text> </text>
<input> <input>
<row>0</row> <row>0</row>
<col>1</col> <col>1</col>
<halign>left</halign> <halign>left</halign>
<name>departure-airport</name> <name>departure-airport</name>
<pref-width>60</pref-width> <pref-width>70</pref-width>
<property>/autopilot/route-manager/departure/airport</property> <property>/autopilot/route-manager/departure/airport</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -388,7 +388,7 @@ command interface /autopilot/route-manager/input:
<row>1</row> <row>1</row>
<col>1</col> <col>1</col>
<halign>left</halign> <halign>left</halign>
<pref-width>60</pref-width> <pref-width>70</pref-width>
<name>destination-airport</name> <name>destination-airport</name>
<property>/autopilot/route-manager/destination/airport</property> <property>/autopilot/route-manager/destination/airport</property>
<live>true</live> <live>true</live>
@ -450,6 +450,7 @@ command interface /autopilot/route-manager/input:
<combo> <combo>
<row>1</row> <row>1</row>
<col>6</col> <col>6</col>
<pref-width>120</pref-width>
<halign>left</halign> <halign>left</halign>
<name>approach</name> <name>approach</name>
<property>/autopilot/route-manager/destination/approach</property> <property>/autopilot/route-manager/destination/approach</property>
@ -505,7 +506,7 @@ command interface /autopilot/route-manager/input:
<layout>hbox</layout> <layout>hbox</layout>
<text> <text>
<halign>right</halign> <halign>right</halign>
<label>Cruise Speed (kts):</label> <label> Cruise Speed (kts):</label>
</text> </text>
<input> <input>
<name>cruise-speed</name> <name>cruise-speed</name>
@ -566,6 +567,15 @@ command interface /autopilot/route-manager/input:
</text> </text>
</group> </group>
<group>
<layout>hbox</layout>
<default-padding>2</default-padding>
<!-- gap -->
<text>
<label> </label>
</text>
<waypointlist> <waypointlist>
<name>list</name> <name>list</name>
<halign>fill</halign> <halign>fill</halign>
@ -579,13 +589,22 @@ command interface /autopilot/route-manager/input:
</binding> </binding>
</waypointlist> </waypointlist>
<!-- gap -->
<text>
<label> </label>
</text>
</group>
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<default-padding>4</default-padding> <default-padding>4</default-padding>
<text> <text>
<label>Waypoint:</label> <label> Waypoint:</label>
<!--
<pref-width>60</pref-width> <pref-width>60</pref-width>
-->
</text> </text>
<input> <input>
@ -599,7 +618,9 @@ command interface /autopilot/route-manager/input:
<button> <button>
<legend>Add</legend> <legend>Add</legend>
<default>true</default> <default>true</default>
<!--
<pref-width>70</pref-width> <pref-width>70</pref-width>
-->
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>
<object-name>input</object-name> <object-name>input</object-name>
@ -612,22 +633,28 @@ command interface /autopilot/route-manager/input:
<command>dialog-update</command> <command>dialog-update</command>
</binding> </binding>
</button> </button>
<!-- gap -->
<text>
<label></label>
</text>
</group> </group>
<text> <text>
<padding>1</padding> <padding>1</padding>
<label>Format: (airport|fix|nav|lon,lat)[@alt] -- e.g. "KSFO@900"</label> <label>Format: (airport|fix|nav|lon,lat)[@alt] -- e.g. "KSFO@900"</label>
<color> <color>
<red>0.5</red> <red>0.7</red>
<green>0.5</green> <green>0.7</green>
<blue>0.5</blue> <blue>0.7</blue>
</color> </color>
</text> </text>
<!-- button field -->
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<halign>fill</halign> <halign>fill</halign>
<default-padding>6</default-padding> <default-padding>8</default-padding>
<button> <button>
<legend>Clear List</legend> <legend>Clear List</legend>
@ -640,6 +667,7 @@ command interface /autopilot/route-manager/input:
<button> <button>
<legend>Remove</legend> <legend>Remove</legend>
<equal>true</equal>
<enable> <enable>
<greater-than> <greater-than>
<property>/sim/gui/dialogs/route-manager/selection</property> <property>/sim/gui/dialogs/route-manager/selection</property>
@ -654,6 +682,7 @@ command interface /autopilot/route-manager/input:
<button> <button>
<legend>Route</legend> <legend>Route</legend>
<equal>true</equal>
<binding> <binding>
<command>nasal</command> <command>nasal</command>
<script>route()</script> <script>route()</script>
@ -699,9 +728,13 @@ command interface /autopilot/route-manager/input:
</button> </button>
<empty><stretch>true</stretch></empty> <empty><stretch>true</stretch></empty>
<!-- gap -->
<text>
<label></label>
</text>
<button> <button>
<legend>Load...</legend> <legend>Load ...</legend>
<equal>true</equal> <equal>true</equal>
<enable> <enable>
<not><property>/autopilot/route-manager/active</property></not> <not><property>/autopilot/route-manager/active</property></not>
@ -712,7 +745,7 @@ command interface /autopilot/route-manager/input:
</binding> </binding>
</button> </button>
<button> <button>
<legend>Save...</legend> <legend>Save ...</legend>
<equal>true</equal> <equal>true</equal>
<binding> <binding>
<command>nasal</command> <command>nasal</command>
@ -721,6 +754,7 @@ command interface /autopilot/route-manager/input:
</button> </button>
<button> <button>
<legend>Close</legend> <legend>Close</legend>
<equal>true</equal>
<key>Esc</key> <key>Esc</key>
<binding> <binding>
<command>dialog-close</command> <command>dialog-close</command>

View file

@ -49,6 +49,19 @@
<hrule/> <hrule/>
<group>
<layout>hbox</layout>
<halign>left</halign>
<!-- only for a gap -->
<group>
<layout>vbox</layout>
<default-padding>1</default-padding>
<text>
<label> </label>
</text>
</group>
<checkbox> <checkbox>
<halign>left</halign> <halign>left</halign>
<label>Enable AI traffic</label> <label>Enable AI traffic</label>
@ -61,6 +74,8 @@
</binding> </binding>
</checkbox> </checkbox>
</group>
<text><label/></text> <text><label/></text>
<text> <text>
@ -72,6 +87,15 @@
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<!-- only for a gap -->
<group>
<layout>vbox</layout>
<default-padding>1</default-padding>
<text>
<label> </label>
</text>
</group>
<group> <group>
<name>left-column</name> <name>left-column</name>
<layout>vbox</layout> <layout>vbox</layout>

View file

@ -34,6 +34,12 @@
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<!-- gap -->
<text>
<label></label>
</text>
<text> <text>
<halign>right</halign> <halign>right</halign>
<label>Sound Device:</label> <label>Sound Device:</label>
@ -53,6 +59,12 @@
<object-name>sound-dialog</object-name> <object-name>sound-dialog</object-name>
</binding> </binding>
</combo> </combo>
<!-- gap -->
<text>
<label></label>
</text>
</group> </group>
<hrule/> <hrule/>

View file

@ -35,12 +35,17 @@
</binding> </binding>
</button> </button>
</group> </group>
<hrule/> <hrule/>
<empty>
<stretch>true</stretch>
</empty>
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<default-padding>1</default-padding> <default-padding>1</default-padding>
<text><label>Stereo Mode</label></text> <text><label> Stereo Mode</label></text>
<empty><stretch>true</stretch></empty> <empty><stretch>true</stretch></empty>
<combo> <combo>
<pref-width>250</pref-width> <pref-width>250</pref-width>
@ -60,12 +65,17 @@
<command>dialog-apply</command> <command>dialog-apply</command>
</binding> </binding>
</combo> </combo>
<!-- gap -->
<text>
<label> </label>
</text>
</group> </group>
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<default-padding>1</default-padding> <default-padding>1</default-padding>
<text><label>Screen Distance</label></text> <text><label> Screen Distance</label></text>
<empty><stretch>true</stretch></empty> <empty><stretch>true</stretch></empty>
<slider> <slider>
<min>0</min> <min>0</min>
@ -86,7 +96,7 @@
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<default-padding>1</default-padding> <default-padding>1</default-padding>
<text><label>Eye Separation</label></text> <text><label> Eye Separation</label></text>
<empty><stretch>true</stretch></empty> <empty><stretch>true</stretch></empty>
<slider> <slider>
<min>0</min> <min>0</min>
@ -104,6 +114,10 @@
</text> </text>
</group> </group>
<empty>
<stretch>true</stretch>
</empty>
<hrule/> <hrule/>
<button> <button>

View file

@ -8,9 +8,6 @@
<x>-5</x> <x>-5</x>
<y>5</y> <y>5</y>
<color> <color>
<red>0.2</red>
<green>0.2</green>
<blue>0.2</blue>
<alpha>0.7</alpha> <alpha>0.7</alpha>
</color> </color>
@ -87,7 +84,7 @@
</nasal> </nasal>
<text> <text>
<label>xxxxx000 : 00 : 00.000</label> <label>xxxxx000 : 00 : 00.0</label>
<halign>center</halign> <halign>center</halign>
<live>true</live> <live>true</live>
<property>/sim/gui/dialogs/stopwatch-dialog/display</property> <property>/sim/gui/dialogs/stopwatch-dialog/display</property>
@ -109,11 +106,7 @@
<button> <button>
<legend>Start</legend> <legend>Start</legend>
<equal>true</equal> <equal>true</equal>
<pref-width>47</pref-width>
<color> <color>
<red type="float">0.3</red>
<green type="float">0.3</green>
<blue type="float">0.3</blue>
<alpha type="float">0.8</alpha> <alpha type="float">0.8</alpha>
</color> </color>
<binding> <binding>
@ -125,11 +118,7 @@
<button> <button>
<legend>Stop</legend> <legend>Stop</legend>
<default>true</default> <default>true</default>
<pref-width>47</pref-width>
<color> <color>
<red type="float">0.3</red>
<green type="float">0.3</green>
<blue type="float">0.3</blue>
<alpha type="float">0.8</alpha> <alpha type="float">0.8</alpha>
</color> </color>
<binding> <binding>
@ -141,11 +130,7 @@
<button> <button>
<legend>Reset</legend> <legend>Reset</legend>
<key>Delete</key> <key>Delete</key>
<pref-width>47</pref-width>
<color> <color>
<red type="float">0.3</red>
<green type="float">0.3</green>
<blue type="float">0.3</blue>
<alpha type="float">0.8</alpha> <alpha type="float">0.8</alpha>
</color> </color>
<binding> <binding>
@ -157,13 +142,9 @@
<button> <button>
<legend>Close</legend> <legend>Close</legend>
<color> <color>
<red type="float">0.3</red>
<green type="float">0.3</green>
<blue type="float">0.3</blue>
<alpha type="float">0.8</alpha> <alpha type="float">0.8</alpha>
</color> </color>
<key>Esc</key> <key>Esc</key>
<pref-width>47</pref-width>
<binding> <binding>
<command>dialog-close</command> <command>dialog-close</command>
</binding> </binding>

View file

@ -100,7 +100,7 @@
<text> <text>
<halign>left</halign> <halign>left</halign>
<label>Uncheck a system to fail it, or set the Mean Time/Cycles Between Failures.</label> <label> Uncheck a system to fail it, or set the Mean Time/Cycles Between Failures. </label>
</text> </text>
<hrule/> <hrule/>
@ -187,7 +187,7 @@
<row>4</row> <row>4</row>
<col>0</col> <col>0</col>
<halign>right</halign> <halign>right</halign>
<label>Electrical System</label> <label> Electrical System</label>
</text> </text>
<checkbox> <checkbox>
@ -378,12 +378,23 @@
</input-template> </input-template>
</group> </group>
<!-- only for a gap -->
<group>
<layout>vbox</layout>
<default-padding>1</default-padding>
<text>
<label> </label>
</text>
</group>
</group> </group>
<hrule/> <hrule/>
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<default-padding>7</default-padding>
<button> <button>
<legend>OK</legend> <legend>OK</legend>

View file

@ -59,6 +59,8 @@
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<default-padding>4</default-padding>
<empty><stretch>1</stretch></empty> <empty><stretch>1</stretch></empty>
<text> <text>
@ -100,10 +102,20 @@
<halign>left</halign> <halign>left</halign>
<equal>false</equal> <equal>false</equal>
<!-- only for a gap -->
<text>
<row>0</row>
<col>0</col>
<halign>center</halign>
<label> </label>
</text>
<checkbox> <checkbox>
<name>terrasync-enabled</name> <name>terrasync-enabled</name>
<halign>left</halign> <halign>left</halign>
<row>1</row><col>1</col><colspan>3</colspan> <row>0</row>
<col>1</col>
<colspan>3</colspan>
<property>/sim/terrasync/enabled</property> <property>/sim/terrasync/enabled</property>
<label>Enable automatic download/update</label> <label>Enable automatic download/update</label>
<live>true</live> <live>true</live>
@ -119,10 +131,22 @@
</enable> </enable>
</checkbox> </checkbox>
<!-- only for a gap -->
<text>
<row>1</row>
<col>1</col>
<halign>center</halign>
<label> </label>
</text>
<checkbox> <checkbox>
<name>ai-data-enabled</name> <name>ai-data-enabled</name>
<halign>left</halign> <halign>left</halign>
<row>2</row><col>2</col><colspan>2</colspan> <row>1</row>
<col>2</col>
<!--
<colspan>2</colspan>
-->
<property>/sim/terrasync/ai-data-enabled</property> <property>/sim/terrasync/ai-data-enabled</property>
<label>Download traffic and multi-player aircraft</label> <label>Download traffic and multi-player aircraft</label>
<live>true</live> <live>true</live>
@ -138,7 +162,9 @@
<checkbox> <checkbox>
<name>other-data-enabled</name> <name>other-data-enabled</name>
<halign>left</halign> <halign>left</halign>
<row>3</row><col>2</col><colspan>2</colspan> <row>2</row>
<col>2</col>
<colspan>2</colspan>
<property>/sim/terrasync/other-data-enabled</property> <property>/sim/terrasync/other-data-enabled</property>
<label>Download other data files</label> <label>Download other data files</label>
<live>true</live> <live>true</live>
@ -153,7 +179,7 @@
<text> <text>
<name>warning_text</name> <name>warning_text</name>
<row>4</row> <row>3</row>
<col>0</col><colspan>4</colspan> <col>0</col><colspan>4</colspan>
<color> <color>
<red>1.0</red> <red>1.0</red>
@ -172,7 +198,13 @@
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<halign>left</halign> <halign>left</halign>
<default-padding>2</default-padding> <default-padding>4</default-padding>
<!-- only for a gap -->
<text>
<halign>center</halign>
<label> </label>
</text>
<button> <button>
<legend>Information</legend> <legend>Information</legend>
@ -183,8 +215,14 @@
</binding> </binding>
</button> </button>
<!-- only for a gap -->
<text>
<halign>center</halign>
<label></label>
</text>
<button> <button>
<legend>Log</legend> <legend> Log </legend>
<binding> <binding>
<command>property-assign</command> <command>property-assign</command>
<property>/sim/gui/dialogs/terrasync/display-mode</property> <property>/sim/gui/dialogs/terrasync/display-mode</property>
@ -194,6 +232,15 @@
</group> </group>
<!-- 'tabbed' group controlled by display-mode property --> <!-- 'tabbed' group controlled by display-mode property -->
<group>
<layout>hbox</layout>
<halign>left</halign>
<!-- gap -->
<text>
<label></label>
</text>
<group> <group>
<layout>table</layout> <layout>table</layout>
<halign>fill</halign> <halign>fill</halign>
@ -330,23 +377,29 @@
</equals> </equals>
</visible> </visible>
<halign>fill</halign> <halign>fill</halign>
<valign>fill</valign> <valign>fill</valign>
<stretch>true</stretch> <stretch>true</stretch>
<pref-height>200</pref-height> <pref-width>600</pref-width>
<pref-height>600</pref-height> <pref-height>300</pref-height>
<logclass>terrasync</logclass> <logclass>terrasync</logclass>
<padding>6</padding> <padding>6</padding>
</loglist> </loglist>
</group>
<!-- gap -->
<text>
<label></label>
</text>
</group> <!-- end of tabbed group --> </group> <!-- end of tabbed group -->
<hrule/> <hrule/>
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<default-padding>10</default-padding> <default-padding>3</default-padding>
<empty><stretch>true</stretch></empty> <empty><stretch>true</stretch></empty>
<button> <button>
@ -366,7 +419,7 @@
</button> </button>
<button> <button>
<legend>Apply</legend> <legend> Apply </legend>
<equal>true</equal> <equal>true</equal>
<border>2</border> <border>2</border>
<binding> <binding>

View file

@ -44,9 +44,15 @@
<layout>hbox</layout> <layout>hbox</layout>
<default-padding>0</default-padding> <default-padding>0</default-padding>
<!-- gap -->
<text>
<label> </label>
</text>
<!-- Left Column --> <!-- Left Column -->
<group> <group>
<layout>vbox</layout> <layout>vbox</layout>
<group> <group>
<layout>vbox</layout> <layout>vbox</layout>
<default-padding>1</default-padding> <default-padding>1</default-padding>
@ -363,7 +369,7 @@
<name>pressure-sea-level-inhg</name> <name>pressure-sea-level-inhg</name>
<row>1</row> <row>1</row>
<col>3</col> <col>3</col>
<pref-width>50</pref-width> <pref-width>75</pref-width>
<property>/environment/config/boundary/entry[0]/pressure-sea-level-inhg</property> <property>/environment/config/boundary/entry[0]/pressure-sea-level-inhg</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -382,6 +388,9 @@
</group> </group>
</group> </group>
<!-- Precipitation End --> <!-- Precipitation End -->
<empty>
<stretch>true</stretch>
</empty>
</group> </group>
<!-- Left Column End --> <!-- Left Column End -->
@ -401,7 +410,7 @@
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<text> <text>
<label>Aloft (All Altitudes ft-AMSL)</label> <label> Aloft (All Altitudes ft-AMSL)</label>
</text> </text>
<hrule> <hrule>
<stretch>true</stretch> <stretch>true</stretch>
@ -410,12 +419,16 @@
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<!-- gap -->
<text>
<label> </label>
</text>
<group> <group>
<layout>table</layout> <layout>table</layout>
<text> <text>
<row>0</row> <row>0</row>
<col>0</col> <col>0</col>
<label>Altitude</label> <label>Altitude </label>
</text> </text>
<text> <text>
@ -453,7 +466,7 @@
<name>aloft-4-elevation-ft</name> <name>aloft-4-elevation-ft</name>
<row>1</row> <row>1</row>
<col>0</col> <col>0</col>
<pref-width>52</pref-width> <pref-width>70</pref-width>
<property>/environment/config/aloft/entry[4]/elevation-ft</property> <property>/environment/config/aloft/entry[4]/elevation-ft</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -466,7 +479,7 @@
<name>aloft-4-wind-from-heading-deg</name> <name>aloft-4-wind-from-heading-deg</name>
<row>1</row> <row>1</row>
<col>1</col> <col>1</col>
<pref-width>40</pref-width> <pref-width>50</pref-width>
<property>/environment/config/aloft/entry[4]/wind-from-heading-deg</property> <property>/environment/config/aloft/entry[4]/wind-from-heading-deg</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -479,7 +492,7 @@
<name>aloft-4-wind-speed-kt</name> <name>aloft-4-wind-speed-kt</name>
<row>1</row> <row>1</row>
<col>2</col> <col>2</col>
<pref-width>35</pref-width> <pref-width>45</pref-width>
<property>/environment/config/aloft/entry[4]/wind-speed-kt</property> <property>/environment/config/aloft/entry[4]/wind-speed-kt</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -492,7 +505,7 @@
<name>aloft-4-visibility-m</name> <name>aloft-4-visibility-m</name>
<row>1</row> <row>1</row>
<col>3</col> <col>3</col>
<pref-width>55</pref-width> <pref-width>75</pref-width>
<property>/environment/config/aloft/entry[4]/visibility-m</property> <property>/environment/config/aloft/entry[4]/visibility-m</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -552,7 +565,7 @@
<name>aloft-3-elevation-ft</name> <name>aloft-3-elevation-ft</name>
<row>2</row> <row>2</row>
<col>0</col> <col>0</col>
<pref-width>52</pref-width> <pref-width>70</pref-width>
<property>/environment/config/aloft/entry[3]/elevation-ft</property> <property>/environment/config/aloft/entry[3]/elevation-ft</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -565,7 +578,7 @@
<name>aloft-3-wind-from-heading-deg</name> <name>aloft-3-wind-from-heading-deg</name>
<row>2</row> <row>2</row>
<col>1</col> <col>1</col>
<pref-width>40</pref-width> <pref-width>50</pref-width>
<property>/environment/config/aloft/entry[3]/wind-from-heading-deg</property> <property>/environment/config/aloft/entry[3]/wind-from-heading-deg</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -578,7 +591,7 @@
<name>aloft-3-wind-speed-kt</name> <name>aloft-3-wind-speed-kt</name>
<row>2</row> <row>2</row>
<col>2</col> <col>2</col>
<pref-width>35</pref-width> <pref-width>45</pref-width>
<property>/environment/config/aloft/entry[3]/wind-speed-kt</property> <property>/environment/config/aloft/entry[3]/wind-speed-kt</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -591,7 +604,7 @@
<name>aloft-3-visibility-m</name> <name>aloft-3-visibility-m</name>
<row>2</row> <row>2</row>
<col>3</col> <col>3</col>
<pref-width>55</pref-width> <pref-width>75</pref-width>
<property>/environment/config/aloft/entry[3]/visibility-m</property> <property>/environment/config/aloft/entry[3]/visibility-m</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -651,7 +664,7 @@
<name>aloft-2-elevation-ft</name> <name>aloft-2-elevation-ft</name>
<row>3</row> <row>3</row>
<col>0</col> <col>0</col>
<pref-width>52</pref-width> <pref-width>70</pref-width>
<property>/environment/config/aloft/entry[2]/elevation-ft</property> <property>/environment/config/aloft/entry[2]/elevation-ft</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -664,7 +677,7 @@
<name>aloft-2-wind-from-heading-deg</name> <name>aloft-2-wind-from-heading-deg</name>
<row>3</row> <row>3</row>
<col>1</col> <col>1</col>
<pref-width>40</pref-width> <pref-width>50</pref-width>
<property>/environment/config/aloft/entry[2]/wind-from-heading-deg</property> <property>/environment/config/aloft/entry[2]/wind-from-heading-deg</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -677,7 +690,7 @@
<name>aloft-2-wind-speed-kt</name> <name>aloft-2-wind-speed-kt</name>
<row>3</row> <row>3</row>
<col>2</col> <col>2</col>
<pref-width>35</pref-width> <pref-width>45</pref-width>
<property>/environment/config/aloft/entry[2]/wind-speed-kt</property> <property>/environment/config/aloft/entry[2]/wind-speed-kt</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -690,7 +703,7 @@
<name>aloft-2-visibility-m</name> <name>aloft-2-visibility-m</name>
<row>3</row> <row>3</row>
<col>3</col> <col>3</col>
<pref-width>55</pref-width> <pref-width>75</pref-width>
<property>/environment/config/aloft/entry[2]/visibility-m</property> <property>/environment/config/aloft/entry[2]/visibility-m</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -751,7 +764,7 @@
<name>aloft-1-elevation-ft</name> <name>aloft-1-elevation-ft</name>
<row>4</row> <row>4</row>
<col>0</col> <col>0</col>
<pref-width>52</pref-width> <pref-width>70</pref-width>
<property>/environment/config/aloft/entry[1]/elevation-ft</property> <property>/environment/config/aloft/entry[1]/elevation-ft</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -764,7 +777,7 @@
<name>aloft-1-wind-from-heading-deg</name> <name>aloft-1-wind-from-heading-deg</name>
<row>4</row> <row>4</row>
<col>1</col> <col>1</col>
<pref-width>40</pref-width> <pref-width>50</pref-width>
<property>/environment/config/aloft/entry[1]/wind-from-heading-deg</property> <property>/environment/config/aloft/entry[1]/wind-from-heading-deg</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -777,7 +790,7 @@
<name>aloft-1-wind-speed-kt</name> <name>aloft-1-wind-speed-kt</name>
<row>4</row> <row>4</row>
<col>2</col> <col>2</col>
<pref-width>35</pref-width> <pref-width>45</pref-width>
<property>/environment/config/aloft/entry[1]/wind-speed-kt</property> <property>/environment/config/aloft/entry[1]/wind-speed-kt</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -790,7 +803,7 @@
<name>aloft-1-visibility-m</name> <name>aloft-1-visibility-m</name>
<row>4</row> <row>4</row>
<col>3</col> <col>3</col>
<pref-width>55</pref-width> <pref-width>75</pref-width>
<property>/environment/config/aloft/entry[1]/visibility-m</property> <property>/environment/config/aloft/entry[1]/visibility-m</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -850,7 +863,7 @@
<name>aloft-0-elevation-ft</name> <name>aloft-0-elevation-ft</name>
<row>5</row> <row>5</row>
<col>0</col> <col>0</col>
<pref-width>52</pref-width> <pref-width>70</pref-width>
<property>/environment/config/aloft/entry[0]/elevation-ft</property> <property>/environment/config/aloft/entry[0]/elevation-ft</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -863,7 +876,7 @@
<name>aloft-0-wind-from-heading-deg</name> <name>aloft-0-wind-from-heading-deg</name>
<row>5</row> <row>5</row>
<col>1</col> <col>1</col>
<pref-width>40</pref-width> <pref-width>50</pref-width>
<property>/environment/config/aloft/entry[0]/wind-from-heading-deg</property> <property>/environment/config/aloft/entry[0]/wind-from-heading-deg</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -876,7 +889,7 @@
<name>aloft-0-wind-speed-kt</name> <name>aloft-0-wind-speed-kt</name>
<row>5</row> <row>5</row>
<col>2</col> <col>2</col>
<pref-width>35</pref-width> <pref-width>45</pref-width>
<property>/environment/config/aloft/entry[0]/wind-speed-kt</property> <property>/environment/config/aloft/entry[0]/wind-speed-kt</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -889,7 +902,7 @@
<name>aloft-0-visibility-m</name> <name>aloft-0-visibility-m</name>
<row>5</row> <row>5</row>
<col>3</col> <col>3</col>
<pref-width>55</pref-width> <pref-width>75</pref-width>
<property>/environment/config/aloft/entry[0]/visibility-m</property> <property>/environment/config/aloft/entry[0]/visibility-m</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -962,7 +975,7 @@
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<text> <text>
<label>Boundary (All Elevations ft-AGL)</label> <label> Boundary (All Elevations ft-AGL)</label>
</text> </text>
<hrule> <hrule>
<stretch>true</stretch> <stretch>true</stretch>
@ -971,6 +984,10 @@
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<!-- gap -->
<text>
<label> </label>
</text>
<group> <group>
<layout>table</layout> <layout>table</layout>
@ -1006,11 +1023,17 @@
<label>Dewpt (C)</label> <label>Dewpt (C)</label>
</text> </text>
<text>
<row>0</row>
<col>6</col>
<label>Turbulence</label>
</text>
<input> <input>
<name>boundary-1-elevation-ft</name> <name>boundary-1-elevation-ft</name>
<row>1</row> <row>1</row>
<col>0</col> <col>0</col>
<pref-width>52</pref-width> <pref-width>70</pref-width>
<property>/environment/config/boundary/entry[1]/elevation-ft</property> <property>/environment/config/boundary/entry[1]/elevation-ft</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -1023,7 +1046,7 @@
<name>boundary-1-wind-from-heading-deg</name> <name>boundary-1-wind-from-heading-deg</name>
<row>1</row> <row>1</row>
<col>1</col> <col>1</col>
<pref-width>40</pref-width> <pref-width>50</pref-width>
<property>/environment/config/boundary/entry[1]/wind-from-heading-deg</property> <property>/environment/config/boundary/entry[1]/wind-from-heading-deg</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -1036,7 +1059,7 @@
<name>boundary-1-wind-speed-kt</name> <name>boundary-1-wind-speed-kt</name>
<row>1</row> <row>1</row>
<col>2</col> <col>2</col>
<pref-width>35</pref-width> <pref-width>45</pref-width>
<property>/environment/config/boundary/entry[1]/wind-speed-kt</property> <property>/environment/config/boundary/entry[1]/wind-speed-kt</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -1049,7 +1072,7 @@
<name>boundary-1-visibility-m</name> <name>boundary-1-visibility-m</name>
<row>1</row> <row>1</row>
<col>3</col> <col>3</col>
<pref-width>55</pref-width> <pref-width>75</pref-width>
<property>/environment/config/boundary/entry[1]/visibility-m</property> <property>/environment/config/boundary/entry[1]/visibility-m</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -1109,7 +1132,7 @@
<name>boundary-0-elevation-ft</name> <name>boundary-0-elevation-ft</name>
<row>2</row> <row>2</row>
<col>0</col> <col>0</col>
<pref-width>52</pref-width> <pref-width>70</pref-width>
<property>/environment/config/boundary/entry[0]/elevation-ft</property> <property>/environment/config/boundary/entry[0]/elevation-ft</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -1122,7 +1145,7 @@
<name>boundary-0-wind-from-heading-deg</name> <name>boundary-0-wind-from-heading-deg</name>
<row>2</row> <row>2</row>
<col>1</col> <col>1</col>
<pref-width>40</pref-width> <pref-width>50</pref-width>
<property>/environment/config/boundary/entry[0]/wind-from-heading-deg</property> <property>/environment/config/boundary/entry[0]/wind-from-heading-deg</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -1135,7 +1158,7 @@
<name>boundary-0-wind-speed-kt</name> <name>boundary-0-wind-speed-kt</name>
<row>2</row> <row>2</row>
<col>2</col> <col>2</col>
<pref-width>35</pref-width> <pref-width>45</pref-width>
<property>/environment/config/boundary/entry[0]/wind-speed-kt</property> <property>/environment/config/boundary/entry[0]/wind-speed-kt</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -1148,7 +1171,7 @@
<name>boundary-0-visibility-m</name> <name>boundary-0-visibility-m</name>
<row>2</row> <row>2</row>
<col>3</col> <col>3</col>
<pref-width>55</pref-width> <pref-width>75</pref-width>
<property>/environment/config/boundary/entry[0]/visibility-m</property> <property>/environment/config/boundary/entry[0]/visibility-m</property>
<live>true</live> <live>true</live>
<binding> <binding>
@ -1210,6 +1233,9 @@
</empty> </empty>
</group> </group>
<empty>
<stretch>true</stretch>
</empty>
</group> </group>
<!-- Boundary End --> <!-- Boundary End -->

View file

@ -331,20 +331,34 @@
<hrule/> <hrule/>
<group>
<layout>hbox</layout>
<!-- only for a gap -->
<group>
<layout>vbox</layout>
<default-padding>1</default-padding>
<text>
<label> </label>
</text>
</group>
<group> <group>
<layout>vbox</layout> <layout>vbox</layout>
<text> <text>
<halign>left</halign> <halign>left</halign>
<label>Select weather engine</label> <label>Select Weather Engine</label>
</text> </text>
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<halign>center</halign> <halign>left</halign>
<group> <group>
<layout>table</layout> <layout>table</layout>
<!--
<pref-width>500</pref-width> <pref-width>500</pref-width>
-->
<radio> <radio>
<row>0</row> <row>0</row>
<col>0</col> <col>0</col>
@ -377,10 +391,11 @@
</radio> </radio>
<checkbox> <checkbox>
<row>0</row> <row>0</row>
<col>2</col> <col>1</col>
<halign>right</halign>
<name>manual-weather-config</name> <name>manual-weather-config</name>
<property>sim/gui/dialogs/metar/mode/manual-weather</property> <property>sim/gui/dialogs/metar/mode/manual-weather</property>
<label>Manually Configure Weather</label> <label>Manual Configuration</label>
<live>true</live> <live>true</live>
<enable> <enable>
<property>sim/gui/dialogs/metar/mode/global-weather</property> <property>sim/gui/dialogs/metar/mode/global-weather</property>
@ -397,12 +412,20 @@
</binding> </binding>
</checkbox> </checkbox>
<empty>
<row>0</row>
<col>2</col>
<stretch>true</stretch>
</empty>
<button> <button>
<row>0</row> <row>0</row>
<col>3</col> <col>3</col>
<halign>center</halign> <halign>right</halign>
<!--
<pref-width>170</pref-width> <pref-width>170</pref-width>
<legend>Manual Configuration...</legend> -->
<legend>Manual Configuration ...</legend>
<enable> <enable>
<property>sim/gui/dialogs/metar/mode/manual-weather</property> <property>sim/gui/dialogs/metar/mode/manual-weather</property>
</enable> </enable>
@ -416,7 +439,6 @@
<value>1</value> <value>1</value>
</binding>--> </binding>-->
</button> </button>
</group> </group>
</group> </group>
@ -424,30 +446,34 @@
<name>basic description</name> <name>basic description</name>
<halign>fill</halign> <halign>fill</halign>
<stretch>true</stretch> <stretch>true</stretch>
<!--
<pref-width>250</pref-width> <pref-width>250</pref-width>
<pref-height>55</pref-height> -->
<slider>0</slider> <pref-height>70</pref-height>
<slider>15</slider>
<editable>false</editable> <editable>false</editable>
<wrap>true</wrap> <wrap>true</wrap>
<live>true</live> <live>true</live>
<top-line>0</top-line>
<property>sim/gui/dialogs/metar/description[1]</property> <property>sim/gui/dialogs/metar/description[1]</property>
</textbox> </textbox>
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<halign>center</halign> <halign>left</halign>
<group> <group>
<layout>table</layout> <layout>table</layout>
<!--
<pref-width>500</pref-width> <pref-width>500</pref-width>
-->
<radio> <radio>
<row>0</row> <row>0</row>
<col>0</col> <col>0</col>
<label>Detailed Weather</label>
<halign>left</halign> <halign>left</halign>
<name>simple-weather</name> <name>simple-weather</name>
<property>sim/gui/dialogs/metar/mode/local-weather</property> <property>sim/gui/dialogs/metar/mode/local-weather</property>
<live>true</live> <live>true</live>
<label>Detailed Weather</label>
<binding> <binding>
<command>property-assign</command> <command>property-assign</command>
<property>sim/gui/dialogs/metar/mode/local-weather</property> <property>sim/gui/dialogs/metar/mode/local-weather</property>
@ -471,17 +497,26 @@
</binding> </binding>
</radio> </radio>
<label> <text>
<row>0</row>
<col>1</col>
<label> </label>
</text>
<empty>
<row>0</row> <row>0</row>
<col>2</col> <col>2</col>
</label> <stretch>true</stretch>
</empty>
<button> <button>
<row>0</row> <row>0</row>
<col>3</col> <col>3</col>
<legend> Advanced Settings ...</legend>
<halign>right</halign> <halign>right</halign>
<!--
<pref-width>170</pref-width> <pref-width>170</pref-width>
<legend>Advanced Settings...</legend> -->
<enable> <enable>
<property>sim/gui/dialogs/metar/mode/local-weather</property> <property>sim/gui/dialogs/metar/mode/local-weather</property>
<value>1</value> <value>1</value>
@ -498,47 +533,83 @@
<name>advance-description</name> <name>advance-description</name>
<halign>fill</halign> <halign>fill</halign>
<stretch>true</stretch> <stretch>true</stretch>
<!--
<pref-width>250</pref-width> <pref-width>250</pref-width>
<pref-height>55</pref-height> -->
<slider>0</slider> <pref-height>70</pref-height>
<slider>15</slider>
<editable>false</editable> <editable>false</editable>
<wrap>true</wrap> <wrap>true</wrap>
<live>true</live> <live>true</live>
<top-line>0</top-line>
<property>sim/gui/dialogs/metar/description[2]</property> <property>sim/gui/dialogs/metar/description[2]</property>
</textbox> </textbox>
<!--
<group> <group>
<layout>table</layout> <layout>table</layout>
</group> </group>
-->
<empty> <empty>
<stretch>true</stretch> <stretch>true</stretch>
</empty> </empty>
</group> </group>
<!-- only for a gap -->
<group>
<layout>vbox</layout>
<default-padding>1</default-padding>
<text>
<label> </label>
</text>
</group>
</group>
<hrule/> <hrule/>
<group> <group>
<layout>vbox</layout> <layout>hbox</layout>
<!-- only for a gap -->
<group>
<layout>vbox</layout>
<default-padding>1</default-padding>
<text>
<label> </label>
</text>
</group>
<group>
<layout>vbox</layout>
<halign>left</halign>
<group>
<layout>hbox</layout>
<halign>left</halign>
<group> <group>
<layout>table</layout> <layout>table</layout>
<text> <text>
<row>0</row> <row>0</row>
<col>0</col> <col>0</col>
<label>Weather Conditions</label> <label>Weather Conditions</label>
<halign>left</halign>
</text>
<text>
<row>0</row>
<col>1</col>
<label> </label>
<halign>left</halign>
</text> </text>
<combo> <combo>
<row>0</row> <row>0</row>
<col>1</col> <col>2</col>
<name>source-selection</name> <name>source-selection</name>
<halign>fill</halign> <halign>fill</halign>
<stretch>true</stretch> <stretch>true</stretch>
<pref-width>400</pref-width> <pref-width>300</pref-width>
<property>sim/gui/dialogs/metar/source-selection</property> <property>sim/gui/dialogs/metar/source-selection</property>
<enable> <enable>
<equals> <equals>
@ -555,7 +626,7 @@
<object-name>metar-string</object-name> <object-name>metar-string</object-name>
</binding> </binding>
</combo> </combo>
</group>
</group> </group>
<group> <group>
@ -566,6 +637,9 @@
<empty> <empty>
<stretch>true</stretch> <stretch>true</stretch>
</empty> </empty>
<text>
<label> </label>
</text>
<text> <text>
<label>Data is valid</label> <label>Data is valid</label>
</text> </text>
@ -585,12 +659,15 @@
<name>metar-string</name> <name>metar-string</name>
<halign>fill</halign> <halign>fill</halign>
<stretch>true</stretch> <stretch>true</stretch>
<!--
<pref-width>250</pref-width> <pref-width>250</pref-width>
<pref-height>60</pref-height> -->
<editable>true</editable> <pref-height>70</pref-height>
<slider>15</slider>
<editable>false</editable>
<wrap>true</wrap> <wrap>true</wrap>
<live>false</live> <live>true</live>
<slider>false</slider> <top-line>0</top-line>
<property>sim/gui/dialogs/metar/metar-string</property> <property>sim/gui/dialogs/metar/metar-string</property>
<enable> <enable>
<and> <and>
@ -625,16 +702,26 @@
<name>description</name> <name>description</name>
<halign>fill</halign> <halign>fill</halign>
<stretch>true</stretch> <stretch>true</stretch>
<pref-width>250</pref-width> <pref-width>450</pref-width>
<pref-height>150</pref-height> <pref-height>100</pref-height>
<slider>0</slider> <slider>15</slider>
<editable>false</editable> <editable>false</editable>
<wrap>true</wrap> <wrap>true</wrap>
<live>true</live> <live>true</live>
<top-line>0</top-line>
<property>sim/gui/dialogs/metar/description[0]</property> <property>sim/gui/dialogs/metar/description[0]</property>
</textbox> </textbox>
</group>
<!-- only for a gap -->
<group>
<layout>vbox</layout>
<default-padding>1</default-padding>
<text>
<label> </label>
</text>
</group>
</group> </group>
@ -648,6 +735,7 @@
<button> <button>
<legend>OK</legend> <legend>OK</legend>
<equal>true</equal>
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>
<object-name>metar-string</object-name> <object-name>metar-string</object-name>
@ -665,6 +753,7 @@
<button> <button>
<legend>Apply</legend> <legend>Apply</legend>
<equal>true</equal>
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>
<object-name>metar-string</object-name> <object-name>metar-string</object-name>
@ -679,6 +768,7 @@
<button> <button>
<legend>Close</legend> <legend>Close</legend>
<equal>true</equal>
<default>true</default> <default>true</default>
<key>Esc</key> <key>Esc</key>
<binding> <binding>

View file

@ -753,6 +753,14 @@
<enabled>false</enabled> <enabled>false</enabled>
</item> </item>
<item>
<name>cycle-gui</name>
<binding>
<command>nasal</command>
<script>gui.nextStyle()</script>
</binding>
</item>
</menu> </menu>
<menu> <menu>