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/ ..\FrameXML\UI.xsd"> |
2 | |||
3 | <!-- spell slot routine credits to Zuban --> |
||
4 | |||
5 | <Button name="SpellSlotTemplate" enableMouse="true" inherits="ItemButtonTemplate" virtual="true"> |
||
6 | <Scripts> |
||
7 | <OnLoad> |
||
8 | this:RegisterForClicks("LeftButtonUp"); |
||
9 | </OnLoad> |
||
10 | <OnClick> |
||
11 | SA_SpellSlot_OnReceiveDrag(); |
||
12 | </OnClick> |
||
13 | <OnReceiveDrag> |
||
14 | SA_SpellSlot_OnReceiveDrag(); |
||
15 | </OnReceiveDrag> |
||
16 | </Scripts> |
||
17 | </Button> |
||
18 | |||
19 | <!-- sort order frame, credits to CT TEAM! you gyus really rock --> |
||
20 | |||
21 | <Frame name="SAClassOrderTemplate" virtual="true" hidden="false"> |
||
22 | <Size> |
||
23 | <AbsDimension x="130" y="16"/> |
||
24 | </Size> |
||
25 | <Frames> |
||
26 | <Button name="$parentMoveUp" inherits="UIPanelScrollUpButtonTemplate" hidden="false"> |
||
27 | <Anchors> |
||
28 | <Anchor point="LEFT"> |
||
29 | <Offset> |
||
30 | <AbsDimension x="95" y="-5"/> |
||
31 | </Offset> |
||
32 | </Anchor> |
||
33 | </Anchors> |
||
34 | <Scripts> |
||
35 | <OnClick> |
||
36 | SA_ClassOrderMove(-1); |
||
37 | </OnClick> |
||
38 | </Scripts> |
||
39 | </Button> |
||
40 | <Button name="$parentMoveDown" inherits="UIPanelScrollDownButtonTemplate" hidden="false"> |
||
41 | <Anchors> |
||
42 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentMoveUp"> |
||
43 | <Offset> |
||
44 | <AbsDimension x="3" y="0"/> |
||
45 | </Offset> |
||
46 | </Anchor> |
||
47 | </Anchors> |
||
48 | <Scripts> |
||
49 | <OnClick> |
||
50 | SA_ClassOrderMove(1); |
||
51 | </OnClick> |
||
52 | </Scripts> |
||
53 | </Button> |
||
54 | </Frames> |
||
55 | <Layers> |
||
56 | <Layer level="ARTWORK"> |
||
57 | <FontString name="$parentText" justifyV="top" justifyH="left" inherits="ChatFontNormal" text="-bug-"> |
||
58 | <Anchors> |
||
59 | <Anchor point="TOPLEFT"> |
||
60 | <Offset> |
||
61 | <AbsDimension x="0" y="-5"/> |
||
62 | </Offset> |
||
63 | </Anchor> |
||
64 | </Anchors> |
||
65 | </FontString> |
||
66 | </Layer> |
||
67 | </Layers> |
||
68 | </Frame> |
||
69 | |||
70 | <!-- end of sort order frame --> |
||
71 | |||
72 | <Frame name="SABasicOptionsFrame" setAllPoints="true" enableMouse="true" parent="SAOptionsFrame" hidden="true"> |
||
73 | <Size> |
||
74 | <AbsDimension x="500" y="380"/> |
||
75 | </Size> |
||
76 | <Anchors> |
||
77 | <Anchor point="CENTER" relativeTo="SAOptionsFrame" relativePoint="CENTER"> |
||
78 | <Offset> |
||
79 | <AbsDimension x="0" y="0"/> |
||
80 | </Offset> |
||
81 | </Anchor> |
||
82 | </Anchors> |
||
83 | |||
84 | <Frames> |
||
85 | |||
86 | <CheckButton name="SAPriorizeHealthCB" inherits="OptionsCheckButtonTemplate" id="1"> |
||
87 | <Anchors> |
||
88 | <Anchor point="TOPLEFT" relativeTo="SAOptionsFrame"> |
||
89 | <Offset> |
||
90 | <AbsDimension x="22" y="-30"/> |
||
91 | </Offset> |
||
92 | </Anchor> |
||
93 | </Anchors> |
||
94 | |||
95 | <Layers> |
||
96 | <Layer level="ARTWORK"> |
||
97 | <FontString inherits="GameFontNormal" text="First priority if health below"> |
||
98 | <Anchors> |
||
99 | <Anchor point="LEFT"> |
||
100 | <Offset> |
||
101 | <AbsDimension x="30" y="2"/> |
||
102 | </Offset> |
||
103 | </Anchor> |
||
104 | </Anchors> |
||
105 | </FontString> |
||
106 | </Layer> |
||
107 | </Layers> |
||
108 | <Scripts> |
||
109 | <OnClick> |
||
110 | SA_ToggleOption("PriorizeHealth"); |
||
111 | </OnClick> |
||
112 | </Scripts> |
||
113 | </CheckButton> |
||
114 | |||
115 | <Slider name="SAHealthSlider" inherits="OptionsSliderTemplate"> |
||
116 | <Size> |
||
117 | <AbsDimension x="220" y="16"/> |
||
118 | </Size> |
||
119 | <Anchors> |
||
120 | <Anchor point="LEFT" relativeTo="SAPriorizeHealthCB" relativePoint="RIGHT"> |
||
121 | <Offset> |
||
122 | <AbsDimension x="0" y="-35"/> |
||
123 | </Offset> |
||
124 | </Anchor> |
||
125 | </Anchors> |
||
126 | <Scripts> |
||
127 | <OnLoad> |
||
128 | getglobal(this:GetName().."Text"):SetText("Priority health"); |
||
129 | getglobal(this:GetName().."High"):SetText("80%"); |
||
130 | getglobal(this:GetName().."Low"):SetText("5%"); |
||
131 | SAHealthSlider:SetMinMaxValues(5,80); |
||
132 | SAHealthSlider:SetValueStep(1); |
||
133 | </OnLoad> |
||
134 | <OnValueChanged> |
||
135 | SA_Options_UpdateHealthSlider(); |
||
136 | </OnValueChanged> |
||
137 | </Scripts> |
||
138 | </Slider> |
||
139 | |||
140 | <CheckButton name="SAAssistOnEmoteCB" inherits="OptionsCheckButtonTemplate" id="2"> |
||
141 | <Anchors> |
||
142 | <Anchor point="TOPLEFT" relativeTo="SAPriorizeHealthCB"> |
||
143 | <Offset> |
||
144 | <AbsDimension x="0" y="-75"/> |
||
145 | </Offset> |
||
146 | </Anchor> |
||
147 | </Anchors> |
||
148 | <Layers> |
||
149 | <Layer level="ARTWORK"> |
||
150 | <FontString inherits="GameFontNormal" text="Auto assist party members from emotes"> |
||
151 | <Anchors> |
||
152 | <Anchor point="LEFT"> |
||
153 | <Offset> |
||
154 | <AbsDimension x="30" y="2"/> |
||
155 | </Offset> |
||
156 | </Anchor> |
||
157 | </Anchors> |
||
158 | </FontString> |
||
159 | </Layer> |
||
160 | </Layers> |
||
161 | <Scripts> |
||
162 | <OnEnter> |
||
163 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
164 | GameTooltip:SetText("Automaticly assist party members from emotes (helpme, attacktarget). Note that this doesn't (can not) cast auto assist spell, just selects target and displays large information text.",1,1,1,1,1); |
||
165 | </OnEnter> |
||
166 | <OnLeave> |
||
167 | GameTooltip:Hide(); |
||
168 | </OnLeave> |
||
169 | <OnClick> |
||
170 | SA_ToggleOption("AssistOnEmote"); |
||
171 | </OnClick> |
||
172 | </Scripts> |
||
173 | </CheckButton> |
||
174 | |||
175 | <CheckButton name="SAVisualWarningCB" inherits="OptionsCheckButtonTemplate" id="3"> |
||
176 | <Anchors> |
||
177 | <Anchor point="TOPLEFT" relativeTo="SAAssistOnEmoteCB"> |
||
178 | <Offset> |
||
179 | <AbsDimension x="0" y="-30"/> |
||
180 | </Offset> |
||
181 | </Anchor> |
||
182 | </Anchors> |
||
183 | <Layers> |
||
184 | <Layer level="ARTWORK"> |
||
185 | <FontString inherits="GameFontNormal" text="Visual warning on passive targets"> |
||
186 | <Anchors> |
||
187 | <Anchor point="LEFT"> |
||
188 | <Offset> |
||
189 | <AbsDimension x="30" y="2"/> |
||
190 | </Offset> |
||
191 | </Anchor> |
||
192 | </Anchors> |
||
193 | </FontString> |
||
194 | </Layer> |
||
195 | </Layers> |
||
196 | <Scripts> |
||
197 | <OnClick> |
||
198 | SA_ToggleOption("VisualWarning"); |
||
199 | </OnClick> |
||
200 | </Scripts> |
||
201 | </CheckButton> |
||
202 | |||
203 | <CheckButton name="SAFallbackTargetNearestCB" inherits="OptionsCheckButtonTemplate" id="5"> |
||
204 | <Anchors> |
||
205 | <Anchor point="TOPLEFT" relativeTo="SAVisualWarningCB"> |
||
206 | <Offset> |
||
207 | <AbsDimension x="0" y="-30"/> |
||
208 | </Offset> |
||
209 | </Anchor> |
||
210 | </Anchors> |
||
211 | <Layers> |
||
212 | <Layer level="ARTWORK"> |
||
213 | <FontString inherits="GameFontNormal" text="Fallback to target nearest enemy"> |
||
214 | <Anchors> |
||
215 | <Anchor point="LEFT"> |
||
216 | <Offset> |
||
217 | <AbsDimension x="30" y="2"/> |
||
218 | </Offset> |
||
219 | </Anchor> |
||
220 | </Anchors> |
||
221 | </FontString> |
||
222 | </Layer> |
||
223 | </Layers> |
||
224 | <Scripts> |
||
225 | <OnClick> |
||
226 | SA_ToggleOption("FallbackTargetNearest"); |
||
227 | </OnClick> |
||
228 | <OnEnter> |
||
229 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
230 | GameTooltip:SetText("If SmartAssist is unable to find someone to assist then fallback to basic target nearest enemy.",1,1,1,1,1); |
||
231 | </OnEnter> |
||
232 | <OnLeave> |
||
233 | GameTooltip:Hide(); |
||
234 | </OnLeave> |
||
235 | </Scripts> |
||
236 | </CheckButton> |
||
237 | |||
238 | <CheckButton name="SACheckNearestCB" inherits="OptionsCheckButtonTemplate" id="6"> |
||
239 | <Anchors> |
||
240 | <Anchor point="TOPLEFT" relativeTo="SAFallbackTargetNearestCB"> |
||
241 | <Offset> |
||
242 | <AbsDimension x="0" y="-30"/> |
||
243 | </Offset> |
||
244 | </Anchor> |
||
245 | </Anchors> |
||
246 | <Layers> |
||
247 | <Layer level="ARTWORK"> |
||
248 | <FontString inherits="GameFontNormal" text="Check for nearest before assisting raid"> |
||
249 | <Anchors> |
||
250 | <Anchor point="LEFT"> |
||
251 | <Offset> |
||
252 | <AbsDimension x="30" y="2"/> |
||
253 | </Offset> |
||
254 | </Anchor> |
||
255 | </Anchors> |
||
256 | </FontString> |
||
257 | </Layer> |
||
258 | </Layers> |
||
259 | <Scripts> |
||
260 | <OnClick> |
||
261 | SA_ToggleOption("CheckNearest"); |
||
262 | </OnClick> |
||
263 | <OnEnter> |
||
264 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
265 | GameTooltip:SetText("Check if there is (attacking) enemy near before assisting rest of the party/raid. Recommended for PVP and melee classes. Note that this will take priority over puller and other features. Hitting assist key second time will resume normal party/raid assisting.",1,1,1,1,1); |
||
266 | </OnEnter> |
||
267 | <OnLeave> |
||
268 | GameTooltip:Hide(); |
||
269 | </OnLeave> |
||
270 | </Scripts> |
||
271 | </CheckButton> |
||
272 | |||
273 | <CheckButton name="SANearestMustBePvPCB" inherits="OptionsCheckButtonTemplate" id="7"> |
||
274 | <Anchors> |
||
275 | <Anchor point="TOPLEFT" relativeTo="SACheckNearestCB"> |
||
276 | <Offset> |
||
277 | <AbsDimension x="30" y="-40"/> |
||
278 | </Offset> |
||
279 | </Anchor> |
||
280 | </Anchors> |
||
281 | <Layers> |
||
282 | <Layer level="ARTWORK"> |
||
283 | <FontString inherits="GameFontNormal" text="Target must be PvP"> |
||
284 | <Anchors> |
||
285 | <Anchor point="LEFT"> |
||
286 | <Offset> |
||
287 | <AbsDimension x="30" y="2"/> |
||
288 | </Offset> |
||
289 | </Anchor> |
||
290 | </Anchors> |
||
291 | </FontString> |
||
292 | </Layer> |
||
293 | </Layers> |
||
294 | <Scripts> |
||
295 | <OnClick> |
||
296 | SA_ToggleOption("NearestMustBePvP"); |
||
297 | </OnClick> |
||
298 | <OnShow> |
||
299 | this:SetScale(0.8); |
||
300 | </OnShow> |
||
301 | </Scripts> |
||
302 | </CheckButton> |
||
303 | |||
304 | <CheckButton name="SANearestMustBeTargetingCB" inherits="OptionsCheckButtonTemplate" id="8"> |
||
305 | <Anchors> |
||
306 | <Anchor point="TOPLEFT" relativeTo="SANearestMustBePvPCB"> |
||
307 | <Offset> |
||
308 | <AbsDimension x="0" y="-25"/> |
||
309 | </Offset> |
||
310 | </Anchor> |
||
311 | </Anchors> |
||
312 | <Layers> |
||
313 | <Layer level="ARTWORK"> |
||
314 | <FontString inherits="GameFontNormal" text="Must be targetting me"> |
||
315 | <Anchors> |
||
316 | <Anchor point="LEFT"> |
||
317 | <Offset> |
||
318 | <AbsDimension x="30" y="2"/> |
||
319 | </Offset> |
||
320 | </Anchor> |
||
321 | </Anchors> |
||
322 | </FontString> |
||
323 | </Layer> |
||
324 | </Layers> |
||
325 | <Scripts> |
||
326 | <OnClick> |
||
327 | SA_ToggleOption("NearestMustBeTargetting"); |
||
328 | </OnClick> |
||
329 | <OnShow> |
||
330 | this:SetScale(0.8); |
||
331 | </OnShow> |
||
332 | </Scripts> |
||
333 | </CheckButton> |
||
334 | |||
335 | <CheckButton name="SAAutoAssistCB" inherits="OptionsCheckButtonTemplate" id="9"> |
||
336 | <Anchors> |
||
337 | <Anchor point="TOPLEFT" relativeTo="SACheckNearestCB"> |
||
338 | <Offset> |
||
339 | <AbsDimension x="0" y="-100"/> |
||
340 | </Offset> |
||
341 | </Anchor> |
||
342 | </Anchors> |
||
343 | <Layers> |
||
344 | <Layer level="ARTWORK"> |
||
345 | <FontString inherits="GameFontNormal" text="Auto assist with spell"> |
||
346 | <Anchors> |
||
347 | <Anchor point="LEFT"> |
||
348 | <Offset> |
||
349 | <AbsDimension x="30" y="2"/> |
||
350 | </Offset> |
||
351 | </Anchor> |
||
352 | </Anchors> |
||
353 | </FontString> |
||
354 | </Layer> |
||
355 | </Layers> |
||
356 | <Scripts> |
||
357 | <OnClick> |
||
358 | SA_ToggleOption("AutoAssist"); |
||
359 | SA_OPTIONS.AutoAttackWhineIgnored = false; |
||
360 | </OnClick> |
||
361 | <OnEnter> |
||
362 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
363 | GameTooltip:SetText("On successfull assist spell below will be cast on target.",1,1,1,1,1); |
||
364 | </OnEnter> |
||
365 | <OnLeave> |
||
366 | GameTooltip:Hide(); |
||
367 | </OnLeave> |
||
368 | </Scripts> |
||
369 | </CheckButton> |
||
370 | |||
371 | <Button name="SAAssistWithSlot" inherits="SpellSlotTemplate" id="10"> |
||
372 | <Anchors> |
||
373 | <Anchor point="CENTER" relativeTo="SAAutoAssistCB" relativePoint="CENTER"> |
||
374 | <Offset> |
||
375 | <AbsDimension x="180" y="0"/> |
||
376 | </Offset> |
||
377 | </Anchor> |
||
378 | </Anchors> |
||
379 | <Layers> |
||
380 | <Layer level="ARTWORK"> |
||
381 | <FontString inherits="GameFontNormal" name="SAAssistText" text="click to open spellbook"> |
||
382 | <Color r="1" g="1" b="1"/> |
||
383 | <Anchors> |
||
384 | <Anchor point="LEFT"> |
||
385 | <Offset> |
||
386 | <AbsDimension x="50" y="2"/> |
||
387 | </Offset> |
||
388 | </Anchor> |
||
389 | </Anchors> |
||
390 | </FontString> |
||
391 | </Layer> |
||
392 | </Layers> |
||
393 | <Scripts> |
||
394 | <OnEnter> |
||
395 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
396 | if (not CursorHasSpell()) then |
||
397 | GameTooltip:SetText("Click to open spellbook.",1,1,1,1,1); |
||
398 | end |
||
399 | </OnEnter> |
||
400 | <OnLeave> |
||
401 | GameTooltip:Hide(); |
||
402 | </OnLeave> |
||
403 | </Scripts> |
||
404 | </Button> |
||
405 | |||
406 | <CheckButton name="SAAutoPetAttackCB" inherits="OptionsCheckButtonTemplate" id="10"> |
||
407 | <Anchors> |
||
408 | <Anchor point="TOPLEFT" relativeTo="SAAutoAssistCB"> |
||
409 | <Offset> |
||
410 | <AbsDimension x="0" y="-30"/> |
||
411 | </Offset> |
||
412 | </Anchor> |
||
413 | </Anchors> |
||
414 | <Layers> |
||
415 | <Layer level="ARTWORK"> |
||
416 | <FontString inherits="GameFontNormal" text="Auto assist with pet"> |
||
417 | <Anchors> |
||
418 | <Anchor point="LEFT"> |
||
419 | <Offset> |
||
420 | <AbsDimension x="30" y="2"/> |
||
421 | </Offset> |
||
422 | </Anchor> |
||
423 | </Anchors> |
||
424 | </FontString> |
||
425 | </Layer> |
||
426 | </Layers> |
||
427 | <Scripts> |
||
428 | <OnClick> |
||
429 | SA_ToggleOption("AutoPetAttack"); |
||
430 | </OnClick> |
||
431 | <OnEnter> |
||
432 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
433 | GameTooltip:SetText("On successfull assist attack target with pet.",1,1,1,1,1); |
||
434 | </OnEnter> |
||
435 | <OnLeave> |
||
436 | GameTooltip:Hide(); |
||
437 | </OnLeave> |
||
438 | </Scripts> |
||
439 | </CheckButton> |
||
440 | |||
441 | <CheckButton name="SAAutoPetAttackBusyCB" inherits="OptionsCheckButtonTemplate" id="10"> |
||
442 | <Anchors> |
||
443 | <Anchor point="TOPLEFT" relativeTo="SAAutoPetAttackCB"> |
||
444 | <Offset> |
||
445 | <AbsDimension x="30" y="-40"/> |
||
446 | </Offset> |
||
447 | </Anchor> |
||
448 | </Anchors> |
||
449 | <Layers> |
||
450 | <Layer level="ARTWORK"> |
||
451 | <FontString inherits="GameFontNormal" text="Assist even if pet is busy"> |
||
452 | <Anchors> |
||
453 | <Anchor point="LEFT"> |
||
454 | <Offset> |
||
455 | <AbsDimension x="30" y="2"/> |
||
456 | </Offset> |
||
457 | </Anchor> |
||
458 | </Anchors> |
||
459 | </FontString> |
||
460 | </Layer> |
||
461 | </Layers> |
||
462 | <Scripts> |
||
463 | <OnClick> |
||
464 | SA_ToggleOption("AutoPetAttackBusy"); |
||
465 | </OnClick> |
||
466 | <OnEnter> |
||
467 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
468 | GameTooltip:SetText("Attack even if pet is already busy.",1,1,1,1,1); |
||
469 | </OnEnter> |
||
470 | <OnLeave> |
||
471 | GameTooltip:Hide(); |
||
472 | </OnLeave> |
||
473 | <OnShow> |
||
474 | this:SetScale(0.8); |
||
475 | </OnShow> |
||
476 | </Scripts> |
||
477 | </CheckButton> |
||
478 | |||
479 | |||
480 | <!-- class order frame --> |
||
481 | <Frame name="ClassOrderFrame"> |
||
482 | <Size> |
||
483 | <AbsDimension x="150" y="205"/> |
||
484 | </Size> |
||
485 | <Anchors> |
||
486 | <Anchor point="TOPRIGHT" relativeTo="SAOptionsFrame"> |
||
487 | <Offset> |
||
488 | <AbsDimension x="-30" y="-30"/> |
||
489 | </Offset> |
||
490 | </Anchor> |
||
491 | </Anchors> |
||
492 | <Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
493 | <EdgeSize> |
||
494 | <AbsValue val="16"/> |
||
495 | </EdgeSize> |
||
496 | <TileSize> |
||
497 | <AbsValue val="16"/> |
||
498 | </TileSize> |
||
499 | <BackgroundInsets> |
||
500 | <AbsInset left="5" right="5" top="5" bottom="5"/> |
||
501 | </BackgroundInsets> |
||
502 | </Backdrop> |
||
503 | <Layers> |
||
504 | <Layer level="BACKGROUND"> |
||
505 | <FontString name="$parentInfo" inherits="GameFontNormalSmall" justifyH="LEFT" text="Assist in following order"> |
||
506 | <Color r="1" g="1" b="1"/> |
||
507 | <Size> |
||
508 | <AbsDimension x="150" y="0"/> |
||
509 | </Size> |
||
510 | <Anchors> |
||
511 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="ClassOrderFrame"> |
||
512 | <Offset> |
||
513 | <AbsDimension x="10" y="-10"/> |
||
514 | </Offset> |
||
515 | </Anchor> |
||
516 | </Anchors> |
||
517 | </FontString> |
||
518 | </Layer> |
||
519 | </Layers> |
||
520 | |||
521 | <Frames> |
||
522 | <Frame name="$parentClass1" id="21" inherits="SAClassOrderTemplate"> |
||
523 | <Anchors> |
||
524 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parentInfo"> |
||
525 | <Offset> |
||
526 | <AbsDimension x="0" y="-15"/> |
||
527 | </Offset> |
||
528 | </Anchor> |
||
529 | </Anchors> |
||
530 | </Frame> |
||
531 | |||
532 | <Frame name="$parentClass2" id="22" inherits="SAClassOrderTemplate"> |
||
533 | <Anchors> |
||
534 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentClass1"> |
||
535 | <Offset> |
||
536 | <AbsDimension x="0" y="-3"/> |
||
537 | </Offset> |
||
538 | </Anchor> |
||
539 | </Anchors> |
||
540 | </Frame> |
||
541 | <Frame name="$parentClass3" id="23" inherits="SAClassOrderTemplate"> |
||
542 | <Anchors> |
||
543 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentClass2"> |
||
544 | <Offset> |
||
545 | <AbsDimension x="0" y="-3"/> |
||
546 | </Offset> |
||
547 | </Anchor> |
||
548 | </Anchors> |
||
549 | </Frame> |
||
550 | <Frame name="$parentClass4" id="24" inherits="SAClassOrderTemplate"> |
||
551 | <Anchors> |
||
552 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentClass3"> |
||
553 | <Offset> |
||
554 | <AbsDimension x="0" y="-3"/> |
||
555 | </Offset> |
||
556 | </Anchor> |
||
557 | </Anchors> |
||
558 | </Frame> |
||
559 | <Frame name="$parentClass5" id="25" inherits="SAClassOrderTemplate"> |
||
560 | <Anchors> |
||
561 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentClass4"> |
||
562 | <Offset> |
||
563 | <AbsDimension x="0" y="-3"/> |
||
564 | </Offset> |
||
565 | </Anchor> |
||
566 | </Anchors> |
||
567 | </Frame> |
||
568 | <Frame name="$parentClass6" id="26" inherits="SAClassOrderTemplate"> |
||
569 | <Anchors> |
||
570 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentClass5"> |
||
571 | <Offset> |
||
572 | <AbsDimension x="0" y="-3"/> |
||
573 | </Offset> |
||
574 | </Anchor> |
||
575 | </Anchors> |
||
576 | </Frame> |
||
577 | <Frame name="$parentClass7" id="27" inherits="SAClassOrderTemplate"> |
||
578 | <Anchors> |
||
579 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentClass6"> |
||
580 | <Offset> |
||
581 | <AbsDimension x="0" y="-3"/> |
||
582 | </Offset> |
||
583 | </Anchor> |
||
584 | </Anchors> |
||
585 | </Frame> |
||
586 | <Frame name="$parentClass8" id="28" inherits="SAClassOrderTemplate"> |
||
587 | <Anchors> |
||
588 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentClass7"> |
||
589 | <Offset> |
||
590 | <AbsDimension x="0" y="-3"/> |
||
591 | </Offset> |
||
592 | </Anchor> |
||
593 | </Anchors> |
||
594 | </Frame> |
||
595 | <Frame name="$parentClass9" id="29" inherits="SAClassOrderTemplate"> |
||
596 | <Anchors> |
||
597 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentClass8"> |
||
598 | <Offset> |
||
599 | <AbsDimension x="0" y="-3"/> |
||
600 | </Offset> |
||
601 | </Anchor> |
||
602 | </Anchors> |
||
603 | </Frame> |
||
604 | </Frames> |
||
605 | </Frame> |
||
606 | |||
607 | <!-- buttons --> |
||
608 | |||
609 | <Button name="SAClearPuller" inherits="OptionsButtonTemplate" text="Clear"> |
||
610 | <Size> |
||
611 | <AbsDimension x="50" y="21"/> |
||
612 | </Size> |
||
613 | <Anchors> |
||
614 | <Anchor point="BOTTOMLEFT" relativeTo="SAOptionsFrame"> |
||
615 | <Offset> |
||
616 | <AbsDimension x="22" y="25"/> |
||
617 | </Offset> |
||
618 | </Anchor> |
||
619 | </Anchors> |
||
620 | <Scripts> |
||
621 | <OnClick> |
||
622 | <!-- quick'n dirty way to clear it --> |
||
623 | ClearTarget(); |
||
624 | SA_SetPuller("target"); |
||
625 | </OnClick> |
||
626 | </Scripts> |
||
627 | </Button> |
||
628 | |||
629 | <Button name="SA_CurrentPullerButton"> |
||
630 | <Size> |
||
631 | <AbsDimension x="200" y="21"/> |
||
632 | </Size> |
||
633 | <Anchors> |
||
634 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="SAClearPuller"> |
||
635 | <Offset> |
||
636 | <AbsDimension x="10" y="0"/> |
||
637 | </Offset> |
||
638 | </Anchor> |
||
639 | </Anchors> |
||
640 | <Layers> |
||
641 | <Layer level="OVERLAY"> |
||
642 | <FontString inherits="GameFontNormal" justifyH="LEFT" name="SACurrentPuller"> |
||
643 | <Color r="0" g="0.8" b="1"/> |
||
644 | <Anchors> |
||
645 | <Anchor point="LEFT"> |
||
646 | <Offset> |
||
647 | <AbsDimension x="0" y="0"/> |
||
648 | </Offset> |
||
649 | </Anchor> |
||
650 | </Anchors> |
||
651 | </FontString> |
||
652 | </Layer> |
||
653 | </Layers> |
||
654 | <Scripts> |
||
655 | <OnEnter> |
||
656 | SA_PullerText_OnEnter(this); |
||
657 | </OnEnter> |
||
658 | <OnLeave> |
||
659 | SA_PullerText_OnLeave(); |
||
660 | </OnLeave> |
||
661 | </Scripts> |
||
662 | </Button> |
||
663 | |||
664 | </Frames> |
||
665 | |||
666 | <Scripts> |
||
667 | <OnShow> |
||
668 | SA_Options_OnShow(); |
||
669 | </OnShow> |
||
670 | <OnHide> |
||
671 | SA_Options_OnHide(); |
||
672 | SA_CheckForAssistAttack(); |
||
673 | </OnHide> |
||
674 | </Scripts> |
||
675 | </Frame> |
||
676 | |||
677 | </Ui> |