Mercurial > wow > turok
comparison Turok/Layout/Layout.xml @ 6:a9b8b0866ece
clear out log jam
| author | Nenue |
|---|---|
| date | Sun, 21 Feb 2016 08:32:53 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 5:8a9a6637f082 | 6:a9b8b0866ece |
|---|---|
| 1 <Ui> | |
| 2 <Script file="Layout.lua" /> | |
| 3 | |
| 4 <Frame name="TurokStatusFrame" parent="UIParent" virtual="true" strata="MEDIUM" hidden="true"> | |
| 5 <Scripts> | |
| 6 <OnShow> | |
| 7 self.throttle_point = 0 | |
| 8 if self.labels then | |
| 9 for _,label in pairs(self.labels) do | |
| 10 label:Show() | |
| 11 end | |
| 12 end | |
| 13 </OnShow> | |
| 14 <OnHide> | |
| 15 if self.labels then | |
| 16 for _,label in pairs(self.labels) do | |
| 17 label:Hide() | |
| 18 end | |
| 19 end | |
| 20 </OnHide> | |
| 21 <OnUpdate> | |
| 22 if GetTime() < self.throttle_point then | |
| 23 return | |
| 24 end | |
| 25 self.throttle_point = self.throttle_point + 0.010 | |
| 26 if self.db and self.db.preUpdate then | |
| 27 self.db.preUpdate(self) | |
| 28 end | |
| 29 self:Update() | |
| 30 if self.db and self.db.postUpdate then | |
| 31 self.db.postUpdate(self) | |
| 32 end | |
| 33 </OnUpdate> | |
| 34 </Scripts> | |
| 35 | |
| 36 <Backdrop bgFile="Interface\Addons\Turok\Media\border\BG-Solid.blp" edgeFile="Interface\Addons\Turok\Media\border\BigBorder-Solid.blp" tile="true"> | |
| 37 <EdgeSize val="12"/> | |
| 38 <TileSize val="12"/> | |
| 39 <BorderColor r="1" g="1" b="1" a="1" /> | |
| 40 <Color r="1" g="1" b="1" a="0" /> | |
| 41 <BackgroundInsets> | |
| 42 <AbsInset left="2" right="2" top="2" bottom="2"/> | |
| 43 </BackgroundInsets> | |
| 44 </Backdrop> | |
| 45 </Frame> | |
| 46 | |
| 47 <Frame name="TurokStatusBar" inherits="TurokStatusFrame" parent="UIParent" virtual="true" strata="HIGH" hidden="true"> | |
| 48 <Scripts> | |
| 49 <OnLoad> | |
| 50 self.lefttext = self.overlay.lefttext | |
| 51 self.righttext = self.overlay.righttext | |
| 52 </OnLoad> | |
| 53 </Scripts> | |
| 54 <Layers> | |
| 55 <Layer level="BORDER"> | |
| 56 <Texture parentKey="background" name="$parent.background" alphaMode="BLEND" /> | |
| 57 </Layer> | |
| 58 <Layer level="ARTWORK"> | |
| 59 <Texture parentKey="foreground" name="$parent.foreground" alphaMode="BLEND" textureSubLevel="0" /> | |
| 60 <Texture name="$parentIcon" parentKey="icon" blendMode="BLEND" textureSubLevel="1"> | |
| 61 <Anchors> | |
| 62 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parent" x="-2" y="0" /> | |
| 63 </Anchors> | |
| 64 </Texture> | |
| 65 </Layer> | |
| 66 </Layers> | |
| 67 <Frames> | |
| 68 <Frame name="$parent_OverLay" parentKey="overlay"> | |
| 69 <Layers> | |
| 70 <Layer point="OVERLAY"> | |
| 71 <FontString name="$parent_LeftText" inherits="TurokFont" parentKey="lefttext"> | |
| 72 <Anchors> | |
| 73 <Anchor point="LEFT" relativePoint="LEFT" x="6" y="0" /> | |
| 74 </Anchors> | |
| 75 </FontString> | |
| 76 | |
| 77 <FontString name="$parent_RightText" inherits="TurokFontDetail" parentKey="righttext"> | |
| 78 <Anchors> | |
| 79 <Anchor point="RIGHT" relativePoint="RIGHT" x="-6" y="0" /> | |
| 80 </Anchors> | |
| 81 </FontString> | |
| 82 </Layer> | |
| 83 </Layers> | |
| 84 </Frame> | |
| 85 </Frames> | |
| 86 </Frame> | |
| 87 | |
| 88 <Font name="TurokFontBig" font="Interface\Addons\Turok\Media\font\ArchivoNarrow-Bold.ttf" outline="NORMAL"> | |
| 89 <Color r="1" g="1" b="1" a="1" /> | |
| 90 <FontHeight> | |
| 91 <AbsValue val="32"/> | |
| 92 </FontHeight> | |
| 93 </Font> | |
| 94 <Font name="TurokFontMed" font="Interface\Addons\Turok\Media\font\ArchivoNarrow-Bold.ttf" outline="NORMAL"> | |
| 95 <Color r="1" g="1" b="1" a="1" /> | |
| 96 <FontHeight> | |
| 97 <AbsValue val="24"/> | |
| 98 </FontHeight> | |
| 99 </Font> | |
| 100 <Font name="TurokFont" font="Interface\Addons\Turok\Media\font\ArchivoNarrow-Bold.ttf" outline="NORMAL"> | |
| 101 <Color r="1" g="1" b="1" a="1" /> | |
| 102 <FontHeight> | |
| 103 <AbsValue val="16"/> | |
| 104 </FontHeight> | |
| 105 </Font> | |
| 106 <Font name="TurokFontNormal" font="Interface\Addons\Turok\Media\font\ArchivoNarrow-Bold.ttf" outline="NONE"> | |
| 107 <Color r="1" g="1" b="1" a="1" /> | |
| 108 <FontHeight> | |
| 109 <AbsValue val="16"/> | |
| 110 </FontHeight> | |
| 111 </Font> | |
| 112 <Font name="TurokFontSmall" inherits="TurokFont"> | |
| 113 <FontHeight> | |
| 114 <AbsValue val="14" /> | |
| 115 </FontHeight> | |
| 116 </Font> | |
| 117 | |
| 118 <Font name="TurokFontDetail" font="Interface\Addons\Turok\Media\font\ArchivoNarrow-Regular.ttf" outline="NORMAL"> | |
| 119 <Color r="1" g="1" b="1" a="1" /> | |
| 120 <FontHeight> | |
| 121 <AbsValue val="16"/> | |
| 122 </FontHeight> | |
| 123 </Font> | |
| 124 | |
| 125 <Font name="TurokFontDetailSmall" inherits="TurokFontDetail"> | |
| 126 <FontHeight> | |
| 127 <AbsValue val="14"/> | |
| 128 </FontHeight> | |
| 129 </Font> | |
| 130 </Ui> |
