vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by () --> |
2 | <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/ |
||
3 | C:\UI.xsd"> |
||
4 | <Script file="BEBOptions.lua"/> |
||
5 | |||
6 | <CheckButton name="BEBOptionsCheckButtonTemplate" inherits="OptionsCheckButtonTemplate" virtual="true"> |
||
7 | <Scripts> |
||
8 | <OnClick> |
||
9 | BEBOptions_CheckButton_OnClick() |
||
10 | </OnClick> |
||
11 | </Scripts> |
||
12 | </CheckButton> |
||
13 | |||
14 | <Button name="BEBNudgeTemplate" inherits="UIPanelButtonTemplate" hidden="false" virtual="true"> |
||
15 | <Size> |
||
16 | <AbsDimension x="24" y="24"/> |
||
17 | </Size> |
||
18 | <Scripts> |
||
19 | <OnLoad> |
||
20 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp", "MiddleButtonUp"); |
||
21 | </OnLoad> |
||
22 | <OnMouseDown> |
||
23 | if (arg1 == "MiddleButton") then |
||
24 | BEBNudging = this:GetName(); |
||
25 | BEBNudgeTime = 0 |
||
26 | end |
||
27 | </OnMouseDown> |
||
28 | <OnMouseUp> |
||
29 | if (arg1 == "MiddleButton") then |
||
30 | BEBNudging = nil; |
||
31 | BEBNudgeTime = nil |
||
32 | else |
||
33 | BEBOptions_Nudge(arg1,this:GetName()); |
||
34 | end |
||
35 | </OnMouseUp> |
||
36 | </Scripts> |
||
37 | </Button> |
||
38 | |||
39 | <Button name="BEBColorButtonTemplate" virtual="true"> |
||
40 | <Size> |
||
41 | <AbsDimension x="25" y="25"/> |
||
42 | </Size> |
||
43 | <Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border"> |
||
44 | <EdgeSize> |
||
45 | <AbsValue val="16"/> |
||
46 | </EdgeSize> |
||
47 | </Backdrop> |
||
48 | <Layers> |
||
49 | <Layer level="ARTWORK"> |
||
50 | <FontString name="$parentText" inherits="GameFontNormalSmall" justifyH="LEFT"> |
||
51 | <Anchors> |
||
52 | <Anchor point="LEFT" relativePoint="RIGHT"> |
||
53 | <Offset> |
||
54 | <AbsDimension x="5" y="0"/> |
||
55 | </Offset> |
||
56 | </Anchor> |
||
57 | </Anchors> |
||
58 | </FontString> |
||
59 | </Layer> |
||
60 | </Layers> |
||
61 | <Scripts> |
||
62 | <OnLoad> |
||
63 | getglobal(this:GetName().."Text"):SetWidth(105); |
||
64 | </OnLoad> |
||
65 | <OnClick> |
||
66 | BEBOptions_ColorPicker_OnClick(); |
||
67 | </OnClick> |
||
68 | </Scripts> |
||
69 | <HighlightTexture file="Interface\Buttons\CheckButtonHilight" alphaMode="ADD"> |
||
70 | </HighlightTexture> |
||
71 | </Button> |
||
72 | |||
73 | <Button name="BEB_MenuOptionTemplate" virtual="true"> |
||
74 | <Size> |
||
75 | <AbsDimension x="170" y="15"/> |
||
76 | </Size> |
||
77 | <Layers> |
||
78 | <Layer level="ARTWORK"> |
||
79 | <FontString name="$parentText" inherits="GameFontNormalSmall"> |
||
80 | <Anchors> |
||
81 | <Anchor point="TOPLEFT"></Anchor> |
||
82 | <Anchor point="BOTTOMRIGHT"></Anchor> |
||
83 | </Anchors> |
||
84 | </FontString> |
||
85 | </Layer> |
||
86 | </Layers> |
||
87 | <Scripts> |
||
88 | <OnEnter> |
||
89 | this:GetParent().timer = nil; |
||
90 | </OnEnter> |
||
91 | <OnClick> |
||
92 | BEBOptions_MenuOptionOnClick() |
||
93 | </OnClick> |
||
94 | </Scripts> |
||
95 | <HighlightTexture alphaMode="ADD" file="Interface\Buttons\UI-Panel-Button-Highlight"> |
||
96 | <TexCoords left="0" right="0.625" top="0.1" bottom="0.6875"/> |
||
97 | </HighlightTexture> |
||
98 | </Button> |
||
99 | |||
100 | |||
101 | |||
102 | |||
103 | <Frame name="BEBConfigFrame" toplevel="true" parent="UIParent" frameStrata="DIALOG" hidden="true" enableMouse="true" enableKeyboard="false" movable="true"> |
||
104 | <Size> |
||
105 | <AbsDimension x="320" y="380"/> |
||
106 | </Size> |
||
107 | <Anchors> |
||
108 | <Anchor point="CENTER"/> |
||
109 | </Anchors> |
||
110 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
111 | <BackgroundInsets> |
||
112 | <AbsInset left="11" right="12" top="12" bottom="11"/> |
||
113 | </BackgroundInsets> |
||
114 | <TileSize> |
||
115 | <AbsValue val="32"/> |
||
116 | </TileSize> |
||
117 | <EdgeSize> |
||
118 | <AbsValue val="32"/> |
||
119 | </EdgeSize> |
||
120 | </Backdrop> |
||
121 | <Layers> |
||
122 | <Layer level="ARTWORK"> |
||
123 | <Texture file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
124 | <Size> |
||
125 | <AbsDimension x="256" y="64"/> |
||
126 | </Size> |
||
127 | <Anchors> |
||
128 | <Anchor point="TOP"> |
||
129 | <Offset> |
||
130 | <AbsDimension x="0" y="24"/> |
||
131 | </Offset> |
||
132 | </Anchor> |
||
133 | </Anchors> |
||
134 | </Texture> |
||
135 | </Layer> |
||
136 | </Layers> |
||
137 | <Frames> |
||
138 | <Frame name="BEBConfigHeader" enableMouse="true "> |
||
139 | <Size> |
||
140 | <AbsDimension x="140" y="20"/> |
||
141 | </Size> |
||
142 | <Anchors> |
||
143 | <Anchor point="TOP"> |
||
144 | <Offset> |
||
145 | <AbsDimension x="0" y="20"/> |
||
146 | </Offset> |
||
147 | </Anchor> |
||
148 | </Anchors> |
||
149 | <Layers> |
||
150 | <Layer level="OVERLAY"> |
||
151 | <FontString inherits="GameFontNormal" text="BEB Config" justifyV="MIDDLE"> |
||
152 | <Anchors> |
||
153 | <Anchor point="CENTER" relativeTo="BEBConfigHeader"> |
||
154 | <Offset> |
||
155 | <AbsDimension y="-4" x="0"/> |
||
156 | </Offset> |
||
157 | </Anchor> |
||
158 | </Anchors> |
||
159 | </FontString> |
||
160 | </Layer> |
||
161 | </Layers> |
||
162 | <Scripts> |
||
163 | <OnMouseDown> |
||
164 | BEBOptions_OnMouseDown() |
||
165 | </OnMouseDown> |
||
166 | <OnMouseUp> |
||
167 | BEBOptions_OnMouseUp() |
||
168 | </OnMouseUp> |
||
169 | </Scripts> |
||
170 | </Frame> |
||
171 | <Button name="BEBGeneralSelector" inherits="OptionsButtonTemplate"> |
||
172 | <Anchors> |
||
173 | <Anchor point="CENTER" relativePoint="TOP"> |
||
174 | <Offset> |
||
175 | <AbsDimension x="-105" y="-20"/> |
||
176 | </Offset> |
||
177 | </Anchor> |
||
178 | </Anchors> |
||
179 | <Scripts> |
||
180 | <OnLoad> |
||
181 | this.index = "General" |
||
182 | </OnLoad> |
||
183 | <OnClick> |
||
184 | BEBOptions_SelectFrame(); |
||
185 | </OnClick> |
||
186 | </Scripts> |
||
187 | </Button> |
||
188 | <Button name="BEBColorsSelector" inherits="OptionsButtonTemplate"> |
||
189 | <Anchors> |
||
190 | <Anchor point="CENTER" relativePoint="TOP"> |
||
191 | <Offset> |
||
192 | <AbsDimension x="0" y="-20"/> |
||
193 | </Offset> |
||
194 | </Anchor> |
||
195 | </Anchors> |
||
196 | <Scripts> |
||
197 | <OnLoad> |
||
198 | this.index = "Colors" |
||
199 | </OnLoad> |
||
200 | <OnClick> |
||
201 | BEBOptions_SelectFrame(); |
||
202 | </OnClick> |
||
203 | </Scripts> |
||
204 | </Button> |
||
205 | <Button name="BEBPlacementSelector" inherits="OptionsButtonTemplate"> |
||
206 | <Anchors> |
||
207 | <Anchor point="CENTER" relativePoint="TOP"> |
||
208 | <Offset> |
||
209 | <AbsDimension x="105" y="-20"/> |
||
210 | </Offset> |
||
211 | </Anchor> |
||
212 | </Anchors> |
||
213 | <Scripts> |
||
214 | <OnLoad> |
||
215 | this.index = "Placement" |
||
216 | </OnLoad> |
||
217 | <OnClick> |
||
218 | BEBOptions_SelectFrame(); |
||
219 | </OnClick> |
||
220 | </Scripts> |
||
221 | </Button> |
||
222 | <Button name="$parentButtonClose" inherits="OptionsButtonTemplate" text="Close"> |
||
223 | <Anchors> |
||
224 | <Anchor point="BOTTOMRIGHT"> |
||
225 | <Offset> |
||
226 | <AbsDimension x="-12" y="16"/> |
||
227 | </Offset> |
||
228 | </Anchor> |
||
229 | </Anchors> |
||
230 | <Scripts> |
||
231 | <OnClick> |
||
232 | BEBConfigFrame:Hide() |
||
233 | </OnClick> |
||
234 | </Scripts> |
||
235 | </Button> |
||
236 | <Button name="BEBDefaultsButton" inherits="OptionsButtonTemplate" text="Defaults"> |
||
237 | <Anchors> |
||
238 | <Anchor point="BOTTOMLEFT"> |
||
239 | <Offset> |
||
240 | <AbsDimension x="13" y="16"/> |
||
241 | </Offset> |
||
242 | </Anchor> |
||
243 | </Anchors> |
||
244 | <Scripts> |
||
245 | <OnClick> |
||
246 | BEBOptions_LoadDefaults() |
||
247 | </OnClick> |
||
248 | </Scripts> |
||
249 | </Button> |
||
250 | |||
251 | |||
252 | |||
253 | <Frame name="BEBConfigGeneralFrame" hidden="true"> |
||
254 | <Anchors> |
||
255 | <Anchor point="TOPLEFT" relativeTo="BEBConfigFrame" relativePoint="TOPLEFT"> |
||
256 | <Offset> |
||
257 | <AbsDimension y="-20" x="0"/> |
||
258 | </Offset> |
||
259 | </Anchor> |
||
260 | <Anchor point="BOTTOMRIGHT" relativeTo="BEBConfigFrame" relativePoint="BOTTOMRIGHT"> |
||
261 | <Offset> |
||
262 | <AbsDimension y="20" x="0"/> |
||
263 | </Offset> |
||
264 | </Anchor> |
||
265 | </Anchors> |
||
266 | <Frames> |
||
267 | |||
268 | <CheckButton name="BEBEnabledButton" inherits="BEBOptionsCheckButtonTemplate"> |
||
269 | <Anchors> |
||
270 | <Anchor point="TOPLEFT" relativeTo="BEBConfigGeneralFrame" relativePoint="TOPLEFT"> |
||
271 | <Offset> |
||
272 | <AbsDimension x="20" y="-10"/> |
||
273 | </Offset> |
||
274 | </Anchor> |
||
275 | </Anchors> |
||
276 | <Scripts> |
||
277 | <OnLoad> |
||
278 | this.notindex = "Disabled" |
||
279 | </OnLoad> |
||
280 | </Scripts> |
||
281 | </CheckButton> |
||
282 | |||
283 | <CheckButton name="BEBShowMarksButton" inherits="BEBOptionsCheckButtonTemplate"> |
||
284 | <Anchors> |
||
285 | <Anchor point="TOPLEFT" relativeTo="BEBEnabledButton" relativePoint="TOPRIGHT"> |
||
286 | <Offset> |
||
287 | <AbsDimension x="115" y="0"/> |
||
288 | </Offset> |
||
289 | </Anchor> |
||
290 | </Anchors> |
||
291 | <Scripts> |
||
292 | <OnLoad> |
||
293 | this.notindex = "MarksHide" |
||
294 | </OnLoad> |
||
295 | </Scripts> |
||
296 | </CheckButton> |
||
297 | |||
298 | <CheckButton name="BEBShowXpTicksButton" inherits="BEBOptionsCheckButtonTemplate"> |
||
299 | <Anchors> |
||
300 | <Anchor point="TOPLEFT" relativeTo="BEBEnabledButton" relativePoint="BOTTOMLEFT"> |
||
301 | <Offset> |
||
302 | <AbsDimension x="0" y="0"/> |
||
303 | </Offset> |
||
304 | </Anchor> |
||
305 | </Anchors> |
||
306 | <Scripts> |
||
307 | <OnLoad> |
||
308 | this.notindex = "XpTickHide" |
||
309 | </OnLoad> |
||
310 | </Scripts> |
||
311 | </CheckButton> |
||
312 | |||
313 | <CheckButton name="BEBShowRestedXpTicksButton" inherits="BEBOptionsCheckButtonTemplate"> |
||
314 | <Anchors> |
||
315 | <Anchor point="TOPLEFT" relativeTo="BEBShowXpTicksButton" relativePoint="TOPRIGHT"> |
||
316 | <Offset> |
||
317 | <AbsDimension x="115" y="0"/> |
||
318 | </Offset> |
||
319 | </Anchor> |
||
320 | </Anchors> |
||
321 | <Scripts> |
||
322 | <OnLoad> |
||
323 | this.notindex = "RestedXpTickHide" |
||
324 | </OnLoad> |
||
325 | </Scripts> |
||
326 | </CheckButton> |
||
327 | |||
328 | <CheckButton name="BEBShowBackgroundButton" inherits="BEBOptionsCheckButtonTemplate"> |
||
329 | <Anchors> |
||
330 | <Anchor point="TOPLEFT" relativeTo="BEBShowXpTicksButton" relativePoint="BOTTOMLEFT"> |
||
331 | <Offset> |
||
332 | <AbsDimension x="0" y="0"/> |
||
333 | </Offset> |
||
334 | </Anchor> |
||
335 | </Anchors> |
||
336 | <Scripts> |
||
337 | <OnLoad> |
||
338 | this.notindex = "BackgroundHide" |
||
339 | </OnLoad> |
||
340 | </Scripts> |
||
341 | </CheckButton> |
||
342 | |||
343 | <CheckButton name="BEBShowXpTextButton" inherits="BEBOptionsCheckButtonTemplate"> |
||
344 | <Anchors> |
||
345 | <Anchor point="TOPLEFT" relativeTo="BEBShowBackgroundButton" relativePoint="TOPRIGHT"> |
||
346 | <Offset> |
||
347 | <AbsDimension x="115" y="0"/> |
||
348 | </Offset> |
||
349 | </Anchor> |
||
350 | </Anchors> |
||
351 | <Scripts> |
||
352 | <OnLoad> |
||
353 | this.notindex = "XpTextHide" |
||
354 | </OnLoad> |
||
355 | </Scripts> |
||
356 | </CheckButton> |
||
357 | |||
358 | <CheckButton name="BEBFlashHighlightButton" inherits="BEBOptionsCheckButtonTemplate"> |
||
359 | <Anchors> |
||
360 | <Anchor point="TOPLEFT" relativeTo="BEBShowBackgroundButton" relativePoint="BOTTOMLEFT"> |
||
361 | <Offset> |
||
362 | <AbsDimension x="0" y="0"/> |
||
363 | </Offset> |
||
364 | </Anchor> |
||
365 | </Anchors> |
||
366 | <Scripts> |
||
367 | <OnLoad> |
||
368 | this.index = "HighlightFlashing" |
||
369 | </OnLoad> |
||
370 | </Scripts> |
||
371 | </CheckButton> |
||
372 | |||
373 | <CheckButton name="BEBTextOnMouseoverButton" inherits="BEBOptionsCheckButtonTemplate"> |
||
374 | <Anchors> |
||
375 | <Anchor point="TOPLEFT" relativeTo="BEBFlashHighlightButton" relativePoint="TOPRIGHT"> |
||
376 | <Offset> |
||
377 | <AbsDimension x="115" y="0"/> |
||
378 | </Offset> |
||
379 | </Anchor> |
||
380 | </Anchors> |
||
381 | <Scripts> |
||
382 | <OnLoad> |
||
383 | this.index = "XpTextOnMouseOver" |
||
384 | </OnLoad> |
||
385 | </Scripts> |
||
386 | </CheckButton> |
||
387 | |||
388 | <CheckButton name="BEBShowRestedBarButton" inherits="BEBOptionsCheckButtonTemplate"> |
||
389 | <Anchors> |
||
390 | <Anchor point="TOPLEFT" relativeTo="BEBFlashHighlightButton" relativePoint="BOTTOMLEFT"> |
||
391 | <Offset> |
||
392 | <AbsDimension x="0" y="0"/> |
||
393 | </Offset> |
||
394 | </Anchor> |
||
395 | </Anchors> |
||
396 | <Scripts> |
||
397 | <OnLoad> |
||
398 | this.notindex = "RestBarHide" |
||
399 | </OnLoad> |
||
400 | </Scripts> |
||
401 | </CheckButton> |
||
402 | |||
403 | <CheckButton name="BEBUnlockBarButton" inherits="BEBOptionsCheckButtonTemplate"> |
||
404 | <Anchors> |
||
405 | <Anchor point="TOPLEFT" relativeTo="BEBShowRestedBarButton" relativePoint="TOPRIGHT"> |
||
406 | <Offset> |
||
407 | <AbsDimension x="115" y="0"/> |
||
408 | </Offset> |
||
409 | </Anchor> |
||
410 | </Anchors> |
||
411 | <Scripts> |
||
412 | <OnLoad> |
||
413 | this.notindex = "FrameLocked" |
||
414 | </OnLoad> |
||
415 | </Scripts> |
||
416 | </CheckButton> |
||
417 | |||
418 | <Frame name="BEB_TextStringFrame"> |
||
419 | <Size> |
||
420 | <AbsDimension y="24" x="290"/> |
||
421 | </Size> |
||
422 | <Anchors> |
||
423 | <Anchor point="TOP"> |
||
424 | <Offset> |
||
425 | <AbsDimension y="-190" x="0"/> |
||
426 | </Offset> |
||
427 | </Anchor> |
||
428 | </Anchors> |
||
429 | <Layers> |
||
430 | <Layer level="ARTWORK"> |
||
431 | <FontString name="$parent_Label" inherits="GameFontNormal"> |
||
432 | <Anchors> |
||
433 | <Anchor point="BOTTOM" relativePoint="TOP"> |
||
434 | </Anchor> |
||
435 | </Anchors> |
||
436 | </FontString> |
||
437 | </Layer> |
||
438 | </Layers> |
||
439 | <Frames> |
||
440 | <EditBox name="$parentEditBox" inherits="InputBoxTemplate" autoFocus="false" multiLine="false" numeric="false" letters="120"> |
||
441 | <Size> |
||
442 | <AbsDimension x="280" y="20"/> |
||
443 | </Size> |
||
444 | <Anchors> |
||
445 | <Anchor point="TOPLEFT" relativeTo="$parent"> |
||
446 | </Anchor> |
||
447 | </Anchors> |
||
448 | <Scripts> |
||
449 | <OnEditFocusGained> |
||
450 | this.prevvals = this:GetText() |
||
451 | </OnEditFocusGained> |
||
452 | <OnEnterPressed> |
||
453 | BEBOption_ChangeText() |
||
454 | this:ClearFocus() |
||
455 | </OnEnterPressed> |
||
456 | <OnEscapePressed> |
||
457 | if (this.prevvals) then |
||
458 | this:SetText(this.prevvals) |
||
459 | end |
||
460 | this:ClearFocus() |
||
461 | </OnEscapePressed> |
||
462 | </Scripts> |
||
463 | </EditBox> |
||
464 | <Button name="$parentButton" inherits="OptionsButtonTemplate" text="v" frameLevel="7"> |
||
465 | <Size> |
||
466 | <AbsDimension x="20" y="20"/> |
||
467 | </Size> |
||
468 | <Anchors> |
||
469 | <Anchor point="TOPRIGHT"> |
||
470 | </Anchor> |
||
471 | </Anchors> |
||
472 | <Scripts> |
||
473 | <OnLoad> |
||
474 | this.table = "BEB_VARIABLE_FUNCTIONS_DESCIPTIONS" |
||
475 | this.how = "Insert" |
||
476 | this.whatindex = "BarText" |
||
477 | this.typeindex = "text" |
||
478 | this.subindex = "string" |
||
479 | this.controlbox = this:GetParent():GetName().."EditBox" |
||
480 | </OnLoad> |
||
481 | <OnClick> |
||
482 | BEBOptions_ShowMenu(); |
||
483 | </OnClick> |
||
484 | </Scripts> |
||
485 | </Button> |
||
486 | </Frames> |
||
487 | </Frame> |
||
488 | |||
489 | </Frames> |
||
490 | <Scripts> |
||
491 | <OnShow> |
||
492 | BEBOptions_OnShow("General") |
||
493 | </OnShow> |
||
494 | </Scripts> |
||
495 | </Frame> |
||
496 | |||
497 | |||
498 | |||
499 | <Frame name="BEBConfigColorsFrame" hidden="true"> |
||
500 | <Anchors> |
||
501 | <Anchor point="TOPLEFT" relativeTo="BEBConfigFrame" relativePoint="TOPLEFT"> |
||
502 | <Offset> |
||
503 | <AbsDimension y="-20" x="0"/> |
||
504 | </Offset> |
||
505 | </Anchor> |
||
506 | <Anchor point="BOTTOMRIGHT" relativeTo="BEBConfigFrame" relativePoint="BOTTOMRIGHT"> |
||
507 | <Offset> |
||
508 | <AbsDimension y="20" x="0"/> |
||
509 | </Offset> |
||
510 | </Anchor> |
||
511 | </Anchors> |
||
512 | <Layers> |
||
513 | <Layer> |
||
514 | <FontString name="BEBXpBarHeading" inherits="GameFontNormal"> |
||
515 | <Anchors> |
||
516 | <Anchor point="TOPLEFT"> |
||
517 | <Offset> |
||
518 | <AbsDimension y="-30" x="15"/> |
||
519 | </Offset> |
||
520 | </Anchor> |
||
521 | </Anchors> |
||
522 | </FontString> |
||
523 | <FontString name="BEBRestedBarHeading" inherits="GameFontNormal"> |
||
524 | <Anchors> |
||
525 | <Anchor point="TOPLEFT"> |
||
526 | <Offset> |
||
527 | <AbsDimension y="-70" x="15"/> |
||
528 | </Offset> |
||
529 | </Anchor> |
||
530 | </Anchors> |
||
531 | </FontString> |
||
532 | <FontString name="BEBMarkerHeading" inherits="GameFontNormal"> |
||
533 | <Anchors> |
||
534 | <Anchor point="TOPLEFT"> |
||
535 | <Offset> |
||
536 | <AbsDimension y="-110" x="15"/> |
||
537 | </Offset> |
||
538 | </Anchor> |
||
539 | </Anchors> |
||
540 | </FontString> |
||
541 | <FontString name="BEBTickHeading" inherits="GameFontNormal"> |
||
542 | <Anchors> |
||
543 | <Anchor point="TOPLEFT"> |
||
544 | <Offset> |
||
545 | <AbsDimension y="-150" x="15"/> |
||
546 | </Offset> |
||
547 | </Anchor> |
||
548 | </Anchors> |
||
549 | </FontString> |
||
550 | <FontString name="BEBRestedTickHeading" inherits="GameFontNormal"> |
||
551 | <Anchors> |
||
552 | <Anchor point="TOPLEFT"> |
||
553 | <Offset> |
||
554 | <AbsDimension y="-190" x="15"/> |
||
555 | </Offset> |
||
556 | </Anchor> |
||
557 | </Anchors> |
||
558 | </FontString> |
||
559 | <FontString name="BEBBarTextHeading" inherits="GameFontNormal"> |
||
560 | <Anchors> |
||
561 | <Anchor point="TOPLEFT"> |
||
562 | <Offset> |
||
563 | <AbsDimension y="-230" x="15"/> |
||
564 | </Offset> |
||
565 | </Anchor> |
||
566 | </Anchors> |
||
567 | </FontString> |
||
568 | </Layer> |
||
569 | </Layers> |
||
570 | <Frames> |
||
571 | |||
572 | <Button name="BEBBackgroundColorButton" inherits="BEBColorButtonTemplate"> |
||
573 | <Anchors> |
||
574 | <Anchor point="TOP"> |
||
575 | <Offset> |
||
576 | <AbsDimension y="-15" x="-33"/> |
||
577 | </Offset> |
||
578 | </Anchor> |
||
579 | </Anchors> |
||
580 | <Layers> |
||
581 | <Layer level="ARTWORK"> |
||
582 | <Texture name="$parentTexture" file="Interface\AddOns\BEB\PlainBackdrop"> |
||
583 | <Size> |
||
584 | <AbsDimension y="16" x="16"/> |
||
585 | </Size> |
||
586 | <Anchors> |
||
587 | <Anchor point="CENTER"> |
||
588 | </Anchor> |
||
589 | </Anchors> |
||
590 | </Texture> |
||
591 | </Layer> |
||
592 | </Layers> |
||
593 | <Scripts> |
||
594 | <OnLoad> |
||
595 | this.objindex = "Background" |
||
596 | this.whenindex = "unrestcolor" |
||
597 | </OnLoad> |
||
598 | </Scripts> |
||
599 | </Button> |
||
600 | |||
601 | <Button name="BEBXpUnrestedColorButton" inherits="BEBColorButtonTemplate"> |
||
602 | <Anchors> |
||
603 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="BEBXpBarHeading"> |
||
604 | <Offset> |
||
605 | <AbsDimension y="0" x="0"/> |
||
606 | </Offset> |
||
607 | </Anchor> |
||
608 | </Anchors> |
||
609 | <Layers> |
||
610 | <Layer level="ARTWORK"> |
||
611 | <Texture name="$parentTexture" file="Interface\AddOns\BEB\BEB-BarFill-RoundedLightSample"> |
||
612 | <Size> |
||
613 | <AbsDimension y="16" x="16"/> |
||
614 | </Size> |
||
615 | <Anchors> |
||
616 | <Anchor point="CENTER"> |
||
617 | </Anchor> |
||
618 | </Anchors> |
||
619 | </Texture> |
||
620 | </Layer> |
||
621 | </Layers> |
||
622 | <Scripts> |
||
623 | <OnLoad> |
||
624 | this.objindex = "XpBar" |
||
625 | this.whenindex = "unrestcolor" |
||
626 | </OnLoad> |
||
627 | </Scripts> |
||
628 | </Button> |
||
629 | |||
630 | <Button name="BEBXpRestedColorButton" inherits="BEBColorButtonTemplate"> |
||
631 | <Anchors> |
||
632 | <Anchor point="TOPLEFT" relativeTo="BEBXpBarHeading" relativePoint="BOTTOMLEFT"> |
||
633 | <Offset> |
||
634 | <AbsDimension y="0" x="100"/> |
||
635 | </Offset> |
||
636 | </Anchor> |
||
637 | </Anchors> |
||
638 | <Layers> |
||
639 | <Layer level="ARTWORK"> |
||
640 | <Texture name="$parentTexture" file="Interface\AddOns\BEB\BEB-BarFill-RoundedLightSample"> |
||
641 | <Size> |
||
642 | <AbsDimension y="16" x="16"/> |
||
643 | </Size> |
||
644 | <Anchors> |
||
645 | <Anchor point="CENTER"> |
||
646 | </Anchor> |
||
647 | </Anchors> |
||
648 | </Texture> |
||
649 | </Layer> |
||
650 | </Layers> |
||
651 | <Scripts> |
||
652 | <OnLoad> |
||
653 | this.objindex = "XpBar" |
||
654 | this.whenindex = "restcolor" |
||
655 | </OnLoad> |
||
656 | </Scripts> |
||
657 | </Button> |
||
658 | |||
659 | <Button name="BEBXpMaxRestedColorButton" inherits="BEBColorButtonTemplate"> |
||
660 | <Anchors> |
||
661 | <Anchor point="TOPLEFT" relativeTo="BEBXpBarHeading" relativePoint="BOTTOMLEFT"> |
||
662 | <Offset> |
||
663 | <AbsDimension y="0" x="200"/> |
||
664 | </Offset> |
||
665 | </Anchor> |
||
666 | </Anchors> |
||
667 | <Layers> |
||
668 | <Layer level="ARTWORK"> |
||
669 | <Texture name="$parentTexture" file="Interface\AddOns\BEB\BEB-BarFill-RoundedLightSample"> |
||
670 | <Size> |
||
671 | <AbsDimension y="16" x="16"/> |
||
672 | </Size> |
||
673 | <Anchors> |
||
674 | <Anchor point="CENTER"> |
||
675 | </Anchor> |
||
676 | </Anchors> |
||
677 | </Texture> |
||
678 | </Layer> |
||
679 | </Layers> |
||
680 | <Scripts> |
||
681 | <OnLoad> |
||
682 | this.objindex = "XpBar" |
||
683 | this.whenindex = "maxrestcolor" |
||
684 | </OnLoad> |
||
685 | </Scripts> |
||
686 | </Button> |
||
687 | |||
688 | <Button name="BEBRestedBarColorButton" inherits="BEBColorButtonTemplate"> |
||
689 | <Anchors> |
||
690 | <Anchor point="TOPLEFT" relativeTo="BEBRestedBarHeading" relativePoint="BOTTOMLEFT"> |
||
691 | <Offset> |
||
692 | <AbsDimension y="0" x="0"/> |
||
693 | </Offset> |
||
694 | </Anchor> |
||
695 | </Anchors> |
||
696 | <Layers> |
||
697 | <Layer level="ARTWORK"> |
||
698 | <Texture name="$parentTexture" file="Interface\AddOns\BEB\BEB-BarFill-RoundedLightSample"> |
||
699 | <Size> |
||
700 | <AbsDimension y="16" x="16"/> |
||
701 | </Size> |
||
702 | <Anchors> |
||
703 | <Anchor point="CENTER"> |
||
704 | </Anchor> |
||
705 | </Anchors> |
||
706 | </Texture> |
||
707 | </Layer> |
||
708 | </Layers> |
||
709 | <Scripts> |
||
710 | <OnLoad> |
||
711 | this.objindex = "RestBar" |
||
712 | this.whenindex = "restcolor" |
||
713 | </OnLoad> |
||
714 | </Scripts> |
||
715 | </Button> |
||
716 | |||
717 | <Button name="BEBRestedBarMaxColorButton" inherits="BEBColorButtonTemplate"> |
||
718 | <Anchors> |
||
719 | <Anchor point="TOPLEFT" relativeTo="BEBRestedBarHeading" relativePoint="BOTTOMLEFT"> |
||
720 | <Offset> |
||
721 | <AbsDimension y="0" x="150"/> |
||
722 | </Offset> |
||
723 | </Anchor> |
||
724 | </Anchors> |
||
725 | <Layers> |
||
726 | <Layer level="ARTWORK"> |
||
727 | <Texture name="$parentTexture" file="Interface\AddOns\BEB\BEB-BarFill-RoundedLightSample"> |
||
728 | <Size> |
||
729 | <AbsDimension y="16" x="16"/> |
||
730 | </Size> |
||
731 | <Anchors> |
||
732 | <Anchor point="CENTER"> |
||
733 | </Anchor> |
||
734 | </Anchors> |
||
735 | </Texture> |
||
736 | </Layer> |
||
737 | </Layers> |
||
738 | <Scripts> |
||
739 | <OnLoad> |
||
740 | this.objindex = "RestBar" |
||
741 | this.whenindex = "maxrestcolor" |
||
742 | </OnLoad> |
||
743 | </Scripts> |
||
744 | </Button> |
||
745 | |||
746 | <Button name="BEBMarkerUnrestColorButton" inherits="BEBColorButtonTemplate"> |
||
747 | <Anchors> |
||
748 | <Anchor point="TOPLEFT" relativeTo="BEBMarkerHeading" relativePoint="BOTTOMLEFT"> |
||
749 | <Offset> |
||
750 | <AbsDimension y="0" x="0"/> |
||
751 | </Offset> |
||
752 | </Anchor> |
||
753 | </Anchors> |
||
754 | <Layers> |
||
755 | <Layer level="ARTWORK"> |
||
756 | <Texture name="$parentTexture" file="Interface\AddOns\BEB\BEB-ExperienceBarMarkers"> |
||
757 | <Size> |
||
758 | <AbsDimension y="16" x="16"/> |
||
759 | </Size> |
||
760 | <Anchors> |
||
761 | <Anchor point="CENTER"> |
||
762 | </Anchor> |
||
763 | </Anchors> |
||
764 | <TexCoords top="0" left="0.046875" bottom="1" right="0.0625"/> |
||
765 | </Texture> |
||
766 | </Layer> |
||
767 | </Layers> |
||
768 | <Scripts> |
||
769 | <OnLoad> |
||
770 | this.objindex = "Marks" |
||
771 | this.whenindex = "unrestcolor" |
||
772 | </OnLoad> |
||
773 | </Scripts> |
||
774 | </Button> |
||
775 | |||
776 | <Button name="BEBMarkerRestColorButton" inherits="BEBColorButtonTemplate"> |
||
777 | <Anchors> |
||
778 | <Anchor point="TOPLEFT" relativeTo="BEBMarkerHeading" relativePoint="BOTTOMLEFT"> |
||
779 | <Offset> |
||
780 | <AbsDimension y="0" x="100"/> |
||
781 | </Offset> |
||
782 | </Anchor> |
||
783 | </Anchors> |
||
784 | <Layers> |
||
785 | <Layer level="ARTWORK"> |
||
786 | <Texture name="$parentTexture" file="Interface\AddOns\BEB\BEB-ExperienceBarMarkers"> |
||
787 | <Size> |
||
788 | <AbsDimension y="16" x="16"/> |
||
789 | </Size> |
||
790 | <Anchors> |
||
791 | <Anchor point="CENTER"> |
||
792 | </Anchor> |
||
793 | </Anchors> |
||
794 | <TexCoords top="0" left="0.046875" bottom="1" right="0.0625"/> |
||
795 | </Texture> |
||
796 | </Layer> |
||
797 | </Layers> |
||
798 | <Scripts> |
||
799 | <OnLoad> |
||
800 | this.objindex = "Marks" |
||
801 | this.whenindex = "restcolor" |
||
802 | </OnLoad> |
||
803 | </Scripts> |
||
804 | </Button> |
||
805 | |||
806 | <Button name="BEBMarkerMaxrestColorButton" inherits="BEBColorButtonTemplate"> |
||
807 | <Anchors> |
||
808 | <Anchor point="TOPLEFT" relativeTo="BEBMarkerHeading" relativePoint="BOTTOMLEFT"> |
||
809 | <Offset> |
||
810 | <AbsDimension y="0" x="200"/> |
||
811 | </Offset> |
||
812 | </Anchor> |
||
813 | </Anchors> |
||
814 | <Layers> |
||
815 | <Layer level="ARTWORK"> |
||
816 | <Texture name="$parentTexture" file="Interface\AddOns\BEB\BEB-ExperienceBarMarkers"> |
||
817 | <Size> |
||
818 | <AbsDimension y="16" x="16"/> |
||
819 | </Size> |
||
820 | <Anchors> |
||
821 | <Anchor point="CENTER"> |
||
822 | </Anchor> |
||
823 | </Anchors> |
||
824 | <TexCoords top="0" left="0.046875" bottom="1" right="0.0625"/> |
||
825 | </Texture> |
||
826 | </Layer> |
||
827 | </Layers> |
||
828 | <Scripts> |
||
829 | <OnLoad> |
||
830 | this.objindex = "Marks" |
||
831 | this.whenindex = "maxrestcolor" |
||
832 | </OnLoad> |
||
833 | </Scripts> |
||
834 | </Button> |
||
835 | |||
836 | <Button name="BEBTickUnrestColorButton" inherits="BEBColorButtonTemplate"> |
||
837 | <Anchors> |
||
838 | <Anchor point="TOPLEFT" relativeTo="BEBTickHeading" relativePoint="BOTTOMLEFT"> |
||
839 | <Offset> |
||
840 | <AbsDimension y="0" x="0"/> |
||
841 | </Offset> |
||
842 | </Anchor> |
||
843 | </Anchors> |
||
844 | <Layers> |
||
845 | <Layer level="ARTWORK"> |
||
846 | <Texture name="$parentTexture" file="Interface\AddOns\BEB\BEB-ExhaustionTicks"> |
||
847 | <Size> |
||
848 | <AbsDimension y="24" x="24"/> |
||
849 | </Size> |
||
850 | <Anchors> |
||
851 | <Anchor point="CENTER" relativePoint="CENTER"> |
||
852 | </Anchor> |
||
853 | </Anchors> |
||
854 | <TexCoords top="0" left="0.5" bottom="0.5" right="1"/> |
||
855 | </Texture> |
||
856 | </Layer> |
||
857 | </Layers> |
||
858 | <Scripts> |
||
859 | <OnLoad> |
||
860 | this.objindex = "XpTick" |
||
861 | this.whenindex = "unrestcolor" |
||
862 | </OnLoad> |
||
863 | </Scripts> |
||
864 | </Button> |
||
865 | |||
866 | <Button name="BEBTickRestColorButton" inherits="BEBColorButtonTemplate"> |
||
867 | <Anchors> |
||
868 | <Anchor point="TOPLEFT" relativeTo="BEBTickHeading" relativePoint="BOTTOMLEFT"> |
||
869 | <Offset> |
||
870 | <AbsDimension y="0" x="100"/> |
||
871 | </Offset> |
||
872 | </Anchor> |
||
873 | </Anchors> |
||
874 | <Layers> |
||
875 | <Layer level="ARTWORK"> |
||
876 | <Texture name="$parentTexture" file="Interface\AddOns\BEB\BEB-ExhaustionTicks"> |
||
877 | <Size> |
||
878 | <AbsDimension y="24" x="24"/> |
||
879 | </Size> |
||
880 | <Anchors> |
||
881 | <Anchor point="CENTER" relativePoint="CENTER"> |
||
882 | </Anchor> |
||
883 | </Anchors> |
||
884 | <TexCoords top="0" left="0.5" bottom="0.5" right="1"/> |
||
885 | </Texture> |
||
886 | </Layer> |
||
887 | </Layers> |
||
888 | <Scripts> |
||
889 | <OnLoad> |
||
890 | this.objindex = "XpTick" |
||
891 | this.whenindex = "restcolor" |
||
892 | </OnLoad> |
||
893 | </Scripts> |
||
894 | </Button> |
||
895 | |||
896 | <Button name="BEBTickMaxrestColorButton" inherits="BEBColorButtonTemplate"> |
||
897 | <Anchors> |
||
898 | <Anchor point="TOPLEFT" relativeTo="BEBTickHeading" relativePoint="BOTTOMLEFT"> |
||
899 | <Offset> |
||
900 | <AbsDimension y="0" x="200"/> |
||
901 | </Offset> |
||
902 | </Anchor> |
||
903 | </Anchors> |
||
904 | <Layers> |
||
905 | <Layer level="ARTWORK"> |
||
906 | <Texture name="$parentTexture" file="Interface\AddOns\BEB\BEB-ExhaustionTicks"> |
||
907 | <Size> |
||
908 | <AbsDimension y="24" x="24"/> |
||
909 | </Size> |
||
910 | <Anchors> |
||
911 | <Anchor point="CENTER" relativePoint="CENTER"> |
||
912 | </Anchor> |
||
913 | </Anchors> |
||
914 | <TexCoords top="0" left="0.5" bottom="0.5" right="1"/> |
||
915 | </Texture> |
||
916 | </Layer> |
||
917 | </Layers> |
||
918 | <Scripts> |
||
919 | <OnLoad> |
||
920 | this.objindex = "XpTick" |
||
921 | this.whenindex = "maxrestcolor" |
||
922 | </OnLoad> |
||
923 | </Scripts> |
||
924 | </Button> |
||
925 | |||
926 | <Button name="BEBRestedTickRestColorButton" inherits="BEBColorButtonTemplate"> |
||
927 | <Anchors> |
||
928 | <Anchor point="TOPLEFT" relativeTo="BEBRestedTickHeading" relativePoint="BOTTOMLEFT"> |
||
929 | <Offset> |
||
930 | <AbsDimension y="0" x="0"/> |
||
931 | </Offset> |
||
932 | </Anchor> |
||
933 | </Anchors> |
||
934 | <Layers> |
||
935 | <Layer level="ARTWORK"> |
||
936 | <Texture name="$parentTexture" file="Interface\AddOns\BEB\BEB-ExhaustionTicks"> |
||
937 | <Size> |
||
938 | <AbsDimension y="24" x="24"/> |
||
939 | </Size> |
||
940 | <Anchors> |
||
941 | <Anchor point="CENTER" relativePoint="CENTER"> |
||
942 | </Anchor> |
||
943 | </Anchors> |
||
944 | <TexCoords top="0" left="0.5" bottom="0.5" right="1"/> |
||
945 | </Texture> |
||
946 | </Layer> |
||
947 | </Layers> |
||
948 | <Scripts> |
||
949 | <OnLoad> |
||
950 | this.objindex = "RestedXpTick" |
||
951 | this.whenindex = "restcolor" |
||
952 | </OnLoad> |
||
953 | </Scripts> |
||
954 | </Button> |
||
955 | |||
956 | <Button name="BEBRestedTickMaxrestColorButton" inherits="BEBColorButtonTemplate"> |
||
957 | <Anchors> |
||
958 | <Anchor point="TOPLEFT" relativeTo="BEBRestedTickHeading" relativePoint="BOTTOMLEFT"> |
||
959 | <Offset> |
||
960 | <AbsDimension y="0" x="150"/> |
||
961 | </Offset> |
||
962 | </Anchor> |
||
963 | </Anchors> |
||
964 | <Layers> |
||
965 | <Layer level="ARTWORK"> |
||
966 | <Texture name="$parentTexture" file="Interface\AddOns\BEB\BEB-ExhaustionTicks"> |
||
967 | <Size> |
||
968 | <AbsDimension y="24" x="24"/> |
||
969 | </Size> |
||
970 | <Anchors> |
||
971 | <Anchor point="CENTER" relativePoint="CENTER"> |
||
972 | </Anchor> |
||
973 | </Anchors> |
||
974 | <TexCoords top="0" left="0.5" bottom="0.5" right="1"/> |
||
975 | </Texture> |
||
976 | </Layer> |
||
977 | </Layers> |
||
978 | <Scripts> |
||
979 | <OnLoad> |
||
980 | this.objindex = "RestedXpTick" |
||
981 | this.whenindex = "maxrestcolor" |
||
982 | </OnLoad> |
||
983 | </Scripts> |
||
984 | </Button> |
||
985 | |||
986 | <Button name="BEBBarTextUnrestColorButton" inherits="BEBColorButtonTemplate"> |
||
987 | <Anchors> |
||
988 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="BEBBarTextHeading"> |
||
989 | <Offset> |
||
990 | <AbsDimension y="0" x="0"/> |
||
991 | </Offset> |
||
992 | </Anchor> |
||
993 | </Anchors> |
||
994 | <Layers> |
||
995 | <Layer level="ARTWORK"> |
||
996 | <FontString name="$parentTexture" inherits="GameFontNormal" justifyH="CENTER" justifyV="MIDDLE" text="Abc def"> |
||
997 | <Size> |
||
998 | <AbsDimension y="24" x="24"/> |
||
999 | </Size> |
||
1000 | <Anchors> |
||
1001 | <Anchor point="CENTER" relativePoint="CENTER"> |
||
1002 | </Anchor> |
||
1003 | </Anchors> |
||
1004 | <Color b="1" r="1" g="1"/> |
||
1005 | </FontString> |
||
1006 | </Layer> |
||
1007 | </Layers> |
||
1008 | <Scripts> |
||
1009 | <OnLoad> |
||
1010 | this.objindex = "BarText" |
||
1011 | this.whenindex = "unrestcolor" |
||
1012 | getglobal(this:GetName().."Texture"):SetTextHeight(9); |
||
1013 | </OnLoad> |
||
1014 | </Scripts> |
||
1015 | </Button> |
||
1016 | |||
1017 | <Button name="BEBBarTextRestColorButton" inherits="BEBColorButtonTemplate"> |
||
1018 | <Anchors> |
||
1019 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="BEBBarTextHeading"> |
||
1020 | <Offset> |
||
1021 | <AbsDimension y="0" x="100"/> |
||
1022 | </Offset> |
||
1023 | </Anchor> |
||
1024 | </Anchors> |
||
1025 | <Layers> |
||
1026 | <Layer level="ARTWORK"> |
||
1027 | <FontString name="$parentTexture" inherits="GameFontNormal" justifyH="CENTER" justifyV="MIDDLE" text="Abc def"> |
||
1028 | <Size> |
||
1029 | <AbsDimension y="24" x="24"/> |
||
1030 | </Size> |
||
1031 | <Anchors> |
||
1032 | <Anchor point="CENTER" relativePoint="CENTER"> |
||
1033 | </Anchor> |
||
1034 | </Anchors> |
||
1035 | <Color b="1" r="1" g="1"/> |
||
1036 | </FontString> |
||
1037 | </Layer> |
||
1038 | </Layers> |
||
1039 | <Scripts> |
||
1040 | <OnLoad> |
||
1041 | this.objindex = "BarText" |
||
1042 | this.whenindex = "restcolor" |
||
1043 | getglobal(this:GetName().."Texture"):SetTextHeight(9); |
||
1044 | </OnLoad> |
||
1045 | </Scripts> |
||
1046 | </Button> |
||
1047 | |||
1048 | <Button name="BEBBarTextMaxrestColorButton" inherits="BEBColorButtonTemplate"> |
||
1049 | <Anchors> |
||
1050 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="BEBBarTextHeading"> |
||
1051 | <Offset> |
||
1052 | <AbsDimension y="0" x="200"/> |
||
1053 | </Offset> |
||
1054 | </Anchor> |
||
1055 | </Anchors> |
||
1056 | <Layers> |
||
1057 | <Layer level="ARTWORK"> |
||
1058 | <FontString name="$parentTexture" inherits="GameFontNormal" justifyH="CENTER" justifyV="MIDDLE" text="Abc def"> |
||
1059 | <Size> |
||
1060 | <AbsDimension y="24" x="24"/> |
||
1061 | </Size> |
||
1062 | <Anchors> |
||
1063 | <Anchor point="CENTER" relativePoint="CENTER"> |
||
1064 | </Anchor> |
||
1065 | </Anchors> |
||
1066 | <Color b="1" r="1" g="1"/> |
||
1067 | </FontString> |
||
1068 | </Layer> |
||
1069 | </Layers> |
||
1070 | <Scripts> |
||
1071 | <OnLoad> |
||
1072 | this.objindex = "BarText" |
||
1073 | this.whenindex = "maxrestcolor" |
||
1074 | getglobal(this:GetName().."Texture"):SetTextHeight(9); |
||
1075 | </OnLoad> |
||
1076 | </Scripts> |
||
1077 | </Button> |
||
1078 | </Frames> |
||
1079 | <Scripts> |
||
1080 | <OnShow> |
||
1081 | BEBOptions_OnShow("Colors") |
||
1082 | </OnShow> |
||
1083 | </Scripts> |
||
1084 | </Frame> |
||
1085 | |||
1086 | |||
1087 | |||
1088 | |||
1089 | |||
1090 | <Frame name="BEBConfigPlacementFrame" hidden="true"> |
||
1091 | <Anchors> |
||
1092 | <Anchor point="TOPLEFT" relativeTo="BEBConfigFrame" relativePoint="TOPLEFT"> |
||
1093 | <Offset> |
||
1094 | <AbsDimension y="-20" x="0"/> |
||
1095 | </Offset> |
||
1096 | </Anchor> |
||
1097 | <Anchor point="BOTTOMRIGHT" relativeTo="BEBConfigFrame" relativePoint="BOTTOMRIGHT"> |
||
1098 | <Offset> |
||
1099 | <AbsDimension y="20" x="0"/> |
||
1100 | </Offset> |
||
1101 | </Anchor> |
||
1102 | </Anchors> |
||
1103 | <Layers> |
||
1104 | <Layer> |
||
1105 | <FontString name="BEBMainSizeHeading" inherits="GameFontNormal" justifyH="CENTER"> |
||
1106 | <Anchors> |
||
1107 | <Anchor point="TOP" relativePoint="TOP"> |
||
1108 | <Offset> |
||
1109 | <AbsDimension y="-15" x="0"/> |
||
1110 | </Offset> |
||
1111 | </Anchor> |
||
1112 | </Anchors> |
||
1113 | <Color r="1.0" g="0.8" b="0"/> |
||
1114 | </FontString> |
||
1115 | <FontString name="BEBTickSizeHeading" inherits="GameFontNormal" justifyH="CENTER"> |
||
1116 | <Anchors> |
||
1117 | <Anchor point="TOP" relativePoint="TOP"> |
||
1118 | <Offset> |
||
1119 | <AbsDimension y="-65" x="0"/> |
||
1120 | </Offset> |
||
1121 | </Anchor> |
||
1122 | </Anchors> |
||
1123 | <Color r="1.0" g="0.8" b="0"/> |
||
1124 | </FontString> |
||
1125 | </Layer> |
||
1126 | </Layers> |
||
1127 | <Frames> |
||
1128 | <Slider name="BEBMainHeightSlider" inherits="OptionsSliderTemplate" minValue="2" maxValue="32" valueStep="1"> |
||
1129 | <Anchors> |
||
1130 | <Anchor point="TOPRIGHT" relativeTo="BEBMainSizeHeading" relativePoint="BOTTOM"> |
||
1131 | <Offset> |
||
1132 | <AbsDimension y="0" x="-15"/> |
||
1133 | </Offset> |
||
1134 | </Anchor> |
||
1135 | </Anchors> |
||
1136 | <Layers> |
||
1137 | <Layer level="ARTWORK"> |
||
1138 | <FontString name="$parent_Label" inherits="GameFontNormal"> |
||
1139 | <Anchors> |
||
1140 | <Anchor point="BOTTOM" relativePoint="TOP"/> |
||
1141 | </Anchors> |
||
1142 | <Color r="1.0" g="0.8" b="0"/> |
||
1143 | </FontString> |
||
1144 | </Layer> |
||
1145 | </Layers> |
||
1146 | <Frames> |
||
1147 | <EditBox multiLine="false" name="$parent_EditBox" inherits="InputBoxTemplate" letters="5" autoFocus="false"> |
||
1148 | <Size> |
||
1149 | <AbsDimension x="47" y="20"/> |
||
1150 | </Size> |
||
1151 | <Anchors> |
||
1152 | <Anchor point="TOP" relativePoint="BOTTOM"> |
||
1153 | <Offset> |
||
1154 | <AbsDimension y="3" x="8"/> |
||
1155 | </Offset> |
||
1156 | </Anchor> |
||
1157 | </Anchors> |
||
1158 | <Scripts> |
||
1159 | <OnEditFocusGained> |
||
1160 | this.prevvals = this:GetNumber() |
||
1161 | </OnEditFocusGained> |
||
1162 | <OnTextChanged> |
||
1163 | BEBOptions_SliderEditBox_OnValueChange() |
||
1164 | </OnTextChanged> |
||
1165 | <OnEnterPressed> |
||
1166 | this:ClearFocus() |
||
1167 | </OnEnterPressed> |
||
1168 | <OnEscapePressed> |
||
1169 | if (this.prevvals) then |
||
1170 | this:SetText(this.prevvals) |
||
1171 | end |
||
1172 | this:ClearFocus() |
||
1173 | </OnEscapePressed> |
||
1174 | </Scripts> |
||
1175 | </EditBox> |
||
1176 | </Frames> |
||
1177 | <Scripts> |
||
1178 | <OnLoad> |
||
1179 | this.objindex = "BEBMain" |
||
1180 | this.whatindex = "size" |
||
1181 | this.axisindex = "y" |
||
1182 | this.label = "height" |
||
1183 | getglobal(this:GetName().."Low"):SetTextHeight(10); |
||
1184 | getglobal(this:GetName().."Low"):SetTextColor(1,0.8,0); |
||
1185 | getglobal(this:GetName().."High"):SetTextHeight(10); |
||
1186 | getglobal(this:GetName().."High"):SetTextColor(1,0.8,0); |
||
1187 | getglobal(this:GetName().."_Label"):SetTextHeight(10); |
||
1188 | </OnLoad> |
||
1189 | <OnValueChanged> |
||
1190 | BEBOptions_SliderOnChange() |
||
1191 | </OnValueChanged> |
||
1192 | </Scripts> |
||
1193 | </Slider> |
||
1194 | |||
1195 | <Slider name="BEBMainWidthSlider" inherits="OptionsSliderTemplate" minValue="50" maxValue="1536" valueStep="1"> |
||
1196 | <Anchors> |
||
1197 | <Anchor point="TOPLEFT" relativeTo="BEBMainSizeHeading" relativePoint="BOTTOM"> |
||
1198 | <Offset> |
||
1199 | <AbsDimension y="0" x="15"/> |
||
1200 | </Offset> |
||
1201 | </Anchor> |
||
1202 | </Anchors> |
||
1203 | <Frames> |
||
1204 | <EditBox multiLine="false" name="$parent_EditBox" inherits="InputBoxTemplate" letters="5" autoFocus="false"> |
||
1205 | <Size> |
||
1206 | <AbsDimension x="47" y="20"/> |
||
1207 | </Size> |
||
1208 | <Anchors> |
||
1209 | <Anchor point="TOP" relativePoint="BOTTOM"> |
||
1210 | <Offset> |
||
1211 | <AbsDimension y="3" x="8"/> |
||
1212 | </Offset> |
||
1213 | </Anchor> |
||
1214 | </Anchors> |
||
1215 | <Scripts> |
||
1216 | <OnEditFocusGained> |
||
1217 | this.prevvals = this:GetNumber() |
||
1218 | </OnEditFocusGained> |
||
1219 | <OnTextChanged> |
||
1220 | BEBOptions_SliderEditBox_OnValueChange() |
||
1221 | </OnTextChanged> |
||
1222 | <OnEnterPressed> |
||
1223 | this:ClearFocus() |
||
1224 | </OnEnterPressed> |
||
1225 | <OnEscapePressed> |
||
1226 | if (this.prevvals) then |
||
1227 | this:SetText(this.prevvals) |
||
1228 | end |
||
1229 | this:ClearFocus() |
||
1230 | </OnEscapePressed> |
||
1231 | </Scripts> |
||
1232 | </EditBox> |
||
1233 | </Frames> |
||
1234 | <Scripts> |
||
1235 | <OnLoad> |
||
1236 | this.objindex = "BEBMain" |
||
1237 | this.whatindex = "size" |
||
1238 | this.axisindex = "x" |
||
1239 | this.label = "width" |
||
1240 | getglobal(this:GetName().."Low"):SetTextHeight(10); |
||
1241 | getglobal(this:GetName().."Low"):SetTextColor(1,0.8,0); |
||
1242 | getglobal(this:GetName().."High"):SetTextHeight(10); |
||
1243 | getglobal(this:GetName().."High"):SetTextColor(1,0.8,0); |
||
1244 | getglobal(this:GetName().."_Label"):SetTextHeight(10); |
||
1245 | </OnLoad> |
||
1246 | <OnValueChanged> |
||
1247 | BEBOptions_SliderOnChange() |
||
1248 | </OnValueChanged> |
||
1249 | </Scripts> |
||
1250 | <Layers> |
||
1251 | <Layer level="ARTWORK"> |
||
1252 | <FontString name="$parent_Label" inherits="GameFontNormal"> |
||
1253 | <Anchors> |
||
1254 | <Anchor point="BOTTOM" relativePoint="TOP"/> |
||
1255 | </Anchors> |
||
1256 | <Color r="1.0" g="0.8" b="0"/> |
||
1257 | </FontString> |
||
1258 | </Layer> |
||
1259 | </Layers> |
||
1260 | </Slider> |
||
1261 | |||
1262 | <Slider name="BEBTickHeightSlider" inherits="OptionsSliderTemplate" minValue="2" maxValue="64" valueStep="1"> |
||
1263 | <Anchors> |
||
1264 | <Anchor point="TOPRIGHT" relativeTo="BEBTickSizeHeading" relativePoint="BOTTOM"> |
||
1265 | <Offset> |
||
1266 | <AbsDimension y="0" x="-15"/> |
||
1267 | </Offset> |
||
1268 | </Anchor> |
||
1269 | </Anchors> |
||
1270 | <Frames> |
||
1271 | <EditBox multiLine="false" name="$parent_EditBox" inherits="InputBoxTemplate" letters="5" autoFocus="false"> |
||
1272 | <Size> |
||
1273 | <AbsDimension x="47" y="20"/> |
||
1274 | </Size> |
||
1275 | <Anchors> |
||
1276 | <Anchor point="TOP" relativePoint="BOTTOM"> |
||
1277 | <Offset> |
||
1278 | <AbsDimension y="3" x="8"/> |
||
1279 | </Offset> |
||
1280 | </Anchor> |
||
1281 | </Anchors> |
||
1282 | <Scripts> |
||
1283 | <OnEditFocusGained> |
||
1284 | this.prevvals = this:GetNumber() |
||
1285 | </OnEditFocusGained> |
||
1286 | <OnTextChanged> |
||
1287 | BEBOptions_SliderEditBox_OnValueChange() |
||
1288 | </OnTextChanged> |
||
1289 | <OnEnterPressed> |
||
1290 | this:ClearFocus() |
||
1291 | </OnEnterPressed> |
||
1292 | <OnEscapePressed> |
||
1293 | if (this.prevvals) then |
||
1294 | this:SetText(this.prevvals) |
||
1295 | end |
||
1296 | this:ClearFocus() |
||
1297 | </OnEscapePressed> |
||
1298 | </Scripts> |
||
1299 | </EditBox> |
||
1300 | </Frames> |
||
1301 | <Layers> |
||
1302 | <Layer level="ARTWORK"> |
||
1303 | <FontString name="$parent_Label" inherits="GameFontNormal"> |
||
1304 | <Anchors> |
||
1305 | <Anchor point="BOTTOM" relativeTo="" relativePoint="TOP"/> |
||
1306 | </Anchors> |
||
1307 | <Color r="1.0" g="0.8" b="0"/> |
||
1308 | </FontString> |
||
1309 | </Layer> |
||
1310 | </Layers> |
||
1311 | <Scripts> |
||
1312 | <OnLoad> |
||
1313 | this.objindex = "Tick" |
||
1314 | this.whatindex = "size" |
||
1315 | this.axisindex = "y" |
||
1316 | this.label = "height" |
||
1317 | getglobal(this:GetName().."Low"):SetTextHeight(10); |
||
1318 | getglobal(this:GetName().."Low"):SetTextColor(1,0.8,0); |
||
1319 | getglobal(this:GetName().."High"):SetTextHeight(10); |
||
1320 | getglobal(this:GetName().."High"):SetTextColor(1,0.8,0); |
||
1321 | getglobal(this:GetName().."_Label"):SetTextHeight(10); |
||
1322 | </OnLoad> |
||
1323 | <OnValueChanged> |
||
1324 | BEBOptions_SliderOnChange() |
||
1325 | </OnValueChanged> |
||
1326 | </Scripts> |
||
1327 | </Slider> |
||
1328 | |||
1329 | <Slider name="BEBTickWidthSlider" inherits="OptionsSliderTemplate" minValue="2" maxValue="64" valueStep="1"> |
||
1330 | <Anchors> |
||
1331 | <Anchor point="TOPLEFT" relativeTo="BEBTickSizeHeading" relativePoint="BOTTOM"> |
||
1332 | <Offset> |
||
1333 | <AbsDimension y="0" x="15"/> |
||
1334 | </Offset> |
||
1335 | </Anchor> |
||
1336 | </Anchors> |
||
1337 | <Frames> |
||
1338 | <EditBox multiLine="false" name="$parent_EditBox" inherits="InputBoxTemplate" letters="5" autoFocus="false"> |
||
1339 | <Size> |
||
1340 | <AbsDimension x="47" y="20"/> |
||
1341 | </Size> |
||
1342 | <Anchors> |
||
1343 | <Anchor point="TOP" relativePoint="BOTTOM"> |
||
1344 | <Offset> |
||
1345 | <AbsDimension y="3" x="8"/> |
||
1346 | </Offset> |
||
1347 | </Anchor> |
||
1348 | </Anchors> |
||
1349 | <Scripts> |
||
1350 | <OnEditFocusGained> |
||
1351 | this.prevvals = this:GetNumber() |
||
1352 | </OnEditFocusGained> |
||
1353 | <OnTextChanged> |
||
1354 | BEBOptions_SliderEditBox_OnValueChange() |
||
1355 | </OnTextChanged> |
||
1356 | <OnEnterPressed> |
||
1357 | this:ClearFocus() |
||
1358 | </OnEnterPressed> |
||
1359 | <OnEscapePressed> |
||
1360 | if (this.prevvals) then |
||
1361 | this:SetText(this.prevvals) |
||
1362 | end |
||
1363 | this:ClearFocus() |
||
1364 | </OnEscapePressed> |
||
1365 | </Scripts> |
||
1366 | </EditBox> |
||
1367 | </Frames> |
||
1368 | <Scripts> |
||
1369 | <OnLoad> |
||
1370 | this.objindex = "Tick" |
||
1371 | this.whatindex = "size" |
||
1372 | this.axisindex = "x" |
||
1373 | this.label = "width" |
||
1374 | getglobal(this:GetName().."Low"):SetTextHeight(10); |
||
1375 | getglobal(this:GetName().."Low"):SetTextColor(1,0.8,0); |
||
1376 | getglobal(this:GetName().."High"):SetTextHeight(10); |
||
1377 | getglobal(this:GetName().."High"):SetTextColor(1,0.8,0); |
||
1378 | getglobal(this:GetName().."_Label"):SetTextHeight(10); |
||
1379 | </OnLoad> |
||
1380 | <OnValueChanged> |
||
1381 | BEBOptions_SliderOnChange() |
||
1382 | </OnValueChanged> |
||
1383 | </Scripts> |
||
1384 | <Layers> |
||
1385 | <Layer level="ARTWORK"> |
||
1386 | <FontString name="$parent_Label" inherits="GameFontNormal"> |
||
1387 | <Anchors> |
||
1388 | <Anchor point="BOTTOM" relativePoint="TOP"/> |
||
1389 | </Anchors> |
||
1390 | <Color r="1.0" g="0.8" b="0"/> |
||
1391 | </FontString> |
||
1392 | </Layer> |
||
1393 | </Layers> |
||
1394 | </Slider> |
||
1395 | |||
1396 | <Slider name="BEBFontHeightSlider" inherits="OptionsSliderTemplate" minValue="6" maxValue="27" valueStep="0.25"> |
||
1397 | <Anchors> |
||
1398 | <Anchor point="TOP" relativeTo="BEBConfigPlacementFrame" relativePoint="TOP"> |
||
1399 | <Offset> |
||
1400 | <AbsDimension y="-120" x="0"/> |
||
1401 | </Offset> |
||
1402 | </Anchor> |
||
1403 | </Anchors> |
||
1404 | <Frames> |
||
1405 | <EditBox multiLine="false" name="$parent_EditBox" inherits="InputBoxTemplate" letters="5" autoFocus="false"> |
||
1406 | <Size> |
||
1407 | <AbsDimension x="47" y="20"/> |
||
1408 | </Size> |
||
1409 | <Anchors> |
||
1410 | <Anchor point="TOP" relativePoint="BOTTOM"> |
||
1411 | <Offset> |
||
1412 | <AbsDimension y="3" x="8"/> |
||
1413 | </Offset> |
||
1414 | </Anchor> |
||
1415 | </Anchors> |
||
1416 | <Scripts> |
||
1417 | <OnEditFocusGained> |
||
1418 | this.prevvals = this:GetNumber() |
||
1419 | </OnEditFocusGained> |
||
1420 | <OnTextChanged> |
||
1421 | BEBOptions_SliderEditBox_OnValueChange() |
||
1422 | </OnTextChanged> |
||
1423 | <OnEnterPressed> |
||
1424 | this:ClearFocus() |
||
1425 | </OnEnterPressed> |
||
1426 | <OnEscapePressed> |
||
1427 | if (this.prevvals) then |
||
1428 | this:SetText(this.prevvals) |
||
1429 | end |
||
1430 | this:ClearFocus() |
||
1431 | </OnEscapePressed> |
||
1432 | </Scripts> |
||
1433 | </EditBox> |
||
1434 | </Frames> |
||
1435 | <Layers> |
||
1436 | <Layer level="ARTWORK"> |
||
1437 | <FontString name="$parent_Label" inherits="GameFontNormal"> |
||
1438 | <Anchors> |
||
1439 | <Anchor point="BOTTOM" relativePoint="TOP"> |
||
1440 | <Offset> |
||
1441 | <AbsDimension y="0" x="0"/> |
||
1442 | </Offset> |
||
1443 | </Anchor> |
||
1444 | </Anchors> |
||
1445 | <Color r="1.0" g="0.8" b="0"/> |
||
1446 | </FontString> |
||
1447 | </Layer> |
||
1448 | </Layers> |
||
1449 | <Scripts> |
||
1450 | <OnLoad> |
||
1451 | this.objindex = "BarText" |
||
1452 | this.whatindex = "size" |
||
1453 | this.axisindex = "y" |
||
1454 | this.label = "fontsize" |
||
1455 | getglobal(this:GetName().."Low"):SetTextHeight(10); |
||
1456 | getglobal(this:GetName().."Low"):SetTextColor(1,0.8,0); |
||
1457 | getglobal(this:GetName().."High"):SetTextHeight(10); |
||
1458 | getglobal(this:GetName().."High"):SetTextColor(1,0.8,0); |
||
1459 | getglobal(this:GetName().."_Label"):SetTextHeight(12); |
||
1460 | </OnLoad> |
||
1461 | <OnValueChanged> |
||
1462 | BEBOptions_SliderOnChange() |
||
1463 | </OnValueChanged> |
||
1464 | </Scripts> |
||
1465 | </Slider> |
||
1466 | |||
1467 | <Frame name="BEBMainPositionControls"> |
||
1468 | <Size> |
||
1469 | <AbsDimension y="100" x="150"/> |
||
1470 | </Size> |
||
1471 | <Anchors> |
||
1472 | <Anchor point="TOPRIGHT" relativePoint="TOP"> |
||
1473 | <Offset> |
||
1474 | <AbsDimension y="-155" x="0"/> |
||
1475 | </Offset> |
||
1476 | </Anchor> |
||
1477 | </Anchors> |
||
1478 | <Layers> |
||
1479 | <Layer level="ARTWORK"> |
||
1480 | <FontString name="$parentTitle" inherits="GameFontNormal" justifyH="CENTER"> |
||
1481 | <Anchors> |
||
1482 | <Anchor point="TOP"> |
||
1483 | </Anchor> |
||
1484 | </Anchors> |
||
1485 | <FontHeight val="10"> |
||
1486 | </FontHeight> |
||
1487 | </FontString> |
||
1488 | </Layer> |
||
1489 | </Layers> |
||
1490 | <Frames> |
||
1491 | <Button name="$parentNudge0" inherits="BEBNudgeTemplate"> |
||
1492 | <Anchors> |
||
1493 | <Anchor point="TOP"> |
||
1494 | <Offset> |
||
1495 | <AbsDimension x="0" y="-40"/> |
||
1496 | </Offset> |
||
1497 | </Anchor> |
||
1498 | </Anchors> |
||
1499 | <Scripts> |
||
1500 | <OnLoad> |
||
1501 | this.index = "0" |
||
1502 | this:SetText("0"); |
||
1503 | </OnLoad> |
||
1504 | </Scripts> |
||
1505 | </Button> |
||
1506 | <Button name="$parentNudgeUp" inherits="BEBNudgeTemplate"> |
||
1507 | <Anchors> |
||
1508 | <Anchor point="BOTTOM" relativeTo="$parentNudge0" relativePoint="TOP"> |
||
1509 | <Offset> |
||
1510 | <AbsDimension x="0" y="0"/> |
||
1511 | </Offset> |
||
1512 | </Anchor> |
||
1513 | </Anchors> |
||
1514 | <Scripts> |
||
1515 | <OnLoad> |
||
1516 | this.index = "up" |
||
1517 | this:SetText("^"); |
||
1518 | </OnLoad> |
||
1519 | </Scripts> |
||
1520 | </Button> |
||
1521 | <Button name="$parentNudgeDown" inherits="BEBNudgeTemplate"> |
||
1522 | <Anchors> |
||
1523 | <Anchor point="TOP" relativeTo="$parentNudge0" relativePoint="BOTTOM"> |
||
1524 | <Offset> |
||
1525 | <AbsDimension x="0" y="0"/> |
||
1526 | </Offset> |
||
1527 | </Anchor> |
||
1528 | </Anchors> |
||
1529 | <Scripts> |
||
1530 | <OnLoad> |
||
1531 | this.index = "down" |
||
1532 | this:SetText("v"); |
||
1533 | </OnLoad> |
||
1534 | </Scripts> |
||
1535 | </Button> |
||
1536 | <Button name="$parentNudgeLeft" inherits="BEBNudgeTemplate"> |
||
1537 | <Anchors> |
||
1538 | <Anchor point="RIGHT" relativeTo="$parentNudge0" relativePoint="LEFT"> |
||
1539 | <Offset> |
||
1540 | <AbsDimension x="0" y="0"/> |
||
1541 | </Offset> |
||
1542 | </Anchor> |
||
1543 | </Anchors> |
||
1544 | <Scripts> |
||
1545 | <OnLoad> |
||
1546 | this.index = "left" |
||
1547 | this:SetText(BEB_ARROWLEFT); |
||
1548 | </OnLoad> |
||
1549 | </Scripts> |
||
1550 | </Button> |
||
1551 | <Button name="$parentNudgeRight" inherits="BEBNudgeTemplate"> |
||
1552 | <Anchors> |
||
1553 | <Anchor point="LEFT" relativeTo="$parentNudge0" relativePoint="RIGHT"> |
||
1554 | <Offset> |
||
1555 | <AbsDimension x="0" y="0"/> |
||
1556 | </Offset> |
||
1557 | </Anchor> |
||
1558 | </Anchors> |
||
1559 | <Scripts> |
||
1560 | <OnLoad> |
||
1561 | this.index = "right" |
||
1562 | this:SetText(BEB_ARROWRIGHT); |
||
1563 | </OnLoad> |
||
1564 | </Scripts> |
||
1565 | </Button> |
||
1566 | <EditBox multiLine="false" name="$parentxEditBox" inherits="InputBoxTemplate" letters="5" autoFocus="false"> |
||
1567 | <Size> |
||
1568 | <AbsDimension x="47" y="20"/> |
||
1569 | </Size> |
||
1570 | <Anchors> |
||
1571 | <Anchor point="TOPRIGHT" relativeTo="$parentNudge0" relativePoint="BOTTOMLEFT"> |
||
1572 | <Offset> |
||
1573 | <AbsDimension y="-2" x="0"/> |
||
1574 | </Offset> |
||
1575 | </Anchor> |
||
1576 | </Anchors> |
||
1577 | <Scripts> |
||
1578 | <OnLoad> |
||
1579 | this.index = "x" |
||
1580 | </OnLoad> |
||
1581 | <OnEditFocusGained> |
||
1582 | this.prevvals = this:GetNumber() |
||
1583 | </OnEditFocusGained> |
||
1584 | <OnTextChanged> |
||
1585 | BEBOptions_PositionEditBox_OnValueChange() |
||
1586 | </OnTextChanged> |
||
1587 | <OnEnterPressed> |
||
1588 | this:ClearFocus() |
||
1589 | </OnEnterPressed> |
||
1590 | <OnEscapePressed> |
||
1591 | if (this.prevvals) then |
||
1592 | this:SetText(this.prevvals) |
||
1593 | end |
||
1594 | this:ClearFocus() |
||
1595 | </OnEscapePressed> |
||
1596 | </Scripts> |
||
1597 | <Layers> |
||
1598 | <Layer> |
||
1599 | <FontString inherits="GameFontNormal" text="x" justifyH="CENTER"> |
||
1600 | <Anchors> |
||
1601 | <Anchor point="BOTTOM" relativePoint="TOP"> |
||
1602 | <Offset> |
||
1603 | <AbsDimension y="0" x="-6"/> |
||
1604 | </Offset> |
||
1605 | </Anchor> |
||
1606 | </Anchors> |
||
1607 | </FontString> |
||
1608 | </Layer> |
||
1609 | </Layers> |
||
1610 | </EditBox> |
||
1611 | <EditBox multiLine="false" name="$parentyEditBox" inherits="InputBoxTemplate" letters="5" autoFocus="false"> |
||
1612 | <Size> |
||
1613 | <AbsDimension x="47" y="20"/> |
||
1614 | </Size> |
||
1615 | <Anchors> |
||
1616 | <Anchor point="TOPLEFT" relativeTo="$parentNudge0" relativePoint="BOTTOMRIGHT"> |
||
1617 | <Offset> |
||
1618 | <AbsDimension y="-2" x="14"/> |
||
1619 | </Offset> |
||
1620 | </Anchor> |
||
1621 | </Anchors> |
||
1622 | <Scripts> |
||
1623 | <OnLoad> |
||
1624 | this.index = "y" |
||
1625 | </OnLoad> |
||
1626 | <OnEditFocusGained> |
||
1627 | this.prevvals = this:GetNumber() |
||
1628 | </OnEditFocusGained> |
||
1629 | <OnTextChanged> |
||
1630 | BEBOptions_PositionEditBox_OnValueChange() |
||
1631 | </OnTextChanged> |
||
1632 | <OnEnterPressed> |
||
1633 | this:ClearFocus() |
||
1634 | </OnEnterPressed> |
||
1635 | <OnEscapePressed> |
||
1636 | if (this.prevvals) then |
||
1637 | this:SetText(this.prevvals) |
||
1638 | end |
||
1639 | this:ClearFocus() |
||
1640 | </OnEscapePressed> |
||
1641 | </Scripts> |
||
1642 | <Layers> |
||
1643 | <Layer> |
||
1644 | <FontString inherits="GameFontNormal" text="y" justifyH="CENTER"> |
||
1645 | <Anchors> |
||
1646 | <Anchor point="BOTTOM" relativePoint="TOP"> |
||
1647 | <Offset> |
||
1648 | <AbsDimension y="0" x="-6"/> |
||
1649 | </Offset> |
||
1650 | </Anchor> |
||
1651 | </Anchors> |
||
1652 | </FontString> |
||
1653 | </Layer> |
||
1654 | </Layers> |
||
1655 | </EditBox> |
||
1656 | </Frames> |
||
1657 | <Scripts> |
||
1658 | <OnLoad> |
||
1659 | this.index = "BEBMain" |
||
1660 | </OnLoad> |
||
1661 | </Scripts> |
||
1662 | </Frame> |
||
1663 | |||
1664 | <Frame name="BEBTickPositionControls"> |
||
1665 | <Size> |
||
1666 | <AbsDimension y="100" x="150"/> |
||
1667 | </Size> |
||
1668 | <Anchors> |
||
1669 | <Anchor point="TOPLEFT" relativePoint="TOP"> |
||
1670 | <Offset> |
||
1671 | <AbsDimension y="-155" x="0"/> |
||
1672 | </Offset> |
||
1673 | </Anchor> |
||
1674 | </Anchors> |
||
1675 | <Layers> |
||
1676 | <Layer level="ARTWORK"> |
||
1677 | <FontString name="$parentTitle" inherits="GameFontNormal" justifyH="CENTER"> |
||
1678 | <Anchors> |
||
1679 | <Anchor point="TOP"> |
||
1680 | </Anchor> |
||
1681 | </Anchors> |
||
1682 | <FontHeight val="10"> |
||
1683 | </FontHeight> |
||
1684 | </FontString> |
||
1685 | </Layer> |
||
1686 | </Layers> |
||
1687 | <Frames> |
||
1688 | <Button name="$parentNudge0" inherits="BEBNudgeTemplate"> |
||
1689 | <Anchors> |
||
1690 | <Anchor point="TOP"> |
||
1691 | <Offset> |
||
1692 | <AbsDimension x="0" y="-40"/> |
||
1693 | </Offset> |
||
1694 | </Anchor> |
||
1695 | </Anchors> |
||
1696 | <Scripts> |
||
1697 | <OnLoad> |
||
1698 | this.index = "0" |
||
1699 | this:SetText("0"); |
||
1700 | </OnLoad> |
||
1701 | </Scripts> |
||
1702 | </Button> |
||
1703 | <Button name="$parentNudgeUp" inherits="BEBNudgeTemplate"> |
||
1704 | <Anchors> |
||
1705 | <Anchor point="BOTTOM" relativeTo="$parentNudge0" relativePoint="TOP"> |
||
1706 | <Offset> |
||
1707 | <AbsDimension x="0" y="0"/> |
||
1708 | </Offset> |
||
1709 | </Anchor> |
||
1710 | </Anchors> |
||
1711 | <Scripts> |
||
1712 | <OnLoad> |
||
1713 | this.index = "up" |
||
1714 | this:SetText("^"); |
||
1715 | </OnLoad> |
||
1716 | </Scripts> |
||
1717 | </Button> |
||
1718 | <Button name="$parentNudgeDown" inherits="BEBNudgeTemplate"> |
||
1719 | <Anchors> |
||
1720 | <Anchor point="TOP" relativeTo="$parentNudge0" relativePoint="BOTTOM"> |
||
1721 | <Offset> |
||
1722 | <AbsDimension x="0" y="0"/> |
||
1723 | </Offset> |
||
1724 | </Anchor> |
||
1725 | </Anchors> |
||
1726 | <Scripts> |
||
1727 | <OnLoad> |
||
1728 | this:SetText("v"); |
||
1729 | this.index = "down" |
||
1730 | </OnLoad> |
||
1731 | </Scripts> |
||
1732 | </Button> |
||
1733 | <Button name="$parentNudgeLeft" inherits="BEBNudgeTemplate"> |
||
1734 | <Anchors> |
||
1735 | <Anchor point="RIGHT" relativeTo="$parentNudge0" relativePoint="LEFT"> |
||
1736 | <Offset> |
||
1737 | <AbsDimension x="0" y="0"/> |
||
1738 | </Offset> |
||
1739 | </Anchor> |
||
1740 | </Anchors> |
||
1741 | <Scripts> |
||
1742 | <OnLoad> |
||
1743 | this:SetText(BEB_ARROWLEFT); |
||
1744 | this.index = "left" |
||
1745 | </OnLoad> |
||
1746 | </Scripts> |
||
1747 | </Button> |
||
1748 | <Button name="$parentNudgeRight" inherits="BEBNudgeTemplate"> |
||
1749 | <Anchors> |
||
1750 | <Anchor point="LEFT" relativeTo="$parentNudge0" relativePoint="RIGHT"> |
||
1751 | <Offset> |
||
1752 | <AbsDimension x="0" y="0"/> |
||
1753 | </Offset> |
||
1754 | </Anchor> |
||
1755 | </Anchors> |
||
1756 | <Scripts> |
||
1757 | <OnLoad> |
||
1758 | this:SetText(BEB_ARROWRIGHT); |
||
1759 | this.index = "right" |
||
1760 | </OnLoad> |
||
1761 | </Scripts> |
||
1762 | </Button> |
||
1763 | <EditBox multiLine="false" name="$parentxEditBox" inherits="InputBoxTemplate" letters="5" autoFocus="false"> |
||
1764 | <Size> |
||
1765 | <AbsDimension x="47" y="20"/> |
||
1766 | </Size> |
||
1767 | <Anchors> |
||
1768 | <Anchor point="TOPRIGHT" relativeTo="$parentNudge0" relativePoint="BOTTOMLEFT"> |
||
1769 | <Offset> |
||
1770 | <AbsDimension y="-2" x="0"/> |
||
1771 | </Offset> |
||
1772 | </Anchor> |
||
1773 | </Anchors> |
||
1774 | <Scripts> |
||
1775 | <OnLoad> |
||
1776 | this.index = "x" |
||
1777 | </OnLoad> |
||
1778 | <OnEditFocusGained> |
||
1779 | this.prevvals = this:GetNumber() |
||
1780 | </OnEditFocusGained> |
||
1781 | <OnTextChanged> |
||
1782 | BEBOptions_PositionEditBox_OnValueChange() |
||
1783 | </OnTextChanged> |
||
1784 | <OnEnterPressed> |
||
1785 | this:ClearFocus() |
||
1786 | </OnEnterPressed> |
||
1787 | <OnEscapePressed> |
||
1788 | if (this.prevvals) then |
||
1789 | this:SetText(this.prevvals) |
||
1790 | end |
||
1791 | this:ClearFocus() |
||
1792 | </OnEscapePressed> |
||
1793 | </Scripts> |
||
1794 | <Layers> |
||
1795 | <Layer> |
||
1796 | <FontString inherits="GameFontNormal" text="x" justifyH="CENTER"> |
||
1797 | <Anchors> |
||
1798 | <Anchor point="BOTTOM" relativePoint="TOP"> |
||
1799 | <Offset> |
||
1800 | <AbsDimension y="0" x="-6"/> |
||
1801 | </Offset> |
||
1802 | </Anchor> |
||
1803 | </Anchors> |
||
1804 | </FontString> |
||
1805 | </Layer> |
||
1806 | </Layers> |
||
1807 | </EditBox> |
||
1808 | <EditBox multiLine="false" name="$parentyEditBox" inherits="InputBoxTemplate" letters="5" autoFocus="false"> |
||
1809 | <Size> |
||
1810 | <AbsDimension x="47" y="20"/> |
||
1811 | </Size> |
||
1812 | <Anchors> |
||
1813 | <Anchor point="TOPLEFT" relativeTo="$parentNudge0" relativePoint="BOTTOMRIGHT"> |
||
1814 | <Offset> |
||
1815 | <AbsDimension y="-2" x="14"/> |
||
1816 | </Offset> |
||
1817 | </Anchor> |
||
1818 | </Anchors> |
||
1819 | <Scripts> |
||
1820 | <OnLoad> |
||
1821 | this.index = "y" |
||
1822 | </OnLoad> |
||
1823 | <OnEditFocusGained> |
||
1824 | this.prevvals = this:GetNumber() |
||
1825 | </OnEditFocusGained> |
||
1826 | <OnTextChanged> |
||
1827 | BEBOptions_PositionEditBox_OnValueChange() |
||
1828 | </OnTextChanged> |
||
1829 | <OnEnterPressed> |
||
1830 | this:ClearFocus() |
||
1831 | </OnEnterPressed> |
||
1832 | <OnEscapePressed> |
||
1833 | if (this.prevvals) then |
||
1834 | this:SetText(this.prevvals) |
||
1835 | end |
||
1836 | this:ClearFocus() |
||
1837 | </OnEscapePressed> |
||
1838 | </Scripts> |
||
1839 | <Layers> |
||
1840 | <Layer> |
||
1841 | <FontString inherits="GameFontNormal" text="y" justifyH="CENTER"> |
||
1842 | <Anchors> |
||
1843 | <Anchor point="BOTTOM" relativePoint="TOP"> |
||
1844 | <Offset> |
||
1845 | <AbsDimension y="0" x="-6"/> |
||
1846 | </Offset> |
||
1847 | </Anchor> |
||
1848 | </Anchors> |
||
1849 | </FontString> |
||
1850 | </Layer> |
||
1851 | </Layers> |
||
1852 | </EditBox> |
||
1853 | </Frames> |
||
1854 | <Scripts> |
||
1855 | <OnLoad> |
||
1856 | this.index = "Tick" |
||
1857 | </OnLoad> |
||
1858 | </Scripts> |
||
1859 | </Frame> |
||
1860 | |||
1861 | <Button name="BEB_MainAttachPointButton"> |
||
1862 | <Size> |
||
1863 | <AbsDimension x="100" y="24"/> |
||
1864 | </Size> |
||
1865 | <Anchors> |
||
1866 | <Anchor point="TOPRIGHT" relativePoint="TOP"> |
||
1867 | <Offset> |
||
1868 | <AbsDimension y="-265" x="-40"/> |
||
1869 | </Offset> |
||
1870 | </Anchor> |
||
1871 | </Anchors> |
||
1872 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
1873 | <EdgeSize> |
||
1874 | <AbsValue val="16"/> |
||
1875 | </EdgeSize> |
||
1876 | <TileSize> |
||
1877 | <AbsValue val="16"/> |
||
1878 | </TileSize> |
||
1879 | <BackgroundInsets> |
||
1880 | <AbsInset left="5" right="5" top="5" bottom="5"/> |
||
1881 | </BackgroundInsets> |
||
1882 | </Backdrop> |
||
1883 | <Layers> |
||
1884 | <Layer level="ARTWORK"> |
||
1885 | <FontString name="$parentText" inherits="GameFontNormal" justifyH="CENTER"> |
||
1886 | <Anchors> |
||
1887 | <Anchor point="TOPLEFT"> |
||
1888 | </Anchor> |
||
1889 | <Anchor point="BOTTOMRIGHT"> |
||
1890 | </Anchor> |
||
1891 | </Anchors> |
||
1892 | </FontString> |
||
1893 | <FontString name="$parent_Label" inherits="GameFontNormal"> |
||
1894 | <Anchors> |
||
1895 | <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"> |
||
1896 | </Anchor> |
||
1897 | </Anchors> |
||
1898 | </FontString> |
||
1899 | </Layer> |
||
1900 | </Layers> |
||
1901 | <Scripts> |
||
1902 | <OnLoad> |
||
1903 | this.table = "BEB_ATTACHPOINTS" |
||
1904 | this.whatindex = "BEBMain" |
||
1905 | this.typeindex = "location" |
||
1906 | this.subindex = "point" |
||
1907 | this.controlbox = this:GetName().."Text" |
||
1908 | </OnLoad> |
||
1909 | <OnClick> |
||
1910 | BEBOptions_ShowMenu(); |
||
1911 | </OnClick> |
||
1912 | </Scripts> |
||
1913 | <HighlightTexture alphaMode="ADD" file="Interface\Buttons\UI-Panel-Button-Highlight"> |
||
1914 | <TexCoords left="0" right="0.625" top="0.1" bottom="0.6875"/> |
||
1915 | </HighlightTexture> |
||
1916 | </Button> |
||
1917 | |||
1918 | <Button name="BEB_MainAttachToPointButton"> |
||
1919 | <Size> |
||
1920 | <AbsDimension x="100" y="24"/> |
||
1921 | </Size> |
||
1922 | <Anchors> |
||
1923 | <Anchor point="TOPLEFT" relativePoint="TOP"> |
||
1924 | <Offset> |
||
1925 | <AbsDimension y="-265" x="40"/> |
||
1926 | </Offset> |
||
1927 | </Anchor> |
||
1928 | </Anchors> |
||
1929 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
1930 | <EdgeSize> |
||
1931 | <AbsValue val="16"/> |
||
1932 | </EdgeSize> |
||
1933 | <TileSize> |
||
1934 | <AbsValue val="16"/> |
||
1935 | </TileSize> |
||
1936 | <BackgroundInsets> |
||
1937 | <AbsInset left="5" right="5" top="5" bottom="5"/> |
||
1938 | </BackgroundInsets> |
||
1939 | </Backdrop> |
||
1940 | <Layers> |
||
1941 | <Layer level="ARTWORK"> |
||
1942 | <FontString name="$parentText" inherits="GameFontNormal" justifyH="CENTER"> |
||
1943 | <Anchors> |
||
1944 | <Anchor point="TOPLEFT"> |
||
1945 | </Anchor> |
||
1946 | <Anchor point="BOTTOMRIGHT"> |
||
1947 | </Anchor> |
||
1948 | </Anchors> |
||
1949 | </FontString> |
||
1950 | <FontString name="$parent_Label" inherits="GameFontNormal"> |
||
1951 | <Anchors> |
||
1952 | <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT"> |
||
1953 | </Anchor> |
||
1954 | </Anchors> |
||
1955 | </FontString> |
||
1956 | </Layer> |
||
1957 | </Layers> |
||
1958 | <Scripts> |
||
1959 | <OnLoad> |
||
1960 | this.table = "BEB_ATTACHPOINTS" |
||
1961 | this.whatindex = "BEBMain" |
||
1962 | this.typeindex = "location" |
||
1963 | this.subindex = "relpoint" |
||
1964 | this.controlbox = this:GetName().."Text" |
||
1965 | </OnLoad> |
||
1966 | <OnClick> |
||
1967 | BEBOptions_ShowMenu(); |
||
1968 | </OnClick> |
||
1969 | </Scripts> |
||
1970 | <HighlightTexture alphaMode="ADD" file="Interface\Buttons\UI-Panel-Button-Highlight"> |
||
1971 | <TexCoords left="0" right="0.625" top="0.1" bottom="0.6875"/> |
||
1972 | </HighlightTexture> |
||
1973 | </Button> |
||
1974 | |||
1975 | <Frame name="BEB_MainAttachToFrame"> |
||
1976 | <Size> |
||
1977 | <AbsDimension y="24" x="214"/> |
||
1978 | </Size> |
||
1979 | <Anchors> |
||
1980 | <Anchor point="TOP"> |
||
1981 | <Offset> |
||
1982 | <AbsDimension y="-300" x="0"/> |
||
1983 | </Offset> |
||
1984 | </Anchor> |
||
1985 | </Anchors> |
||
1986 | <Layers> |
||
1987 | <Layer level="ARTWORK"> |
||
1988 | <FontString name="$parent_Label" inherits="GameFontNormal"> |
||
1989 | <Anchors> |
||
1990 | <Anchor point="BOTTOM" relativePoint="TOP"> |
||
1991 | </Anchor> |
||
1992 | </Anchors> |
||
1993 | </FontString> |
||
1994 | </Layer> |
||
1995 | </Layers> |
||
1996 | <Frames> |
||
1997 | <EditBox name="$parentEditBox" inherits="InputBoxTemplate" autoFocus="false" multiLine="false" numeric="false" letters="40"> |
||
1998 | <Size> |
||
1999 | <AbsDimension x="200" y="20"/> |
||
2000 | </Size> |
||
2001 | <Anchors> |
||
2002 | <Anchor point="TOPLEFT" relativeTo="$parent"> |
||
2003 | </Anchor> |
||
2004 | </Anchors> |
||
2005 | <Scripts> |
||
2006 | <OnEditFocusGained> |
||
2007 | this.prevvals = this:GetText() |
||
2008 | </OnEditFocusGained> |
||
2009 | <OnEnterPressed> |
||
2010 | BEBOption_ChangeAttachTo() |
||
2011 | this:ClearFocus() |
||
2012 | </OnEnterPressed> |
||
2013 | <OnEscapePressed> |
||
2014 | if (this.prevvals) then |
||
2015 | this:SetText(this.prevvals) |
||
2016 | end |
||
2017 | this:ClearFocus() |
||
2018 | </OnEscapePressed> |
||
2019 | </Scripts> |
||
2020 | </EditBox> |
||
2021 | <Button name="$parentButton" inherits="OptionsButtonTemplate" text="v" frameLevel="7"> |
||
2022 | <Size> |
||
2023 | <AbsDimension x="20" y="20"/> |
||
2024 | </Size> |
||
2025 | <Anchors> |
||
2026 | <Anchor point="TOPRIGHT"> |
||
2027 | </Anchor> |
||
2028 | </Anchors> |
||
2029 | <Scripts> |
||
2030 | <OnLoad> |
||
2031 | this.table = "BEB_UIATTACHFRAMES" |
||
2032 | this.whatindex = "BEBMain" |
||
2033 | this.typeindex = "location" |
||
2034 | this.subindex = "relto" |
||
2035 | this.controlbox = this:GetParent():GetName().."EditBox" |
||
2036 | </OnLoad> |
||
2037 | <OnClick> |
||
2038 | BEBOptions_ShowMenu(); |
||
2039 | </OnClick> |
||
2040 | </Scripts> |
||
2041 | </Button> |
||
2042 | </Frames> |
||
2043 | </Frame> |
||
2044 | |||
2045 | |||
2046 | </Frames> |
||
2047 | <Scripts> |
||
2048 | <OnUpdate> |
||
2049 | BEBOptions_Placement_OnUpdate(arg1) |
||
2050 | </OnUpdate> |
||
2051 | <OnShow> |
||
2052 | BEBOptions_OnShow("Placement") |
||
2053 | </OnShow> |
||
2054 | </Scripts> |
||
2055 | </Frame> |
||
2056 | <Frame name="BEB_DropDownMenu" enableMouse="true" hidden="true" frameLevel="15"> |
||
2057 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
2058 | <EdgeSize> |
||
2059 | <AbsValue val="16"/> |
||
2060 | </EdgeSize> |
||
2061 | <TileSize> |
||
2062 | <AbsValue val="16"/> |
||
2063 | </TileSize> |
||
2064 | <BackgroundInsets> |
||
2065 | <AbsInset left="5" right="5" top="5" bottom="5"/> |
||
2066 | </BackgroundInsets> |
||
2067 | </Backdrop> |
||
2068 | <Frames> |
||
2069 | <Button name="$parent_Button1" id="1" inherits="BEB_MenuOptionTemplate"> |
||
2070 | <Anchors> |
||
2071 | <Anchor point="TOP"> |
||
2072 | <Offset><AbsDimension y="-10" x="0"/></Offset> |
||
2073 | </Anchor> |
||
2074 | </Anchors> |
||
2075 | </Button> |
||
2076 | <Button name="$parent_Button2" id="2" inherits="BEB_MenuOptionTemplate"> |
||
2077 | <Anchors><Anchor point="TOP" relativeTo="$parent_Button1" relativePoint="BOTTOM"></Anchor></Anchors> |
||
2078 | </Button> |
||
2079 | <Button name="$parent_Button3" id="3" inherits="BEB_MenuOptionTemplate"> |
||
2080 | <Anchors><Anchor point="TOP" relativeTo="$parent_Button2" relativePoint="BOTTOM"></Anchor></Anchors> |
||
2081 | </Button> |
||
2082 | <Button name="$parent_Button4" id="4" inherits="BEB_MenuOptionTemplate"> |
||
2083 | <Anchors><Anchor point="TOP" relativeTo="$parent_Button3" relativePoint="BOTTOM"></Anchor></Anchors> |
||
2084 | </Button> |
||
2085 | <Button name="$parent_Button5" id="5" inherits="BEB_MenuOptionTemplate"> |
||
2086 | <Anchors><Anchor point="TOP" relativeTo="$parent_Button4" relativePoint="BOTTOM"></Anchor></Anchors> |
||
2087 | </Button> |
||
2088 | <Button name="$parent_Button6" id="6" inherits="BEB_MenuOptionTemplate"> |
||
2089 | <Anchors><Anchor point="TOP" relativeTo="$parent_Button5" relativePoint="BOTTOM"></Anchor></Anchors> |
||
2090 | </Button> |
||
2091 | <Button name="$parent_Button7" id="7" inherits="BEB_MenuOptionTemplate"> |
||
2092 | <Anchors><Anchor point="TOP" relativeTo="$parent_Button6" relativePoint="BOTTOM"></Anchor></Anchors> |
||
2093 | </Button> |
||
2094 | <Button name="$parent_Button8" id="8" inherits="BEB_MenuOptionTemplate"> |
||
2095 | <Anchors><Anchor point="TOP" relativeTo="$parent_Button7" relativePoint="BOTTOM"></Anchor></Anchors> |
||
2096 | </Button> |
||
2097 | <Button name="$parent_Button9" id="9" inherits="BEB_MenuOptionTemplate"> |
||
2098 | <Anchors><Anchor point="TOP" relativeTo="$parent_Button8" relativePoint="BOTTOM"></Anchor></Anchors> |
||
2099 | </Button> |
||
2100 | <Button name="$parent_Button10" id="10" inherits="BEB_MenuOptionTemplate"> |
||
2101 | <Anchors><Anchor point="TOP" relativeTo="$parent_Button9" relativePoint="BOTTOM"></Anchor></Anchors> |
||
2102 | </Button> |
||
2103 | <Button name="$parent_Button11" id="11" inherits="BEB_MenuOptionTemplate"> |
||
2104 | <Anchors><Anchor point="TOP" relativeTo="$parent_Button10" relativePoint="BOTTOM"></Anchor></Anchors> |
||
2105 | </Button> |
||
2106 | <Button name="$parent_Button12" id="12" inherits="BEB_MenuOptionTemplate"> |
||
2107 | <Anchors><Anchor point="TOP" relativeTo="$parent_Button11" relativePoint="BOTTOM"></Anchor></Anchors> |
||
2108 | </Button> |
||
2109 | <Button name="$parent_Button13" id="13" inherits="BEB_MenuOptionTemplate"> |
||
2110 | <Anchors><Anchor point="TOP" relativeTo="$parent_Button12" relativePoint="BOTTOM"></Anchor></Anchors> |
||
2111 | </Button> |
||
2112 | <Button name="$parent_Button14" id="14" inherits="BEB_MenuOptionTemplate"> |
||
2113 | <Anchors><Anchor point="TOP" relativeTo="$parent_Button13" relativePoint="BOTTOM"></Anchor></Anchors> |
||
2114 | </Button> |
||
2115 | <Button name="$parent_Button15" id="15" inherits="BEB_MenuOptionTemplate"> |
||
2116 | <Anchors><Anchor point="TOP" relativeTo="$parent_Button14" relativePoint="BOTTOM"></Anchor></Anchors> |
||
2117 | </Button> |
||
2118 | <Button name="$parent_Button16" id="16" inherits="BEB_MenuOptionTemplate"> |
||
2119 | <Anchors><Anchor point="TOP" relativeTo="$parent_Button15" relativePoint="BOTTOM"></Anchor></Anchors> |
||
2120 | </Button> |
||
2121 | <Button name="$parent_Button17" id="17" inherits="BEB_MenuOptionTemplate"> |
||
2122 | <Anchors><Anchor point="TOP" relativeTo="$parent_Button16" relativePoint="BOTTOM"></Anchor></Anchors> |
||
2123 | </Button> |
||
2124 | <Button name="$parent_Button18" id="18" inherits="BEB_MenuOptionTemplate"> |
||
2125 | <Anchors><Anchor point="TOP" relativeTo="$parent_Button17" relativePoint="BOTTOM"></Anchor></Anchors> |
||
2126 | </Button> |
||
2127 | <Button name="$parent_Button19" id="19" inherits="BEB_MenuOptionTemplate"> |
||
2128 | <Anchors><Anchor point="TOP" relativeTo="$parent_Button18" relativePoint="BOTTOM"></Anchor></Anchors> |
||
2129 | </Button> |
||
2130 | <Button name="$parent_Button20" id="20" inherits="BEB_MenuOptionTemplate"> |
||
2131 | <Anchors><Anchor point="TOP" relativeTo="$parent_Button19" relativePoint="BOTTOM"></Anchor></Anchors> |
||
2132 | </Button> |
||
2133 | </Frames> |
||
2134 | <Scripts> |
||
2135 | <OnLoad> |
||
2136 | this.count = 20 |
||
2137 | </OnLoad> |
||
2138 | <OnEnter> |
||
2139 | this.timer = nil |
||
2140 | </OnEnter> |
||
2141 | <OnLeave> |
||
2142 | this.timer = 5 |
||
2143 | </OnLeave> |
||
2144 | <OnUpdate> |
||
2145 | BEBOptions_DDM_OnUpdate(arg1) |
||
2146 | </OnUpdate> |
||
2147 | <OnHide> |
||
2148 | this.how = nil |
||
2149 | this.timer = nil |
||
2150 | </OnHide> |
||
2151 | </Scripts> |
||
2152 | </Frame> |
||
2153 | |||
2154 | </Frames> |
||
2155 | <Scripts> |
||
2156 | <OnLoad> |
||
2157 | tinsert(UISpecialFrames,"BEBConfigFrame"); |
||
2158 | tinsert(UISpecialFrames,"BEBEnableFrame"); |
||
2159 | BEBCurrentFrame = "General" |
||
2160 | </OnLoad> |
||
2161 | <OnShow> |
||
2162 | BEBOptions_OnShow("Options") |
||
2163 | </OnShow> |
||
2164 | <OnMouseDown> |
||
2165 | BEBOptions_OnMouseDown() |
||
2166 | </OnMouseDown> |
||
2167 | <OnMouseUp> |
||
2168 | BEBOptions_OnMouseUp() |
||
2169 | </OnMouseUp> |
||
2170 | <OnHide> |
||
2171 | BEB_DropDownMenu:Hide() |
||
2172 | </OnHide> |
||
2173 | </Scripts> |
||
2174 | </Frame> |
||
2175 | |||
2176 | |||
2177 | |||
2178 | <Frame name="BEBEnableFrame" toplevel="true" parent="UIParent" frameStrata="DIALOG" hidden="true" enableMouse="true"> |
||
2179 | <Size> |
||
2180 | <AbsDimension x="260" y="260"/> |
||
2181 | </Size> |
||
2182 | <Anchors> |
||
2183 | <Anchor point="CENTER"/> |
||
2184 | </Anchors> |
||
2185 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
2186 | <BackgroundInsets> |
||
2187 | <AbsInset left="11" right="12" top="12" bottom="11"/> |
||
2188 | </BackgroundInsets> |
||
2189 | <TileSize> |
||
2190 | <AbsValue val="32"/> |
||
2191 | </TileSize> |
||
2192 | <EdgeSize> |
||
2193 | <AbsValue val="32"/> |
||
2194 | </EdgeSize> |
||
2195 | </Backdrop> |
||
2196 | <Layers> |
||
2197 | <Layer level="ARTWORK"> |
||
2198 | <Texture file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
2199 | <Size> |
||
2200 | <AbsDimension x="256" y="64"/> |
||
2201 | </Size> |
||
2202 | <Anchors> |
||
2203 | <Anchor point="TOP"> |
||
2204 | <Offset> |
||
2205 | <AbsDimension x="0" y="12"/> |
||
2206 | </Offset> |
||
2207 | </Anchor> |
||
2208 | </Anchors> |
||
2209 | </Texture> |
||
2210 | </Layer> |
||
2211 | <Layer level="OVERLAY"> |
||
2212 | <FontString inherits="GameFontNormal" text="BEB Config"> |
||
2213 | <Anchors> |
||
2214 | <Anchor point="TOP" relativeTo="$parent"/> |
||
2215 | </Anchors> |
||
2216 | </FontString> |
||
2217 | </Layer> |
||
2218 | </Layers> |
||
2219 | <Frames> |
||
2220 | <Button name="$parentButtonClose" inherits="OptionsButtonTemplate" text="Close"> |
||
2221 | <Anchors> |
||
2222 | <Anchor point="BOTTOMRIGHT"> |
||
2223 | <Offset> |
||
2224 | <AbsDimension x="-12" y="16"/> |
||
2225 | </Offset> |
||
2226 | </Anchor> |
||
2227 | </Anchors> |
||
2228 | <Scripts> |
||
2229 | <OnClick> |
||
2230 | BEBEnableFrame:Hide() |
||
2231 | </OnClick> |
||
2232 | </Scripts> |
||
2233 | </Button> |
||
2234 | <Button name="BEBEnableButton" inherits="OptionsButtonTemplate" text="Enable"> |
||
2235 | <Size> |
||
2236 | <AbsDimension y="60" x="100"/> |
||
2237 | </Size> |
||
2238 | <Anchors> |
||
2239 | <Anchor point="CENTER"> |
||
2240 | <Offset> |
||
2241 | <AbsDimension x="0" y="0"/> |
||
2242 | </Offset> |
||
2243 | </Anchor> |
||
2244 | </Anchors> |
||
2245 | <Scripts> |
||
2246 | <OnClick> |
||
2247 | BEBOptions_EnableAddon() |
||
2248 | this:GetParent():Hide(); |
||
2249 | BEBConfigFrame:Show() |
||
2250 | </OnClick> |
||
2251 | </Scripts> |
||
2252 | </Button> |
||
2253 | </Frames> |
||
2254 | </Frame> |
||
2255 | </Ui> |