1
0
Fork 0
fgdata/gui/dialogs/atc-dialog.xml
mfranz 02b79bb3aa add <keynum> to trigger pre-defined transmissions via keyboard
("1", "2", ...). The real key number is set from ATCDialog.cxx.
2005-11-02 13:14:15 +00:00

43 lines
900 B
XML

<?xml version="1.0"?>
<PropertyList>
<name>atc-dialog</name>
<y>70</y>
<layout>vbox</layout>
<text>
<label>ATC Communication</label>
</text>
<hrule><dummy/></hrule>
<group>
<name>transmission-choice</name>
<layout>vbox</layout>
<!-- using one copy of button-template per ATC message -->
<button-template>
<hide>true</hide>
<legend>LEGEND</legend>
<equal>true</equal>
<property>PROPERTY</property>
<keynum>-1</keynum>
<binding>
<command>property-assign</command>
<property>/sim/atc/transmission-num</property>
<value type="int">TRANSMISSION NUMBER</value>
</binding>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button-template>
</group>
<button>
<legend>Cancel</legend>
<binding>
<command>dialog-close</command>
</binding>
</button>
</PropertyList>