diff SkeletonStats/DamageMeter.xml @ 0:69e828f4238a

Initial Commit
author Nenue
date Mon, 20 Jun 2016 06:35:11 -0400
parents
children cd7d06bcd98d
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SkeletonStats/DamageMeter.xml	Mon Jun 20 06:35:11 2016 -0400
@@ -0,0 +1,79 @@
+<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">
+
+
+  <Frame name="DamageMeter" parent="UIParent" movable="true" enableMouse="true" inherits="KTDebugTemplate">
+    <Size x="180" y="260" />
+    <Anchors>
+      <Anchor point="LEFT" />
+    </Anchors>
+    <Scripts>
+      <OnLoad>
+        self:RegisterForDrag('LeftButton')
+      </OnLoad>
+      <OnDragStart>
+        self:StartMoving()
+      </OnDragStart>
+      <OnDragStop>
+        self:StopMovingOrSizing()
+      </OnDragStop>
+    </Scripts>
+    <Layers>
+      <Layer level="BACKGROUND">
+        <Texture parentKey="bg" setAllPoints="true">
+          <Color a="0.25" r="0" g="0" b="0" />
+        </Texture>
+      </Layer>
+      <Layer level="ARTWORK">
+        <Texture parentKey="headerBar">
+          <Size y="24" />
+          <Anchors>
+            <Anchor point="TOPLEFT" />
+            <Anchor point="RIGHT" />
+          </Anchors>
+          <Color a="0.5" r="0" g="0" b="0" />
+        </Texture>
+      </Layer>
+      <Layer level="OVERLAY">
+        <FontString parentKey="header" inherits="NumberFontNormal">
+          <Anchors>
+            <Anchor point="TOPLEFT" x="4" y="-4" />
+          </Anchors>
+        </FontString>
+      </Layer>
+    </Layers>
+    <Frames>
+      <Button name="DamageMeterResetButton">
+        <Size x="24" y="24" />
+        <Scripts>
+          <OnMouseUp>
+            DamageMeter.new()
+            DamageMeter.ui()
+          </OnMouseUp>
+        </Scripts>
+        <Anchors>
+          <Anchor point="TOPRIGHT" x="0" y="0" />
+        </Anchors>
+        <NormalTexture setAllPoints="true">
+          <Color a="1" r="1" g="0" b=".5" />
+        </NormalTexture>
+        <PushedTexture setAllPoints="true">
+          <Color a="1" r="1" g=".5" b=".7" />
+        </PushedTexture>
+      </Button>
+    </Frames>
+  </Frame>
+
+  <FontString name="MeterHeaderLeft" virtual="true" inherits="NumberFontNormal" wordwrap="false" justifyH="LEFT">
+    <Anchors>
+      <Anchor point="LEFT" x="24" y="0" />
+    </Anchors>
+  </FontString>
+
+  <FontString name="MeterHeaderRight" virtual="true" inherits="NumberFontNormal" wordwrap="false" justifyH="RIGHT">
+    <Size x="80" />
+    <Anchors>
+      <Anchor point="RIGHT" x="-2" y="0" />
+    </Anchors>
+  </FontString>
+</Ui>
\ No newline at end of file