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 | D:\UI.xsd"> |
||
3 | <Script file="Localization.lua"/> |
||
4 | <Script file="BEBOptions.lua"/> |
||
5 | <Frame name="BEBConfigFrame" toplevel="true" parent="UIParent" frameStrata="DIALOG" hidden="true" enableMouse="true" movable="true"> |
||
6 | <Size> |
||
7 | <AbsDimension x="320" y="350"/> |
||
8 | </Size> |
||
9 | <Anchors> |
||
10 | <Anchor point="CENTER"/> |
||
11 | </Anchors> |
||
12 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
13 | <BackgroundInsets> |
||
14 | <AbsInset left="11" right="12" top="12" bottom="11"/> |
||
15 | </BackgroundInsets> |
||
16 | <TileSize> |
||
17 | <AbsValue val="32"/> |
||
18 | </TileSize> |
||
19 | <EdgeSize> |
||
20 | <AbsValue val="32"/> |
||
21 | </EdgeSize> |
||
22 | </Backdrop> |
||
23 | <Layers> |
||
24 | <Layer level="ARTWORK"> |
||
25 | <Texture file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
26 | <Size> |
||
27 | <AbsDimension x="256" y="64"/> |
||
28 | </Size> |
||
29 | <Anchors> |
||
30 | <Anchor point="TOP"> |
||
31 | <Offset> |
||
32 | <AbsDimension x="0" y="24"/> |
||
33 | </Offset> |
||
34 | </Anchor> |
||
35 | </Anchors> |
||
36 | </Texture> |
||
37 | <FontString name="BEBCurrentSelector" inherits="GameFontNormal" justifyH="LEFT" text="Current Selector"> |
||
38 | <Anchors> |
||
39 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
40 | <Offset> |
||
41 | <AbsDimension x="20" y="-15"/> |
||
42 | </Offset> |
||
43 | </Anchor> |
||
44 | </Anchors> |
||
45 | </FontString> |
||
46 | <FontString name="BEBColorsHeader" inherits="GameFontNormal" justifyH="LEFT"> |
||
47 | <Anchors> |
||
48 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
49 | <Offset> |
||
50 | <AbsDimension x="20" y="-125"/> |
||
51 | </Offset> |
||
52 | </Anchor> |
||
53 | </Anchors> |
||
54 | </FontString> |
||
55 | <FontString name="BEBAttachHeader" inherits="GameFontNormal" justifyH="CENTER"> |
||
56 | <Anchors> |
||
57 | <Anchor point="TOP" relativePoint="TOP"> |
||
58 | <Offset> |
||
59 | <AbsDimension x="0" y="-90"/> |
||
60 | </Offset> |
||
61 | </Anchor> |
||
62 | </Anchors> |
||
63 | </FontString> |
||
64 | </Layer> |
||
65 | </Layers> |
||
66 | <Frames> |
||
67 | <Frame name="BEBConfigHeader" enableMouse="true "> |
||
68 | <Size> |
||
69 | <AbsDimension x="140" y="20"/> |
||
70 | </Size> |
||
71 | <Anchors> |
||
72 | <Anchor point="TOP"> |
||
73 | <Offset> |
||
74 | <AbsDimension x="0" y="20"/> |
||
75 | </Offset> |
||
76 | </Anchor> |
||
77 | </Anchors> |
||
78 | <Layers> |
||
79 | <Layer level="OVERLAY"> |
||
80 | <FontString name="BEBConfigHeaderText" inherits="GameFontNormal" justifyV="MIDDLE"> |
||
81 | <Anchors> |
||
82 | <Anchor point="CENTER" relativeTo="BEBConfigHeader"> |
||
83 | <Offset> |
||
84 | <AbsDimension y="-5" x="0"/> |
||
85 | </Offset> |
||
86 | </Anchor> |
||
87 | </Anchors> |
||
88 | </FontString> |
||
89 | </Layer> |
||
90 | </Layers> |
||
91 | <Scripts> |
||
92 | <OnMouseDown> |
||
93 | BEBOPTIONS.OnMouseDown() |
||
94 | </OnMouseDown> |
||
95 | <OnMouseUp> |
||
96 | BEBOPTIONS.OnMouseUp() |
||
97 | </OnMouseUp> |
||
98 | </Scripts> |
||
99 | </Frame> |
||
100 | <Button name="$parentButtonClose" inherits="UIPanelButtonTemplate"> |
||
101 | <Size> |
||
102 | <AbsDimension y="20" x="100"/> |
||
103 | </Size> |
||
104 | <Anchors> |
||
105 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT"> |
||
106 | <Offset> |
||
107 | <AbsDimension x="5" y="5"/> |
||
108 | </Offset> |
||
109 | </Anchor> |
||
110 | </Anchors> |
||
111 | <Scripts> |
||
112 | <OnClick> |
||
113 | BEBConfigFrame:Hide() |
||
114 | </OnClick> |
||
115 | </Scripts> |
||
116 | </Button> |
||
117 | <Button name="BEBDefaultsButton" inherits="UIPanelButtonTemplate"> |
||
118 | <Size> |
||
119 | <AbsDimension y="20" x="100"/> |
||
120 | </Size> |
||
121 | <Anchors> |
||
122 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT"> |
||
123 | <Offset> |
||
124 | <AbsDimension x="5" y="25"/> |
||
125 | </Offset> |
||
126 | </Anchor> |
||
127 | </Anchors> |
||
128 | <Scripts> |
||
129 | <OnClick> |
||
130 | BEB.LoadDefaults() |
||
131 | </OnClick> |
||
132 | </Scripts> |
||
133 | </Button> |
||
134 | <Button name="BEBMainSelector" inherits="BEBSelectorTemplate"> |
||
135 | <Anchors> |
||
136 | <Anchor point="TOPRIGHT" relativePoint="TOPLEFT"> |
||
137 | <Offset> |
||
138 | <AbsDimension x="5" y="-5"/> |
||
139 | </Offset> |
||
140 | </Anchor> |
||
141 | </Anchors> |
||
142 | <Scripts> |
||
143 | <OnLoad> |
||
144 | this.index = "BEBMain" |
||
145 | </OnLoad> |
||
146 | </Scripts> |
||
147 | </Button> |
||
148 | <Button name="BEBBackgroundSelector" inherits="BEBSelectorTemplate"> |
||
149 | <Anchors> |
||
150 | <Anchor point="TOPRIGHT" relativePoint="TOPLEFT"> |
||
151 | <Offset> |
||
152 | <AbsDimension x="5" y="-30"/> |
||
153 | </Offset> |
||
154 | </Anchor> |
||
155 | </Anchors> |
||
156 | <Scripts> |
||
157 | <OnLoad> |
||
158 | this.index = "BEBBackground" |
||
159 | </OnLoad> |
||
160 | </Scripts> |
||
161 | </Button> |
||
162 | <Button name="BEBXpBarSelector" inherits="BEBSelectorTemplate"> |
||
163 | <Anchors> |
||
164 | <Anchor point="TOPRIGHT" relativePoint="TOPLEFT"> |
||
165 | <Offset> |
||
166 | <AbsDimension x="5" y="-55"/> |
||
167 | </Offset> |
||
168 | </Anchor> |
||
169 | </Anchors> |
||
170 | <Scripts> |
||
171 | <OnLoad> |
||
172 | this.index = "BEBXpBar" |
||
173 | </OnLoad> |
||
174 | </Scripts> |
||
175 | </Button> |
||
176 | <Button name="BEBRestedXpBarSelector" inherits="BEBSelectorTemplate"> |
||
177 | <Anchors> |
||
178 | <Anchor point="TOPRIGHT" relativePoint="TOPLEFT"> |
||
179 | <Offset> |
||
180 | <AbsDimension x="5" y="-80"/> |
||
181 | </Offset> |
||
182 | </Anchor> |
||
183 | </Anchors> |
||
184 | <Scripts> |
||
185 | <OnLoad> |
||
186 | this.index = "BEBRestedXpBar" |
||
187 | </OnLoad> |
||
188 | </Scripts> |
||
189 | </Button> |
||
190 | <Button name="BEBMarkersSelector" inherits="BEBSelectorTemplate"> |
||
191 | <Anchors> |
||
192 | <Anchor point="TOPRIGHT" relativePoint="TOPLEFT"> |
||
193 | <Offset> |
||
194 | <AbsDimension x="5" y="-105"/> |
||
195 | </Offset> |
||
196 | </Anchor> |
||
197 | </Anchors> |
||
198 | <Scripts> |
||
199 | <OnLoad> |
||
200 | this.index = "BEBMarkers" |
||
201 | </OnLoad> |
||
202 | </Scripts> |
||
203 | </Button> |
||
204 | <Button name="BEBXpTickSelector" inherits="BEBSelectorTemplate"> |
||
205 | <Anchors> |
||
206 | <Anchor point="TOPRIGHT" relativePoint="TOPLEFT"> |
||
207 | <Offset> |
||
208 | <AbsDimension x="5" y="-130"/> |
||
209 | </Offset> |
||
210 | </Anchor> |
||
211 | </Anchors> |
||
212 | <Scripts> |
||
213 | <OnLoad> |
||
214 | this.index = "BEBXpTick" |
||
215 | </OnLoad> |
||
216 | </Scripts> |
||
217 | </Button> |
||
218 | <Button name="BEBRestedXpTickSelector" inherits="BEBSelectorTemplate"> |
||
219 | <Anchors> |
||
220 | <Anchor point="TOPRIGHT" relativePoint="TOPLEFT"> |
||
221 | <Offset> |
||
222 | <AbsDimension x="5" y="-155"/> |
||
223 | </Offset> |
||
224 | </Anchor> |
||
225 | </Anchors> |
||
226 | <Scripts> |
||
227 | <OnLoad> |
||
228 | this.index = "BEBRestedXpTick" |
||
229 | </OnLoad> |
||
230 | </Scripts> |
||
231 | </Button> |
||
232 | <Button name="BEBRestedXpTickGlowSelector" inherits="BEBSelectorTemplate"> |
||
233 | <Anchors> |
||
234 | <Anchor point="TOPRIGHT" relativePoint="TOPLEFT"> |
||
235 | <Offset> |
||
236 | <AbsDimension x="5" y="-180"/> |
||
237 | </Offset> |
||
238 | </Anchor> |
||
239 | </Anchors> |
||
240 | <Scripts> |
||
241 | <OnLoad> |
||
242 | this.index = "BEBRestedXpTickGlow" |
||
243 | </OnLoad> |
||
244 | </Scripts> |
||
245 | </Button> |
||
246 | <Button name="BEBBarTextSelector" inherits="BEBSelectorTemplate"> |
||
247 | <Anchors> |
||
248 | <Anchor point="TOPRIGHT" relativePoint="TOPLEFT"> |
||
249 | <Offset> |
||
250 | <AbsDimension x="5" y="-205"/> |
||
251 | </Offset> |
||
252 | </Anchor> |
||
253 | </Anchors> |
||
254 | <Scripts> |
||
255 | <OnLoad> |
||
256 | this.index = "BEBBarText" |
||
257 | </OnLoad> |
||
258 | </Scripts> |
||
259 | </Button> |
||
260 | <Button name="BEBProfileSelector" inherits="BEBSelectorTemplate"> |
||
261 | <Anchors> |
||
262 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT"> |
||
263 | <Offset> |
||
264 | <AbsDimension x="5" y="45"/> |
||
265 | </Offset> |
||
266 | </Anchor> |
||
267 | </Anchors> |
||
268 | <Scripts> |
||
269 | <OnLoad> |
||
270 | this.index = "BEBProfile" |
||
271 | </OnLoad> |
||
272 | </Scripts> |
||
273 | </Button> |
||
274 | <CheckButton name="BEBClickTextCheckButton" inherits="BEBOptionsCheckButtonTemplate"> |
||
275 | <Anchors> |
||
276 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
277 | <Offset> |
||
278 | <AbsDimension x="160" y="-60"/> |
||
279 | </Offset> |
||
280 | </Anchor> |
||
281 | </Anchors> |
||
282 | <Scripts> |
||
283 | <OnLoad> |
||
284 | this.index = "clicktext" |
||
285 | </OnLoad> |
||
286 | </Scripts> |
||
287 | </CheckButton> |
||
288 | <CheckButton name="BEBDragableCheckButton" inherits="BEBOptionsCheckButtonTemplate"> |
||
289 | <Anchors> |
||
290 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
291 | <Offset> |
||
292 | <AbsDimension x="20" y="-30"/> |
||
293 | </Offset> |
||
294 | </Anchor> |
||
295 | </Anchors> |
||
296 | <Scripts> |
||
297 | <OnLoad> |
||
298 | this.index = "dragable" |
||
299 | </OnLoad> |
||
300 | </Scripts> |
||
301 | </CheckButton> |
||
302 | <CheckButton name="BEBFlashingCheckButton" inherits="BEBOptionsCheckButtonTemplate"> |
||
303 | <Anchors> |
||
304 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
305 | <Offset> |
||
306 | <AbsDimension x="160" y="-30"/> |
||
307 | </Offset> |
||
308 | </Anchor> |
||
309 | </Anchors> |
||
310 | <Scripts> |
||
311 | <OnLoad> |
||
312 | this.index = "flashing" |
||
313 | </OnLoad> |
||
314 | </Scripts> |
||
315 | </CheckButton> |
||
316 | <CheckButton name="BEBShownCheckButton" inherits="BEBOptionsCheckButtonTemplate"> |
||
317 | <Anchors> |
||
318 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
319 | <Offset> |
||
320 | <AbsDimension x="20" y="-30"/> |
||
321 | </Offset> |
||
322 | </Anchor> |
||
323 | </Anchors> |
||
324 | <Scripts> |
||
325 | <OnLoad> |
||
326 | this.index = "shown" |
||
327 | </OnLoad> |
||
328 | </Scripts> |
||
329 | </CheckButton> |
||
330 | <CheckButton name="BEBShowOnMouseoverCheckButton" inherits="BEBOptionsCheckButtonTemplate"> |
||
331 | <Anchors> |
||
332 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
333 | <Offset> |
||
334 | <AbsDimension x="20" y="-60"/> |
||
335 | </Offset> |
||
336 | </Anchor> |
||
337 | </Anchors> |
||
338 | <Scripts> |
||
339 | <OnLoad> |
||
340 | this.index = "mouseover" |
||
341 | </OnLoad> |
||
342 | </Scripts> |
||
343 | </CheckButton> |
||
344 | <Frame name="BEB_MainAttachToFrame" inherits="BEBOptions_MenuEditboxFrameTemplate"> |
||
345 | <Anchors> |
||
346 | <Anchor point="TOP" relativeTo="BEBAttachHeader" relativePoint="BOTTOM"> |
||
347 | <Offset> |
||
348 | <AbsDimension y="-25" x="0"/> |
||
349 | </Offset> |
||
350 | </Anchor> |
||
351 | </Anchors> |
||
352 | <Scripts> |
||
353 | <OnLoad> |
||
354 | local button = getglobal(this:GetName().."Button") |
||
355 | button.table = "UIATTACHFRAMES" |
||
356 | button.func = "DDM_ReplaceText" |
||
357 | button.typeindex = "location" |
||
358 | button.subindex = "relto" |
||
359 | </OnLoad> |
||
360 | </Scripts> |
||
361 | </Frame> |
||
362 | <Frame name="BEB_BarTextFrame" inherits="BEBOptions_MenuEditboxFrameTemplate"> |
||
363 | <Anchors> |
||
364 | <Anchor point="TOP"> |
||
365 | <Offset> |
||
366 | <AbsDimension y="-175" x="0"/> |
||
367 | </Offset> |
||
368 | </Anchor> |
||
369 | </Anchors> |
||
370 | <Scripts> |
||
371 | <OnLoad> |
||
372 | local button = getglobal(this:GetName().."Button") |
||
373 | button.table = "VARIABLE_FUNCTIONS_DESCIPTIONS" |
||
374 | button.func = "DDM_InsertText" |
||
375 | button.typeindex = "text" |
||
376 | button.subindex = "string" |
||
377 | </OnLoad> |
||
378 | </Scripts> |
||
379 | </Frame> |
||
380 | <Frame name="BEB_TextureFrame" inherits="BEBOptions_MenuEditboxFrameTemplate"> |
||
381 | <Anchors> |
||
382 | <Anchor point="TOP"> |
||
383 | <Offset> |
||
384 | <AbsDimension y="-175" x="0"/> |
||
385 | </Offset> |
||
386 | </Anchor> |
||
387 | </Anchors> |
||
388 | <Scripts> |
||
389 | <OnLoad> |
||
390 | local button = getglobal(this:GetName().."Button") |
||
391 | button.table = "TEXTURES" |
||
392 | button.func = "DDM_ReplaceText" |
||
393 | button.typeindex = "texture" |
||
394 | </OnLoad> |
||
395 | </Scripts> |
||
396 | </Frame> |
||
397 | <Button name="BEBUnrestedTextureColorButton" inherits="BEBOptionsColorButtonTemplate"> |
||
398 | <Anchors> |
||
399 | <Anchor point="TOPLEFT" relativeTo="BEBColorsHeader" relativePoint="BOTTOMLEFT"> |
||
400 | <Offset> |
||
401 | <AbsDimension y="0" x="0"/> |
||
402 | </Offset> |
||
403 | </Anchor> |
||
404 | </Anchors> |
||
405 | <Layers> |
||
406 | <Layer level="ARTWORK"> |
||
407 | <Texture name="$parentTexture"> |
||
408 | <Size> |
||
409 | <AbsDimension y="20" x="20"/> |
||
410 | </Size> |
||
411 | <Anchors> |
||
412 | <Anchor point="CENTER"> |
||
413 | </Anchor> |
||
414 | </Anchors> |
||
415 | </Texture> |
||
416 | </Layer> |
||
417 | </Layers> |
||
418 | <Scripts> |
||
419 | <OnLoad> |
||
420 | this.whenindex = "unrestcolor" |
||
421 | </OnLoad> |
||
422 | </Scripts> |
||
423 | </Button> |
||
424 | <Button name="BEBRestedTextureColorButton" inherits="BEBOptionsColorButtonTemplate"> |
||
425 | <Anchors> |
||
426 | <Anchor point="TOPLEFT" relativeTo="BEBColorsHeader" relativePoint="BOTTOMLEFT"> |
||
427 | <Offset> |
||
428 | <AbsDimension y="0" x="95"/> |
||
429 | </Offset> |
||
430 | </Anchor> |
||
431 | </Anchors> |
||
432 | <Layers> |
||
433 | <Layer level="ARTWORK"> |
||
434 | <Texture name="$parentTexture"> |
||
435 | <Size> |
||
436 | <AbsDimension y="20" x="20"/> |
||
437 | </Size> |
||
438 | <Anchors> |
||
439 | <Anchor point="CENTER"> |
||
440 | </Anchor> |
||
441 | </Anchors> |
||
442 | </Texture> |
||
443 | </Layer> |
||
444 | </Layers> |
||
445 | <Scripts> |
||
446 | <OnLoad> |
||
447 | this.whenindex = "restcolor" |
||
448 | </OnLoad> |
||
449 | </Scripts> |
||
450 | </Button> |
||
451 | <Button name="BEBMaxrestedTextureColorButton" inherits="BEBOptionsColorButtonTemplate"> |
||
452 | <Anchors> |
||
453 | <Anchor point="TOPLEFT" relativeTo="BEBColorsHeader" relativePoint="BOTTOMLEFT"> |
||
454 | <Offset> |
||
455 | <AbsDimension y="0" x="190"/> |
||
456 | </Offset> |
||
457 | </Anchor> |
||
458 | </Anchors> |
||
459 | <Layers> |
||
460 | <Layer level="ARTWORK"> |
||
461 | <Texture name="$parentTexture"> |
||
462 | <Size> |
||
463 | <AbsDimension y="20" x="20"/> |
||
464 | </Size> |
||
465 | <Anchors> |
||
466 | <Anchor point="CENTER"> |
||
467 | </Anchor> |
||
468 | </Anchors> |
||
469 | </Texture> |
||
470 | </Layer> |
||
471 | </Layers> |
||
472 | <Scripts> |
||
473 | <OnLoad> |
||
474 | this.whenindex = "maxrestcolor" |
||
475 | </OnLoad> |
||
476 | </Scripts> |
||
477 | </Button> |
||
478 | <Button name="BEBUnrestedTextColorButton" inherits="BEBOptionsColorButtonTemplate"> |
||
479 | <Anchors> |
||
480 | <Anchor point="TOPLEFT" relativeTo="BEBColorsHeader" relativePoint="BOTTOMLEFT"> |
||
481 | <Offset> |
||
482 | <AbsDimension y="0" x="0"/> |
||
483 | </Offset> |
||
484 | </Anchor> |
||
485 | </Anchors> |
||
486 | <Layers> |
||
487 | <Layer level="ARTWORK"> |
||
488 | <FontString name="$parentTexture" inherits="GameFontNormalSmall" justifyH="CENTER" justifyV="MIDDLE" text="Abc def"> |
||
489 | <Size> |
||
490 | <AbsDimension y="24" x="24"/> |
||
491 | </Size> |
||
492 | <Anchors> |
||
493 | <Anchor point="CENTER" relativePoint="CENTER"> |
||
494 | </Anchor> |
||
495 | </Anchors> |
||
496 | </FontString> |
||
497 | </Layer> |
||
498 | </Layers> |
||
499 | <Scripts> |
||
500 | <OnLoad> |
||
501 | this.whenindex = "unrestcolor" |
||
502 | </OnLoad> |
||
503 | </Scripts> |
||
504 | </Button> |
||
505 | <Button name="BEBRestedTextColorButton" inherits="BEBOptionsColorButtonTemplate"> |
||
506 | <Anchors> |
||
507 | <Anchor point="TOPLEFT" relativeTo="BEBColorsHeader" relativePoint="BOTTOMLEFT"> |
||
508 | <Offset> |
||
509 | <AbsDimension y="0" x="95"/> |
||
510 | </Offset> |
||
511 | </Anchor> |
||
512 | </Anchors> |
||
513 | <Layers> |
||
514 | <Layer level="ARTWORK"> |
||
515 | <FontString name="$parentTexture" inherits="GameFontNormalSmall" justifyH="CENTER" justifyV="MIDDLE" text="Abc def"> |
||
516 | <Size> |
||
517 | <AbsDimension y="24" x="24"/> |
||
518 | </Size> |
||
519 | <Anchors> |
||
520 | <Anchor point="CENTER" relativePoint="CENTER"> |
||
521 | </Anchor> |
||
522 | </Anchors> |
||
523 | </FontString> |
||
524 | </Layer> |
||
525 | </Layers> |
||
526 | <Scripts> |
||
527 | <OnLoad> |
||
528 | this.whenindex = "restcolor" |
||
529 | </OnLoad> |
||
530 | </Scripts> |
||
531 | </Button> |
||
532 | <Button name="BEBMaxrestedTextColorButton" inherits="BEBOptionsColorButtonTemplate"> |
||
533 | <Anchors> |
||
534 | <Anchor point="TOPLEFT" relativeTo="BEBColorsHeader" relativePoint="BOTTOMLEFT"> |
||
535 | <Offset> |
||
536 | <AbsDimension y="0" x="190"/> |
||
537 | </Offset> |
||
538 | </Anchor> |
||
539 | </Anchors> |
||
540 | <Layers> |
||
541 | <Layer level="ARTWORK"> |
||
542 | <FontString name="$parentTexture" inherits="GameFontNormalSmall" justifyH="CENTER" justifyV="MIDDLE" text="Abc def"> |
||
543 | <Size> |
||
544 | <AbsDimension y="24" x="24"/> |
||
545 | </Size> |
||
546 | <Anchors> |
||
547 | <Anchor point="CENTER" relativePoint="CENTER"> |
||
548 | </Anchor> |
||
549 | </Anchors> |
||
550 | </FontString> |
||
551 | </Layer> |
||
552 | </Layers> |
||
553 | <Scripts> |
||
554 | <OnLoad> |
||
555 | this.whenindex = "maxrestcolor" |
||
556 | </OnLoad> |
||
557 | </Scripts> |
||
558 | </Button> |
||
559 | <Frame name="BEBOptionsPositionControls"> |
||
560 | <Size> |
||
561 | <AbsDimension y="100" x="150"/> |
||
562 | </Size> |
||
563 | <Anchors> |
||
564 | <Anchor point="TOPLEFT" relativePoint="TOP"> |
||
565 | <Offset> |
||
566 | <AbsDimension y="-200" x="0"/> |
||
567 | </Offset> |
||
568 | </Anchor> |
||
569 | </Anchors> |
||
570 | <Layers> |
||
571 | <Layer level="ARTWORK"> |
||
572 | <FontString name="$parentTitle" inherits="GameFontNormal" justifyH="CENTER"> |
||
573 | <Anchors> |
||
574 | <Anchor point="TOP"> |
||
575 | </Anchor> |
||
576 | </Anchors> |
||
577 | <FontHeight val="10"> |
||
578 | </FontHeight> |
||
579 | </FontString> |
||
580 | </Layer> |
||
581 | </Layers> |
||
582 | <Frames> |
||
583 | <Button name="$parentNudge0" inherits="BEBNudgeTemplate"> |
||
584 | <Anchors> |
||
585 | <Anchor point="TOP"> |
||
586 | <Offset> |
||
587 | <AbsDimension x="0" y="-40"/> |
||
588 | </Offset> |
||
589 | </Anchor> |
||
590 | </Anchors> |
||
591 | <Scripts> |
||
592 | <OnLoad> |
||
593 | this.index = "0" |
||
594 | this:SetText("0"); |
||
595 | </OnLoad> |
||
596 | </Scripts> |
||
597 | </Button> |
||
598 | <Button name="$parentNudgeUp" inherits="BEBNudgeTemplate"> |
||
599 | <Anchors> |
||
600 | <Anchor point="BOTTOM" relativeTo="$parentNudge0" relativePoint="TOP"> |
||
601 | <Offset> |
||
602 | <AbsDimension x="0" y="0"/> |
||
603 | </Offset> |
||
604 | </Anchor> |
||
605 | </Anchors> |
||
606 | <Scripts> |
||
607 | <OnLoad> |
||
608 | this.index = "up" |
||
609 | this:SetText("^"); |
||
610 | </OnLoad> |
||
611 | </Scripts> |
||
612 | </Button> |
||
613 | <Button name="$parentNudgeDown" inherits="BEBNudgeTemplate"> |
||
614 | <Anchors> |
||
615 | <Anchor point="TOP" relativeTo="$parentNudge0" relativePoint="BOTTOM"> |
||
616 | <Offset> |
||
617 | <AbsDimension x="0" y="0"/> |
||
618 | </Offset> |
||
619 | </Anchor> |
||
620 | </Anchors> |
||
621 | <Scripts> |
||
622 | <OnLoad> |
||
623 | this:SetText("v"); |
||
624 | this.index = "down" |
||
625 | </OnLoad> |
||
626 | </Scripts> |
||
627 | </Button> |
||
628 | <Button name="$parentNudgeLeft" inherits="BEBNudgeTemplate"> |
||
629 | <Anchors> |
||
630 | <Anchor point="RIGHT" relativeTo="$parentNudge0" relativePoint="LEFT"> |
||
631 | <Offset> |
||
632 | <AbsDimension x="0" y="0"/> |
||
633 | </Offset> |
||
634 | </Anchor> |
||
635 | </Anchors> |
||
636 | <Scripts> |
||
637 | <OnLoad> |
||
638 | this:SetText(BEBOPTIONS.ARROWLEFT); |
||
639 | this.index = "left" |
||
640 | </OnLoad> |
||
641 | </Scripts> |
||
642 | </Button> |
||
643 | <Button name="$parentNudgeRight" inherits="BEBNudgeTemplate"> |
||
644 | <Anchors> |
||
645 | <Anchor point="LEFT" relativeTo="$parentNudge0" relativePoint="RIGHT"> |
||
646 | <Offset> |
||
647 | <AbsDimension x="0" y="0"/> |
||
648 | </Offset> |
||
649 | </Anchor> |
||
650 | </Anchors> |
||
651 | <Scripts> |
||
652 | <OnLoad> |
||
653 | this:SetText(BEBOPTIONS.ARROWRIGHT); |
||
654 | this.index = "right" |
||
655 | </OnLoad> |
||
656 | </Scripts> |
||
657 | </Button> |
||
658 | <EditBox multiLine="false" name="$parentxEditBox" inherits="InputBoxTemplate" letters="5" autoFocus="false"> |
||
659 | <Size> |
||
660 | <AbsDimension x="47" y="20"/> |
||
661 | </Size> |
||
662 | <Anchors> |
||
663 | <Anchor point="TOPRIGHT" relativeTo="$parentNudge0" relativePoint="BOTTOMLEFT"> |
||
664 | <Offset> |
||
665 | <AbsDimension y="-2" x="0"/> |
||
666 | </Offset> |
||
667 | </Anchor> |
||
668 | </Anchors> |
||
669 | <Scripts> |
||
670 | <OnLoad> |
||
671 | this.index = "x" |
||
672 | </OnLoad> |
||
673 | <OnEditFocusGained> |
||
674 | this.prevvals = this:GetNumber() |
||
675 | </OnEditFocusGained> |
||
676 | <OnTextChanged> |
||
677 | BEBOPTIONS.PositionEditBox_OnValueChange() |
||
678 | </OnTextChanged> |
||
679 | <OnEnterPressed> |
||
680 | this:ClearFocus() |
||
681 | </OnEnterPressed> |
||
682 | <OnEscapePressed> |
||
683 | if (this.prevvals) then |
||
684 | this:SetText(this.prevvals) |
||
685 | end |
||
686 | this:ClearFocus() |
||
687 | </OnEscapePressed> |
||
688 | </Scripts> |
||
689 | <Layers> |
||
690 | <Layer> |
||
691 | <FontString inherits="GameFontNormal" text="x" justifyH="CENTER"> |
||
692 | <Anchors> |
||
693 | <Anchor point="BOTTOM" relativePoint="TOP"> |
||
694 | <Offset> |
||
695 | <AbsDimension y="0" x="-6"/> |
||
696 | </Offset> |
||
697 | </Anchor> |
||
698 | </Anchors> |
||
699 | </FontString> |
||
700 | </Layer> |
||
701 | </Layers> |
||
702 | </EditBox> |
||
703 | <EditBox multiLine="false" name="$parentyEditBox" inherits="InputBoxTemplate" letters="5" autoFocus="false"> |
||
704 | <Size> |
||
705 | <AbsDimension x="47" y="20"/> |
||
706 | </Size> |
||
707 | <Anchors> |
||
708 | <Anchor point="TOPLEFT" relativeTo="$parentNudge0" relativePoint="BOTTOMRIGHT"> |
||
709 | <Offset> |
||
710 | <AbsDimension y="-2" x="14"/> |
||
711 | </Offset> |
||
712 | </Anchor> |
||
713 | </Anchors> |
||
714 | <Scripts> |
||
715 | <OnLoad> |
||
716 | this.index = "y" |
||
717 | </OnLoad> |
||
718 | <OnEditFocusGained> |
||
719 | this.prevvals = this:GetNumber() |
||
720 | </OnEditFocusGained> |
||
721 | <OnTextChanged> |
||
722 | BEBOPTIONS.PositionEditBox_OnValueChange() |
||
723 | </OnTextChanged> |
||
724 | <OnEnterPressed> |
||
725 | this:ClearFocus() |
||
726 | </OnEnterPressed> |
||
727 | <OnEscapePressed> |
||
728 | if (this.prevvals) then |
||
729 | this:SetText(this.prevvals) |
||
730 | end |
||
731 | this:ClearFocus() |
||
732 | </OnEscapePressed> |
||
733 | </Scripts> |
||
734 | <Layers> |
||
735 | <Layer> |
||
736 | <FontString inherits="GameFontNormal" text="y" justifyH="CENTER"> |
||
737 | <Anchors> |
||
738 | <Anchor point="BOTTOM" relativePoint="TOP"> |
||
739 | <Offset> |
||
740 | <AbsDimension y="0" x="-6"/> |
||
741 | </Offset> |
||
742 | </Anchor> |
||
743 | </Anchors> |
||
744 | </FontString> |
||
745 | </Layer> |
||
746 | </Layers> |
||
747 | </EditBox> |
||
748 | </Frames> |
||
749 | <Scripts> |
||
750 | <OnUpdate> |
||
751 | BEBOPTIONS.Placement_OnUpdate(arg1) |
||
752 | </OnUpdate> |
||
753 | </Scripts> |
||
754 | </Frame> |
||
755 | <Button name="BEB_MainAttachPointButton" inherits="BEBOptions_DMMButtonTemplate"> |
||
756 | <Anchors> |
||
757 | <Anchor point="TOPRIGHT" relativeTo="BEBAttachHeader" relativePoint="BOTTOM"> |
||
758 | <Offset> |
||
759 | <AbsDimension y="0" x="-40"/> |
||
760 | </Offset> |
||
761 | </Anchor> |
||
762 | </Anchors> |
||
763 | <Scripts> |
||
764 | <OnLoad> |
||
765 | this.func = "DDM_ReplaceText" |
||
766 | this.table = "ATTACHPOINTS" |
||
767 | this.typeindex = "location" |
||
768 | this.subindex = "point" |
||
769 | </OnLoad> |
||
770 | </Scripts> |
||
771 | </Button> |
||
772 | <Button name="BEB_MainAttachToPointButton" inherits="BEBOptions_DMMButtonTemplate"> |
||
773 | <Anchors> |
||
774 | <Anchor point="TOPLEFT" relativeTo="BEBAttachHeader" relativePoint="BOTTOM"> |
||
775 | <Offset> |
||
776 | <AbsDimension y="0" x="40"/> |
||
777 | </Offset> |
||
778 | </Anchor> |
||
779 | </Anchors> |
||
780 | <Scripts> |
||
781 | <OnLoad> |
||
782 | this.func = "DDM_ReplaceText" |
||
783 | this.table = "ATTACHPOINTS" |
||
784 | this.typeindex = "location" |
||
785 | this.subindex = "relpoint" |
||
786 | </OnLoad> |
||
787 | </Scripts> |
||
788 | </Button> |
||
789 | <Frame name="BEBProfileFrame"> |
||
790 | <Size> |
||
791 | <AbsDimension y="290" x="290"/> |
||
792 | </Size> |
||
793 | <Anchors> |
||
794 | <Anchor point="TOPLEFT"> |
||
795 | <Offset> |
||
796 | <AbsDimension y="-35" x="15"/> |
||
797 | </Offset> |
||
798 | </Anchor> |
||
799 | </Anchors> |
||
800 | <Frames> |
||
801 | <Button name="$parentCreateButton" inherits="UIPanelButtonTemplate"> |
||
802 | <Size> |
||
803 | <AbsDimension y="24" x="80"/> |
||
804 | </Size> |
||
805 | <Anchors> |
||
806 | <Anchor point="TOPLEFT"> |
||
807 | </Anchor> |
||
808 | </Anchors> |
||
809 | <Frames> |
||
810 | <EditBox name="$parentEditBox" inherits="InputBoxTemplate" autoFocus="false"> |
||
811 | <Size> |
||
812 | <AbsDimension y="20" x="200"/> |
||
813 | </Size> |
||
814 | <Anchors> |
||
815 | <Anchor point="LEFT" relativePoint="RIGHT"> |
||
816 | <Offset> |
||
817 | <AbsDimension y="0" x="16"/> |
||
818 | </Offset> |
||
819 | </Anchor> |
||
820 | </Anchors> |
||
821 | </EditBox> |
||
822 | </Frames> |
||
823 | <Scripts> |
||
824 | <OnClick> |
||
825 | BEBOPTIONS.CreateProfile() |
||
826 | </OnClick> |
||
827 | </Scripts> |
||
828 | </Button> |
||
829 | <Button name="$parentUseButton" inherits="BEBProfileButtonTemplate"> |
||
830 | <Anchors> |
||
831 | <Anchor point="TOPLEFT"> |
||
832 | <Offset> |
||
833 | <AbsDimension y="-30" x="0"/> |
||
834 | </Offset> |
||
835 | </Anchor> |
||
836 | </Anchors> |
||
837 | <Frames> |
||
838 | <CheckButton name="$parentCheckButton" enableMouse="false"> |
||
839 | <Size> |
||
840 | <AbsDimension y="24" x="24"/> |
||
841 | </Size> |
||
842 | <Anchors> |
||
843 | <Anchor point="LEFT" relativePoint="RIGHT"> |
||
844 | <Offset> |
||
845 | <AbsDimension y="0" x="-5"/> |
||
846 | </Offset> |
||
847 | </Anchor> |
||
848 | </Anchors> |
||
849 | <Scripts> |
||
850 | <OnLoad> |
||
851 | this:RegisterForClicks(nil) |
||
852 | </OnLoad> |
||
853 | </Scripts> |
||
854 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/> |
||
855 | </CheckButton> |
||
856 | </Frames> |
||
857 | <Scripts> |
||
858 | <OnClick> |
||
859 | BEBOPTIONS.UseProfile() |
||
860 | </OnClick> |
||
861 | </Scripts> |
||
862 | </Button> |
||
863 | <Button name="$parentLoadButton" inherits="BEBProfileButtonTemplate"> |
||
864 | <Anchors> |
||
865 | <Anchor point="TOPLEFT"> |
||
866 | <Offset> |
||
867 | <AbsDimension y="-60" x="0"/> |
||
868 | </Offset> |
||
869 | </Anchor> |
||
870 | </Anchors> |
||
871 | <Scripts> |
||
872 | <OnClick> |
||
873 | BEBOPTIONS.LoadProfile() |
||
874 | </OnClick> |
||
875 | </Scripts> |
||
876 | </Button> |
||
877 | <Button name="$parentSaveButton" inherits="BEBProfileButtonTemplate"> |
||
878 | <Anchors> |
||
879 | <Anchor point="TOPLEFT"> |
||
880 | <Offset> |
||
881 | <AbsDimension y="-90" x="0"/> |
||
882 | </Offset> |
||
883 | </Anchor> |
||
884 | </Anchors> |
||
885 | <Scripts> |
||
886 | <OnClick> |
||
887 | BEBOPTIONS.SaveProfile() |
||
888 | </OnClick> |
||
889 | </Scripts> |
||
890 | </Button> |
||
891 | <Button name="$parentDeleteButton" inherits="BEBProfileButtonTemplate"> |
||
892 | <Anchors> |
||
893 | <Anchor point="TOPLEFT"> |
||
894 | <Offset> |
||
895 | <AbsDimension y="-120" x="0"/> |
||
896 | </Offset> |
||
897 | </Anchor> |
||
898 | </Anchors> |
||
899 | <Scripts> |
||
900 | <OnClick> |
||
901 | BEBOPTIONS.DeleteProfile() |
||
902 | </OnClick> |
||
903 | </Scripts> |
||
904 | </Button> |
||
905 | </Frames> |
||
906 | </Frame> |
||
907 | <Slider name="BEBOptionsHeightSlider" inherits="BEBOptionsSliderTemplate"> |
||
908 | <Anchors> |
||
909 | <Anchor point="TOPLEFT"> |
||
910 | <Offset> |
||
911 | <AbsDimension y="-215" x="15"/> |
||
912 | </Offset> |
||
913 | </Anchor> |
||
914 | </Anchors> |
||
915 | <Layers> |
||
916 | <Layer level="ARTWORK"> |
||
917 | <FontString name="$parent_Label" inherits="GameFontNormal"> |
||
918 | <Anchors> |
||
919 | <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"/> |
||
920 | </Anchors> |
||
921 | </FontString> |
||
922 | </Layer> |
||
923 | </Layers> |
||
924 | <Frames> |
||
925 | <EditBox multiLine="false" name="$parent_EditBox" inherits="InputBoxTemplate" letters="5" autoFocus="false"> |
||
926 | <Size> |
||
927 | <AbsDimension x="47" y="20"/> |
||
928 | </Size> |
||
929 | <Anchors> |
||
930 | <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT"> |
||
931 | <Offset> |
||
932 | <AbsDimension y="-4" x="8"/> |
||
933 | </Offset> |
||
934 | </Anchor> |
||
935 | </Anchors> |
||
936 | <Scripts> |
||
937 | <OnEditFocusGained> |
||
938 | this.prevvals = this:GetNumber() |
||
939 | </OnEditFocusGained> |
||
940 | <OnTextChanged> |
||
941 | BEBOPTIONS.SliderEditBox_OnValueChange() |
||
942 | </OnTextChanged> |
||
943 | <OnEnterPressed> |
||
944 | this:ClearFocus() |
||
945 | </OnEnterPressed> |
||
946 | <OnEscapePressed> |
||
947 | if (this.prevvals) then |
||
948 | this:SetText(this.prevvals) |
||
949 | end |
||
950 | this:ClearFocus() |
||
951 | </OnEscapePressed> |
||
952 | </Scripts> |
||
953 | </EditBox> |
||
954 | </Frames> |
||
955 | <Scripts> |
||
956 | <OnLoad> |
||
957 | this.whatindex = "size" |
||
958 | this.axisindex = "y" |
||
959 | this.label = "height" |
||
960 | </OnLoad> |
||
961 | <OnValueChanged> |
||
962 | BEBOPTIONS.SliderOnChange() |
||
963 | </OnValueChanged> |
||
964 | </Scripts> |
||
965 | </Slider> |
||
966 | <Slider name="BEBOptionsWidthSlider" inherits="BEBOptionsSliderTemplate"> |
||
967 | <Anchors> |
||
968 | <Anchor point="TOP" relativeTo="BEBOptionsHeightSlider" relativePoint="BOTTOM"> |
||
969 | <Offset> |
||
970 | <AbsDimension y="-30" x="0"/> |
||
971 | </Offset> |
||
972 | </Anchor> |
||
973 | </Anchors> |
||
974 | <Frames> |
||
975 | <EditBox multiLine="false" name="$parent_EditBox" inherits="InputBoxTemplate" letters="5" autoFocus="false"> |
||
976 | <Size> |
||
977 | <AbsDimension x="47" y="20"/> |
||
978 | </Size> |
||
979 | <Anchors> |
||
980 | <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT"> |
||
981 | <Offset> |
||
982 | <AbsDimension y="-4" x="8"/> |
||
983 | </Offset> |
||
984 | </Anchor> |
||
985 | </Anchors> |
||
986 | <Scripts> |
||
987 | <OnEditFocusGained> |
||
988 | this.prevvals = this:GetNumber() |
||
989 | </OnEditFocusGained> |
||
990 | <OnTextChanged> |
||
991 | BEBOPTIONS.SliderEditBox_OnValueChange() |
||
992 | </OnTextChanged> |
||
993 | <OnEnterPressed> |
||
994 | this:ClearFocus() |
||
995 | </OnEnterPressed> |
||
996 | <OnEscapePressed> |
||
997 | if (this.prevvals) then |
||
998 | this:SetText(this.prevvals) |
||
999 | end |
||
1000 | this:ClearFocus() |
||
1001 | </OnEscapePressed> |
||
1002 | </Scripts> |
||
1003 | </EditBox> |
||
1004 | </Frames> |
||
1005 | <Scripts> |
||
1006 | <OnLoad> |
||
1007 | this.whatindex = "size" |
||
1008 | this.axisindex = "x" |
||
1009 | this.label = "width" |
||
1010 | </OnLoad> |
||
1011 | <OnValueChanged> |
||
1012 | BEBOPTIONS.SliderOnChange() |
||
1013 | </OnValueChanged> |
||
1014 | </Scripts> |
||
1015 | <Layers> |
||
1016 | <Layer level="ARTWORK"> |
||
1017 | <FontString name="$parent_Label" inherits="GameFontNormal"> |
||
1018 | <Anchors> |
||
1019 | <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"/> |
||
1020 | </Anchors> |
||
1021 | </FontString> |
||
1022 | </Layer> |
||
1023 | </Layers> |
||
1024 | </Slider> |
||
1025 | <Slider name="BEBOptionsLevelSlider" inherits="BEBOptionsSliderTemplate"> |
||
1026 | <Anchors> |
||
1027 | <Anchor point="TOPLEFT"> |
||
1028 | <Offset> |
||
1029 | <AbsDimension y="-310" x="172"/> |
||
1030 | </Offset> |
||
1031 | </Anchor> |
||
1032 | </Anchors> |
||
1033 | <Frames> |
||
1034 | <EditBox multiLine="false" name="$parent_EditBox" inherits="InputBoxTemplate" letters="5" autoFocus="false"> |
||
1035 | <Size> |
||
1036 | <AbsDimension x="47" y="20"/> |
||
1037 | </Size> |
||
1038 | <Anchors> |
||
1039 | <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT"> |
||
1040 | <Offset> |
||
1041 | <AbsDimension y="-4" x="8"/> |
||
1042 | </Offset> |
||
1043 | </Anchor> |
||
1044 | </Anchors> |
||
1045 | <Scripts> |
||
1046 | <OnEditFocusGained> |
||
1047 | this.prevvals = this:GetNumber() |
||
1048 | </OnEditFocusGained> |
||
1049 | <OnTextChanged> |
||
1050 | BEBOPTIONS.LevelSliderEditBox_OnValueChange() |
||
1051 | </OnTextChanged> |
||
1052 | <OnEnterPressed> |
||
1053 | this:ClearFocus() |
||
1054 | </OnEnterPressed> |
||
1055 | <OnEscapePressed> |
||
1056 | if (this.prevvals) then |
||
1057 | this:SetText(this.prevvals) |
||
1058 | end |
||
1059 | this:ClearFocus() |
||
1060 | </OnEscapePressed> |
||
1061 | </Scripts> |
||
1062 | </EditBox> |
||
1063 | </Frames> |
||
1064 | <Scripts> |
||
1065 | <OnLoad> |
||
1066 | this.whatindex = "level" |
||
1067 | this.label = "level" |
||
1068 | </OnLoad> |
||
1069 | <OnValueChanged> |
||
1070 | BEBOPTIONS.LevelSliderOnChange() |
||
1071 | </OnValueChanged> |
||
1072 | </Scripts> |
||
1073 | <Layers> |
||
1074 | <Layer level="ARTWORK"> |
||
1075 | <FontString name="$parent_Label" inherits="GameFontNormal"> |
||
1076 | <Anchors> |
||
1077 | <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"/> |
||
1078 | </Anchors> |
||
1079 | </FontString> |
||
1080 | </Layer> |
||
1081 | </Layers> |
||
1082 | </Slider> |
||
1083 | <Button name="BEB_StrataDDMButton" inherits="BEBOptions_DMMButtonTemplate"> |
||
1084 | <Anchors> |
||
1085 | <Anchor point="TOPLEFT"> |
||
1086 | <Offset> |
||
1087 | <AbsDimension y="-305" x="35"/> |
||
1088 | </Offset> |
||
1089 | </Anchor> |
||
1090 | </Anchors> |
||
1091 | <Scripts> |
||
1092 | <OnLoad> |
||
1093 | this.func = "DDM_ReplaceText" |
||
1094 | this.table = "STRATAS" |
||
1095 | this.typeindex = "strata" |
||
1096 | </OnLoad> |
||
1097 | </Scripts> |
||
1098 | </Button> |
||
1099 | <Frame name="BEB_DropDownMenu" enableMouse="true" hidden="true" frameLevel="15"> |
||
1100 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
1101 | <EdgeSize> |
||
1102 | <AbsValue val="16"/> |
||
1103 | </EdgeSize> |
||
1104 | <TileSize> |
||
1105 | <AbsValue val="16"/> |
||
1106 | </TileSize> |
||
1107 | <BackgroundInsets> |
||
1108 | <AbsInset left="5" right="5" top="5" bottom="5"/> |
||
1109 | </BackgroundInsets> |
||
1110 | </Backdrop> |
||
1111 | <Frames> |
||
1112 | <Button name="$parent_Button1" id="1" inherits="BEB_MenuOptionTemplate"> |
||
1113 | <Anchors> |
||
1114 | <Anchor point="TOP"> |
||
1115 | <Offset> |
||
1116 | <AbsDimension y="-10" x="0"/> |
||
1117 | </Offset> |
||
1118 | </Anchor> |
||
1119 | </Anchors> |
||
1120 | </Button> |
||
1121 | <Button name="$parent_Button2" id="2" inherits="BEB_MenuOptionTemplate"> |
||
1122 | <Anchors> |
||
1123 | <Anchor point="TOP" relativeTo="$parent_Button1" relativePoint="BOTTOM"/> |
||
1124 | </Anchors> |
||
1125 | </Button> |
||
1126 | <Button name="$parent_Button3" id="3" inherits="BEB_MenuOptionTemplate"> |
||
1127 | <Anchors> |
||
1128 | <Anchor point="TOP" relativeTo="$parent_Button2" relativePoint="BOTTOM"/> |
||
1129 | </Anchors> |
||
1130 | </Button> |
||
1131 | <Button name="$parent_Button4" id="4" inherits="BEB_MenuOptionTemplate"> |
||
1132 | <Anchors> |
||
1133 | <Anchor point="TOP" relativeTo="$parent_Button3" relativePoint="BOTTOM"/> |
||
1134 | </Anchors> |
||
1135 | </Button> |
||
1136 | <Button name="$parent_Button5" id="5" inherits="BEB_MenuOptionTemplate"> |
||
1137 | <Anchors> |
||
1138 | <Anchor point="TOP" relativeTo="$parent_Button4" relativePoint="BOTTOM"/> |
||
1139 | </Anchors> |
||
1140 | </Button> |
||
1141 | <Button name="$parent_Button6" id="6" inherits="BEB_MenuOptionTemplate"> |
||
1142 | <Anchors> |
||
1143 | <Anchor point="TOP" relativeTo="$parent_Button5" relativePoint="BOTTOM"/> |
||
1144 | </Anchors> |
||
1145 | </Button> |
||
1146 | <Button name="$parent_Button7" id="7" inherits="BEB_MenuOptionTemplate"> |
||
1147 | <Anchors> |
||
1148 | <Anchor point="TOP" relativeTo="$parent_Button6" relativePoint="BOTTOM"/> |
||
1149 | </Anchors> |
||
1150 | </Button> |
||
1151 | <Button name="$parent_Button8" id="8" inherits="BEB_MenuOptionTemplate"> |
||
1152 | <Anchors> |
||
1153 | <Anchor point="TOP" relativeTo="$parent_Button7" relativePoint="BOTTOM"/> |
||
1154 | </Anchors> |
||
1155 | </Button> |
||
1156 | <Button name="$parent_Button9" id="9" inherits="BEB_MenuOptionTemplate"> |
||
1157 | <Anchors> |
||
1158 | <Anchor point="TOP" relativeTo="$parent_Button8" relativePoint="BOTTOM"/> |
||
1159 | </Anchors> |
||
1160 | </Button> |
||
1161 | <Button name="$parent_Button10" id="10" inherits="BEB_MenuOptionTemplate"> |
||
1162 | <Anchors> |
||
1163 | <Anchor point="TOP" relativeTo="$parent_Button9" relativePoint="BOTTOM"/> |
||
1164 | </Anchors> |
||
1165 | </Button> |
||
1166 | <Button name="$parent_Button11" id="11" inherits="BEB_MenuOptionTemplate"> |
||
1167 | <Anchors> |
||
1168 | <Anchor point="TOP" relativeTo="$parent_Button10" relativePoint="BOTTOM"/> |
||
1169 | </Anchors> |
||
1170 | </Button> |
||
1171 | <Button name="$parent_Button12" id="12" inherits="BEB_MenuOptionTemplate"> |
||
1172 | <Anchors> |
||
1173 | <Anchor point="TOP" relativeTo="$parent_Button11" relativePoint="BOTTOM"/> |
||
1174 | </Anchors> |
||
1175 | </Button> |
||
1176 | <Button name="$parent_Button13" id="13" inherits="BEB_MenuOptionTemplate"> |
||
1177 | <Anchors> |
||
1178 | <Anchor point="TOP" relativeTo="$parent_Button12" relativePoint="BOTTOM"/> |
||
1179 | </Anchors> |
||
1180 | </Button> |
||
1181 | <Button name="$parent_Button14" id="14" inherits="BEB_MenuOptionTemplate"> |
||
1182 | <Anchors> |
||
1183 | <Anchor point="TOP" relativeTo="$parent_Button13" relativePoint="BOTTOM"/> |
||
1184 | </Anchors> |
||
1185 | </Button> |
||
1186 | <Button name="$parent_Button15" id="15" inherits="BEB_MenuOptionTemplate"> |
||
1187 | <Anchors> |
||
1188 | <Anchor point="TOP" relativeTo="$parent_Button14" relativePoint="BOTTOM"/> |
||
1189 | </Anchors> |
||
1190 | </Button> |
||
1191 | <Button name="$parent_Button16" id="16" inherits="BEB_MenuOptionTemplate"> |
||
1192 | <Anchors> |
||
1193 | <Anchor point="TOP" relativeTo="$parent_Button15" relativePoint="BOTTOM"/> |
||
1194 | </Anchors> |
||
1195 | </Button> |
||
1196 | <Button name="$parent_Button17" id="17" inherits="BEB_MenuOptionTemplate"> |
||
1197 | <Anchors> |
||
1198 | <Anchor point="TOP" relativeTo="$parent_Button16" relativePoint="BOTTOM"/> |
||
1199 | </Anchors> |
||
1200 | </Button> |
||
1201 | <Button name="$parent_Button18" id="18" inherits="BEB_MenuOptionTemplate"> |
||
1202 | <Anchors> |
||
1203 | <Anchor point="TOP" relativeTo="$parent_Button17" relativePoint="BOTTOM"/> |
||
1204 | </Anchors> |
||
1205 | </Button> |
||
1206 | <Button name="$parent_Button19" id="19" inherits="BEB_MenuOptionTemplate"> |
||
1207 | <Anchors> |
||
1208 | <Anchor point="TOP" relativeTo="$parent_Button18" relativePoint="BOTTOM"/> |
||
1209 | </Anchors> |
||
1210 | </Button> |
||
1211 | <Button name="$parent_Button20" id="20" inherits="BEB_MenuOptionTemplate"> |
||
1212 | <Anchors> |
||
1213 | <Anchor point="TOP" relativeTo="$parent_Button19" relativePoint="BOTTOM"/> |
||
1214 | </Anchors> |
||
1215 | </Button> |
||
1216 | <Button name="$parent_Button21" id="21" inherits="BEB_MenuOptionTemplate"> |
||
1217 | <Anchors> |
||
1218 | <Anchor point="TOP" relativeTo="$parent_Button20" relativePoint="BOTTOM"/> |
||
1219 | </Anchors> |
||
1220 | </Button> |
||
1221 | <Button name="$parent_Button22" id="22" inherits="BEB_MenuOptionTemplate"> |
||
1222 | <Anchors> |
||
1223 | <Anchor point="TOP" relativeTo="$parent_Button21" relativePoint="BOTTOM"/> |
||
1224 | </Anchors> |
||
1225 | </Button> |
||
1226 | <Button name="$parent_Button23" id="23" inherits="BEB_MenuOptionTemplate"> |
||
1227 | <Anchors> |
||
1228 | <Anchor point="TOP" relativeTo="$parent_Button22" relativePoint="BOTTOM"/> |
||
1229 | </Anchors> |
||
1230 | </Button> |
||
1231 | <Button name="$parent_Button24" id="24" inherits="BEB_MenuOptionTemplate"> |
||
1232 | <Anchors> |
||
1233 | <Anchor point="TOP" relativeTo="$parent_Button23" relativePoint="BOTTOM"/> |
||
1234 | </Anchors> |
||
1235 | </Button> |
||
1236 | <Button name="$parent_Button25" id="25" inherits="BEB_MenuOptionTemplate"> |
||
1237 | <Anchors> |
||
1238 | <Anchor point="TOP" relativeTo="$parent_Button24" relativePoint="BOTTOM"/> |
||
1239 | </Anchors> |
||
1240 | </Button> |
||
1241 | <Button name="$parent_Button26" id="26" inherits="BEB_MenuOptionTemplate"> |
||
1242 | <Anchors> |
||
1243 | <Anchor point="TOP" relativeTo="$parent_Button25" relativePoint="BOTTOM"/> |
||
1244 | </Anchors> |
||
1245 | </Button> |
||
1246 | <Button name="$parent_Button27" id="27" inherits="BEB_MenuOptionTemplate"> |
||
1247 | <Anchors> |
||
1248 | <Anchor point="TOP" relativeTo="$parent_Button26" relativePoint="BOTTOM"/> |
||
1249 | </Anchors> |
||
1250 | </Button> |
||
1251 | <Button name="$parent_Button28" id="28" inherits="BEB_MenuOptionTemplate"> |
||
1252 | <Anchors> |
||
1253 | <Anchor point="TOP" relativeTo="$parent_Button27" relativePoint="BOTTOM"/> |
||
1254 | </Anchors> |
||
1255 | </Button> |
||
1256 | <Button name="$parent_Button29" id="29" inherits="BEB_MenuOptionTemplate"> |
||
1257 | <Anchors> |
||
1258 | <Anchor point="TOP" relativeTo="$parent_Button28" relativePoint="BOTTOM"/> |
||
1259 | </Anchors> |
||
1260 | </Button> |
||
1261 | <Button name="$parent_Button30" id="30" inherits="BEB_MenuOptionTemplate"> |
||
1262 | <Anchors> |
||
1263 | <Anchor point="TOP" relativeTo="$parent_Button29" relativePoint="BOTTOM"/> |
||
1264 | </Anchors> |
||
1265 | </Button> |
||
1266 | </Frames> |
||
1267 | <Scripts> |
||
1268 | <OnLoad> |
||
1269 | this.count = 30 |
||
1270 | </OnLoad> |
||
1271 | <OnEnter> |
||
1272 | this.timer = nil |
||
1273 | </OnEnter> |
||
1274 | <OnLeave> |
||
1275 | this.timer = 5 |
||
1276 | </OnLeave> |
||
1277 | <OnUpdate> |
||
1278 | BEBOPTIONS.DDM_OnUpdate(arg1) |
||
1279 | </OnUpdate> |
||
1280 | <OnHide> |
||
1281 | this.how = nil |
||
1282 | this.timer = nil |
||
1283 | </OnHide> |
||
1284 | </Scripts> |
||
1285 | </Frame> |
||
1286 | </Frames> |
||
1287 | <Scripts> |
||
1288 | <OnLoad> |
||
1289 | BEBOPTIONS.OnLoad() |
||
1290 | </OnLoad> |
||
1291 | <OnEvent> |
||
1292 | BEBOPTIONS.OnEvent(event) |
||
1293 | </OnEvent> |
||
1294 | <OnShow> |
||
1295 | BEBOPTIONS.OnShow() |
||
1296 | </OnShow> |
||
1297 | <OnMouseDown> |
||
1298 | BEBOPTIONS.OnMouseDown() |
||
1299 | </OnMouseDown> |
||
1300 | <OnMouseUp> |
||
1301 | BEBOPTIONS.OnMouseUp() |
||
1302 | </OnMouseUp> |
||
1303 | <OnHide> |
||
1304 | BEB_DropDownMenu:Hide() |
||
1305 | </OnHide> |
||
1306 | </Scripts> |
||
1307 | </Frame> |
||
1308 | <Button name="BEBOptions_ColorCopy" inherits="UIPanelButtonTemplate" hidden="false" parent="ColorPickerFrame"> |
||
1309 | <Size> |
||
1310 | <AbsDimension x="75" y="22"/> |
||
1311 | </Size> |
||
1312 | <Anchors> |
||
1313 | <Anchor point="BOTTOMLEFT" relativeTo="ColorPickerFrame" relativePoint="TOPLEFT"> |
||
1314 | <Offset> |
||
1315 | <AbsDimension x="0" y="-10"/> |
||
1316 | </Offset> |
||
1317 | </Anchor> |
||
1318 | </Anchors> |
||
1319 | <Scripts> |
||
1320 | <OnShow> |
||
1321 | if (DL_ColorCopy) then |
||
1322 | this:Hide() |
||
1323 | end |
||
1324 | </OnShow> |
||
1325 | <OnClick> |
||
1326 | local r, g, b = ColorPickerFrame:GetColorRGB(); |
||
1327 | if (ColorPickerFrame.hasOpacity) then |
||
1328 | local a = OpacitySliderFrame:GetValue(); |
||
1329 | BEBOPTIONS_SAVED_COLOR = {r=r, g=g, b=b, a=a}; |
||
1330 | else |
||
1331 | BEBOPTIONS_SAVED_COLOR = {r=r, g=g, b=b}; |
||
1332 | end |
||
1333 | </OnClick> |
||
1334 | </Scripts> |
||
1335 | </Button> |
||
1336 | <Button name="BEBOptions_ColorPaste" inherits="UIPanelButtonTemplate" hidden="false" parent="ColorPickerFrame"> |
||
1337 | <Size> |
||
1338 | <AbsDimension x="75" y="22"/> |
||
1339 | </Size> |
||
1340 | <Anchors> |
||
1341 | <Anchor point="BOTTOMRIGHT" relativeTo="ColorPickerFrame" relativePoint="TOPRIGHT"> |
||
1342 | <Offset> |
||
1343 | <AbsDimension x="0" y="-10"/> |
||
1344 | </Offset> |
||
1345 | </Anchor> |
||
1346 | </Anchors> |
||
1347 | <Scripts> |
||
1348 | <OnShow> |
||
1349 | if (DL_ColorCopy) then |
||
1350 | this:Hide() |
||
1351 | end |
||
1352 | </OnShow> |
||
1353 | <OnClick> |
||
1354 | if (BEBOPTIONS_SAVED_COLOR) then |
||
1355 | ColorPickerFrame:SetColorRGB(BEBOPTIONS_SAVED_COLOR.r, BEBOPTIONS_SAVED_COLOR.g, BEBOPTIONS_SAVED_COLOR.b); |
||
1356 | if (BEBOPTIONS_SAVED_COLOR.a) then |
||
1357 | OpacitySliderFrame:SetValue(BEBOPTIONS_SAVED_COLOR.a); |
||
1358 | end |
||
1359 | end |
||
1360 | </OnClick> |
||
1361 | </Scripts> |
||
1362 | </Button> |
||
1363 | </Ui> |