view Modules/ArtifactPower.xml @ 98:dadddb8a551f

- bag scan intervals - progress visualization - artifact xp updates
author Nenue
date Tue, 17 Jan 2017 09:49:15 -0500
parents 5476337198ec
children 74d6d97a2d24
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="ArtifactPower.lua" />

  <Button name="VeneerArtifactButton" parentArray="Artifact" mixin="VeneerArtifactButtonMixin" virtual="true">

    <Scripts>
      <OnEnter method="OnEnter" />
      <OnLeave method="OnLeave" />
      <OnClick method="OnClick" />
      <OnUpdate method="OnUpdate" />
    </Scripts>
    <Size x="64" y="64" />
    <PushedTexture file="Interface\Buttons\UI-Quickslot-Depress" setAllPoints="true" />
    <HighlightTexture file="Interface\Buttons\ButtonHilight-Square" setAllPoints="true" alphaMode="ADD" />
    <Layers>
      <Layer level="BACKGROUND">
        <Texture name="$parentIcon" parentKey="Icon" setAllPoints="true" />
      </Layer>

      <Layer level="OVERLAY">

        <FontString name="$parentName" parentKey="Name" inherits="VeneerNumberFont" text="NAME" wordwrap="false">
          <Anchors>
            <Anchor point="TOPLEFT" x="4" y="-16"  />
            <Anchor point="RIGHT" x="-4" />
          </Anchors>
          <Color r="0" g="1" b="1" />
        </FontString>
        <FontString name="$parentLevel" parentKey="Level" inherits="VeneerHeaderFont">
          <Anchors>
            <Anchor point="TOP" x="0" y="-2" />
          </Anchors>
        </FontString>
        <FontString name="$parentCurrentXP" parentKey="CurrentXP" inherits="VeneerNumberFont" text="Bank:">
          <Anchors>
            <Anchor point="BOTTOM" x="0" y="4" />
          </Anchors>
          <Color r="1" g="1" b="0" />
        </FontString>

        <Texture parentKey="CurrentProgress" alphaMode="BLEND">
          <Anchors>
            <Anchor point="BOTTOMLEFT" />
            <Anchor point="BOTTOMRIGHT" />
          </Anchors>
            <Color a="0.5" r="0" g="1" b="0" />
        </Texture>
        <Texture parentKey="AdjustedProgress" alphaMode="BLEND">
          <Anchors>
            <Anchor point="LEFT" />
            <Anchor point="RIGHT" />
          </Anchors>
          <Color a="0.5" r="0" g="0.5" b="1" />
        </Texture>
      </Layer>
    </Layers>
  </Button>
  <Frame name="VeneerArtifactPower" hidden="true" mixin="VeneerArtifactPowerMixin" parent="UIParent" inherits="VeneerMixinScripts" enableMouse="true">
    <Size x="300" y="36" />
    <Scripts>
      <OnEnter method="OnEnter" />
      <OnLeave method="OnLeave" />
      <OnMouseDown method="OnMouseDown" />
    </Scripts>
    <Layers>
      <Layer level="BACKGROUND">

        <Texture parentKey="Background">
          <Color a="0.5" r="0" g="0" b="0" />
        </Texture>
      </Layer>
      <Layer level="OVERLAY">
        <FontString name="$parentSummaryHeader" parentKey="SummaryHeader" inherits="VeneerNumberFont" text="">
          <Anchors>
            <Anchor point="BOTTOMLEFT" x="4" y="4"  />
          </Anchors>
          <Color r="0" g="1" b="1" />
        </FontString>
      </Layer>
    </Layers>
    <Frames>
      <Button inherits="VeneerArtifactButton" />
      <Button inherits="VeneerArtifactButton" />
      <Button inherits="VeneerArtifactButton" />
      <Button inherits="VeneerArtifactButton" />
      <Button inherits="VeneerArtifactButton" />
    </Frames>
  </Frame>
</Ui>