<?xml version="1.0"?>

<PropertyList>
  <name>TFA-popup</name>
  <modal>false</modal>
  <layout>vbox</layout>

  <text>
    <label>B-52F Terrain Following-Avoidance Mode</label>
  </text>

  <hrule><dummy/></hrule>

  <group>
    <layout>vbox</layout>
    <empty><stretch>true</stretch></empty>

    <button>
      <legend>Extend Mode</legend>
      <default>true</default>
      <key>e</key>
      <binding>
        <command>property-assign</command>
        <property>/instrumentation/terrain-radar/settings/mode</property>
        <value>extend</value>
      </binding>
      <binding>
        <command>dialog-apply</command>
        <object-name>AGL-clearance</object-name>
      </binding>
      <binding>
        <command>dialog-close</command>
      </binding>
    </button>

    <button>
      <legend>Continuous mode</legend>
      <key>c</key>
      <binding>
        <command>property-assign</command>
        <property>/instrumentation/terrain-radar/settings/mode</property>
        <value>continuous</value>
      </binding>
      <binding>
        <command>dialog-apply</command>
        <object-name>AGL-clearance</object-name>
      </binding>
      <binding>
        <command>dialog-close</command>
      </binding>
    </button>

    <input>
      <name>AGL-clearance</name>
      <label>AGL Clearance (ft)</label>
      <property>/autopilot/settings/target-agl-ft</property>
    </input>

    <empty><stretch>true</stretch></empty>
  </group>

  <text>
    <label></label>
  </text>

  <text>
    <label>press the first letter, or return for default</label>
  </text>

  <text>
    <label></label>
  </text>

  <text>
    <label>Extend mode (default) is slightly less accurate than Continuous mode</label>
  </text>

  <text>
    <label>but is more economical in terms of resource usage.</label>
  </text>

</PropertyList>
