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 | <Script file="IMBA_Template.lua"/> |
||
4 | |||
5 | <StatusBar name="IMBA_BarTimerTemplate" virtual="true"> |
||
6 | <BarTexture name="$parent_Texture" file="Interface\AddOns\\IMBA\textures\BarTextures\Normal" /> |
||
7 | <Size> |
||
8 | <AbsDimension x="180" y="16" /> |
||
9 | </Size> |
||
10 | <Layers> |
||
11 | <Layer level="OVERLAY"> |
||
12 | <FontString name="$parent_Text" justifyH="LEFT" font="Fonts\FRIZQT__.TTF"> |
||
13 | <Shadow> |
||
14 | <Offset><AbsDimension x="1" y="-1"/></Offset> |
||
15 | <Color r="0" g="0" b="0"/> |
||
16 | </Shadow> |
||
17 | <FontHeight> |
||
18 | <AbsValue val="12" /> |
||
19 | </FontHeight> |
||
20 | <Color r="1.0" g="1.0" b="1.0" a="0.9"/> |
||
21 | </FontString> |
||
22 | <FontString name="$parent_TextVal" justifyH="RIGHT" font="Fonts\FRIZQT__.TTF"> |
||
23 | <Shadow> |
||
24 | <Offset><AbsDimension x="1" y="-1"/></Offset> |
||
25 | <Color r="0" g="0" b="0"/> |
||
26 | </Shadow> |
||
27 | <FontHeight> |
||
28 | <AbsValue val="12" /> |
||
29 | </FontHeight> |
||
30 | <Color r="1.0" g="1.0" b="1.0" a="0.9"/> |
||
31 | </FontString> |
||
32 | </Layer> |
||
33 | </Layers> |
||
34 | <Frames> |
||
35 | <Frame name="$parentBG"> |
||
36 | <Size> |
||
37 | <AbsDimension x="180" y="18"/> |
||
38 | </Size> |
||
39 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Background" tile="true"> |
||
40 | <BackgroundInsets> |
||
41 | <AbsInset left="-" right="-1" top="-1" bottom="-1"/> |
||
42 | </BackgroundInsets> |
||
43 | <TileSize> |
||
44 | <AbsValue val="16"/> |
||
45 | </TileSize> |
||
46 | <EdgeSize> |
||
47 | <AbsValue val="1"/> |
||
48 | </EdgeSize> |
||
49 | </Backdrop> |
||
50 | <Anchors> |
||
51 | <Anchor point="CENTER"> |
||
52 | <Offset> |
||
53 | <AbsDimension x="0" y="0"/> |
||
54 | </Offset> |
||
55 | </Anchor> |
||
56 | </Anchors> |
||
57 | <Scripts> |
||
58 | <OnLoad> |
||
59 | this:SetFrameLevel(this:GetFrameLevel() - 1); |
||
60 | this:SetBackdropBorderColor(0.9, 0.9, 0.9, 0.6); |
||
61 | this:SetBackdropColor(0.3, 0.3, 0.3, 0.6); |
||
62 | </OnLoad> |
||
63 | </Scripts> |
||
64 | </Frame> |
||
65 | |||
66 | </Frames> |
||
67 | <Scripts> |
||
68 | <OnLoad> |
||
69 | IMBA_InitBarTimer(this); |
||
70 | </OnLoad> |
||
71 | <OnUpdate> |
||
72 | this:UpdateTimer(); |
||
73 | </OnUpdate> |
||
74 | </Scripts> |
||
75 | </StatusBar> |
||
76 | |||
77 | <StatusBar name="IMBA_UnitHealthTemplate" virtual="true" enableMouse="true"> |
||
78 | <BarTexture name="$parent_Texture" file="Interface\AddOns\\IMBA\textures\BarTextures\Normal" /> |
||
79 | <Size> |
||
80 | <AbsDimension x="180" y="20" /> |
||
81 | </Size> |
||
82 | <Layers> |
||
83 | <Layer level="OVERLAY"> |
||
84 | <FontString name="$parent_Text" justifyH="LEFT" font="Fonts\FRIZQT__.TTF"> |
||
85 | <Shadow> |
||
86 | <Offset><AbsDimension x="1" y="-1"/></Offset> |
||
87 | <Color r="0" g="0" b="0"/> |
||
88 | </Shadow> |
||
89 | <FontHeight> |
||
90 | <AbsValue val="14" /> |
||
91 | </FontHeight> |
||
92 | <Color r="1.0" g="1.0" b="1.0" a="0.9"/> |
||
93 | </FontString> |
||
94 | <FontString name="$parent_TextVal" justifyH="RIGHT" font="Fonts\FRIZQT__.TTF"> |
||
95 | <Shadow> |
||
96 | <Offset><AbsDimension x="1" y="-1"/></Offset> |
||
97 | <Color r="0" g="0" b="0"/> |
||
98 | </Shadow> |
||
99 | <FontHeight> |
||
100 | <AbsValue val="14" /> |
||
101 | </FontHeight> |
||
102 | <Color r="1.0" g="1.0" b="1.0" a="0.9"/> |
||
103 | </FontString> |
||
104 | </Layer> |
||
105 | </Layers> |
||
106 | <Frames> |
||
107 | <Frame name="$parentBG"> |
||
108 | <Size> |
||
109 | <AbsDimension x="180" y="22"/> |
||
110 | </Size> |
||
111 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Background" tile="true"> |
||
112 | <BackgroundInsets> |
||
113 | <AbsInset left="-" right="-1" top="-1" bottom="-1"/> |
||
114 | </BackgroundInsets> |
||
115 | <TileSize> |
||
116 | <AbsValue val="16"/> |
||
117 | </TileSize> |
||
118 | <EdgeSize> |
||
119 | <AbsValue val="1"/> |
||
120 | </EdgeSize> |
||
121 | </Backdrop> |
||
122 | <Anchors> |
||
123 | <Anchor point="CENTER"> |
||
124 | <Offset> |
||
125 | <AbsDimension x="0" y="0"/> |
||
126 | </Offset> |
||
127 | </Anchor> |
||
128 | </Anchors> |
||
129 | <Scripts> |
||
130 | <OnLoad> |
||
131 | this:SetFrameLevel(this:GetFrameLevel() - 1); |
||
132 | this:SetBackdropBorderColor(0.9, 0.9, 0.9, 0.6); |
||
133 | this:SetBackdropColor(0.3, 0.3, 0.3, 0.6); |
||
134 | </OnLoad> |
||
135 | </Scripts> |
||
136 | </Frame> |
||
137 | <Button name="$parent_Button" toplevel="true"> |
||
138 | <Size> |
||
139 | <AbsDimension x="180" y="20" /> |
||
140 | </Size> |
||
141 | <Anchors> |
||
142 | <Anchor point="CENTER"> |
||
143 | <Offset> |
||
144 | <AbsDimension x="0" y="0"/> |
||
145 | </Offset> |
||
146 | </Anchor> |
||
147 | </Anchors> |
||
148 | |||
149 | <Scripts> |
||
150 | <OnLoad> |
||
151 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp", "MiddleButtonUp", "Button4Up", "Button5Up") |
||
152 | </OnLoad> |
||
153 | <OnClick> |
||
154 | this:GetParent():UnitHealthOnClick(); |
||
155 | </OnClick> |
||
156 | </Scripts> |
||
157 | </Button> |
||
158 | |||
159 | </Frames> |
||
160 | <Scripts> |
||
161 | <OnLoad> |
||
162 | IMBA_InitUnitHealth(this); |
||
163 | </OnLoad> |
||
164 | <OnClick> |
||
165 | this:UnitHealthOnClick(); |
||
166 | </OnClick> |
||
167 | <OnUpdate> |
||
168 | this:UpdateUnitHealth(); |
||
169 | </OnUpdate> |
||
170 | </Scripts> |
||
171 | </StatusBar> |
||
172 | |||
173 | <StatusBar name="IMBA_Counter" virtual="true" enableMouse="true"> |
||
174 | <BarTexture name="$parent_Texture" file="Interface\AddOns\\IMBA\textures\BarTextures\Normal" /> |
||
175 | <Size> |
||
176 | <AbsDimension x="180" y="20" /> |
||
177 | </Size> |
||
178 | <Layers> |
||
179 | <Layer level="OVERLAY"> |
||
180 | <FontString name="$parent_Text" justifyH="LEFT" font="Fonts\FRIZQT__.TTF"> |
||
181 | <Shadow> |
||
182 | <Offset><AbsDimension x="1" y="-1"/></Offset> |
||
183 | <Color r="0" g="0" b="0"/> |
||
184 | </Shadow> |
||
185 | <FontHeight> |
||
186 | <AbsValue val="14" /> |
||
187 | </FontHeight> |
||
188 | <Color r="1.0" g="1.0" b="1.0" a="0.9"/> |
||
189 | </FontString> |
||
190 | <FontString name="$parent_TextVal" justifyH="RIGHT" font="Fonts\FRIZQT__.TTF"> |
||
191 | <Shadow> |
||
192 | <Offset><AbsDimension x="1" y="-1"/></Offset> |
||
193 | <Color r="0" g="0" b="0"/> |
||
194 | </Shadow> |
||
195 | <FontHeight> |
||
196 | <AbsValue val="14" /> |
||
197 | </FontHeight> |
||
198 | <Color r="1.0" g="1.0" b="1.0" a="0.9"/> |
||
199 | </FontString> |
||
200 | </Layer> |
||
201 | </Layers> |
||
202 | <Frames> |
||
203 | <Frame name="$parentBG"> |
||
204 | <Size> |
||
205 | <AbsDimension x="180" y="22"/> |
||
206 | </Size> |
||
207 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Background" tile="true"> |
||
208 | <BackgroundInsets> |
||
209 | <AbsInset left="-" right="-1" top="-1" bottom="-1"/> |
||
210 | </BackgroundInsets> |
||
211 | <TileSize> |
||
212 | <AbsValue val="16"/> |
||
213 | </TileSize> |
||
214 | <EdgeSize> |
||
215 | <AbsValue val="1"/> |
||
216 | </EdgeSize> |
||
217 | </Backdrop> |
||
218 | <Anchors> |
||
219 | <Anchor point="CENTER"> |
||
220 | <Offset> |
||
221 | <AbsDimension x="0" y="0"/> |
||
222 | </Offset> |
||
223 | </Anchor> |
||
224 | </Anchors> |
||
225 | <Scripts> |
||
226 | <OnLoad> |
||
227 | this:SetFrameLevel(this:GetFrameLevel() - 1); |
||
228 | this:SetBackdropBorderColor(0.9, 0.9, 0.9, 0.6); |
||
229 | this:SetBackdropColor(0.3, 0.3, 0.3, 0.6); |
||
230 | </OnLoad> |
||
231 | </Scripts> |
||
232 | </Frame> |
||
233 | </Frames> |
||
234 | <Scripts> |
||
235 | <OnLoad> |
||
236 | IMBA_InitCounter(this); |
||
237 | </OnLoad> |
||
238 | <OnUpdate> |
||
239 | this:UpdateCounter(); |
||
240 | </OnUpdate> |
||
241 | </Scripts> |
||
242 | </StatusBar> |
||
243 | |||
244 | <StatusBar name="IMBA_RaidIconHealthTemplate" virtual="true" enableMouse="true"> |
||
245 | <BarTexture name="$parent_Texture" file="Interface\AddOns\\IMBA\textures\BarTextures\Normal" /> |
||
246 | <Size> |
||
247 | <AbsDimension x="180" y="20" /> |
||
248 | </Size> |
||
249 | <Layers> |
||
250 | <Layer level="OVERLAY"> |
||
251 | <FontString name="$parent_Text" justifyH="LEFT" font="Fonts\FRIZQT__.TTF"> |
||
252 | <Shadow> |
||
253 | <Offset><AbsDimension x="1" y="-1"/></Offset> |
||
254 | <Color r="0" g="0" b="0"/> |
||
255 | </Shadow> |
||
256 | <FontHeight> |
||
257 | <AbsValue val="14" /> |
||
258 | </FontHeight> |
||
259 | <Color r="1.0" g="1.0" b="1.0" a="0.9"/> |
||
260 | </FontString> |
||
261 | <FontString name="$parent_TextVal" justifyH="RIGHT" font="Fonts\FRIZQT__.TTF"> |
||
262 | <Shadow> |
||
263 | <Offset><AbsDimension x="1" y="-1"/></Offset> |
||
264 | <Color r="0" g="0" b="0"/> |
||
265 | </Shadow> |
||
266 | <FontHeight> |
||
267 | <AbsValue val="14" /> |
||
268 | </FontHeight> |
||
269 | <Color r="1.0" g="1.0" b="1.0" a="0.9"/> |
||
270 | </FontString> |
||
271 | </Layer> |
||
272 | </Layers> |
||
273 | <Frames> |
||
274 | <Frame name="$parentBG"> |
||
275 | <Size> |
||
276 | <AbsDimension x="180" y="22"/> |
||
277 | </Size> |
||
278 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Background" tile="true"> |
||
279 | <BackgroundInsets> |
||
280 | <AbsInset left="-" right="-1" top="-1" bottom="-1"/> |
||
281 | </BackgroundInsets> |
||
282 | <TileSize> |
||
283 | <AbsValue val="16"/> |
||
284 | </TileSize> |
||
285 | <EdgeSize> |
||
286 | <AbsValue val="1"/> |
||
287 | </EdgeSize> |
||
288 | </Backdrop> |
||
289 | <Anchors> |
||
290 | <Anchor point="CENTER"> |
||
291 | <Offset> |
||
292 | <AbsDimension x="0" y="0"/> |
||
293 | </Offset> |
||
294 | </Anchor> |
||
295 | </Anchors> |
||
296 | <Scripts> |
||
297 | <OnLoad> |
||
298 | this:SetFrameLevel(this:GetFrameLevel() - 1); |
||
299 | this:SetBackdropBorderColor(0.9, 0.9, 0.9, 0.6); |
||
300 | this:SetBackdropColor(0.3, 0.3, 0.3, 0.6); |
||
301 | </OnLoad> |
||
302 | </Scripts> |
||
303 | </Frame> |
||
304 | <Button name="$parent_Button" toplevel="true"> |
||
305 | <Size> |
||
306 | <AbsDimension x="180" y="20" /> |
||
307 | </Size> |
||
308 | <Anchors> |
||
309 | <Anchor point="CENTER"> |
||
310 | <Offset> |
||
311 | <AbsDimension x="0" y="0"/> |
||
312 | </Offset> |
||
313 | </Anchor> |
||
314 | </Anchors> |
||
315 | |||
316 | <Scripts> |
||
317 | <OnLoad> |
||
318 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp", "MiddleButtonUp", "Button4Up", "Button5Up") |
||
319 | </OnLoad> |
||
320 | <OnClick> |
||
321 | this:GetParent():RaidIconHealthOnClick(); |
||
322 | </OnClick> |
||
323 | </Scripts> |
||
324 | </Button> |
||
325 | </Frames> |
||
326 | <Scripts> |
||
327 | <OnLoad> |
||
328 | IMBA_InitRaidIconHealth(this); |
||
329 | </OnLoad> |
||
330 | <OnUpdate> |
||
331 | this:UpdateRaidIconHealth(); |
||
332 | </OnUpdate> |
||
333 | </Scripts> |
||
334 | </StatusBar> |
||
335 | |||
336 | <StatusBar name="IMBA_NameHealthTemplate" virtual="true" enableMouse="true"> |
||
337 | <BarTexture name="$parent_Texture" file="Interface\AddOns\\IMBA\textures\BarTextures\Normal" /> |
||
338 | <Size> |
||
339 | <AbsDimension x="180" y="20" /> |
||
340 | </Size> |
||
341 | <Layers> |
||
342 | <Layer level="OVERLAY"> |
||
343 | <FontString name="$parent_Text" justifyH="LEFT" font="Fonts\FRIZQT__.TTF"> |
||
344 | <Shadow> |
||
345 | <Offset><AbsDimension x="1" y="-1"/></Offset> |
||
346 | <Color r="0" g="0" b="0"/> |
||
347 | </Shadow> |
||
348 | <FontHeight> |
||
349 | <AbsValue val="14" /> |
||
350 | </FontHeight> |
||
351 | <Color r="1.0" g="1.0" b="1.0" a="0.9"/> |
||
352 | </FontString> |
||
353 | <FontString name="$parent_TextVal" justifyH="RIGHT" font="Fonts\FRIZQT__.TTF"> |
||
354 | <Shadow> |
||
355 | <Offset><AbsDimension x="1" y="-1"/></Offset> |
||
356 | <Color r="0" g="0" b="0"/> |
||
357 | </Shadow> |
||
358 | <FontHeight> |
||
359 | <AbsValue val="14" /> |
||
360 | </FontHeight> |
||
361 | <Color r="1.0" g="1.0" b="1.0" a="0.9"/> |
||
362 | </FontString> |
||
363 | </Layer> |
||
364 | </Layers> |
||
365 | <Frames> |
||
366 | <Frame name="$parentBG"> |
||
367 | <Size> |
||
368 | <AbsDimension x="180" y="22"/> |
||
369 | </Size> |
||
370 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Background" tile="true"> |
||
371 | <BackgroundInsets> |
||
372 | <AbsInset left="-" right="-1" top="-1" bottom="-1"/> |
||
373 | </BackgroundInsets> |
||
374 | <TileSize> |
||
375 | <AbsValue val="16"/> |
||
376 | </TileSize> |
||
377 | <EdgeSize> |
||
378 | <AbsValue val="1"/> |
||
379 | </EdgeSize> |
||
380 | </Backdrop> |
||
381 | <Anchors> |
||
382 | <Anchor point="CENTER"> |
||
383 | <Offset> |
||
384 | <AbsDimension x="0" y="0"/> |
||
385 | </Offset> |
||
386 | </Anchor> |
||
387 | </Anchors> |
||
388 | <Scripts> |
||
389 | <OnLoad> |
||
390 | this:SetFrameLevel(this:GetFrameLevel() - 1); |
||
391 | this:SetBackdropBorderColor(0.9, 0.9, 0.9, 0.6); |
||
392 | this:SetBackdropColor(0.3, 0.3, 0.3, 0.6); |
||
393 | </OnLoad> |
||
394 | </Scripts> |
||
395 | </Frame> |
||
396 | <Button name="$parent_Button" toplevel="true"> |
||
397 | <Size> |
||
398 | <AbsDimension x="180" y="20" /> |
||
399 | </Size> |
||
400 | <Anchors> |
||
401 | <Anchor point="CENTER"> |
||
402 | <Offset> |
||
403 | <AbsDimension x="0" y="0"/> |
||
404 | </Offset> |
||
405 | </Anchor> |
||
406 | </Anchors> |
||
407 | |||
408 | <Scripts> |
||
409 | <OnLoad> |
||
410 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp", "MiddleButtonUp", "Button4Up", "Button5Up") |
||
411 | </OnLoad> |
||
412 | <OnClick> |
||
413 | this:GetParent():NameHealthOnClick(); |
||
414 | </OnClick> |
||
415 | </Scripts> |
||
416 | </Button> |
||
417 | </Frames> |
||
418 | <Scripts> |
||
419 | <OnLoad> |
||
420 | IMBA_InitNameHealth(this); |
||
421 | </OnLoad> |
||
422 | <OnUpdate> |
||
423 | this:UpdateNameHealth(); |
||
424 | </OnUpdate> |
||
425 | </Scripts> |
||
426 | </StatusBar> |
||
427 | |||
428 | |||
429 | <Frame name="IMBA_MainTitleTemplate" virtual="true"> |
||
430 | <Size> |
||
431 | <AbsDimension x="180" y="14" /> |
||
432 | </Size> |
||
433 | <Layers> |
||
434 | <Layer level="OVERLAY"> |
||
435 | <FontString name="$parent_Text" justifyH="CENTER" font="Fonts\FRIZQT__.TTF"> |
||
436 | <Shadow> |
||
437 | <Offset><AbsDimension x="1" y="-1"/></Offset> |
||
438 | <Color r="0" g="0" b="0"/> |
||
439 | </Shadow> |
||
440 | <FontHeight> |
||
441 | <AbsValue val="14" /> |
||
442 | </FontHeight> |
||
443 | <Color r="1.0" g="1.0" b="1.0" a="0.9"/> |
||
444 | </FontString> |
||
445 | </Layer> |
||
446 | </Layers> |
||
447 | <Scripts> |
||
448 | <OnLoad> |
||
449 | IMBA_InitTitleTemplate(this); |
||
450 | </OnLoad> |
||
451 | </Scripts> |
||
452 | </Frame> |
||
453 | |||
454 | <Frame name="IMBA_TitleTemplate" virtual="true"> |
||
455 | <Size> |
||
456 | <AbsDimension x="180" y="13" /> |
||
457 | </Size> |
||
458 | <Layers> |
||
459 | <Layer level="OVERLAY"> |
||
460 | <FontString name="$parent_Text" justifyH="CENTER" font="Fonts\FRIZQT__.TTF"> |
||
461 | <Shadow> |
||
462 | <Offset><AbsDimension x="1" y="-1"/></Offset> |
||
463 | <Color r="0" g="0" b="0"/> |
||
464 | </Shadow> |
||
465 | <FontHeight> |
||
466 | <AbsValue val="13" /> |
||
467 | </FontHeight> |
||
468 | <Color r="1.0" g="1.0" b="1.0" a="0.9"/> |
||
469 | </FontString> |
||
470 | </Layer> |
||
471 | </Layers> |
||
472 | <Scripts> |
||
473 | <OnLoad> |
||
474 | IMBA_InitTitleTemplate(this); |
||
475 | </OnLoad> |
||
476 | </Scripts> |
||
477 | </Frame> |
||
478 | |||
479 | <Frame name="IMBA_TextTemplate" virtual="true"> |
||
480 | <Size> |
||
481 | <AbsDimension x="180" y="12" /> |
||
482 | </Size> |
||
483 | <Layers> |
||
484 | <Layer level="OVERLAY"> |
||
485 | <FontString name="$parent_Text" justifyH="LEFT" font="Fonts\FRIZQT__.TTF"> |
||
486 | <Shadow> |
||
487 | <Offset><AbsDimension x="1" y="-1"/></Offset> |
||
488 | <Color r="0" g="0" b="0"/> |
||
489 | </Shadow> |
||
490 | <FontHeight> |
||
491 | <AbsValue val="12" /> |
||
492 | </FontHeight> |
||
493 | <Color r="1.0" g="1.0" b="1.0" a="0.9"/> |
||
494 | </FontString> |
||
495 | <FontString name="$parent_TextVal" justifyH="RIGHT" font="Fonts\FRIZQT__.TTF"> |
||
496 | <Shadow> |
||
497 | <Offset><AbsDimension x="1" y="-1"/></Offset> |
||
498 | <Color r="0" g="0" b="0"/> |
||
499 | </Shadow> |
||
500 | <FontHeight> |
||
501 | <AbsValue val="12" /> |
||
502 | </FontHeight> |
||
503 | <Color r="1.0" g="1.0" b="1.0" a="0.9"/> |
||
504 | </FontString> |
||
505 | </Layer> |
||
506 | </Layers> |
||
507 | <Scripts> |
||
508 | <OnLoad> |
||
509 | IMBA_InitTextTemplate(this); |
||
510 | </OnLoad> |
||
511 | </Scripts> |
||
512 | </Frame> |
||
513 | |||
514 | <Frame name="IMBA_TextIconTemplate" virtual="true"> |
||
515 | <Size> |
||
516 | <AbsDimension x="180" y="13" /> |
||
517 | </Size> |
||
518 | <Layers> |
||
519 | <Layer level="OVERLAY"> |
||
520 | <FontString name="$parent_Text" justifyH="LEFT" font="Fonts\FRIZQT__.TTF"> |
||
521 | <Shadow> |
||
522 | <Offset><AbsDimension x="1" y="-1"/></Offset> |
||
523 | <Color r="0" g="0" b="0"/> |
||
524 | </Shadow> |
||
525 | <FontHeight> |
||
526 | <AbsValue val="13" /> |
||
527 | </FontHeight> |
||
528 | <Color r="1.0" g="1.0" b="1.0" a="0.9"/> |
||
529 | </FontString> |
||
530 | <Texture name="$parent_Icon" file="" hidden="true"> |
||
531 | <Size> |
||
532 | <AbsDimension x="16" y="16"/> |
||
533 | </Size> |
||
534 | <Anchors> |
||
535 | <Anchor point="RIGHT"/> |
||
536 | </Anchors> |
||
537 | </Texture> |
||
538 | </Layer> |
||
539 | </Layers> |
||
540 | <Scripts> |
||
541 | <OnLoad> |
||
542 | IMBA_InitTextIconTemplate(this); |
||
543 | </OnLoad> |
||
544 | </Scripts> |
||
545 | </Frame> |
||
546 | |||
547 | <Frame name="IMBA_IconTemplate" virtual="true"> |
||
548 | <Size> |
||
549 | <AbsDimension x="20" y="20" /> |
||
550 | </Size> |
||
551 | <Layers> |
||
552 | <Layer level="OVERLAY"> |
||
553 | <Texture name="$parent_Icon" file="" hidden="true"> |
||
554 | <Size> |
||
555 | <AbsDimension x="16" y="16"/> |
||
556 | </Size> |
||
557 | <Anchors> |
||
558 | <Anchor point="CENTER"/> |
||
559 | </Anchors> |
||
560 | </Texture> |
||
561 | </Layer> |
||
562 | </Layers> |
||
563 | <Scripts> |
||
564 | <OnLoad> |
||
565 | IMBA_InitIconTemplate(this); |
||
566 | </OnLoad> |
||
567 | </Scripts> |
||
568 | </Frame> |
||
569 | |||
570 | |||
571 | <Frame name="IMBA_IconTemplateSmall" virtual="true"> |
||
572 | <Size> |
||
573 | <AbsDimension x="12" y="12" /> |
||
574 | </Size> |
||
575 | <Anchors> |
||
576 | <Anchor point="CENTER"/> |
||
577 | </Anchors> |
||
578 | <Layers> |
||
579 | <Layer level="OVERLAY"> |
||
580 | <Texture name="$parent_Icon" file="" hidden="true"> |
||
581 | <Size> |
||
582 | <AbsDimension x="12" y="12"/> |
||
583 | </Size> |
||
584 | <Anchors> |
||
585 | <Anchor point="CENTER"/> |
||
586 | </Anchors> |
||
587 | </Texture> |
||
588 | </Layer> |
||
589 | </Layers> |
||
590 | <Scripts> |
||
591 | <OnLoad> |
||
592 | IMBA_InitIconTemplate(this); |
||
593 | </OnLoad> |
||
594 | </Scripts> |
||
595 | </Frame> |
||
596 | |||
597 | <Frame name="IMBA_IconTemplateLarge" virtual="true"> |
||
598 | <Size> |
||
599 | <AbsDimension x="32" y="32" /> |
||
600 | </Size> |
||
601 | <Anchors> |
||
602 | <Anchor point="CENTER"/> |
||
603 | </Anchors> |
||
604 | <Layers> |
||
605 | <Layer level="OVERLAY"> |
||
606 | <Texture name="$parent_Icon" file="" hidden="true"> |
||
607 | <Size> |
||
608 | <AbsDimension x="32" y="32"/> |
||
609 | </Size> |
||
610 | <Anchors> |
||
611 | <Anchor point="CENTER"/> |
||
612 | </Anchors> |
||
613 | </Texture> |
||
614 | </Layer> |
||
615 | </Layers> |
||
616 | <Scripts> |
||
617 | <OnLoad> |
||
618 | IMBA_InitIconTemplate(this); |
||
619 | </OnLoad> |
||
620 | </Scripts> |
||
621 | </Frame> |
||
622 | |||
623 | <Frame name="IMBA_Close" virtual="true" enableMouse="true"> |
||
624 | <Size> |
||
625 | <AbsDimension x="24" y="24"/> |
||
626 | </Size> |
||
627 | <Anchors> |
||
628 | <Anchor point="TOPRIGHT"> |
||
629 | <Offset> |
||
630 | <AbsDimension x="0" y="0"/> |
||
631 | </Offset> |
||
632 | </Anchor> |
||
633 | </Anchors> |
||
634 | <Layers> |
||
635 | <Layer level="OVERLAY"> |
||
636 | <Texture name="$parent_Image" file="Interface\AddOns\ImpGothik\textures\close.blp"> |
||
637 | <Size> |
||
638 | <AbsDimension x="32" y="32"/> |
||
639 | </Size> |
||
640 | <Anchors> |
||
641 | <Anchor point="TOPRIGHT"/> |
||
642 | </Anchors> |
||
643 | </Texture> |
||
644 | </Layer> |
||
645 | </Layers> |
||
646 | <Scripts> |
||
647 | <OnLoad> |
||
648 | this:SetBackdropBorderColor(1, 1, 1, 1); |
||
649 | this:SetBackdropColor(0.0,0.0,0.0,0); |
||
650 | </OnLoad> |
||
651 | <OnMouseDown> |
||
652 | this:parent:Hide(); |
||
653 | </OnMouseDown> |
||
654 | </Scripts> |
||
655 | </Frame> |
||
656 | <!--This Template is from CTRA/--> |
||
657 | <Frame name="IMBA_BossModTemplate" virtual="true" hidden="false"> |
||
658 | <Size> |
||
659 | <AbsDimension x="515" y="25"/> |
||
660 | </Size> |
||
661 | <Layers> |
||
662 | <Layer level="ARTWORK"> |
||
663 | <FontString name="$parentShowHide" justifyH="CENTER" justifyV="CENTER" hidden="true" font="Fonts\ARIALN.TTF"> |
||
664 | <Size> |
||
665 | <AbsDimension x="12" y="20"/> |
||
666 | </Size> |
||
667 | <FontHeight> |
||
668 | <AbsValue val="20"/> |
||
669 | </FontHeight> |
||
670 | <Color r="1.0" g="0.82" b="0"/> |
||
671 | <Shadow> |
||
672 | <Offset> |
||
673 | <AbsDimension x="1" y="-1"/> |
||
674 | </Offset> |
||
675 | <Color r="0" g="0" b="0"/> |
||
676 | </Shadow> |
||
677 | <Anchors> |
||
678 | <Anchor point="LEFT"/> |
||
679 | </Anchors> |
||
680 | </FontString> |
||
681 | <FontString name="$parentName" inherits="ChatFontNormal" hidden="false"> |
||
682 | <Anchors> |
||
683 | <Anchor point="TOPLEFT"/> |
||
684 | </Anchors> |
||
685 | </FontString> |
||
686 | <FontString name="$parentDescript" justifyH="LEFT" inherits="GameFontNormalSmall" hidden="false"> |
||
687 | <Size> |
||
688 | <AbsDimension x="480" y="12"/> |
||
689 | </Size> |
||
690 | <Anchors> |
||
691 | <Anchor point="BOTTOMLEFT"> |
||
692 | <Offset> |
||
693 | <AbsDimension x="45" y="0"/> |
||
694 | </Offset> |
||
695 | </Anchor> |
||
696 | </Anchors> |
||
697 | </FontString> |
||
698 | <FontString name="$parentStatus" inherits="ChatFontNormal" hidden="false"> |
||
699 | <Anchors> |
||
700 | <Anchor point="TOPRIGHT"/> |
||
701 | </Anchors> |
||
702 | </FontString> |
||
703 | <Texture name="$parentLine" file="Interface\Tooltips\UI-Tooltip-Background" hidden="false"> |
||
704 | <Size> |
||
705 | <AbsDimension x="525" y="1"/> |
||
706 | </Size> |
||
707 | <Anchors> |
||
708 | <Anchor point="BOTTOM"> |
||
709 | <Offset> |
||
710 | <AbsDimension x="0" y="-5"/> |
||
711 | </Offset> |
||
712 | </Anchor> |
||
713 | </Anchors> |
||
714 | </Texture> |
||
715 | </Layer> |
||
716 | </Layers> |
||
717 | <Frames> |
||
718 | <Frame name="$parentMenu" inherits="UIDropDownMenuTemplate" hidden="true"> |
||
719 | <Size> |
||
720 | <AbsDimension x="128" y="16"/> |
||
721 | </Size> |
||
722 | <Anchors> |
||
723 | <Anchor point="RIGHT"> |
||
724 | <Offset> |
||
725 | <AbsDimension x="-10" y="-3"/> |
||
726 | </Offset> |
||
727 | </Anchor> |
||
728 | </Anchors> |
||
729 | </Frame> |
||
730 | </Frames> |
||
731 | <Scripts> |
||
732 | <OnMouseUp> |
||
733 | if ( this.header ) then |
||
734 | IMBA_ToggleHeader(this.headername); |
||
735 | CloseMenus(); |
||
736 | else |
||
737 | ToggleDropDownMenu(1, nil, getglobal(this:GetName() .. "Menu"), "cursor"); |
||
738 | end |
||
739 | </OnMouseUp> |
||
740 | <OnEnter> |
||
741 | this.mouseIsOver = 1; |
||
742 | --GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
743 | --if ( this.header and not this.expanded ) then |
||
744 | -- GameTooltip:SetText("Click to expand"); |
||
745 | --elseif ( this.header ) then |
||
746 | -- GameTooltip:SetText("Click to contract");w |
||
747 | --elseif ( not this.header ) then |
||
748 | -- GameTooltip:SetText("Click to open options"); |
||
749 | --end |
||
750 | </OnEnter> |
||
751 | <OnLeave> |
||
752 | this.mouseIsOver = nil; |
||
753 | --GameTooltip:Hide(); |
||
754 | </OnLeave> |
||
755 | </Scripts> |
||
756 | </Frame> |
||
757 | |||
758 | <Frame name="IMBA_TextFadeTemplate" virtual="true"> |
||
759 | <Size> |
||
760 | <AbsDimension x="280" y="48" /> |
||
761 | </Size> |
||
762 | <Layers> |
||
763 | <Layer level="OVERLAY"> |
||
764 | <FontString name="$parent_Text" justifyH="CENTER" font="Fonts\FRIZQT__.TTF"> |
||
765 | <Shadow> |
||
766 | <Offset><AbsDimension x="1" y="-1"/></Offset> |
||
767 | <Color r="0" g="0" b="0"/> |
||
768 | </Shadow> |
||
769 | <FontHeight> |
||
770 | <AbsValue val="24" /> |
||
771 | </FontHeight> |
||
772 | <Color r="1.0" g="1.0" b="1.0" a="0.9"/> |
||
773 | </FontString> |
||
774 | </Layer> |
||
775 | </Layers> |
||
776 | <Scripts> |
||
777 | <OnLoad> |
||
778 | IMBA_InitTextFade(this); |
||
779 | </OnLoad> |
||
780 | <OnUpdate> |
||
781 | this:UpdateText(); |
||
782 | </OnUpdate> |
||
783 | </Scripts> |
||
784 | </Frame> |
||
785 | |||
786 | <Frame name="IMBA_MinimapMarker" virtual="true"> |
||
787 | <Size> |
||
788 | <AbsDimension x="16" y="16"/> |
||
789 | </Size> |
||
790 | <Anchors> |
||
791 | <Anchor point="TOPRIGHT"> |
||
792 | <Offset> |
||
793 | <AbsDimension x="0" y="0"/> |
||
794 | </Offset> |
||
795 | </Anchor> |
||
796 | </Anchors> |
||
797 | <Frames> |
||
798 | <Frame name="$parent_Icon" inherits="IMBA_IconTemplateSmall"/> |
||
799 | </Frames> |
||
800 | <Scripts> |
||
801 | <OnLoad> |
||
802 | IMBA_InitMinimapMarker(this); |
||
803 | </OnLoad> |
||
804 | <OnEvent> |
||
805 | this:MarkerOnEvent(event); |
||
806 | </OnEvent> |
||
807 | <OnUpdate> |
||
808 | this:UpdateMarker(); |
||
809 | </OnUpdate> |
||
810 | </Scripts> |
||
811 | </Frame> |
||
812 | |||
813 | |||
814 | <Button name="IMBA_ColorButton" virtual="true"> |
||
815 | <Size> |
||
816 | <AbsDimension x="32" y="32"/> |
||
817 | </Size> |
||
818 | <Color r="1" g="0" b="0" a="1"/> |
||
819 | <Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border"> |
||
820 | <EdgeSize> |
||
821 | <AbsValue val="16"/> |
||
822 | </EdgeSize> |
||
823 | </Backdrop> |
||
824 | <Layers> |
||
825 | <Layer level="BACKGROUND"> |
||
826 | <Texture name="$parent_BG"> |
||
827 | <Size> |
||
828 | <AbsDimension x="22" y="22"/> |
||
829 | </Size> |
||
830 | <Anchors> |
||
831 | <Anchor point="CENTER"/> |
||
832 | </Anchors> |
||
833 | <Color r="1" g="1" b="1" a="1"/> |
||
834 | </Texture> |
||
835 | </Layer> |
||
836 | </Layers> |
||
837 | <Scripts> |
||
838 | <OnClick> |
||
839 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
840 | ColorPickerFrame.callFrame=this; |
||
841 | ColorPickerFrame.hasOpacity = false; |
||
842 | ColorPickerFrame.func=IMBA_ColorButton_Change; |
||
843 | ColorPickerFrame:SetColorRGB(this.color.r, this.color.g, this.color.b); |
||
844 | if this.color.a then |
||
845 | ColorPickerFrame.opacity = 1.0 - this.color.a; |
||
846 | ColorPickerFrame.opacityFunc=IMBA_ColorButton_Opacity_Change; |
||
847 | ColorPickerFrame.hasOpacity = true; |
||
848 | end |
||
849 | ColorPickerFrame.previousValues = this.color |
||
850 | ColorPickerFrame:ClearAllPoints(); |
||
851 | if this.AttachFrame then |
||
852 | ColorPickerFrame:SetPoint("RIGHT",this.AttachFrame,"LEFT",0,0); |
||
853 | end |
||
854 | |||
855 | ColorPickerFrame.cancelFunc = IMBA_ColorButton_Cancel; |
||
856 | |||
857 | ColorPickerFrame:Show(); |
||
858 | </OnClick> |
||
859 | </Scripts> |
||
860 | </Button> |
||
861 | </Ui> |