annotate SkeletonUnit/UnitFrame.xml @ 6:f6d1c192afc6

Refactored file layout: - frame display logic in UI.lua - player data in Cache.lua - event responses in Events.lua a lot of local tables are now stored members of KeyBinder for that to work
author Nenue
date Thu, 28 Jul 2016 16:45:56 -0400
parents a30285f8191e
children
rev   line source
Nenue@2 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@2 2 ..\FrameXML\UI.xsd">
Nenue@2 3
Nenue@2 4 <Texture name="KTStatusBar" virtual="true" />
Nenue@2 5 <Frame name="SkeletonUnits" parent="UIParent"></Frame>
Nenue@2 6
Nenue@4 7 <Button name="KTUnitFrameTemplate" inherits="SecureUnitButtonTemplate" parent="UIParent" virtual="true">
Nenue@2 8 <Size x="250" y="50" />
Nenue@2 9 <Layers>
Nenue@2 10 <Layer level="BACKGROUND">
Nenue@2 11 <Texture name="$parentHealthBG" inherits="KTStatusBar" parentKey="bg">
Nenue@2 12 <Color r="0" g="0" b="0" a="1" />
Nenue@2 13 </Texture>
Nenue@2 14 </Layer>
Nenue@2 15 <Layer level="ARTWORK">
Nenue@2 16 <Texture name="$parentHealth" inherits="KTStatusBar" parentKey="healthbar">
Nenue@2 17 <Anchors>
Nenue@2 18 <Anchor point="LEFT" />
Nenue@2 19 <Anchor point="TOP" />
Nenue@2 20 <Anchor point="BOTTOM" relativePoint="TOP" x="0" y="-20" />
Nenue@2 21
Nenue@2 22 </Anchors>
Nenue@2 23 <Color r="1" g="1" b="1" a="1" />
Nenue@2 24 </Texture>
Nenue@2 25 <Texture name="$parentPower" inherits="KTStatusBar" parentKey="powerbar">
Nenue@2 26 <Anchors>
Nenue@2 27 <Anchor point="LEFT" />
Nenue@2 28 <Anchor point="TOP" x="0" y="-20" />
Nenue@2 29 <Anchor point="BOTTOM" />
Nenue@2 30
Nenue@2 31 </Anchors>
Nenue@2 32 <Color r="1" g="0" b=".5" a="1" />
Nenue@2 33 </Texture>
Nenue@2 34 </Layer>
Nenue@2 35 <Layer level="OVERLAY">
Nenue@2 36
Nenue@2 37 <FontString inherits="NumberFont_Outline_Large" parentKey="healthtext" text="HEALTH_TEXT">
Nenue@2 38 <Anchors>
Nenue@2 39 <Anchor point="LEFT" relativeKey="$parent.healthbar" />
Nenue@2 40 </Anchors>
Nenue@2 41 </FontString>
Nenue@2 42
Nenue@2 43 <FontString inherits="NumberFont_Outline_Large" parentKey="powertext" text="POWER_TEXT">
Nenue@2 44 <Anchors>
Nenue@2 45 <Anchor point="RIGHT" relativeKey="$parent.healthbar" />
Nenue@2 46 </Anchors>
Nenue@2 47 </FontString>
Nenue@2 48 </Layer>
Nenue@2 49 </Layers>
Nenue@4 50 </Button>
Nenue@2 51
Nenue@2 52
Nenue@2 53 </Ui>