annotate WorldPlan.xml @ 45:db570c6a0ffb v1.0-rc12

- Fixed filter buttons losing their anchor after FlightMap interactions - Fixed flickering tooltips - Fixed a source of hangs while opening the world map, particularly in non-Broken-Isle continents. - Workaround for World Map Action Button: Temporarily activate blizzard POI buttons while a quest-targeting spell is on the cursor.
author Nenue
date Mon, 26 Dec 2016 10:20:52 -0500
parents 589c444d4837
children 733785e306a3
rev   line source
Nenue@0 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@0 2 ..\FrameXML\UI.xsd">
Nenue@0 3
Nenue@0 4 <Script file="WorldPlan.lua" />
Nenue@7 5 <Script file="QuestPOI.lua" />
Nenue@0 6
Nenue@30 7 <Font name="WorldPlanFont" font="Interface\AddOns\WorldPlan\Font\ArchivoNarrow-Regular.ttf" height="12" outline="NORMAL" virtual="true" />
Nenue@21 8 <Font name="WorldPlanNumberFont" font="Interface\AddOns\WorldPlan\Font\ArchivoNarrow-Bold.ttf" height="10" outline="NORMAL" virtual="true" />
Nenue@30 9 <Font name="WorldPlanNumberFontThin" font="Interface\AddOns\WorldPlan\Font\ArchivoNarrow-Regular.ttf" height="14" outline="NORMAL" virtual="true" />
Nenue@0 10
Nenue@0 11 <GameTooltip name="WorldPlanTooltip" parent="UIParent" inherits="GameTooltipTemplate">
Nenue@0 12
Nenue@0 13 </GameTooltip>
Nenue@0 14
Nenue@0 15
Nenue@0 16 <Button name="VeneerWQCompassTemplate" virtual="true" hidden="true">
Nenue@0 17 <Size x="50" y="36" />
Nenue@0 18 <Anchors>
Nenue@0 19 <Anchor point="TOP" />
Nenue@0 20 </Anchors>
Nenue@0 21 <Layers>
Nenue@0 22 <Layer level="ARTWORK">
Nenue@0 23 <Texture parentKey="icon" name="$parentIcon" setAllPoints="false">
Nenue@0 24 <Anchors>
Nenue@0 25 <Anchor point="TOPLEFT" />
Nenue@0 26 </Anchors>
Nenue@0 27 </Texture>
Nenue@0 28 </Layer>
Nenue@0 29 <Layer level="OVERLAY">
Nenue@0 30 <FontString inherits="VeneerFont" parentKey="label">
Nenue@0 31 <Anchors>
Nenue@0 32 <Anchor point="LEFT" relativePoint="RIGHT" relativeKey="$parent.icon" />
Nenue@0 33 </Anchors>
Nenue@0 34 </FontString>
Nenue@0 35 </Layer>
Nenue@0 36 </Layers>
Nenue@0 37 </Button>
Nenue@0 38
Nenue@0 39 <Button name="WorldPlanQuestPin" virtual="true" hidden="true" frameStrata="TOOLTIP" mixin="WorldPlanPOIMixin">
Nenue@0 40 <Animations>
Nenue@0 41 <AnimationGroup parentKey="FadeIn" setToFinalAlpha="true" looping="NONE">
Nenue@34 42 <Alpha parentKey="FadeIn" duration="0.15" fromAlpha="0" toAlpha="1" order="1" />
Nenue@0 43 <Scripts>
Nenue@0 44 <OnPlay>
Nenue@0 45 self:GetParent().highlight:Show()
Nenue@0 46 </OnPlay>
Nenue@0 47 <OnStop>
Nenue@0 48 self:GetParent().highlight:Hide()
Nenue@0 49 self:GetParent().isAnimating = nil
Nenue@0 50 </OnStop>
Nenue@0 51 <OnFinished>
Nenue@0 52 self:GetParent().highlight:Hide()
Nenue@0 53 self:GetParent().isAnimating = nil
Nenue@0 54 </OnFinished>
Nenue@0 55 </Scripts>
Nenue@0 56 </AnimationGroup>
Nenue@0 57 <AnimationGroup parentKey="PendingFade" setToFinalAlpha="true" looping="REPEAT">
Nenue@34 58 <Alpha parentKey="FadeOut" duration="0.72" fromAlpha="1" toAlpha="0" order="1" />
Nenue@34 59 <Alpha parentKey="FadeIn" duration="0.72" fromAlpha="0" toAlpha="1" order="2" />
Nenue@0 60 </AnimationGroup>
Nenue@0 61 </Animations>
Nenue@0 62 <Layers>
Nenue@36 63 <Layer level="BACKGROUND" textureSubLevel="-2">
Nenue@36 64 <Texture parentKey="MouseGlow" file="Interface\WorldMap\UI-QuestPoi-IconGlow" alphaMode="ADD" hidden="true">
Nenue@36 65 <Anchors>
Nenue@36 66 <Anchor point="BOTTOMLEFT" x="-12" y="-12" />
Nenue@36 67 <Anchor point="TOPRIGHT" x="12" y="12" />
Nenue@36 68 </Anchors>
Nenue@36 69 </Texture>
Nenue@36 70 <Texture parentKey="HighlightBorder" desaturated="true">
Nenue@36 71 <Anchors>
Nenue@36 72 <Anchor point="CENTER" />
Nenue@36 73 </Anchors>
Nenue@36 74 </Texture>
Nenue@36 75 <Texture parentKey="EliteBorder" atlas="worldquest-questmarker-dragon" useAtlasSize="true" hidden="true">
Nenue@36 76 <Anchors>
Nenue@36 77 <Anchor point="TOPRIGHT" x="6" y="6" />
Nenue@36 78 <Anchor point="BOTTOMLEFT" x="-6" y="-6" />
Nenue@36 79 </Anchors>
Nenue@36 80 </Texture>
Nenue@36 81 </Layer>
Nenue@36 82 <Layer level="BACKGROUND" textureSubLevel="1">
Nenue@0 83 <Texture parentKey="icon" setAllPoints="true">
Nenue@0 84 <Anchors>
Nenue@36 85 <Anchor point="CENTER" />
Nenue@0 86 </Anchors>
Nenue@0 87 </Texture>
Nenue@0 88 </Layer>
Nenue@0 89 <Layer level="BORDER">
Nenue@36 90 <Texture parentKey="RewardBorder" file="Interface\UNITPOWERBARALT\Generic1Target_Circular_Frame" desaturated="true">
Nenue@0 91 <Anchors>
Nenue@36 92 <Anchor point="CENTER" />
Nenue@0 93 </Anchors>
Nenue@0 94 </Texture>
Nenue@0 95 </Layer>
Nenue@0 96 <Layer level="OVERLAY">
Nenue@0 97 <Texture parentKey="dot" hidden="true" setAllPoints="false">
Nenue@0 98 <Size x="6" y="6" />
Nenue@0 99 <Color a="1" r="1" g="0" b="0" />
Nenue@0 100 </Texture>
Nenue@0 101 <Texture parentKey="dotH" hidden="true">
Nenue@0 102 <Size y="4" />
Nenue@0 103 <Color a="1" r="0" g="0" b="0" />
Nenue@0 104 </Texture>
Nenue@0 105 <Texture parentKey="tagIcon" setAllPoints="false">
Nenue@0 106 <Size x="12" y="12" />
Nenue@0 107 <Anchors>
Nenue@0 108 <Anchor point="BOTTOMRIGHT" x="1" y="-1" />
Nenue@0 109 </Anchors>
Nenue@0 110 </Texture>
Nenue@29 111 </Layer>
Nenue@29 112 <Layer level="HIGHLIGHT">
Nenue@36 113 <Texture parentKey="highlight" alphaMode="ADD" alpha="0" file="Interface\Tooltips\UI-Tooltip-Background" desaturated="true">
Nenue@36 114 <Anchors>
Nenue@36 115 <Anchor point="BOTTOMLEFT" x="-3" y="-3" />
Nenue@36 116 <Anchor point="TOPRIGHT" x="3" y="3" />
Nenue@36 117 </Anchors>
Nenue@36 118 </Texture>
Nenue@0 119
Nenue@0 120 </Layer>
Nenue@0 121 </Layers>
Nenue@0 122 <Scripts>
Nenue@0 123 <OnLoad method="OnLoad" />
Nenue@0 124 <OnEvent method="OnEvent" />
Nenue@0 125 <OnUpdate method="OnUpdate" />
Nenue@0 126 <OnShow method="OnShow" />
Nenue@0 127 <OnHide method="OnHide" />
Nenue@7 128 <OnMouseDown method="OnMouseDown" />
Nenue@7 129 <OnEnter method="OnEnter" />
Nenue@7 130 <OnLeave method="OnLeave" />
Nenue@0 131 </Scripts>
Nenue@36 132 <Frames>
Nenue@36 133 <Frame parentKey="Overlay" setAllPoints="true">
Nenue@36 134 <Layers>
Nenue@36 135 <Layer level="OVERLAY">
Nenue@36 136 <FontString inherits="WorldPlanNumberFontThin" parentKey="count">
Nenue@36 137 <Anchors>
Nenue@36 138 <Anchor point="BOTTOM" x="0" y="0" />
Nenue@36 139 </Anchors>
Nenue@36 140 </FontString>
Nenue@36 141 <FontString inherits="WorldPlanNumberFont" parentKey="timeLabel">
Nenue@36 142 <Anchors>
Nenue@36 143 <Anchor point="TOP" x="0" y="0" />
Nenue@36 144 </Anchors>
Nenue@36 145 </FontString>
Nenue@36 146 </Layer>
Nenue@36 147 </Layers>
Nenue@36 148 </Frame>
Nenue@36 149 </Frames>
Nenue@0 150 </Button>
Nenue@0 151
Nenue@0 152 <Frame name="WorldPlan" mixin="WorldPlanCore" parent="UIParent">
Nenue@0 153 <KeyValues>
Nenue@0 154 <KeyValue key="DEVIAN_PNAME" value="WorldPlan"/>
Nenue@0 155 </KeyValues>
Nenue@0 156 <Size x="600" y="24" />
Nenue@0 157 <Anchors>
Nenue@4 158 <Anchor point="TOPRIGHT" />
Nenue@0 159 </Anchors>
Nenue@0 160 <Scripts>
Nenue@0 161 <OnLoad method="OnLoad" />
Nenue@0 162 <OnEvent method="OnEvent" />
Nenue@30 163 <OnUpdate method="OnUpdate" />
Nenue@30 164 <OnShow method="OnShow" />
Nenue@30 165 </Scripts>
Nenue@30 166 </Frame>
Nenue@30 167
Nenue@35 168
Nenue@0 169 </Ui>