vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 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 | <Script file="localization.lua" /> |
||
5 | <Script file="TNEUtils.lua" /> |
||
6 | <Script file="FiveSec.lua" /> |
||
7 | |||
8 | <GameTooltip name="FiveSecTooltip" frameStrata="TOOLTIP" hidden="true" inherits="GameTooltipTemplate" /> |
||
9 | |||
10 | <StatusBar name="FiveSecBarFrame" drawLayer="BORDER" toplevel="true" parent="UIParent" movable="true"> |
||
11 | <Size> |
||
12 | <AbsDimension x="195" y="13" /> |
||
13 | </Size> |
||
14 | <Anchors> |
||
15 | <Anchor point="BOTTOM"> |
||
16 | <Offset> |
||
17 | <AbsDimension x="0" y="120" /> |
||
18 | </Offset> |
||
19 | </Anchor> |
||
20 | </Anchors> |
||
21 | <Layers> |
||
22 | <Layer level="BACKGROUND"> |
||
23 | <Texture setAllPoints="true"> |
||
24 | <Color r="0" g="0" b="0" a="0.5" /> |
||
25 | </Texture> |
||
26 | </Layer> |
||
27 | <Layer level="ARTWORK"> |
||
28 | <FontString name="$parentDelay" inherits="GameFontHighlight" justifyh="CENTER" hidden="true" setAllPoints="true" text="TNE_FiveSec_DELAYED_BY_CHANNELING" /> |
||
29 | <FontString name="$parentLabel" inherits="GameFontHighlight" justifyh="RIGHT" text="TNE_FiveSec_NEXT_TICK_IN"> |
||
30 | <Size> |
||
31 | <AbsDimension x="115" y="12" /> |
||
32 | </Size> |
||
33 | <Anchors> |
||
34 | <Anchor point="LEFT" /> |
||
35 | </Anchors> |
||
36 | </FontString> |
||
37 | <FontString name="$parentText" inherits="GameFontHighlight" justifyh="LEFT"> |
||
38 | <Anchors> |
||
39 | <Anchor point="LEFT" relativeTo="$parentLabel" relativePoint="RIGHT" /> |
||
40 | </Anchors> |
||
41 | </FontString> |
||
42 | <Texture name="$parentBorder" file="Interface\Tooltips\UI-StatusBar-Border"> |
||
43 | <Size> |
||
44 | <AbsDimension x="205" y="20" /> |
||
45 | </Size> |
||
46 | <Anchors> |
||
47 | <Anchor point="TOP"> |
||
48 | <Offset> |
||
49 | <AbsDimension x="0" y="3" /> |
||
50 | </Offset> |
||
51 | </Anchor> |
||
52 | </Anchors> |
||
53 | </Texture> |
||
54 | </Layer> |
||
55 | <Layer level="OVERLAY"> |
||
56 | <Texture name="$parentSpark" file="Interface\CastingBar\UI-CastingBar-Spark" alphaMode="ADD"> |
||
57 | <Size> |
||
58 | <AbsDimension x="32" y="32" /> |
||
59 | </Size> |
||
60 | <Anchors> |
||
61 | <Anchor point="CENTER" /> |
||
62 | </Anchors> |
||
63 | </Texture> |
||
64 | </Layer> |
||
65 | </Layers> |
||
66 | <Scripts> |
||
67 | <OnLoad> |
||
68 | this:RegisterEvent("VARIABLES_LOADED") |
||
69 | this:RegisterEvent("UNIT_DISPLAYPOWER") -- we need this to detect mana users and shifty druids |
||
70 | this:RegisterForDrag("LeftButton") |
||
71 | FiveSec:Initalize() |
||
72 | </OnLoad> |
||
73 | <OnEvent> |
||
74 | FiveSecBarFrame_OnEvent(event, arg1) |
||
75 | </OnEvent> |
||
76 | <OnUpdate> |
||
77 | FiveSecBarFrame_OnUpdate(arg1) |
||
78 | </OnUpdate> |
||
79 | <OnDragStart> |
||
80 | if (TNE_FiveSec_Movable) then |
||
81 | this:StartMoving() |
||
82 | end |
||
83 | </OnDragStart> |
||
84 | <OnDragStop> |
||
85 | this:StopMovingOrSizing() |
||
86 | </OnDragStop> |
||
87 | </Scripts> |
||
88 | <BarTexture file="Interface\TargetingFrame\UI-StatusBar" /> |
||
89 | <BarColor r="0.0" g="0.7" b="1.0" /> |
||
90 | </StatusBar> |
||
91 | |||
92 | </Ui> |