comparison SkeletonStats/DamageMeter.xml @ 0:69e828f4238a

Initial Commit
author Nenue
date Mon, 20 Jun 2016 06:35:11 -0400
parents
children cd7d06bcd98d
comparison
equal deleted inserted replaced
-1:000000000000 0:69e828f4238a
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/
2 ..\FrameXML\UI.xsd">
3
4
5 <Frame name="DamageMeter" parent="UIParent" movable="true" enableMouse="true" inherits="KTDebugTemplate">
6 <Size x="180" y="260" />
7 <Anchors>
8 <Anchor point="LEFT" />
9 </Anchors>
10 <Scripts>
11 <OnLoad>
12 self:RegisterForDrag('LeftButton')
13 </OnLoad>
14 <OnDragStart>
15 self:StartMoving()
16 </OnDragStart>
17 <OnDragStop>
18 self:StopMovingOrSizing()
19 </OnDragStop>
20 </Scripts>
21 <Layers>
22 <Layer level="BACKGROUND">
23 <Texture parentKey="bg" setAllPoints="true">
24 <Color a="0.25" r="0" g="0" b="0" />
25 </Texture>
26 </Layer>
27 <Layer level="ARTWORK">
28 <Texture parentKey="headerBar">
29 <Size y="24" />
30 <Anchors>
31 <Anchor point="TOPLEFT" />
32 <Anchor point="RIGHT" />
33 </Anchors>
34 <Color a="0.5" r="0" g="0" b="0" />
35 </Texture>
36 </Layer>
37 <Layer level="OVERLAY">
38 <FontString parentKey="header" inherits="NumberFontNormal">
39 <Anchors>
40 <Anchor point="TOPLEFT" x="4" y="-4" />
41 </Anchors>
42 </FontString>
43 </Layer>
44 </Layers>
45 <Frames>
46 <Button name="DamageMeterResetButton">
47 <Size x="24" y="24" />
48 <Scripts>
49 <OnMouseUp>
50 DamageMeter.new()
51 DamageMeter.ui()
52 </OnMouseUp>
53 </Scripts>
54 <Anchors>
55 <Anchor point="TOPRIGHT" x="0" y="0" />
56 </Anchors>
57 <NormalTexture setAllPoints="true">
58 <Color a="1" r="1" g="0" b=".5" />
59 </NormalTexture>
60 <PushedTexture setAllPoints="true">
61 <Color a="1" r="1" g=".5" b=".7" />
62 </PushedTexture>
63 </Button>
64 </Frames>
65 </Frame>
66
67 <FontString name="MeterHeaderLeft" virtual="true" inherits="NumberFontNormal" wordwrap="false" justifyH="LEFT">
68 <Anchors>
69 <Anchor point="LEFT" x="24" y="0" />
70 </Anchors>
71 </FontString>
72
73 <FontString name="MeterHeaderRight" virtual="true" inherits="NumberFontNormal" wordwrap="false" justifyH="RIGHT">
74 <Size x="80" />
75 <Anchors>
76 <Anchor point="RIGHT" x="-2" y="0" />
77 </Anchors>
78 </FontString>
79 </Ui>