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 <Script file="IMBA_KelThuzadInterrupt.lua"/>
4  
5 <Frame name="IMBA_KelThuzadInterrupt" toplevel="true" parent="UIParent" enableMouse="true" movable="true" hidden="true" frameStrata="HIGH">
6 <Size>
7 <AbsDimension x="220" y="230"/>
8 </Size>
9 <Anchors>
10 <Anchor point="CENTER"/>
11 </Anchors>
12 <Backdrop name="$parentBackdrop" bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
13 <EdgeSize>
14 <AbsValue val="16"/>
15 </EdgeSize>
16 <TileSize>
17 <AbsValue val="16"/>
18 </TileSize>
19 <BackgroundInsets>
20 <AbsInset left="5" right="5" top="5" bottom="5"/>
21 </BackgroundInsets>
22 </Backdrop>
23 <Frames>
24 <Frame name="$parent_Title" inherits="IMBA_MainTitleTemplate">
25 <Anchors>
26 <Anchor point="TOP">
27 <Offset>
28 <AbsDimension x="0" y="-8"/>
29 </Offset>
30 </Anchor>
31 </Anchors>
32 </Frame>
33 <StatusBar name="$parent_TimerFrostbolt" inherits="IMBA_BarTimerTemplate">
34 <Anchors>
35 <Anchor point="TOP" relativeTo="$parent_Title" relativePoint="BOTTOM">
36 <Offset>
37 <AbsDimension x="0" y="-4"/>
38 </Offset>
39 </Anchor>
40 </Anchors>
41 <Size>
42 <AbsDimension x="200" y="16"/>
43 </Size>
44 <Scripts>
45 <OnLoad>
46 IMBA_InitBarTimer(this);
47 getglobal(this:GetName().."BG"):SetWidth(this:GetWidth());
48 </OnLoad>
49 </Scripts>
50 </StatusBar>
51 <Frame name="$parent_TitleInterrupters" inherits="IMBA_TitleTemplate">
52 <Anchors>
53 <Anchor point="TOP" relativeTo="$parent_TimerFrostbolt" relativePoint="BOTTOM">
54 <Offset>
55 <AbsDimension x="0" y="-4"/>
56 </Offset>
57 </Anchor>
58 </Anchors>
59 </Frame>
60 <StatusBar name="$parent_Interrupt1" inherits="IMBA_BarTimerTemplate">
61 <Anchors>
62 <Anchor point="TOP" relativeTo="$parent_TitleInterrupters" relativePoint="BOTTOM">
63 <Offset>
64 <AbsDimension x="10" y="-4"/>
65 </Offset>
66 </Anchor>
67 </Anchors>
68 </StatusBar>
69 <StatusBar name="$parent_Interrupt2" inherits="IMBA_BarTimerTemplate">
70 <Anchors>
71 <Anchor point="TOP" relativeTo="$parent_Interrupt1" relativePoint="BOTTOM">
72 <Offset>
73 <AbsDimension x="0" y="-4"/>
74 </Offset>
75 </Anchor>
76 </Anchors>
77 </StatusBar>
78 <StatusBar name="$parent_Interrupt3" inherits="IMBA_BarTimerTemplate">
79 <Anchors>
80 <Anchor point="TOP" relativeTo="$parent_Interrupt2" relativePoint="BOTTOM">
81 <Offset>
82 <AbsDimension x="0" y="-4"/>
83 </Offset>
84 </Anchor>
85 </Anchors>
86 </StatusBar>
87 <StatusBar name="$parent_Interrupt4" inherits="IMBA_BarTimerTemplate">
88 <Anchors>
89 <Anchor point="TOP" relativeTo="$parent_Interrupt3" relativePoint="BOTTOM">
90 <Offset>
91 <AbsDimension x="0" y="-4"/>
92 </Offset>
93 </Anchor>
94 </Anchors>
95 </StatusBar>
96 <StatusBar name="$parent_Interrupt5" inherits="IMBA_BarTimerTemplate">
97 <Anchors>
98 <Anchor point="TOP" relativeTo="$parent_Interrupt4" relativePoint="BOTTOM">
99 <Offset>
100 <AbsDimension x="0" y="-4"/>
101 </Offset>
102 </Anchor>
103 </Anchors>
104 </StatusBar>
105 <StatusBar name="$parent_Interrupt6" inherits="IMBA_BarTimerTemplate">
106 <Anchors>
107 <Anchor point="TOP" relativeTo="$parent_Interrupt5" relativePoint="BOTTOM">
108 <Offset>
109 <AbsDimension x="0" y="-4"/>
110 </Offset>
111 </Anchor>
112 </Anchors>
113 </StatusBar>
114 <StatusBar name="$parent_Interrupt7" inherits="IMBA_BarTimerTemplate">
115 <Anchors>
116 <Anchor point="TOP" relativeTo="$parent_Interrupt6" relativePoint="BOTTOM">
117 <Offset>
118 <AbsDimension x="0" y="-4"/>
119 </Offset>
120 </Anchor>
121 </Anchors>
122 </StatusBar>
123 <StatusBar name="$parent_Interrupt8" inherits="IMBA_BarTimerTemplate">
124 <Anchors>
125 <Anchor point="TOP" relativeTo="$parent_Interrupt7" relativePoint="BOTTOM">
126 <Offset>
127 <AbsDimension x="0" y="-4"/>
128 </Offset>
129 </Anchor>
130 </Anchors>
131 </StatusBar>
132 <Frame name="$parent_Icon1" inherits="IMBA_IconTemplate">
133 <Anchors>
134 <Anchor point="RIGHT" relativeTo="$parent_Interrupt1" relativePoint="LEFT">
135 <Offset>
136 <AbsDimension x="-2" y="0"/>
137 </Offset>
138 </Anchor>
139 </Anchors>
140 </Frame>
141 <Frame name="$parent_Icon2" inherits="IMBA_IconTemplate">
142 <Anchors>
143 <Anchor point="RIGHT" relativeTo="$parent_Interrupt2" relativePoint="LEFT">
144 <Offset>
145 <AbsDimension x="-2" y="0"/>
146 </Offset>
147 </Anchor>
148 </Anchors>
149 </Frame>
150 <Frame name="$parent_Icon3" inherits="IMBA_IconTemplate">
151 <Anchors>
152 <Anchor point="RIGHT" relativeTo="$parent_Interrupt3" relativePoint="LEFT">
153 <Offset>
154 <AbsDimension x="-2" y="0"/>
155 </Offset>
156 </Anchor>
157 </Anchors>
158 </Frame>
159 <Frame name="$parent_Icon4" inherits="IMBA_IconTemplate">
160 <Anchors>
161 <Anchor point="RIGHT" relativeTo="$parent_Interrupt4" relativePoint="LEFT">
162 <Offset>
163 <AbsDimension x="-2" y="0"/>
164 </Offset>
165 </Anchor>
166 </Anchors>
167 </Frame>
168 <Frame name="$parent_Icon5" inherits="IMBA_IconTemplate">
169 <Anchors>
170 <Anchor point="RIGHT" relativeTo="$parent_Interrupt5" relativePoint="LEFT">
171 <Offset>
172 <AbsDimension x="-2" y="0"/>
173 </Offset>
174 </Anchor>
175 </Anchors>
176 </Frame>
177 <Frame name="$parent_Icon6" inherits="IMBA_IconTemplate">
178 <Anchors>
179 <Anchor point="RIGHT" relativeTo="$parent_Interrupt6" relativePoint="LEFT">
180 <Offset>
181 <AbsDimension x="-2" y="0"/>
182 </Offset>
183 </Anchor>
184 </Anchors>
185 </Frame>
186 <Frame name="$parent_Icon7" inherits="IMBA_IconTemplate">
187 <Anchors>
188 <Anchor point="RIGHT" relativeTo="$parent_Interrupt7" relativePoint="LEFT">
189 <Offset>
190 <AbsDimension x="-2" y="0"/>
191 </Offset>
192 </Anchor>
193 </Anchors>
194 </Frame>
195 <Frame name="$parent_Icon8" inherits="IMBA_IconTemplate">
196 <Anchors>
197 <Anchor point="RIGHT" relativeTo="$parent_Interrupt8" relativePoint="LEFT">
198 <Offset>
199 <AbsDimension x="-2" y="0"/>
200 </Offset>
201 </Anchor>
202 </Anchors>
203 </Frame>
204 <Frame name="$parent_Close" enableMouse="true">
205 <Size>
206 <AbsDimension x="24" y="24"/>
207 </Size>
208 <Anchors>
209 <Anchor point="TOPRIGHT">
210 <Offset>
211 <AbsDimension x="0" y="0"/>
212 </Offset>
213 </Anchor>
214 </Anchors>
215 <Layers>
216 <Layer level="OVERLAY">
217 <Texture name="$parent_Image" file="Interface\AddOns\IMBA\textures\close.blp">
218 <Size>
219 <AbsDimension x="32" y="32"/>
220 </Size>
221 <Anchors>
222 <Anchor point="TOPRIGHT"/>
223 </Anchors>
224 </Texture>
225 </Layer>
226 </Layers>
227 <Scripts>
228 <OnLoad>
229 this:SetBackdropBorderColor(1, 1, 1, 1);
230 this:SetBackdropColor(0.0,0.0,0.0,0);
231 </OnLoad>
232 <OnMouseDown>
233 IMBA_KelThuzadInterrupt:Hide();
234 </OnMouseDown>
235 </Scripts>
236 </Frame>
237  
238 </Frames>
239 <Scripts>
240 <OnLoad>
241 IMBA_KelThuzadInterrupt_OnLoad();
242 </OnLoad>
243 <OnUpdate>
244 IMBA_KelThuzadInterrupt_OnUpdate();
245 </OnUpdate>
246 <OnMouseUp>
247 if ( this.isMoving ) then
248 this:StopMovingOrSizing();
249 this.isMoving = false;
250 end
251 </OnMouseUp>
252 <OnMouseDown>
253 if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then
254 this:StartMoving();
255 this.isMoving = true;
256 end
257 </OnMouseDown>
258 <OnShow>
259 IMBA_KelThuzadInterrupt_RegisterEvents();
260 </OnShow>
261 <OnEvent>
262 IMBA_KelThuzadInterrupt_OnEvent(event);
263 </OnEvent>
264 <OnHide>
265 IMBA_KelThuzadInterrupt_UnregisterEvents();
266 if ( this.isMoving ) then
267 this:StopMovingOrSizing();
268 this.isMoving = false;
269 end
270 </OnHide>
271 </Scripts>
272 </Frame>
273 </Ui>