comparison Modules/ArtifactPower.xml @ 99:74d6d97a2d24 v7.1.5-r100

- artifact progress visualizations, green for current, blue for attainable - force fishing artifact to list last - support for fishing artifact power
author Nenue
date Fri, 20 Jan 2017 19:40:55 -0500
parents dadddb8a551f
children f32b63c93275
comparison
equal deleted inserted replaced
98:dadddb8a551f 99:74d6d97a2d24
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/ 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"> 2 ..\FrameXML\UI.xsd">
3 <Script file="ArtifactPower.lua" /> 3 <Script file="ArtifactPower.lua" />
4 4
5 <Button name="VeneerItemButton" parentArray="Tokens" inherits="SecureActionButtonTemplate" virtual="true">
6 <Size x="48" y="48" />
7 <Layers>
8 <Layer level="BACKGROUND">
9 <Texture parentKey="Icon" setAllPoints="true" />
10 </Layer>
11 <Layer level="OVERLAY">
12 <FontString parentKey="Count" inherits="VeneerHeaderFont">
13 <Anchors>
14 <Anchor point="TOP" x="0" y="-4" />
15 </Anchors>
16 </FontString>
17 <FontString parentKey="Label" inherits="VeneerNumberFont">
18 <Anchors>
19 <Anchor point="BOTTOM" x="0" y="4" />
20 </Anchors>
21 </FontString>
22 </Layer>
23 </Layers>
24 </Button>
25
5 <Button name="VeneerArtifactButton" parentArray="Artifact" mixin="VeneerArtifactButtonMixin" virtual="true"> 26 <Button name="VeneerArtifactButton" parentArray="Artifact" mixin="VeneerArtifactButtonMixin" virtual="true">
6
7 <Scripts> 27 <Scripts>
8 <OnEnter method="OnEnter" /> 28 <OnEnter method="OnEnter" />
9 <OnLeave method="OnLeave" /> 29 <OnLeave method="OnLeave" />
10 <OnClick method="OnClick" /> 30 <OnClick method="OnClick" />
11 <OnUpdate method="OnUpdate" /> 31 <OnUpdate method="OnUpdate" />
18 <Texture name="$parentIcon" parentKey="Icon" setAllPoints="true" /> 38 <Texture name="$parentIcon" parentKey="Icon" setAllPoints="true" />
19 </Layer> 39 </Layer>
20 40
21 <Layer level="OVERLAY"> 41 <Layer level="OVERLAY">
22 42
23 <FontString name="$parentName" parentKey="Name" inherits="VeneerNumberFont" text="NAME" wordwrap="false"> 43 <FontString name="$parentName" parentKey="Name" inherits="VeneerNumberFont" text="" wordwrap="false">
24 <Anchors> 44 <Anchors>
25 <Anchor point="TOPLEFT" x="4" y="-16" /> 45 <Anchor point="TOPLEFT" x="4" y="-16" />
26 <Anchor point="RIGHT" x="-4" /> 46 <Anchor point="RIGHT" x="-4" />
27 </Anchors> 47 </Anchors>
28 <Color r="0" g="1" b="1" /> 48 <Color r="0" g="1" b="1" />
37 <Anchor point="BOTTOM" x="0" y="4" /> 57 <Anchor point="BOTTOM" x="0" y="4" />
38 </Anchors> 58 </Anchors>
39 <Color r="1" g="1" b="0" /> 59 <Color r="1" g="1" b="0" />
40 </FontString> 60 </FontString>
41 61
42 <Texture parentKey="CurrentProgress" alphaMode="BLEND"> 62 <Texture parentKey="CurrentProgress" alphaMode="ADD">
43 <Anchors> 63 <Anchors>
44 <Anchor point="BOTTOMLEFT" /> 64 <Anchor point="BOTTOMLEFT" />
45 <Anchor point="BOTTOMRIGHT" /> 65 <Anchor point="BOTTOMRIGHT" />
46 </Anchors> 66 </Anchors>
47 <Color a="0.5" r="0" g="1" b="0" /> 67 <Color a="0.25" r="0" g="1" b="0" />
48 </Texture> 68 </Texture>
49 <Texture parentKey="AdjustedProgress" alphaMode="BLEND"> 69 <Texture parentKey="AdjustedProgress" alphaMode="ADD">
50 <Anchors> 70 <Anchors>
51 <Anchor point="LEFT" /> 71 <Anchor point="LEFT" />
52 <Anchor point="RIGHT" /> 72 <Anchor point="RIGHT" />
53 </Anchors> 73 </Anchors>
54 <Color a="0.5" r="0" g="0.5" b="1" /> 74 <Color a="0.25" r="0" g="0.5" b="1" />
75 </Texture>
76 <Texture parentKey="AdjustedLine">
77 <Size y="1" />
78 <Anchors>
79 <Anchor point="BOTTOM" relativePoint="TOP" relativeKey="$parent.AdjustedProgress" />
80 <Anchor point="RIGHT" relativeKey="$parent.AdjustedProgress" />
81 <Anchor point="LEFT" relativeKey="$parent.AdjustedProgress" />
82 </Anchors>
83 <Color a="0.25" r="1" g="1" b="1" />
84 </Texture>
85 <Texture parentKey="AdjustedLine">
86 <Size y="1" />
87 <Anchors>
88 <Anchor point="TOP" relativeKey="$parent.CurrentProgress" />
89 <Anchor point="RIGHT" relativeKey="$parent.CurrentProgress" />
90 <Anchor point="LEFT" relativeKey="$parent.CurrentProgress" />
91 </Anchors>
92 <Color a="0.25" r="0" g="1" b="0" />
55 </Texture> 93 </Texture>
56 </Layer> 94 </Layer>
57 </Layers> 95 </Layers>
58 </Button> 96 </Button>
59 <Frame name="VeneerArtifactPower" hidden="true" mixin="VeneerArtifactPowerMixin" parent="UIParent" inherits="VeneerMixinScripts" enableMouse="true"> 97 <Frame name="VeneerArtifactPower" hidden="true" mixin="VeneerArtifactPowerMixin" parent="UIParent" inherits="VeneerMixinScripts" enableMouse="true">
78 <Color r="0" g="1" b="1" /> 116 <Color r="0" g="1" b="1" />
79 </FontString> 117 </FontString>
80 </Layer> 118 </Layer>
81 </Layers> 119 </Layers>
82 <Frames> 120 <Frames>
83 <Button inherits="VeneerArtifactButton" /> 121 <Button name="$parentArtifactButton1" inherits="VeneerArtifactButton" />
84 <Button inherits="VeneerArtifactButton" /> 122 <Button name="$parentArtifactButton2" inherits="VeneerArtifactButton" />
85 <Button inherits="VeneerArtifactButton" /> 123 <Button name="$parentArtifactButton3" inherits="VeneerArtifactButton" />
86 <Button inherits="VeneerArtifactButton" /> 124 <Button name="$parentArtifactButton4" inherits="VeneerArtifactButton" />
87 <Button inherits="VeneerArtifactButton" /> 125 <Button name="$parentArtifactButton5" inherits="VeneerArtifactButton" />
88 </Frames> 126 </Frames>
89 </Frame> 127 </Frame>
90 </Ui> 128 </Ui>