vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
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="EnergyWatch_v2.lua"/>
5 <Frame name="EnergyWatch" parent="UIParent" hidden="false">
6 <Scripts>
7 <OnLoad>
8 EnergyWatch_OnLoad();
9 </OnLoad>
10 <OnEvent>
11 EnergyWatch_OnEvent(event);
12 </OnEvent>
13 <OnUpdate>
14 EnergyWatch_OnUpdate();
15 </OnUpdate>
16 </Scripts>
17 </Frame>
18 <Frame name="EnergyWatchBar" parent="UIParent" hidden="true" movable="true">
19 <Size>
20 <AbsDimension x="116" y="26"/>
21 </Size>
22 <Anchors>
23 <Anchor point="CENTER">
24 <Offset>
25 <AbsDimension x="0" y="80"/>
26 </Offset>
27 </Anchor>
28 </Anchors>
29 <Layers>
30 <Layer level="BACKGROUND">
31 <Texture>
32 <Size>
33 <AbsDimension x="107" y="13"/>
34 </Size>
35 <Anchors>
36 <Anchor point="TOP">
37 <Offset>
38 <AbsDimension x="0" y="-2"/>
39 </Offset>
40 </Anchor>
41 </Anchors>
42 <Color r="0" g="0" b="0" a="0.5"/>
43 </Texture>
44 </Layer>
45 <Layer level="OVERLAY">
46 <FontString name="EnergyWatchText" inherits="GameFontHighlight">
47 <Size>
48 <AbsDimension x="110" y="16"/>
49 </Size>
50 <Anchors>
51 <Anchor point="TOP">
52 <Offset>
53 <AbsDimension x="0" y="2"/>
54 </Offset>
55 </Anchor>
56 </Anchors>
57 </FontString>
58 <Texture file="Interface\Tooltips\UI-StatusBar-Border">
59 <Size>
60 <AbsDimension x="111" y="20"/>
61 </Size>
62 <Anchors>
63 <Anchor point="TOP">
64 <Offset>
65 <AbsDimension x="1" y="2"/>
66 </Offset>
67 </Anchor>
68 </Anchors>
69 </Texture>
70 </Layer>
71 </Layers>
72 <Frames>
73 <StatusBar name="EnergyWatchFrameStatusBar">
74 <Size>
75 <AbsDimension x="105" y="13"/>
76 </Size>
77 <Anchors>
78 <Anchor point="TOP">
79 <Offset>
80 <AbsDimension x="0" y="-2"/>
81 </Offset>
82 </Anchor>
83 </Anchors>
84 <Layers>
85 <Layer level="OVERLAY">
86 <Texture name="EnergyWatchSpark" file="Interface\CastingBar\UI-CastingBar-Spark" alphaMode="ADD">
87 <Size>
88 <AbsDimension x="32" y="32"/>
89 </Size>
90 <Anchors>
91 <Anchor point="CENTER">
92 <Offset>
93 <AbsDimension x="0" y="0"/>
94 </Offset>
95 </Anchor>
96 </Anchors>
97 </Texture>
98 </Layer>
99 </Layers>
100 <Scripts>
101 <OnLoad>
102 this:SetFrameLevel(this:GetFrameLevel() - 1)
103 </OnLoad>
104 </Scripts>
105 <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
106 <BarColor r="1.0" g="1.0" b="0.0"/>
107 </StatusBar>
108 </Frames>
109 <Scripts>
110 <OnMouseDown>
111 if( arg1 == "LeftButton" and ENERGYWATCH_STATUS == 2 ) then
112 this:StartMoving();
113 end
114 </OnMouseDown>
115 <OnMouseUp>
116 if( arg1 == "LeftButton" ) then
117 this:StopMovingOrSizing();
118 end
119 </OnMouseUp>
120 </Scripts>
121 </Frame>
122  
123 <Frame name="EnergyWatch_Variable_Frame" hidden="false">
124 <Scripts>
125 <OnUpdate>
126 EnergyWatch_LoadVariables(arg1)
127 </OnUpdate>
128 </Scripts>
129 </Frame>
130 </Ui>