Mercurial > wow > worldplan
comparison WorldPlan.xml @ 109:caa482329919
POI optimization
| author | Nenue |
|---|---|
| date | Mon, 10 Jul 2017 18:34:11 -0400 |
| parents | b29b35cb8539 |
| children | e8b6c5433128 |
comparison
equal
deleted
inserted
replaced
| 108:b67ba1078824 | 109:caa482329919 |
|---|---|
| 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/ | 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/ |
| 2 ..\FrameXML\UI.xsd"> | 2 ..\FrameXML\UI.xsd"> |
| 3 | 3 |
| 4 <Script file="WorldPlan.lua" /> | 4 <Script file="WorldPlan.lua" /> |
| 5 <Script file="QuestPOI.lua" /> | |
| 6 | 5 |
| 7 <Font name="WorldPlanFont" font="Interface\AddOns\WorldPlan\Font\ArchivoNarrow-Regular.ttf" height="12" outline="NORMAL" virtual="true" /> | 6 <Font name="WorldPlanFont" font="Interface\AddOns\WorldPlan\Font\ArchivoNarrow-Regular.ttf" height="12" outline="NORMAL" virtual="true" /> |
| 8 <Font name="WorldPlanNumberFont" font="Interface\AddOns\WorldPlan\Font\ArchivoNarrow-Bold.ttf" height="10" outline="NORMAL" virtual="true" /> | 7 <Font name="WorldPlanNumberFont" font="Interface\AddOns\WorldPlan\Font\ArchivoNarrow-Bold.ttf" height="10" outline="NORMAL" virtual="true" /> |
| 9 <Font name="WorldPlanNumberFontThin" font="Interface\AddOns\WorldPlan\Font\ArchivoNarrow-Regular.ttf" height="14" outline="NORMAL" virtual="true" /> | 8 <Font name="WorldPlanNumberFontThin" font="Interface\AddOns\WorldPlan\Font\ArchivoNarrow-Regular.ttf" height="14" outline="NORMAL" virtual="true" /> |
| 10 | 9 |
| 11 <GameTooltip name="WorldPlanTooltip" parent="UIParent" inherits="GameTooltipTemplate"> | 10 <GameTooltip name="WorldPlanTooltip" parent="UIParent" inherits="GameTooltipTemplate"> |
| 12 | 11 |
| 13 </GameTooltip> | 12 </GameTooltip> |
| 14 | 13 |
| 15 | 14 |
| 16 <Button name="VeneerWQCompassTemplate" virtual="true" hidden="true"> | |
| 17 <Size x="50" y="36" /> | |
| 18 <Anchors> | |
| 19 <Anchor point="TOP" /> | |
| 20 </Anchors> | |
| 21 <Layers> | |
| 22 <Layer level="ARTWORK"> | |
| 23 <Texture parentKey="icon" name="$parentIcon" setAllPoints="false"> | |
| 24 <Anchors> | |
| 25 <Anchor point="TOPLEFT" /> | |
| 26 </Anchors> | |
| 27 </Texture> | |
| 28 </Layer> | |
| 29 <Layer level="OVERLAY"> | |
| 30 <FontString inherits="VeneerFont" parentKey="label"> | |
| 31 <Anchors> | |
| 32 <Anchor point="LEFT" relativePoint="RIGHT" relativeKey="$parent.icon" /> | |
| 33 </Anchors> | |
| 34 </FontString> | |
| 35 </Layer> | |
| 36 </Layers> | |
| 37 </Button> | |
| 38 | |
| 39 <Button name="WorldPlanQuestPin" virtual="true" hidden="true" mixin="WorldPlanPOIMixin"> | |
| 40 <Animations> | |
| 41 <AnimationGroup parentKey="FadeIn" setToFinalAlpha="true" looping="NONE"> | |
| 42 <Alpha parentKey="Icon" childKey="icon" duration="0.45" fromAlpha="0" toAlpha="1" order="1" /> | |
| 43 <Alpha parentKey="Border" childKey="RewardBorder" duration="0.45" fromAlpha="0" toAlpha="1" order="1" /> | |
| 44 <Scripts> | |
| 45 <OnPlay> | |
| 46 self:GetParent():OnAnimStart() | |
| 47 </OnPlay> | |
| 48 <OnStop> | |
| 49 self:GetParent():OnAnimStop() | |
| 50 </OnStop> | |
| 51 <OnFinished> | |
| 52 self:GetParent():OnAnimStop() | |
| 53 </OnFinished> | |
| 54 </Scripts> | |
| 55 </AnimationGroup> | |
| 56 </Animations> | |
| 57 <Layers> | |
| 58 <Layer level="BACKGROUND" textureSubLevel="-2"> | |
| 59 <Texture parentKey="HighlightBorder" file="Interface\UNITPOWERBARALT\Generic1Target_Circular_Frame" desaturated="true"> | |
| 60 <Anchors> | |
| 61 <Anchor point="CENTER" /> | |
| 62 </Anchors> | |
| 63 </Texture> | |
| 64 <Texture parentKey="EliteBorder" atlas="worldquest-questmarker-dragon" useAtlasSize="true" hidden="true"> | |
| 65 <Anchors> | |
| 66 <Anchor point="TOPRIGHT" x="6" y="6" /> | |
| 67 <Anchor point="BOTTOMLEFT" x="-6" y="-6" /> | |
| 68 </Anchors> | |
| 69 </Texture> | |
| 70 </Layer> | |
| 71 <Layer level="BACKGROUND" textureSubLevel="-1"> | |
| 72 <Texture parentKey="RewardBorder" file="Interface\Minimap\UI-Minimap-Background" desaturated="true" alpha="0"> | |
| 73 <Anchors> | |
| 74 <Anchor point="CENTER" /> | |
| 75 </Anchors> | |
| 76 </Texture> | |
| 77 </Layer> | |
| 78 <Layer textureSubLevel="0"> | |
| 79 | |
| 80 <Texture parentKey="IconBackdrop" file="Interface\Minimap\UI-Minimap-Background"> | |
| 81 <Anchors> | |
| 82 <Anchor point="CENTER" /> | |
| 83 </Anchors> | |
| 84 </Texture> | |
| 85 </Layer> | |
| 86 <Layer level="ARTWORK" textureSubLevel="2"> | |
| 87 <Texture parentKey="icon" nonBlocking="true" setAllPoints="true" alpha="0"> | |
| 88 <Anchors> | |
| 89 <Anchor point="CENTER" /> | |
| 90 </Anchors> | |
| 91 </Texture> | |
| 92 </Layer> | |
| 93 <Layer level="OVERLAY"> | |
| 94 <Texture parentKey="tagIcon" nonBlocking="true" setAllPoints="false"> | |
| 95 <Size x="12" y="12" /> | |
| 96 <Anchors> | |
| 97 <Anchor point="BOTTOMRIGHT" x="1" y="-1" /> | |
| 98 </Anchors> | |
| 99 </Texture> | |
| 100 </Layer> | |
| 101 <Layer level="HIGHLIGHT"> | |
| 102 <Texture parentKey="highlight" alphaMode="ADD" alpha="1" file="Interface\UNITPOWERBARALT\Generic1Target_Circular_Frame" desaturated="true"> | |
| 103 <Anchors> | |
| 104 <Anchor point="BOTTOMLEFT" /> | |
| 105 <Anchor point="TOPRIGHT" /> | |
| 106 </Anchors> | |
| 107 </Texture> | |
| 108 | |
| 109 </Layer> | |
| 110 </Layers> | |
| 111 <Scripts> | |
| 112 <OnLoad method="OnLoad" /> | |
| 113 <OnEvent method="OnEvent" /> | |
| 114 <OnUpdate method="OnUpdate" /> | |
| 115 <OnShow method="OnShow" /> | |
| 116 <OnHide method="OnHide" /> | |
| 117 <OnMouseDown method="OnMouseDown" /> | |
| 118 <OnEnter method="OnEnter" /> | |
| 119 <OnLeave method="OnLeave" /> | |
| 120 </Scripts> | |
| 121 <Frames> | |
| 122 <Frame parentKey="Overlay" name="$parentOverlay" setAllPoints="true" hidden="true"> | |
| 123 <!-- | |
| 124 <Scripts> | |
| 125 <OnShow> | |
| 126 local out = debugstack(3,3,1) | |
| 127 out = out:gsub("Interface%\\AddOns\\", "|cFFFF00FF\\|r") | |
| 128 print('POI', self:GetName().. ':OnShow()\n' .. out:gsub("Interface%\\", "|cFF00FFFF\\|r")) | |
| 129 </OnShow> | |
| 130 <OnHide> | |
| 131 local out = debugstack(3,3,1) | |
| 132 out = out:gsub("Interface%\\AddOns\\", "|cFFFF00FF\\|r") | |
| 133 print('POI', self:GetName().. ':OnHide()\n' .. out:gsub("Interface%\\", "|cFF00FFFF\\|r")) | |
| 134 </OnHide> | |
| 135 </Scripts> | |
| 136 --> | |
| 137 <Layers> | |
| 138 <Layer level="OVERLAY"> | |
| 139 <FontString inherits="WorldPlanNumberFontThin" parentKey="count"> | |
| 140 <Anchors> | |
| 141 <Anchor point="BOTTOM" x="0" y="0" /> | |
| 142 </Anchors> | |
| 143 </FontString> | |
| 144 <FontString inherits="WorldPlanNumberFont" parentKey="timeLabel"> | |
| 145 <Anchors> | |
| 146 <Anchor point="TOP" x="0" y="0" /> | |
| 147 </Anchors> | |
| 148 </FontString> | |
| 149 <FontString inherits="WorldPlanNumberFontThin" parentKey="Description"> | |
| 150 <Anchors> | |
| 151 <Anchor point="TOP" relativePoint="BOTTOM" relativeKey="$parent.count" x="0" y="0" /> | |
| 152 </Anchors> | |
| 153 </FontString> | |
| 154 </Layer> | |
| 155 </Layers> | |
| 156 </Frame> | |
| 157 </Frames> | |
| 158 </Button> | |
| 159 | 15 |
| 160 <Frame name="WorldPlan" mixin="WorldPlanCore" parent="UIParent"> | 16 <Frame name="WorldPlan" mixin="WorldPlanCore" parent="UIParent"> |
| 161 <KeyValues> | 17 <KeyValues> |
| 162 <KeyValue key="DEVIAN_PNAME" value="WorldPlan"/> | 18 <KeyValue key="DEVIAN_PNAME" value="WorldPlan"/> |
| 163 </KeyValues> | 19 </KeyValues> |
