annotate PVPScan.xml @ 1:726745261b87

updates
author tercio
date Mon, 19 May 2014 05:50:51 -0300
parents ce416064d8a1
children f2456f1454af
rev   line source
tercio@0 1 <Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..\FrameXML\UI.xsd">
tercio@0 2 <Script file="PVPScan.lua"/>
tercio@0 3
tercio@0 4 <Frame name="PVPScanFrame" frameStrata="HIGH" hidden="false" parent="UIParent" movable="true">
tercio@0 5 <Size>
tercio@0 6 <AbsDimension x="150" y="60"/>
tercio@0 7 </Size>
tercio@0 8
tercio@0 9 <Anchors>
tercio@0 10 <Anchor point="CENTER" relativeTo="$parent" relativePoint="CENTER" x="0" y="0"/>
tercio@0 11 </Anchors>
tercio@0 12
tercio@0 13 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" tile="true">
tercio@0 14 <TileSize>
tercio@0 15 <AbsValue val="64"/>
tercio@0 16 </TileSize>
tercio@0 17 </Backdrop>
tercio@0 18
tercio@0 19 <Scripts>
tercio@0 20 <OnMouseDown>
tercio@1 21 PVPScanOnFrameMouseDown (self, button)
tercio@0 22 </OnMouseDown>
tercio@0 23
tercio@0 24 <OnMouseUp>
tercio@1 25 PVPScanOnFrameMouseUp (self, button)
tercio@0 26 </OnMouseUp>
tercio@0 27
tercio@0 28 <OnLoad>
tercio@0 29 self:SetBackdropColor (0, 0, 0, 1)
tercio@0 30 </OnLoad>
tercio@0 31 </Scripts>
tercio@0 32
tercio@0 33 <Layers>
tercio@0 34 <Layer level="OVERLAY">
tercio@0 35 <FontString name="$parentText" text="PVPScan Anchor" inherits="GameFontHighlightSmall" justifyH="CENTER" parentKey="text">
tercio@0 36 <FontHeight val="20"/>
tercio@0 37 <Anchors>
tercio@0 38 <Anchor point="CENTER" relativeTo="$parent" relativePoint="CENTER"/>
tercio@0 39 </Anchors>
tercio@0 40 </FontString>
tercio@0 41 </Layer>
tercio@0 42 </Layers>
tercio@0 43 </Frame>
tercio@0 44
tercio@0 45 <Button name="PVPScanSpotBarTemplate" frameStrata="HIGH" hidden="true" parent="PVPScanFrame" movable="false" virtual="true" inherits="SecureActionButtonTemplate">
tercio@0 46
tercio@0 47 <Attributes>
tercio@0 48 <Attribute name="type" type="string" value="macro"/>
tercio@0 49 </Attributes>
tercio@0 50
tercio@0 51 <Size>
tercio@0 52 <AbsDimension x="150" y="20"/>
tercio@0 53 </Size>
tercio@0 54
tercio@0 55 <Layers>
tercio@0 56 <Layer level="ARTWORK">
tercio@0 57 <Texture name="$parentClassTexture" parentKey="classtexture" file="Interface\PaperDollInfoFrame\UI-Character-Skills-Bar">
tercio@0 58 <Size>
tercio@0 59 <AbsDimension x="150" y="20"/>
tercio@0 60 </Size>
tercio@0 61 <Anchors>
tercio@0 62 <Anchor point="LEFT" relativeTo="$parent" relativePoint="LEFT"/>
tercio@0 63 </Anchors>
tercio@0 64 </Texture>
tercio@0 65 </Layer>
tercio@0 66
tercio@0 67 <Layer level="OVERLAY">
tercio@0 68 <Texture name="$parentClassIcon" parentKey="classicon" file="Interface\InventoryItems\WoWUnknownItem01">
tercio@0 69 <Size>
tercio@0 70 <AbsDimension x="20" y="20"/>
tercio@0 71 </Size>
tercio@0 72 <Anchors>
tercio@0 73 <Anchor point="LEFT" relativeTo="$parent" relativePoint="LEFT"/>
tercio@0 74 </Anchors>
tercio@0 75 </Texture>
tercio@0 76
tercio@0 77 <FontString name="$parentName" text="Enemy Name" inherits="GameFontHighlightSmall" justifyH="LEFT" parentKey="name">
tercio@0 78 <FontHeight val="10"/>
tercio@0 79 <Anchors>
tercio@0 80 <Anchor point="LEFT" relativeTo="$parentClassIcon" relativePoint="RIGHT" x="2" y="0"/>
tercio@0 81 </Anchors>
tercio@0 82 </FontString>
tercio@0 83 </Layer>
tercio@0 84 </Layers>
tercio@0 85 </Button>
tercio@0 86 </Ui>