<?xml-stylesheet type="text/xsl" href="/css/wowui.xsl"?>
<Ui xmlns="http://www.blizzard.com/wow/ui/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.blizzard.com/wow/ui/">
  <Script file="FlightMapTaxi.lua"/>

  <!-- FlightMapPathTemplate is defined in FlightMap.xml -->

  <Button name="FlightMapTaxiButtonTemplate" parent="FlightMapTaxiFrame"
          hidden="true" virtual="true">
    <Size>
      <AbsDimension x="16" y="16"/>
    </Size>
    <Anchors>
      <Anchor point="BOTTOMRIGHT"/>
    </Anchors>
    <Scripts>
      <OnEnter>
        FlightMapTaxiButton_OnEnter(this);
      </OnEnter>
      <OnLeave>
        FlightMapTaxiButton_OnLeave(this);
      </OnLeave>
    </Scripts>
    <NormalTexture file="Interface\TaxiFrame\UI-Taxi-Icon-Gray"/>
    <HighlightTexture file="Interface\TaxiFrame\UI-Taxi-Icon-Highlight">
      <Size x="32" y="32"/>
      <Anchors>
        <Anchor point="CENTER"/>
      </Anchors>
    </HighlightTexture>
  </Button>

  <!-- FlightMapTaxiFrame is overlaid onto TaxiRouteMap; it draws in the
       flights between distant nodes -->
  <Frame name="FlightMapTaxiFrame" parent="TaxiFrame" hidden="false">
    <Anchors>
      <Anchor point="TOPLEFT" relativeTo="TaxiRouteMap"/>
    </Anchors>
    <Layers>
      <Layer level="ARTWORK">
        <Texture name="FlightMapTaxiPath1" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath2" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath3" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath4" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath5" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath6" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath7" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath8" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath9" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath10" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath11" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath12" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath13" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath14" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath15" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath16" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath17" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath18" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath19" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath20" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath21" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath22" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath23" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath24" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath25" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath26" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath27" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath28" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath29" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath30" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath31" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath32" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath33" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath34" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath35" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath36" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath37" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath38" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath39" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath40" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath41" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath42" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath43" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath44" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath45" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath46" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath47" inherits="FlightMapPathTemplate"/>
        <Texture name="FlightMapTaxiPath48" inherits="FlightMapPathTemplate"/>
      </Layer>
    </Layers>
    <Frames>
      <!-- Continent select -->
      <Frame name="FlightMapTaxiContinents" inherits="UIDropDownMenuTemplate"
             id="1" hidden="false">
        <Anchors>
          <Anchor point="BOTTOM" relativeTo="TaxiRouteMap" relativePoint="TOP">
            <Offset>
              <AbsDimension x="0" y="2"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad>
            FlightMapTaxiContinents_OnLoad();
          </OnLoad>
          <OnShow>
            FlightMapTaxiContinents_OnLoad();
          </OnShow>
        </Scripts>
      </Frame>

      <!-- Extra POI buttons -->
      <Button name="FlightMapTaxiButton1" id="1"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton2" id="2"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton3" id="3"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton4" id="4"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton5" id="5"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton6" id="6"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton7" id="7"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton8" id="8"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton9" id="9"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton10" id="10"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton11" id="11"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton12" id="12"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton13" id="13"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton14" id="14"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton15" id="15"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton16" id="16"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton17" id="17"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton18" id="18"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton19" id="19"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton20" id="20"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton21" id="21"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton22" id="22"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton23" id="23"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton24" id="24"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton25" id="25"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton26" id="26"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton27" id="27"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton28" id="28"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton29" id="29"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton30" id="30"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton31" id="31"
              inherits="FlightMapTaxiButtonTemplate"/>
      <Button name="FlightMapTaxiButton32" id="32"
              inherits="FlightMapTaxiButtonTemplate"/>
    </Frames>
    <Scripts>
      <OnLoad>
        FlightMapTaxiFrame_OnLoad();
      </OnLoad>
      <OnEvent>
        FlightMapTaxiFrame_OnEvent(event);
      </OnEvent>
    </Scripts>
  </Frame>
</Ui>
