Nenue@84
|
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@84
|
2 ..\FrameXML\UI.xsd">
|
Nenue@84
|
3
|
Nenue@84
|
4 <Script file="WorldState.lua" />
|
Nenue@84
|
5
|
Nenue@84
|
6 <Frame name="VeneerWorldState" mixin="VeneerWorldStateMixin" parent="UIParent" inherits="VeneerMixinScripts">
|
Nenue@84
|
7 <Anchors>
|
Nenue@84
|
8 <Anchor point="TOP" />
|
Nenue@84
|
9 </Anchors>
|
Nenue@84
|
10 <Size x="600" y="24" />
|
Nenue@84
|
11 <Frames>
|
Nenue@84
|
12 <Frame name="$parentProgress" parentKey="Progress" mixin="VeneerWorldStateProgressMixin" inherits="VeneerMixinScripts" enableMouse="true">
|
Nenue@84
|
13 <Anchors>
|
Nenue@84
|
14 <Anchor point="TOPLEFT" />
|
Nenue@84
|
15 </Anchors>
|
Nenue@84
|
16 <Animations>
|
Nenue@84
|
17 <AnimationGroup parentKey="TransitionFadeOut" setToFinalAlpha="true">
|
Nenue@84
|
18 <Alpha fromAlpha="1" toAlpha="0" duration="0.15" order="1" />
|
Nenue@84
|
19 <Scripts>
|
Nenue@84
|
20 <OnPlay>
|
Nenue@84
|
21 --print('VnWorldState','fade out')
|
Nenue@84
|
22 </OnPlay>
|
Nenue@84
|
23 <OnFinished>
|
Nenue@84
|
24 self:GetParent():Hide()
|
Nenue@84
|
25 self:GetParent():Update()
|
Nenue@84
|
26 </OnFinished>
|
Nenue@84
|
27 </Scripts>
|
Nenue@84
|
28 </AnimationGroup>
|
Nenue@84
|
29 <AnimationGroup parentKey="TransitionFadeIn" setToFinalAlpha="true">
|
Nenue@84
|
30 <Alpha fromAlpha="0" toAlpha="1" duration="0.15" order="1" />
|
Nenue@84
|
31 <Scripts>
|
Nenue@84
|
32 <OnPlay>
|
Nenue@84
|
33 self:GetParent():ShowPanel()
|
Nenue@84
|
34 self:GetParent().timeLived = 0
|
Nenue@84
|
35 --print('VnWorldState', 'fade in')
|
Nenue@84
|
36 </OnPlay>
|
Nenue@84
|
37 <OnFinished>
|
Nenue@84
|
38 self:GetParent().timeLived = 0
|
Nenue@84
|
39 </OnFinished>
|
Nenue@84
|
40 </Scripts>
|
Nenue@84
|
41 </AnimationGroup>
|
Nenue@84
|
42 <AnimationGroup parentKey="TimedFadeOut" setToFinalAlpha="true">
|
Nenue@84
|
43 <Alpha fromAlpha="1" toAlpha="0" duration="1.12" order="1" />
|
Nenue@84
|
44 <Scripts>
|
Nenue@84
|
45 <OnPlay>
|
Nenue@84
|
46 --print('VnWorldState','fade out')
|
Nenue@84
|
47 </OnPlay>
|
Nenue@84
|
48 <OnFinished>
|
Nenue@84
|
49 self:GetParent():HidePanel()
|
Nenue@84
|
50 </OnFinished>
|
Nenue@84
|
51 </Scripts>
|
Nenue@84
|
52 </AnimationGroup>
|
Nenue@84
|
53
|
Nenue@84
|
54 <AnimationGroup parentKey="ProgressFlash" setToFinalAlpha="true">
|
Nenue@84
|
55 <Alpha fromAlpha="0" toAlpha="1" duration="0.15" order="1" childKey="ProgressAdded" />
|
Nenue@84
|
56 <Alpha fromAlpha="1" toAlpha="0" duration="0.45" order="2" childKey="ProgressAdded" />
|
Nenue@84
|
57
|
Nenue@84
|
58 <Alpha childKey="Spark" fromAlpha="0" toAlpha="1" duration="0.15" order="1" />
|
Nenue@84
|
59 <Alpha childKey="Spark" fromAlpha="1" toAlpha="0" duration="0.15" order="2" />
|
Nenue@84
|
60 <Translation childKey="Spark" offsetX="600" offsetY="0" duration="0.30" order="1" />
|
Nenue@84
|
61 </AnimationGroup>
|
Nenue@84
|
62 </Animations>
|
Nenue@84
|
63 <Layers>
|
Nenue@84
|
64 <Layer level="BORDER">
|
Nenue@84
|
65 <Texture parentKey="ProgressBG">
|
Nenue@84
|
66 <Anchors>
|
Nenue@84
|
67 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" />
|
Nenue@84
|
68 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" x="0" y="12" />
|
Nenue@84
|
69 </Anchors>
|
Nenue@84
|
70 <Color r="0" g="0" b="0" a="0.5" />
|
Nenue@84
|
71 </Texture>
|
Nenue@84
|
72 </Layer>
|
Nenue@84
|
73 <Layer level="ARTWORK">
|
Nenue@84
|
74 <Texture parentKey="ProgressBar">
|
Nenue@84
|
75 <Anchors>
|
Nenue@84
|
76 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.ProgressBG" x="0" y="0" />
|
Nenue@84
|
77 </Anchors>
|
Nenue@84
|
78 <Color r="1" g="1" b="1" a="0.8" />
|
Nenue@84
|
79 </Texture>
|
Nenue@84
|
80 <Texture parentKey="OverflowBar" hidden="true">
|
Nenue@84
|
81 <Anchors>
|
Nenue@84
|
82 <Anchor point="BOTTOMLEFT" />
|
Nenue@84
|
83 </Anchors>
|
Nenue@84
|
84 <Color a=".6" r="1" g="0" b=".5" />
|
Nenue@84
|
85 </Texture>
|
Nenue@84
|
86 <Texture parentKey="ProgressAdded" hidden="true">
|
Nenue@84
|
87
|
Nenue@84
|
88 <Color a="1" r="1" g="1" b="1" />
|
Nenue@84
|
89 </Texture>
|
Nenue@84
|
90 </Layer>
|
Nenue@84
|
91 <Layer level="OVERLAY">
|
Nenue@84
|
92 <FontString parentKey="Label" inherits="VeneerNumberFont">
|
Nenue@84
|
93 <Anchors>
|
Nenue@84
|
94 <Anchor point="CENTER" />
|
Nenue@84
|
95 </Anchors>
|
Nenue@84
|
96 </FontString>
|
Nenue@84
|
97
|
Nenue@84
|
98 <Texture parentKey="Spark" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineBurst">
|
Nenue@84
|
99 <Size x="60" y="15"/>
|
Nenue@84
|
100 <Anchors>
|
Nenue@84
|
101 <Anchor point="LEFT" />
|
Nenue@84
|
102 </Anchors>
|
Nenue@84
|
103 </Texture>
|
Nenue@84
|
104 </Layer>
|
Nenue@84
|
105 </Layers>
|
Nenue@84
|
106 </Frame>
|
Nenue@84
|
107
|
Nenue@84
|
108 <Frame name="$parentZoneCurrency" parentKey="ZoneCurrency" mixin="VeneerWorldStateCurrencyMixin" hidden="true" inherits="VeneerMixinScripts">
|
Nenue@84
|
109 <Anchors>
|
Nenue@84
|
110 <Anchor point="TOPRIGHT" />
|
Nenue@84
|
111 </Anchors>
|
Nenue@84
|
112 <Layers>
|
Nenue@84
|
113 <Layer level="ARTWORK">
|
Nenue@84
|
114 <Texture parentKey="Icon" >
|
Nenue@84
|
115 <Size x="24" y="24" />
|
Nenue@84
|
116 <Anchors>
|
Nenue@84
|
117 <Anchor point="LEFT" />
|
Nenue@84
|
118 </Anchors>
|
Nenue@84
|
119 <TexCoords left="0.15" right="0.85" top="0.15" bottom="0.85" />
|
Nenue@84
|
120 </Texture>
|
Nenue@84
|
121 </Layer>
|
Nenue@84
|
122 <Layer level="OVERLAY">
|
Nenue@84
|
123 <FontString parentKey="Label" inherits="VeneerNumberFont">
|
Nenue@84
|
124 <Anchors>
|
Nenue@84
|
125 <Anchor point="LEFT" relativePoint="RIGHT" relativeKey="$parent.Icon" x="2" y="0" />
|
Nenue@84
|
126 </Anchors>
|
Nenue@84
|
127 </FontString>
|
Nenue@84
|
128 </Layer>
|
Nenue@84
|
129 </Layers>
|
Nenue@84
|
130 </Frame>
|
Nenue@84
|
131 </Frames>
|
Nenue@84
|
132 </Frame>
|
Nenue@84
|
133
|
Nenue@84
|
134 </Ui> |