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="localization.lua"/> |
||
3 | <Script file="BGBuddy.lua"/> |
||
4 | <Include file="UIPanelTemplates.xml"/> |
||
5 | <Include file="UIDropDownMenuTemplates.xml"/> |
||
6 | |||
7 | <!-- Virtual Definitions --> |
||
8 | <Button name="virtual_BGBuddyCustomizeFrameTabTemplate" inherits="CharacterFrameTabButtonTemplate" virtual="true"> |
||
9 | <Scripts> |
||
10 | <OnClick> |
||
11 | PanelTemplates_Tab_OnClick(BGBuddy_ConfigPanel_Customize_BGTabFrame); |
||
12 | </OnClick> |
||
13 | </Scripts> |
||
14 | </Button> |
||
15 | |||
16 | <!-- Customize line checkbox template --> |
||
17 | <CheckButton name="virtual_BGBuddy_ConfigPanel_Customize_CheckTemplate" inherits="UICheckButtonTemplate" virtual="true"> |
||
18 | <Size> |
||
19 | <AbsDimension x="24" y="24"/> |
||
20 | </Size> |
||
21 | <Scripts> |
||
22 | <OnClick> |
||
23 | if ( this:GetChecked() ) then |
||
24 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
25 | else |
||
26 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
27 | end |
||
28 | </OnClick> |
||
29 | <OnEnter> |
||
30 | GameTooltip:SetOwner(this, "ANCHOR_LEFT"); |
||
31 | GameTooltip:SetBackdropColor(0.0, 0.0, 0.5); |
||
32 | GameTooltip:SetText("Activate the contents of this line when checked.", 1.0, 1.0, 1.0, 1.0, 1); |
||
33 | </OnEnter> |
||
34 | <OnLeave> |
||
35 | GameTooltip:Hide(); |
||
36 | </OnLeave> |
||
37 | </Scripts> |
||
38 | </CheckButton> |
||
39 | |||
40 | <!-- Virtual Sub-frame definition --> |
||
41 | <Frame name="virtual_BGBuddy_ConfigPanel_Customize_BoxTemplate" parent="BGBuddy_ConfigPanel_CustomizeDisplay" virtual="true"> |
||
42 | <Size> |
||
43 | <AbsDimension x="330" y="129"/> |
||
44 | </Size> |
||
45 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
46 | <EdgeSize> |
||
47 | <AbsValue val="8"/> |
||
48 | </EdgeSize> |
||
49 | <TileSize> |
||
50 | <AbsValue val="8"/> |
||
51 | </TileSize> |
||
52 | <BackgroundInsets> |
||
53 | <AbsInset left="2" right="2" top="2" bottom="2"/> |
||
54 | </BackgroundInsets> |
||
55 | </Backdrop> |
||
56 | <Scripts> |
||
57 | <OnLoad> |
||
58 | this:SetFrameLevel(2); |
||
59 | this:SetBackdropColor(0.3,0.3,0.3,0.8); |
||
60 | this:SetBackdropBorderColor(1,1,1,0.5); |
||
61 | </OnLoad> |
||
62 | </Scripts> |
||
63 | </Frame> |
||
64 | |||
65 | <!-- Virtual customize tab frame --> |
||
66 | <Frame name="BGBuddy_ConfigPanel_Customize_BG" parent="BGBuddy_ConfigPanel_CustomizeDisplay" virtual="true"> |
||
67 | <Size> |
||
68 | <AbsDimension x="330" y="129"/> |
||
69 | </Size> |
||
70 | <Backdrop bgFile="Interface\Stationery\StationeryTest1" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="false"> |
||
71 | <EdgeSize> |
||
72 | <AbsValue val="8"/> |
||
73 | </EdgeSize> |
||
74 | <TileSize> |
||
75 | <AbsValue val="8"/> |
||
76 | </TileSize> |
||
77 | <BackgroundInsets> |
||
78 | <AbsInset left="2" right="2" top="2" bottom="2"/> |
||
79 | </BackgroundInsets> |
||
80 | </Backdrop> |
||
81 | <Scripts> |
||
82 | <OnLoad> |
||
83 | this:SetFrameLevel(2); |
||
84 | this:SetBackdropColor(0.3,0.3,0.3,0.8); |
||
85 | this:SetBackdropBorderColor(1,1,1,0.5); |
||
86 | </OnLoad> |
||
87 | </Scripts> |
||
88 | <Layers> |
||
89 | <Layer level="ARTWORK"> |
||
90 | <!-- BG LABELS --> |
||
91 | <FontString name="AVLabel" inherits="GameFontNormal" text="Alterac Valley Settings" hidden="false" > |
||
92 | <Anchors> |
||
93 | <Anchor point="LEFT" relativePoint="TOPLEFT" > |
||
94 | <Offset> |
||
95 | <AbsDimension x="9" y="8" /> |
||
96 | </Offset> |
||
97 | </Anchor> |
||
98 | </Anchors> |
||
99 | </FontString> |
||
100 | <FontString name="WSGLabel" inherits="GameFontNormal" text="Warsong Gulch Settings" hidden="true"> |
||
101 | <Anchors> |
||
102 | <Anchor point="LEFT" relativePoint="TOPLEFT" > |
||
103 | <Offset> |
||
104 | <AbsDimension x="9" y="8" /> |
||
105 | </Offset> |
||
106 | </Anchor> |
||
107 | </Anchors> |
||
108 | </FontString> |
||
109 | <FontString name="ABLabel" inherits="GameFontNormal" text="Arathi Basin Settings" hidden="true"> |
||
110 | <Anchors> |
||
111 | <Anchor point="LEFT" relativePoint="TOPLEFT" > |
||
112 | <Offset> |
||
113 | <AbsDimension x="9" y="8" /> |
||
114 | </Offset> |
||
115 | </Anchor> |
||
116 | </Anchors> |
||
117 | </FontString> |
||
118 | <!-- END BG LABELS --> |
||
119 | </Layer> |
||
120 | </Layers> |
||
121 | <Frames> |
||
122 | <ScrollFrame name="ConfigureScrollFrame" inherits="UIPanelScrollFrameTemplate"> |
||
123 | <Size> |
||
124 | <AbsDimension x="320" y="129"/> |
||
125 | </Size> |
||
126 | <Anchors> |
||
127 | <Anchor point="TOPLEFT"> |
||
128 | <Offset> |
||
129 | <AbsDimension x="0" y="0"/> |
||
130 | </Offset> |
||
131 | </Anchor> |
||
132 | </Anchors> |
||
133 | <Layers> |
||
134 | <Layer level="ARTWORK"> |
||
135 | <Texture name="$parentTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar"> |
||
136 | <Size> |
||
137 | <AbsDimension x="31" y="256"/> |
||
138 | </Size> |
||
139 | <Anchors> |
||
140 | <Anchor point="TOP" relativeTo="$parentScrollBarScrollUpButton"> |
||
141 | <Offset> |
||
142 | <AbsDimension x="0" y="5"/> |
||
143 | </Offset> |
||
144 | </Anchor> |
||
145 | </Anchors> |
||
146 | <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/> |
||
147 | </Texture> |
||
148 | <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar"> |
||
149 | <Size> |
||
150 | <AbsDimension x="31" y="106"/> |
||
151 | </Size> |
||
152 | <Anchors> |
||
153 | <Anchor point="BOTTOM" relativeTo="$parentScrollBarScrollDownButton"> |
||
154 | <Offset> |
||
155 | <AbsDimension x="0" y="-2"/> |
||
156 | </Offset> |
||
157 | </Anchor> |
||
158 | </Anchors> |
||
159 | <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/> |
||
160 | </Texture> |
||
161 | </Layer> |
||
162 | </Layers> |
||
163 | <ScrollChild> |
||
164 | <Frame name="ConfigureScrollChildFrame" enableMouse="true"> |
||
165 | <Size> |
||
166 | <AbsDimension x="320" y="120"/> |
||
167 | </Size> |
||
168 | <Anchors> |
||
169 | <Anchor point="TOPLEFT"> |
||
170 | <Offset> |
||
171 | <AbsDimension x="0" y="0"/> |
||
172 | </Offset> |
||
173 | </Anchor> |
||
174 | </Anchors> |
||
175 | <Frames> |
||
176 | <EditBox name="ConfigureBodyEditBox" letters="500" multiLine="true" enableMouse="true" autoFocus="false"> |
||
177 | <Size> |
||
178 | <AbsDimension x="270" y="200"/> |
||
179 | </Size> |
||
180 | <Anchors> |
||
181 | <Anchor point="TOPLEFT"> |
||
182 | <Offset> |
||
183 | <AbsDimension x="20" y="-10"/> |
||
184 | </Offset> |
||
185 | </Anchor> |
||
186 | </Anchors> |
||
187 | <Scripts> |
||
188 | <OnEscapePressed> |
||
189 | this:ClearFocus(); |
||
190 | </OnEscapePressed> |
||
191 | <OnTextChanged> |
||
192 | local scrollBar = getglobal(this:GetParent():GetParent():GetName().."ScrollBar") |
||
193 | this:GetParent():GetParent():UpdateScrollChildRect(); |
||
194 | local min; |
||
195 | local max; |
||
196 | min, max = scrollBar:GetMinMaxValues(); |
||
197 | if ( max > 0 and (this.max ~= max) ) then |
||
198 | this.max = max; |
||
199 | scrollBar:SetValue(max); |
||
200 | end |
||
201 | </OnTextChanged> |
||
202 | <OnClick> |
||
203 | this:SetFocus(); |
||
204 | </OnClick> |
||
205 | </Scripts> |
||
206 | <FontString inherits="GameFontNormal" justifyH="LEFT" /> |
||
207 | </EditBox> |
||
208 | </Frames> |
||
209 | </Frame> |
||
210 | <OnClick> |
||
211 | ConfigureBodyEditBox:SetFocus(); |
||
212 | </OnClick> |
||
213 | </ScrollChild> |
||
214 | </ScrollFrame> |
||
215 | </Frames> |
||
216 | </Frame> |
||
217 | |||
218 | |||
219 | <!-- --> |
||
220 | <Slider name="virtual_BGBuddy_SliderTemplate" orientation="HORIZONTAL" virtual="true" hidden="true"> |
||
221 | <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true"> |
||
222 | <EdgeSize> |
||
223 | <AbsValue val="8" /> |
||
224 | </EdgeSize> |
||
225 | <TileSize> |
||
226 | <AbsValue val="8" /> |
||
227 | </TileSize> |
||
228 | <BackgroundInsets> |
||
229 | <AbsInset left="3" right="3" top="6" bottom="6" /> |
||
230 | </BackgroundInsets> |
||
231 | </Backdrop> |
||
232 | <Size> |
||
233 | <AbsDimension x="135" y="17" /> |
||
234 | </Size> |
||
235 | <Layers> |
||
236 | <Layer level="BACKGROUND"> |
||
237 | <Texture name="BGBuddy_ConfigPanel_SliderBackground1" setAllPoints="true"> |
||
238 | <Color r="0" g="1" b="0" a="0.0" /> |
||
239 | </Texture> |
||
240 | </Layer> |
||
241 | <Layer level="ARTWORK"> |
||
242 | <FontString name="$parentHeading" inherits="GameFontNormalSmall" text="Heading"> |
||
243 | <Anchors> |
||
244 | <Anchor point="BOTTOM" relativePoint="TOP"> |
||
245 | <Offset> |
||
246 | <AbsDimension x="2" y="0" /> |
||
247 | </Offset> |
||
248 | </Anchor> |
||
249 | </Anchors> |
||
250 | </FontString> |
||
251 | <FontString name="$parentValueText" inherits="GameFontNormalSmall" text="Value"> |
||
252 | <Color r=".4" g=".6" b="1" a="1" /> |
||
253 | <Anchors> |
||
254 | <Anchor point="BOTTOM" relativePoint="BOTTOM"> |
||
255 | <Offset> |
||
256 | <AbsDimension x="2" y="-11" /> |
||
257 | </Offset> |
||
258 | </Anchor> |
||
259 | </Anchors> |
||
260 | </FontString> |
||
261 | <FontString name="$parentLeftText" inherits="GameFontHighlightSmall" text="0%"> |
||
262 | <Anchors> |
||
263 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT"> |
||
264 | <Offset> |
||
265 | <AbsDimension x="2" y="3" /> |
||
266 | </Offset> |
||
267 | </Anchor> |
||
268 | </Anchors> |
||
269 | </FontString> |
||
270 | <FontString name="$parentRightText" inherits="GameFontHighlightSmall" text="100%"> |
||
271 | <Anchors> |
||
272 | <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT"> |
||
273 | <Offset> |
||
274 | <AbsDimension x="-2" y="3" /> |
||
275 | </Offset> |
||
276 | </Anchor> |
||
277 | </Anchors> |
||
278 | </FontString> |
||
279 | </Layer> |
||
280 | </Layers> |
||
281 | <Scripts> |
||
282 | <OnLeave> |
||
283 | GameTooltip:Hide(); |
||
284 | </OnLeave> |
||
285 | </Scripts> |
||
286 | <ThumbTexture file="Interface\Buttons\UI-SliderBar-Button-Horizontal"> |
||
287 | <Size> |
||
288 | <AbsDimension x="32" y="32" /> |
||
289 | </Size> |
||
290 | </ThumbTexture> |
||
291 | </Slider> |
||
292 | |||
293 | <!-- Non BG Config Frame --> |
||
294 | <Frame name="BGBuddy_ConfigPanel_Customize_NonBG" inherits="virtual_BGBuddy_ConfigPanel_Customize_BoxTemplate" virtual="true"> |
||
295 | <Layers> |
||
296 | <Layer level="ARTWORK"> |
||
297 | <!-- LABELS --> |
||
298 | <FontString name="NotQueueLabel" inherits="GameFontNormal" text="Not Queued Settings" hidden="true"> |
||
299 | <Anchors> |
||
300 | <Anchor point="LEFT" relativePoint="TOPLEFT" > |
||
301 | <Offset> |
||
302 | <AbsDimension x="10" y="10" /> |
||
303 | </Offset> |
||
304 | </Anchor> |
||
305 | </Anchors> |
||
306 | </FontString> |
||
307 | <FontString name="QueueLabel" inherits="GameFontNormal" text="Queued Settings" hidden="true"> |
||
308 | <Anchors> |
||
309 | <Anchor point="LEFT" relativePoint="TOPLEFT" > |
||
310 | <Offset> |
||
311 | <AbsDimension x="10" y="10" /> |
||
312 | </Offset> |
||
313 | </Anchor> |
||
314 | </Anchors> |
||
315 | </FontString> |
||
316 | </Layer> |
||
317 | </Layers> |
||
318 | </Frame> |
||
319 | |||
320 | <Button name="virtual_BGBuddy_TinyTabButtonTemplate" virtual="true" hidden="true"> |
||
321 | <Size> |
||
322 | <AbsDimension x="128" y="64"/> |
||
323 | </Size> |
||
324 | <HitRectInsets> |
||
325 | <AbsInset left="15" right="14" top="13" bottom="15"/> |
||
326 | </HitRectInsets> |
||
327 | <Scripts> |
||
328 | <!--OnClick> |
||
329 | ToggleSpellBook(this.bookType); |
||
330 | </OnClick --> |
||
331 | <!--OnEnter> |
||
332 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
333 | GameTooltip:SetText(MicroButtonTooltipText(this:GetText(), this.binding), 1.0,1.0,1.0 ); |
||
334 | </OnEnter --> |
||
335 | <OnLeave> |
||
336 | GameTooltip:Hide(); |
||
337 | </OnLeave> |
||
338 | </Scripts> |
||
339 | <NormalText inherits="GameFontNormalSmall"> |
||
340 | <Anchors> |
||
341 | <Anchor point="CENTER"> |
||
342 | <Offset> |
||
343 | <AbsDimension x="0" y="3"/> |
||
344 | </Offset> |
||
345 | </Anchor> |
||
346 | </Anchors> |
||
347 | </NormalText> |
||
348 | <HighlightText inherits="GameFontHighlightSmall"> |
||
349 | <Anchors> |
||
350 | <Anchor point="CENTER"> |
||
351 | <Offset> |
||
352 | <AbsDimension x="0" y="3"/> |
||
353 | </Offset> |
||
354 | </Anchor> |
||
355 | </Anchors> |
||
356 | </HighlightText> |
||
357 | <DisabledText inherits="GameFontHighlightSmall"> |
||
358 | <Anchors> |
||
359 | <Anchor point="CENTER"> |
||
360 | <Offset> |
||
361 | <AbsDimension x="0" y="6"/> |
||
362 | </Offset> |
||
363 | </Anchor> |
||
364 | </Anchors> |
||
365 | </DisabledText> |
||
366 | <NormalTexture file="Interface\SpellBook\UI-SpellBook-Tab-Unselected"/> |
||
367 | <HighlightTexture file="Interface\SpellBook\UI-SpellbookPanel-Tab-Highlight"/> |
||
368 | </Button> |
||
369 | |||
370 | <!-- START VIRTUAL LEGEND FRAME --> |
||
371 | <Frame name="virtual_BGBuddy_ConfigPanel_Customize_Legend" inherits="virtual_BGBuddy_ConfigPanel_Customize_BoxTemplate" virtual="true"> |
||
372 | <Size> |
||
373 | <AbsDimension x="330" y="139"/> |
||
374 | </Size> |
||
375 | <Layers> |
||
376 | <Layer level="OVERLAY"> |
||
377 | <FontString inherits="GameFontNormal" text="Variable Reference"> |
||
378 | <Anchors> |
||
379 | <Anchor point="LEFT" relativePoint="TOPLEFT" > |
||
380 | <Offset> |
||
381 | <AbsDimension x="9" y="8" /> |
||
382 | </Offset> |
||
383 | </Anchor> |
||
384 | </Anchors> |
||
385 | </FontString> |
||
386 | </Layer> |
||
387 | </Layers> |
||
388 | </Frame> |
||
389 | |||
390 | <!-- LEGEND ROW 1 KEYS --> |
||
391 | <Frame name="row1Key" parent="virtual_BGBuddy_ConfigPanel_Customize_Legend" virtual="true"> |
||
392 | <Layers> |
||
393 | <Layer level="OVERLAY"> |
||
394 | <FontString name="row1Key1" inherits="GameFontNormalSmall" text="~S"> |
||
395 | <Anchors> |
||
396 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
397 | <Offset> |
||
398 | <AbsDimension x="0" y="-10" /> |
||
399 | </Offset> |
||
400 | </Anchor> |
||
401 | </Anchors> |
||
402 | </FontString> |
||
403 | <FontString name="row1Key2" inherits="GameFontNormalSmall" text="~K"> |
||
404 | <Anchors> |
||
405 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row1Key1"> |
||
406 | <Offset> |
||
407 | <AbsDimension x="0" y="-20" /> |
||
408 | </Offset> |
||
409 | </Anchor> |
||
410 | </Anchors> |
||
411 | </FontString> |
||
412 | <FontString name="row1Key3" inherits="GameFontNormalSmall" text="~KB"> |
||
413 | <Anchors> |
||
414 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row1Key2"> |
||
415 | <Offset> |
||
416 | <AbsDimension x="0" y="-20" /> |
||
417 | </Offset> |
||
418 | </Anchor> |
||
419 | </Anchors> |
||
420 | </FontString> |
||
421 | <FontString name="row1Key4" inherits="GameFontNormalSmall" text="~LK"> |
||
422 | <Anchors> |
||
423 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row1Key3" > |
||
424 | <Offset> |
||
425 | <AbsDimension x="0" y="-20" /> |
||
426 | </Offset> |
||
427 | </Anchor> |
||
428 | </Anchors> |
||
429 | </FontString> |
||
430 | <FontString name="row1Key5" inherits="GameFontNormalSmall" text="~D"> |
||
431 | <Anchors> |
||
432 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row1Key4" > |
||
433 | <Offset> |
||
434 | <AbsDimension x="0" y="-20" /> |
||
435 | </Offset> |
||
436 | </Anchor> |
||
437 | </Anchors> |
||
438 | </FontString> |
||
439 | <FontString name="row1Key6" inherits="GameFontNormalSmall" text="~SH"> |
||
440 | <Anchors> |
||
441 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row1Key5" > |
||
442 | <Offset> |
||
443 | <AbsDimension x="0" y="-20" /> |
||
444 | </Offset> |
||
445 | </Anchor> |
||
446 | </Anchors> |
||
447 | </FontString> |
||
448 | |||
449 | <FontString name="row1Key7" inherits="GameFontNormalSmall" text="~KH"> |
||
450 | <Anchors> |
||
451 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row1Key6" > |
||
452 | <Offset> |
||
453 | <AbsDimension x="0" y="-20" /> |
||
454 | </Offset> |
||
455 | </Anchor> |
||
456 | </Anchors> |
||
457 | </FontString> |
||
458 | <FontString name="row1Key8" inherits="GameFontNormalSmall" text="~BH"> |
||
459 | <Anchors> |
||
460 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row1Key7" > |
||
461 | <Offset> |
||
462 | <AbsDimension x="0" y="-20" /> |
||
463 | </Offset> |
||
464 | </Anchor> |
||
465 | </Anchors> |
||
466 | </FontString> |
||
467 | <FontString name="row1Key9" inherits="GameFontNormalSmall" text="~LKH"> |
||
468 | <Anchors> |
||
469 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row1Key8" > |
||
470 | <Offset> |
||
471 | <AbsDimension x="0" y="-20" /> |
||
472 | </Offset> |
||
473 | </Anchor> |
||
474 | </Anchors> |
||
475 | </FontString> |
||
476 | </Layer> |
||
477 | </Layers> |
||
478 | </Frame> |
||
479 | |||
480 | <!-- ROW 1 EQUAL SIGNS --> |
||
481 | <Frame name="row1Equals" parent="virtual_BGBuddy_ConfigPanel_Customize_Legend" virtual="true"> |
||
482 | <Layers> |
||
483 | <Layer level="OVERLAY"> |
||
484 | <FontString name="row1Equals1" inherits="GameFontNormalSmall" text="="> |
||
485 | <Anchors> |
||
486 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
487 | <Offset> |
||
488 | <AbsDimension x="0" y="-10" /> |
||
489 | </Offset> |
||
490 | </Anchor> |
||
491 | </Anchors> |
||
492 | <Color r="0.5" g="0.5" b="0.5"/> |
||
493 | </FontString> |
||
494 | <FontString name="row1Equals2" inherits="GameFontNormalSmall" text="="> |
||
495 | <Anchors> |
||
496 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row1Equals1" > |
||
497 | <Offset> |
||
498 | <AbsDimension x="0" y="-20" /> |
||
499 | </Offset> |
||
500 | </Anchor> |
||
501 | </Anchors> |
||
502 | <Color r="0.5" g="0.5" b="0.5"/> |
||
503 | </FontString> |
||
504 | <FontString name="row1Equals3" inherits="GameFontNormalSmall" text="="> |
||
505 | <Anchors> |
||
506 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row1Equals2"> |
||
507 | <Offset> |
||
508 | <AbsDimension x="0" y="-20" /> |
||
509 | </Offset> |
||
510 | </Anchor> |
||
511 | </Anchors> |
||
512 | <Color r="0.5" g="0.5" b="0.5"/> |
||
513 | </FontString> |
||
514 | <FontString name="row1Equals4" inherits="GameFontNormalSmall" text="="> |
||
515 | <Anchors> |
||
516 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row1Equals3"> |
||
517 | <Offset> |
||
518 | <AbsDimension x="0" y="-20" /> |
||
519 | </Offset> |
||
520 | </Anchor> |
||
521 | </Anchors> |
||
522 | <Color r="0.5" g="0.5" b="0.5"/> |
||
523 | </FontString> |
||
524 | <FontString name="row1Equals5" inherits="GameFontNormalSmall" text="="> |
||
525 | <Anchors> |
||
526 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row1Equals4"> |
||
527 | <Offset> |
||
528 | <AbsDimension x="0" y="-20" /> |
||
529 | </Offset> |
||
530 | </Anchor> |
||
531 | </Anchors> |
||
532 | <Color r="0.5" g="0.5" b="0.5"/> |
||
533 | </FontString> |
||
534 | <FontString name="row1Equals6" inherits="GameFontNormalSmall" text="="> |
||
535 | <Anchors> |
||
536 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row1Equals5"> |
||
537 | <Offset> |
||
538 | <AbsDimension x="0" y="-20" /> |
||
539 | </Offset> |
||
540 | </Anchor> |
||
541 | </Anchors> |
||
542 | <Color r="0.5" g="0.5" b="0.5"/> |
||
543 | </FontString> |
||
544 | <FontString name="row1Equals7" inherits="GameFontNormalSmall" text="="> |
||
545 | <Anchors> |
||
546 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row1Equals6"> |
||
547 | <Offset> |
||
548 | <AbsDimension x="0" y="-20" /> |
||
549 | </Offset> |
||
550 | </Anchor> |
||
551 | </Anchors> |
||
552 | <Color r="0.5" g="0.5" b="0.5"/> |
||
553 | </FontString> |
||
554 | <FontString name="row1Equals8" inherits="GameFontNormalSmall" text="="> |
||
555 | <Anchors> |
||
556 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row1Equals7"> |
||
557 | <Offset> |
||
558 | <AbsDimension x="0" y="-20" /> |
||
559 | </Offset> |
||
560 | </Anchor> |
||
561 | </Anchors> |
||
562 | <Color r="0.5" g="0.5" b="0.5"/> |
||
563 | </FontString> |
||
564 | <FontString name="row1Equals9" inherits="GameFontNormalSmall" text="="> |
||
565 | <Anchors> |
||
566 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row1Equals8"> |
||
567 | <Offset> |
||
568 | <AbsDimension x="0" y="-20" /> |
||
569 | </Offset> |
||
570 | </Anchor> |
||
571 | </Anchors> |
||
572 | <Color r="0.5" g="0.5" b="0.5"/> |
||
573 | </FontString> |
||
574 | </Layer> |
||
575 | </Layers> |
||
576 | </Frame> |
||
577 | |||
578 | <!-- ROW 1 LEGEND VALUES --> |
||
579 | <Frame name="row1Value" parent="virtual_BGBuddy_ConfigPanel_Customize_Legend" virtual="true"> |
||
580 | <Layers> |
||
581 | <Layer level="OVERLAY" > |
||
582 | <FontString name="row1Value1" inherits="GameFontNormalSmall" text="Standing"> |
||
583 | <Anchors> |
||
584 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
585 | <Offset> |
||
586 | <AbsDimension x="0" y="-10" /> |
||
587 | </Offset> |
||
588 | </Anchor> |
||
589 | </Anchors> |
||
590 | <Color r="1" g="1" b="1"/> |
||
591 | </FontString> |
||
592 | <FontString name="row1Value2" inherits="GameFontNormalSmall" text="Kills"> |
||
593 | <Anchors> |
||
594 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row1Value1"> |
||
595 | <Offset> |
||
596 | <AbsDimension x="0" y="-20" /> |
||
597 | </Offset> |
||
598 | </Anchor> |
||
599 | </Anchors> |
||
600 | <Color r="1" g="1" b="1"/> |
||
601 | </FontString> |
||
602 | <FontString name="row1Value3" inherits="GameFontNormalSmall" text="Killing Blows"> |
||
603 | <Anchors> |
||
604 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row1Value2"> |
||
605 | <Offset> |
||
606 | <AbsDimension x="0" y="-20" /> |
||
607 | </Offset> |
||
608 | </Anchor> |
||
609 | </Anchors> |
||
610 | <Color r="1" g="1" b="1"/> |
||
611 | </FontString> |
||
612 | <FontString name="row1Value4" inherits="GameFontNormalSmall" text="Lifetime Kills"> |
||
613 | <Anchors> |
||
614 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row1Value3"> |
||
615 | <Offset> |
||
616 | <AbsDimension x="0" y="-20" /> |
||
617 | </Offset> |
||
618 | </Anchor> |
||
619 | </Anchors> |
||
620 | <Color r="1" g="1" b="1"/> |
||
621 | </FontString> |
||
622 | <FontString name="row1Value5" inherits="GameFontNormalSmall" text="Deaths"> |
||
623 | <Anchors> |
||
624 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row1Value4"> |
||
625 | <Offset> |
||
626 | <AbsDimension x="0" y="-20" /> |
||
627 | </Offset> |
||
628 | </Anchor> |
||
629 | </Anchors> |
||
630 | <Color r="1" g="1" b="1"/> |
||
631 | </FontString> |
||
632 | <FontString name="row1Value6" inherits="GameFontNormalSmall" text="Total Honor"> |
||
633 | <Anchors> |
||
634 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row1Value5"> |
||
635 | <Offset> |
||
636 | <AbsDimension x="0" y="-20" /> |
||
637 | </Offset> |
||
638 | </Anchor> |
||
639 | </Anchors> |
||
640 | <Color r="1" g="1" b="1"/> |
||
641 | </FontString> |
||
642 | <FontString name="row1Value7" inherits="GameFontNormalSmall" text="Kill Honor"> |
||
643 | <Anchors> |
||
644 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row1Value6"> |
||
645 | <Offset> |
||
646 | <AbsDimension x="0" y="-20" /> |
||
647 | </Offset> |
||
648 | </Anchor> |
||
649 | </Anchors> |
||
650 | <Color r="1" g="1" b="1"/> |
||
651 | </FontString> |
||
652 | <FontString name="row1Value8" inherits="GameFontNormalSmall" text="Bonus Honor"> |
||
653 | <Anchors> |
||
654 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row1Value7"> |
||
655 | <Offset> |
||
656 | <AbsDimension x="0" y="-20" /> |
||
657 | </Offset> |
||
658 | </Anchor> |
||
659 | </Anchors> |
||
660 | <Color r="1" g="1" b="1"/> |
||
661 | </FontString> |
||
662 | <FontString name="row1Value9" inherits="GameFontNormalSmall" text="Last Kill Honor"> |
||
663 | <Anchors> |
||
664 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row1Value8"> |
||
665 | <Offset> |
||
666 | <AbsDimension x="0" y="-20" /> |
||
667 | </Offset> |
||
668 | </Anchor> |
||
669 | </Anchors> |
||
670 | <Color r="1" g="1" b="1"/> |
||
671 | </FontString> |
||
672 | </Layer> |
||
673 | </Layers> |
||
674 | </Frame> |
||
675 | <!-- END LEGEND FRAME --> |
||
676 | |||
677 | <!-- ROW 2 KEYS --> |
||
678 | <Frame name="row2Key" parent="virtual_BGBuddy_ConfigPanel_Customize_Legend" virtual="true" > |
||
679 | <Layers> |
||
680 | <Layer level="OVERLAY"> |
||
681 | <FontString name="row2Value8" inherits="GameFontNormalSmall" text="~BG"> |
||
682 | <Anchors> |
||
683 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
684 | <Offset> |
||
685 | <AbsDimension x="0" y="-10" /> |
||
686 | </Offset> |
||
687 | </Anchor> |
||
688 | </Anchors> |
||
689 | </FontString> |
||
690 | </Layer> |
||
691 | </Layers> |
||
692 | </Frame> |
||
693 | |||
694 | <!-- ROW 2 EQUALS --> |
||
695 | <Frame name="row2Equals" parent="virtual_BGBuddy_ConfigPanel_Customize_Legend" virtual="true"> |
||
696 | <Layers> |
||
697 | <Layer level="OVERLAY"> |
||
698 | <FontString name="row2Equals1" inherits="GameFontNormalSmall" text="="> |
||
699 | <Anchors> |
||
700 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
701 | <Offset> |
||
702 | <AbsDimension x="0" y="-10" /> |
||
703 | </Offset> |
||
704 | </Anchor> |
||
705 | </Anchors> |
||
706 | <Color r="0.5" g="0.5" b="0.5"/> |
||
707 | </FontString> |
||
708 | </Layer> |
||
709 | </Layers> |
||
710 | </Frame> |
||
711 | |||
712 | <!-- ROW 2 VALUES --> |
||
713 | <Frame name="row2Value" parent="virtual_BGBuddy_ConfigPanel_Customize_Legend" virtual="true" > |
||
714 | <Layers> |
||
715 | <Layer level="OVERLAY"> |
||
716 | <FontString inherits="GameFontNormalSmall" text="Battleground Name"> |
||
717 | <Anchors> |
||
718 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
719 | <Offset> |
||
720 | <AbsDimension x="0" y="-5" /> |
||
721 | </Offset> |
||
722 | </Anchor> |
||
723 | </Anchors> |
||
724 | <Color r="1" g="1" b="1"/> |
||
725 | </FontString> |
||
726 | </Layer> |
||
727 | </Layers> |
||
728 | </Frame> |
||
729 | |||
730 | <!-- AV SPECIFIC LEGEND --> |
||
731 | <Frame name="virtual_row2Key_AV" parent="virtual_BGBuddy_ConfigPanel_Customize_Legend" virtual="true" > |
||
732 | <Layers> |
||
733 | <Layer level="OVERLAY"> |
||
734 | <FontString name="row2Value1AV" inherits="GameFontNormalSmall" text="~GYA"> |
||
735 | <Anchors> |
||
736 | <Anchor point="LEFT" relativePoint="TOPLEFT" > |
||
737 | <Offset> |
||
738 | <AbsDimension x="0" y="-25" /> |
||
739 | </Offset> |
||
740 | </Anchor> |
||
741 | </Anchors> |
||
742 | </FontString> |
||
743 | <FontString name="row2Value2AV" inherits="GameFontNormalSmall" text="~GYD"> |
||
744 | <Anchors> |
||
745 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row2Value1AV"> |
||
746 | <Offset> |
||
747 | <AbsDimension x="0" y="-20" /> |
||
748 | </Offset> |
||
749 | </Anchor> |
||
750 | </Anchors> |
||
751 | </FontString> |
||
752 | <FontString name="row2Value3AV" inherits="GameFontNormalSmall" text="~TA"> |
||
753 | <Anchors> |
||
754 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row2Value2AV"> |
||
755 | <Offset> |
||
756 | <AbsDimension x="0" y="-20" /> |
||
757 | </Offset> |
||
758 | </Anchor> |
||
759 | </Anchors> |
||
760 | </FontString> |
||
761 | <FontString name="row2Value4AV" inherits="GameFontNormalSmall" text="~TD"> |
||
762 | <Anchors> |
||
763 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row2Value3AV"> |
||
764 | <Offset> |
||
765 | <AbsDimension x="0" y="-20" /> |
||
766 | </Offset> |
||
767 | </Anchor> |
||
768 | </Anchors> |
||
769 | </FontString> |
||
770 | <FontString name="row2Value5AV" inherits="GameFontNormalSmall" text="~MC"> |
||
771 | <Anchors> |
||
772 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row2Value4AV"> |
||
773 | <Offset> |
||
774 | <AbsDimension x="0" y="-20" /> |
||
775 | </Offset> |
||
776 | </Anchor> |
||
777 | </Anchors> |
||
778 | </FontString> |
||
779 | <FontString name="row2Value6AV" inherits="GameFontNormalSmall" text="~LDK"> |
||
780 | <Anchors> |
||
781 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row2Value5AV"> |
||
782 | <Offset> |
||
783 | <AbsDimension x="0" y="-20" /> |
||
784 | </Offset> |
||
785 | </Anchor> |
||
786 | </Anchors> |
||
787 | </FontString> |
||
788 | <FontString name="row2Value7AV" inherits="GameFontNormalSmall" text="~SO"> |
||
789 | <Anchors> |
||
790 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row2Value6AV"> |
||
791 | <Offset> |
||
792 | <AbsDimension x="0" y="-20" /> |
||
793 | </Offset> |
||
794 | </Anchor> |
||
795 | </Anchors> |
||
796 | </FontString> |
||
797 | </Layer> |
||
798 | </Layers> |
||
799 | </Frame> |
||
800 | <Frame name="virtual_LegendEquals2_AV" virtual="true" > |
||
801 | <Layers> |
||
802 | <Layer level="OVERLAY"> |
||
803 | <FontString name="row2Equals2" inherits="GameFontNormalSmall" text="="> |
||
804 | <Anchors> |
||
805 | <Anchor point="LEFT" relativePoint="TOPLEFT" > |
||
806 | <Offset> |
||
807 | <AbsDimension x="0" y="-25" /> |
||
808 | </Offset> |
||
809 | </Anchor> |
||
810 | </Anchors> |
||
811 | <Color r="0.5" g="0.5" b="0.5"/> |
||
812 | </FontString> |
||
813 | <FontString name="row2Equals3" inherits="GameFontNormalSmall" text="="> |
||
814 | <Anchors> |
||
815 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row2Equals2"> |
||
816 | <Offset> |
||
817 | <AbsDimension x="0" y="-20" /> |
||
818 | </Offset> |
||
819 | </Anchor> |
||
820 | </Anchors> |
||
821 | <Color r="0.5" g="0.5" b="0.5"/> |
||
822 | </FontString> |
||
823 | <FontString name="row2Equals4" inherits="GameFontNormalSmall" text="="> |
||
824 | <Anchors> |
||
825 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row2Equals3"> |
||
826 | <Offset> |
||
827 | <AbsDimension x="0" y="-20" /> |
||
828 | </Offset> |
||
829 | </Anchor> |
||
830 | </Anchors> |
||
831 | <Color r="0.5" g="0.5" b="0.5"/> |
||
832 | </FontString> |
||
833 | <FontString name="row2Equals5" inherits="GameFontNormalSmall" text="="> |
||
834 | <Anchors> |
||
835 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row2Equals4"> |
||
836 | <Offset> |
||
837 | <AbsDimension x="0" y="-20" /> |
||
838 | </Offset> |
||
839 | </Anchor> |
||
840 | </Anchors> |
||
841 | <Color r="0.5" g="0.5" b="0.5"/> |
||
842 | </FontString> |
||
843 | <FontString name="row2Equals6" inherits="GameFontNormalSmall" text="="> |
||
844 | <Anchors> |
||
845 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row2Equals5"> |
||
846 | <Offset> |
||
847 | <AbsDimension x="0" y="-20" /> |
||
848 | </Offset> |
||
849 | </Anchor> |
||
850 | </Anchors> |
||
851 | <Color r="0.5" g="0.5" b="0.5"/> |
||
852 | </FontString> |
||
853 | <FontString name="row2Equals7" inherits="GameFontNormalSmall" text="="> |
||
854 | <Anchors> |
||
855 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row2Equals6"> |
||
856 | <Offset> |
||
857 | <AbsDimension x="0" y="-20" /> |
||
858 | </Offset> |
||
859 | </Anchor> |
||
860 | </Anchors> |
||
861 | <Color r="0.5" g="0.5" b="0.5"/> |
||
862 | </FontString> |
||
863 | <FontString name="row2Equals8" inherits="GameFontNormalSmall" text="="> |
||
864 | <Anchors> |
||
865 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row2Equals7"> |
||
866 | <Offset> |
||
867 | <AbsDimension x="0" y="-20" /> |
||
868 | </Offset> |
||
869 | </Anchor> |
||
870 | </Anchors> |
||
871 | <Color r="0.5" g="0.5" b="0.5"/> |
||
872 | </FontString> |
||
873 | </Layer> |
||
874 | </Layers> |
||
875 | </Frame> |
||
876 | <Frame name="virtual_LegendValue2_AV" virtual="true"> |
||
877 | <Layers> |
||
878 | <Layer level="OVERLAY"> |
||
879 | <FontString name="virtual_LegendValue2_AV1" inherits="GameFontNormalSmall" text="Graveyards Assaulted"> |
||
880 | <Anchors> |
||
881 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
882 | <Offset> |
||
883 | <AbsDimension x="0" y="-25" /> |
||
884 | </Offset> |
||
885 | </Anchor> |
||
886 | </Anchors> |
||
887 | <Color r="1" g="1" b="1"/> |
||
888 | </FontString> |
||
889 | <FontString name="virtual_LegendValue2_AV2" inherits="GameFontNormalSmall" text="Graveyards Defended"> |
||
890 | <Anchors> |
||
891 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="virtual_LegendValue2_AV1"> |
||
892 | <Offset> |
||
893 | <AbsDimension x="0" y="-20" /> |
||
894 | </Offset> |
||
895 | </Anchor> |
||
896 | </Anchors> |
||
897 | <Color r="1" g="1" b="1"/> |
||
898 | </FontString> |
||
899 | <FontString name="virtual_LegendValue2_AV3" inherits="GameFontNormalSmall" text="Towers Assaulted"> |
||
900 | <Anchors> |
||
901 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="virtual_LegendValue2_AV2"> |
||
902 | <Offset> |
||
903 | <AbsDimension x="0" y="-20" /> |
||
904 | </Offset> |
||
905 | </Anchor> |
||
906 | </Anchors> |
||
907 | <Color r="1" g="1" b="1"/> |
||
908 | </FontString> |
||
909 | <FontString name="virtual_LegendValue2_AV4" inherits="GameFontNormalSmall" text="Towers Defended"> |
||
910 | <Anchors> |
||
911 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="virtual_LegendValue2_AV3"> |
||
912 | <Offset> |
||
913 | <AbsDimension x="0" y="-20" /> |
||
914 | </Offset> |
||
915 | </Anchor> |
||
916 | </Anchors> |
||
917 | <Color r="1" g="1" b="1"/> |
||
918 | </FontString> |
||
919 | <FontString name="virtual_LegendValue2_AV5" inherits="GameFontNormalSmall" text="Mines Captured"> |
||
920 | <Anchors> |
||
921 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="virtual_LegendValue2_AV4"> |
||
922 | <Offset> |
||
923 | <AbsDimension x="0" y="-20" /> |
||
924 | </Offset> |
||
925 | </Anchor> |
||
926 | </Anchors> |
||
927 | <Color r="1" g="1" b="1"/> |
||
928 | </FontString> |
||
929 | <FontString name="virtual_LegendValue2_AV6" inherits="GameFontNormalSmall" text="Leaders Killed"> |
||
930 | <Anchors> |
||
931 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="virtual_LegendValue2_AV5"> |
||
932 | <Offset> |
||
933 | <AbsDimension x="0" y="-20" /> |
||
934 | </Offset> |
||
935 | </Anchor> |
||
936 | </Anchors> |
||
937 | <Color r="1" g="1" b="1"/> |
||
938 | </FontString> |
||
939 | <FontString name="virtual_LegendValue2_AV7" inherits="GameFontNormalSmall" text="Secondary Objectives"> |
||
940 | <Anchors> |
||
941 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="virtual_LegendValue2_AV6" > |
||
942 | <Offset> |
||
943 | <AbsDimension x="0" y="-20" /> |
||
944 | </Offset> |
||
945 | </Anchor> |
||
946 | </Anchors> |
||
947 | <Color r="1" g="1" b="1"/> |
||
948 | </FontString> |
||
949 | </Layer> |
||
950 | </Layers> |
||
951 | </Frame> |
||
952 | |||
953 | <!-- WSG SPECIFIC LEGEND --> |
||
954 | <Frame name="virtual_row2Key_WSG" parent="virtual_BGBuddy_ConfigPanel_Customize_Legend" virtual="true" > |
||
955 | <Layers> |
||
956 | <Layer level="OVERLAY"> |
||
957 | <FontString name="row2Value1WSG" inherits="GameFontNormalSmall" text="~GYA"> |
||
958 | <Anchors> |
||
959 | <Anchor point="LEFT" relativePoint="TOPLEFT" > |
||
960 | <Offset> |
||
961 | <AbsDimension x="0" y="-25" /> |
||
962 | </Offset> |
||
963 | </Anchor> |
||
964 | </Anchors> |
||
965 | </FontString> |
||
966 | <FontString name="row2Value2WSG" inherits="GameFontNormalSmall" text="~GYD"> |
||
967 | <Anchors> |
||
968 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row2Value1WSG"> |
||
969 | <Offset> |
||
970 | <AbsDimension x="0" y="-20" /> |
||
971 | </Offset> |
||
972 | </Anchor> |
||
973 | </Anchors> |
||
974 | </FontString> |
||
975 | </Layer> |
||
976 | </Layers> |
||
977 | </Frame> |
||
978 | <Frame name="virtual_LegendEquals2_WSG" virtual="true" > |
||
979 | <Layers> |
||
980 | <Layer level="OVERLAY"> |
||
981 | <FontString name="row2Equals2wsg" inherits="GameFontNormalSmall" text="="> |
||
982 | <Anchors> |
||
983 | <Anchor point="LEFT" relativePoint="TOPLEFT" > |
||
984 | <Offset> |
||
985 | <AbsDimension x="0" y="-25" /> |
||
986 | </Offset> |
||
987 | </Anchor> |
||
988 | </Anchors> |
||
989 | <Color r="0.5" g="0.5" b="0.5"/> |
||
990 | </FontString> |
||
991 | <FontString name="row2Equals3wsg" inherits="GameFontNormalSmall" text="="> |
||
992 | <Anchors> |
||
993 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="row2Equals2wsg"> |
||
994 | <Offset> |
||
995 | <AbsDimension x="0" y="-20" /> |
||
996 | </Offset> |
||
997 | </Anchor> |
||
998 | </Anchors> |
||
999 | <Color r="0.5" g="0.5" b="0.5"/> |
||
1000 | </FontString> |
||
1001 | </Layer> |
||
1002 | </Layers> |
||
1003 | </Frame> |
||
1004 | <Frame name="virtual_LegendValue2_WSG" virtual="true"> |
||
1005 | <Layers> |
||
1006 | <Layer level="OVERLAY"> |
||
1007 | <FontString name="virtual_LegendValue2_WSG1" inherits="GameFontNormalSmall" text="Flags Captured"> |
||
1008 | <Anchors> |
||
1009 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
1010 | <Offset> |
||
1011 | <AbsDimension x="0" y="-25" /> |
||
1012 | </Offset> |
||
1013 | </Anchor> |
||
1014 | </Anchors> |
||
1015 | <Color r="1" g="1" b="1"/> |
||
1016 | </FontString> |
||
1017 | <FontString name="virtual_LegendValue2_WSG2" inherits="GameFontNormalSmall" text="Flags Returned"> |
||
1018 | <Anchors> |
||
1019 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="virtual_LegendValue2_WSG1"> |
||
1020 | <Offset> |
||
1021 | <AbsDimension x="0" y="-20" /> |
||
1022 | </Offset> |
||
1023 | </Anchor> |
||
1024 | </Anchors> |
||
1025 | <Color r="1" g="1" b="1"/> |
||
1026 | </FontString> |
||
1027 | </Layer> |
||
1028 | </Layers> |
||
1029 | </Frame> |
||
1030 | |||
1031 | <!-- AB SPECIFIC LEGEND VALUES --> |
||
1032 | <Frame name="virtual_LegendValue2_AB" virtual="true"> |
||
1033 | <Layers> |
||
1034 | <Layer level="OVERLAY"> |
||
1035 | <FontString name="virtual_LegendValue2_AB1" inherits="GameFontNormalSmall" text="Bases Assaulted"> |
||
1036 | <Anchors> |
||
1037 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
1038 | <Offset> |
||
1039 | <AbsDimension x="0" y="-25" /> |
||
1040 | </Offset> |
||
1041 | </Anchor> |
||
1042 | </Anchors> |
||
1043 | <Color r="1" g="1" b="1"/> |
||
1044 | </FontString> |
||
1045 | <FontString name="virtual_LegendValue2_AB2" inherits="GameFontNormalSmall" text="Bases Defended"> |
||
1046 | <Anchors> |
||
1047 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="virtual_LegendValue2_AB1"> |
||
1048 | <Offset> |
||
1049 | <AbsDimension x="0" y="-20" /> |
||
1050 | </Offset> |
||
1051 | </Anchor> |
||
1052 | </Anchors> |
||
1053 | <Color r="1" g="1" b="1"/> |
||
1054 | </FontString> |
||
1055 | </Layer> |
||
1056 | </Layers> |
||
1057 | </Frame> |
||
1058 | |||
1059 | <!-- START: Main Frame --> |
||
1060 | <!-- START: Main Frame --> |
||
1061 | <!-- START: Main Frame --> |
||
1062 | <!-- START: Main Frame --> |
||
1063 | <!-- START: Main Frame --> |
||
1064 | <Frame name="BGBuddy_MainFrame"> |
||
1065 | <Scripts> |
||
1066 | <OnLoad>BGBuddy_OnLoad();</OnLoad> |
||
1067 | <OnEvent>BGBuddy_OnEvent();</OnEvent> |
||
1068 | <OnUpdate>BGBuddy_OnUpdate();</OnUpdate> |
||
1069 | </Scripts> |
||
1070 | </Frame> |
||
1071 | <!-- END: Main Frame --> |
||
1072 | |||
1073 | <!-- START: Standard Frame --> |
||
1074 | <Frame name="BGBuddy_StandardFrame" parent="UIParent" movable="true" enableMouse="true" hidden="true"> |
||
1075 | <Backdrop bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
1076 | <EdgeSize> |
||
1077 | <AbsValue val="16"/> |
||
1078 | </EdgeSize> |
||
1079 | <BackgroundInsets> |
||
1080 | <AbsInset left="5" right="5" top="5" bottom="5"/> |
||
1081 | </BackgroundInsets> |
||
1082 | </Backdrop> |
||
1083 | <Size> |
||
1084 | <AbsDimension x="200" y="57"/> |
||
1085 | </Size> |
||
1086 | <Anchors> |
||
1087 | <Anchor point="TOPLEFT"> |
||
1088 | <Offset> |
||
1089 | <AbsDimension x="50" y="-100"/> |
||
1090 | </Offset> |
||
1091 | </Anchor> |
||
1092 | </Anchors> |
||
1093 | </Frame> |
||
1094 | <Frame name="BGBuddy_OverlayFrame" parent="BGBuddy_StandardFrame" enableMouse="true" moveable="true" > |
||
1095 | <Anchors> |
||
1096 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="BGBuddy_StandardFrame"> |
||
1097 | <AbsDimension x="0" y="0" /> |
||
1098 | </Anchor> |
||
1099 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" relativeTo="BGBuddy_StandardFrame"> |
||
1100 | <AbsDimension x="0" y="0" /> |
||
1101 | </Anchor> |
||
1102 | </Anchors> |
||
1103 | <Scripts> |
||
1104 | <OnLoad> |
||
1105 | this:Raise(); |
||
1106 | </OnLoad> |
||
1107 | <OnMouseDown> |
||
1108 | BGBuddy_OnMouseDown(arg1); |
||
1109 | </OnMouseDown> |
||
1110 | <OnMouseUp> |
||
1111 | BGBuddy_OnMouseUp(arg1); |
||
1112 | </OnMouseUp> |
||
1113 | <OnEnter> |
||
1114 | BGBuddy_OnEnter(); |
||
1115 | </OnEnter> |
||
1116 | <OnLeave> |
||
1117 | GameTooltip:Hide(); |
||
1118 | </OnLeave> |
||
1119 | </Scripts> |
||
1120 | <Frames> |
||
1121 | <Button name="BGBuddy_OverlayFrame_SwitchButton" inherits="OptionsButtonTemplate" hidden="true" text="Change Instance"> |
||
1122 | <Anchors> |
||
1123 | <Anchor point="CENTER" relativePoint="BOTTOM" relativeTo="BGBuddy_OverlayFrame"> |
||
1124 | <Offset> |
||
1125 | <AbsDimension x="0" y="13" /> |
||
1126 | </Offset> |
||
1127 | </Anchor> |
||
1128 | </Anchors> |
||
1129 | <Size> |
||
1130 | <AbsDimension x="145" y="20"/> |
||
1131 | </Size> |
||
1132 | <Scripts> |
||
1133 | <OnClick> |
||
1134 | PlaySound("gsTitleOptionOK"); |
||
1135 | ShowBattlefieldList(); |
||
1136 | </OnClick> |
||
1137 | </Scripts> |
||
1138 | </Button> |
||
1139 | <Button name="BGBuddy_OverlayFrame_LeaveButton" inherits="OptionsButtonTemplate" hidden="true" text="X"> |
||
1140 | <Anchors> |
||
1141 | <Anchor point="RIGHT" relativePoint="TOPRIGHT" relativeTo="BGBuddy_OverlayFrame"> |
||
1142 | <Offset> |
||
1143 | <AbsDimension x="-3" y="-3" /> |
||
1144 | </Offset> |
||
1145 | </Anchor> |
||
1146 | </Anchors> |
||
1147 | <Size> |
||
1148 | <AbsDimension x="14" y="14"/> |
||
1149 | </Size> |
||
1150 | <Scripts> |
||
1151 | <OnClick> |
||
1152 | PlaySound("gsTitleOptionOK"); |
||
1153 | AcceptBattlefieldPort(); |
||
1154 | </OnClick> |
||
1155 | </Scripts> |
||
1156 | </Button> |
||
1157 | <Frame name="BGBuddy_ScoreFrame" parent="BGBuddy_OverlayFrame" movable="true" enableMouse="true" hidden="true"> |
||
1158 | <Size> |
||
1159 | <AbsDimension x="20" y="20"/> |
||
1160 | </Size> |
||
1161 | <Anchors> |
||
1162 | <Anchor point="TOPRIGHT" relativeTo="BGBuddy_OverlayFrame"> |
||
1163 | <Offset> |
||
1164 | <AbsDimension x="-5" y="-7"/> |
||
1165 | </Offset> |
||
1166 | </Anchor> |
||
1167 | </Anchors> |
||
1168 | |||
1169 | <Frames> |
||
1170 | <Button name="BGBuddy_ScoreIcon"> |
||
1171 | <Size> |
||
1172 | <AbsDimension x="18" y="18"/> |
||
1173 | </Size> |
||
1174 | <Anchors> |
||
1175 | <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" relativeTo="BGBuddy_OverlayFrame"> |
||
1176 | <Offset> |
||
1177 | <AbsDimension x="0" y="0" /> |
||
1178 | </Offset> |
||
1179 | </Anchor> |
||
1180 | </Anchors> |
||
1181 | <Layers> |
||
1182 | <Layer level="BACKGROUND"> |
||
1183 | <Texture name="MiniMapBattlefieldIcon" file="Interface\Minimap\UI-Minimap-ZoomInButton-Up"> |
||
1184 | <Size> |
||
1185 | <AbsDimension x="18" y="18"/> |
||
1186 | </Size> |
||
1187 | <Anchors> |
||
1188 | <Anchor point="CENTER"> |
||
1189 | <Offset> |
||
1190 | <AbsDimension x="-1" y="0"/> |
||
1191 | </Offset> |
||
1192 | </Anchor> |
||
1193 | </Anchors> |
||
1194 | </Texture> |
||
1195 | </Layer> |
||
1196 | </Layers> |
||
1197 | <Frames> |
||
1198 | <Frame name="BGBuddy_DropDown" inherits="UIDropDownMenuTemplate" id="1" hidden="true"> |
||
1199 | <Anchor point="TOPLEFT" relativeTo="BGBuddy_OverlayFrame" relativePoint="TOPLEFT"> |
||
1200 | <Offset> |
||
1201 | <AbsDimension x="-5" y="-7"/> |
||
1202 | </Offset> |
||
1203 | </Anchor> |
||
1204 | <Scripts> |
||
1205 | <OnLoad> |
||
1206 | BGBuddy_DropDown_OnLoad(); |
||
1207 | </OnLoad> |
||
1208 | </Scripts> |
||
1209 | </Frame> |
||
1210 | </Frames> |
||
1211 | <Scripts> |
||
1212 | <OnLoad> |
||
1213 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
1214 | </OnLoad> |
||
1215 | <OnClick> |
||
1216 | PlaySound("gsTitleOptionOK"); |
||
1217 | if ( BGBuddy_StandardFrame.status == "active") then |
||
1218 | if ( arg1 == "RightButton" ) then |
||
1219 | ToggleBattlefieldMinimap(); |
||
1220 | else |
||
1221 | ToggleWorldStateScoreFrame(); |
||
1222 | end |
||
1223 | elseif ( BGBuddy_StandardFrame.status == "confirm") then |
||
1224 | ToggleDropDownMenu(1, nil, BGBuddy_DropDown, "BGBuddy_ScoreIcon", -113, 27); |
||
1225 | else |
||
1226 | ToggleDropDownMenu(1, nil, BGBuddy_DropDown, "BGBuddy_ScoreIcon", -129, 27); |
||
1227 | end |
||
1228 | </OnClick> |
||
1229 | <OnEnter> |
||
1230 | BGBuddy_OnEnterScoreFrame(); |
||
1231 | </OnEnter> |
||
1232 | <OnLeave> |
||
1233 | GameTooltip:Hide(); |
||
1234 | </OnLeave> |
||
1235 | </Scripts> |
||
1236 | <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/> |
||
1237 | </Button> |
||
1238 | <!-- enter button --> |
||
1239 | <Button name="BGBuddy_OverlayFrame_EnterButton" inherits="OptionsButtonTemplate" parent="BGBuddy_OverlayFrame" text="Enter Battle"> |
||
1240 | <Size> |
||
1241 | <AbsDimension x="110" y="25"/> |
||
1242 | </Size> |
||
1243 | <Anchors> |
||
1244 | <Anchor point="CENTER" relativePoint="BOTTOM" relativeTo="BGBuddy_OverlayFrame"> |
||
1245 | <Offset> |
||
1246 | <AbsDimension x="0" y="0" /> |
||
1247 | </Offset> |
||
1248 | </Anchor> |
||
1249 | </Anchors> |
||
1250 | <Scripts> |
||
1251 | <OnClick> |
||
1252 | PlaySound("gsTitleOptionOK"); |
||
1253 | BattlefieldFrame_EnterBattlefield(); |
||
1254 | </OnClick> |
||
1255 | </Scripts> |
||
1256 | </Button> |
||
1257 | </Frames> |
||
1258 | </Frame> |
||
1259 | </Frames> |
||
1260 | </Frame> |
||
1261 | |||
1262 | <Frame name="BGBuddy_RankFrame" hidden="false" parent="BGBuddy_StandardFrame"> |
||
1263 | <Size> |
||
1264 | <AbsDimension x="16" y="16"/> |
||
1265 | </Size> |
||
1266 | <Anchors> |
||
1267 | <Anchor point="TOPLEFT" relativeTo="BGBuddy_StandardFrame"> |
||
1268 | <Offset> |
||
1269 | <AbsDimension x="7" y="-7"/> |
||
1270 | </Offset> |
||
1271 | </Anchor> |
||
1272 | </Anchors> |
||
1273 | <Layers> |
||
1274 | <Layer level="BACKGROUND"> |
||
1275 | <Texture name="$parentIcon"> |
||
1276 | <Size> |
||
1277 | <AbsDimension x="16" y="16"/> |
||
1278 | </Size> |
||
1279 | </Texture> |
||
1280 | <FontString name="BGBuddy_RankName" font="Fonts\skurri.ttf" text="Current Rank" virtual="true"> |
||
1281 | <FontHeight> |
||
1282 | <AbsValue val="14"/> |
||
1283 | </FontHeight> |
||
1284 | <Anchors> |
||
1285 | <Anchor point="TOPLEFT" relativeTo="BGBuddy_RankFrame"> |
||
1286 | <Offset> |
||
1287 | <AbsDimension x="18" y="-2"/> |
||
1288 | </Offset> |
||
1289 | </Anchor> |
||
1290 | </Anchors> |
||
1291 | <Color r="0.5" g="1.0" b="1.0"/> |
||
1292 | </FontString> |
||
1293 | </Layer> |
||
1294 | </Layers> |
||
1295 | </Frame> |
||
1296 | |||
1297 | <Frame name="BGBuddy_KillFrame" hidden="false" parent="BGBuddy_StandardFrame"> |
||
1298 | <Size> |
||
1299 | <AbsDimension x="200" y="20"/> |
||
1300 | </Size> |
||
1301 | <Anchors> |
||
1302 | <Anchor point="BOTTOMLEFT" relativeTo="BGBuddy_RankFrame" relativePoint="BOTTOMLEFT"> |
||
1303 | <Offset> |
||
1304 | <AbsDimension x="0" y="-3"/> |
||
1305 | </Offset> |
||
1306 | </Anchor> |
||
1307 | </Anchors> |
||
1308 | <Layers> |
||
1309 | <Layer level="BACKGROUND"> |
||
1310 | <FontString name="BGBuddy_Line1" inherits="GameFontNormalSmall" text="Line1" justifyH="LEFT"> |
||
1311 | <Anchors> |
||
1312 | <Anchor point="TOPLEFT" relativeTo="BGBuddy_KillFrame"> |
||
1313 | <Offset> |
||
1314 | <AbsDimension x="0" y="0"/> |
||
1315 | </Offset> |
||
1316 | </Anchor> |
||
1317 | </Anchors> |
||
1318 | <Color r="1.0" g="1.0" b="1.0"/> |
||
1319 | </FontString> |
||
1320 | </Layer> |
||
1321 | </Layers> |
||
1322 | <Scripts> |
||
1323 | <OnShow> |
||
1324 | if ( BGBuddy_SavedVars["config"]["displayRank"] == 1 ) then |
||
1325 | this:SetPoint("TOPLEFT", "BGBuddy_RankFrame", "BOTTOMLEFT", 0, -3); |
||
1326 | else |
||
1327 | this:SetPoint("TOPLEFT", "BGBuddy_RankFrame", "TOPLEFT", 0, 0); |
||
1328 | end |
||
1329 | </OnShow> |
||
1330 | </Scripts> |
||
1331 | </Frame> |
||
1332 | |||
1333 | <!-- Battleground Page --> |
||
1334 | <Frame name="virtual_BGBuddy_ConfigPanel_CustomizeBG" parent="BGBuddy_ConfigPanel_CustomizeDisplay" virtual="true" hidden="true"> |
||
1335 | <Scripts> |
||
1336 | <OnShow> |
||
1337 | BGBuddy_ConfigPanel_CustomizeBG_UpperFrame:Show(); |
||
1338 | BGBuddy_ConfigPanel_CustomizeBG_Legend:Show(); |
||
1339 | </OnShow> |
||
1340 | <OnHide> |
||
1341 | BGBuddy_ConfigPanel_CustomizeBG_UpperFrame:Hide(); |
||
1342 | BGBuddy_ConfigPanel_CustomizeBG_Legend:Hide(); |
||
1343 | </OnHide> |
||
1344 | </Scripts> |
||
1345 | <Frames> |
||
1346 | <Frame name="BGBuddy_ConfigPanel_CustomizeBG_UpperFrame" parent="BGBuddy_ConfigPanel_CustomizeDisplay" inherits="BGBuddy_ConfigPanel_Customize_BG" hidden="true"> |
||
1347 | <Anchors> |
||
1348 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="BGBuddy_ConfigPanel_CustomizeDisplay"> |
||
1349 | <Offset> |
||
1350 | <AbsDimension x="15" y="-70" /> |
||
1351 | </Offset> |
||
1352 | </Anchor> |
||
1353 | </Anchors> |
||
1354 | </Frame> |
||
1355 | <Frame name="BGBuddy_ConfigPanel_CustomizeBG_Legend" parent="BGBuddy_ConfigPanel_CustomizeDisplay" inherits="virtual_BGBuddy_ConfigPanel_Customize_Legend" hidden="true"> |
||
1356 | <Anchors> |
||
1357 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="BGBuddy_ConfigPanel_CustomizeDisplay"> |
||
1358 | <Offset> |
||
1359 | <AbsDimension x="15" y="-215" /> |
||
1360 | </Offset> |
||
1361 | </Anchor> |
||
1362 | </Anchors> |
||
1363 | </Frame> |
||
1364 | <!-- LEGEND ROW 1 INSTANCE --> |
||
1365 | <Frame name="LegendKeys1" inherits="row1Key" parent="BGBuddy_ConfigPanel_CustomizeBG_Legend"> |
||
1366 | <Size> |
||
1367 | <AbsDimension x="50" y="139" /> |
||
1368 | </Size> |
||
1369 | <Anchors> |
||
1370 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="BGBuddy_ConfigPanel_CustomizeBG_Legend"> |
||
1371 | <Offset> |
||
1372 | <AbsDimension x="15" y="0" /> |
||
1373 | </Offset> |
||
1374 | </Anchor> |
||
1375 | </Anchors> |
||
1376 | </Frame> |
||
1377 | <Frame name="LegendEqual1" inherits="row1Equals" parent="BGBuddy_ConfigPanel_CustomizeBG_Legend"> |
||
1378 | <Size> |
||
1379 | <AbsDimension x="10" y="139" /> |
||
1380 | </Size> |
||
1381 | <Anchors> |
||
1382 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="LegendKeys1"> |
||
1383 | <Offset> |
||
1384 | <AbsDimension x="0" y="0" /> |
||
1385 | </Offset> |
||
1386 | </Anchor> |
||
1387 | </Anchors> |
||
1388 | </Frame> |
||
1389 | <Frame name="LegendValues1" inherits="row1Value" parent="BGBuddy_ConfigPanel_CustomizeBG_Legend"> |
||
1390 | <Size> |
||
1391 | <AbsDimension x="50" y="139" /> |
||
1392 | </Size> |
||
1393 | <Anchors> |
||
1394 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="LegendEqual1"> |
||
1395 | <Offset> |
||
1396 | <AbsDimension x="0" y="0" /> |
||
1397 | </Offset> |
||
1398 | </Anchor> |
||
1399 | </Anchors> |
||
1400 | </Frame> |
||
1401 | <!-- LEGEND ROW 2 INSTANCE --> |
||
1402 | <Frame name="LegendKeys2" inherits="row2Key" parent="BGBuddy_ConfigPanel_CustomizeBG_Legend"> |
||
1403 | <Anchors> |
||
1404 | <Anchor point="TOP" relativePoint="TOP" relativeTo="BGBuddy_ConfigPanel_CustomizeBG_Legend" > |
||
1405 | <Offset> |
||
1406 | <AbsDimension x="0" y="0" /> |
||
1407 | </Offset> |
||
1408 | </Anchor> |
||
1409 | <Anchor point="LEFT" relativePoint="CENTER" relativeTo="BGBuddy_ConfigPanel_CustomizeBG_Legend" > |
||
1410 | <Offset> |
||
1411 | <AbsDimension x="0" y="0" /> |
||
1412 | </Offset> |
||
1413 | </Anchor> |
||
1414 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" relativeTo="BGBuddy_ConfigPanel_CustomizeBG_Legend" > |
||
1415 | <Offset> |
||
1416 | <AbsDimension x="-125" y="0" /> |
||
1417 | </Offset> |
||
1418 | </Anchor> |
||
1419 | </Anchors> |
||
1420 | <Frames> |
||
1421 | <Frame name="LegendKeys2_AV" inherits="virtual_row2Key_AV" parent="LegendKeys2" hidden="true"> |
||
1422 | <Size> |
||
1423 | <RelDimension x="1.0" y="1.0" /> |
||
1424 | </Size> |
||
1425 | <Anchors> |
||
1426 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
1427 | </Anchor> |
||
1428 | </Anchors> |
||
1429 | </Frame> |
||
1430 | <Frame name="LegendKeys2_WSG" inherits="virtual_row2Key_WSG" parent="LegendKeys2" hidden="true"> |
||
1431 | <Size> |
||
1432 | <RelDimension x="1.0" y="1.0" /> |
||
1433 | </Size> |
||
1434 | <Anchors> |
||
1435 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
1436 | </Anchor> |
||
1437 | </Anchors> |
||
1438 | </Frame> |
||
1439 | </Frames> |
||
1440 | </Frame> |
||
1441 | |||
1442 | <Frame name="LegendEqual2" inherits="row2Equals" parent="BGBuddy_ConfigPanel_CustomizeBG_Legend"> |
||
1443 | <Size> |
||
1444 | <AbsDimension x="10" y="139" /> |
||
1445 | </Size> |
||
1446 | <Anchors> |
||
1447 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="LegendKeys2"> |
||
1448 | <Offset> |
||
1449 | <AbsDimension x="0" y="0" /> |
||
1450 | </Offset> |
||
1451 | </Anchor> |
||
1452 | </Anchors> |
||
1453 | <Frames> |
||
1454 | <Frame name="LegendEquals2_AV" inherits="virtual_LegendEquals2_AV" parent="LegendEqual2" hidden="true"> |
||
1455 | <Size> |
||
1456 | <RelDimension x="1.0" y="1.0" /> |
||
1457 | </Size> |
||
1458 | <Anchors> |
||
1459 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
1460 | </Anchor> |
||
1461 | </Anchors> |
||
1462 | </Frame> |
||
1463 | <Frame name="LegendEquals2_WSG" inherits="virtual_LegendEquals2_WSG" parent="LegendEqual2" hidden="true"> |
||
1464 | <Size> |
||
1465 | <RelDimension x="1.0" y="1.0" /> |
||
1466 | </Size> |
||
1467 | <Anchors> |
||
1468 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
1469 | </Anchor> |
||
1470 | </Anchors> |
||
1471 | </Frame> |
||
1472 | </Frames> |
||
1473 | </Frame> |
||
1474 | |||
1475 | <Frame name="LegendValues2" inherits="row2Value" parent="BGBuddy_ConfigPanel_CustomizeBG_Legend"> |
||
1476 | <Size> |
||
1477 | <AbsDimension x="50" y="139" /> |
||
1478 | </Size> |
||
1479 | <Anchors> |
||
1480 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="LegendEqual2"> |
||
1481 | <Offset> |
||
1482 | <AbsDimension x="0" y="0" /> |
||
1483 | </Offset> |
||
1484 | </Anchor> |
||
1485 | </Anchors> |
||
1486 | <Frames> |
||
1487 | <Frame name="LegendValue2_AV" inherits="virtual_LegendValue2_AV" parent="LegendValues2" hidden="true"> |
||
1488 | <Size> |
||
1489 | <RelDimension x="1.0" y="1.0" /> |
||
1490 | </Size> |
||
1491 | <Anchors> |
||
1492 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
1493 | </Anchor> |
||
1494 | </Anchors> |
||
1495 | </Frame> |
||
1496 | <Frame name="LegendValue2_WSG" inherits="virtual_LegendValue2_WSG" parent="LegendValues2" hidden="true"> |
||
1497 | <Size> |
||
1498 | <RelDimension x="1.0" y="1.0" /> |
||
1499 | </Size> |
||
1500 | <Anchors> |
||
1501 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
1502 | </Anchor> |
||
1503 | </Anchors> |
||
1504 | </Frame> |
||
1505 | <Frame name="LegendValue2_AB" inherits="virtual_LegendValue2_AB" parent="LegendValues2" hidden="true"> |
||
1506 | <Size> |
||
1507 | <RelDimension x="1.0" y="1.0" /> |
||
1508 | </Size> |
||
1509 | <Anchors> |
||
1510 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
1511 | </Anchor> |
||
1512 | </Anchors> |
||
1513 | </Frame> |
||
1514 | </Frames> |
||
1515 | </Frame> |
||
1516 | |||
1517 | <!-- START TAB BUTTONS --> |
||
1518 | <Button name="BGBuddy_ConfigPanel_CustomizeDisplayTab1" inherits="virtual_BGBuddyCustomizeFrameTabTemplate" id="1" text="Alterac Valley"> |
||
1519 | <Size> |
||
1520 | <AbsDimension x="105" y="25"/> |
||
1521 | </Size> |
||
1522 | <Anchors> |
||
1523 | <Anchor point="LEFT" relativePoint="BOTTOMLEFT" relativeTo="BGBuddy_ConfigPanel_CustomizeDisplay"> |
||
1524 | <Offset> |
||
1525 | <AbsDimension x="5" y="-6" /> |
||
1526 | </Offset> |
||
1527 | </Anchor> |
||
1528 | </Anchors> |
||
1529 | <Scripts> |
||
1530 | <OnClick> |
||
1531 | BGBuddy_Config_SetCustomDisplay(); |
||
1532 | BGBuddy_Config_ChangeCustomDisplay("AV"); |
||
1533 | BGBuddy_Config_SetButtonState(1); |
||
1534 | </OnClick> |
||
1535 | </Scripts> |
||
1536 | </Button> |
||
1537 | <Button name="BGBuddy_ConfigPanel_CustomizeDisplayTab2" inherits="virtual_BGBuddyCustomizeFrameTabTemplate" id="2" text="Warsong Gulch"> |
||
1538 | <Size> |
||
1539 | <AbsDimension x="105" y="25"/> |
||
1540 | </Size> |
||
1541 | <Anchors> |
||
1542 | <Anchor point="CENTER" relativePoint="BOTTOMLEFT" relativeTo="BGBuddy_ConfigPanel_CustomizeDisplay"> |
||
1543 | <Offset> |
||
1544 | <AbsDimension x="165" y="-6" /> |
||
1545 | </Offset> |
||
1546 | </Anchor> |
||
1547 | </Anchors> |
||
1548 | <Scripts> |
||
1549 | <OnClick> |
||
1550 | BGBuddy_Config_SetCustomDisplay(); |
||
1551 | BGBuddy_Config_ChangeCustomDisplay("WSG"); |
||
1552 | BGBuddy_Config_SetButtonState(2); |
||
1553 | </OnClick> |
||
1554 | </Scripts> |
||
1555 | </Button> |
||
1556 | <Button name="BGBuddy_ConfigPanel_CustomizeDisplayTab3" inherits="virtual_BGBuddyCustomizeFrameTabTemplate" id="3" text="Arathi Basin"> |
||
1557 | <Size> |
||
1558 | <AbsDimension x="105" y="25"/> |
||
1559 | </Size> |
||
1560 | <Anchors> |
||
1561 | <Anchor point="RIGHT" relativePoint="BOTTOMLEFT" relativeTo="BGBuddy_ConfigPanel_CustomizeDisplay"> |
||
1562 | <Offset> |
||
1563 | <AbsDimension x="315" y="-6" /> |
||
1564 | </Offset> |
||
1565 | </Anchor> |
||
1566 | </Anchors> |
||
1567 | <Scripts> |
||
1568 | <OnClick> |
||
1569 | BGBuddy_Config_SetCustomDisplay(); |
||
1570 | BGBuddy_Config_ChangeCustomDisplay("AB"); |
||
1571 | BGBuddy_Config_SetButtonState(3); |
||
1572 | </OnClick> |
||
1573 | </Scripts> |
||
1574 | </Button> |
||
1575 | <!-- END TAB BUTTONS --> |
||
1576 | </Frames> |
||
1577 | </Frame> |
||
1578 | |||
1579 | <!-- CheckButton template --> |
||
1580 | <CheckButton name="BGBuddy_ConfigPanel_CheckTemplate" inherits="UICheckButtonTemplate" virtual="true"> |
||
1581 | <HitRectInsets> |
||
1582 | <AbsInset left="0" right="-120" top="0" bottom="0"/> |
||
1583 | </HitRectInsets> |
||
1584 | <Size> |
||
1585 | <AbsDimension x="24" y="24"/> |
||
1586 | </Size> |
||
1587 | <Scripts> |
||
1588 | <OnClick> |
||
1589 | if ( this:GetChecked() ) then |
||
1590 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
1591 | else |
||
1592 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
1593 | end |
||
1594 | BGBuddy_Config_SetEnabled(); |
||
1595 | </OnClick> |
||
1596 | <OnLeave> |
||
1597 | GameTooltip:Hide(); |
||
1598 | </OnLeave> |
||
1599 | </Scripts> |
||
1600 | </CheckButton> |
||
1601 | |||
1602 | <!-- GENERAL PAGE --> |
||
1603 | <Frame name="virtual_BGBuddy_ConfigPanel_CustomizeGeneral" parent="BGBuddy_ConfigPanel_CustomizeDisplay" virtual="true" hidden="true"> |
||
1604 | <Scripts> |
||
1605 | <OnShow> |
||
1606 | virtual_BGBuddy_ConfigPanel_CustomizeGeneral_Box:Show(); |
||
1607 | BGBuddy_ConfigPanel_AboutBox:Show(); |
||
1608 | </OnShow> |
||
1609 | <OnHide> |
||
1610 | virtual_BGBuddy_ConfigPanel_CustomizeGeneral_Box:Hide(); |
||
1611 | BGBuddy_ConfigPanel_AboutBox:Hide(); |
||
1612 | </OnHide> |
||
1613 | </Scripts> |
||
1614 | <Frames> |
||
1615 | <Frame name="virtual_BGBuddy_ConfigPanel_CustomizeGeneral_Box" parent="BGBuddy_ConfigPanel_CustomizeDisplay" inherits="virtual_BGBuddy_ConfigPanel_Customize_BoxTemplate" hidden="true"> |
||
1616 | <Size> |
||
1617 | <AbsDimension x="330" y="180"/> |
||
1618 | </Size> |
||
1619 | <Anchors> |
||
1620 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="BGBuddy_ConfigPanel_CustomizeDisplay"> |
||
1621 | <Offset> |
||
1622 | <AbsDimension x="15" y="-70" /> |
||
1623 | </Offset> |
||
1624 | </Anchor> |
||
1625 | </Anchors> |
||
1626 | <Frames> |
||
1627 | <CheckButton name="BGBuddy_ConfigPanel_EnableBGBuddy" inherits="BGBuddy_ConfigPanel_CheckTemplate" virtual="true"> |
||
1628 | <Anchors> |
||
1629 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="BGBuddy_ConfigPanel_CustomizeDisplay"> |
||
1630 | <Offset> |
||
1631 | <AbsDimension x="20" y="-85" /> |
||
1632 | </Offset> |
||
1633 | </Anchor> |
||
1634 | </Anchors> |
||
1635 | <Scripts> |
||
1636 | <OnShow> |
||
1637 | if ( BGBuddy_SavedVars["config"]["isEnabled"] == 1 ) then |
||
1638 | this:SetChecked(1); |
||
1639 | else |
||
1640 | this:SetChecked(0); |
||
1641 | end |
||
1642 | </OnShow> |
||
1643 | <OnClick> |
||
1644 | if ( this:GetChecked() == 1 ) then |
||
1645 | BGBuddy_SavedVars["config"]["isEnabled"] = 1; |
||
1646 | BGBuddy_Config_SetEnabled(); |
||
1647 | else |
||
1648 | BGBuddy_SavedVars["config"]["isEnabled"] = 0; |
||
1649 | BGBuddy_Config_SetEnabled(); |
||
1650 | end |
||
1651 | </OnClick> |
||
1652 | <OnEnter> |
||
1653 | GameTooltip:SetBackdropColor(0.0, 0.0, 0.5); |
||
1654 | GameTooltip:SetOwner(this, "ANCHOR_LEFT"); |
||
1655 | GameTooltip:SetText("Enable or disable BGBuddy. The options menu is always available by typing '/bgbuddy'.", 1.0, 1.0, 1.0, 1.0, 1); |
||
1656 | </OnEnter> |
||
1657 | </Scripts> |
||
1658 | <Layers> |
||
1659 | <Layer level="ARTWORK"> |
||
1660 | <FontString name="BGBuddy_ConfigPanel_FrameText0" inherits="GameFontNormalSmall" text="Enable BGBuddy"> |
||
1661 | <Anchors> |
||
1662 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="BGBuddy_ConfigPanel_EnableBGBuddy"> |
||
1663 | <Offset> |
||
1664 | <AbsDimension x="5" y="0" /> |
||
1665 | </Offset> |
||
1666 | </Anchor> |
||
1667 | </Anchors> |
||
1668 | <Color r="1.0" g="0.82" b="0"/> |
||
1669 | </FontString> |
||
1670 | </Layer> |
||
1671 | </Layers> |
||
1672 | </CheckButton> |
||
1673 | <CheckButton name="BGBuddy_ConfigPanel_Lock" inherits="BGBuddy_ConfigPanel_CheckTemplate" virtual="true"> |
||
1674 | <Anchors> |
||
1675 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="BGBuddy_ConfigPanel_EnableBGBuddy"> |
||
1676 | <Offset> |
||
1677 | <AbsDimension x="0" y="3" /> |
||
1678 | </Offset> |
||
1679 | </Anchor> |
||
1680 | </Anchors> |
||
1681 | <Scripts> |
||
1682 | <OnShow> |
||
1683 | if ( BGBuddy_SavedVars["config"]["isLocked"] == 1 ) then |
||
1684 | this:SetChecked(1); |
||
1685 | else |
||
1686 | this:SetChecked(0); |
||
1687 | end |
||
1688 | </OnShow> |
||
1689 | <OnClick> |
||
1690 | if ( this:GetChecked() == 1 ) then |
||
1691 | BGBuddy_SavedVars["config"]["isLocked"] = 1; |
||
1692 | else |
||
1693 | BGBuddy_SavedVars["config"]["isLocked"] = 0; |
||
1694 | end |
||
1695 | </OnClick> |
||
1696 | <OnEnter> |
||
1697 | GameTooltip:SetOwner(this, "ANCHOR_LEFT"); |
||
1698 | GameTooltip:SetBackdropColor(0.0, 0.0, 0.5); |
||
1699 | GameTooltip:SetText("Lock the BGBuddy window so it cannot be moved.", 1.0, 1.0, 1.0, 1.0, 1); |
||
1700 | </OnEnter> |
||
1701 | </Scripts> |
||
1702 | <Layers> |
||
1703 | <Layer level="ARTWORK"> |
||
1704 | <FontString name="BGBuddy_ConfigPanel_FrameText1" inherits="GameFontNormalSmall" text="Lock BGBuddy Window"> |
||
1705 | <Anchors> |
||
1706 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="BGBuddy_ConfigPanel_Lock"> |
||
1707 | <Offset> |
||
1708 | <AbsDimension x="5" y="0" /> |
||
1709 | </Offset> |
||
1710 | </Anchor> |
||
1711 | </Anchors> |
||
1712 | <Color r="1.0" g="0.82" b="0"/> |
||
1713 | </FontString> |
||
1714 | </Layer> |
||
1715 | </Layers> |
||
1716 | </CheckButton> |
||
1717 | <CheckButton name="BGBuddy_ConfigPanel_AlwaysShow" inherits="BGBuddy_ConfigPanel_CheckTemplate" virtual="true"> |
||
1718 | <Anchors> |
||
1719 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="BGBuddy_ConfigPanel_Lock"> |
||
1720 | <Offset> |
||
1721 | <AbsDimension x="0" y="3" /> |
||
1722 | </Offset> |
||
1723 | </Anchor> |
||
1724 | </Anchors> |
||
1725 | <Scripts> |
||
1726 | <OnShow> |
||
1727 | if ( BGBuddy_SavedVars["config"]["isAlwaysVisible"] == 1 ) then |
||
1728 | this:SetChecked(1); |
||
1729 | else |
||
1730 | this:SetChecked(0); |
||
1731 | end |
||
1732 | </OnShow> |
||
1733 | <OnClick> |
||
1734 | if ( this:GetChecked() == 1 ) then |
||
1735 | BGBuddy_SavedVars["config"]["isAlwaysVisible"] = 1; |
||
1736 | else |
||
1737 | BGBuddy_SavedVars["config"]["isAlwaysVisible"] = 0; |
||
1738 | end |
||
1739 | </OnClick> |
||
1740 | <OnEnter> |
||
1741 | GameTooltip:SetOwner(this, "ANCHOR_LEFT"); |
||
1742 | GameTooltip:SetBackdropColor(0.0, 0.0, 0.5); |
||
1743 | GameTooltip:SetText("Show BGBuddy when you are outside of Battlegrounds.", 1.0, 1.0, 1.0, 1.0, 1); |
||
1744 | </OnEnter> |
||
1745 | </Scripts> |
||
1746 | <Layers> |
||
1747 | <Layer level="ARTWORK"> |
||
1748 | <FontString name="BGBuddy_ConfigPanel_FrameText2" inherits="GameFontNormalSmall" text="Always Show BGBuddy"> |
||
1749 | <Anchors> |
||
1750 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="BGBuddy_ConfigPanel_AlwaysShow"> |
||
1751 | <Offset> |
||
1752 | <AbsDimension x="5" y="0" /> |
||
1753 | </Offset> |
||
1754 | </Anchor> |
||
1755 | </Anchors> |
||
1756 | <Color r="1.0" g="0.82" b="0"/> |
||
1757 | </FontString> |
||
1758 | </Layer> |
||
1759 | </Layers> |
||
1760 | </CheckButton> |
||
1761 | <CheckButton name="BGBuddy_ConfigPanel_AutoJoin" inherits="BGBuddy_ConfigPanel_CheckTemplate" virtual="true"> |
||
1762 | <Anchors> |
||
1763 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="BGBuddy_ConfigPanel_AlwaysShow"> |
||
1764 | <Offset> |
||
1765 | <AbsDimension x="0" y="3" /> |
||
1766 | </Offset> |
||
1767 | </Anchor> |
||
1768 | </Anchors> |
||
1769 | <Scripts> |
||
1770 | <OnShow> |
||
1771 | if ( BGBuddy_SavedVars["config"]["AutoJoin"] == 1 ) then |
||
1772 | this:SetChecked(1); |
||
1773 | BGBuddy_ConfigPanel_Customize_InstantAutoJoin:Enable(); |
||
1774 | else |
||
1775 | this:SetChecked(0); |
||
1776 | BGBuddy_ConfigPanel_Customize_InstantAutoJoin:Disable(); |
||
1777 | end |
||
1778 | </OnShow> |
||
1779 | <OnClick> |
||
1780 | if ( this:GetChecked() == 1 ) then |
||
1781 | BGBuddy_SavedVars["config"]["AutoJoin"] = 1; |
||
1782 | BGBuddy_ConfigPanel_Customize_InstantAutoJoin:Enable(); |
||
1783 | else |
||
1784 | BGBuddy_SavedVars["config"]["AutoJoin"] = 0; |
||
1785 | BGBuddy_ConfigPanel_Customize_InstantAutoJoin:Disable(); |
||
1786 | end |
||
1787 | </OnClick> |
||
1788 | <OnEnter> |
||
1789 | GameTooltip:SetOwner(this, "ANCHOR_LEFT"); |
||
1790 | GameTooltip:SetBackdropColor(0.0, 0.0, 0.5); |
||
1791 | GameTooltip:SetText("Automatically enter the Battleground as soon as it becomes available.", 1.0, 1.0, 1.0, 1.0, 1); |
||
1792 | </OnEnter> |
||
1793 | </Scripts> |
||
1794 | <Layers> |
||
1795 | <Layer level="ARTWORK"> |
||
1796 | <FontString name="BGBuddy_ConfigPanel_FrameText4" inherits="GameFontNormalSmall" text="Enable Auto-Join"> |
||
1797 | <Anchors> |
||
1798 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="BGBuddy_ConfigPanel_AutoJoin"> |
||
1799 | <Offset> |
||
1800 | <AbsDimension x="5" y="0" /> |
||
1801 | </Offset> |
||
1802 | </Anchor> |
||
1803 | </Anchors> |
||
1804 | <Color r="1.0" g="0.82" b="0"/> |
||
1805 | </FontString> |
||
1806 | </Layer> |
||
1807 | </Layers> |
||
1808 | </CheckButton> |
||
1809 | <CheckButton name="BGBuddy_ConfigPanel_Customize_InstantAutoJoin" inherits="BGBuddy_ConfigPanel_CheckTemplate" virtual="true"> |
||
1810 | <Anchors> |
||
1811 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="BGBuddy_ConfigPanel_AutoJoin"> |
||
1812 | <Offset> |
||
1813 | <AbsDimension x="0" y="3" /> |
||
1814 | </Offset> |
||
1815 | </Anchor> |
||
1816 | </Anchors> |
||
1817 | <Scripts> |
||
1818 | <OnShow> |
||
1819 | if ( BGBuddy_SavedVars["config"]["delayedAutoJoin"] == 1 ) then |
||
1820 | this:SetChecked(1); |
||
1821 | else |
||
1822 | this:SetChecked(0); |
||
1823 | end |
||
1824 | </OnShow> |
||
1825 | <OnClick> |
||
1826 | if ( this:GetChecked() == 1 ) then |
||
1827 | BGBuddy_SavedVars["config"]["delayedAutoJoin"] = 1; |
||
1828 | else |
||
1829 | BGBuddy_SavedVars["config"]["delayedAutoJoin"] = 0; |
||
1830 | end |
||
1831 | </OnClick> |
||
1832 | <OnEnter> |
||
1833 | GameTooltip:SetBackdropColor(0.0, 0.0, 0.5); |
||
1834 | GameTooltip:SetOwner(this, "ANCHOR_LEFT"); |
||
1835 | GameTooltip:SetText("When enabled, join Battlegrounds as soon as they are ready. When disabled, battlegrounds are joined 2 seconds before the invite expires.", 1.0, 1.0, 1.0, 1.0, 1); |
||
1836 | </OnEnter> |
||
1837 | </Scripts> |
||
1838 | <Layers> |
||
1839 | <Layer level="ARTWORK"> |
||
1840 | <FontString name="BGBuddy_ConfigPanel_FrameText0" inherits="GameFontNormalSmall" text="Delayed Auto-Join"> |
||
1841 | <Anchors> |
||
1842 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="BGBuddy_ConfigPanel_Customize_InstantAutoJoin"> |
||
1843 | <Offset> |
||
1844 | <AbsDimension x="5" y="0" /> |
||
1845 | </Offset> |
||
1846 | </Anchor> |
||
1847 | </Anchors> |
||
1848 | <Color r="1.0" g="0.82" b="0"/> |
||
1849 | </FontString> |
||
1850 | </Layer> |
||
1851 | </Layers> |
||
1852 | </CheckButton> |
||
1853 | <CheckButton name="BGBuddy_ConfigPanel_AlwaysShowHonor" inherits="BGBuddy_ConfigPanel_CheckTemplate" virtual="true"> |
||
1854 | <Anchors> |
||
1855 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="BGBuddy_ConfigPanel_Customize_InstantAutoJoin"> |
||
1856 | <Offset> |
||
1857 | <AbsDimension x="0" y="3" /> |
||
1858 | </Offset> |
||
1859 | </Anchor> |
||
1860 | </Anchors> |
||
1861 | <Scripts> |
||
1862 | <OnShow> |
||
1863 | if ( BGBuddy_SavedVars["config"]["alwaysShowHonor"] == 1 ) then |
||
1864 | this:SetChecked(1); |
||
1865 | else |
||
1866 | this:SetChecked(0); |
||
1867 | end |
||
1868 | </OnShow> |
||
1869 | <OnClick> |
||
1870 | if ( this:GetChecked() == 1 ) then |
||
1871 | BGBuddy_SavedVars["config"]["alwaysShowHonor"] = 1; |
||
1872 | else |
||
1873 | BGBuddy_SavedVars["config"]["alwaysShowHonor"] = 0; |
||
1874 | end |
||
1875 | </OnClick> |
||
1876 | <OnEnter> |
||
1877 | GameTooltip:SetOwner(this, "ANCHOR_LEFT"); |
||
1878 | GameTooltip:SetBackdropColor(0.0, 0.0, 0.5); |
||
1879 | GameTooltip:SetText("Show or Hide total estimated session honor while in the Queued and Not-Queued state.", 1.0, 1.0, 1.0, 1.0, 1); |
||
1880 | </OnEnter> |
||
1881 | </Scripts> |
||
1882 | <Layers> |
||
1883 | <Layer level="ARTWORK"> |
||
1884 | <FontString name="BGBuddy_ConfigPanel_FrameText0" inherits="GameFontNormalSmall" text="Always Show Honor"> |
||
1885 | <Anchors> |
||
1886 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="BGBuddy_ConfigPanel_AlwaysShowHonor"> |
||
1887 | <Offset> |
||
1888 | <AbsDimension x="5" y="0" /> |
||
1889 | </Offset> |
||
1890 | </Anchor> |
||
1891 | </Anchors> |
||
1892 | <Color r="1.0" g="0.82" b="0"/> |
||
1893 | </FontString> |
||
1894 | </Layer> |
||
1895 | </Layers> |
||
1896 | </CheckButton> |
||
1897 | <CheckButton name="BGBuddy_ConfigPanel_PlaySound" inherits="BGBuddy_ConfigPanel_CheckTemplate" virtual="true"> |
||
1898 | <Anchors> |
||
1899 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="BGBuddy_ConfigPanel_AlwaysShowHonor"> |
||
1900 | <Offset> |
||
1901 | <AbsDimension x="0" y="3" /> |
||
1902 | </Offset> |
||
1903 | </Anchor> |
||
1904 | </Anchors> |
||
1905 | <Scripts> |
||
1906 | <OnShow> |
||
1907 | if ( BGBuddy_SavedVars["config"]["playSound"] == 1 ) then |
||
1908 | this:SetChecked(1); |
||
1909 | else |
||
1910 | this:SetChecked(0); |
||
1911 | end |
||
1912 | </OnShow> |
||
1913 | <OnClick> |
||
1914 | if ( this:GetChecked() == 1 ) then |
||
1915 | BGBuddy_SavedVars["config"]["playSound"] = 1; |
||
1916 | else |
||
1917 | BGBuddy_SavedVars["config"]["playSound"] = 0; |
||
1918 | end |
||
1919 | </OnClick> |
||
1920 | <OnEnter> |
||
1921 | GameTooltip:SetOwner(this, "ANCHOR_LEFT"); |
||
1922 | GameTooltip:SetBackdropColor(0.0, 0.0, 0.5); |
||
1923 | GameTooltip:SetText("Play a sound once the Battleground becomes available.", 1.0, 1.0, 1.0, 1.0, 1); |
||
1924 | </OnEnter> |
||
1925 | </Scripts> |
||
1926 | <Layers> |
||
1927 | <Layer level="ARTWORK"> |
||
1928 | <FontString name="BGBuddy_ConfigPanel_FrameText3" inherits="GameFontNormalSmall" text="Play Sound When Ready"> |
||
1929 | <Anchors> |
||
1930 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="BGBuddy_ConfigPanel_PlaySound"> |
||
1931 | <Offset> |
||
1932 | <AbsDimension x="5" y="0" /> |
||
1933 | </Offset> |
||
1934 | </Anchor> |
||
1935 | </Anchors> |
||
1936 | <Color r="1.0" g="0.82" b="0"/> |
||
1937 | </FontString> |
||
1938 | </Layer> |
||
1939 | </Layers> |
||
1940 | </CheckButton> |
||
1941 | <CheckButton name="BGBuddy_ConfigPanel_HideIcon" inherits="BGBuddy_ConfigPanel_CheckTemplate" virtual="true"> |
||
1942 | <Anchors> |
||
1943 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="BGBuddy_ConfigPanel_PlaySound"> |
||
1944 | <Offset> |
||
1945 | <AbsDimension x="0" y="3" /> |
||
1946 | </Offset> |
||
1947 | </Anchor> |
||
1948 | </Anchors> |
||
1949 | <Scripts> |
||
1950 | <OnShow> |
||
1951 | if ( BGBuddy_SavedVars["config"]["hideBGIcon"] == 1 ) then |
||
1952 | this:SetChecked(1); |
||
1953 | else |
||
1954 | this:SetChecked(0); |
||
1955 | end |
||
1956 | </OnShow> |
||
1957 | <OnClick> |
||
1958 | if ( this:GetChecked() == 1 ) then |
||
1959 | BGBuddy_SavedVars["config"]["hideBGIcon"] = 1; |
||
1960 | else |
||
1961 | BGBuddy_SavedVars["config"]["hideBGIcon"] = 0; |
||
1962 | end |
||
1963 | </OnClick> |
||
1964 | <OnEnter> |
||
1965 | GameTooltip:SetOwner(this, "ANCHOR_LEFT"); |
||
1966 | GameTooltip:SetBackdropColor(0.0, 0.0, 0.5); |
||
1967 | GameTooltip:SetText("Remove the battleground icon from the minimap.", 1.0, 1.0, 1.0, 1.0, 1); |
||
1968 | </OnEnter> |
||
1969 | </Scripts> |
||
1970 | <Layers> |
||
1971 | <Layer level="ARTWORK"> |
||
1972 | <FontString name="BGBuddy_ConfigPanel_FrameText7" inherits="GameFontNormalSmall" text="Hide Minimap BG Icon"> |
||
1973 | <Anchors> |
||
1974 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="BGBuddy_ConfigPanel_HideIcon"> |
||
1975 | <Offset> |
||
1976 | <AbsDimension x="5" y="0" /> |
||
1977 | </Offset> |
||
1978 | </Anchor> |
||
1979 | </Anchors> |
||
1980 | <Color r="1.0" g="0.82" b="0"/> |
||
1981 | </FontString> |
||
1982 | </Layer> |
||
1983 | </Layers> |
||
1984 | </CheckButton> |
||
1985 | <CheckButton name="BGBuddy_ConfigPanel_ShowSeconds" inherits="BGBuddy_ConfigPanel_CheckTemplate" virtual="true"> |
||
1986 | <Anchors> |
||
1987 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="BGBuddy_ConfigPanel_EnableBGBuddy"> |
||
1988 | <Offset> |
||
1989 | <AbsDimension x="140" y="0" /> |
||
1990 | </Offset> |
||
1991 | </Anchor> |
||
1992 | </Anchors> |
||
1993 | <Scripts> |
||
1994 | <OnShow> |
||
1995 | if ( BGBuddy_SavedVars["queued"]["showQueuedSeconds"] == nil ) then |
||
1996 | this:SetChecked(1); |
||
1997 | else |
||
1998 | this:SetChecked(0); |
||
1999 | end |
||
2000 | </OnShow> |
||
2001 | <OnClick> |
||
2002 | if ( this:GetChecked() == 1 ) then |
||
2003 | BGBuddy_SavedVars["queued"]["showQueuedSeconds"] = nil; |
||
2004 | else |
||
2005 | BGBuddy_SavedVars["queued"]["showQueuedSeconds"] = 1; |
||
2006 | end |
||
2007 | </OnClick> |
||
2008 | <OnEnter> |
||
2009 | GameTooltip:SetBackdropColor(0.0, 0.0, 0.5); |
||
2010 | GameTooltip:SetOwner(this, "ANCHOR_LEFT"); |
||
2011 | GameTooltip:SetText("Toggle the seconds field on the queued display.", 1.0, 1.0, 1.0, 1.0, 1); |
||
2012 | </OnEnter> |
||
2013 | </Scripts> |
||
2014 | <Layers> |
||
2015 | <Layer level="ARTWORK"> |
||
2016 | <FontString name="BGBuddy_ConfigPanel_FrameText0" inherits="GameFontNormalSmall" text="Show Queued Seconds"> |
||
2017 | <Anchors> |
||
2018 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="BGBuddy_ConfigPanel_ShowSeconds"> |
||
2019 | <Offset> |
||
2020 | <AbsDimension x="5" y="0" /> |
||
2021 | </Offset> |
||
2022 | </Anchor> |
||
2023 | </Anchors> |
||
2024 | <Color r="1.0" g="0.82" b="0"/> |
||
2025 | </FontString> |
||
2026 | </Layer> |
||
2027 | </Layers> |
||
2028 | </CheckButton> |
||
2029 | <CheckButton name="BGBuddy_ConfigPanel_Customize_DisplayRank" inherits="BGBuddy_ConfigPanel_CheckTemplate" virtual="true"> |
||
2030 | <Anchors> |
||
2031 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="BGBuddy_ConfigPanel_ShowSeconds"> |
||
2032 | <Offset> |
||
2033 | <AbsDimension x="0" y="3" /> |
||
2034 | </Offset> |
||
2035 | </Anchor> |
||
2036 | </Anchors> |
||
2037 | <Scripts> |
||
2038 | <OnShow> |
||
2039 | if ( BGBuddy_SavedVars["config"]["displayRank"] == 1 ) then |
||
2040 | this:SetChecked(1); |
||
2041 | else |
||
2042 | this:SetChecked(0); |
||
2043 | end |
||
2044 | </OnShow> |
||
2045 | <OnClick> |
||
2046 | if ( this:GetChecked() == 1 ) then |
||
2047 | BGBuddy_SavedVars["config"]["displayRank"] = 1; |
||
2048 | BGBuddy_KillFrame:SetPoint("TOPLEFT", "BGBuddy_RankFrame", "BOTTOMLEFT", 0, -2); |
||
2049 | else |
||
2050 | BGBuddy_SavedVars["config"]["displayRank"] = 0; |
||
2051 | BGBuddy_KillFrame:SetPoint("TOPLEFT", "BGBuddy_RankFrame", "TOPLEFT", 0, 0); |
||
2052 | end |
||
2053 | </OnClick> |
||
2054 | <OnEnter> |
||
2055 | GameTooltip:SetBackdropColor(0.0, 0.0, 0.5); |
||
2056 | GameTooltip:SetOwner(this, "ANCHOR_LEFT"); |
||
2057 | GameTooltip:SetText("Toggle displaying of rank title and icon.", 1.0, 1.0, 1.0, 1.0, 1); |
||
2058 | </OnEnter> |
||
2059 | </Scripts> |
||
2060 | <Layers> |
||
2061 | <Layer level="ARTWORK"> |
||
2062 | <FontString name="BGBuddy_ConfigPanel_FrameText0" inherits="GameFontNormalSmall" text="Show Rank"> |
||
2063 | <Anchors> |
||
2064 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="BGBuddy_ConfigPanel_Customize_DisplayRank"> |
||
2065 | <Offset> |
||
2066 | <AbsDimension x="5" y="0" /> |
||
2067 | </Offset> |
||
2068 | </Anchor> |
||
2069 | </Anchors> |
||
2070 | <Color r="1.0" g="0.82" b="0"/> |
||
2071 | </FontString> |
||
2072 | </Layer> |
||
2073 | </Layers> |
||
2074 | </CheckButton> |
||
2075 | <CheckButton name="BGBuddy_ConfigPanel_AutoRelease" inherits="BGBuddy_ConfigPanel_CheckTemplate" virtual="true"> |
||
2076 | <Anchors> |
||
2077 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="BGBuddy_ConfigPanel_Customize_DisplayRank"> |
||
2078 | <Offset> |
||
2079 | <AbsDimension x="0" y="3" /> |
||
2080 | </Offset> |
||
2081 | </Anchor> |
||
2082 | </Anchors> |
||
2083 | <Scripts> |
||
2084 | <OnShow> |
||
2085 | if ( BGBuddy_SavedVars["config"]["AutoRelease"] == 1 ) then |
||
2086 | this:SetChecked(1); |
||
2087 | else |
||
2088 | this:SetChecked(0); |
||
2089 | end |
||
2090 | </OnShow> |
||
2091 | <OnClick> |
||
2092 | if ( this:GetChecked() == 1 ) then |
||
2093 | BGBuddy_SavedVars["config"]["AutoRelease"] = 1; |
||
2094 | else |
||
2095 | BGBuddy_SavedVars["config"]["AutoRelease"] = 0; |
||
2096 | end |
||
2097 | </OnClick> |
||
2098 | <OnEnter> |
||
2099 | GameTooltip:SetOwner(this, "ANCHOR_LEFT"); |
||
2100 | GameTooltip:SetBackdropColor(0.0, 0.0, 0.5); |
||
2101 | GameTooltip:SetText("Automatically release from your corpse when you die.", 1.0, 1.0, 1.0, 1.0, 1); |
||
2102 | </OnEnter> |
||
2103 | </Scripts> |
||
2104 | <Layers> |
||
2105 | <Layer level="ARTWORK"> |
||
2106 | <FontString name="BGBuddy_ConfigPanel_FrameText6" inherits="GameFontNormalSmall" text="Enable Auto-Release"> |
||
2107 | <Anchors> |
||
2108 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="BGBuddy_ConfigPanel_AutoRelease"> |
||
2109 | <Offset> |
||
2110 | <AbsDimension x="5" y="0" /> |
||
2111 | </Offset> |
||
2112 | </Anchor> |
||
2113 | </Anchors> |
||
2114 | <Color r="1.0" g="0.82" b="0"/> |
||
2115 | </FontString> |
||
2116 | </Layer> |
||
2117 | </Layers> |
||
2118 | </CheckButton> |
||
2119 | <CheckButton name="BGBuddy_ConfigPanel_AutoLeaveBG" inherits="BGBuddy_ConfigPanel_CheckTemplate" virtual="true"> |
||
2120 | <Anchors> |
||
2121 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="BGBuddy_ConfigPanel_AutoRelease"> |
||
2122 | <Offset> |
||
2123 | <AbsDimension x="0" y="3" /> |
||
2124 | </Offset> |
||
2125 | </Anchor> |
||
2126 | </Anchors> |
||
2127 | <Scripts> |
||
2128 | <OnShow> |
||
2129 | if ( BGBuddy_SavedVars["config"]["autoLeaveBG"] == 1 ) then |
||
2130 | this:SetChecked(1); |
||
2131 | else |
||
2132 | this:SetChecked(0); |
||
2133 | end |
||
2134 | </OnShow> |
||
2135 | <OnClick> |
||
2136 | if ( this:GetChecked() == 1 ) then |
||
2137 | BGBuddy_SavedVars["config"]["autoLeaveBG"] = 1; |
||
2138 | else |
||
2139 | BGBuddy_SavedVars["config"]["autoLeaveBG"] = 0; |
||
2140 | end |
||
2141 | </OnClick> |
||
2142 | <OnEnter> |
||
2143 | GameTooltip:SetOwner(this, "ANCHOR_LEFT"); |
||
2144 | GameTooltip:SetBackdropColor(0.0, 0.0, 0.5); |
||
2145 | GameTooltip:SetText("Automatically leave completed battlegrounds.", 1.0, 1.0, 1.0, 1.0, 1); |
||
2146 | </OnEnter> |
||
2147 | </Scripts> |
||
2148 | <Layers> |
||
2149 | <Layer level="ARTWORK"> |
||
2150 | <FontString name="BGBuddy_ConfigPanel_FrameText6" inherits="GameFontNormalSmall" text="Enable Auto-Leave BG"> |
||
2151 | <Anchors> |
||
2152 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="BGBuddy_ConfigPanel_AutoLeaveBG"> |
||
2153 | <Offset> |
||
2154 | <AbsDimension x="5" y="0" /> |
||
2155 | </Offset> |
||
2156 | </Anchor> |
||
2157 | </Anchors> |
||
2158 | <Color r="1.0" g="0.82" b="0"/> |
||
2159 | </FontString> |
||
2160 | </Layer> |
||
2161 | </Layers> |
||
2162 | </CheckButton> |
||
2163 | </Frames> |
||
2164 | </Frame> |
||
2165 | <Frame name="BGBuddy_ConfigPanel_AboutBox" parent="BGBuddy_ConfigPanel_CustomizeDisplay" inherits="virtual_BGBuddy_ConfigPanel_Customize_BoxTemplate" hidden="true"> |
||
2166 | <Size> |
||
2167 | <AbsDimension x="135" y="40"/> |
||
2168 | </Size> |
||
2169 | <Anchors> |
||
2170 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" relativeTo="BGBuddy_ConfigPanel_CustomizeDisplay"> |
||
2171 | <Offset> |
||
2172 | <AbsDimension x="-20" y="20" /> |
||
2173 | </Offset> |
||
2174 | </Anchor> |
||
2175 | </Anchors> |
||
2176 | <Layers> |
||
2177 | <Layer level="ARTWORK"> |
||
2178 | <FontString name="BGBuddy_ConfigPanel_AboutTitle" inherits="GameFontNormalSmall"> |
||
2179 | <Anchors> |
||
2180 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
2181 | <Offset> |
||
2182 | <AbsDimension x="0" y="0" /> |
||
2183 | </Offset> |
||
2184 | </Anchor> |
||
2185 | </Anchors> |
||
2186 | </FontString> |
||
2187 | </Layer> |
||
2188 | </Layers> |
||
2189 | </Frame> |
||
2190 | <Slider name="BGBuddy_ConfigPanel_Slider1" inherits="virtual_BGBuddy_SliderTemplate" minValue="0" maxvalue="100" valueStep="1" hidden="false"> |
||
2191 | <Anchors> |
||
2192 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="BGBuddy_ConfigPanel_CustomizeDisplay"> |
||
2193 | <Offset> |
||
2194 | <AbsDimension x="20" y="-280" /> |
||
2195 | </Offset> |
||
2196 | </Anchor> |
||
2197 | </Anchors> |
||
2198 | <Scripts> |
||
2199 | <OnLoad> |
||
2200 | getglobal(this:GetName().."Heading"):SetText("Background Transparency"); |
||
2201 | getglobal(this:GetName().."LeftText"):SetText("0%"); |
||
2202 | getglobal(this:GetName().."RightText"):SetText("100%"); |
||
2203 | </OnLoad> |
||
2204 | <OnShow> |
||
2205 | getglobal(this:GetName().."ValueText"):SetText(BGBuddy_SavedVars["config"]["backgroundAlpha"].."%"); |
||
2206 | getglobal(this:GetName()):SetValue(BGBuddy_SavedVars["config"]["backgroundAlpha"]); |
||
2207 | </OnShow> |
||
2208 | <OnValueChanged> |
||
2209 | BGBuddy_Config_SetBackgroundAlpha(); |
||
2210 | </OnValueChanged> |
||
2211 | <OnEnter> |
||
2212 | GameTooltip:SetOwner(this, "ANCHOR_LEFT"); |
||
2213 | GameTooltip:SetBackdropColor(0.0, 0.0, 0.5); |
||
2214 | GameTooltip:SetText("Adjust transparency of the BGBuddy background.", 1.0, 1.0, 1.0, 1.0, 1); |
||
2215 | </OnEnter> |
||
2216 | <OnLeave> |
||
2217 | GameTooltip:Hide(); |
||
2218 | </OnLeave> |
||
2219 | </Scripts> |
||
2220 | </Slider> |
||
2221 | |||
2222 | <Slider name="BGBuddy_ConfigPanel_Slider2" inherits="virtual_BGBuddy_SliderTemplate" minValue="0" maxvalue="100" valueStep="1" hidden="false"> |
||
2223 | <Anchors> |
||
2224 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="BGBuddy_ConfigPanel_CustomizeDisplay"> |
||
2225 | <Offset> |
||
2226 | <AbsDimension x="20" y="-335" /> |
||
2227 | </Offset> |
||
2228 | </Anchor> |
||
2229 | </Anchors> |
||
2230 | <Scripts> |
||
2231 | <OnLoad> |
||
2232 | getglobal(this:GetName().."Heading"):SetText("Border Transparency"); |
||
2233 | getglobal(this:GetName().."LeftText"):SetText("0%"); |
||
2234 | getglobal(this:GetName().."RightText"):SetText("100%"); |
||
2235 | </OnLoad> |
||
2236 | <OnShow> |
||
2237 | getglobal(this:GetName().."ValueText"):SetText(BGBuddy_SavedVars["config"]["borderAlpha"].."%"); |
||
2238 | getglobal(this:GetName()):SetValue(BGBuddy_SavedVars["config"]["borderAlpha"]); |
||
2239 | </OnShow> |
||
2240 | <OnValueChanged> |
||
2241 | BGBuddy_Config_SetBorderAlpha(); |
||
2242 | </OnValueChanged> |
||
2243 | <OnEnter> |
||
2244 | GameTooltip:SetOwner(this, "ANCHOR_LEFT"); |
||
2245 | GameTooltip:SetBackdropColor(0.0, 0.0, 0.5); |
||
2246 | GameTooltip:SetText("Adjust transparency of the BGBuddy border.", 1.0, 1.0, 1.0, 1.0, 1); |
||
2247 | </OnEnter> |
||
2248 | </Scripts> |
||
2249 | </Slider> |
||
2250 | |||
2251 | |||
2252 | <Slider name="BGBuddy_ConfigPanel_Slider3" inherits="virtual_BGBuddy_SliderTemplate" minValue="-50" maxvalue="50" valueStep="1" hidden="false"> |
||
2253 | <Anchors> |
||
2254 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="BGBuddy_ConfigPanel_CustomizeDisplay"> |
||
2255 | <Offset> |
||
2256 | <AbsDimension x="200" y="-280" /> |
||
2257 | </Offset> |
||
2258 | </Anchor> |
||
2259 | </Anchors> |
||
2260 | <Scripts> |
||
2261 | <OnLoad> |
||
2262 | getglobal(this:GetName().."Heading"):SetText("Scale"); |
||
2263 | getglobal(this:GetName().."LeftText"):SetText("50%"); |
||
2264 | getglobal(this:GetName().."RightText"):SetText("150%"); |
||
2265 | </OnLoad> |
||
2266 | <OnShow> |
||
2267 | getglobal(this:GetName().."ValueText"):SetText((100+(math.floor(BGBuddy_SavedVars["config"]["uiScale"])).."%")); |
||
2268 | getglobal(this:GetName()):SetValue(BGBuddy_SavedVars["config"]["uiScale"]); |
||
2269 | </OnShow> |
||
2270 | <OnValueChanged> |
||
2271 | BGBuddy_Config_SetUiScale(); |
||
2272 | </OnValueChanged> |
||
2273 | <OnEnter> |
||
2274 | GameTooltip:SetOwner(this, "ANCHOR_LEFT"); |
||
2275 | GameTooltip:SetBackdropColor(0.0, 0.0, 0.5); |
||
2276 | GameTooltip:SetText("Adjust the BGBuddy UI scale.", 1.0, 1.0, 1.0, 1.0, 1); |
||
2277 | </OnEnter> |
||
2278 | <OnLeave> |
||
2279 | GameTooltip:Hide(); |
||
2280 | </OnLeave> |
||
2281 | </Scripts> |
||
2282 | </Slider> |
||
2283 | </Frames> |
||
2284 | </Frame> |
||
2285 | |||
2286 | <!-- CUSTOMIZE PANE --> |
||
2287 | <!-- CUSTOMIZE PANE --> |
||
2288 | <!-- CUSTOMIZE PANE --> |
||
2289 | <!-- CUSTOMIZE PANE --> |
||
2290 | <!-- CUSTOMIZE PANE --> |
||
2291 | <!-- CUSTOMIZE PANE --> |
||
2292 | <!-- CUSTOMIZE PANE --> |
||
2293 | <Frame name="BGBuddy_ConfigPanel_CustomizeDisplay" toplevel="true" movable="false" enableMouse="true" hidden="true" parent="UIParent"> |
||
2294 | <Scripts> |
||
2295 | <OnShow> |
||
2296 | BGBuddy_ConfigPanel_CustomizeDisplay.open = 1; |
||
2297 | </OnShow> |
||
2298 | <OnEscapePressed> |
||
2299 | BGBuddy_ConfigPanel_CustomizeDisplay.open = 0; |
||
2300 | PlaySound("gsTitleOptionOK"); |
||
2301 | HideUIPanel(this); |
||
2302 | </OnEscapePressed> |
||
2303 | <OnLoad> |
||
2304 | UIPanelWindows['BGBuddy_ConfigPanel_CustomizeDisplay'] = {area = 'center', pushable = 0}; |
||
2305 | </OnLoad> |
||
2306 | </Scripts> |
||
2307 | <Size> |
||
2308 | <AbsDimension x="360" y="370" /> |
||
2309 | </Size> |
||
2310 | <Anchors> |
||
2311 | <Anchor point="CENTER" /> |
||
2312 | </Anchors> |
||
2313 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" |
||
2314 | tile="true"> |
||
2315 | <BackgroundInsets> |
||
2316 | <AbsInset left="11" right="12" top="12" bottom="11" /> |
||
2317 | <Size> |
||
2318 | <AbsDimension x="128" y="17" /> |
||
2319 | </Size> |
||
2320 | </BackgroundInsets> |
||
2321 | <TileSize> |
||
2322 | <AbsValue val="32" /> |
||
2323 | </TileSize> |
||
2324 | <EdgeSize> |
||
2325 | <AbsValue val="32" /> |
||
2326 | </EdgeSize> |
||
2327 | </Backdrop> |
||
2328 | <Layers> |
||
2329 | <Layer level="ARTWORK"> |
||
2330 | <Texture name="BGBuddy_ConfigPanelCustomizeDisplayTitle" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
2331 | <Size> |
||
2332 | <AbsDimension x="350" y="64" /> |
||
2333 | </Size> |
||
2334 | <Anchors> |
||
2335 | <Anchor point="TOP"> |
||
2336 | <Offset> |
||
2337 | <AbsDimension x="0" y="12" /> |
||
2338 | </Offset> |
||
2339 | </Anchor> |
||
2340 | </Anchors> |
||
2341 | </Texture> |
||
2342 | <FontString inherits="GameFontNormal" text="Customize Display"> |
||
2343 | <Anchors> |
||
2344 | <Anchor point="TOP" relativeTo="BGBuddy_ConfigPanel_CustomizeDisplay"> |
||
2345 | <Offset> |
||
2346 | <AbsDimension x="0" y="-2" /> |
||
2347 | </Offset> |
||
2348 | </Anchor> |
||
2349 | </Anchors> |
||
2350 | </FontString> |
||
2351 | </Layer> |
||
2352 | </Layers> |
||
2353 | |||
2354 | <Frames> |
||
2355 | <Frame name="BGBuddy_ConfigPanel_CustomizeDropdown" inherits="UIDropDownMenuTemplate" id="1"> |
||
2356 | <Anchors> |
||
2357 | <Anchor point="LEFT" relativeTo="BGBuddy_ConfigPanel_CustomizeDisplay" relativePoint="TOPLEFT"> |
||
2358 | <Offset> |
||
2359 | <AbsDimension x="3" y="-40"/> |
||
2360 | </Offset> |
||
2361 | </Anchor> |
||
2362 | </Anchors> |
||
2363 | <Layers> |
||
2364 | <Layer level="OVERLAY"> |
||
2365 | <FontString inherits="GameFontNormal" > |
||
2366 | <Anchors> |
||
2367 | <Anchor point="TOPLEFT"> |
||
2368 | <Offset> |
||
2369 | <AbsDimension x="5" y="5" /> |
||
2370 | </Offset> |
||
2371 | </Anchor> |
||
2372 | </Anchors> |
||
2373 | </FontString> |
||
2374 | </Layer> |
||
2375 | </Layers> |
||
2376 | <Scripts> |
||
2377 | <OnLoad> |
||
2378 | BGBuddy_ConfigPanel_CustomizeDropdown_OnLoad(); |
||
2379 | </OnLoad> |
||
2380 | <OnShow> |
||
2381 | BGBuddy_ShowConfigPanel(2, "gen"); |
||
2382 | UIDropDownMenu_SetText("General"); |
||
2383 | </OnShow> |
||
2384 | </Scripts> |
||
2385 | </Frame> |
||
2386 | |||
2387 | <Button name="BGBuddy_ConfigPanel_CustomizeButtonClose" inherits="UIPanelCloseButton"> |
||
2388 | <Anchors> |
||
2389 | <Anchor point="CENTER" relativeTo="BGBuddy_ConfigPanel_CustomizeDisplay" relativePoint="TOPRIGHT"> |
||
2390 | <Offset> |
||
2391 | <AbsDimension x="-25" y="-25"/> |
||
2392 | </Offset> |
||
2393 | </Anchor> |
||
2394 | </Anchors> |
||
2395 | <Scripts> |
||
2396 | <OnLoad> |
||
2397 | this:SetFrameLevel(this:GetFrameLevel() + 4); |
||
2398 | </OnLoad> |
||
2399 | <OnClick> |
||
2400 | BGBuddy_ConfigPanel_CustomizeDisplay.open = 0; |
||
2401 | BGBuddy_Config_SetCustomDisplay(); |
||
2402 | PlaySound("gsTitleOptionOK"); |
||
2403 | HideUIPanel(BGBuddy_ConfigPanel_CustomizeDisplay); |
||
2404 | </OnClick> |
||
2405 | </Scripts> |
||
2406 | </Button> |
||
2407 | |||
2408 | <!-- BG Customize Frame Wrapper --> |
||
2409 | <Frame name="BGBuddy_ConfigPanel_CustomizeBG" inherits="virtual_BGBuddy_ConfigPanel_CustomizeBG" hidden="true" > |
||
2410 | <Anchors> |
||
2411 | <Anchor point="TOPLEFT" relativeTo="BGBuddy_ConfigPanel_CustomizeDisplay" relativePoint="TOPLEFT"> |
||
2412 | <Offset> |
||
2413 | <AbsDimension x="-25" y="-25"/> |
||
2414 | </Offset> |
||
2415 | </Anchor> |
||
2416 | </Anchors> |
||
2417 | <OnLoad> |
||
2418 | this:SetLevel(this:GetLevel()+1) |
||
2419 | </OnLoad> |
||
2420 | </Frame> |
||
2421 | |||
2422 | <!-- Non BG Customize Frame Wrapper --> |
||
2423 | <Frame name="BGBuddy_ConfigPanel_CustomizeNonBG" inherits="virtual_BGBuddy_ConfigPanel_CustomizeNonBG" hidden="true" > |
||
2424 | <Anchors> |
||
2425 | <Anchor point="TOPLEFT" relativeTo="BGBuddy_ConfigPanel_CustomizeDisplay" relativePoint="TOPLEFT"> |
||
2426 | <Offset> |
||
2427 | <AbsDimension x="-25" y="-25"/> |
||
2428 | </Offset> |
||
2429 | </Anchor> |
||
2430 | </Anchors> |
||
2431 | <OnLoad> |
||
2432 | this:SetLevel(this:GetLevel()+1) |
||
2433 | </OnLoad> |
||
2434 | </Frame> |
||
2435 | |||
2436 | <!-- General Frame Wrapper --> |
||
2437 | <Frame name="BGBuddy_ConfigPanel_CustomizeGeneral" inherits="virtual_BGBuddy_ConfigPanel_CustomizeGeneral" hidden="true" > |
||
2438 | <Anchors> |
||
2439 | <Anchor point="TOPLEFT" relativeTo="BGBuddy_ConfigPanel_CustomizeDisplay" relativePoint="TOPLEFT"> |
||
2440 | <Offset> |
||
2441 | <AbsDimension x="-25" y="-25"/> |
||
2442 | </Offset> |
||
2443 | </Anchor> |
||
2444 | </Anchors> |
||
2445 | <OnLoad> |
||
2446 | this:SetLevel(this:GetLevel()+1) |
||
2447 | </OnLoad> |
||
2448 | </Frame> |
||
2449 | </Frames> |
||
2450 | </Frame> |
||
2451 | <!-- END CUSTOMIZE FRAME --> |
||
2452 | |||
2453 | <!-- CONFIG PANEL --> |
||
2454 | <!-- CONFIG PANEL --> |
||
2455 | <!-- CONFIG PANEL --> |
||
2456 | <!-- CONFIG PANEL --> |
||
2457 | <Frame name="BGBuddy_ConfigPanel" > |
||
2458 | </Frame> |
||
2459 | <!-- |
||
2460 | |||
2461 | <CheckButton name="BGBuddy_ConfigPanel_Customize_HideDisplay" inherits="UICheckButtonTemplate" virtual="true"> |
||
2462 | <Anchors> |
||
2463 | <Anchor point="LEFT" relativePoint="TOPLEFT" relativeTo="BGBuddy_ConfigPanel_CustomizeDisplay"> |
||
2464 | <Offset> |
||
2465 | <AbsDimension x="365" y="-235" /> |
||
2466 | </Offset> |
||
2467 | </Anchor> |
||
2468 | </Anchors> |
||
2469 | <Size> |
||
2470 | <AbsDimension x="24" y="24"/> |
||
2471 | </Size> |
||
2472 | <Scripts> |
||
2473 | <OnShow> |
||
2474 | if ( BGBuddy_SavedVars["config"]["hideDisplay"] == 1 ) then |
||
2475 | this:SetChecked(1); |
||
2476 | else |
||
2477 | this:SetChecked(0); |
||
2478 | end |
||
2479 | </OnShow> |
||
2480 | <OnClick> |
||
2481 | if ( this:GetChecked() ) then |
||
2482 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
2483 | else |
||
2484 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
2485 | end |
||
2486 | BGBuddy_Config_SetVisibility(); |
||
2487 | </OnClick> |
||
2488 | <OnEnter> |
||
2489 | GameTooltip:SetOwner(this, "ANCHOR_LEFT"); |
||
2490 | GameTooltip:SetBackdropColor(0.0, 0.0, 0.5); |
||
2491 | GameTooltip:SetText("Hide the BGBuddy window.", 1.0, 1.0, 1.0, 1.0, 1); |
||
2492 | </OnEnter> |
||
2493 | <OnLeave> |
||
2494 | GameTooltip:Hide(); |
||
2495 | </OnLeave> |
||
2496 | </Scripts> |
||
2497 | </CheckButton> |
||
2498 | |||
2499 | <Frame name="BGBuddy_ConfigPanel_Frame8" parent="BGBuddy_ConfigPanel_Customize_HideDisplay"> |
||
2500 | <Anchors> |
||
2501 | <Anchor point="LEFT" relativeTo="BGBuddy_ConfigPanel_Customize_HideDisplay" relativePoint="LEFT"> |
||
2502 | <Offset> |
||
2503 | <AbsDimension x="20" y="-30" /> |
||
2504 | </Offset> |
||
2505 | </Anchor> |
||
2506 | </Anchors> |
||
2507 | <Layers> |
||
2508 | <Layer level="BACKGROUND"> |
||
2509 | <FontString name="BGBuddy_ConfigPanel_FrameText8" inherits="GameFontNormalSmall" text="Hide display"> |
||
2510 | <Anchors> |
||
2511 | <Anchor point="TOPLEFT" relativeTo="BGBuddy_ConfigPanel_Customize_HideDisplay"> |
||
2512 | <Offset> |
||
2513 | <AbsDimension x="25" y="-6" /> |
||
2514 | </Offset> |
||
2515 | </Anchor> |
||
2516 | </Anchors> |
||
2517 | <Color r="1.0" g="0.82" b="0"/> |
||
2518 | </FontString> |
||
2519 | </Layer> |
||
2520 | </Layers> |
||
2521 | </Frame> |
||
2522 | --> |
||
2523 | |||
2524 | </Ui> |