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@87
|
60 <Translation parentKey="translation" childKey="Spark" offsetX="600" offsetY="0" duration="0.30" order="1" />
|
Nenue@87
|
61 <Scripts>
|
Nenue@87
|
62 <OnPlay>
|
Nenue@87
|
63 self:GetParent().ProgressAdded:Show()
|
Nenue@87
|
64 self:GetParent().Spark:Show()
|
Nenue@87
|
65 </OnPlay>
|
Nenue@87
|
66 <OnStop>
|
Nenue@87
|
67 self:GetParent().ProgressAdded:Hide()
|
Nenue@87
|
68 self:GetParent().Spark:Hide()
|
Nenue@87
|
69 </OnStop>
|
Nenue@87
|
70 <OnFinished>
|
Nenue@87
|
71 self:GetParent().ProgressAdded:Hide()
|
Nenue@87
|
72 self:GetParent().Spark:Hide()
|
Nenue@87
|
73 </OnFinished>
|
Nenue@87
|
74 </Scripts>
|
Nenue@84
|
75 </AnimationGroup>
|
Nenue@84
|
76 </Animations>
|
Nenue@84
|
77 <Layers>
|
Nenue@84
|
78 <Layer level="BORDER">
|
Nenue@84
|
79 <Texture parentKey="ProgressBG">
|
Nenue@84
|
80 <Anchors>
|
Nenue@85
|
81 <Anchor point="TOPRIGHT" />
|
Nenue@84
|
82 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" x="0" y="12" />
|
Nenue@84
|
83 </Anchors>
|
Nenue@84
|
84 <Color r="0" g="0" b="0" a="0.5" />
|
Nenue@84
|
85 </Texture>
|
Nenue@84
|
86 </Layer>
|
Nenue@84
|
87 <Layer level="ARTWORK">
|
Nenue@84
|
88 <Texture parentKey="ProgressBar">
|
Nenue@84
|
89 <Anchors>
|
Nenue@84
|
90 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.ProgressBG" x="0" y="0" />
|
Nenue@84
|
91 </Anchors>
|
Nenue@84
|
92 <Color r="1" g="1" b="1" a="0.8" />
|
Nenue@84
|
93 </Texture>
|
Nenue@84
|
94 <Texture parentKey="OverflowBar" hidden="true">
|
Nenue@84
|
95 <Anchors>
|
Nenue@84
|
96 <Anchor point="BOTTOMLEFT" />
|
Nenue@84
|
97 </Anchors>
|
Nenue@84
|
98 <Color a=".6" r="1" g="0" b=".5" />
|
Nenue@84
|
99 </Texture>
|
Nenue@87
|
100 </Layer>
|
Nenue@87
|
101 <Layer level="OVERLAY">
|
Nenue@84
|
102 <Texture parentKey="ProgressAdded" hidden="true">
|
Nenue@84
|
103 <Color a="1" r="1" g="1" b="1" />
|
Nenue@84
|
104 </Texture>
|
Nenue@87
|
105
|
Nenue@87
|
106 <Texture parentKey="Spark" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineBurst">
|
Nenue@87
|
107 <Size x="60" y="15"/>
|
Nenue@87
|
108 <Anchors>
|
Nenue@87
|
109 <Anchor point="CENTER" relativePoint="LEFT" relativeKey="$parent.ProgressAdded" />
|
Nenue@87
|
110 </Anchors>
|
Nenue@87
|
111 </Texture>
|
Nenue@84
|
112 <FontString parentKey="Label" inherits="VeneerNumberFont">
|
Nenue@84
|
113 <Anchors>
|
Nenue@84
|
114 <Anchor point="CENTER" />
|
Nenue@84
|
115 </Anchors>
|
Nenue@84
|
116 </FontString>
|
Nenue@84
|
117 </Layer>
|
Nenue@84
|
118 </Layers>
|
Nenue@84
|
119 </Frame>
|
Nenue@84
|
120
|
Nenue@84
|
121 <Frame name="$parentZoneCurrency" parentKey="ZoneCurrency" mixin="VeneerWorldStateCurrencyMixin" hidden="true" inherits="VeneerMixinScripts">
|
Nenue@84
|
122 <Anchors>
|
Nenue@84
|
123 <Anchor point="TOPRIGHT" />
|
Nenue@84
|
124 </Anchors>
|
Nenue@84
|
125 <Layers>
|
Nenue@84
|
126 <Layer level="ARTWORK">
|
Nenue@84
|
127 <Texture parentKey="Icon" >
|
Nenue@84
|
128 <Size x="24" y="24" />
|
Nenue@84
|
129 <Anchors>
|
Nenue@84
|
130 <Anchor point="LEFT" />
|
Nenue@84
|
131 </Anchors>
|
Nenue@84
|
132 <TexCoords left="0.15" right="0.85" top="0.15" bottom="0.85" />
|
Nenue@84
|
133 </Texture>
|
Nenue@84
|
134 </Layer>
|
Nenue@84
|
135 <Layer level="OVERLAY">
|
Nenue@84
|
136 <FontString parentKey="Label" inherits="VeneerNumberFont">
|
Nenue@84
|
137 <Anchors>
|
Nenue@84
|
138 <Anchor point="LEFT" relativePoint="RIGHT" relativeKey="$parent.Icon" x="2" y="0" />
|
Nenue@84
|
139 </Anchors>
|
Nenue@84
|
140 </FontString>
|
Nenue@84
|
141 </Layer>
|
Nenue@84
|
142 </Layers>
|
Nenue@84
|
143 </Frame>
|
Nenue@84
|
144 </Frames>
|
Nenue@84
|
145 </Frame>
|
Nenue@84
|
146
|
Nenue@87
|
147 <Frame name="VeneerOrderHallHandler" parent="UIParent" mixin="VeneerOrderHallMixin" inherits="VeneerMixinScripts" />
|
Nenue@84
|
148 </Ui> |