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 | <Script file="CEnemyCastBar.lua"/> |
||
3 | <Script file="localization.lua"/> |
||
4 | <Script file="localization.de.lua"/> |
||
5 | <Script file="localization.fr.lua"/> |
||
6 | <Button name="CarniEnemyCastBarTemplate" virtual="true" hidden="true" movable="true" enableMouse="true"> |
||
7 | <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" tile="true"> |
||
8 | <BackgroundInsets> |
||
9 | <AbsInset left="6" right="6" top="2" bottom="12"/> |
||
10 | </BackgroundInsets> |
||
11 | </Backdrop> |
||
12 | <TitleRegion setAllPoints="true"/> |
||
13 | <Size> |
||
14 | <AbsDimension x="206" y="26"/> |
||
15 | </Size> |
||
16 | <!-- Slap it smack in the middle of the screen where it can be seen --> |
||
17 | <Anchors> |
||
18 | <Anchor point="TOPLEFT" relativeTo="UIParent"> |
||
19 | <Offset> |
||
20 | <AbsDimension x="50" y="-500" /> |
||
21 | </Offset> |
||
22 | </Anchor> |
||
23 | </Anchors> |
||
24 | |||
25 | <Layers> |
||
26 | <Layer level="BACKGROUND"> |
||
27 | <!-- Icon --> |
||
28 | <!-- Dimension + Point set in CEnemyCastBar_FlipBars() Function! --> |
||
29 | <Texture name="$parent_Icon" file="Interface\Icons\Spell_Holy_Renew" hidden="true"> |
||
30 | <Size> |
||
31 | <AbsDimension x="16" y="16"/> |
||
32 | </Size> |
||
33 | <Anchors> |
||
34 | <Anchor point="LEFT"> |
||
35 | <Offset> |
||
36 | <AbsDimension x="-12" y="5"/> |
||
37 | </Offset> |
||
38 | </Anchor> |
||
39 | </Anchors> |
||
40 | </Texture> |
||
41 | </Layer> |
||
42 | </Layers> |
||
43 | |||
44 | <Layers> |
||
45 | <Layer level="OVERLAY"> |
||
46 | <FontString name="$parent_Text" inherits="GameFontHighlight"> |
||
47 | <Size> |
||
48 | <AbsDimension x="185" y="14"/> |
||
49 | </Size> |
||
50 | <Anchors> |
||
51 | <Anchor point="TOP"/> |
||
52 | </Anchors> |
||
53 | </FontString> |
||
54 | <FontString name="$parent_CastTimeText" inherits="GameFontHighlight" text=""> |
||
55 | <FontHeight> |
||
56 | <AbsValue val="14"/> |
||
57 | </FontHeight> |
||
58 | <Color r="1.0" g="1.0" b="1.0"/> |
||
59 | <Anchors> |
||
60 | <Anchor point="LEFT"> |
||
61 | <Offset> |
||
62 | <AbsDimension x="205" y="5.5"/> |
||
63 | </Offset> |
||
64 | </Anchor> |
||
65 | </Anchors> |
||
66 | </FontString> |
||
67 | <!-- Steal the casting bar's border --> |
||
68 | <Texture file="Interface\Tooltips\UI-StatusBar-Border"> |
||
69 | <Size> |
||
70 | <AbsDimension x="205" y="20"/> |
||
71 | </Size> |
||
72 | <Anchors> |
||
73 | <Anchor point="TOP"> |
||
74 | <Offset> |
||
75 | <AbsDimension x="0" y="2"/> |
||
76 | </Offset> |
||
77 | </Anchor> |
||
78 | </Anchors> |
||
79 | </Texture> |
||
80 | </Layer> |
||
81 | </Layers> |
||
82 | |||
83 | <Frames> |
||
84 | <!-- Status bar to update duration visually --> |
||
85 | <StatusBar name="$parent_StatusBar"> |
||
86 | <Size> |
||
87 | <AbsDimension x="195" y="13"/> |
||
88 | </Size> |
||
89 | <Anchors> |
||
90 | <Anchor point="TOP"> |
||
91 | <Offset> |
||
92 | <AbsDimension x="0" y="-2"/> |
||
93 | </Offset> |
||
94 | </Anchor> |
||
95 | </Anchors> |
||
96 | <Layers> |
||
97 | <Layer level="OVERLAY"> |
||
98 | <!-- The "spark" adds pizzaz to the head of the status bar --> |
||
99 | <Texture name="$parent_Spark" alphaMode="ADD" file="Interface\CastingBar\UI-CastingBar-Spark"> |
||
100 | <Size> |
||
101 | <AbsDimension x="32" y="32"/> |
||
102 | </Size> |
||
103 | <Anchors> |
||
104 | <Anchor point="CENTER"/> |
||
105 | </Anchors> |
||
106 | </Texture> |
||
107 | </Layer> |
||
108 | </Layers> |
||
109 | <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/> |
||
110 | <BarColor r="1.0" g="0.7" b="0.0"/> |
||
111 | <Scripts> |
||
112 | <OnLoad> |
||
113 | this:SetFrameLevel(this:GetFrameLevel() - 1); |
||
114 | </OnLoad> |
||
115 | </Scripts> |
||
116 | </StatusBar> |
||
117 | </Frames> |
||
118 | <Scripts> |
||
119 | <OnUpdate> CEnemyCastBar_OnUpdate(); </OnUpdate> |
||
120 | </Scripts> |
||
121 | </Button> |
||
122 | |||
123 | <Button name="FauxTargetBtnTemplate" inherits="UIPanelButtonTemplate" virtual="true" hidden="true" alpha="0"> |
||
124 | <Size> |
||
125 | <AbsDimension x="205" y="20"/> |
||
126 | </Size> |
||
127 | <Anchors> |
||
128 | <Anchor point="TOPLEFT"> |
||
129 | <Offset> |
||
130 | <AbsDimension x="0" y="0"/> |
||
131 | </Offset> |
||
132 | </Anchor> |
||
133 | </Anchors> |
||
134 | <Scripts> |
||
135 | <OnLoad> |
||
136 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
137 | </OnLoad> |
||
138 | <OnClick> |
||
139 | if (IsShiftKeyDown()) then |
||
140 | if (arg1 == "LeftButton") then |
||
141 | CEnemyCastBar_HideBar(this:GetID()); |
||
142 | elseif (arg1 == "RightButton") then |
||
143 | CEnemyCastBar_HideBar(this:GetID(), true); |
||
144 | end |
||
145 | |||
146 | elseif (IsAltKeyDown() and arg1 == "LeftButton") then |
||
147 | CEnemyCastBar_Handler("clear"); |
||
148 | |||
149 | elseif (arg1 == "LeftButton") then |
||
150 | CEnemyCastBar_TargetPlayer(this:GetText()); |
||
151 | |||
152 | end |
||
153 | </OnClick> |
||
154 | </Scripts> |
||
155 | </Button> |
||
156 | |||
157 | <Frame name="CarniEnemyCastBarFrame" parent="UIParent" frameStrata="HIGH" toplevel="false" movable="false" enableMouse="false"> |
||
158 | <Size> |
||
159 | <AbsDimension x="0" y="0"/> |
||
160 | </Size> |
||
161 | |||
162 | <Frames> |
||
163 | <Button name="Carni_ECB_1" inherits="CarniEnemyCastBarTemplate" id="1"> |
||
164 | <Anchors> |
||
165 | <Anchor point="TOPRIGHT"> |
||
166 | <Offset> |
||
167 | <AbsDimension x="-30" y="0"/> |
||
168 | </Offset> |
||
169 | </Anchor> |
||
170 | </Anchors> |
||
171 | </Button> |
||
172 | <Button name="FauxTargetBtn1" inherits="FauxTargetBtnTemplate" id="1" text="1"> |
||
173 | <Anchors> |
||
174 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_1" relativePoint="TOPLEFT"> |
||
175 | <Offset> |
||
176 | <AbsDimension x="0" y="0"/> |
||
177 | </Offset> |
||
178 | </Anchor> |
||
179 | </Anchors> |
||
180 | </Button> |
||
181 | <Button name="Carni_ECB_2" inherits="CarniEnemyCastBarTemplate" id="2"> |
||
182 | <Anchors> |
||
183 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_1" relativePoint="TOPLEFT"> |
||
184 | <Offset> |
||
185 | <AbsDimension x="0" y="20"/> |
||
186 | </Offset> |
||
187 | </Anchor> |
||
188 | </Anchors> |
||
189 | </Button> |
||
190 | <Button name="FauxTargetBtn2" inherits="FauxTargetBtnTemplate" id="2" text="2"> |
||
191 | <Anchors> |
||
192 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_2" relativePoint="TOPLEFT"> |
||
193 | <Offset> |
||
194 | <AbsDimension x="0" y="0"/> |
||
195 | </Offset> |
||
196 | </Anchor> |
||
197 | </Anchors> |
||
198 | </Button> |
||
199 | <Button name="Carni_ECB_3" inherits="CarniEnemyCastBarTemplate" id="3"> |
||
200 | <Anchors> |
||
201 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_2" relativePoint="TOPLEFT"> |
||
202 | <Offset> |
||
203 | <AbsDimension x="0" y="20"/> |
||
204 | </Offset> |
||
205 | </Anchor> |
||
206 | </Anchors> |
||
207 | </Button> |
||
208 | <Button name="FauxTargetBtn3" inherits="FauxTargetBtnTemplate" id="3" text="3"> |
||
209 | <Anchors> |
||
210 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_3" relativePoint="TOPLEFT"> |
||
211 | <Offset> |
||
212 | <AbsDimension x="0" y="0"/> |
||
213 | </Offset> |
||
214 | </Anchor> |
||
215 | </Anchors> |
||
216 | </Button> |
||
217 | <Button name="Carni_ECB_4" inherits="CarniEnemyCastBarTemplate" id="4"> |
||
218 | <Anchors> |
||
219 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_3" relativePoint="TOPLEFT"> |
||
220 | <Offset> |
||
221 | <AbsDimension x="0" y="20"/> |
||
222 | </Offset> |
||
223 | </Anchor> |
||
224 | </Anchors> |
||
225 | </Button> |
||
226 | <Button name="FauxTargetBtn4" inherits="FauxTargetBtnTemplate" id="4" text="4"> |
||
227 | <Anchors> |
||
228 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_4" relativePoint="TOPLEFT"> |
||
229 | <Offset> |
||
230 | <AbsDimension x="0" y="0"/> |
||
231 | </Offset> |
||
232 | </Anchor> |
||
233 | </Anchors> |
||
234 | </Button> |
||
235 | <Button name="Carni_ECB_5" inherits="CarniEnemyCastBarTemplate" id="5"> |
||
236 | <Anchors> |
||
237 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_4" relativePoint="TOPLEFT"> |
||
238 | <Offset> |
||
239 | <AbsDimension x="0" y="20"/> |
||
240 | </Offset> |
||
241 | </Anchor> |
||
242 | </Anchors> |
||
243 | </Button> |
||
244 | <Button name="FauxTargetBtn5" inherits="FauxTargetBtnTemplate" id="5" text="5"> |
||
245 | <Anchors> |
||
246 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_5" relativePoint="TOPLEFT"> |
||
247 | <Offset> |
||
248 | <AbsDimension x="0" y="0"/> |
||
249 | </Offset> |
||
250 | </Anchor> |
||
251 | </Anchors> |
||
252 | </Button> |
||
253 | <Button name="Carni_ECB_6" inherits="CarniEnemyCastBarTemplate" id="6"> |
||
254 | <Anchors> |
||
255 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_5" relativePoint="TOPLEFT"> |
||
256 | <Offset> |
||
257 | <AbsDimension x="0" y="20"/> |
||
258 | </Offset> |
||
259 | </Anchor> |
||
260 | </Anchors> |
||
261 | </Button> |
||
262 | <Button name="FauxTargetBtn6" inherits="FauxTargetBtnTemplate" id="6" text="6"> |
||
263 | <Anchors> |
||
264 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_6" relativePoint="TOPLEFT"> |
||
265 | <Offset> |
||
266 | <AbsDimension x="0" y="0"/> |
||
267 | </Offset> |
||
268 | </Anchor> |
||
269 | </Anchors> |
||
270 | </Button> |
||
271 | <Button name="Carni_ECB_7" inherits="CarniEnemyCastBarTemplate" id="7"> |
||
272 | <Anchors> |
||
273 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_6" relativePoint="TOPLEFT"> |
||
274 | <Offset> |
||
275 | <AbsDimension x="0" y="20"/> |
||
276 | </Offset> |
||
277 | </Anchor> |
||
278 | </Anchors> |
||
279 | </Button> |
||
280 | <Button name="FauxTargetBtn7" inherits="FauxTargetBtnTemplate" id="7" text="7"> |
||
281 | <Anchors> |
||
282 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_7" relativePoint="TOPLEFT"> |
||
283 | <Offset> |
||
284 | <AbsDimension x="0" y="0"/> |
||
285 | </Offset> |
||
286 | </Anchor> |
||
287 | </Anchors> |
||
288 | </Button> |
||
289 | <Button name="Carni_ECB_8" inherits="CarniEnemyCastBarTemplate" id="8"> |
||
290 | <Anchors> |
||
291 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_7" relativePoint="TOPLEFT"> |
||
292 | <Offset> |
||
293 | <AbsDimension x="0" y="20"/> |
||
294 | </Offset> |
||
295 | </Anchor> |
||
296 | </Anchors> |
||
297 | </Button> |
||
298 | <Button name="FauxTargetBtn8" inherits="FauxTargetBtnTemplate" id="8" text="8"> |
||
299 | <Anchors> |
||
300 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_8" relativePoint="TOPLEFT"> |
||
301 | <Offset> |
||
302 | <AbsDimension x="0" y="0"/> |
||
303 | </Offset> |
||
304 | </Anchor> |
||
305 | </Anchors> |
||
306 | </Button> |
||
307 | <Button name="Carni_ECB_9" inherits="CarniEnemyCastBarTemplate" id="9"> |
||
308 | <Anchors> |
||
309 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_8" relativePoint="TOPLEFT"> |
||
310 | <Offset> |
||
311 | <AbsDimension x="0" y="20"/> |
||
312 | </Offset> |
||
313 | </Anchor> |
||
314 | </Anchors> |
||
315 | </Button> |
||
316 | <Button name="FauxTargetBtn9" inherits="FauxTargetBtnTemplate" id="9" text="9"> |
||
317 | <Anchors> |
||
318 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_9" relativePoint="TOPLEFT"> |
||
319 | <Offset> |
||
320 | <AbsDimension x="0" y="0"/> |
||
321 | </Offset> |
||
322 | </Anchor> |
||
323 | </Anchors> |
||
324 | </Button> |
||
325 | <Button name="Carni_ECB_10" inherits="CarniEnemyCastBarTemplate" id="10"> |
||
326 | <Anchors> |
||
327 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_9" relativePoint="TOPLEFT"> |
||
328 | <Offset> |
||
329 | <AbsDimension x="0" y="20"/> |
||
330 | </Offset> |
||
331 | </Anchor> |
||
332 | </Anchors> |
||
333 | </Button> |
||
334 | <Button name="FauxTargetBtn10" inherits="FauxTargetBtnTemplate" id="10" text="10"> |
||
335 | <Anchors> |
||
336 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_10" relativePoint="TOPLEFT"> |
||
337 | <Offset> |
||
338 | <AbsDimension x="0" y="0"/> |
||
339 | </Offset> |
||
340 | </Anchor> |
||
341 | </Anchors> |
||
342 | </Button> |
||
343 | <Button name="Carni_ECB_11" inherits="CarniEnemyCastBarTemplate" id="11"> |
||
344 | <Anchors> |
||
345 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_10" relativePoint="TOPLEFT"> |
||
346 | <Offset> |
||
347 | <AbsDimension x="0" y="20"/> |
||
348 | </Offset> |
||
349 | </Anchor> |
||
350 | </Anchors> |
||
351 | </Button> |
||
352 | <Button name="FauxTargetBtn11" inherits="FauxTargetBtnTemplate" id="11" text="11"> |
||
353 | <Anchors> |
||
354 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_11" relativePoint="TOPLEFT"> |
||
355 | <Offset> |
||
356 | <AbsDimension x="0" y="0"/> |
||
357 | </Offset> |
||
358 | </Anchor> |
||
359 | </Anchors> |
||
360 | </Button> |
||
361 | <Button name="Carni_ECB_12" inherits="CarniEnemyCastBarTemplate" id="12"> |
||
362 | <Anchors> |
||
363 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_11" relativePoint="TOPLEFT"> |
||
364 | <Offset> |
||
365 | <AbsDimension x="0" y="20"/> |
||
366 | </Offset> |
||
367 | </Anchor> |
||
368 | </Anchors> |
||
369 | </Button> |
||
370 | <Button name="FauxTargetBtn12" inherits="FauxTargetBtnTemplate" id="12" text="12"> |
||
371 | <Anchors> |
||
372 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_12" relativePoint="TOPLEFT"> |
||
373 | <Offset> |
||
374 | <AbsDimension x="0" y="0"/> |
||
375 | </Offset> |
||
376 | </Anchor> |
||
377 | </Anchors> |
||
378 | </Button> |
||
379 | <Button name="Carni_ECB_13" inherits="CarniEnemyCastBarTemplate" id="13"> |
||
380 | <Anchors> |
||
381 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_12" relativePoint="TOPLEFT"> |
||
382 | <Offset> |
||
383 | <AbsDimension x="0" y="20"/> |
||
384 | </Offset> |
||
385 | </Anchor> |
||
386 | </Anchors> |
||
387 | </Button> |
||
388 | <Button name="FauxTargetBtn13" inherits="FauxTargetBtnTemplate" id="13" text="13"> |
||
389 | <Anchors> |
||
390 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_13" relativePoint="TOPLEFT"> |
||
391 | <Offset> |
||
392 | <AbsDimension x="0" y="0"/> |
||
393 | </Offset> |
||
394 | </Anchor> |
||
395 | </Anchors> |
||
396 | </Button> |
||
397 | <Button name="Carni_ECB_14" inherits="CarniEnemyCastBarTemplate" id="14"> |
||
398 | <Anchors> |
||
399 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_13" relativePoint="TOPLEFT"> |
||
400 | <Offset> |
||
401 | <AbsDimension x="0" y="20"/> |
||
402 | </Offset> |
||
403 | </Anchor> |
||
404 | </Anchors> |
||
405 | </Button> |
||
406 | <Button name="FauxTargetBtn14" inherits="FauxTargetBtnTemplate" id="14" text="14"> |
||
407 | <Anchors> |
||
408 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_14" relativePoint="TOPLEFT"> |
||
409 | <Offset> |
||
410 | <AbsDimension x="0" y="0"/> |
||
411 | </Offset> |
||
412 | </Anchor> |
||
413 | </Anchors> |
||
414 | </Button> |
||
415 | <Button name="Carni_ECB_15" inherits="CarniEnemyCastBarTemplate" id="15"> |
||
416 | <Anchors> |
||
417 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_14" relativePoint="TOPLEFT"> |
||
418 | <Offset> |
||
419 | <AbsDimension x="0" y="20"/> |
||
420 | </Offset> |
||
421 | </Anchor> |
||
422 | </Anchors> |
||
423 | </Button> |
||
424 | <Button name="FauxTargetBtn15" inherits="FauxTargetBtnTemplate" id="15" text="15"> |
||
425 | <Anchors> |
||
426 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_15" relativePoint="TOPLEFT"> |
||
427 | <Offset> |
||
428 | <AbsDimension x="0" y="0"/> |
||
429 | </Offset> |
||
430 | </Anchor> |
||
431 | </Anchors> |
||
432 | </Button> |
||
433 | <Button name="Carni_ECB_16" inherits="CarniEnemyCastBarTemplate" id="16"> |
||
434 | <Anchors> |
||
435 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_15" relativePoint="TOPLEFT"> |
||
436 | <Offset> |
||
437 | <AbsDimension x="0" y="20"/> |
||
438 | </Offset> |
||
439 | </Anchor> |
||
440 | </Anchors> |
||
441 | </Button> |
||
442 | <Button name="FauxTargetBtn16" inherits="FauxTargetBtnTemplate" id="16" text="16"> |
||
443 | <Anchors> |
||
444 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_16" relativePoint="TOPLEFT"> |
||
445 | <Offset> |
||
446 | <AbsDimension x="0" y="0"/> |
||
447 | </Offset> |
||
448 | </Anchor> |
||
449 | </Anchors> |
||
450 | </Button> |
||
451 | <Button name="Carni_ECB_17" inherits="CarniEnemyCastBarTemplate" id="17"> |
||
452 | <Anchors> |
||
453 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_16" relativePoint="TOPLEFT"> |
||
454 | <Offset> |
||
455 | <AbsDimension x="0" y="20"/> |
||
456 | </Offset> |
||
457 | </Anchor> |
||
458 | </Anchors> |
||
459 | </Button> |
||
460 | <Button name="FauxTargetBtn17" inherits="FauxTargetBtnTemplate" id="17" text="17"> |
||
461 | <Anchors> |
||
462 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_17" relativePoint="TOPLEFT"> |
||
463 | <Offset> |
||
464 | <AbsDimension x="0" y="0"/> |
||
465 | </Offset> |
||
466 | </Anchor> |
||
467 | </Anchors> |
||
468 | </Button> |
||
469 | <Button name="Carni_ECB_18" inherits="CarniEnemyCastBarTemplate" id="18"> |
||
470 | <Anchors> |
||
471 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_17" relativePoint="TOPLEFT"> |
||
472 | <Offset> |
||
473 | <AbsDimension x="0" y="20"/> |
||
474 | </Offset> |
||
475 | </Anchor> |
||
476 | </Anchors> |
||
477 | </Button> |
||
478 | <Button name="FauxTargetBtn18" inherits="FauxTargetBtnTemplate" id="18" text="18"> |
||
479 | <Anchors> |
||
480 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_18" relativePoint="TOPLEFT"> |
||
481 | <Offset> |
||
482 | <AbsDimension x="0" y="0"/> |
||
483 | </Offset> |
||
484 | </Anchor> |
||
485 | </Anchors> |
||
486 | </Button> |
||
487 | <Button name="Carni_ECB_19" inherits="CarniEnemyCastBarTemplate" id="19"> |
||
488 | <Anchors> |
||
489 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_18" relativePoint="TOPLEFT"> |
||
490 | <Offset> |
||
491 | <AbsDimension x="0" y="20"/> |
||
492 | </Offset> |
||
493 | </Anchor> |
||
494 | </Anchors> |
||
495 | </Button> |
||
496 | <Button name="FauxTargetBtn19" inherits="FauxTargetBtnTemplate" id="19" text="19"> |
||
497 | <Anchors> |
||
498 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_19" relativePoint="TOPLEFT"> |
||
499 | <Offset> |
||
500 | <AbsDimension x="0" y="0"/> |
||
501 | </Offset> |
||
502 | </Anchor> |
||
503 | </Anchors> |
||
504 | </Button> |
||
505 | <Button name="Carni_ECB_20" inherits="CarniEnemyCastBarTemplate" id="20"> |
||
506 | <Anchors> |
||
507 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_19" relativePoint="TOPLEFT"> |
||
508 | <Offset> |
||
509 | <AbsDimension x="0" y="20"/> |
||
510 | </Offset> |
||
511 | </Anchor> |
||
512 | </Anchors> |
||
513 | </Button> |
||
514 | <Button name="FauxTargetBtn20" inherits="FauxTargetBtnTemplate" id="20" text="20"> |
||
515 | <Anchors> |
||
516 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_20" relativePoint="TOPLEFT"> |
||
517 | <Offset> |
||
518 | <AbsDimension x="0" y="0"/> |
||
519 | </Offset> |
||
520 | </Anchor> |
||
521 | </Anchors> |
||
522 | </Button> |
||
523 | </Frames> |
||
524 | <Scripts> |
||
525 | <OnLoad> CEnemyCastBar_OnLoad(); </OnLoad> |
||
526 | <OnEvent> CEnemyCastBar_OnEvent(event); </OnEvent> |
||
527 | </Scripts> |
||
528 | </Frame> |
||
529 | |||
530 | |||
531 | |||
532 | |||
533 | |||
534 | |||
535 | <!-- ================================================================== --> |
||
536 | <!-- The options frame --> |
||
537 | <CheckButton name="CECBOptionsCheckButtonTemplate" inherits="OptionsCheckButtonTemplate" virtual="true"> |
||
538 | <HitRectInsets> |
||
539 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
540 | </HitRectInsets> |
||
541 | </CheckButton> |
||
542 | |||
543 | <Frame name="CECBOptionsFrame" frameStrata="LOW" toplevel="true" enableMouse="true" movable="true" hidden="true" parent="UIParent"> |
||
544 | <Scripts> |
||
545 | <OnUpdate> CEnemyCastBar_Options_OnUpdate(); </OnUpdate> |
||
546 | </Scripts> |
||
547 | <Size> |
||
548 | <AbsDimension x="" y="" /> --x y menuesize set through mainlua |
||
549 | </Size> |
||
550 | |||
551 | <Anchors> |
||
552 | <Anchor point="TOPLEFT" relativeTo="UIParent"> |
||
553 | <Offset> |
||
554 | <AbsDimension x="250" y="-100" /> |
||
555 | </Offset> |
||
556 | </Anchor> |
||
557 | </Anchors> |
||
558 | |||
559 | <TitleRegion setAllPoints="true"/> |
||
560 | |||
561 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
562 | <EdgeSize> |
||
563 | <AbsValue val="32"/> |
||
564 | </EdgeSize> |
||
565 | <TileSize> |
||
566 | <AbsValue val="32"/> |
||
567 | </TileSize> |
||
568 | <BackgroundInsets> |
||
569 | <AbsInset left="11" right="12" top="12" bottom="11"/> |
||
570 | </BackgroundInsets> |
||
571 | </Backdrop> |
||
572 | |||
573 | |||
574 | <Layers> |
||
575 | <Layer level="ARTWORK"> |
||
576 | <Texture name="GameMenuFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
577 | <Size> |
||
578 | <AbsDimension x="500" y="64"/> |
||
579 | </Size> |
||
580 | <Anchors> |
||
581 | <Anchor point="TOP"> |
||
582 | <Offset> |
||
583 | <AbsDimension x="0" y="12"/> |
||
584 | </Offset> |
||
585 | </Anchor> |
||
586 | </Anchors> |
||
587 | </Texture> |
||
588 | <FontString name="$parentText" inherits="GameFontNormal" text="Options"> |
||
589 | <Anchors> |
||
590 | <Anchor point="TOP"> |
||
591 | <Offset> |
||
592 | <AbsDimension x="0" y="-2"/> |
||
593 | </Offset> |
||
594 | </Anchor> |
||
595 | </Anchors> |
||
596 | </FontString> |
||
597 | </Layer> |
||
598 | </Layers> |
||
599 | <Scripts> |
||
600 | <OnLoad> |
||
601 | getglobal(this:GetName().."Text"):SetText("Natur EnemyCastBar |cffcccc00("..CECB_status_version_txt..")\n\n|cffffffff"..CECB_menue_txt); |
||
602 | </OnLoad> |
||
603 | </Scripts> |
||
604 | |||
605 | <Frames> |
||
606 | |||
607 | <Button name="$parentX" inherits="UIPanelCloseButton"> |
||
608 | <Size> |
||
609 | <AbsDimension x="32" y="32"/> |
||
610 | </Size> |
||
611 | <Anchors> |
||
612 | <Anchor point="CENTER" relativePoint="TOPRIGHT"> |
||
613 | <Offset> |
||
614 | <AbsDimension x="-24" y="-32"/> |
||
615 | </Offset> |
||
616 | </Anchor> |
||
617 | </Anchors> |
||
618 | <Scripts> |
||
619 | <OnClick> |
||
620 | CEnemyCastBar_Handler(""); |
||
621 | </OnClick> |
||
622 | </Scripts> |
||
623 | </Button> |
||
624 | |||
625 | <CheckButton name="$parentCECB_status_check" inherits="CECBOptionsCheckButtonTemplate"> |
||
626 | <Anchors> |
||
627 | <Anchor point="TOPLEFT" > |
||
628 | <Offset> |
||
629 | <AbsDimension x="10" y="-40" /> |
||
630 | </Offset> |
||
631 | </Anchor> |
||
632 | </Anchors> |
||
633 | <Scripts> |
||
634 | <OnClick> |
||
635 | if (CEnemyCastBar.bStatus) then |
||
636 | CEnemyCastBar_Options("disable"); |
||
637 | else |
||
638 | CEnemyCastBar_Options("enable"); |
||
639 | end |
||
640 | |||
641 | -- CEnemyCastBar.bStatus = (this:GetChecked() == 1); |
||
642 | </OnClick> |
||
643 | <OnLoad> |
||
644 | getglobal(this:GetName().."Text"):SetText(CECB_status_txt); |
||
645 | getglobal(this:GetName()).tooltipText = CECB_status_tooltip; |
||
646 | </OnLoad> |
||
647 | <OnShow> |
||
648 | if (CEnemyCastBar.bStatus) then |
||
649 | this:SetChecked(1); |
||
650 | else |
||
651 | this:SetChecked(0); |
||
652 | end |
||
653 | </OnShow> |
||
654 | </Scripts> |
||
655 | </CheckButton> |
||
656 | <Frame name="$parentBGFrame1" inherits="OptionFrameBoxTemplate"> |
||
657 | <Size> |
||
658 | <AbsDimension x="240" y="31"/> |
||
659 | </Size> |
||
660 | <Anchors> |
||
661 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_status_check"> |
||
662 | <Offset> |
||
663 | <AbsDimension x="0" y="0"/> |
||
664 | </Offset> |
||
665 | </Anchor> |
||
666 | </Anchors> |
||
667 | <Scripts> |
||
668 | <OnLoad> |
||
669 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
670 | this:SetBackdropColor(0.1, 0.1, 0.1); |
||
671 | </OnLoad> |
||
672 | </Scripts> |
||
673 | </Frame> |
||
674 | |||
675 | <Button name="$parentBGFrameFPSBar" inherits="CarniEnemyCastBarTemplate"> |
||
676 | <Anchors> |
||
677 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_status_check"> |
||
678 | <Offset> |
||
679 | <AbsDimension x="255" y="-8"/> |
||
680 | </Offset> |
||
681 | </Anchor> |
||
682 | </Anchors> |
||
683 | <Scripts> |
||
684 | <OnLoad> |
||
685 | this:EnableMouse(0); |
||
686 | this:Show(); |
||
687 | getglobal(this:GetName().."_StatusBar_Spark"):Hide(); |
||
688 | </OnLoad> |
||
689 | </Scripts> |
||
690 | </Button> |
||
691 | <CheckButton name="$parentBGFrameFPSBar_check" inherits="CECBOptionsCheckButtonTemplate"> |
||
692 | <Size> |
||
693 | <AbsDimension x="20" y="21"/> |
||
694 | </Size> |
||
695 | <Anchors> |
||
696 | <Anchor point="TOPLEFT" relativeTo="$parentBGFrameFPSBar"> |
||
697 | <Offset> |
||
698 | <AbsDimension x="-15" y="2" /> |
||
699 | </Offset> |
||
700 | </Anchor> |
||
701 | </Anchors> |
||
702 | <Scripts> |
||
703 | <OnClick> |
||
704 | CEnemyCastBar_Options("fpsbar"); |
||
705 | -- CEnemyCastBar.bFPSBar = (this:GetChecked() == 1); |
||
706 | </OnClick> |
||
707 | <OnLoad> |
||
708 | --getglobal(this:GetName().."Text"):SetText(CECB_fps_txt); |
||
709 | getglobal(this:GetName()).tooltipText = CECB_fps_tooltip; |
||
710 | </OnLoad> |
||
711 | <OnShow> |
||
712 | if (TempFPSBar) then |
||
713 | this:SetChecked(1); |
||
714 | else |
||
715 | this:SetChecked(0); |
||
716 | end |
||
717 | </OnShow> |
||
718 | </Scripts> |
||
719 | </CheckButton> |
||
720 | |||
721 | <CheckButton name="$parentCECB_pvp_check" inherits="CECBOptionsCheckButtonTemplate"> |
||
722 | <Anchors> |
||
723 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_status_check"> |
||
724 | <Offset> |
||
725 | <AbsDimension x="0" y="-45" /> |
||
726 | </Offset> |
||
727 | </Anchor> |
||
728 | </Anchors> |
||
729 | <Scripts> |
||
730 | <OnClick> |
||
731 | CEnemyCastBar_Options("pvp"); |
||
732 | -- CEnemyCastBar.bPvP = (this:GetChecked() == 1); |
||
733 | </OnClick> |
||
734 | <OnLoad> |
||
735 | getglobal(this:GetName().."Text"):SetText(CECB_pvp_txt); |
||
736 | getglobal(this:GetName()).tooltipText = CECB_pvp_tooltip; |
||
737 | </OnLoad> |
||
738 | <OnShow> |
||
739 | if (CEnemyCastBar.bPvP) then |
||
740 | this:SetChecked(1); |
||
741 | else |
||
742 | this:SetChecked(0); |
||
743 | end |
||
744 | </OnShow> |
||
745 | </Scripts> |
||
746 | </CheckButton> |
||
747 | <Frame name="$parentBGFrame2" inherits="OptionFrameBoxTemplate"> |
||
748 | <Size> |
||
749 | <AbsDimension x="240" y="275"/> |
||
750 | </Size> |
||
751 | <Anchors> |
||
752 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_pvp_check"> |
||
753 | <Offset> |
||
754 | <AbsDimension x="0" y="0"/> |
||
755 | </Offset> |
||
756 | </Anchor> |
||
757 | </Anchors> |
||
758 | <Layers> |
||
759 | <Layer level="ARTWORK"> |
||
760 | <FontString name="$parentText" inherits="GameFontNormal" text="Options"> |
||
761 | <Anchors> |
||
762 | <Anchor point="TOPLEFT"> |
||
763 | <Offset> |
||
764 | <AbsDimension x="5" y="12"/> |
||
765 | </Offset> |
||
766 | </Anchor> |
||
767 | </Anchors> |
||
768 | </FontString> |
||
769 | </Layer> |
||
770 | </Layers> |
||
771 | <Scripts> |
||
772 | <OnLoad> |
||
773 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
774 | this:SetBackdropColor(0.2, 0.1, 0.1); |
||
775 | getglobal(this:GetName().."Text"):SetText("|cffffffaa"..CECB_menuesub1_txt); |
||
776 | </OnLoad> |
||
777 | </Scripts> |
||
778 | </Frame> |
||
779 | |||
780 | <CheckButton name="$parentCECB_gains_check" inherits="CECBOptionsCheckButtonTemplate"> |
||
781 | <Size> |
||
782 | <AbsDimension x="25" y="25"/> |
||
783 | </Size> |
||
784 | <Anchors> |
||
785 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_pvp_check"> |
||
786 | <Offset> |
||
787 | <AbsDimension x="10" y="-25" /> |
||
788 | </Offset> |
||
789 | </Anchor> |
||
790 | </Anchors> |
||
791 | <Scripts> |
||
792 | <OnClick> |
||
793 | CEnemyCastBar_Options("gains"); |
||
794 | -- CEnemyCastBar.bGains = (this:GetChecked() == 1); |
||
795 | </OnClick> |
||
796 | <OnLoad> |
||
797 | getglobal(this:GetName().."Text"):SetText(CECB_gains_txt); |
||
798 | getglobal(this:GetName()).tooltipText = CECB_gains_tooltip; |
||
799 | </OnLoad> |
||
800 | <OnShow> |
||
801 | if (CEnemyCastBar.bGains) then |
||
802 | this:SetChecked(1); |
||
803 | else |
||
804 | this:SetChecked(0); |
||
805 | end |
||
806 | </OnShow> |
||
807 | </Scripts> |
||
808 | </CheckButton> |
||
809 | |||
810 | <CheckButton name="$parentCECB_cdown_check" inherits="CECBOptionsCheckButtonTemplate"> |
||
811 | <Size> |
||
812 | <AbsDimension x="25" y="25"/> |
||
813 | </Size> |
||
814 | <Anchors> |
||
815 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_gains_check"> |
||
816 | <Offset> |
||
817 | <AbsDimension x="0" y="-20" /> |
||
818 | </Offset> |
||
819 | </Anchor> |
||
820 | </Anchors> |
||
821 | <Scripts> |
||
822 | <OnClick> |
||
823 | CEnemyCastBar_Options("cdown"); |
||
824 | -- CEnemyCastBar.bCDown = (this:GetChecked() == 1); |
||
825 | </OnClick> |
||
826 | <OnLoad> |
||
827 | getglobal(this:GetName().."Text"):SetText(CECB_cdown_txt); |
||
828 | getglobal(this:GetName()).tooltipText = CECB_cdown_tooltip; |
||
829 | </OnLoad> |
||
830 | <OnShow> |
||
831 | if (CEnemyCastBar.bCDown) then |
||
832 | this:SetChecked(1); |
||
833 | else |
||
834 | this:SetChecked(0); |
||
835 | end |
||
836 | </OnShow> |
||
837 | </Scripts> |
||
838 | </CheckButton> |
||
839 | |||
840 | <CheckButton name="$parentCECB_cdownshort_check" inherits="CECBOptionsCheckButtonTemplate"> |
||
841 | <Size> |
||
842 | <AbsDimension x="20" y="20"/> |
||
843 | </Size> |
||
844 | <Anchors> |
||
845 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_cdown_check"> |
||
846 | <Offset> |
||
847 | <AbsDimension x="10" y="-20" /> |
||
848 | </Offset> |
||
849 | </Anchor> |
||
850 | </Anchors> |
||
851 | <Scripts> |
||
852 | <OnClick> |
||
853 | CEnemyCastBar_Options("cdownshort"); |
||
854 | -- CEnemyCastBar.bCDownShort = (this:GetChecked() == 1); |
||
855 | </OnClick> |
||
856 | <OnLoad> |
||
857 | getglobal(this:GetName().."Text"):SetText(CECB_cdownshort_txt); |
||
858 | getglobal(this:GetName()).tooltipText = CECB_cdownshort_tooltip; |
||
859 | </OnLoad> |
||
860 | <OnShow> |
||
861 | if (CEnemyCastBar.bCDownShort) then |
||
862 | this:SetChecked(1); |
||
863 | else |
||
864 | this:SetChecked(0); |
||
865 | end |
||
866 | </OnShow> |
||
867 | </Scripts> |
||
868 | </CheckButton> |
||
869 | |||
870 | <CheckButton name="$parentCECB_pve_check" inherits="CECBOptionsCheckButtonTemplate"> |
||
871 | <Anchors> |
||
872 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_cdownshort_check"> |
||
873 | <Offset> |
||
874 | <AbsDimension x="-20" y="-20" /> |
||
875 | </Offset> |
||
876 | </Anchor> |
||
877 | </Anchors> |
||
878 | <Scripts> |
||
879 | <OnClick> |
||
880 | CEnemyCastBar_Options("pve"); |
||
881 | -- CEnemyCastBar.bPvE = (this:GetChecked() == 1); |
||
882 | </OnClick> |
||
883 | <OnLoad> |
||
884 | getglobal(this:GetName().."Text"):SetText(CECB_pve_txt); |
||
885 | getglobal(this:GetName()).tooltipText = CECB_pve_tooltip; |
||
886 | </OnLoad> |
||
887 | <OnShow> |
||
888 | if (CEnemyCastBar.bPvE) then |
||
889 | this:SetChecked(1); |
||
890 | else |
||
891 | this:SetChecked(0); |
||
892 | end |
||
893 | </OnShow> |
||
894 | </Scripts> |
||
895 | </CheckButton> |
||
896 | |||
897 | <CheckButton name="$parentCECB_afflict_check" inherits="CECBOptionsCheckButtonTemplate"> |
||
898 | <Anchors> |
||
899 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_pve_check"> |
||
900 | <Offset> |
||
901 | <AbsDimension x="0" y="-30" /> |
||
902 | </Offset> |
||
903 | </Anchor> |
||
904 | </Anchors> |
||
905 | <Scripts> |
||
906 | <OnClick> |
||
907 | CEnemyCastBar_Options("afflict"); |
||
908 | -- CEnemyCastBar.bShowafflict = (this:GetChecked() == 1); |
||
909 | </OnClick> |
||
910 | <OnLoad> |
||
911 | getglobal(this:GetName().."Text"):SetText(CECB_afflict_txt); |
||
912 | getglobal(this:GetName()).tooltipText = CECB_afflict_tooltip; |
||
913 | </OnLoad> |
||
914 | <OnShow> |
||
915 | if (CEnemyCastBar.bShowafflict) then |
||
916 | this:SetChecked(1); |
||
917 | else |
||
918 | this:SetChecked(0); |
||
919 | end |
||
920 | </OnShow> |
||
921 | </Scripts> |
||
922 | </CheckButton> |
||
923 | |||
924 | <CheckButton name="$parentCECB_globalfrag_check" inherits="CECBOptionsCheckButtonTemplate"> |
||
925 | <Size> |
||
926 | <AbsDimension x="25" y="25"/> |
||
927 | </Size> |
||
928 | <Anchors> |
||
929 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_afflict_check"> |
||
930 | <Offset> |
||
931 | <AbsDimension x="10" y="-25" /> |
||
932 | </Offset> |
||
933 | </Anchor> |
||
934 | </Anchors> |
||
935 | <Scripts> |
||
936 | <OnClick> |
||
937 | CEnemyCastBar_Options("globalfrag"); |
||
938 | -- CEnemyCastBar.bGlobalFrag = (this:GetChecked() == 1); |
||
939 | </OnClick> |
||
940 | <OnLoad> |
||
941 | getglobal(this:GetName().."Text"):SetText(CECB_globalfrag_txt); |
||
942 | getglobal(this:GetName()).tooltipText = CECB_globalfrag_tooltip; |
||
943 | </OnLoad> |
||
944 | <OnShow> |
||
945 | if (CEnemyCastBar.bGlobalFrag) then |
||
946 | this:SetChecked(1); |
||
947 | else |
||
948 | this:SetChecked(0); |
||
949 | end |
||
950 | </OnShow> |
||
951 | </Scripts> |
||
952 | </CheckButton> |
||
953 | |||
954 | <CheckButton name="$parentCECB_magecold_check" inherits="CECBOptionsCheckButtonTemplate"> |
||
955 | <Size> |
||
956 | <AbsDimension x="25" y="25"/> |
||
957 | </Size> |
||
958 | <Anchors> |
||
959 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_globalfrag_check"> |
||
960 | <Offset> |
||
961 | <AbsDimension x="0" y="-20" /> |
||
962 | </Offset> |
||
963 | </Anchor> |
||
964 | </Anchors> |
||
965 | <Scripts> |
||
966 | <OnClick> |
||
967 | CEnemyCastBar_Options("magecold"); |
||
968 | -- CEnemyCastBar.bMageC = (this:GetChecked() == 1); |
||
969 | </OnClick> |
||
970 | <OnLoad> |
||
971 | getglobal(this:GetName().."Text"):SetText(CECB_magecold_txt); |
||
972 | getglobal(this:GetName()).tooltipText = CECB_magecold_tooltip; |
||
973 | </OnLoad> |
||
974 | <OnShow> |
||
975 | if (CEnemyCastBar.bMageC) then |
||
976 | this:SetChecked(1); |
||
977 | else |
||
978 | this:SetChecked(0); |
||
979 | end |
||
980 | </OnShow> |
||
981 | </Scripts> |
||
982 | </CheckButton> |
||
983 | |||
984 | <CheckButton name="$parentCECB_solod_check" inherits="CECBOptionsCheckButtonTemplate"> |
||
985 | <Size> |
||
986 | <AbsDimension x="25" y="25"/> |
||
987 | </Size> |
||
988 | <Anchors> |
||
989 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_magecold_check"> |
||
990 | <Offset> |
||
991 | <AbsDimension x="0" y="-20" /> |
||
992 | </Offset> |
||
993 | </Anchor> |
||
994 | </Anchors> |
||
995 | <Scripts> |
||
996 | <OnClick> |
||
997 | CEnemyCastBar_Options("solod"); |
||
998 | -- CEnemyCastBar.bSoloD = (this:GetChecked() == 1); |
||
999 | </OnClick> |
||
1000 | <OnLoad> |
||
1001 | getglobal(this:GetName().."Text"):SetText(CECB_solod_txt); |
||
1002 | getglobal(this:GetName()).tooltipText = CECB_solod_tooltip; |
||
1003 | </OnLoad> |
||
1004 | <OnShow> |
||
1005 | if (CEnemyCastBar.bSoloD) then |
||
1006 | this:SetChecked(1); |
||
1007 | else |
||
1008 | this:SetChecked(0); |
||
1009 | end |
||
1010 | </OnShow> |
||
1011 | </Scripts> |
||
1012 | </CheckButton> |
||
1013 | |||
1014 | <CheckButton name="$parentCECB_drtimer_check" inherits="CECBOptionsCheckButtonTemplate"> |
||
1015 | <Size> |
||
1016 | <AbsDimension x="20" y="20"/> |
||
1017 | </Size> |
||
1018 | <Anchors> |
||
1019 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_solod_check"> |
||
1020 | <Offset> |
||
1021 | <AbsDimension x="10" y="-20" /> |
||
1022 | </Offset> |
||
1023 | </Anchor> |
||
1024 | </Anchors> |
||
1025 | <Scripts> |
||
1026 | <OnClick> |
||
1027 | CEnemyCastBar_Options("drtimer"); |
||
1028 | -- CEnemyCastBar.bDRTimer = (this:GetChecked() == 1); |
||
1029 | </OnClick> |
||
1030 | <OnLoad> |
||
1031 | getglobal(this:GetName().."Text"):SetText(CECB_drtimer_txt); |
||
1032 | getglobal(this:GetName()).tooltipText = CECB_drtimer_tooltip; |
||
1033 | </OnLoad> |
||
1034 | <OnShow> |
||
1035 | if (CEnemyCastBar.bDRTimer) then |
||
1036 | this:SetChecked(1); |
||
1037 | else |
||
1038 | this:SetChecked(0); |
||
1039 | end |
||
1040 | </OnShow> |
||
1041 | </Scripts> |
||
1042 | </CheckButton> |
||
1043 | |||
1044 | <CheckButton name="$parentCECB_classdr_check" inherits="CECBOptionsCheckButtonTemplate"> |
||
1045 | <Size> |
||
1046 | <AbsDimension x="20" y="20"/> |
||
1047 | </Size> |
||
1048 | <Anchors> |
||
1049 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_drtimer_check"> |
||
1050 | <Offset> |
||
1051 | <AbsDimension x="0" y="-15" /> |
||
1052 | </Offset> |
||
1053 | </Anchor> |
||
1054 | </Anchors> |
||
1055 | <Scripts> |
||
1056 | <OnClick> |
||
1057 | CEnemyCastBar_Options("classdr"); |
||
1058 | -- CEnemyCastBar.bClassDR = (this:GetChecked() == 1); |
||
1059 | </OnClick> |
||
1060 | <OnLoad> |
||
1061 | getglobal(this:GetName().."Text"):SetText(CECB_classdr_txt); |
||
1062 | getglobal(this:GetName()).tooltipText = CECB_classdr_tooltip; |
||
1063 | </OnLoad> |
||
1064 | <OnShow> |
||
1065 | if (CEnemyCastBar.bClassDR) then |
||
1066 | this:SetChecked(1); |
||
1067 | else |
||
1068 | this:SetChecked(0); |
||
1069 | end |
||
1070 | </OnShow> |
||
1071 | </Scripts> |
||
1072 | </CheckButton> |
||
1073 | |||
1074 | <CheckButton name="$parentCECB_sdots_check" inherits="CECBOptionsCheckButtonTemplate"> |
||
1075 | <Size> |
||
1076 | <AbsDimension x="25" y="25"/> |
||
1077 | </Size> |
||
1078 | <Anchors> |
||
1079 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_classdr_check"> |
||
1080 | <Offset> |
||
1081 | <AbsDimension x="-10" y="-15" /> |
||
1082 | </Offset> |
||
1083 | </Anchor> |
||
1084 | </Anchors> |
||
1085 | <Scripts> |
||
1086 | <OnClick> |
||
1087 | CEnemyCastBar_Options("sdots"); |
||
1088 | -- CEnemyCastBar.bSDoTs = (this:GetChecked() == 1); |
||
1089 | </OnClick> |
||
1090 | <OnLoad> |
||
1091 | getglobal(this:GetName().."Text"):SetText(CECB_sdots_txt); |
||
1092 | getglobal(this:GetName()).tooltipText = CECB_sdots_tooltip; |
||
1093 | </OnLoad> |
||
1094 | <OnShow> |
||
1095 | if (CEnemyCastBar.bSDoTs) then |
||
1096 | this:SetChecked(1); |
||
1097 | else |
||
1098 | this:SetChecked(0); |
||
1099 | end |
||
1100 | </OnShow> |
||
1101 | </Scripts> |
||
1102 | </CheckButton> |
||
1103 | |||
1104 | <CheckButton name="$parentCECB_affuni_check" inherits="CECBOptionsCheckButtonTemplate"> |
||
1105 | <Size> |
||
1106 | <AbsDimension x="25" y="25"/> |
||
1107 | </Size> |
||
1108 | <Anchors> |
||
1109 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_sdots_check"> |
||
1110 | <Offset> |
||
1111 | <AbsDimension x="0" y="-20" /> |
||
1112 | </Offset> |
||
1113 | </Anchor> |
||
1114 | </Anchors> |
||
1115 | <Scripts> |
||
1116 | <OnClick> |
||
1117 | CEnemyCastBar_Options("affuni"); |
||
1118 | -- CEnemyCastBar.bAfflictuni = (this:GetChecked() == 1); |
||
1119 | </OnClick> |
||
1120 | <OnLoad> |
||
1121 | getglobal(this:GetName().."Text"):SetText(CECB_affuni_txt); |
||
1122 | getglobal(this:GetName()).tooltipText = CECB_affuni_tooltip; |
||
1123 | </OnLoad> |
||
1124 | <OnShow> |
||
1125 | if (CEnemyCastBar.bAfflictuni) then |
||
1126 | this:SetChecked(1); |
||
1127 | else |
||
1128 | this:SetChecked(0); |
||
1129 | end |
||
1130 | </OnShow> |
||
1131 | </Scripts> |
||
1132 | </CheckButton> |
||
1133 | |||
1134 | <CheckButton name="$parentCECB_parseC_check" inherits="CECBOptionsCheckButtonTemplate"> |
||
1135 | <Anchors> |
||
1136 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_affuni_check"> |
||
1137 | <Offset> |
||
1138 | <AbsDimension x="-10" y="-25" /> |
||
1139 | </Offset> |
||
1140 | </Anchor> |
||
1141 | </Anchors> |
||
1142 | <Scripts> |
||
1143 | <OnClick> |
||
1144 | CEnemyCastBar_Options("parsec"); |
||
1145 | -- CEnemyCastBar.bParseC = (this:GetChecked() == 1); |
||
1146 | </OnClick> |
||
1147 | <OnLoad> |
||
1148 | getglobal(this:GetName().."Text"):SetText(CECB_parsec_txt); |
||
1149 | getglobal(this:GetName()).tooltipText = CECB_parsec_tooltip; |
||
1150 | </OnLoad> |
||
1151 | <OnShow> |
||
1152 | if (CEnemyCastBar.bParseC) then |
||
1153 | this:SetChecked(1); |
||
1154 | else |
||
1155 | this:SetChecked(0); |
||
1156 | end |
||
1157 | </OnShow> |
||
1158 | </Scripts> |
||
1159 | </CheckButton> |
||
1160 | |||
1161 | <Frame name="$parentBGFrameNet" inherits="OptionFrameBoxTemplate"> |
||
1162 | <Size> |
||
1163 | <AbsDimension x="240" y="60"/> |
||
1164 | </Size> |
||
1165 | <Anchors> |
||
1166 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_parseC_check"> |
||
1167 | <Offset> |
||
1168 | <AbsDimension x="0" y="0"/> |
||
1169 | </Offset> |
||
1170 | </Anchor> |
||
1171 | </Anchors> |
||
1172 | <Scripts> |
||
1173 | <OnLoad> |
||
1174 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
1175 | this:SetBackdropColor(0.1, 0.1, 0.2); |
||
1176 | </OnLoad> |
||
1177 | </Scripts> |
||
1178 | </Frame> |
||
1179 | |||
1180 | <CheckButton name="$parentCECB_broadcast_check" inherits="CECBOptionsCheckButtonTemplate"> |
||
1181 | <Size> |
||
1182 | <AbsDimension x="25" y="25"/> |
||
1183 | </Size> |
||
1184 | <Anchors> |
||
1185 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_parseC_check"> |
||
1186 | <Offset> |
||
1187 | <AbsDimension x="10" y="-25" /> |
||
1188 | </Offset> |
||
1189 | </Anchor> |
||
1190 | </Anchors> |
||
1191 | <Scripts> |
||
1192 | <OnClick> |
||
1193 | CEnemyCastBar_Options("broadcast"); |
||
1194 | </OnClick> |
||
1195 | <OnLoad> |
||
1196 | getglobal(this:GetName().."Text"):SetText(CECB_broadcast_txt); |
||
1197 | getglobal(this:GetName()).tooltipText = CECB_broadcast_tooltip; |
||
1198 | </OnLoad> |
||
1199 | <OnShow> |
||
1200 | if (CEnemyCastBar.bBCaster) then |
||
1201 | this:SetChecked(1); |
||
1202 | else |
||
1203 | this:SetChecked(0); |
||
1204 | end |
||
1205 | </OnShow> |
||
1206 | </Scripts> |
||
1207 | </CheckButton> |
||
1208 | |||
1209 | <Frame name="$parentCTRAChan" inherits="OptionFrameBoxTemplate"> |
||
1210 | <Size> |
||
1211 | <AbsDimension x="240" y="20"/> |
||
1212 | </Size> |
||
1213 | <Anchors> |
||
1214 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_broadcast_check"> |
||
1215 | <Offset> |
||
1216 | <AbsDimension x="-10" y="-15"/> |
||
1217 | </Offset> |
||
1218 | </Anchor> |
||
1219 | </Anchors> |
||
1220 | <Layers> |
||
1221 | <Layer level="ARTWORK"> |
||
1222 | <FontString name="$parentText" inherits="GameFontHighlightSmall" text="CT_RA Channel:" justifyH="LEFT"> |
||
1223 | <Size> |
||
1224 | <AbsDimension x="230" y="10"/> |
||
1225 | </Size> |
||
1226 | <Anchors> |
||
1227 | <Anchor point="TOPLEFT"> |
||
1228 | <Offset> |
||
1229 | <AbsDimension x="5" y="-5"/> |
||
1230 | </Offset> |
||
1231 | </Anchor> |
||
1232 | </Anchors> |
||
1233 | </FontString> |
||
1234 | </Layer> |
||
1235 | </Layers> |
||
1236 | <Scripts> |
||
1237 | <OnLoad> |
||
1238 | this:SetBackdropBorderColor(0.4, 0.4, 0.4, 0.0); |
||
1239 | this:SetBackdropColor(0.1, 0.1, 0.1); |
||
1240 | </OnLoad> |
||
1241 | </Scripts> |
||
1242 | </Frame> |
||
1243 | |||
1244 | <CheckButton name="$parentCECB_targetM_check" inherits="CECBOptionsCheckButtonTemplate"> |
||
1245 | <Anchors> |
||
1246 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_pvp_check"> |
||
1247 | <Offset> |
||
1248 | <AbsDimension x="240" y="0" /> -- adapt to width |
||
1249 | </Offset> |
||
1250 | </Anchor> |
||
1251 | </Anchors> |
||
1252 | <Scripts> |
||
1253 | <OnClick> |
||
1254 | CEnemyCastBar_Options("targetm"); |
||
1255 | -- CEnemyCastBar.bTargetM = (this:GetChecked() == 1); |
||
1256 | </OnClick> |
||
1257 | <OnLoad> |
||
1258 | getglobal(this:GetName().."Text"):SetText(CECB_targetm_txt); |
||
1259 | getglobal(this:GetName()).tooltipText = CECB_targetm_tooltip; |
||
1260 | </OnLoad> |
||
1261 | <OnShow> |
||
1262 | if (CEnemyCastBar.bTargetM) then |
||
1263 | this:SetChecked(1); |
||
1264 | else |
||
1265 | this:SetChecked(0); |
||
1266 | end |
||
1267 | </OnShow> |
||
1268 | </Scripts> |
||
1269 | </CheckButton> |
||
1270 | |||
1271 | <Frame name="$parentBGFrame3" inherits="OptionFrameBoxTemplate"> |
||
1272 | <Size> |
||
1273 | <AbsDimension x="240" y="365"/> |
||
1274 | </Size> |
||
1275 | <Anchors> |
||
1276 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_targetM_check"> |
||
1277 | <Offset> |
||
1278 | <AbsDimension x="0" y="0"/> |
||
1279 | </Offset> |
||
1280 | </Anchor> |
||
1281 | </Anchors> |
||
1282 | <Layers> |
||
1283 | <Layer level="ARTWORK"> |
||
1284 | <FontString name="$parentText" inherits="GameFontNormal" text=""> |
||
1285 | <Anchors> |
||
1286 | <Anchor point="TOPLEFT"> |
||
1287 | <Offset> |
||
1288 | <AbsDimension x="5" y="12"/> |
||
1289 | </Offset> |
||
1290 | </Anchor> |
||
1291 | </Anchors> |
||
1292 | </FontString> |
||
1293 | </Layer> |
||
1294 | </Layers> |
||
1295 | <Scripts> |
||
1296 | <OnLoad> |
||
1297 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
1298 | this:SetBackdropColor(0.1, 0.2, 0.1); |
||
1299 | getglobal(this:GetName().."Text"):SetText("|cffffffaa"..CECB_menuesub2_txt); |
||
1300 | </OnLoad> |
||
1301 | </Scripts> |
||
1302 | </Frame> |
||
1303 | |||
1304 | <CheckButton name="$parentCECB_timer_check" inherits="CECBOptionsCheckButtonTemplate"> |
||
1305 | <Anchors> |
||
1306 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_targetM_check"> |
||
1307 | <Offset> |
||
1308 | <AbsDimension x="0" y="-25" /> |
||
1309 | </Offset> |
||
1310 | </Anchor> |
||
1311 | </Anchors> |
||
1312 | <Scripts> |
||
1313 | <OnClick> |
||
1314 | CEnemyCastBar_Options("timer"); |
||
1315 | -- CEnemyCastBar.bTimer = (this:GetChecked() == 1); |
||
1316 | </OnClick> |
||
1317 | <OnLoad> |
||
1318 | getglobal(this:GetName().."Text"):SetText(CECB_timer_txt); |
||
1319 | getglobal(this:GetName()).tooltipText = CECB_timer_tooltip; |
||
1320 | </OnLoad> |
||
1321 | <OnShow> |
||
1322 | if (CEnemyCastBar.bTimer) then |
||
1323 | this:SetChecked(1); |
||
1324 | else |
||
1325 | this:SetChecked(0); |
||
1326 | end |
||
1327 | </OnShow> |
||
1328 | </Scripts> |
||
1329 | </CheckButton> |
||
1330 | |||
1331 | <CheckButton name="$parentCECB_tsize_check" inherits="CECBOptionsCheckButtonTemplate"> |
||
1332 | <Anchors> |
||
1333 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_timer_check"> |
||
1334 | <Offset> |
||
1335 | <AbsDimension x="0" y="-25" /> |
||
1336 | </Offset> |
||
1337 | </Anchor> |
||
1338 | </Anchors> |
||
1339 | <Scripts> |
||
1340 | <OnClick> |
||
1341 | CEnemyCastBar_Options("tsize"); |
||
1342 | -- CEnemyCastBar.bSmallTSize = (this:GetChecked() == 1); |
||
1343 | </OnClick> |
||
1344 | <OnLoad> |
||
1345 | getglobal(this:GetName().."Text"):SetText(CECB_tsize_txt); |
||
1346 | getglobal(this:GetName()).tooltipText = CECB_tsize_tooltip; |
||
1347 | </OnLoad> |
||
1348 | <OnShow> |
||
1349 | if (CEnemyCastBar.bSmallTSize) then |
||
1350 | this:SetChecked(1); |
||
1351 | else |
||
1352 | this:SetChecked(0); |
||
1353 | end |
||
1354 | </OnShow> |
||
1355 | </Scripts> |
||
1356 | </CheckButton> |
||
1357 | |||
1358 | <CheckButton name="$parentCECB_flipb_check" inherits="CECBOptionsCheckButtonTemplate"> |
||
1359 | <Anchors> |
||
1360 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_tsize_check"> |
||
1361 | <Offset> |
||
1362 | <AbsDimension x="0" y="-25" /> |
||
1363 | </Offset> |
||
1364 | </Anchor> |
||
1365 | </Anchors> |
||
1366 | <Scripts> |
||
1367 | <OnClick> |
||
1368 | CEnemyCastBar_Options("flipb"); |
||
1369 | -- CEnemyCastBar.bFlipB = (this:GetChecked() == 1); |
||
1370 | </OnClick> |
||
1371 | <OnLoad> |
||
1372 | getglobal(this:GetName().."Text"):SetText(CECB_flipb_txt); |
||
1373 | getglobal(this:GetName()).tooltipText = CECB_flipb_tooltip; |
||
1374 | </OnLoad> |
||
1375 | <OnShow> |
||
1376 | if (CEnemyCastBar.bFlipB) then |
||
1377 | this:SetChecked(1); |
||
1378 | else |
||
1379 | this:SetChecked(0); |
||
1380 | end |
||
1381 | </OnShow> |
||
1382 | </Scripts> |
||
1383 | </CheckButton> |
||
1384 | |||
1385 | <CheckButton name="$parentCECB_flashit_check" inherits="CECBOptionsCheckButtonTemplate"> |
||
1386 | <Anchors> |
||
1387 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_flipb_check"> |
||
1388 | <Offset> |
||
1389 | <AbsDimension x="0" y="-25" /> |
||
1390 | </Offset> |
||
1391 | </Anchor> |
||
1392 | </Anchors> |
||
1393 | <Scripts> |
||
1394 | <OnClick> |
||
1395 | CEnemyCastBar_Options("flashit"); |
||
1396 | -- CEnemyCastBar.bFlashit = (this:GetChecked() == 1); |
||
1397 | </OnClick> |
||
1398 | <OnLoad> |
||
1399 | getglobal(this:GetName().."Text"):SetText(CECB_flashit_txt); |
||
1400 | getglobal(this:GetName()).tooltipText = CECB_flashit_tooltip; |
||
1401 | </OnLoad> |
||
1402 | <OnShow> |
||
1403 | if (CEnemyCastBar.bFlashit) then |
||
1404 | this:SetChecked(1); |
||
1405 | else |
||
1406 | this:SetChecked(0); |
||
1407 | end |
||
1408 | </OnShow> |
||
1409 | </Scripts> |
||
1410 | </CheckButton> |
||
1411 | |||
1412 | <CheckButton name="$parentCECB_showicon_check" inherits="CECBOptionsCheckButtonTemplate"> |
||
1413 | <Anchors> |
||
1414 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_flashit_check"> |
||
1415 | <Offset> |
||
1416 | <AbsDimension x="0" y="-25" /> |
||
1417 | </Offset> |
||
1418 | </Anchor> |
||
1419 | </Anchors> |
||
1420 | <Scripts> |
||
1421 | <OnClick> |
||
1422 | CEnemyCastBar_Options("showicon"); |
||
1423 | -- CEnemyCastBar.bShowIcon = (this:GetChecked() == 1); |
||
1424 | </OnClick> |
||
1425 | <OnLoad> |
||
1426 | getglobal(this:GetName().."Text"):SetText(CECB_showicon_txt); |
||
1427 | getglobal(this:GetName()).tooltipText = CECB_flashit_showicon; |
||
1428 | </OnLoad> |
||
1429 | <OnShow> |
||
1430 | if (CEnemyCastBar.bShowIcon) then |
||
1431 | this:SetChecked(1); |
||
1432 | else |
||
1433 | this:SetChecked(0); |
||
1434 | end |
||
1435 | </OnShow> |
||
1436 | </Scripts> |
||
1437 | </CheckButton> |
||
1438 | |||
1439 | <Slider name="$parentCECB_scale_Slider" inherits="OptionsSliderTemplate"> |
||
1440 | <Size> |
||
1441 | <AbsDimension x="220" y="17"/> |
||
1442 | </Size> |
||
1443 | <Anchors> |
||
1444 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_showicon_check"> |
||
1445 | <Offset> |
||
1446 | <AbsDimension x="10" y="-47" /> |
||
1447 | </Offset> |
||
1448 | </Anchor> |
||
1449 | </Anchors> |
||
1450 | <Scripts> |
||
1451 | <OnValueChanged> |
||
1452 | CECB_scale_Slider_OnValueChanged(); |
||
1453 | </OnValueChanged> |
||
1454 | <OnShow> |
||
1455 | CECB_scale_Slider_OnShow(); |
||
1456 | getglobal(this:GetName()).tooltipText = CECB_scale_tooltip; |
||
1457 | </OnShow> |
||
1458 | </Scripts> |
||
1459 | </Slider> |
||
1460 | |||
1461 | <Slider name="$parentCECB_alpha_Slider" inherits="OptionsSliderTemplate"> |
||
1462 | <Size> |
||
1463 | <AbsDimension x="220" y="17"/> |
||
1464 | </Size> |
||
1465 | <Anchors> |
||
1466 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_scale_Slider"> |
||
1467 | <Offset> |
||
1468 | <AbsDimension x="0" y="-40" /> |
||
1469 | </Offset> |
||
1470 | </Anchor> |
||
1471 | </Anchors> |
||
1472 | <Scripts> |
||
1473 | <OnValueChanged> |
||
1474 | CECB_alpha_Slider_OnValueChanged(); |
||
1475 | </OnValueChanged> |
||
1476 | <OnShow> |
||
1477 | CECB_alpha_Slider_OnShow(); |
||
1478 | getglobal(this:GetName()).tooltipText = CECB_alpha_tooltip; |
||
1479 | </OnShow> |
||
1480 | </Scripts> |
||
1481 | </Slider> |
||
1482 | |||
1483 | <Slider name="$parentCECB_numbars_Slider" inherits="OptionsSliderTemplate"> |
||
1484 | <Size> |
||
1485 | <AbsDimension x="220" y="17"/> |
||
1486 | </Size> |
||
1487 | <Anchors> |
||
1488 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_alpha_Slider"> |
||
1489 | <Offset> |
||
1490 | <AbsDimension x="0" y="-40" /> |
||
1491 | </Offset> |
||
1492 | </Anchor> |
||
1493 | </Anchors> |
||
1494 | <Scripts> |
||
1495 | <OnValueChanged> |
||
1496 | CECB_numbars_Slider_OnValueChanged(); |
||
1497 | </OnValueChanged> |
||
1498 | <OnShow> |
||
1499 | CECB_numbars_Slider_OnShow(); |
||
1500 | getglobal(this:GetName()).tooltipText = CECB_numbars_tooltip; |
||
1501 | </OnShow> |
||
1502 | </Scripts> |
||
1503 | </Slider> |
||
1504 | |||
1505 | <Slider name="$parentCECB_space_Slider" inherits="OptionsSliderTemplate"> |
||
1506 | <Size> |
||
1507 | <AbsDimension x="220" y="17"/> |
||
1508 | </Size> |
||
1509 | <Anchors> |
||
1510 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_numbars_Slider"> |
||
1511 | <Offset> |
||
1512 | <AbsDimension x="0" y="-40" /> |
||
1513 | </Offset> |
||
1514 | </Anchor> |
||
1515 | </Anchors> |
||
1516 | <Scripts> |
||
1517 | <OnValueChanged> |
||
1518 | CECB_space_Slider_OnValueChanged(); |
||
1519 | </OnValueChanged> |
||
1520 | <OnShow> |
||
1521 | CECB_space_Slider_OnShow(); |
||
1522 | getglobal(this:GetName()).tooltipText = CECB_space_tooltip; |
||
1523 | </OnShow> |
||
1524 | </Scripts> |
||
1525 | </Slider> |
||
1526 | |||
1527 | <Slider name="$parentCECB_MiniMap_Slider" inherits="OptionsSliderTemplate"> |
||
1528 | <Size> |
||
1529 | <AbsDimension x="220" y="17"/> |
||
1530 | </Size> |
||
1531 | <Anchors> |
||
1532 | <Anchor point="TOPLEFT" relativeTo="$parentCECB_space_Slider"> |
||
1533 | <Offset> |
||
1534 | <AbsDimension x="0" y="-40" /> |
||
1535 | </Offset> |
||
1536 | </Anchor> |
||
1537 | </Anchors> |
||
1538 | <Scripts> |
||
1539 | <OnValueChanged> |
||
1540 | CECB_MiniMap_Slider_OnValueChanged(); |
||
1541 | </OnValueChanged> |
||
1542 | <OnShow> |
||
1543 | CECB_MiniMap_Slider_OnShow(); |
||
1544 | getglobal(this:GetName()).tooltipText = CECB_minimap_tooltip; |
||
1545 | </OnShow> |
||
1546 | </Scripts> |
||
1547 | </Slider> |
||
1548 | |||
1549 | <Button name="$parentHelp" inherits="GameMenuButtonTemplate" text="CECB_menue_help"> |
||
1550 | <Size> |
||
1551 | <AbsDimension x="100" y="20"/> |
||
1552 | </Size> |
||
1553 | <Anchors> |
||
1554 | <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent"> |
||
1555 | <Offset> |
||
1556 | <AbsDimension x="80" y="15" /> |
||
1557 | </Offset> |
||
1558 | </Anchor> |
||
1559 | </Anchors> |
||
1560 | <Scripts> |
||
1561 | <OnClick> |
||
1562 | CEnemyCastBar_Handler("help"); |
||
1563 | </OnClick> |
||
1564 | </Scripts> |
||
1565 | </Button> |
||
1566 | |||
1567 | <Button name="$parentReset" inherits="UIPanelButtonTemplate" text="CECB_menue_reset"> |
||
1568 | <Size> |
||
1569 | <AbsDimension x="100" y="20"/> |
||
1570 | </Size> |
||
1571 | <Anchors> |
||
1572 | <Anchor point="TOPLEFT" relativeTo="$parentHelp"> |
||
1573 | <Offset> |
||
1574 | <AbsDimension x="-60" y="25" /> |
||
1575 | </Offset> |
||
1576 | </Anchor> |
||
1577 | </Anchors> |
||
1578 | <Scripts> |
||
1579 | <OnClick> |
||
1580 | CECBApplyResetFrame:Show(); |
||
1581 | --CEnemyCastBar_Options("reset"); |
||
1582 | </OnClick> |
||
1583 | </Scripts> |
||
1584 | </Button> |
||
1585 | |||
1586 | <Button name="$parentMoveBar" inherits="UIPanelButtonTemplate" text="CECB_menue_mbar"> |
||
1587 | <Size> |
||
1588 | <AbsDimension x="100" y="20"/> |
||
1589 | </Size> |
||
1590 | <Anchors> |
||
1591 | <Anchor point="TOPLEFT" relativeTo="$parentReset"> |
||
1592 | <Offset> |
||
1593 | <AbsDimension x="120" y="0" /> |
||
1594 | </Offset> |
||
1595 | </Anchor> |
||
1596 | </Anchors> |
||
1597 | <Scripts> |
||
1598 | <OnClick> |
||
1599 | CEnemyCastBar_Options("show"); |
||
1600 | </OnClick> |
||
1601 | </Scripts> |
||
1602 | </Button> |
||
1603 | |||
1604 | </Frames> |
||
1605 | |||
1606 | </Frame> |
||
1607 | |||
1608 | |||
1609 | <!-- ================================================================== --> |
||
1610 | <!-- The ApplyReset? frame --> |
||
1611 | <Frame name="CECBApplyResetFrame" frameStrata="LOW" toplevel="true" enableMouse="true" movable="true" hidden="true" parent="UIParent"> |
||
1612 | <Size> |
||
1613 | <AbsDimension x="300" y="150" /> |
||
1614 | </Size> |
||
1615 | |||
1616 | <Anchors> |
||
1617 | <Anchor point="CENTER" /> |
||
1618 | </Anchors> |
||
1619 | |||
1620 | <TitleRegion setAllPoints="true"/> |
||
1621 | |||
1622 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
1623 | <EdgeSize> |
||
1624 | <AbsValue val="32"/> |
||
1625 | </EdgeSize> |
||
1626 | <TileSize> |
||
1627 | <AbsValue val="32"/> |
||
1628 | </TileSize> |
||
1629 | <BackgroundInsets> |
||
1630 | <AbsInset left="11" right="12" top="12" bottom="11"/> |
||
1631 | </BackgroundInsets> |
||
1632 | </Backdrop> |
||
1633 | |||
1634 | |||
1635 | <Layers> |
||
1636 | <Layer level="ARTWORK"> |
||
1637 | <Texture name="GameMenuFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
1638 | <Size> |
||
1639 | <AbsDimension x="220" y="64"/> |
||
1640 | </Size> |
||
1641 | <Anchors> |
||
1642 | <Anchor point="TOP"> |
||
1643 | <Offset> |
||
1644 | <AbsDimension x="0" y="12"/> |
||
1645 | </Offset> |
||
1646 | </Anchor> |
||
1647 | </Anchors> |
||
1648 | </Texture> |
||
1649 | <FontString name="$parentText" inherits="GameFontNormal" text="WARNING"> |
||
1650 | <Anchors> |
||
1651 | <Anchor point="TOP"> |
||
1652 | <Offset> |
||
1653 | <AbsDimension x="0" y="-2"/> |
||
1654 | </Offset> |
||
1655 | </Anchor> |
||
1656 | </Anchors> |
||
1657 | </FontString> |
||
1658 | </Layer> |
||
1659 | </Layers> |
||
1660 | |||
1661 | <Scripts> |
||
1662 | <OnLoad> |
||
1663 | getglobal(this:GetName().."Text"):SetText(CECB_menue_rwarning); |
||
1664 | </OnLoad> |
||
1665 | </Scripts> |
||
1666 | |||
1667 | <Frames> |
||
1668 | |||
1669 | <Button name="$parentNoButton" inherits="GameMenuButtonTemplate" text="CECB_menue_rno"> |
||
1670 | <Size> |
||
1671 | <AbsDimension x="80" y="21"/> |
||
1672 | </Size> |
||
1673 | <Anchors> |
||
1674 | <Anchor point="CENTER" relativePoint="BOTTOM" relativeTo="$parent"> |
||
1675 | <Offset> |
||
1676 | <AbsDimension x="0" y="25" /> |
||
1677 | </Offset> |
||
1678 | </Anchor> |
||
1679 | </Anchors> |
||
1680 | <Scripts> |
||
1681 | <OnClick> |
||
1682 | CECBApplyResetFrame:Hide(); |
||
1683 | </OnClick> |
||
1684 | </Scripts> |
||
1685 | </Button> |
||
1686 | |||
1687 | <Button name="$parentYesButton" inherits="GameMenuButtonTemplate" text="CECB_menue_ryes"> |
||
1688 | <Size> |
||
1689 | <AbsDimension x="80" y="21"/> |
||
1690 | </Size> |
||
1691 | <Anchors> |
||
1692 | <Anchor point="CENTER" relativeTo="$parentNoButton"> |
||
1693 | <Offset> |
||
1694 | <AbsDimension x="0" y="25" /> |
||
1695 | </Offset> |
||
1696 | </Anchor> |
||
1697 | </Anchors> |
||
1698 | <Scripts> |
||
1699 | <OnClick> |
||
1700 | CECBApplyResetFrame:Hide(); |
||
1701 | CEnemyCastBar_Options("reset"); |
||
1702 | </OnClick> |
||
1703 | </Scripts> |
||
1704 | </Button> |
||
1705 | |||
1706 | </Frames> |
||
1707 | |||
1708 | </Frame> |
||
1709 | |||
1710 | |||
1711 | <!-- ================================================================== --> |
||
1712 | <!-- The FPSBar frame --> |
||
1713 | <Frame name="CECB_FPSBarFreeFrame" parent="UIParent" frameStrata="HIGH" toplevel="false" movable="true" enableMouse="true"> |
||
1714 | <Size> |
||
1715 | <AbsDimension x="0" y="0"/> |
||
1716 | </Size> |
||
1717 | <Frames> |
||
1718 | |||
1719 | <Button name="CECB_FPSBarFree" inherits="CarniEnemyCastBarTemplate"> |
||
1720 | <Anchors> |
||
1721 | <Anchor point="TOPLEFT" relativeTo="UIParent"> |
||
1722 | <Offset> |
||
1723 | <AbsDimension x="50" y="-550" /> |
||
1724 | </Offset> |
||
1725 | </Anchor> |
||
1726 | </Anchors> |
||
1727 | <Scripts> |
||
1728 | <OnLoad> |
||
1729 | this:Hide(); |
||
1730 | getglobal(this:GetName().."_StatusBar_Spark"):Hide(); |
||
1731 | --this:SetAlpha(0.8); |
||
1732 | </OnLoad> |
||
1733 | </Scripts> |
||
1734 | <Scripts> |
||
1735 | <OnUpdate> CEnemyCastBar_FPSBar_OnUpdate(); </OnUpdate> |
||
1736 | </Scripts> |
||
1737 | </Button> |
||
1738 | |||
1739 | </Frames> |
||
1740 | </Frame> |
||
1741 | |||
1742 | <!-- ================================================================== --> |
||
1743 | <!-- The CTRA Channel Parser frame --> |
||
1744 | <Frame name="CECBCTRAParserFrame" frameStrata="LOW" toplevel="true" enableMouse="true" movable="true" hidden="true" parent="UIParent"> |
||
1745 | <Size> |
||
1746 | <AbsDimension x="450" y="240" /> |
||
1747 | </Size> |
||
1748 | |||
1749 | <Anchors> |
||
1750 | <Anchor point="TOPLEFT" relativeTo="UIParent"> |
||
1751 | <Offset> |
||
1752 | <AbsDimension x="50" y="-100" /> |
||
1753 | </Offset> |
||
1754 | </Anchor> |
||
1755 | </Anchors> |
||
1756 | |||
1757 | <TitleRegion setAllPoints="true"/> |
||
1758 | |||
1759 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
1760 | <EdgeSize> |
||
1761 | <AbsValue val="32"/> |
||
1762 | </EdgeSize> |
||
1763 | <TileSize> |
||
1764 | <AbsValue val="32"/> |
||
1765 | </TileSize> |
||
1766 | <BackgroundInsets> |
||
1767 | <AbsInset left="11" right="12" top="12" bottom="11"/> |
||
1768 | </BackgroundInsets> |
||
1769 | </Backdrop> |
||
1770 | |||
1771 | |||
1772 | <Layers> |
||
1773 | <Layer level="ARTWORK"> |
||
1774 | <Texture name="GameMenuFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
1775 | <Size> |
||
1776 | <AbsDimension x="450" y="64"/> |
||
1777 | </Size> |
||
1778 | <Anchors> |
||
1779 | <Anchor point="TOP"> |
||
1780 | <Offset> |
||
1781 | <AbsDimension x="-10" y="12"/> |
||
1782 | </Offset> |
||
1783 | </Anchor> |
||
1784 | </Anchors> |
||
1785 | </Texture> |
||
1786 | <FontString name="$parentText" inherits="GameFontNormal" text="NECB - CTRA Channel Parser"> |
||
1787 | <Anchors> |
||
1788 | <Anchor point="TOP"> |
||
1789 | <Offset> |
||
1790 | <AbsDimension x="-10" y="-2"/> |
||
1791 | </Offset> |
||
1792 | </Anchor> |
||
1793 | </Anchors> |
||
1794 | </FontString> |
||
1795 | </Layer> |
||
1796 | </Layers> |
||
1797 | |||
1798 | <Frames> |
||
1799 | |||
1800 | <!-- Parser Buttons --> |
||
1801 | <Button name="$parentX" inherits="UIPanelCloseButton"> |
||
1802 | <Size> |
||
1803 | <AbsDimension x="30" y="30"/> |
||
1804 | </Size> |
||
1805 | <Anchors> |
||
1806 | <Anchor point="CENTER" relativePoint="TOPRIGHT"> |
||
1807 | <Offset> |
||
1808 | <AbsDimension x="-20" y="-20"/> |
||
1809 | </Offset> |
||
1810 | </Anchor> |
||
1811 | </Anchors> |
||
1812 | <Scripts> |
||
1813 | <OnClick> |
||
1814 | CEnemyCastBar_Handler("parser"); |
||
1815 | </OnClick> |
||
1816 | </Scripts> |
||
1817 | </Button> |
||
1818 | |||
1819 | <Button name="$parentUPArrow"> |
||
1820 | <Size> |
||
1821 | <AbsDimension x="20" y="20"/> |
||
1822 | </Size> |
||
1823 | <Anchors> |
||
1824 | <Anchor point="TOPRIGHT"> |
||
1825 | <Offset> |
||
1826 | <AbsDimension x="-94" y="-10"/> |
||
1827 | </Offset> |
||
1828 | </Anchor> |
||
1829 | </Anchors> |
||
1830 | <Scripts> |
||
1831 | |||
1832 | <OnLoad> |
||
1833 | this.clickDelay = MESSAGE_SCROLLBUTTON_INITIAL_DELAY; |
||
1834 | this:RegisterForClicks("LeftButtonDown", "LeftButtonUp"); |
||
1835 | </OnLoad> |
||
1836 | <OnUpdate> |
||
1837 | CEnemyCastBar_ParserButton_OnUpdate(arg1); |
||
1838 | </OnUpdate> |
||
1839 | <OnClick> |
||
1840 | if ( this:GetButtonState() == "PUSHED" ) then |
||
1841 | this.clickDelay = MESSAGE_SCROLLBUTTON_INITIAL_DELAY; |
||
1842 | else |
||
1843 | PlaySound("igChatScrollDown"); |
||
1844 | CEnemyCastBar_ParserOnClick("up"); |
||
1845 | end |
||
1846 | </OnClick> |
||
1847 | |||
1848 | </Scripts> |
||
1849 | <NormalTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollUp-Up"/> |
||
1850 | <PushedTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollUp-Down"/> |
||
1851 | <DisabledTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollUp-Disabled"/> |
||
1852 | <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/> |
||
1853 | </Button> |
||
1854 | |||
1855 | <Button name="$parentDOWNArrow"> |
||
1856 | <Size> |
||
1857 | <AbsDimension x="20" y="20"/> |
||
1858 | </Size> |
||
1859 | <Anchors> |
||
1860 | <Anchor point="TOPLEFT" relativeTo="$parentUPArrow"> |
||
1861 | <Offset> |
||
1862 | <AbsDimension x="40" y="0"/> |
||
1863 | </Offset> |
||
1864 | </Anchor> |
||
1865 | </Anchors> |
||
1866 | <Scripts> |
||
1867 | <OnLoad> |
||
1868 | this.clickDelay = MESSAGE_SCROLLBUTTON_INITIAL_DELAY; |
||
1869 | this:RegisterForClicks("LeftButtonDown", "LeftButtonUp"); |
||
1870 | </OnLoad> |
||
1871 | <OnUpdate> |
||
1872 | CEnemyCastBar_ParserButton_OnUpdate(arg1); |
||
1873 | </OnUpdate> |
||
1874 | <OnClick> |
||
1875 | if ( this:GetButtonState() == "PUSHED" ) then |
||
1876 | this.clickDelay = MESSAGE_SCROLLBUTTON_INITIAL_DELAY; |
||
1877 | else |
||
1878 | PlaySound("igChatScrollDown"); |
||
1879 | CEnemyCastBar_ParserOnClick("down"); |
||
1880 | end |
||
1881 | </OnClick> |
||
1882 | </Scripts> |
||
1883 | <NormalTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Up"/> |
||
1884 | <PushedTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Down"/> |
||
1885 | <DisabledTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Disabled"/> |
||
1886 | <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/> |
||
1887 | </Button> |
||
1888 | |||
1889 | <Frame name="$parentLine" inherits="OptionFrameBoxTemplate"> |
||
1890 | <Size> |
||
1891 | <AbsDimension x="34" y="20"/> |
||
1892 | </Size> |
||
1893 | <Anchors> |
||
1894 | <Anchor point="TOPLEFT" relativeTo="$parentUPArrow"> |
||
1895 | <Offset> |
||
1896 | <AbsDimension x="13" y="0"/> |
||
1897 | </Offset> |
||
1898 | </Anchor> |
||
1899 | </Anchors> |
||
1900 | <Layers> |
||
1901 | <Layer level="ARTWORK"> |
||
1902 | <FontString name="$parentText" inherits="GameFontHighlightSmall" text="" justifyV="TOP" justifyH="LEFT"> |
||
1903 | <Size> |
||
1904 | <AbsDimension x="30" y="10"/> |
||
1905 | </Size> |
||
1906 | <Anchors> |
||
1907 | <Anchor point="TOPLEFT"> |
||
1908 | <Offset> |
||
1909 | <AbsDimension x="7" y="-4"/> |
||
1910 | </Offset> |
||
1911 | </Anchor> |
||
1912 | </Anchors> |
||
1913 | </FontString> |
||
1914 | </Layer> |
||
1915 | |||
1916 | <!-- Faux Text to detect length of new line --> |
||
1917 | <Layer level="ARTWORK"> |
||
1918 | <FontString name="CECBParserFauxText" inherits="GameFontHighlightSmall" text="" hidden="true" justifyV="TOP" justifyH="LEFT"> |
||
1919 | <Size> |
||
1920 | <AbsDimension x="" y=""/> |
||
1921 | </Size> |
||
1922 | <Anchors> |
||
1923 | <Anchor point="TOPLEFT"> |
||
1924 | <Offset> |
||
1925 | <AbsDimension x="0" y="0"/> |
||
1926 | </Offset> |
||
1927 | </Anchor> |
||
1928 | </Anchors> |
||
1929 | </FontString> |
||
1930 | </Layer> |
||
1931 | </Layers> |
||
1932 | <Scripts> |
||
1933 | <OnLoad> |
||
1934 | this:SetBackdropBorderColor(0.4, 0.4, 0.4, 1.0); |
||
1935 | this:SetBackdropColor(0.1, 0.1, 0.1); |
||
1936 | </OnLoad> |
||
1937 | </Scripts> |
||
1938 | </Frame> |
||
1939 | |||
1940 | <Button name="$parentBOTTOMArrow"> |
||
1941 | <Size> |
||
1942 | <AbsDimension x="20" y="20"/> |
||
1943 | </Size> |
||
1944 | <Anchors> |
||
1945 | <Anchor point="TOPLEFT" relativeTo="$parentDOWNArrow"> |
||
1946 | <Offset> |
||
1947 | <AbsDimension x="18" y="0"/> |
||
1948 | </Offset> |
||
1949 | </Anchor> |
||
1950 | </Anchors> |
||
1951 | <Layers> |
||
1952 | <Layer level="OVERLAY"> |
||
1953 | <Texture name="$parentFlash" file="Interface\ChatFrame\UI-ChatIcon-BlinkHilight" hidden="true"/> |
||
1954 | </Layer> |
||
1955 | </Layers> |
||
1956 | <Scripts> |
||
1957 | <OnClick> |
||
1958 | PlaySound("igChatBottom"); |
||
1959 | CEnemyCastBar_ParserOnClick(0); |
||
1960 | </OnClick> |
||
1961 | </Scripts> |
||
1962 | <NormalTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollEnd-Up"/> |
||
1963 | <PushedTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollEnd-Down"/> |
||
1964 | <DisabledTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollEnd-Disabled"/> |
||
1965 | <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/> |
||
1966 | </Button> |
||
1967 | |||
1968 | <!-- Parser TextFrame --> |
||
1969 | <Frame name="$parentBG" inherits="OptionFrameBoxTemplate"> |
||
1970 | <Size> |
||
1971 | <AbsDimension x="430" y="210"/> |
||
1972 | </Size> |
||
1973 | <Anchors> |
||
1974 | <Anchor point="TOPLEFT"> |
||
1975 | <Offset> |
||
1976 | <AbsDimension x="10" y="-20"/> |
||
1977 | </Offset> |
||
1978 | </Anchor> |
||
1979 | </Anchors> |
||
1980 | <Layers> |
||
1981 | <Layer level="ARTWORK"> |
||
1982 | <FontString name="$parentText" inherits="GameFontHighlightSmall" text="" justifyV="TOP" justifyH="LEFT"> |
||
1983 | <Size> |
||
1984 | <AbsDimension x="" y="200"/> <!-- Length will be reduced by a standalone routine! --> |
||
1985 | </Size> |
||
1986 | <Anchors> |
||
1987 | <Anchor point="TOPLEFT"> |
||
1988 | <Offset> |
||
1989 | <AbsDimension x="5" y="-5"/> |
||
1990 | </Offset> |
||
1991 | </Anchor> |
||
1992 | </Anchors> |
||
1993 | </FontString> |
||
1994 | </Layer> |
||
1995 | </Layers> |
||
1996 | <Scripts> |
||
1997 | <OnLoad> |
||
1998 | this:SetBackdropBorderColor(0.4, 0.4, 0.4, 0.0); |
||
1999 | this:SetBackdropColor(0.1, 0.1, 0.1); |
||
2000 | </OnLoad> |
||
2001 | </Scripts> |
||
2002 | </Frame> |
||
2003 | |||
2004 | </Frames> |
||
2005 | |||
2006 | </Frame> |
||
2007 | |||
2008 | |||
2009 | <!-- ================================================================== --> |
||
2010 | <!-- MiniMap button --> |
||
2011 | <Frame name="CECBMiniMapButtonFrame" parent="Minimap" frameStrata="MEDIUM" enableMouse="true" hidden="false"> |
||
2012 | <Frames> |
||
2013 | <Button name="CECBMiniMapButton"> |
||
2014 | <Size> |
||
2015 | <AbsDimension x="32" y="32"/> |
||
2016 | </Size> |
||
2017 | <Anchors> |
||
2018 | <Anchor point="TOPLEFT" relativeTo="Minimap" relativePoint="RIGHT"> |
||
2019 | <Offset> |
||
2020 | <AbsDimension x="-13" y="5"/> |
||
2021 | </Offset> |
||
2022 | </Anchor> |
||
2023 | </Anchors> |
||
2024 | <Scripts> |
||
2025 | <OnLoad> |
||
2026 | this.tooltip = "Natur EnemyCastBar"; |
||
2027 | this:SetFrameLevel(5); |
||
2028 | </OnLoad> |
||
2029 | <OnClick> |
||
2030 | CEnemyCastBar_Handler(""); |
||
2031 | </OnClick> |
||
2032 | <OnEnter> |
||
2033 | GameTooltip:SetOwner(this, "ANCHOR_LEFT"); |
||
2034 | GameTooltip:SetText(this.tooltip); |
||
2035 | </OnEnter> |
||
2036 | <OnLeave> |
||
2037 | GameTooltip:Hide(); |
||
2038 | </OnLeave> |
||
2039 | </Scripts> |
||
2040 | <Layers> |
||
2041 | <Layer level="ARTWORK"> |
||
2042 | <Texture name="$parentTexture" file="Interface\AddOns\CEnemyCastBar\Images\CECBButton"/> |
||
2043 | </Layer> |
||
2044 | </Layers> |
||
2045 | <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/> |
||
2046 | </Button> |
||
2047 | </Frames> |
||
2048 | </Frame> |
||
2049 | |||
2050 | <!-- ================================================================== --> |
||
2051 | <!-- The GC frame --> |
||
2052 | <Frame name="CECBGCFrame" frameStrata="LOW" toplevel="true" enableMouse="true" movable="true" hidden="true" parent="UIParent"> |
||
2053 | <Size> |
||
2054 | <AbsDimension x="280" y="110" /> |
||
2055 | </Size> |
||
2056 | |||
2057 | <Anchors> |
||
2058 | <Anchor point="TOPLEFT" relativeTo="UIParent"> |
||
2059 | <Offset> |
||
2060 | <AbsDimension x="50" y="-100" /> |
||
2061 | </Offset> |
||
2062 | </Anchor> |
||
2063 | </Anchors> |
||
2064 | |||
2065 | <TitleRegion setAllPoints="true"/> |
||
2066 | |||
2067 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
2068 | <EdgeSize> |
||
2069 | <AbsValue val="32"/> |
||
2070 | </EdgeSize> |
||
2071 | <TileSize> |
||
2072 | <AbsValue val="32"/> |
||
2073 | </TileSize> |
||
2074 | <BackgroundInsets> |
||
2075 | <AbsInset left="11" right="12" top="12" bottom="11"/> |
||
2076 | </BackgroundInsets> |
||
2077 | </Backdrop> |
||
2078 | |||
2079 | |||
2080 | <Layers> |
||
2081 | <Layer level="ARTWORK"> |
||
2082 | <Texture name="GameMenuFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
2083 | <Size> |
||
2084 | <AbsDimension x="250" y="64"/> |
||
2085 | </Size> |
||
2086 | <Anchors> |
||
2087 | <Anchor point="TOP"> |
||
2088 | <Offset> |
||
2089 | <AbsDimension x="0" y="12"/> |
||
2090 | </Offset> |
||
2091 | </Anchor> |
||
2092 | </Anchors> |
||
2093 | </Texture> |
||
2094 | <FontString name="$parentText" inherits="GameFontNormal" text="NECB - GC Info"> |
||
2095 | <Anchors> |
||
2096 | <Anchor point="TOP"> |
||
2097 | <Offset> |
||
2098 | <AbsDimension x="0" y="-2"/> |
||
2099 | </Offset> |
||
2100 | </Anchor> |
||
2101 | </Anchors> |
||
2102 | </FontString> |
||
2103 | </Layer> |
||
2104 | </Layers> |
||
2105 | |||
2106 | <Frames> |
||
2107 | <!-- GC TextFrame --> |
||
2108 | <Frame name="$parentBG" inherits="OptionFrameBoxTemplate"> |
||
2109 | <Size> |
||
2110 | <AbsDimension x="260" y="80"/> |
||
2111 | </Size> |
||
2112 | <Anchors> |
||
2113 | <Anchor point="TOPLEFT"> |
||
2114 | <Offset> |
||
2115 | <AbsDimension x="10" y="-20"/> |
||
2116 | </Offset> |
||
2117 | </Anchor> |
||
2118 | </Anchors> |
||
2119 | <Layers> |
||
2120 | <Layer level="ARTWORK"> |
||
2121 | <FontString name="$parentText" inherits="GameFontHighlightSmall" text="" justifyV="TOP" justifyH="CENTER"> |
||
2122 | <Size> |
||
2123 | <AbsDimension x="250" y="80"/> <!-- Length will be reduced by a standalone routine! --> |
||
2124 | </Size> |
||
2125 | <Anchors> |
||
2126 | <Anchor point="TOPLEFT"> |
||
2127 | <Offset> |
||
2128 | <AbsDimension x="5" y="-5"/> |
||
2129 | </Offset> |
||
2130 | </Anchor> |
||
2131 | </Anchors> |
||
2132 | </FontString> |
||
2133 | </Layer> |
||
2134 | </Layers> |
||
2135 | <Scripts> |
||
2136 | <OnLoad> |
||
2137 | this:SetBackdropBorderColor(0.4, 0.4, 0.4, 0.0); |
||
2138 | this:SetBackdropColor(0.1, 0.1, 0.1); |
||
2139 | </OnLoad> |
||
2140 | <OnUpdate> CECB_GCInfo_OnUpdate(); </OnUpdate> |
||
2141 | </Scripts> |
||
2142 | </Frame> |
||
2143 | |||
2144 | <Button name="$parentX" inherits="UIPanelCloseButton"> |
||
2145 | <Size> |
||
2146 | <AbsDimension x="30" y="30"/> |
||
2147 | </Size> |
||
2148 | <Anchors> |
||
2149 | <Anchor point="CENTER" relativePoint="TOPRIGHT"> |
||
2150 | <Offset> |
||
2151 | <AbsDimension x="-20" y="-20"/> |
||
2152 | </Offset> |
||
2153 | </Anchor> |
||
2154 | </Anchors> |
||
2155 | <Scripts> |
||
2156 | <OnClick> |
||
2157 | CEnemyCastBar_Handler("gcinfo"); |
||
2158 | </OnClick> |
||
2159 | </Scripts> |
||
2160 | </Button> |
||
2161 | |||
2162 | </Frames> |
||
2163 | |||
2164 | </Frame> |
||
2165 | |||
2166 | |||
2167 | </Ui> |