<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/..\FrameXML\UI.xsd">
  <Frame name="ChocoboSongsAndMountsItemTemplate" virtual="true">
    <Size x="0" y="22" />
    <Layers>
      <Layer level="OVERLAY">
        <FontString parentKey="Text" inherits="GameFontNormal" justifyH="LEFT">
          <Anchors>
            <Anchor point="LEFT" x="0" y="0" />
            <Anchor point="RIGHT" relativeKey="$parent.DeleteButton" x="-8" y="0" />
          </Anchors>
        </FontString>
      </Layer>
      <Layer level="HIGHLIGHT">
        <Texture parentKey="Highlight" setAllPoints="true" alphaMode="ADD">
          <Color r="1" g="0.75" b="0" a="0.2" />
        </Texture>
      </Layer>
    </Layers>
    <Frames>
      <Button parentKey="DeleteButton">
        <Size x="16" y="16" />
        <Anchors>
          <Anchor point="RIGHT" x="-4" y="0" />
        </Anchors>
        <NormalTexture setAllPoints="true" atlas="transmog-icon-remove" />
        <HighlightTexture setAllPoints="true" atlas="transmog-icon-remove" alphaMode="ADD" />
        <Scripts>
          <OnClick>
            CallMethodOnNearestAncestor(self, "RemoveItem", self:GetParent():GetID())
          </OnClick>
        </Scripts>
      </Button>
    </Frames>
  </Frame>
  <Frame name="ChocoboSongsAndMountsListTemplate" virtual="true">
    <Layers>
      <Layer level="OVERLAY">
        <FontString parentKey="Header" inherits="GameFontNormal" justifyH="CENTER">
          <Size x="0" y="22" />
          <Anchors>
            <Anchor point="TOP" />
          </Anchors>
        </FontString>
      </Layer>
    </Layers>
    <Frames>
      <EditBox parentKey="EditBox" inherits="InputBoxTemplate" autoFocus="false" enableMouse="true">
        <Size x="200" y="22" />
        <Anchors>
          <Anchor point="TOP" relativeKey="$parent.Header" relativePoint="BOTTOM" />
          <Anchor point="LEFT" x="5" y="0" />
        </Anchors>
      </EditBox>
      <Button parentKey="AddButton" inherits="UIPanelButtonTemplate">
        <Anchors>
          <Anchor point="TOPLEFT" relativeKey="$parent.EditBox" relativePoint="TOPRIGHT" />
          <Anchor point="BOTTOMLEFT" relativeKey="$parent.EditBox" relativePoint="BOTTOMRIGHT" />
          <Anchor point="RIGHT" x="20" y="0" />
        </Anchors>
      </Button>
      <Button parentKey="ResetButton" inherits="UIPanelButtonTemplate">
        <Size y="30" />
        <Anchors>
          <Anchor point="BOTTOMLEFT" />
          <Anchor point="BOTTOMRIGHT" x="20" y="0" />
        </Anchors>
      </Button>
      <ScrollFrame parentKey="ListScrollFrame" inherits="HybridScrollFrameTemplate">
        <Anchors>
          <Anchor point="TOP" relativeKey="$parent.EditBox" relativePoint="BOTTOM" />
          <Anchor point="LEFT" x="5" y="0"/>
          <Anchor point="RIGHT" />
          <Anchor point="BOTTOM" relativeKey="$parent.ResetButton" relativePoint="TOP" />
        </Anchors>
        <Frames>
          <Slider parentKey="ScrollBar" inherits="HybridScrollBarTemplate">
            <Anchors>
              <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="1" y="-16"/>
              <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="1" y="12"/>
            </Anchors>
          </Slider>
        </Frames>
      </ScrollFrame>
    </Frames>
  </Frame>
</Ui>
