Mercurial > wow > buffalo2
comparison Veneer.xml @ 82:be813a9d99c0
- order of operations regarding frame visibility checking
- interaction with WorldPlan OrderHall module
- fancy shmancy transition fades resulting from above
| author | Nenue |
|---|---|
| date | Mon, 17 Oct 2016 13:00:26 -0400 |
| parents | 65ec88b30eb8 |
| children | 4ec4fd89fced |
comparison
equal
deleted
inserted
replaced
| 81:65ec88b30eb8 | 82:be813a9d99c0 |
|---|---|
| 161 | 161 |
| 162 <Frame name="VeneerMixinScripts" virtual="true"> | 162 <Frame name="VeneerMixinScripts" virtual="true"> |
| 163 <Scripts> | 163 <Scripts> |
| 164 <OnLoad method="OnLoad" /> | 164 <OnLoad method="OnLoad" /> |
| 165 <OnEvent method="OnEvent" /> | 165 <OnEvent method="OnEvent" /> |
| 166 <OnShow method="OnShow" /> | 166 <OnUpdate method="OnUpdate" /> |
| 167 </Scripts> | 167 </Scripts> |
| 168 </Frame> | 168 </Frame> |
| 169 | 169 |
| 170 <Frame name="VeneerStatusBarTemplate" virtual="true" hidden="true" inherits="VeneerMixinScripts"> | 170 <Frame name="VeneerStatusBarTemplate" virtual="true" hidden="true" inherits="VeneerMixinScripts"> |
| 171 <Scripts> | 171 <Scripts> |
| 240 </Anchors> | 240 </Anchors> |
| 241 <Size x="600" y="24" /> | 241 <Size x="600" y="24" /> |
| 242 <Frames> | 242 <Frames> |
| 243 <Frame name="$parentProgress" parentKey="Progress" mixin="VeneerWorldStateProgressMixin" inherits="VeneerMixinScripts"> | 243 <Frame name="$parentProgress" parentKey="Progress" mixin="VeneerWorldStateProgressMixin" inherits="VeneerMixinScripts"> |
| 244 | 244 |
| 245 <Size x="600" y="12" /> | |
| 246 <Anchors> | 245 <Anchors> |
| 247 <Anchor point="TOPLEFT" /> | 246 <Anchor point="TOPLEFT" /> |
| 248 </Anchors> | 247 </Anchors> |
| 249 <Layers> | 248 <Layers> |
| 250 <Layer level="BORDER"> | 249 <Layer level="BORDER"> |
| 257 <Anchors> | 256 <Anchors> |
| 258 <Anchor point="BOTTOMLEFT" /> | 257 <Anchor point="BOTTOMLEFT" /> |
| 259 </Anchors> | 258 </Anchors> |
| 260 <Color r="1" g="1" b="1" a="0.8" /> | 259 <Color r="1" g="1" b="1" a="0.8" /> |
| 261 </Texture> | 260 </Texture> |
| 261 <Texture parentKey="OverflowBar" hidden="true"> | |
| 262 <Anchors> | |
| 263 <Anchor point="BOTTOMLEFT" /> | |
| 264 </Anchors> | |
| 265 <Color a=".6" r="1" g="0" b=".5" /> | |
| 266 </Texture> | |
| 267 <Texture parentKey="ProgressAdded" hidden="true"> | |
| 268 | |
| 269 <Color a="1" r="1" g="1" b="1" /> | |
| 270 </Texture> | |
| 262 </Layer> | 271 </Layer> |
| 263 <Layer level="OVERLAY"> | 272 <Layer level="OVERLAY"> |
| 264 <FontString parentKey="Label" inherits="VeneerNumberFont"> | 273 <FontString parentKey="Label" inherits="VeneerNumberFont"> |
| 265 <Anchors> | 274 <Anchors> |
| 266 <Anchor point="CENTER" /> | 275 <Anchor point="CENTER" /> |
| 267 </Anchors> | 276 </Anchors> |
| 268 </FontString> | 277 </FontString> |
| 269 </Layer> | 278 </Layer> |
| 270 </Layers> | 279 </Layers> |
| 280 <Animations> | |
| 281 <AnimationGroup parentKey="TransitionFadeOut" setToFinalAlpha="true"> | |
| 282 <Alpha fromAlpha="1" toAlpha="0" duration="0.15" order="1" /> | |
| 283 <Scripts> | |
| 284 <OnPlay> | |
| 285 print('VnWorldState','fade out') | |
| 286 </OnPlay> | |
| 287 <OnFinished> | |
| 288 self:GetParent():Hide() | |
| 289 self:GetParent():Update() | |
| 290 </OnFinished> | |
| 291 </Scripts> | |
| 292 </AnimationGroup> | |
| 293 <AnimationGroup parentKey="TransitionFadeIn" setToFinalAlpha="true"> | |
| 294 <Alpha fromAlpha="0" toAlpha="1" duration="0.15" order="1" /> | |
| 295 <Scripts> | |
| 296 <OnPlay> | |
| 297 self:GetParent():ShowPanel() | |
| 298 self:GetParent().timeLived = 0 | |
| 299 print('VnWorldState', 'fade in') | |
| 300 </OnPlay> | |
| 301 <OnFinished> | |
| 302 self:GetParent().timeLived = 0 | |
| 303 </OnFinished> | |
| 304 </Scripts> | |
| 305 </AnimationGroup> | |
| 306 <AnimationGroup parentKey="ProgressFlash" setToFinalAlpha="true"> | |
| 307 <Alpha fromAlpha="0" toAlpha="1" duration="0.15" order="1" childKey="ProgressAdded" /> | |
| 308 <Alpha fromAlpha="1" toAlpha="0" duration="0.45" order="2" childKey="ProgressAdded" /> | |
| 309 </AnimationGroup> | |
| 310 </Animations> | |
| 271 </Frame> | 311 </Frame> |
| 272 | 312 |
| 273 <Frame name="$parentZoneCurrency" parentKey="ZoneCurrency" mixin="VeneerWorldStateCurrencyMixin" hidden="true" inherits="VeneerMixinScripts"> | 313 <Frame name="$parentZoneCurrency" parentKey="ZoneCurrency" mixin="VeneerWorldStateCurrencyMixin" hidden="true" inherits="VeneerMixinScripts"> |
| 274 <Anchors> | 314 <Anchors> |
| 275 <Anchor point="TOPRIGHT" /> | 315 <Anchor point="TOPRIGHT" /> |
| 276 </Anchors> | 316 </Anchors> |
| 277 <Size x="200" y="24" /> | |
| 278 <Layers> | 317 <Layers> |
| 279 <Layer level="ARTWORK"> | 318 <Layer level="ARTWORK"> |
| 280 <Texture parentKey="Icon" > | 319 <Texture parentKey="Icon" > |
| 281 <Size x="24" y="24" /> | 320 <Size x="24" y="24" /> |
| 282 <Anchors> | 321 <Anchors> |
