annotate QuestPOI.xml @ 109:caa482329919

POI optimization
author Nenue
date Mon, 10 Jul 2017 18:34:11 -0400
parents
children
rev   line source
Nenue@109 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@109 2 ..\FrameXML\UI.xsd">
Nenue@109 3
Nenue@109 4 <Script file="QuestPOI.lua" />
Nenue@109 5
Nenue@109 6
Nenue@109 7
Nenue@109 8 <Button name="WorldPlanQuestPin" virtual="true" hidden="true" mixin="WorldPlanPOIMixin">
Nenue@109 9 <Animations>
Nenue@109 10 <AnimationGroup parentKey="FadeIn" setToFinalAlpha="true" looping="NONE">
Nenue@109 11 <Alpha parentKey="Icon" childKey="icon" duration="0.45" fromAlpha="0" toAlpha="1" order="1" />
Nenue@109 12 <Alpha parentKey="Border" childKey="RewardBorder" duration="0.45" fromAlpha="0" toAlpha="1" order="1" />
Nenue@109 13 <Scripts>
Nenue@109 14 <OnPlay>
Nenue@109 15 self:GetParent():OnAnimStart()
Nenue@109 16 </OnPlay>
Nenue@109 17 <OnStop>
Nenue@109 18 self:GetParent():OnAnimStop()
Nenue@109 19 </OnStop>
Nenue@109 20 <OnFinished>
Nenue@109 21 self:GetParent():OnAnimStop()
Nenue@109 22 </OnFinished>
Nenue@109 23 </Scripts>
Nenue@109 24 </AnimationGroup>
Nenue@109 25 </Animations>
Nenue@109 26 <Layers>
Nenue@109 27 <Layer level="BACKGROUND" textureSubLevel="-2">
Nenue@109 28 <Texture parentKey="HighlightBorder" file="Interface\UNITPOWERBARALT\Generic1Target_Circular_Frame" desaturated="true">
Nenue@109 29 <Anchors>
Nenue@109 30 <Anchor point="CENTER" />
Nenue@109 31 </Anchors>
Nenue@109 32 </Texture>
Nenue@109 33 <Texture parentKey="EliteBorder" atlas="worldquest-questmarker-dragon" useAtlasSize="true" hidden="true">
Nenue@109 34 <Anchors>
Nenue@109 35 <Anchor point="TOPRIGHT" x="6" y="6" />
Nenue@109 36 <Anchor point="BOTTOMLEFT" x="-6" y="-6" />
Nenue@109 37 </Anchors>
Nenue@109 38 </Texture>
Nenue@109 39 </Layer>
Nenue@109 40 <Layer level="BACKGROUND" textureSubLevel="-1">
Nenue@109 41 <Texture parentKey="RewardBorder" file="Interface\Minimap\UI-Minimap-Background" desaturated="true" alpha="0">
Nenue@109 42 <Anchors>
Nenue@109 43 <Anchor point="CENTER" />
Nenue@109 44 </Anchors>
Nenue@109 45 </Texture>
Nenue@109 46 </Layer>
Nenue@109 47 <Layer textureSubLevel="0">
Nenue@109 48
Nenue@109 49 <Texture parentKey="IconBackdrop" file="Interface\Minimap\UI-Minimap-Background">
Nenue@109 50 <Anchors>
Nenue@109 51 <Anchor point="CENTER" />
Nenue@109 52 </Anchors>
Nenue@109 53 </Texture>
Nenue@109 54 </Layer>
Nenue@109 55 <Layer level="ARTWORK" textureSubLevel="2">
Nenue@109 56 <Texture parentKey="icon" nonBlocking="true" setAllPoints="true" alpha="0">
Nenue@109 57 <Anchors>
Nenue@109 58 <Anchor point="CENTER" />
Nenue@109 59 </Anchors>
Nenue@109 60 </Texture>
Nenue@109 61 </Layer>
Nenue@109 62 <Layer level="OVERLAY">
Nenue@109 63 <Texture parentKey="tagIcon" nonBlocking="true" setAllPoints="false">
Nenue@109 64 <Size x="12" y="12" />
Nenue@109 65 <Anchors>
Nenue@109 66 <Anchor point="BOTTOMRIGHT" x="1" y="-1" />
Nenue@109 67 </Anchors>
Nenue@109 68 </Texture>
Nenue@109 69 </Layer>
Nenue@109 70 <Layer level="HIGHLIGHT">
Nenue@109 71 <Texture parentKey="highlight" alphaMode="ADD" alpha="1" file="Interface\UNITPOWERBARALT\Generic1Target_Circular_Frame" desaturated="true">
Nenue@109 72 <Anchors>
Nenue@109 73 <Anchor point="BOTTOMLEFT" />
Nenue@109 74 <Anchor point="TOPRIGHT" />
Nenue@109 75 </Anchors>
Nenue@109 76 </Texture>
Nenue@109 77
Nenue@109 78 </Layer>
Nenue@109 79 </Layers>
Nenue@109 80 <Scripts>
Nenue@109 81 <OnLoad method="OnLoad" />
Nenue@109 82 <OnEvent method="OnEvent" />
Nenue@109 83 <OnUpdate method="OnUpdate" />
Nenue@109 84 <OnShow method="OnShow" />
Nenue@109 85 <OnHide method="OnHide" />
Nenue@109 86 <OnMouseDown method="OnMouseDown" />
Nenue@109 87 <OnEnter method="OnEnter" />
Nenue@109 88 <OnLeave method="OnLeave" />
Nenue@109 89 </Scripts>
Nenue@109 90 <Frames>
Nenue@109 91 <Frame parentKey="Overlay" name="$parentOverlay" setAllPoints="true" hidden="true">
Nenue@109 92 <!--
Nenue@109 93 <Scripts>
Nenue@109 94 <OnShow>
Nenue@109 95 local out = debugstack(3,3,1)
Nenue@109 96 out = out:gsub("Interface%\\AddOns\\", "|cFFFF00FF\\|r")
Nenue@109 97 print('POI', self:GetName().. ':OnShow()\n' .. out:gsub("Interface%\\", "|cFF00FFFF\\|r"))
Nenue@109 98 </OnShow>
Nenue@109 99 <OnHide>
Nenue@109 100 local out = debugstack(3,3,1)
Nenue@109 101 out = out:gsub("Interface%\\AddOns\\", "|cFFFF00FF\\|r")
Nenue@109 102 print('POI', self:GetName().. ':OnHide()\n' .. out:gsub("Interface%\\", "|cFF00FFFF\\|r"))
Nenue@109 103 </OnHide>
Nenue@109 104 </Scripts>
Nenue@109 105 -->
Nenue@109 106 <Layers>
Nenue@109 107 <Layer level="OVERLAY">
Nenue@109 108 <FontString inherits="WorldPlanNumberFontThin" parentKey="count">
Nenue@109 109 <Anchors>
Nenue@109 110 <Anchor point="BOTTOM" x="0" y="0" />
Nenue@109 111 </Anchors>
Nenue@109 112 </FontString>
Nenue@109 113 <FontString inherits="WorldPlanNumberFont" parentKey="timeLabel">
Nenue@109 114 <Anchors>
Nenue@109 115 <Anchor point="TOP" x="0" y="0" />
Nenue@109 116 </Anchors>
Nenue@109 117 </FontString>
Nenue@109 118 <FontString inherits="WorldPlanNumberFontThin" parentKey="Description">
Nenue@109 119 <Anchors>
Nenue@109 120 <Anchor point="TOP" relativePoint="BOTTOM" relativeKey="$parent.count" x="0" y="0" />
Nenue@109 121 </Anchors>
Nenue@109 122 </FontString>
Nenue@109 123 </Layer>
Nenue@109 124 </Layers>
Nenue@109 125 </Frame>
Nenue@109 126 </Frames>
Nenue@109 127 </Button>
Nenue@109 128 </Ui>