annotate Templates.xml @ 116:ddfe19d70a34

ArtifactPower: - Further 7.2 accommodations, relating to tokens that grant millions of AP. Currency: - Ancient Mana zones list expanded - Legionfall War Supplies, Nethershards, and Blood of Sargeras are tracked globally PaperDoll: - Should update more effectively when delayed artifact data loads in. WorldState: - Fixed hanging panels after OrderHallCommandBar is hidden.
author Nenue
date Wed, 26 Apr 2017 20:06:38 -0400
parents 5476337198ec
children 1f68c46bc4de
rev   line source
Nenue@90 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@90 2 ..\FrameXML\UI.xsd">
Nenue@90 3
Nenue@90 4 <Script file="Templates.lua" />
Nenue@90 5
Nenue@90 6 <Font name="VeneerFont" />
Nenue@90 7 <Font name="VeneerFont_Small" font="Fonts\FRIZQT__.TTF" outline="NORMAL" height="16" />
Nenue@90 8
Nenue@90 9 <Font name="VeneerFont_Large" font="Fonts\FRIZQT__.TTF" outline="NORMAL" height="24" />
Nenue@90 10 <Font name="VeneerNumberFontSmall" font="Fonts\ARIALN.ttf" outline="NORMAL" height="12" />
Nenue@90 11 <Font name="VeneerNumberFont" font="Fonts\ARIALN.ttf" outline="NORMAL" height="14" />
Nenue@90 12 <Font name="VeneerNumberFontLarge" font="Fonts\ARIALN.ttf" outline="NORMAL" height="24" />
Nenue@90 13 <Font name="VeneerHeaderFont" font="Fonts\FRIZQT__.TTF" outline="THICK" height="14" />
Nenue@90 14 <Font name="VeneerHeader2Font" font="Fonts\FRIZQT__.TTF" outline="THICK" height="14">
Nenue@90 15 <Color a="1" r="1" g="0.4" b="0" />
Nenue@90 16 </Font>
Nenue@90 17
Nenue@97 18 <Font name="VeneerTimeFont" font="Fonts\ARIALN.ttf" outline="THICK" height="14" />
Nenue@97 19
Nenue@90 20 <!-- generic animations -->
Nenue@90 21 <Frame name="VeneerAnimations" virtual="true">
Nenue@90 22 <Animations>
Nenue@90 23 <AnimationGroup parentKey="BlockFade" looping="NONE" setToFinalAlpha="false">
Nenue@90 24 <Alpha parentKey="alpha" order="1" duration="1" fromAlpha="0.5" toAlpha="1" />
Nenue@90 25 <Scripts>
Nenue@90 26 <OnPlay>
Nenue@90 27 VeneerAnimationMixin.OnPlay(self)
Nenue@90 28 </OnPlay>
Nenue@90 29 </Scripts>
Nenue@90 30 </AnimationGroup>
Nenue@90 31 </Animations>
Nenue@90 32 </Frame>
Nenue@90 33
Nenue@90 34 <!-- mixin map -->
Nenue@90 35 <Frame name="VeneerMixinScripts" virtual="true">
Nenue@90 36 <Scripts>
Nenue@90 37 <OnLoad method="OnLoad" />
Nenue@90 38 <OnEvent method="OnEvent" />
Nenue@90 39 <OnUpdate method="OnUpdate" />
Nenue@90 40 <OnShow method="OnShow" />
Nenue@90 41 <OnHide method="OnHide" />
Nenue@90 42 <OnMouseDown method="OnMouseDown" />
Nenue@90 43 <OnSizeChanged method="OnSizeChanged" />
Nenue@90 44 </Scripts>
Nenue@90 45 </Frame>
Nenue@90 46
Nenue@90 47 <!-- colored-border object with minimal frame scripts -->
Nenue@90 48 <Frame name="VeneerStatusButtonTemplate" virtual="true">
Nenue@90 49 <Layers>
Nenue@90 50 <Layer level="BORDER">
Nenue@90 51 <Texture parentKey="bg" setAllPoints="true" parentArray="ConfigLayers" hidden="true" />
Nenue@90 52 </Layer>
Nenue@90 53 <Layer level="OVERLAY">
Nenue@90 54 <FontString parentKey="label" inherits="VeneerNumberFontLarge" parentArray="ConfigLayers" hidden="true">
Nenue@90 55 <Anchors>
Nenue@90 56 <Anchor point="TOPLEFT" />
Nenue@90 57 </Anchors>
Nenue@90 58 </FontString>
Nenue@90 59 </Layer>
Nenue@90 60 </Layers>
Nenue@90 61 <Frames>
Nenue@90 62 <Button parentKey="resize" parentArray="ConfigLayers" hidden="true">
Nenue@90 63 <Size x="48" y="16" />
Nenue@90 64 <Anchors>
Nenue@90 65 <Anchor point="BOTTOMRIGHT" />
Nenue@90 66 </Anchors>
Nenue@90 67 <NormalTexture setAllPoints="true">
Nenue@90 68 <Color a="1" r="1" g="1" b="1" />
Nenue@90 69 </NormalTexture>
Nenue@90 70 <PushedTexture>
Nenue@90 71 <Color a="1" r="1" g="0.5" b="1" />
Nenue@90 72 </PushedTexture>
Nenue@90 73 </Button>
Nenue@90 74 </Frames>
Nenue@90 75 </Frame>
Nenue@90 76
Nenue@90 77 <!-- same as above, but with a progress bar -->
Nenue@90 78 <Frame name="VeneerStatusBarTemplate" virtual="true" hidden="true" inherits="VeneerMixinScripts">
Nenue@90 79 <Scripts>
Nenue@90 80 <OnShow>
Nenue@90 81 if self.OnShow then self:OnShow() end
Nenue@90 82 if self.Header:IsVisible() then
Nenue@90 83 self.ProgressBG:ClearAllPoints()
Nenue@90 84 self.ProgressBG:SetPoint('TOP', self.GlowLine, 'BOTTOM', 0, -1)
Nenue@90 85 self.ProgressBG:SetPoint('LEFT')
Nenue@90 86 self.ProgressBG:SetPoint('RIGHT')
Nenue@90 87 self.ProgressBG:SetPoint('BOTTOM')
Nenue@90 88 else
Nenue@90 89 self.ProgressBG:ClearAllPoints()
Nenue@90 90 self.ProgressBG:SetAllPoints(self)
Nenue@90 91 end
Nenue@90 92 </OnShow>
Nenue@90 93 <OnSizeChanged>
Nenue@90 94 </OnSizeChanged>
Nenue@90 95 </Scripts>
Nenue@90 96 <Layers>
Nenue@90 97 <Layer level="BACKGROUND">
Nenue@90 98 <Texture parentKey="UnderLay">
Nenue@90 99
Nenue@90 100 </Texture>
Nenue@90 101 </Layer>
Nenue@90 102 <Layer level="BORDER">
Nenue@90 103 <Texture parentKey="ProgressBG" setAllPoints="true">
Nenue@90 104 <Color a=".7" r="0" g="0" b="0" />
Nenue@90 105 </Texture>
Nenue@90 106 <Texture parentKey="GlowLine" atlas="AftLevelup-GlowLine" useAtlasSize="false">
Nenue@90 107 <Size y="3" />
Nenue@90 108 <Anchors>
Nenue@90 109 <Anchor point="TOPLEFT" x="-27" y="-11" />
Nenue@90 110 <Anchor point="RIGHT" x="27" y="0" />
Nenue@90 111 </Anchors>
Nenue@90 112 </Texture>
Nenue@90 113 </Layer>
Nenue@90 114 <Layer level="ARTWORK">
Nenue@90 115 <Texture parentKey="ProgressBar">
Nenue@90 116 <Anchors>
Nenue@90 117 <Anchor point="BOTTOMLEFT" />
Nenue@90 118 </Anchors>
Nenue@90 119 <Color a="1" r=".7" g=".7" b=".7" />
Nenue@90 120 </Texture>
Nenue@90 121 </Layer>
Nenue@90 122 <Layer level="OVERLAY" >
Nenue@90 123 <FontString parentKey="Header" inherits="VeneerNumberFontSmall">
Nenue@90 124 <Anchors>
Nenue@90 125 <Anchor point="TOP" />
Nenue@90 126 </Anchors>
Nenue@90 127 </FontString>
Nenue@90 128 <FontString parentKey="Level" inherits="GameFontNormal">
Nenue@90 129 <Anchors>
Nenue@90 130 <Anchor point="TOP" x="0" y="14" />
Nenue@90 131 </Anchors>
Nenue@90 132 </FontString>
Nenue@90 133 <FontString parentKey="ProgressText" inherits="VeneerNumberFont">
Nenue@90 134 <Anchors>
Nenue@90 135 <Anchor point="CENTER" relativeKey="$parent.ProgressBG" />
Nenue@90 136 </Anchors>
Nenue@90 137 </FontString>
Nenue@90 138 </Layer>
Nenue@90 139 </Layers>
Nenue@90 140 </Frame>
Nenue@90 141
Nenue@90 142 <Frame name="VeneerHandlerTemplate" inherits="VeneerAnimations" hidden="true" parent="UIParent" virtual="true">
Nenue@90 143 <Layers>
Nenue@90 144 <Layer level="BACKGROUND">
Nenue@90 145 <Texture parentKey="Background" setAllPoints="true" parentArray="ConfigLayer">
Nenue@90 146 <Color a="0.5" r="0" g="0" b="0" />
Nenue@90 147 </Texture>
Nenue@90 148 </Layer>
Nenue@90 149 </Layers>
Nenue@90 150 <Scripts>
Nenue@90 151 <OnLoad method="OnLoad" />>
Nenue@90 152 <OnEvent method="OnEvent" />
Nenue@90 153 <OnShow method="OnShow" />
Nenue@90 154 <OnHide method="OnHide" />
Nenue@90 155 </Scripts>
Nenue@90 156 <Frames>
Nenue@90 157 <Frame name="$parentConfigHandler" setAllPoints="true" mixin="VeneerConfigLayerMixin" enableMouse="true" parentArray="ConfigLayer">
Nenue@90 158 <Scripts>
Nenue@90 159 <OnLoad method="OnLoad" />
Nenue@90 160 <OnShow method="OnShow" />
Nenue@90 161 <OnDragStart method="OnDragStart" />
Nenue@90 162 <OnDragStop method="OnDragStop" />
Nenue@90 163 <OnUpdate method="OnUpdate" />
Nenue@90 164 </Scripts>
Nenue@90 165 <Layers>
Nenue@90 166 <Layer level="OVERLAY">
Nenue@90 167 <FontString parentKey="ConfigName" parentArray="ConfigLayer" inherits="VeneerNumberFont">
Nenue@90 168 <Anchors>
Nenue@90 169 <Anchor point="TOPLEFT" />
Nenue@90 170 </Anchors>
Nenue@90 171 </FontString>
Nenue@90 172 <FontString parentKey="ConfigID" parentArray="ConfigLayer" inherits="VeneerNumberFont">
Nenue@90 173 <Anchors>
Nenue@90 174 <Anchor point="BOTTOMLEFT" />
Nenue@90 175 </Anchors>
Nenue@90 176 </FontString>
Nenue@90 177 <Texture setAllPoints="true" hidden="true">
Nenue@90 178 <Color a="0.25" r="0" g="1" b="0" />
Nenue@90 179 </Texture>
Nenue@90 180 </Layer>
Nenue@90 181 </Layers>
Nenue@90 182 </Frame>
Nenue@90 183 </Frames>
Nenue@90 184 </Frame>
Nenue@90 185
Nenue@90 186 </Ui>