Mercurial > wow > buffalo2
view Modules/ArtifactPower.xml @ 123:b3c0258b419d v7.3.0-1
ArtifactPower:
- XP progress bar fixes
Currency:
- More argus stuff
- Block dimensions are calculated more consistently
TalkingHead
- Aesthetic changes
- Default right-click behaviour restored (hides the text box)
author | Nenue |
---|---|
date | Tue, 05 Sep 2017 02:56:33 -0400 |
parents | ea2c616a3b4f |
children | 3f4794dca91b |
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="VeneerItemButton" parentArray="Tokens" inherits="SecureActionButtonTemplate" virtual="true"> <Size x="48" y="48" /> <Layers> <Layer level="BACKGROUND"> <Texture parentKey="Icon" setAllPoints="true" /> </Layer> <Layer level="OVERLAY"> <FontString parentKey="Count" inherits="VeneerHeaderFont"> <Anchors> <Anchor point="TOP" x="0" y="-4" /> </Anchors> </FontString> <FontString parentKey="Label" inherits="VeneerNumberFont"> <Anchors> <Anchor point="BOTTOM" x="0" y="4" /> </Anchors> </FontString> </Layer> </Layers> </Button> <Button name="VeneerArtifactButton" parentArray="Artifact" mixin="VeneerArtifactButtonMixin" virtual="true"> <Scripts> <OnLoad method="OnLoad" /> <OnEvent method="OnEvent" /> <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"> <TexCoords left="0.15" right=".85" top=".15" bottom=".85" /> </Texture> </Layer> <Layer level="ARTWORK"> <Texture parentKey="XPBackground"> <Anchors> <Anchor point="TOPRIGHT" x="6" y="-2" relativePoint="TOPLEFT" /> <Anchor point="BOTTOMLEFT" x="2" y="2" /> </Anchors> <Color a="1" r="0" g="0" b="0" /> </Texture> </Layer> <Layer level="OVERLAY"> <FontString name="$parentName" parentKey="Name" inherits="VeneerNumberFont" text="" 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="$parentRemainingCost" parentKey="RemainingCost" inherits="VeneerNumberFont" text="Bank:"> <Anchors> <Anchor point="BOTTOM" x="0" y="2" /> </Anchors> <Color r="1" g="1" b="1" /> </FontString> <FontString name="$parentCurrentXP" parentKey="CurrentXP" inherits="VeneerNumberFont" text="Bank:"> <Anchors> <Anchor point="BOTTOM" x="0" y="2" relativePoint="TOP" relativeKey="$parent.RemainingCost" /> </Anchors> <Color r="0" g="1" b="0" /> </FontString> <Texture parentKey="CurrentProgress" alphaMode="ADD"> <Anchors> <Anchor point="BOTTOM" x="0" y="0" /> <Anchor point="LEFT" x="2" y="0" /> <Anchor point="RIGHT" relativePoint="LEFT" x="6" /> </Anchors> <Color a="1" r="1" g=".25" b="0" /> </Texture> <Texture parentKey="AdjustedProgress" alphaMode="ADD"> <Anchors> <Anchor point="BOTTOM" x="0" y="0" /> <Anchor point="LEFT" x="2" y="0" /> <Anchor point="RIGHT" relativePoint="LEFT" x="6" /> </Anchors> <Color a="1" r="1" g="1" b="1" /> </Texture> </Layer> </Layers> </Button> <Frame name="VeneerArtifactPowerTimer" parent="UIParent" /> <Frame name="VeneerArtifactPower" hidden="true" mixin="VeneerArtifactPowerMixin" parent="UIParent" inherits="VeneerHandlerTemplate" enableMouse="false"> <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" r="0" g="0" b="0" /> </Texture> </Layer> <Layer level="OVERLAY"> <FontString name="$parentSummaryHeader" parentKey="SummaryHeader" inherits="VeneerNumberFont" text="" justifyH="LEFT"> <Color r="0" g="1" b="1" /> </FontString> </Layer> </Layers> <Frames> <Button name="$parentArtifactButton1" inherits="VeneerArtifactButton" id="1" /> <Button name="$parentArtifactButton2" inherits="VeneerArtifactButton" id="2" /> <Button name="$parentArtifactButton3" inherits="VeneerArtifactButton" id="3" /> <Button name="$parentArtifactButton4" inherits="VeneerArtifactButton" id="4" /> <Button name="$parentArtifactButton5" inherits="VeneerArtifactButton" id="5" /> <Button name="$parentRefresh" text="Refresh" parentKey="Refresh"> <Size x="72" y="32" /> <Anchors> <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT" x="0" y="0" /> </Anchors> <Scripts> <OnClick> self:GetParent():ResetCache() </OnClick> </Scripts> <NormalTexture> <Color a="1" r="0" g="0" b="0" /> </NormalTexture> <NormalFont style="GameFontNormal" /> </Button> </Frames> </Frame> </Ui>