Location in air dialog: switch option based on user input
This commit is contained in:
parent
3bf75cd248
commit
5525a00090
1 changed files with 28 additions and 0 deletions
|
@ -100,6 +100,10 @@
|
||||||
<input>
|
<input>
|
||||||
<row>0</row><col>2</col>
|
<row>0</row><col>2</col>
|
||||||
<property>/sim/presets/airport-id</property>
|
<property>/sim/presets/airport-id</property>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>set_radio("airport")</script>
|
||||||
|
</binding>
|
||||||
</input>
|
</input>
|
||||||
<text>
|
<text>
|
||||||
<row>0</row><col>3</col>
|
<row>0</row><col>3</col>
|
||||||
|
@ -109,6 +113,10 @@
|
||||||
<input>
|
<input>
|
||||||
<row>0</row><col>4</col>
|
<row>0</row><col>4</col>
|
||||||
<property>/sim/presets/runway</property>
|
<property>/sim/presets/runway</property>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>set_radio("airport")</script>
|
||||||
|
</binding>
|
||||||
</input>
|
</input>
|
||||||
|
|
||||||
<radio>
|
<radio>
|
||||||
|
@ -131,6 +139,10 @@
|
||||||
<input>
|
<input>
|
||||||
<row>1</row><col>2</col>
|
<row>1</row><col>2</col>
|
||||||
<property>/sim/presets/longitude-deg</property>
|
<property>/sim/presets/longitude-deg</property>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>set_radio("lonlat")</script>
|
||||||
|
</binding>
|
||||||
</input>
|
</input>
|
||||||
<text>
|
<text>
|
||||||
<row>1</row><col>3</col>
|
<row>1</row><col>3</col>
|
||||||
|
@ -140,6 +152,10 @@
|
||||||
<input>
|
<input>
|
||||||
<row>1</row><col>4</col>
|
<row>1</row><col>4</col>
|
||||||
<property>/sim/presets/latitude-deg</property>
|
<property>/sim/presets/latitude-deg</property>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>set_radio("lonlat")</script>
|
||||||
|
</binding>
|
||||||
</input>
|
</input>
|
||||||
|
|
||||||
<radio>
|
<radio>
|
||||||
|
@ -162,6 +178,10 @@
|
||||||
<input>
|
<input>
|
||||||
<row>2</row><col>2</col>
|
<row>2</row><col>2</col>
|
||||||
<property>/sim/presets/vor-id</property>
|
<property>/sim/presets/vor-id</property>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>set_radio("vor")</script>
|
||||||
|
</binding>
|
||||||
</input>
|
</input>
|
||||||
|
|
||||||
<radio>
|
<radio>
|
||||||
|
@ -186,6 +206,10 @@
|
||||||
<input>
|
<input>
|
||||||
<row>3</row><col>2</col>
|
<row>3</row><col>2</col>
|
||||||
<property>/sim/presets/ndb-id</property>
|
<property>/sim/presets/ndb-id</property>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>set_radio("ndb")</script>
|
||||||
|
</binding>
|
||||||
</input>
|
</input>
|
||||||
|
|
||||||
<radio>
|
<radio>
|
||||||
|
@ -210,6 +234,10 @@
|
||||||
<input>
|
<input>
|
||||||
<row>4</row><col>2</col>
|
<row>4</row><col>2</col>
|
||||||
<property>/sim/presets/fix</property>
|
<property>/sim/presets/fix</property>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>set_radio("fix")</script>
|
||||||
|
</binding>
|
||||||
</input>
|
</input>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue