Mercurial > wow > buffalo2
comparison Modules/WorldState.xml @ 96:bb38bc0e787f
- fix weapon slot anchors for paperdoll
| author | Nenue |
|---|---|
| date | Tue, 03 Jan 2017 14:06:41 -0500 |
| parents | caded2668701 |
| children | 2105b6e5095f |
comparison
equal
deleted
inserted
replaced
| 95:43303398d1b9 | 96:bb38bc0e787f |
|---|---|
| 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"> | 6 <Frame name="VeneerWorldState" mixin="VeneerWorldStateMixin" parent="UIParent" inherits="VeneerMixinScripts"> |
| 7 <Size x="600" y="24" /> | |
| 7 <Anchors> | 8 <Anchors> |
| 8 <Anchor point="TOP" /> | 9 <Anchor point="TOP" /> |
| 9 </Anchors> | 10 </Anchors> |
| 10 <Size x="600" y="24" /> | |
| 11 <Frames> | 11 <Frames> |
| 12 | |
| 13 <Frame name="$parentProgress" mixin="VeneerWorldStateProgressMixin" inherits="VeneerMixinScripts" enableMouse="true"> | |
| 14 <Anchors> | |
| 15 <Anchor point="TOPLEFT" /> | |
| 16 </Anchors> | |
| 17 <Animations> | |
| 18 <AnimationGroup parentKey="TransitionFadeOut" setToFinalAlpha="true"> | |
| 19 <Alpha fromAlpha="1" toAlpha="0" duration="0.15" order="1" /> | |
| 20 <Scripts> | |
| 21 <OnPlay> | |
| 22 --print('VnWorldState','fade out') | |
| 23 self:GetParent().faded = true | |
| 24 </OnPlay> | |
| 25 <OnStop> | |
| 26 print('VnWorldState', '|cFF44FF00stopped fadeout') | |
| 27 self:GetParent():Update() | |
| 28 </OnStop> | |
| 29 <OnFinished> | |
| 30 --print('VnWorldState', '|cFFFFFF00end of fadeout') | |
| 31 self:GetParent():Hide() | |
| 32 self:GetParent():Update() | |
| 33 </OnFinished> | |
| 34 </Scripts> | |
| 35 </AnimationGroup> | |
| 36 <AnimationGroup parentKey="TransitionFadeIn" setToFinalAlpha="true"> | |
| 37 <Alpha fromAlpha="0" toAlpha="1" duration="0.15" order="1" /> | |
| 38 <Scripts> | |
| 39 <OnPlay> | |
| 40 self:GetParent():ShowPanel() | |
| 41 self:GetParent().timeLived = 0 | |
| 42 --print('VnWorldState', 'fade in') | |
| 43 </OnPlay> | |
| 44 <OnStop> | |
| 45 self:GetParent():Update() | |
| 46 </OnStop> | |
| 47 <OnFinished> | |
| 48 --print('VnWorldState', '|cFFFFFF00end of fade IN') | |
| 49 self:GetParent().faded = nil | |
| 50 self:GetParent().timeLived = 0 | |
| 51 </OnFinished> | |
| 52 </Scripts> | |
| 53 </AnimationGroup> | |
| 54 <AnimationGroup parentKey="TimedFadeOut" setToFinalAlpha="true"> | |
| 55 <Alpha childKey="ProgressText" 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> | |
| 64 </AnimationGroup> | |
| 65 | |
| 66 <AnimationGroup parentKey="ProgressFlash" setToFinalAlpha="true"> | |
| 67 <Alpha fromAlpha="0" toAlpha="1" duration="0.15" order="1" childKey="ProgressAdded" /> | |
| 68 <Alpha fromAlpha="1" toAlpha="0" duration="0.45" order="2" childKey="ProgressAdded" /> | |
| 69 | |
| 70 <Alpha childKey="Spark" fromAlpha="0" toAlpha="1" duration="0.15" order="1" /> | |
| 71 <Alpha childKey="Spark" fromAlpha="1" toAlpha="0" duration="0.15" order="2" /> | |
| 72 | |
| 73 | |
| 74 <Alpha childKey="ProgressSpark" fromAlpha="0" toAlpha="1" duration="0.15" order="1" startDelay=".45" /> | |
| 75 <Translation parentKey="translation" childKey="Spark" offsetX="600" offsetY="0" duration="0.30" order="1" /> | |
| 76 <Scripts> | |
| 77 <OnPlay> | |
| 78 self:GetParent().ProgressAdded:Show() | |
| 79 self:GetParent().Spark:Show() | |
| 80 </OnPlay> | |
| 81 <OnStop> | |
| 82 self:GetParent().ProgressAdded:Hide() | |
| 83 self:GetParent().Spark:Hide() | |
| 84 </OnStop> | |
| 85 <OnFinished> | |
| 86 self:GetParent().ProgressAdded:Hide() | |
| 87 self:GetParent().Spark:Hide() | |
| 88 </OnFinished> | |
| 89 </Scripts> | |
| 90 </AnimationGroup> | |
| 91 </Animations> | |
| 92 <Layers> | |
| 93 <Layer level="BACKGROUND"> | |
| 94 <Texture parentKey="Background" alphaMode="BLEND" file="Interface\LevelUp\BossBanner"> | |
| 95 <Anchors> | |
| 96 <Anchor point="TOP" /> | |
| 97 <Anchor point="BOTTOM" /> | |
| 98 <Anchor point="LEFT" x="24" y="0" /> | |
| 99 <Anchor point="RIGHT" x="-24" y="0" /> | |
| 100 </Anchors> | |
| 101 <TexCoords left="0" right="0.8" top="0.45" bottom="0.55" /> | |
| 102 </Texture> | |
| 103 </Layer> | |
| 104 <Layer level="BORDER"> | |
| 105 <Texture parentKey="ProgressBG"> | |
| 106 <Anchors> | |
| 107 <Anchor point="TOPRIGHT" /> | |
| 108 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" x="0" y="12" /> | |
| 109 </Anchors> | |
| 110 <Color r="0" g="0" b="0" a="0.75" /> | |
| 111 </Texture> | |
| 112 </Layer> | |
| 113 <Layer level="ARTWORK"> | |
| 114 <Texture parentKey="ProgressBar"> | |
| 115 <Anchors> | |
| 116 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.ProgressBG" x="0" y="0" /> | |
| 117 </Anchors> | |
| 118 <Color r="1" g="1" b="1" a="0.8" /> | |
| 119 </Texture> | |
| 120 </Layer> | |
| 121 <Layer level="ARTWORK" textureSubLevel="2"> | |
| 122 | |
| 123 <Texture parentKey="OverflowBar" hidden="true"> | |
| 124 <Anchors> | |
| 125 <Anchor point="BOTTOM" relativeKey="$parent.ProgressBG" /> | |
| 126 <Anchor point="TOP" relativeKey="$parent.ProgressBG" /> | |
| 127 </Anchors> | |
| 128 <Color a="1" r="0.1" g=".35" b=".85" /> | |
| 129 </Texture> | |
| 130 </Layer> | |
| 131 <Layer level="OVERLAY"> | |
| 132 <Texture parentKey="ProgressAdded" hidden="true"> | |
| 133 <Color a="1" r="1" g="1" b="1" /> | |
| 134 </Texture> | |
| 135 | |
| 136 <Texture parentKey="Spark" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineBurst"> | |
| 137 <Size x="60" y="15"/> | |
| 138 <Anchors> | |
| 139 <Anchor point="CENTER" relativePoint="LEFT" relativeKey="$parent.ProgressAdded" /> | |
| 140 </Anchors> | |
| 141 </Texture> | |
| 142 <Texture parentKey="ProgressSpark" atlas="OBJFX_LineBurst"> | |
| 143 <Size x="8" y="12" /> | |
| 144 </Texture> | |
| 145 | |
| 146 <FontString parentKey="Label" inherits="VeneerNumberFont"> | |
| 147 <Anchors> | |
| 148 <Anchor point="CENTER" /> | |
| 149 </Anchors> | |
| 150 </FontString> | |
| 151 </Layer> | |
| 152 </Layers> | |
| 153 </Frame> | |
| 154 | |
| 155 <Frame name="$parentZoneCurrency" mixin="VeneerWorldStateCurrencyMixin" hidden="true" inherits="VeneerMixinScripts, VeneerAnimations"> | 12 <Frame name="$parentZoneCurrency" mixin="VeneerWorldStateCurrencyMixin" hidden="true" inherits="VeneerMixinScripts, VeneerAnimations"> |
| 156 <Size x="240" y="24" /> | 13 <Size x="240" y="24" /> |
| 157 <Anchors> | 14 <Anchors> |
| 158 <Anchor point="TOP" /> | 15 <Anchor point="TOP" /> |
| 159 </Anchors> | 16 </Anchors> |
| 173 </Anchors> | 30 </Anchors> |
| 174 </FontString> | 31 </FontString> |
| 175 </Layer> | 32 </Layer> |
| 176 </Layers> | 33 </Layers> |
| 177 </Frame> | 34 </Frame> |
| 178 | |
| 179 </Frames> | 35 </Frames> |
| 180 </Frame> | 36 </Frame> |
| 181 <Frame name="VeneerOrderHallHandler" hidden="true" parent="UIParent" mixin="VeneerOrderHallMixin" inherits="VeneerMixinScripts" /> | 37 <Frame name="VeneerOrderHallHandler" hidden="true" parent="UIParent" mixin="VeneerOrderHallMixin" inherits="VeneerMixinScripts" /> |
| 182 | 38 |
| 183 </Ui> | 39 </Ui> |
