Mercurial > wow > buffalo2
comparison Modules/WorldState.xml @ 93:caded2668701
Curseforge migration and source tree cleaning
author | Nenue |
---|---|
date | Sun, 01 Jan 2017 18:25:26 -0500 |
parents | 6e2cb847c3c6 |
children | bb38bc0e787f |
comparison
equal
deleted
inserted
replaced
92:d41c7dc3012f | 93:caded2668701 |
---|---|
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 | 3 |
4 <Script file="WorldState.lua" /> | 4 <Script file="WorldState.lua" /> |
5 | 5 |
6 <Frame name="VeneerWorldState" mixin="VeneerWorldStateMixin" parent="UIParent" inherits="VeneerMixinScripts, VeneerAnimations"> | 6 <Frame name="VeneerWorldState" mixin="VeneerWorldStateMixin" parent="UIParent" inherits="VeneerMixinScripts"> |
7 <Anchors> | 7 <Anchors> |
8 <Anchor point="TOP" /> | 8 <Anchor point="TOP" /> |
9 </Anchors> | 9 </Anchors> |
10 <Size x="600" y="24" /> | 10 <Size x="600" y="24" /> |
11 <Frames> | 11 <Frames> |
12 | |
12 <Frame name="$parentProgress" mixin="VeneerWorldStateProgressMixin" inherits="VeneerMixinScripts" enableMouse="true"> | 13 <Frame name="$parentProgress" mixin="VeneerWorldStateProgressMixin" inherits="VeneerMixinScripts" enableMouse="true"> |
13 <Anchors> | 14 <Anchors> |
14 <Anchor point="TOPLEFT" /> | 15 <Anchor point="TOPLEFT" /> |
15 </Anchors> | 16 </Anchors> |
16 <Animations> | 17 <Animations> |
20 <OnPlay> | 21 <OnPlay> |
21 --print('VnWorldState','fade out') | 22 --print('VnWorldState','fade out') |
22 self:GetParent().faded = true | 23 self:GetParent().faded = true |
23 </OnPlay> | 24 </OnPlay> |
24 <OnStop> | 25 <OnStop> |
25 --print('VnWorldState', '|cFF44FF00stopped fadeout') | 26 print('VnWorldState', '|cFF44FF00stopped fadeout') |
26 self:GetParent():Update() | 27 self:GetParent():Update() |
27 </OnStop> | 28 </OnStop> |
28 <OnFinished> | 29 <OnFinished> |
29 --print('VnWorldState', '|cFFFFFF00end of fadeout') | 30 --print('VnWorldState', '|cFFFFFF00end of fadeout') |
30 self:GetParent():Hide() | 31 self:GetParent():Hide() |
51 </Scripts> | 52 </Scripts> |
52 </AnimationGroup> | 53 </AnimationGroup> |
53 <AnimationGroup parentKey="TimedFadeOut" setToFinalAlpha="true"> | 54 <AnimationGroup parentKey="TimedFadeOut" setToFinalAlpha="true"> |
54 <Alpha childKey="ProgressText" fromAlpha="1" toAlpha="0" duration="1.12" order="1" /> | 55 <Alpha childKey="ProgressText" fromAlpha="1" toAlpha="0" duration="1.12" order="1" /> |
55 <Alpha childKey="Background" fromAlpha="1" toAlpha="0" duration="1.12" order="1" /> | 56 <Alpha childKey="Background" fromAlpha="1" toAlpha="0" duration="1.12" order="1" /> |
57 <Scripts> | |
58 | |
59 <OnFinished> | |
60 --print('VnWorldState', '|cFFFFFF00end of fadeout') | |
61 self:GetParent():Hide() | |
62 </OnFinished> | |
63 </Scripts> | |
56 </AnimationGroup> | 64 </AnimationGroup> |
57 | 65 |
58 <AnimationGroup parentKey="ProgressFlash" setToFinalAlpha="true"> | 66 <AnimationGroup parentKey="ProgressFlash" setToFinalAlpha="true"> |
59 <Alpha fromAlpha="0" toAlpha="1" duration="0.15" order="1" childKey="ProgressAdded" /> | 67 <Alpha fromAlpha="0" toAlpha="1" duration="0.15" order="1" childKey="ProgressAdded" /> |
60 <Alpha fromAlpha="1" toAlpha="0" duration="0.45" order="2" childKey="ProgressAdded" /> | 68 <Alpha fromAlpha="1" toAlpha="0" duration="0.45" order="2" childKey="ProgressAdded" /> |