comparison 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
comparison
equal deleted inserted replaced
96:bb38bc0e787f 97:5476337198ec
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/
2 ..\FrameXML\UI.xsd">
3 <Script file="ArtifactPower.lua" />
4
5 <Button name="VeneerArtifactButton" parentArray="Artifact" mixin="VeneerArtifactButtonMixin" virtual="true">
6
7 <Scripts>
8 <OnEnter method="OnEnter" />
9 <OnLeave method="OnLeave" />
10 <OnClick method="OnClick" />
11 </Scripts>
12 <Size x="64" y="64" />
13 <PushedTexture file="Interface\Buttons\UI-Quickslot-Depress" setAllPoints="true" />
14 <HighlightTexture file="Interface\Buttons\ButtonHilight-Square" setAllPoints="true" alphaMode="ADD" />
15 <Layers>
16 <Layer level="BACKGROUND">
17 <Texture name="$parentIcon" parentKey="Icon" setAllPoints="true" />
18 </Layer>
19
20 <Layer level="OVERLAY">
21
22 <FontString name="$parentName" parentKey="Name" inherits="VeneerNumberFont" text="NAME" wordwrap="false">
23 <Anchors>
24 <Anchor point="TOPLEFT" x="4" y="-16" />
25 <Anchor point="RIGHT" x="-4" />
26 </Anchors>
27 <Color r="0" g="1" b="1" />
28 </FontString>
29 <FontString name="$parentLevel" parentKey="Level" inherits="VeneerHeaderFont">
30 <Anchors>
31 <Anchor point="TOP" x="0" y="-2" />
32 </Anchors>
33 </FontString>
34 <FontString name="$parentCurrentXP" parentKey="CurrentXP" inherits="VeneerNumberFont" text="Bank:">
35 <Anchors>
36 <Anchor point="BOTTOM" x="0" y="4" />
37 </Anchors>
38 <Color r="1" g="1" b="0" />
39 </FontString>
40 </Layer>
41 </Layers>
42 </Button>
43 <Frame name="VeneerArtifactPower" hidden="true" mixin="VeneerArtifactPowerMixin" parent="UIParent" inherits="VeneerMixinScripts" enableMouse="true">
44 <Size x="300" y="36" />
45 <Scripts>
46 <OnEnter method="OnEnter" />
47 <OnLeave method="OnLeave" />
48 <OnMouseDown method="OnMouseDown" />
49 </Scripts>
50 <Layers>
51 <Layer level="BACKGROUND">
52
53 <Texture parentKey="Background">
54 <Color a="0.5" r="0" g="0" b="0" />
55 </Texture>
56 </Layer>
57 <Layer level="OVERLAY">
58 <FontString name="$parentSummaryHeader" parentKey="SummaryHeader" inherits="VeneerNumberFont" text="">
59 <Anchors>
60 <Anchor point="TOPLEFT" x="4" y="-4" />
61 </Anchors>
62 <Color r="0" g="1" b="1" />
63 </FontString>
64 </Layer>
65 </Layers>
66 <Frames>
67 <Button inherits="VeneerArtifactButton" />
68 <Button inherits="VeneerArtifactButton" />
69 <Button inherits="VeneerArtifactButton" />
70 <Button inherits="VeneerArtifactButton" />
71 </Frames>
72 </Frame>
73 </Ui>