view Modules/PetBattle.xml @ 135:4979b5cca6de

- Fixed lua error from newly obtained artifacts
author Nenue
date Thu, 25 Jan 2018 20:58:10 -0500
parents Modules/GuildInfo.xml@86621c60512b
children
line wrap: on
line source
<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">

  <Script file="PetBattle.lua" />

  <Frame name="VeneerPetBattleAbilityTemplate" parent="VeneerPetBattleInfo" parentArray="Abilities" virtual="true" mixin="VeneerPetBattleActionMixin">
    <Size x="48" y="48" />
    <Scripts>
      <OnEnter method="OnEnter" />
      <OnLeave method="OnLeave" />
    </Scripts>
    <Layers>
      <Layer level="BACKGROUND">
        <Texture parentKey="Icon" setAllPoints="true" />

      </Layer>
      <Layer level="OVERLAY">
        <Texture parentArray="BetterIcon">
          <Size x="24" y="24" />
          <Anchors>
            <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" />
          </Anchors>
        </Texture>
        <Texture parentArray="BetterIcon">
          <Size x="24" y="24" />
          <Anchors>
            <Anchor  point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="26" y="0" />
          </Anchors>
        </Texture>
        <Texture parentArray="BetterIcon">
          <Size x="24" y="24" />
          <Anchors>
            <Anchor  point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="54" y="0" />
          </Anchors>
        </Texture>
        <FontString parentKey="Name" inherits="GameFontNormal">
          <Anchors>
            <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="4" y="-4" />
          </Anchors>
        </FontString>
        <FontString parentKey="Cooldown" inherits="GameFont_Gigantic">
          <Anchors>
            <Anchor point="CENTER" />
          </Anchors>
        </FontString>

        <Texture parentKey="TypeIcon">
          <Size x="16" y="16" />
          <TexCoords left="0.79687500" right="0.49218750" top="0.50390625" bottom="0.65625000"/>
          <Anchors>
            <Anchor point="TOPRIGHT" />

          </Anchors>
        </Texture>

        <Texture setAllPoints="true" hidden="true" file="">

        </Texture>
        <Texture parentKey="Border2" file="Interface\PetBattles\PetBattle-GoldSpeedFrame" hidden="true">
          <Size x="48" y="48"/>
          <Anchors>
            <Anchor point="CENTER" relativeKey="$parent.Icon"/>
          </Anchors>
          <TexCoords left="0.0" right="0.84375" top="0.0" bottom="0.8515625"/>
        </Texture>
      </Layer>
    </Layers>
  </Frame>

  <Frame name="VeneerPetBattleInfo" parent="PetBattleFrame" hidden="false" mixin="VeneerPetBattleInfoMixin">
    <Size x="128" y="64" />
    <Scripts>
      <OnLoad method="OnLoad" />
      <OnEvent method="OnEvent" />
      <OnShow method="OnShow" />
      <OnHide method="OnHide" />
    </Scripts>
    <Frames>
      <Frame inherits="VeneerPetBattleAbilityTemplate" />
      <Frame inherits="VeneerPetBattleAbilityTemplate" />
      <Frame inherits="VeneerPetBattleAbilityTemplate" />
      <Frame inherits="VeneerPetBattleAbilityTemplate" />
      <Frame inherits="VeneerPetBattleAbilityTemplate" />
      <Frame inherits="VeneerPetBattleAbilityTemplate" />
      <Frame inherits="VeneerPetBattleAbilityTemplate" />
      <Frame inherits="VeneerPetBattleAbilityTemplate" />
      <Frame inherits="VeneerPetBattleAbilityTemplate" />
    </Frames>
  </Frame>


</Ui>