annotate WorldPlan.xml @ 93:98b5e08b75ed v1.4.9

- Fixed quest completion checking and handling - Changed animation method to hopefully stop weird flickering. - Pins are now visible before full reward data is loaded - Filter bar redesigned: - aligned horizontally along the top of the map display - filter buttons display a '+' when there are matches in both current and other zones, and '*' when there only matches in other zones - button tooltips separate local and global quests - button categories are highlighted and labeled when the cursor is over them - Fixed invalid POI targets appearing when the spell targeting cursor is active
author Nenue
date Sat, 15 Apr 2017 11:04:54 -0400
parents 78d78dc77822
children b29b35cb8539
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@93 39 <Button name="WorldPlanQuestPin" virtual="true" hidden="true" mixin="WorldPlanPOIMixin">
Nenue@0 40 <Animations>
Nenue@0 41 <AnimationGroup parentKey="FadeIn" setToFinalAlpha="true" looping="NONE">
Nenue@93 42 <Alpha parentKey="Icon" childKey="icon" duration="0.45" fromAlpha="0" toAlpha="1" order="1" />
Nenue@93 43 <Alpha parentKey="Border" childKey="RewardBorder" duration="0.45" fromAlpha="0" toAlpha="1" order="1" />
Nenue@0 44 <Scripts>
Nenue@75 45 <OnPlay>
Nenue@75 46 self:GetParent():OnAnimStart()
Nenue@75 47 </OnPlay>
Nenue@0 48 <OnStop>
Nenue@75 49 self:GetParent():OnAnimStop()
Nenue@0 50 </OnStop>
Nenue@0 51 <OnFinished>
Nenue@75 52 self:GetParent():OnAnimStop()
Nenue@0 53 </OnFinished>
Nenue@0 54 </Scripts>
Nenue@0 55 </AnimationGroup>
Nenue@0 56 </Animations>
Nenue@0 57 <Layers>
Nenue@36 58 <Layer level="BACKGROUND" textureSubLevel="-2">
Nick@62 59 <Texture parentKey="HighlightBorder" file="Interface\UNITPOWERBARALT\Generic1Target_Circular_Frame" desaturated="true">
Nenue@36 60 <Anchors>
Nenue@36 61 <Anchor point="CENTER" />
Nenue@36 62 </Anchors>
Nenue@36 63 </Texture>
Nick@62 64 <Texture parentKey="EliteBorder" atlas="worldquest-questmarker-dragon" useAtlasSize="true" hidden="true">
Nenue@36 65 <Anchors>
Nenue@36 66 <Anchor point="TOPRIGHT" x="6" y="6" />
Nenue@36 67 <Anchor point="BOTTOMLEFT" x="-6" y="-6" />
Nenue@36 68 </Anchors>
Nenue@36 69 </Texture>
Nenue@36 70 </Layer>
Nenue@93 71 <Layer level="BACKGROUND" textureSubLevel="-1">
Nenue@93 72 <Texture parentKey="RewardBorder" file="Interface\Minimap\UI-Minimap-Background" desaturated="true" alpha="0">
Nenue@0 73 <Anchors>
Nenue@36 74 <Anchor point="CENTER" />
Nenue@0 75 </Anchors>
Nenue@0 76 </Texture>
Nenue@0 77 </Layer>
Nenue@93 78 <Layer textureSubLevel="0">
Nenue@93 79
Nenue@93 80 <Texture parentKey="IconBackdrop" file="Interface\Minimap\UI-Minimap-Background">
Nenue@0 81 <Anchors>
Nenue@36 82 <Anchor point="CENTER" />
Nenue@0 83 </Anchors>
Nenue@0 84 </Texture>
Nenue@93 85 </Layer>
Nenue@93 86 <Layer level="ARTWORK" textureSubLevel="2">
Nenue@93 87 <Texture parentKey="icon" setAllPoints="true" alpha="0">
Nenue@93 88 <Anchors>
Nenue@93 89 <Anchor point="CENTER" />
Nenue@93 90 </Anchors>
Nenue@93 91 </Texture>
Nenue@0 92 </Layer>
Nenue@0 93 <Layer level="OVERLAY">
Nenue@0 94 <Texture parentKey="dot" hidden="true" setAllPoints="false">
Nenue@0 95 <Size x="6" y="6" />
Nenue@0 96 <Color a="1" r="1" g="0" b="0" />
Nenue@0 97 </Texture>
Nenue@0 98 <Texture parentKey="dotH" hidden="true">
Nenue@0 99 <Size y="4" />
Nenue@0 100 <Color a="1" r="0" g="0" b="0" />
Nenue@0 101 </Texture>
Nenue@0 102 <Texture parentKey="tagIcon" setAllPoints="false">
Nenue@0 103 <Size x="12" y="12" />
Nenue@0 104 <Anchors>
Nenue@0 105 <Anchor point="BOTTOMRIGHT" x="1" y="-1" />
Nenue@0 106 </Anchors>
Nenue@0 107 </Texture>
Nenue@29 108 </Layer>
Nenue@29 109 <Layer level="HIGHLIGHT">
Nick@62 110 <Texture parentKey="highlight" alphaMode="ADD" alpha="1" file="Interface\UNITPOWERBARALT\Generic1Target_Circular_Frame" desaturated="true">
Nenue@36 111 <Anchors>
Nick@62 112 <Anchor point="BOTTOMLEFT" />
Nick@62 113 <Anchor point="TOPRIGHT" />
Nenue@36 114 </Anchors>
Nenue@36 115 </Texture>
Nenue@0 116
Nenue@0 117 </Layer>
Nenue@0 118 </Layers>
Nenue@0 119 <Scripts>
Nenue@0 120 <OnLoad method="OnLoad" />
Nenue@0 121 <OnEvent method="OnEvent" />
Nenue@0 122 <OnUpdate method="OnUpdate" />
Nenue@0 123 <OnShow method="OnShow" />
Nenue@0 124 <OnHide method="OnHide" />
Nenue@7 125 <OnMouseDown method="OnMouseDown" />
Nenue@7 126 <OnEnter method="OnEnter" />
Nenue@7 127 <OnLeave method="OnLeave" />
Nenue@0 128 </Scripts>
Nenue@36 129 <Frames>
Nenue@54 130 <Frame parentKey="Overlay" name="$parentOverlay" setAllPoints="true" hidden="true">
Nick@60 131 <!--
Nick@60 132 <Scripts>
Nick@60 133 <OnShow>
Nick@60 134 local out = debugstack(3,3,1)
Nick@60 135 out = out:gsub("Interface%\\AddOns\\", "|cFFFF00FF\\|r")
Nick@60 136 print('POI', self:GetName().. ':OnShow()\n' .. out:gsub("Interface%\\", "|cFF00FFFF\\|r"))
Nick@60 137 </OnShow>
Nick@60 138 <OnHide>
Nick@60 139 local out = debugstack(3,3,1)
Nick@60 140 out = out:gsub("Interface%\\AddOns\\", "|cFFFF00FF\\|r")
Nick@60 141 print('POI', self:GetName().. ':OnHide()\n' .. out:gsub("Interface%\\", "|cFF00FFFF\\|r"))
Nick@60 142 </OnHide>
Nick@60 143 </Scripts>
Nick@60 144 -->
Nenue@36 145 <Layers>
Nenue@36 146 <Layer level="OVERLAY">
Nenue@36 147 <FontString inherits="WorldPlanNumberFontThin" parentKey="count">
Nenue@36 148 <Anchors>
Nenue@36 149 <Anchor point="BOTTOM" x="0" y="0" />
Nenue@36 150 </Anchors>
Nenue@36 151 </FontString>
Nenue@36 152 <FontString inherits="WorldPlanNumberFont" parentKey="timeLabel">
Nenue@36 153 <Anchors>
Nenue@36 154 <Anchor point="TOP" x="0" y="0" />
Nenue@36 155 </Anchors>
Nenue@36 156 </FontString>
Nenue@54 157 <FontString inherits="WorldPlanNumberFontThin" parentKey="Description">
Nenue@54 158 <Anchors>
Nenue@54 159 <Anchor point="TOP" relativePoint="BOTTOM" relativeKey="$parent.count" x="0" y="0" />
Nenue@54 160 </Anchors>
Nenue@54 161 </FontString>
Nenue@36 162 </Layer>
Nenue@36 163 </Layers>
Nenue@36 164 </Frame>
Nenue@36 165 </Frames>
Nenue@0 166 </Button>
Nenue@0 167
Nenue@0 168 <Frame name="WorldPlan" mixin="WorldPlanCore" parent="UIParent">
Nenue@0 169 <KeyValues>
Nenue@0 170 <KeyValue key="DEVIAN_PNAME" value="WorldPlan"/>
Nenue@0 171 </KeyValues>
Nenue@0 172 <Size x="600" y="24" />
Nenue@0 173 <Anchors>
Nenue@4 174 <Anchor point="TOPRIGHT" />
Nenue@0 175 </Anchors>
Nenue@0 176 <Scripts>
Nenue@0 177 <OnLoad method="OnLoad" />
Nenue@0 178 <OnEvent method="OnEvent" />
Nenue@30 179 <OnUpdate method="OnUpdate" />
Nenue@30 180 <OnShow method="OnShow" />
Nenue@30 181 </Scripts>
Nenue@30 182 </Frame>
Nenue@30 183
Nenue@69 184 <ScrollingMessageFrame name="WorldPlanDebug" parent="UIParent" mixin="WorldPlanDebugMixin" hidden="true" frameStrata="TOOLTIP">
Nenue@70 185 <Size x="700" />
Nenue@69 186 <Anchors>
Nenue@69 187 <Anchor point="CENTER" />
Nenue@70 188 <Anchor point="TOP" />
Nenue@70 189 <Anchor point="BOTTOM" x="0" y="200" />
Nenue@69 190 </Anchors>
Nenue@69 191 <Scripts>
Nenue@69 192 <OnLoad method="OnLoad" />
Nenue@69 193 <OnShow method="OnShow" />
Nenue@69 194 <OnUpdate method="OnUpdate" />
Nenue@69 195 <OnMouseWheel method="OnMouseWheel" />
Nenue@69 196 </Scripts>
Nenue@69 197 <Layers>
Nenue@69 198 <Layer level="BACKGROUND">
Nenue@69 199 <Texture setAllPoints="true">
Nenue@69 200 <Color a="1" r="0" g="0" b="0" />
Nenue@69 201 </Texture>
Nenue@69 202 </Layer>
Nenue@69 203 </Layers>
Nenue@69 204 </ScrollingMessageFrame>
Nenue@69 205
Nenue@35 206
Nenue@0 207 </Ui>