annotate WorldPlan.xml @ 60:3d8e83ddf603

- hide text regions directly when their associated pin has been removed from the map
author Nick@Zahhak
date Wed, 08 Feb 2017 05:58:56 -0500
parents 0749e38081e7
children abcdef801db5
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@49 42 <Alpha parentKey="FadeIn" duration="0.45" fromAlpha="0" toAlpha="1" order="1" />
Nenue@0 43 <Scripts>
Nenue@0 44 <OnStop>
Nenue@54 45 self:GetParent():EndFade()
Nenue@0 46 </OnStop>
Nenue@0 47 <OnFinished>
Nenue@54 48 self:GetParent():EndFade()
Nenue@0 49 </OnFinished>
Nenue@0 50 </Scripts>
Nenue@0 51 </AnimationGroup>
Nenue@0 52 <AnimationGroup parentKey="PendingFade" setToFinalAlpha="true" looping="REPEAT">
Nenue@34 53 <Alpha parentKey="FadeOut" duration="0.72" fromAlpha="1" toAlpha="0" order="1" />
Nenue@34 54 <Alpha parentKey="FadeIn" duration="0.72" fromAlpha="0" toAlpha="1" order="2" />
Nenue@0 55 </AnimationGroup>
Nenue@0 56 </Animations>
Nenue@0 57 <Layers>
Nenue@36 58 <Layer level="BACKGROUND" textureSubLevel="-2">
Nenue@36 59 <Texture parentKey="HighlightBorder" desaturated="true">
Nenue@36 60 <Anchors>
Nenue@36 61 <Anchor point="CENTER" />
Nenue@36 62 </Anchors>
Nenue@36 63 </Texture>
Nenue@36 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@36 71 <Layer level="BACKGROUND" textureSubLevel="1">
Nenue@47 72 <Texture parentKey="RewardBorder" file="Interface\UNITPOWERBARALT\Generic1Target_Circular_Frame" desaturated="true">
Nenue@0 73 <Anchors>
Nenue@36 74 <Anchor point="CENTER" />
Nenue@0 75 </Anchors>
Nenue@0 76 </Texture>
Nenue@56 77 <Texture parentKey="MouseGlow" file="Interface\UNITPOWERBARALT\Generic1Target_Circular_Frame" alphaMode="ADD" hidden="true">
Nenue@56 78 <Anchors>
Nenue@56 79 <Anchor point="BOTTOMLEFT" x="-2" y="-2" />
Nenue@56 80 <Anchor point="TOPRIGHT" x="2" y="2" />
Nenue@56 81 </Anchors>
Nenue@56 82 </Texture>
Nenue@0 83 </Layer>
Nenue@0 84 <Layer level="BORDER">
Nenue@47 85 <Texture parentKey="icon" setAllPoints="true">
Nenue@0 86 <Anchors>
Nenue@36 87 <Anchor point="CENTER" />
Nenue@0 88 </Anchors>
Nenue@0 89 </Texture>
Nenue@0 90 </Layer>
Nenue@0 91 <Layer level="OVERLAY">
Nenue@0 92 <Texture parentKey="dot" hidden="true" setAllPoints="false">
Nenue@0 93 <Size x="6" y="6" />
Nenue@0 94 <Color a="1" r="1" g="0" b="0" />
Nenue@0 95 </Texture>
Nenue@0 96 <Texture parentKey="dotH" hidden="true">
Nenue@0 97 <Size y="4" />
Nenue@0 98 <Color a="1" r="0" g="0" b="0" />
Nenue@0 99 </Texture>
Nenue@0 100 <Texture parentKey="tagIcon" setAllPoints="false">
Nenue@0 101 <Size x="12" y="12" />
Nenue@0 102 <Anchors>
Nenue@0 103 <Anchor point="BOTTOMRIGHT" x="1" y="-1" />
Nenue@0 104 </Anchors>
Nenue@0 105 </Texture>
Nenue@29 106 </Layer>
Nenue@29 107 <Layer level="HIGHLIGHT">
Nenue@36 108 <Texture parentKey="highlight" alphaMode="ADD" alpha="0" file="Interface\Tooltips\UI-Tooltip-Background" desaturated="true">
Nenue@36 109 <Anchors>
Nenue@36 110 <Anchor point="BOTTOMLEFT" x="-3" y="-3" />
Nenue@36 111 <Anchor point="TOPRIGHT" x="3" y="3" />
Nenue@36 112 </Anchors>
Nenue@36 113 </Texture>
Nenue@0 114
Nenue@0 115 </Layer>
Nenue@0 116 </Layers>
Nenue@0 117 <Scripts>
Nenue@0 118 <OnLoad method="OnLoad" />
Nenue@0 119 <OnEvent method="OnEvent" />
Nenue@0 120 <OnUpdate method="OnUpdate" />
Nenue@0 121 <OnShow method="OnShow" />
Nenue@0 122 <OnHide method="OnHide" />
Nenue@7 123 <OnMouseDown method="OnMouseDown" />
Nenue@7 124 <OnEnter method="OnEnter" />
Nenue@7 125 <OnLeave method="OnLeave" />
Nenue@0 126 </Scripts>
Nenue@36 127 <Frames>
Nenue@54 128 <Frame parentKey="Overlay" name="$parentOverlay" setAllPoints="true" hidden="true">
Nick@60 129 <!--
Nick@60 130 <Scripts>
Nick@60 131 <OnShow>
Nick@60 132 local out = debugstack(3,3,1)
Nick@60 133 out = out:gsub("Interface%\\AddOns\\", "|cFFFF00FF\\|r")
Nick@60 134 print('POI', self:GetName().. ':OnShow()\n' .. out:gsub("Interface%\\", "|cFF00FFFF\\|r"))
Nick@60 135 </OnShow>
Nick@60 136 <OnHide>
Nick@60 137 local out = debugstack(3,3,1)
Nick@60 138 out = out:gsub("Interface%\\AddOns\\", "|cFFFF00FF\\|r")
Nick@60 139 print('POI', self:GetName().. ':OnHide()\n' .. out:gsub("Interface%\\", "|cFF00FFFF\\|r"))
Nick@60 140 </OnHide>
Nick@60 141 </Scripts>
Nick@60 142 -->
Nenue@36 143 <Layers>
Nenue@36 144 <Layer level="OVERLAY">
Nenue@36 145 <FontString inherits="WorldPlanNumberFontThin" parentKey="count">
Nenue@36 146 <Anchors>
Nenue@36 147 <Anchor point="BOTTOM" x="0" y="0" />
Nenue@36 148 </Anchors>
Nenue@36 149 </FontString>
Nenue@36 150 <FontString inherits="WorldPlanNumberFont" parentKey="timeLabel">
Nenue@36 151 <Anchors>
Nenue@36 152 <Anchor point="TOP" x="0" y="0" />
Nenue@36 153 </Anchors>
Nenue@36 154 </FontString>
Nenue@54 155 <FontString inherits="WorldPlanNumberFontThin" parentKey="Description">
Nenue@54 156 <Anchors>
Nenue@54 157 <Anchor point="TOP" relativePoint="BOTTOM" relativeKey="$parent.count" x="0" y="0" />
Nenue@54 158 </Anchors>
Nenue@54 159 </FontString>
Nenue@36 160 </Layer>
Nenue@36 161 </Layers>
Nenue@36 162 </Frame>
Nenue@36 163 </Frames>
Nenue@0 164 </Button>
Nenue@0 165
Nenue@0 166 <Frame name="WorldPlan" mixin="WorldPlanCore" parent="UIParent">
Nenue@0 167 <KeyValues>
Nenue@0 168 <KeyValue key="DEVIAN_PNAME" value="WorldPlan"/>
Nenue@0 169 </KeyValues>
Nenue@0 170 <Size x="600" y="24" />
Nenue@0 171 <Anchors>
Nenue@4 172 <Anchor point="TOPRIGHT" />
Nenue@0 173 </Anchors>
Nenue@0 174 <Scripts>
Nenue@0 175 <OnLoad method="OnLoad" />
Nenue@0 176 <OnEvent method="OnEvent" />
Nenue@30 177 <OnUpdate method="OnUpdate" />
Nenue@30 178 <OnShow method="OnShow" />
Nenue@30 179 </Scripts>
Nenue@30 180 </Frame>
Nenue@30 181
Nenue@35 182
Nenue@0 183 </Ui>