Mercurial > wow > skeletonkey
comparison SkeletonUnit/UnitFrame.xml @ 4:a30285f8191e
Units:
make sure unit frames are SecureUnitButton derivatives
remove of unnecessary target/focus events
Stats:
resolve GUID after event handlers have fired
keep frame manipulation in uf.ui, get needed values from wrapper functions
author | Nenue |
---|---|
date | Tue, 21 Jun 2016 11:56:14 -0400 |
parents | f7a0898d293c |
children |
comparison
equal
deleted
inserted
replaced
3:07293831dd7b | 4:a30285f8191e |
---|---|
2 ..\FrameXML\UI.xsd"> | 2 ..\FrameXML\UI.xsd"> |
3 | 3 |
4 <Texture name="KTStatusBar" virtual="true" /> | 4 <Texture name="KTStatusBar" virtual="true" /> |
5 <Frame name="SkeletonUnits" parent="UIParent"></Frame> | 5 <Frame name="SkeletonUnits" parent="UIParent"></Frame> |
6 | 6 |
7 <Frame name="KTUnitFrame" parent="UIParent" virtual="true"> | 7 <Button name="KTUnitFrameTemplate" inherits="SecureUnitButtonTemplate" parent="UIParent" virtual="true"> |
8 <Size x="250" y="50" /> | 8 <Size x="250" y="50" /> |
9 <Layers> | 9 <Layers> |
10 <Layer level="BACKGROUND"> | 10 <Layer level="BACKGROUND"> |
11 <Texture name="$parentHealthBG" inherits="KTStatusBar" parentKey="bg"> | 11 <Texture name="$parentHealthBG" inherits="KTStatusBar" parentKey="bg"> |
12 <Color r="0" g="0" b="0" a="1" /> | 12 <Color r="0" g="0" b="0" a="1" /> |
45 <Anchor point="RIGHT" relativeKey="$parent.healthbar" /> | 45 <Anchor point="RIGHT" relativeKey="$parent.healthbar" /> |
46 </Anchors> | 46 </Anchors> |
47 </FontString> | 47 </FontString> |
48 </Layer> | 48 </Layer> |
49 </Layers> | 49 </Layers> |
50 </Frame> | 50 </Button> |
51 | |
52 <Frame name="KTplayerFrame" inherits="KTUnitFrame"> | |
53 | |
54 <Anchors> | |
55 <Anchor point="BOTTOM" x="0" y="260" /> | |
56 </Anchors> | |
57 </Frame> | |
58 <Frame name="KTpetFrame" inherits="KTUnitFrame"> | |
59 | |
60 <Anchors> | |
61 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="KTplayerFrame" x="-2" /> | |
62 </Anchors> | |
63 </Frame> | |
64 <Frame name="KTtargetFrame" inherits="KTUnitFrame"> | |
65 | 51 |
66 | 52 |
67 <Anchors> | |
68 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="4" y="0" relativeTo="KTplayerFrame" /> | |
69 </Anchors> | |
70 </Frame> | |
71 | |
72 <Frame name="KTfocusFrame" inherits="KTUnitFrame" /> | |
73 | |
74 </Ui> | 53 </Ui> |