diff Turok/Layout/Layout.xml @ 6:a9b8b0866ece

clear out log jam
author Nenue
date Sun, 21 Feb 2016 08:32:53 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Turok/Layout/Layout.xml	Sun Feb 21 08:32:53 2016 -0500
@@ -0,0 +1,130 @@
+<Ui>
+  <Script file="Layout.lua" />
+
+  <Frame name="TurokStatusFrame" parent="UIParent" virtual="true" strata="MEDIUM" hidden="true">
+    <Scripts>
+      <OnShow>
+        self.throttle_point = 0
+        if self.labels then
+          for _,label in pairs(self.labels) do
+            label:Show()
+          end
+        end
+      </OnShow>
+      <OnHide>
+        if self.labels then
+          for _,label in pairs(self.labels) do
+            label:Hide()
+          end
+        end
+      </OnHide>
+      <OnUpdate>
+        if GetTime() &lt; self.throttle_point then
+          return
+        end
+        self.throttle_point = self.throttle_point + 0.010
+        if self.db and self.db.preUpdate then
+          self.db.preUpdate(self)
+        end
+        self:Update()
+        if self.db and self.db.postUpdate then
+          self.db.postUpdate(self)
+        end
+      </OnUpdate>
+    </Scripts>
+
+    <Backdrop bgFile="Interface\Addons\Turok\Media\border\BG-Solid.blp" edgeFile="Interface\Addons\Turok\Media\border\BigBorder-Solid.blp" tile="true">
+      <EdgeSize val="12"/>
+      <TileSize val="12"/>
+      <BorderColor r="1" g="1" b="1" a="1" />
+      <Color r="1" g="1" b="1" a="0" />
+      <BackgroundInsets>
+        <AbsInset left="2" right="2" top="2" bottom="2"/>
+      </BackgroundInsets>
+    </Backdrop>
+  </Frame>
+
+  <Frame name="TurokStatusBar" inherits="TurokStatusFrame" parent="UIParent" virtual="true" strata="HIGH" hidden="true">
+    <Scripts>
+      <OnLoad>
+        self.lefttext = self.overlay.lefttext
+        self.righttext = self.overlay.righttext
+      </OnLoad>
+    </Scripts>
+    <Layers>
+      <Layer level="BORDER">
+        <Texture parentKey="background" name="$parent.background" alphaMode="BLEND" />
+      </Layer>
+      <Layer level="ARTWORK">
+        <Texture parentKey="foreground" name="$parent.foreground" alphaMode="BLEND" textureSubLevel="0" />
+        <Texture name="$parentIcon" parentKey="icon" blendMode="BLEND" textureSubLevel="1">
+          <Anchors>
+            <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parent" x="-2" y="0" />
+          </Anchors>
+        </Texture>
+      </Layer>
+    </Layers>
+    <Frames>
+      <Frame name="$parent_OverLay" parentKey="overlay">
+        <Layers>
+          <Layer point="OVERLAY">
+            <FontString name="$parent_LeftText" inherits="TurokFont" parentKey="lefttext">
+              <Anchors>
+                <Anchor point="LEFT" relativePoint="LEFT" x="6" y="0" />
+              </Anchors>
+            </FontString>
+
+            <FontString name="$parent_RightText" inherits="TurokFontDetail" parentKey="righttext">
+              <Anchors>
+                <Anchor point="RIGHT" relativePoint="RIGHT" x="-6" y="0" />
+              </Anchors>
+            </FontString>
+          </Layer>
+        </Layers>
+      </Frame>
+    </Frames>
+  </Frame>
+
+  <Font name="TurokFontBig" font="Interface\Addons\Turok\Media\font\ArchivoNarrow-Bold.ttf" outline="NORMAL">
+    <Color r="1" g="1" b="1" a="1" />
+    <FontHeight>
+      <AbsValue val="32"/>
+    </FontHeight>
+  </Font>
+  <Font name="TurokFontMed" font="Interface\Addons\Turok\Media\font\ArchivoNarrow-Bold.ttf" outline="NORMAL">
+    <Color r="1" g="1" b="1" a="1" />
+    <FontHeight>
+      <AbsValue val="24"/>
+    </FontHeight>
+  </Font>
+  <Font name="TurokFont" font="Interface\Addons\Turok\Media\font\ArchivoNarrow-Bold.ttf" outline="NORMAL">
+    <Color r="1" g="1" b="1" a="1" />
+    <FontHeight>
+      <AbsValue val="16"/>
+    </FontHeight>
+  </Font>
+  <Font name="TurokFontNormal" font="Interface\Addons\Turok\Media\font\ArchivoNarrow-Bold.ttf" outline="NONE">
+    <Color r="1" g="1" b="1" a="1" />
+    <FontHeight>
+      <AbsValue val="16"/>
+    </FontHeight>
+  </Font>
+  <Font name="TurokFontSmall" inherits="TurokFont">
+    <FontHeight>
+      <AbsValue val="14" />
+    </FontHeight>
+  </Font>
+
+  <Font name="TurokFontDetail" font="Interface\Addons\Turok\Media\font\ArchivoNarrow-Regular.ttf" outline="NORMAL">
+    <Color r="1" g="1" b="1" a="1" />
+    <FontHeight>
+      <AbsValue val="16"/>
+    </FontHeight>
+  </Font>
+
+  <Font name="TurokFontDetailSmall" inherits="TurokFontDetail">
+    <FontHeight>
+      <AbsValue val="14"/>
+    </FontHeight>
+  </Font>
+</Ui>
\ No newline at end of file