annotate Modules/ArtifactPower.xml @ 122:ea2c616a3b4f

Standardize anchor variables - anchorGroup sets general position, defers to anchorPoint - anchorPoint and anchorFrom are used in SetPoint, deferring to anchorGroup and its inverse Artifact Power: - scan and update triggers trimmed down BuffFrame: - extra values can be right clicked to hide for particular auras LFG: - Desolate Host link placed above Sisters when searching for best cheevos TalkingHead - Re-enable TalkingHeadFrame click behaviour
author Nenue
date Mon, 21 Aug 2017 22:15:46 -0400
parents 0f47780a83c4
children b3c0258b419d
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@99 5 <Button name="VeneerItemButton" parentArray="Tokens" inherits="SecureActionButtonTemplate" virtual="true">
Nenue@99 6 <Size x="48" y="48" />
Nenue@99 7 <Layers>
Nenue@99 8 <Layer level="BACKGROUND">
Nenue@99 9 <Texture parentKey="Icon" setAllPoints="true" />
Nenue@99 10 </Layer>
Nenue@99 11 <Layer level="OVERLAY">
Nenue@99 12 <FontString parentKey="Count" inherits="VeneerHeaderFont">
Nenue@99 13 <Anchors>
Nenue@99 14 <Anchor point="TOP" x="0" y="-4" />
Nenue@99 15 </Anchors>
Nenue@99 16 </FontString>
Nenue@99 17 <FontString parentKey="Label" inherits="VeneerNumberFont">
Nenue@99 18 <Anchors>
Nenue@99 19 <Anchor point="BOTTOM" x="0" y="4" />
Nenue@99 20 </Anchors>
Nenue@99 21 </FontString>
Nenue@99 22 </Layer>
Nenue@99 23 </Layers>
Nenue@99 24 </Button>
Nenue@99 25
Nenue@97 26 <Button name="VeneerArtifactButton" parentArray="Artifact" mixin="VeneerArtifactButtonMixin" virtual="true">
Nenue@97 27 <Scripts>
Nenue@122 28 <OnLoad method="OnLoad" />
Nenue@122 29 <OnEvent method="OnEvent" />
Nenue@97 30 <OnEnter method="OnEnter" />
Nenue@97 31 <OnLeave method="OnLeave" />
Nenue@97 32 <OnClick method="OnClick" />
Nenue@98 33 <OnUpdate method="OnUpdate" />
Nenue@97 34 </Scripts>
Nenue@97 35 <Size x="64" y="64" />
Nenue@97 36 <PushedTexture file="Interface\Buttons\UI-Quickslot-Depress" setAllPoints="true" />
Nenue@97 37 <HighlightTexture file="Interface\Buttons\ButtonHilight-Square" setAllPoints="true" alphaMode="ADD" />
Nenue@97 38 <Layers>
Nenue@97 39 <Layer level="BACKGROUND">
Nenue@97 40 <Texture name="$parentIcon" parentKey="Icon" setAllPoints="true" />
Nenue@97 41 </Layer>
Nenue@97 42
Nenue@97 43 <Layer level="OVERLAY">
Nenue@97 44
Nenue@99 45 <FontString name="$parentName" parentKey="Name" inherits="VeneerNumberFont" text="" wordwrap="false">
Nenue@97 46 <Anchors>
Nenue@97 47 <Anchor point="TOPLEFT" x="4" y="-16" />
Nenue@97 48 <Anchor point="RIGHT" x="-4" />
Nenue@97 49 </Anchors>
Nenue@97 50 <Color r="0" g="1" b="1" />
Nenue@97 51 </FontString>
Nenue@97 52 <FontString name="$parentLevel" parentKey="Level" inherits="VeneerHeaderFont">
Nenue@97 53 <Anchors>
Nenue@97 54 <Anchor point="TOP" x="0" y="-2" />
Nenue@97 55 </Anchors>
Nenue@97 56 </FontString>
Nenue@116 57
Nenue@116 58 <FontString name="$parentRemainingCost" parentKey="RemainingCost" inherits="VeneerNumberFont" text="Bank:">
Nenue@116 59 <Anchors>
Nenue@116 60 <Anchor point="BOTTOM" x="0" y="2" />
Nenue@116 61 </Anchors>
Nenue@116 62 <Color r="1" g="1" b="1" />
Nenue@116 63 </FontString>
Nenue@97 64 <FontString name="$parentCurrentXP" parentKey="CurrentXP" inherits="VeneerNumberFont" text="Bank:">
Nenue@97 65 <Anchors>
Nenue@116 66 <Anchor point="BOTTOM" x="0" y="2" relativePoint="TOP" relativeKey="$parent.RemainingCost" />
Nenue@97 67 </Anchors>
Nenue@116 68 <Color r="0" g="1" b="0" />
Nenue@97 69 </FontString>
Nenue@98 70
Nenue@116 71 <Texture parentKey="CurrentProgress" alphaMode="BLEND">
Nenue@98 72 <Anchors>
Nenue@119 73 <Anchor point="BOTTOM" x="0" y="0" />
Nenue@119 74 <Anchor point="LEFT" x="4" y="0" />
Nenue@119 75 <Anchor point="RIGHT" relativePoint="LEFT" x="8" />
Nenue@98 76 </Anchors>
Nenue@116 77 <Color a="1" r="1" g=".25" b="0" />
Nenue@98 78 </Texture>
Nenue@116 79 <Texture parentKey="AdjustedProgress" alphaMode="BLEND">
Nenue@98 80 <Anchors>
Nenue@116 81 <Anchor point="LEFT" x="4" />
Nenue@116 82 <Anchor point="RIGHT" relativePoint="LEFT" x="8" />
Nenue@98 83 </Anchors>
Nenue@116 84 <Color a="1" r="1" g="1" b="1" />
Nenue@99 85 </Texture>
Nenue@99 86 <Texture parentKey="AdjustedLine">
Nenue@99 87 <Size y="1" />
Nenue@99 88 <Anchors>
Nick@108 89 <Anchor point="TOP" relativeKey="$parent.AdjustedProgress" />
Nenue@99 90 <Anchor point="RIGHT" relativeKey="$parent.AdjustedProgress" />
Nenue@99 91 <Anchor point="LEFT" relativeKey="$parent.AdjustedProgress" />
Nenue@99 92 </Anchors>
Nenue@99 93 <Color a="0.25" r="1" g="1" b="1" />
Nenue@99 94 </Texture>
Nenue@101 95 <Texture parentKey="ProgressLine">
Nenue@99 96 <Size y="1" />
Nenue@99 97 <Anchors>
Nenue@99 98 <Anchor point="TOP" relativeKey="$parent.CurrentProgress" />
Nenue@99 99 <Anchor point="RIGHT" relativeKey="$parent.CurrentProgress" />
Nenue@99 100 <Anchor point="LEFT" relativeKey="$parent.CurrentProgress" />
Nenue@99 101 </Anchors>
Nenue@99 102 <Color a="0.25" r="0" g="1" b="0" />
Nenue@98 103 </Texture>
Nenue@97 104 </Layer>
Nenue@97 105 </Layers>
Nenue@97 106 </Button>
Nenue@101 107 <Frame name="VeneerArtifactPowerTimer" parent="UIParent" />
Nenue@122 108 <Frame name="VeneerArtifactPower" hidden="true" mixin="VeneerArtifactPowerMixin" parent="UIParent" inherits="VeneerHandlerTemplate" enableMouse="false">
Nenue@97 109 <Size x="300" y="36" />
Nenue@97 110 <Scripts>
Nenue@97 111 <OnEnter method="OnEnter" />
Nenue@97 112 <OnLeave method="OnLeave" />
Nenue@97 113 <OnMouseDown method="OnMouseDown" />
Nenue@97 114 </Scripts>
Nenue@97 115 <Layers>
Nenue@97 116 <Layer level="BACKGROUND">
Nenue@97 117
Nenue@97 118 <Texture parentKey="Background">
Nenue@122 119 <Color a="0" r="0" g="0" b="0" />
Nenue@97 120 </Texture>
Nenue@97 121 </Layer>
Nenue@97 122 <Layer level="OVERLAY">
Nick@111 123 <FontString name="$parentSummaryHeader" parentKey="SummaryHeader" inherits="VeneerNumberFont" text="" justifyH="LEFT">
Nenue@97 124 <Color r="0" g="1" b="1" />
Nenue@97 125 </FontString>
Nenue@97 126 </Layer>
Nenue@97 127 </Layers>
Nenue@97 128 <Frames>
Nenue@122 129 <Button name="$parentArtifactButton1" inherits="VeneerArtifactButton" id="1" />
Nenue@122 130 <Button name="$parentArtifactButton2" inherits="VeneerArtifactButton" id="2" />
Nenue@122 131 <Button name="$parentArtifactButton3" inherits="VeneerArtifactButton" id="3" />
Nenue@122 132 <Button name="$parentArtifactButton4" inherits="VeneerArtifactButton" id="4" />
Nenue@122 133 <Button name="$parentArtifactButton5" inherits="VeneerArtifactButton" id="5" />
Nick@111 134
Nick@111 135 <Button name="$parentRefresh" text="Refresh" parentKey="Refresh">
Nick@111 136 <Size x="72" y="32" />
Nick@111 137 <Anchors>
Nick@111 138 <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT" x="0" y="0" />
Nick@111 139 </Anchors>
Nick@111 140 <Scripts>
Nick@111 141 <OnClick>
Nick@111 142 self:GetParent():ResetCache()
Nick@111 143 </OnClick>
Nick@111 144 </Scripts>
Nick@111 145
Nick@111 146 <NormalTexture>
Nick@111 147 <Color a="1" r="0" g="0" b="0" />
Nick@111 148 </NormalTexture>
Nick@111 149 <NormalFont style="GameFontNormal" />
Nick@111 150 </Button>
Nenue@97 151 </Frames>
Nenue@97 152 </Frame>
Nenue@97 153 </Ui>