annotate PVPScan.xml @ 26:9e810626ddfb v8.2.0.026

- ToC Update for Patch 8.2
author Tercioo
date Fri, 28 Jun 2019 20:12:43 -0300
parents fedcd7c21db9
children
rev   line source
Tercio@22 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/..\FrameXML\UI.xsd">
tercio@0 2
tercio@0 3 <Frame name="PVPScanFrame" frameStrata="HIGH" hidden="false" parent="UIParent" movable="true">
tercio@0 4 <Size>
tercio@0 5 <AbsDimension x="150" y="60"/>
tercio@0 6 </Size>
tercio@0 7
tercio@0 8 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" tile="true">
tercio@0 9 <TileSize>
tercio@0 10 <AbsValue val="64"/>
tercio@0 11 </TileSize>
tercio@0 12 </Backdrop>
tercio@0 13
tercio@0 14 <Scripts>
tercio@2 15 <OnEnter>
tercio@2 16 PVPScanOnFrameEnter (self)
tercio@2 17 </OnEnter>
tercio@2 18 <OnLeave>
tercio@2 19 PVPScanOnFrameLeave (self)
tercio@2 20 </OnLeave>
tercio@0 21 <OnMouseDown>
tercio@1 22 PVPScanOnFrameMouseDown (self, button)
tercio@0 23 </OnMouseDown>
tercio@0 24
tercio@0 25 <OnMouseUp>
tercio@1 26 PVPScanOnFrameMouseUp (self, button)
tercio@0 27 </OnMouseUp>
tercio@0 28
tercio@0 29 <OnLoad>
tercio@0 30 self:SetBackdropColor (0, 0, 0, 1)
tercio@0 31 </OnLoad>
tercio@0 32 </Scripts>
tercio@0 33
tercio@0 34 <Layers>
tercio@0 35 <Layer level="OVERLAY">
tercio@0 36 <FontString name="$parentText" text="PVPScan Anchor" inherits="GameFontHighlightSmall" justifyH="CENTER" parentKey="text">
tercio@0 37 <FontHeight val="20"/>
tercio@0 38 <Anchors>
tercio@0 39 <Anchor point="CENTER" relativeTo="$parent" relativePoint="CENTER"/>
tercio@0 40 </Anchors>
tercio@0 41 </FontString>
tercio@0 42 </Layer>
tercio@0 43 </Layers>
tercio@0 44 </Frame>
tercio@0 45
tercio@0 46 <Button name="PVPScanSpotBarTemplate" frameStrata="HIGH" hidden="true" parent="PVPScanFrame" movable="false" virtual="true" inherits="SecureActionButtonTemplate">
tercio@0 47
tercio@0 48 <Attributes>
tercio@0 49 <Attribute name="type" type="string" value="macro"/>
tercio@0 50 </Attributes>
tercio@0 51
tercio@0 52 <Size>
Tercio@6 53 <AbsDimension x="32" y="32"/>
tercio@0 54 </Size>
tercio@0 55
tercio@0 56 <Layers>
tercio@0 57 <Layer level="ARTWORK">
tercio@0 58 <Texture name="$parentClassTexture" parentKey="classtexture" file="Interface\PaperDollInfoFrame\UI-Character-Skills-Bar">
tercio@0 59 <Size>
tercio@0 60 <AbsDimension x="150" y="20"/>
tercio@0 61 </Size>
tercio@0 62 <Anchors>
tercio@0 63 <Anchor point="LEFT" relativeTo="$parent" relativePoint="LEFT"/>
tercio@0 64 </Anchors>
tercio@0 65 </Texture>
tercio@0 66 </Layer>
tercio@0 67
tercio@0 68 <Layer level="OVERLAY">
tercio@0 69 <Texture name="$parentClassIcon" parentKey="classicon" file="Interface\InventoryItems\WoWUnknownItem01">
tercio@0 70 <Size>
tercio@0 71 <AbsDimension x="20" y="20"/>
tercio@0 72 </Size>
tercio@0 73 <Anchors>
tercio@0 74 <Anchor point="LEFT" relativeTo="$parent" relativePoint="LEFT"/>
tercio@0 75 </Anchors>
tercio@0 76 </Texture>
tercio@0 77
tercio@0 78 <FontString name="$parentName" text="Enemy Name" inherits="GameFontHighlightSmall" justifyH="LEFT" parentKey="name">
tercio@0 79 <FontHeight val="10"/>
tercio@0 80 <Anchors>
tercio@0 81 <Anchor point="LEFT" relativeTo="$parentClassIcon" relativePoint="RIGHT" x="2" y="0"/>
tercio@0 82 </Anchors>
tercio@0 83 </FontString>
tercio@0 84 </Layer>
tercio@0 85 </Layers>
tercio@2 86
tercio@2 87 <Scripts>
tercio@2 88 <OnMouseUp>
tercio@2 89 PVPScanSpotBarClick (self);
tercio@2 90 </OnMouseUp>
tercio@2 91 </Scripts>
tercio@2 92 </Button>
tercio@2 93
tercio@2 94 <Button name="PVPScanSpotBarInCombatTemplate" frameStrata="HIGH" hidden="true" parent="PVPScanFrame" movable="false" virtual="true">
tercio@2 95 <Size>
tercio@2 96 <AbsDimension x="150" y="20"/>
tercio@2 97 </Size>
tercio@2 98
tercio@2 99 <Layers>
tercio@2 100 <Layer level="BACKGROUND">
tercio@2 101 <Texture name="$parentClassTexture" parentKey="classtexture" file="Interface\PaperDollInfoFrame\UI-Character-Skills-Bar">
tercio@2 102 <Size>
tercio@2 103 <AbsDimension x="150" y="20"/>
tercio@2 104 </Size>
tercio@2 105 <Anchors>
tercio@2 106 <Anchor point="LEFT" relativeTo="$parent" relativePoint="LEFT"/>
tercio@2 107 </Anchors>
tercio@2 108 </Texture>
tercio@2 109 </Layer>
tercio@2 110
tercio@2 111 <Layer level="BORDER">
tercio@2 112 <Texture name="$parentClassIcon" parentKey="classicon" file="Interface\InventoryItems\WoWUnknownItem01">
tercio@2 113 <Size>
tercio@2 114 <AbsDimension x="20" y="20"/>
tercio@2 115 </Size>
tercio@2 116 <Anchors>
tercio@2 117 <Anchor point="LEFT" relativeTo="$parent" relativePoint="LEFT"/>
tercio@2 118 </Anchors>
tercio@2 119 </Texture>
tercio@2 120
tercio@2 121 <FontString name="$parentName" text="Enemy Name" inherits="GameFontHighlightSmall" justifyH="LEFT" parentKey="name">
tercio@2 122 <FontHeight val="10"/>
tercio@2 123 <Anchors>
tercio@2 124 <Anchor point="LEFT" relativeTo="$parentClassIcon" relativePoint="RIGHT" x="2" y="0"/>
tercio@2 125 </Anchors>
tercio@2 126 </FontString>
tercio@2 127 </Layer>
tercio@2 128
tercio@2 129 <Layer level="ARTWORK">
tercio@2 130 <Texture name="$parentInCombatShadow" parentKey="inCombatShadow" file="Interface\Tooltips\UI-Tooltip-Background">
tercio@2 131 <Size>
tercio@2 132 <AbsDimension x="150" y="20"/>
tercio@2 133 </Size>
tercio@2 134 <Anchors>
tercio@2 135 <Anchor point="TOPLEFT" relativeTo="$parentClassTexture" relativePoint="TOPLEFT"/>
tercio@2 136 <Anchor point="BOTTOMRIGHT" relativeTo="$parentClassTexture" relativePoint="BOTTOMRIGHT"/>
tercio@2 137 </Anchors>
tercio@2 138 </Texture>
tercio@2 139 </Layer>
tercio@2 140 <Layer level="OVERLAY">
tercio@2 141 <Texture name="$parentInCombatIcon" parentKey="inCombat" file="Interface\CHARACTERFRAME\Disconnect-Icon">
tercio@2 142 <Size>
tercio@2 143 <AbsDimension x="20" y="20"/>
tercio@2 144 </Size>
tercio@2 145 <TexCoords left="0.18" right="0.82" top="0.18" bottom="0.82"/>
tercio@2 146 <Anchors>
tercio@2 147 <Anchor point="RIGHT" relativeTo="$parent" relativePoint="RIGHT"/>
tercio@2 148 </Anchors>
tercio@2 149 </Texture>
tercio@2 150 </Layer>
tercio@2 151 </Layers>
tercio@2 152
tercio@2 153 <Scripts>
tercio@2 154 <OnLoad>
tercio@2 155 self.inCombatShadow:SetVertexColor (0, 0, 0, .6);
tercio@2 156 </OnLoad>
tercio@2 157 </Scripts>
tercio@2 158
tercio@0 159 </Button>
tercio@0 160 </Ui>