annotate Modules/ArtifactPower.xml @ 97:5476337198ec

- apply default anchors when docking modules - Arifact Power tracker: totals AP items in bags and bank, and forecasts progress on each weapon. Requires user to shift-click each weapon at least once to get initial XP data.
author Nenue
date Mon, 16 Jan 2017 20:24:12 -0500
parents
children dadddb8a551f
rev   line source
Nenue@97 1 <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/
Nenue@97 2 ..\FrameXML\UI.xsd">
Nenue@97 3 <Script file="ArtifactPower.lua" />
Nenue@97 4
Nenue@97 5 <Button name="VeneerArtifactButton" parentArray="Artifact" mixin="VeneerArtifactButtonMixin" virtual="true">
Nenue@97 6
Nenue@97 7 <Scripts>
Nenue@97 8 <OnEnter method="OnEnter" />
Nenue@97 9 <OnLeave method="OnLeave" />
Nenue@97 10 <OnClick method="OnClick" />
Nenue@97 11 </Scripts>
Nenue@97 12 <Size x="64" y="64" />
Nenue@97 13 <PushedTexture file="Interface\Buttons\UI-Quickslot-Depress" setAllPoints="true" />
Nenue@97 14 <HighlightTexture file="Interface\Buttons\ButtonHilight-Square" setAllPoints="true" alphaMode="ADD" />
Nenue@97 15 <Layers>
Nenue@97 16 <Layer level="BACKGROUND">
Nenue@97 17 <Texture name="$parentIcon" parentKey="Icon" setAllPoints="true" />
Nenue@97 18 </Layer>
Nenue@97 19
Nenue@97 20 <Layer level="OVERLAY">
Nenue@97 21
Nenue@97 22 <FontString name="$parentName" parentKey="Name" inherits="VeneerNumberFont" text="NAME" wordwrap="false">
Nenue@97 23 <Anchors>
Nenue@97 24 <Anchor point="TOPLEFT" x="4" y="-16" />
Nenue@97 25 <Anchor point="RIGHT" x="-4" />
Nenue@97 26 </Anchors>
Nenue@97 27 <Color r="0" g="1" b="1" />
Nenue@97 28 </FontString>
Nenue@97 29 <FontString name="$parentLevel" parentKey="Level" inherits="VeneerHeaderFont">
Nenue@97 30 <Anchors>
Nenue@97 31 <Anchor point="TOP" x="0" y="-2" />
Nenue@97 32 </Anchors>
Nenue@97 33 </FontString>
Nenue@97 34 <FontString name="$parentCurrentXP" parentKey="CurrentXP" inherits="VeneerNumberFont" text="Bank:">
Nenue@97 35 <Anchors>
Nenue@97 36 <Anchor point="BOTTOM" x="0" y="4" />
Nenue@97 37 </Anchors>
Nenue@97 38 <Color r="1" g="1" b="0" />
Nenue@97 39 </FontString>
Nenue@97 40 </Layer>
Nenue@97 41 </Layers>
Nenue@97 42 </Button>
Nenue@97 43 <Frame name="VeneerArtifactPower" hidden="true" mixin="VeneerArtifactPowerMixin" parent="UIParent" inherits="VeneerMixinScripts" enableMouse="true">
Nenue@97 44 <Size x="300" y="36" />
Nenue@97 45 <Scripts>
Nenue@97 46 <OnEnter method="OnEnter" />
Nenue@97 47 <OnLeave method="OnLeave" />
Nenue@97 48 <OnMouseDown method="OnMouseDown" />
Nenue@97 49 </Scripts>
Nenue@97 50 <Layers>
Nenue@97 51 <Layer level="BACKGROUND">
Nenue@97 52
Nenue@97 53 <Texture parentKey="Background">
Nenue@97 54 <Color a="0.5" r="0" g="0" b="0" />
Nenue@97 55 </Texture>
Nenue@97 56 </Layer>
Nenue@97 57 <Layer level="OVERLAY">
Nenue@97 58 <FontString name="$parentSummaryHeader" parentKey="SummaryHeader" inherits="VeneerNumberFont" text="">
Nenue@97 59 <Anchors>
Nenue@97 60 <Anchor point="TOPLEFT" x="4" y="-4" />
Nenue@97 61 </Anchors>
Nenue@97 62 <Color r="0" g="1" b="1" />
Nenue@97 63 </FontString>
Nenue@97 64 </Layer>
Nenue@97 65 </Layers>
Nenue@97 66 <Frames>
Nenue@97 67 <Button inherits="VeneerArtifactButton" />
Nenue@97 68 <Button inherits="VeneerArtifactButton" />
Nenue@97 69 <Button inherits="VeneerArtifactButton" />
Nenue@97 70 <Button inherits="VeneerArtifactButton" />
Nenue@97 71 </Frames>
Nenue@97 72 </Frame>
Nenue@97 73 </Ui>