view Turok/Modules/Utilities/Raid.xml @ 11:0b1a2f3dbfc4 tip

aura duration override triggering activation twice when aura data still exists briefly after duration end
author Nenue
date Mon, 22 Feb 2016 03:11:54 -0500
parents a9b8b0866ece
children
line wrap: on
line source
<Ui>

  <Frame name="TurokRaidbuffsTray" alpha="0">
    <Size x="200" y="600" />
    <Anchors>
      <Anchor point="RIGHT" x="45" y="-300" />
    </Anchors>
    <Layers>
      <Layer level="BACKGROUND">
        <Texture name="$parentBackground" parentKey="background" setAllPoints="true">
          <Color r="1" g="1" b="1" a="1" />
          <Gradient>
            <ColorMin r="1" g="0" b="0.8" />
            <ColoMax r="0.5" g="0" b="1" />
          </Gradient>
        </Texture>
      </Layer>
    </Layers>
    <Frames>
      <Button name="$parentAction" parentArray="_buttons" parentKey="action"  inherits="TurokButton">
        <Script>
          <OnShow>
            if Turok.playerClass == 'HUNTER' then
              if Turok.specPage == 1 then
                self:SetText()
              else
                self:SetText("Lone Wolf")
              end
            end

          </OnShow>
        </Script>
      </Button>
    </Frames>
  </Frame>

  <Frame name="TurokRaidbuffButton" virtual="true" hidden="true">
    <Anchors>
      <Anchor point="CENTER" />
    </Anchors>
    <Size x="64" y="64" />
    <Layers>
      <Layer level="BACKGROUND">
        <Texture name="$parentBackground" parentKey="background" setAllPoints="true">
          <Color r="0" g="0" b="0" a="1" />
        </Texture>
      </Layer>
      <Layer level="ARTWORK">
        <Texture name="$parentForeground" parentKey="foreground">
          <Color r="0" g="1"  b="1" a="1" />
          <Anchors>
            <Anchor point="TOPLEFT" x="1" y="-1" />
            <Anchor point="BOTTOMRIGHT" x="-1" y="1" />
          </Anchors>
        </Texture>
        <Texture file="" name="BuffIcon" parentKey="icon">
          <Anchor point="TOPLEFT" x="2" y="-2" />
          <Anchor point="BOTTOMRIGHT" x="-2" y="2" />
        </Texture>
      </Layer>
      <Layer level="OVERLAY">
        <FontString name="$parentSpellName" parentKey="spellname" inherits="TurokFontDetail" />
        <FontString name="$parentBuffType" parentKey="bufftype" inherits="TurokFontDetail" />
        <FontString name="$parentCaster" parentKey="caster" inherits="TurokFontDetail" />
      </Layer>
    </Layers>
  </Frame>
</Ui>