1
0
Fork 0

Formerly hard-coded dialogs from ATCDialog.cxx. Some text will be

overwritten by C++ code before displaying. These are written in
upper case letters, but this is only a hint for editors of this
file and doesn't impress ATCDialog.cxx.
This commit is contained in:
mfranz 2005-10-26 17:59:28 +00:00
parent ee860f3e88
commit c3442aa9d8
3 changed files with 162 additions and 0 deletions

View file

@ -0,0 +1,42 @@
<?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>
<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>

View file

@ -0,0 +1,41 @@
<?xml version="1.0"?>
<PropertyList>
<name>atc-freq-display</name>
<x>70</x>
<layout>vbox</layout>
<text>
<label>TITLE ("ICAO Frequencies")</label>
</text>
<hrule><dummy/></hrule>
<group>
<name>frequency-list</name>
<layout>vbox</layout>
<!-- using one copy of group-template per frequency line -->
<group-template>
<hide>true</hide>
<layout>hbox</layout>
<text>
<halign>left</halign>
<label>LABEL</label>
</text>
<empty>
<stretch>true</stretch>
</empty>
<text>
<halign>right</halign>
<label>FREQUENCY</label>
</text>
</group-template>
</group>
<button>
<legend>Close</legend>
<default>true</default>
<binding>
<command>dialog-close</command>
</binding>
</button>
</PropertyList>

View file

@ -0,0 +1,79 @@
<?xml version="1.0"?>
<PropertyList>
<name>atc-freq-search</name>
<y>70</y>
<layout>vbox</layout>
<text>
<label>Display Airport Frequencies</label>
</text>
<hrule><dummy/></hrule>
<group>
<name>quick-buttons</name>
<layout>hbox</layout>
<halign>center</halign>
<button-template>
<hide>true</hide>
<legend>ICAO</legend>
<binding>
<command>property-assign</command>
<property>/sim/atc/freq-airport</property>
<value type="string">ICAO</value>
</binding>
</button-template>
</group>
<text>
<name>no-atc-in-range</name>
<hide>true</hide>
<label>No ATC in range 40 nm.</label>
</text>
<group>
<layout>hbox</layout>
<empty><stretch>true</stretch></empty>
<text>
<label>Airport identifier:</label>
</text>
<input>
<halign>fill</halign>
<stretch>false</stretch>
<property>/sim/atc/freq-airport</property>
</input>
<empty><stretch>true</stretch></empty>
</group>
<group>
<layout>hbox</layout>
<halign>fill</halign>
<default-padding>10</default-padding>
<empty><stretch>true</stretch></empty>
<button>
<legend>OK</legend>
<default>true</default>
<equal>true</equal>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
<empty><stretch>true</stretch></empty>
<button>
<legend>Cancel</legend>
<equal>true</equal>
<binding>
<command>dialog-close</command>
</binding>
</button>
<empty><stretch>true</stretch></empty>
</group>
</PropertyList>