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 | |||
3 | <Script file="DUF_Options.lua"/> |
||
4 | |||
5 | <Button name="DUF_Options" inherits="DiscordLib_OptionsTemplate" hidden="true"> |
||
6 | <Size><AbsDimension x="575" y="630"/></Size> |
||
7 | <Frames> |
||
8 | <Button name="$parent_CloseButton" inherits="DiscordLib_CloseButtonTemplate"> |
||
9 | <Scripts> |
||
10 | <OnClick> |
||
11 | DUF_Options:Hide(); |
||
12 | </OnClick> |
||
13 | </Scripts> |
||
14 | </Button> |
||
15 | |||
16 | <Button name="$parent_Self" inherits="DUF_SelectButton2" hidden="false"> |
||
17 | <Anchors> |
||
18 | <Anchor point="TOPLEFT"> |
||
19 | <Offset><AbsDimension x="152" y="-15"/></Offset> |
||
20 | </Anchor> |
||
21 | </Anchors> |
||
22 | <Scripts> |
||
23 | <OnLoad> |
||
24 | DUF_SelectButton_OnLoad(); |
||
25 | this:SetText(DUF_TEXT.Self); |
||
26 | </OnLoad> |
||
27 | <OnClick> |
||
28 | DUF_SelectFrame_OnClick("player"); |
||
29 | </OnClick> |
||
30 | </Scripts> |
||
31 | </Button> |
||
32 | <Button name="$parent_Party" inherits="DUF_SelectButton2" hidden="false"> |
||
33 | <Anchors> |
||
34 | <Anchor point="LEFT" relativeTo="$parent_Self" relativePoint="RIGHT"> |
||
35 | <Offset><AbsDimension x="-1" y="0"/></Offset> |
||
36 | </Anchor> |
||
37 | </Anchors> |
||
38 | <Scripts> |
||
39 | <OnLoad> |
||
40 | DUF_SelectButton_OnLoad(); |
||
41 | this:SetText(DUF_TEXT.Party); |
||
42 | </OnLoad> |
||
43 | <OnClick> |
||
44 | DUF_SelectFrame_OnClick("party"); |
||
45 | </OnClick> |
||
46 | </Scripts> |
||
47 | </Button> |
||
48 | <Button name="$parent_Target" inherits="DUF_SelectButton2" hidden="false"> |
||
49 | <Anchors> |
||
50 | <Anchor point="LEFT" relativeTo="$parent_Party" relativePoint="RIGHT"> |
||
51 | <Offset><AbsDimension x="-1" y="0"/></Offset> |
||
52 | </Anchor> |
||
53 | </Anchors> |
||
54 | <Scripts> |
||
55 | <OnLoad> |
||
56 | DUF_SelectButton_OnLoad(); |
||
57 | this:SetText(DUF_TEXT.Target); |
||
58 | </OnLoad> |
||
59 | <OnClick> |
||
60 | DUF_SelectFrame_OnClick("target"); |
||
61 | </OnClick> |
||
62 | </Scripts> |
||
63 | </Button> |
||
64 | <Button name="$parent_Pet" inherits="DUF_SelectButton2" hidden="false"> |
||
65 | <Anchors> |
||
66 | <Anchor point="TOP" relativeTo="$parent_Self" relativePoint="BOTTOM"> |
||
67 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
68 | </Anchor> |
||
69 | </Anchors> |
||
70 | <Scripts> |
||
71 | <OnLoad> |
||
72 | DUF_SelectButton_OnLoad(); |
||
73 | this:SetText(DUF_TEXT.Pet); |
||
74 | </OnLoad> |
||
75 | <OnClick> |
||
76 | DUF_SelectFrame_OnClick("pet"); |
||
77 | </OnClick> |
||
78 | </Scripts> |
||
79 | </Button> |
||
80 | <Button name="$parent_PartyPets" inherits="DUF_SelectButton2" hidden="false"> |
||
81 | <Anchors> |
||
82 | <Anchor point="LEFT" relativeTo="$parent_Pet" relativePoint="RIGHT"> |
||
83 | <Offset><AbsDimension x="-1" y="0"/></Offset> |
||
84 | </Anchor> |
||
85 | </Anchors> |
||
86 | <Scripts> |
||
87 | <OnLoad> |
||
88 | DUF_SelectButton_OnLoad(); |
||
89 | this:SetText(DUF_TEXT.PartyPets); |
||
90 | </OnLoad> |
||
91 | <OnClick> |
||
92 | DUF_SelectFrame_OnClick("partypet"); |
||
93 | </OnClick> |
||
94 | </Scripts> |
||
95 | </Button> |
||
96 | <Button name="$parent_TargetOfTarget" inherits="DUF_SelectButton2" hidden="false"> |
||
97 | <Anchors> |
||
98 | <Anchor point="LEFT" relativeTo="$parent_PartyPets" relativePoint="RIGHT"> |
||
99 | <Offset><AbsDimension x="-1" y="0"/></Offset> |
||
100 | </Anchor> |
||
101 | </Anchors> |
||
102 | <Scripts> |
||
103 | <OnLoad> |
||
104 | DUF_SelectButton_OnLoad(); |
||
105 | this:SetText(DUF_TEXT.TargetOfTarget); |
||
106 | </OnLoad> |
||
107 | <OnClick> |
||
108 | DUF_SelectFrame_OnClick("targettarget"); |
||
109 | </OnClick> |
||
110 | </Scripts> |
||
111 | </Button> |
||
112 | |||
113 | <Button name="$parent_FrameOptions" inherits="DUF_SelectButton" hidden="false"> |
||
114 | <Anchors> |
||
115 | <Anchor point="TOPLEFT"> |
||
116 | <Offset><AbsDimension x="12" y="-55"/></Offset> |
||
117 | </Anchor> |
||
118 | </Anchors> |
||
119 | <Scripts> |
||
120 | <OnLoad> |
||
121 | DUF_SelectButton_OnLoad(); |
||
122 | this:SetText(DUF_TEXT.FrameOptions); |
||
123 | </OnLoad> |
||
124 | <OnClick> |
||
125 | DUF_SelectElement_OnClick(); |
||
126 | </OnClick> |
||
127 | </Scripts> |
||
128 | </Button> |
||
129 | <Button name="$parent_Buffs" inherits="DUF_SelectButton" hidden="false"> |
||
130 | <Anchors> |
||
131 | <Anchor point="TOP" relativeTo="$parent_FrameOptions" relativePoint="BOTTOM"> |
||
132 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
133 | </Anchor> |
||
134 | </Anchors> |
||
135 | <Scripts> |
||
136 | <OnLoad> |
||
137 | DUF_SelectButton_OnLoad(); |
||
138 | this:SetText(DUF_TEXT.BuffFrame); |
||
139 | </OnLoad> |
||
140 | <OnClick> |
||
141 | DUF_SelectElement_OnClick("Buffs"); |
||
142 | </OnClick> |
||
143 | </Scripts> |
||
144 | </Button> |
||
145 | <Button name="$parent_ClassIcon" inherits="DUF_SelectButton" hidden="false"> |
||
146 | <Anchors> |
||
147 | <Anchor point="TOP" relativeTo="$parent_Buffs" relativePoint="BOTTOM"> |
||
148 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
149 | </Anchor> |
||
150 | </Anchors> |
||
151 | <Scripts> |
||
152 | <OnLoad> |
||
153 | DUF_SelectButton_OnLoad(); |
||
154 | this:SetText(DUF_TEXT.ClassIcon); |
||
155 | </OnLoad> |
||
156 | <OnClick> |
||
157 | DUF_SelectElement_OnClick("ClassIcon"); |
||
158 | </OnClick> |
||
159 | </Scripts> |
||
160 | </Button> |
||
161 | <Button name="$parent_Debuffs" inherits="DUF_SelectButton" hidden="false"> |
||
162 | <Anchors> |
||
163 | <Anchor point="TOP" relativeTo="$parent_ClassIcon" relativePoint="BOTTOM"> |
||
164 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
165 | </Anchor> |
||
166 | </Anchors> |
||
167 | <Scripts> |
||
168 | <OnLoad> |
||
169 | DUF_SelectButton_OnLoad(); |
||
170 | this:SetText(DUF_TEXT.DebuffFrame); |
||
171 | </OnLoad> |
||
172 | <OnClick> |
||
173 | DUF_SelectElement_OnClick("Debuffs"); |
||
174 | </OnClick> |
||
175 | </Scripts> |
||
176 | </Button> |
||
177 | <Button name="$parent_HealthBar" inherits="DUF_SelectButton" hidden="false"> |
||
178 | <Anchors> |
||
179 | <Anchor point="TOP" relativeTo="$parent_Debuffs" relativePoint="BOTTOM"> |
||
180 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
181 | </Anchor> |
||
182 | </Anchors> |
||
183 | <Scripts> |
||
184 | <OnLoad> |
||
185 | DUF_SelectButton_OnLoad(); |
||
186 | this:SetText(DUF_TEXT.HealthBar); |
||
187 | </OnLoad> |
||
188 | <OnClick> |
||
189 | DUF_SelectElement_OnClick("StatusBar", 1); |
||
190 | </OnClick> |
||
191 | </Scripts> |
||
192 | </Button> |
||
193 | <Button name="$parent_LeaderIcon" inherits="DUF_SelectButton" hidden="false"> |
||
194 | <Anchors> |
||
195 | <Anchor point="TOP" relativeTo="$parent_HealthBar" relativePoint="BOTTOM"> |
||
196 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
197 | </Anchor> |
||
198 | </Anchors> |
||
199 | <Scripts> |
||
200 | <OnLoad> |
||
201 | DUF_SelectButton_OnLoad(); |
||
202 | this:SetText(DUF_TEXT.LeaderIcon); |
||
203 | </OnLoad> |
||
204 | <OnClick> |
||
205 | DUF_SelectElement_OnClick("LeaderIcon"); |
||
206 | </OnClick> |
||
207 | </Scripts> |
||
208 | </Button> |
||
209 | <Button name="$parent_LootIcon" inherits="DUF_SelectButton" hidden="false"> |
||
210 | <Anchors> |
||
211 | <Anchor point="TOP" relativeTo="$parent_LeaderIcon" relativePoint="BOTTOM"> |
||
212 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
213 | </Anchor> |
||
214 | </Anchors> |
||
215 | <Scripts> |
||
216 | <OnLoad> |
||
217 | DUF_SelectButton_OnLoad(); |
||
218 | this:SetText(DUF_TEXT.LootIcon); |
||
219 | </OnLoad> |
||
220 | <OnClick> |
||
221 | DUF_SelectElement_OnClick("LootIcon"); |
||
222 | </OnClick> |
||
223 | </Scripts> |
||
224 | </Button> |
||
225 | <Button name="$parent_ManaBar" inherits="DUF_SelectButton" hidden="false"> |
||
226 | <Anchors> |
||
227 | <Anchor point="TOP" relativeTo="$parent_LootIcon" relativePoint="BOTTOM"> |
||
228 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
229 | </Anchor> |
||
230 | </Anchors> |
||
231 | <Scripts> |
||
232 | <OnLoad> |
||
233 | DUF_SelectButton_OnLoad(); |
||
234 | this:SetText(DUF_TEXT.ManaBar); |
||
235 | </OnLoad> |
||
236 | <OnClick> |
||
237 | DUF_SelectElement_OnClick("StatusBar", 2); |
||
238 | </OnClick> |
||
239 | </Scripts> |
||
240 | </Button> |
||
241 | <Button name="$parent_Portrait" inherits="DUF_SelectButton" hidden="false"> |
||
242 | <Anchors> |
||
243 | <Anchor point="TOP" relativeTo="$parent_ManaBar" relativePoint="BOTTOM"> |
||
244 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
245 | </Anchor> |
||
246 | </Anchors> |
||
247 | <Scripts> |
||
248 | <OnLoad> |
||
249 | DUF_SelectButton_OnLoad(); |
||
250 | this:SetText(DUF_TEXT.Portrait); |
||
251 | </OnLoad> |
||
252 | <OnClick> |
||
253 | DUF_SelectElement_OnClick("Portrait"); |
||
254 | </OnClick> |
||
255 | </Scripts> |
||
256 | </Button> |
||
257 | <Button name="$parent_PVPIcon" inherits="DUF_SelectButton" hidden="false"> |
||
258 | <Anchors> |
||
259 | <Anchor point="TOP" relativeTo="$parent_Portrait" relativePoint="BOTTOM"> |
||
260 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
261 | </Anchor> |
||
262 | </Anchors> |
||
263 | <Scripts> |
||
264 | <OnLoad> |
||
265 | DUF_SelectButton_OnLoad(); |
||
266 | this:SetText(DUF_TEXT.PVPIcon); |
||
267 | </OnLoad> |
||
268 | <OnClick> |
||
269 | DUF_SelectElement_OnClick("PVPIcon"); |
||
270 | </OnClick> |
||
271 | </Scripts> |
||
272 | </Button> |
||
273 | <Button name="$parent_RaceIcon" inherits="DUF_SelectButton" hidden="false"> |
||
274 | <Anchors> |
||
275 | <Anchor point="TOP" relativeTo="$parent_PVPIcon" relativePoint="BOTTOM"> |
||
276 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
277 | </Anchor> |
||
278 | </Anchors> |
||
279 | <Scripts> |
||
280 | <OnLoad> |
||
281 | DUF_SelectButton_OnLoad(); |
||
282 | this:SetText(DUF_TEXT.RaceIcon); |
||
283 | </OnLoad> |
||
284 | <OnClick> |
||
285 | DUF_SelectElement_OnClick("RaceIcon"); |
||
286 | </OnClick> |
||
287 | </Scripts> |
||
288 | </Button> |
||
289 | <Button name="$parent_RankIcon" inherits="DUF_SelectButton" hidden="false"> |
||
290 | <Anchors> |
||
291 | <Anchor point="TOP" relativeTo="$parent_RaceIcon" relativePoint="BOTTOM"> |
||
292 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
293 | </Anchor> |
||
294 | </Anchors> |
||
295 | <Scripts> |
||
296 | <OnLoad> |
||
297 | DUF_SelectButton_OnLoad(); |
||
298 | this:SetText(DUF_TEXT.RankIcon); |
||
299 | </OnLoad> |
||
300 | <OnClick> |
||
301 | DUF_SelectElement_OnClick("RankIcon"); |
||
302 | </OnClick> |
||
303 | </Scripts> |
||
304 | </Button> |
||
305 | <Button name="$parent_StatusIcon" inherits="DUF_SelectButton" hidden="false"> |
||
306 | <Anchors> |
||
307 | <Anchor point="TOP" relativeTo="$parent_RankIcon" relativePoint="BOTTOM"> |
||
308 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
309 | </Anchor> |
||
310 | </Anchors> |
||
311 | <Scripts> |
||
312 | <OnLoad> |
||
313 | DUF_SelectButton_OnLoad(); |
||
314 | this:SetText(DUF_TEXT.StatusIcon); |
||
315 | </OnLoad> |
||
316 | <OnClick> |
||
317 | DUF_SelectElement_OnClick("StatusIcon"); |
||
318 | </OnClick> |
||
319 | </Scripts> |
||
320 | </Button> |
||
321 | <Button name="$parent_TargetHealthBar" inherits="DUF_SelectButton" hidden="false"> |
||
322 | <Anchors> |
||
323 | <Anchor point="TOP" relativeTo="$parent_StatusIcon" relativePoint="BOTTOM"> |
||
324 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
325 | </Anchor> |
||
326 | </Anchors> |
||
327 | <Scripts> |
||
328 | <OnLoad> |
||
329 | DUF_SelectButton_OnLoad(); |
||
330 | this:SetText(DUF_TEXT.TargetHealthBar); |
||
331 | </OnLoad> |
||
332 | <OnClick> |
||
333 | DUF_SelectElement_OnClick("StatusBar", 4); |
||
334 | </OnClick> |
||
335 | </Scripts> |
||
336 | </Button> |
||
337 | <Button name="$parent_TargetManaBar" inherits="DUF_SelectButton" hidden="false"> |
||
338 | <Anchors> |
||
339 | <Anchor point="TOP" relativeTo="$parent_TargetHealthBar" relativePoint="BOTTOM"> |
||
340 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
341 | </Anchor> |
||
342 | </Anchors> |
||
343 | <Scripts> |
||
344 | <OnLoad> |
||
345 | DUF_SelectButton_OnLoad(); |
||
346 | this:SetText(DUF_TEXT.TargetManaBar); |
||
347 | </OnLoad> |
||
348 | <OnClick> |
||
349 | DUF_SelectElement_OnClick("StatusBar", 5); |
||
350 | </OnClick> |
||
351 | </Scripts> |
||
352 | </Button> |
||
353 | <Button name="$parent_TextBox1" inherits="DUF_SelectButton" hidden="false"> |
||
354 | <Anchors> |
||
355 | <Anchor point="TOP" relativeTo="$parent_TargetManaBar" relativePoint="BOTTOM"> |
||
356 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
357 | </Anchor> |
||
358 | </Anchors> |
||
359 | <Scripts> |
||
360 | <OnLoad> |
||
361 | DUF_SelectButton_OnLoad(); |
||
362 | this:SetText(DUF_TEXT.TextBox1); |
||
363 | </OnLoad> |
||
364 | <OnClick> |
||
365 | DUF_SelectElement_OnClick("TextBox", 1); |
||
366 | </OnClick> |
||
367 | </Scripts> |
||
368 | </Button> |
||
369 | <Button name="$parent_TextBox2" inherits="DUF_SelectButton" hidden="false"> |
||
370 | <Anchors> |
||
371 | <Anchor point="TOP" relativeTo="$parent_TextBox1" relativePoint="BOTTOM"> |
||
372 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
373 | </Anchor> |
||
374 | </Anchors> |
||
375 | <Scripts> |
||
376 | <OnLoad> |
||
377 | DUF_SelectButton_OnLoad(); |
||
378 | this:SetText(DUF_TEXT.TextBox2); |
||
379 | </OnLoad> |
||
380 | <OnClick> |
||
381 | DUF_SelectElement_OnClick("TextBox", 2); |
||
382 | </OnClick> |
||
383 | </Scripts> |
||
384 | </Button> |
||
385 | <Button name="$parent_TextBox3" inherits="DUF_SelectButton" hidden="false"> |
||
386 | <Anchors> |
||
387 | <Anchor point="TOP" relativeTo="$parent_TextBox2" relativePoint="BOTTOM"> |
||
388 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
389 | </Anchor> |
||
390 | </Anchors> |
||
391 | <Scripts> |
||
392 | <OnLoad> |
||
393 | DUF_SelectButton_OnLoad(); |
||
394 | this:SetText(DUF_TEXT.TextBox3); |
||
395 | </OnLoad> |
||
396 | <OnClick> |
||
397 | DUF_SelectElement_OnClick("TextBox", 3); |
||
398 | </OnClick> |
||
399 | </Scripts> |
||
400 | </Button> |
||
401 | <Button name="$parent_TextBox4" inherits="DUF_SelectButton" hidden="false"> |
||
402 | <Anchors> |
||
403 | <Anchor point="TOP" relativeTo="$parent_TextBox3" relativePoint="BOTTOM"> |
||
404 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
405 | </Anchor> |
||
406 | </Anchors> |
||
407 | <Scripts> |
||
408 | <OnLoad> |
||
409 | DUF_SelectButton_OnLoad(); |
||
410 | this:SetText(DUF_TEXT.TextBox4); |
||
411 | </OnLoad> |
||
412 | <OnClick> |
||
413 | DUF_SelectElement_OnClick("TextBox", 4); |
||
414 | </OnClick> |
||
415 | </Scripts> |
||
416 | </Button> |
||
417 | <Button name="$parent_TextBox5" inherits="DUF_SelectButton" hidden="false"> |
||
418 | <Anchors> |
||
419 | <Anchor point="TOP" relativeTo="$parent_TextBox4" relativePoint="BOTTOM"> |
||
420 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
421 | </Anchor> |
||
422 | </Anchors> |
||
423 | <Scripts> |
||
424 | <OnLoad> |
||
425 | DUF_SelectButton_OnLoad(); |
||
426 | this:SetText(DUF_TEXT.TextBox5); |
||
427 | </OnLoad> |
||
428 | <OnClick> |
||
429 | DUF_SelectElement_OnClick("TextBox", 5); |
||
430 | </OnClick> |
||
431 | </Scripts> |
||
432 | </Button> |
||
433 | <Button name="$parent_TextBox6" inherits="DUF_SelectButton" hidden="false"> |
||
434 | <Anchors> |
||
435 | <Anchor point="TOP" relativeTo="$parent_TextBox5" relativePoint="BOTTOM"> |
||
436 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
437 | </Anchor> |
||
438 | </Anchors> |
||
439 | <Scripts> |
||
440 | <OnLoad> |
||
441 | DUF_SelectButton_OnLoad(); |
||
442 | this:SetText(DUF_TEXT.TextBox6); |
||
443 | </OnLoad> |
||
444 | <OnClick> |
||
445 | DUF_SelectElement_OnClick("TextBox", 6); |
||
446 | </OnClick> |
||
447 | </Scripts> |
||
448 | </Button> |
||
449 | <Button name="$parent_TextBox7" inherits="DUF_SelectButton" hidden="false"> |
||
450 | <Anchors> |
||
451 | <Anchor point="TOP" relativeTo="$parent_TextBox6" relativePoint="BOTTOM"> |
||
452 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
453 | </Anchor> |
||
454 | </Anchors> |
||
455 | <Scripts> |
||
456 | <OnLoad> |
||
457 | DUF_SelectButton_OnLoad(); |
||
458 | this:SetText(DUF_TEXT.TextBox7); |
||
459 | </OnLoad> |
||
460 | <OnClick> |
||
461 | DUF_SelectElement_OnClick("TextBox", 7); |
||
462 | </OnClick> |
||
463 | </Scripts> |
||
464 | </Button> |
||
465 | <Button name="$parent_TextBox8" inherits="DUF_SelectButton" hidden="false"> |
||
466 | <Anchors> |
||
467 | <Anchor point="TOP" relativeTo="$parent_TextBox7" relativePoint="BOTTOM"> |
||
468 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
469 | </Anchor> |
||
470 | </Anchors> |
||
471 | <Scripts> |
||
472 | <OnLoad> |
||
473 | DUF_SelectButton_OnLoad(); |
||
474 | this:SetText(DUF_TEXT.TextBox8); |
||
475 | </OnLoad> |
||
476 | <OnClick> |
||
477 | DUF_SelectElement_OnClick("TextBox", 8); |
||
478 | </OnClick> |
||
479 | </Scripts> |
||
480 | </Button> |
||
481 | <Button name="$parent_TextBox9" inherits="DUF_SelectButton" hidden="false"> |
||
482 | <Anchors> |
||
483 | <Anchor point="TOP" relativeTo="$parent_TextBox8" relativePoint="BOTTOM"> |
||
484 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
485 | </Anchor> |
||
486 | </Anchors> |
||
487 | <Scripts> |
||
488 | <OnLoad> |
||
489 | DUF_SelectButton_OnLoad(); |
||
490 | this:SetText(DUF_TEXT.TextBox9); |
||
491 | </OnLoad> |
||
492 | <OnClick> |
||
493 | DUF_SelectElement_OnClick("TextBox", 9); |
||
494 | </OnClick> |
||
495 | </Scripts> |
||
496 | </Button> |
||
497 | <Button name="$parent_TextBox10" inherits="DUF_SelectButton" hidden="false"> |
||
498 | <Anchors> |
||
499 | <Anchor point="TOP" relativeTo="$parent_TextBox9" relativePoint="BOTTOM"> |
||
500 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
501 | </Anchor> |
||
502 | </Anchors> |
||
503 | <Scripts> |
||
504 | <OnLoad> |
||
505 | DUF_SelectButton_OnLoad(); |
||
506 | this:SetText(DUF_TEXT.TextBox10); |
||
507 | </OnLoad> |
||
508 | <OnClick> |
||
509 | DUF_SelectElement_OnClick("TextBox", 10); |
||
510 | </OnClick> |
||
511 | </Scripts> |
||
512 | </Button> |
||
513 | |||
514 | <Button name="$parent_XPBar" inherits="DUF_SelectButton" hidden="true"> |
||
515 | <Anchors> |
||
516 | <Anchor point="TOP" relativeTo="$parent_TextBox10" relativePoint="BOTTOM"> |
||
517 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
518 | </Anchor> |
||
519 | </Anchors> |
||
520 | <Scripts> |
||
521 | <OnLoad> |
||
522 | DUF_SelectButton_OnLoad(); |
||
523 | this:SetText(DUF_TEXT.XPBar); |
||
524 | </OnLoad> |
||
525 | <OnClick> |
||
526 | DUF_SelectElement_OnClick("StatusBar", 3); |
||
527 | </OnClick> |
||
528 | </Scripts> |
||
529 | </Button> |
||
530 | <Button name="$parent_HonorBar" inherits="DUF_SelectButton" hidden="true"> |
||
531 | <Anchors> |
||
532 | <Anchor point="TOP" relativeTo="$parent_XPBar" relativePoint="BOTTOM"> |
||
533 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
534 | </Anchor> |
||
535 | </Anchors> |
||
536 | <Scripts> |
||
537 | <OnLoad> |
||
538 | DUF_SelectButton_OnLoad(); |
||
539 | this:SetText(DUF_TEXT.HonorBar); |
||
540 | </OnLoad> |
||
541 | <OnClick> |
||
542 | DUF_SelectElement_OnClick("StatusBar", 6); |
||
543 | </OnClick> |
||
544 | </Scripts> |
||
545 | </Button> |
||
546 | <Button name="$parent_HappinessIcon" inherits="DUF_SelectButton" hidden="true"> |
||
547 | <Anchors> |
||
548 | <Anchor point="TOP" relativeTo="$parent_XPBar" relativePoint="BOTTOM"> |
||
549 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
550 | </Anchor> |
||
551 | </Anchors> |
||
552 | <Scripts> |
||
553 | <OnLoad> |
||
554 | DUF_SelectButton_OnLoad(); |
||
555 | this:SetText(DUF_TEXT.HappinessIcon); |
||
556 | </OnLoad> |
||
557 | <OnClick> |
||
558 | DUF_SelectElement_OnClick("HappinessIcon"); |
||
559 | </OnClick> |
||
560 | </Scripts> |
||
561 | </Button> |
||
562 | <Button name="$parent_ComboPoints" inherits="DUF_SelectButton" hidden="true"> |
||
563 | <Anchors> |
||
564 | <Anchor point="TOP" relativeTo="$parent_TextBox10" relativePoint="BOTTOM"> |
||
565 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
566 | </Anchor> |
||
567 | </Anchors> |
||
568 | <Scripts> |
||
569 | <OnLoad> |
||
570 | DUF_SelectButton_OnLoad(); |
||
571 | this:SetText(DUF_TEXT.ComboPoints); |
||
572 | </OnLoad> |
||
573 | <OnClick> |
||
574 | DUF_SelectElement_OnClick("ComboPoints"); |
||
575 | </OnClick> |
||
576 | </Scripts> |
||
577 | </Button> |
||
578 | <Button name="$parent_EliteTexture" inherits="DUF_SelectButton" hidden="true"> |
||
579 | <Anchors> |
||
580 | <Anchor point="TOP" relativeTo="$parent_ComboPoints" relativePoint="BOTTOM"> |
||
581 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
582 | </Anchor> |
||
583 | </Anchors> |
||
584 | <Scripts> |
||
585 | <OnLoad> |
||
586 | DUF_SelectButton_OnLoad(); |
||
587 | this:SetText(DUF_TEXT.EliteTexture); |
||
588 | </OnLoad> |
||
589 | <OnClick> |
||
590 | DUF_SelectElement_OnClick("EliteTexture"); |
||
591 | </OnClick> |
||
592 | </Scripts> |
||
593 | </Button> |
||
594 | |||
595 | <Button name="$parent_MiscOptions" inherits="DUF_MainMenuButton"> |
||
596 | <Anchors> |
||
597 | <Anchor point="TOP" relativeTo="$parent_HappinessIcon" relativePoint="BOTTOM"> |
||
598 | <Offset><AbsDimension x="0" y="-10"/></Offset> |
||
599 | </Anchor> |
||
600 | </Anchors> |
||
601 | <Scripts> |
||
602 | <OnLoad> |
||
603 | this:SetText(DUF_TEXT.MiscOptions); |
||
604 | </OnLoad> |
||
605 | <OnClick> |
||
606 | DUF_Show_MiscOptions(); |
||
607 | </OnClick> |
||
608 | </Scripts> |
||
609 | </Button> |
||
610 | |||
611 | <Button name="$parent_ContextColors" inherits="DUF_MainMenuButton"> |
||
612 | <Anchors> |
||
613 | <Anchor point="TOP" relativeTo="$parent_MiscOptions" relativePoint="BOTTOM"> |
||
614 | <Offset><AbsDimension x="0" y="-5"/></Offset> |
||
615 | </Anchor> |
||
616 | </Anchors> |
||
617 | <Scripts> |
||
618 | <OnLoad> |
||
619 | this:SetText(DUF_TEXT.ContextColors); |
||
620 | </OnLoad> |
||
621 | <OnClick> |
||
622 | DUF_Show_ContextColors(); |
||
623 | </OnClick> |
||
624 | </Scripts> |
||
625 | </Button> |
||
626 | |||
627 | <Button name="$parent_ToggleElements" inherits="DUF_MainMenuButton"> |
||
628 | <Anchors> |
||
629 | <Anchor point="TOP" relativeTo="$parent_ContextColors" relativePoint="BOTTOM"> |
||
630 | <Offset><AbsDimension x="0" y="-5"/></Offset> |
||
631 | </Anchor> |
||
632 | </Anchors> |
||
633 | <Scripts> |
||
634 | <OnLoad> |
||
635 | this:SetText(DUF_TEXT.UnlockElements); |
||
636 | </OnLoad> |
||
637 | <OnClick> |
||
638 | DUF_Toggle_ElementsLock(); |
||
639 | </OnClick> |
||
640 | </Scripts> |
||
641 | </Button> |
||
642 | <Button name="$parent_ToggleFrames" inherits="DUF_MainMenuButton"> |
||
643 | <Anchors> |
||
644 | <Anchor point="TOP" relativeTo="$parent_ToggleElements" relativePoint="BOTTOM"> |
||
645 | <Offset><AbsDimension x="0" y="3"/></Offset> |
||
646 | </Anchor> |
||
647 | </Anchors> |
||
648 | <Scripts> |
||
649 | <OnLoad> |
||
650 | this:SetText(DUF_TEXT.UnlockFrames); |
||
651 | </OnLoad> |
||
652 | <OnClick> |
||
653 | DUF_Toggle_FramesLock(); |
||
654 | </OnClick> |
||
655 | </Scripts> |
||
656 | </Button> |
||
657 | </Frames> |
||
658 | <Scripts> |
||
659 | <OnHide> |
||
660 | DUF_Options_OnHide(); |
||
661 | </OnHide> |
||
662 | <OnShow> |
||
663 | DUF_Options_OnShow(); |
||
664 | </OnShow> |
||
665 | <OnUpdate> |
||
666 | DUF_Options_OnUpdate(); |
||
667 | </OnUpdate> |
||
668 | </Scripts> |
||
669 | </Button> |
||
670 | |||
671 | <Frame name="DUF_ElementOptions" inherits="DUF_ElementOptionsTemplate" parent="DUF_Options" hidden="true"> |
||
672 | <Frames> |
||
673 | <Button name="$parent_BaseSelect" inherits="DUF_SelectButton3" hidden="false"> |
||
674 | <Anchors> |
||
675 | <Anchor point="TOPLEFT"> |
||
676 | <Offset><AbsDimension x="70" y="-10"/></Offset> |
||
677 | </Anchor> |
||
678 | </Anchors> |
||
679 | <Scripts> |
||
680 | <OnLoad> |
||
681 | DUF_SelectButton_OnLoad(); |
||
682 | this:SetText(DUF_TEXT.Base); |
||
683 | </OnLoad> |
||
684 | <OnClick> |
||
685 | DUF_OptionsSelect_OnClick(); |
||
686 | DUF_ElementOptions_Base:Show(); |
||
687 | if (DUF_SPECIAL_OPTIONS) then |
||
688 | getglobal(DUF_SPECIAL_OPTIONS):Hide(); |
||
689 | end |
||
690 | </OnClick> |
||
691 | </Scripts> |
||
692 | </Button> |
||
693 | <Button name="$parent_SpecialSelect" inherits="DUF_SelectButton3" hidden="false"> |
||
694 | <Anchors> |
||
695 | <Anchor point="LEFT" relativeTo="$parent_BaseSelect" relativePoint="RIGHT"> |
||
696 | <Offset><AbsDimension x="-1" y="0"/></Offset> |
||
697 | </Anchor> |
||
698 | </Anchors> |
||
699 | <Scripts> |
||
700 | <OnLoad> |
||
701 | DUF_SelectButton_OnLoad(); |
||
702 | this:SetText(DUF_TEXT.Special); |
||
703 | </OnLoad> |
||
704 | <OnClick> |
||
705 | DUF_OptionsSelect_OnClick(); |
||
706 | DUF_ElementOptions_Base:Hide(); |
||
707 | if (DUF_SPECIAL_OPTIONS) then |
||
708 | getglobal(DUF_SPECIAL_OPTIONS):Show(); |
||
709 | end |
||
710 | </OnClick> |
||
711 | </Scripts> |
||
712 | </Button> |
||
713 | </Frames> |
||
714 | </Frame> |
||
715 | |||
716 | <Frame name="DUF_ElementOptions_Base" parent="DUF_ElementOptions" frameStrata="HIGH" hidden="false"> |
||
717 | <Size><AbsDimension x="10" y="10"/></Size> |
||
718 | <Anchors> |
||
719 | <Anchor point="TOPLEFT"/> |
||
720 | </Anchors> |
||
721 | <Frames> |
||
722 | <Button name="$parent_NudgeUp" inherits="DUF_MainMenuButton"> |
||
723 | <Size><AbsDimension x="24" y="24"/></Size> |
||
724 | <Anchors> |
||
725 | <Anchor point="TOPLEFT"> |
||
726 | <Offset><AbsDimension x="330" y="-60"/></Offset> |
||
727 | </Anchor> |
||
728 | </Anchors> |
||
729 | <Scripts> |
||
730 | <OnLoad> |
||
731 | this:SetText("^"); |
||
732 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp", "MiddleButtonUp"); |
||
733 | this.func = DUF_Nudge_Up; |
||
734 | </OnLoad> |
||
735 | <OnMouseDown> |
||
736 | if (arg1 == "MiddleButton") then |
||
737 | this.moving = true; |
||
738 | end |
||
739 | </OnMouseDown> |
||
740 | <OnMouseUp> |
||
741 | if (arg1 == "MiddleButton") then |
||
742 | this.moving = nil; |
||
743 | else |
||
744 | DUF_Nudge_Up(arg1); |
||
745 | end |
||
746 | </OnMouseUp> |
||
747 | <OnUpdate> |
||
748 | DUF_Nudge_OnUpdate(arg1); |
||
749 | </OnUpdate> |
||
750 | </Scripts> |
||
751 | </Button> |
||
752 | <Button name="$parent_NudgeDown" inherits="DUF_MainMenuButton"> |
||
753 | <Size><AbsDimension x="24" y="24"/></Size> |
||
754 | <Anchors> |
||
755 | <Anchor point="TOP" relativeTo="$parent_NudgeUp" relativePoint="BOTTOM"> |
||
756 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
757 | </Anchor> |
||
758 | </Anchors> |
||
759 | <Scripts> |
||
760 | <OnLoad> |
||
761 | this:SetText("v"); |
||
762 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp", "MiddleButtonUp"); |
||
763 | this.func = DUF_Nudge_Down; |
||
764 | </OnLoad> |
||
765 | <OnMouseDown> |
||
766 | if (arg1 == "MiddleButton") then |
||
767 | this.moving = true; |
||
768 | end |
||
769 | </OnMouseDown> |
||
770 | <OnMouseUp> |
||
771 | if (arg1 == "MiddleButton") then |
||
772 | this.moving = nil; |
||
773 | else |
||
774 | DUF_Nudge_Down(arg1); |
||
775 | end |
||
776 | </OnMouseUp> |
||
777 | <OnUpdate> |
||
778 | DUF_Nudge_OnUpdate(arg1); |
||
779 | </OnUpdate> |
||
780 | </Scripts> |
||
781 | </Button> |
||
782 | <Button name="$parent_NudgeLeft" inherits="DUF_MainMenuButton"> |
||
783 | <Size><AbsDimension x="24" y="24"/></Size> |
||
784 | <Anchors> |
||
785 | <Anchor point="TOPRIGHT" relativeTo="$parent_NudgeUp" relativePoint="LEFT"> |
||
786 | <Offset><AbsDimension x="2" y="0"/></Offset> |
||
787 | </Anchor> |
||
788 | </Anchors> |
||
789 | <Scripts> |
||
790 | <OnLoad> |
||
791 | this:SetText(DUF_ARROW_LEFT); |
||
792 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp", "MiddleButtonUp"); |
||
793 | this.func = DUF_Nudge_Left; |
||
794 | </OnLoad> |
||
795 | <OnMouseDown> |
||
796 | if (arg1 == "MiddleButton") then |
||
797 | this.moving = true; |
||
798 | end |
||
799 | </OnMouseDown> |
||
800 | <OnMouseUp> |
||
801 | if (arg1 == "MiddleButton") then |
||
802 | this.moving = nil; |
||
803 | else |
||
804 | DUF_Nudge_Left(arg1); |
||
805 | end |
||
806 | </OnMouseUp> |
||
807 | <OnUpdate> |
||
808 | DUF_Nudge_OnUpdate(arg1); |
||
809 | </OnUpdate> |
||
810 | </Scripts> |
||
811 | </Button> |
||
812 | <Button name="$parent_NudgeRight" inherits="DUF_MainMenuButton"> |
||
813 | <Size><AbsDimension x="24" y="24"/></Size> |
||
814 | <Anchors> |
||
815 | <Anchor point="TOPLEFT" relativeTo="$parent_NudgeUp" relativePoint="RIGHT"> |
||
816 | <Offset><AbsDimension x="-2" y="0"/></Offset> |
||
817 | </Anchor> |
||
818 | </Anchors> |
||
819 | <Scripts> |
||
820 | <OnLoad> |
||
821 | this:SetText(DUF_ARROW_RIGHT); |
||
822 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp", "MiddleButtonUp"); |
||
823 | this.func = DUF_Nudge_Right; |
||
824 | </OnLoad> |
||
825 | <OnMouseDown> |
||
826 | if (arg1 == "MiddleButton") then |
||
827 | this.moving = true; |
||
828 | end |
||
829 | </OnMouseDown> |
||
830 | <OnMouseUp> |
||
831 | if (arg1 == "MiddleButton") then |
||
832 | this.moving = nil; |
||
833 | else |
||
834 | DUF_Nudge_Right(arg1); |
||
835 | end |
||
836 | </OnMouseUp> |
||
837 | <OnUpdate> |
||
838 | DUF_Nudge_OnUpdate(arg1); |
||
839 | </OnUpdate> |
||
840 | </Scripts> |
||
841 | </Button> |
||
842 | <Frame name="$parent_NudgeLabel"> |
||
843 | <Size><AbsDimension x="10" y="20"/></Size> |
||
844 | <Anchors> |
||
845 | <Anchor point="BOTTOM" relativeTo="$parent_NudgeUp" relativePoint="TOP"/> |
||
846 | </Anchors> |
||
847 | <Layers> |
||
848 | <Layer level="ARTWORK"> |
||
849 | <FontString name="$parent_Label" inherits="GameFontNormal" text="DUF_NUDGE"> |
||
850 | <Color r=".8" g=".8" b="0"/> |
||
851 | <Anchors> |
||
852 | <Anchor point="CENTER"/> |
||
853 | </Anchors> |
||
854 | </FontString> |
||
855 | </Layer> |
||
856 | </Layers> |
||
857 | </Frame> |
||
858 | |||
859 | <EditBox name="$parent_XOffset" inherits="DUF_EditBoxTemplate"> |
||
860 | <Size><AbsDimension x="75" y="20"/></Size> |
||
861 | <Anchors> |
||
862 | <Anchor point="TOP" relativeTo="$parent_NudgeDown" relativePoint="BOTTOM"> |
||
863 | <Offset><AbsDimension x="10" y="-20"/></Offset> |
||
864 | </Anchor> |
||
865 | </Anchors> |
||
866 | <Scripts> |
||
867 | <OnLoad> |
||
868 | this.index = "xoffset"; |
||
869 | this.number = true; |
||
870 | DL_Set_Label("X:"); |
||
871 | </OnLoad> |
||
872 | </Scripts> |
||
873 | </EditBox> |
||
874 | <EditBox name="$parent_YOffset" inherits="DUF_EditBoxTemplate"> |
||
875 | <Size><AbsDimension x="75" y="20"/></Size> |
||
876 | <Anchors> |
||
877 | <Anchor point="TOPLEFT" relativeTo="$parent_XOffset" relativePoint="BOTTOMLEFT"/> |
||
878 | </Anchors> |
||
879 | <Scripts> |
||
880 | <OnLoad> |
||
881 | this.index = "yoffset"; |
||
882 | this.number = true; |
||
883 | DL_Set_Label("Y:"); |
||
884 | </OnLoad> |
||
885 | </Scripts> |
||
886 | </EditBox> |
||
887 | |||
888 | <Button name="$parent_MainColorContext" inherits="DiscordLib_MenuControlTemplate"> |
||
889 | <Size><AbsDimension x="100" y="24"/></Size> |
||
890 | <Anchors> |
||
891 | <Anchor point="TOPRIGHT" relativeTo="DUF_Options"> |
||
892 | <Offset><AbsDimension x="-20" y="-250"/></Offset> |
||
893 | </Anchor> |
||
894 | </Anchors> |
||
895 | <Scripts> |
||
896 | <OnLoad> |
||
897 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
898 | this.menu = "DUF_DropMenu"; |
||
899 | this.table = "DUF_COLOR_CONTEXTS"; |
||
900 | this.index = "context"; |
||
901 | this.initFunc = DUF_Init_Element; |
||
902 | DL_Set_Label(DUF_TEXT.Main); |
||
903 | </OnLoad> |
||
904 | </Scripts> |
||
905 | </Button> |
||
906 | <Button name="$parent_BackgroundColorContext" inherits="DiscordLib_MenuControlTemplate"> |
||
907 | <Size><AbsDimension x="100" y="24"/></Size> |
||
908 | <Anchors> |
||
909 | <Anchor point="TOP" relativeTo="$parent_MainColorContext" relativePoint="BOTTOM"/> |
||
910 | </Anchors> |
||
911 | <Scripts> |
||
912 | <OnLoad> |
||
913 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
914 | this.menu = "DUF_DropMenu"; |
||
915 | this.table = "DUF_COLOR_CONTEXTS"; |
||
916 | this.index = "bgcontext"; |
||
917 | this.initFunc = DUF_Init_Element; |
||
918 | DL_Set_Label(DUF_TEXT.Background); |
||
919 | </OnLoad> |
||
920 | </Scripts> |
||
921 | </Button> |
||
922 | <Button name="$parent_BorderColorContext" inherits="DiscordLib_MenuControlTemplate"> |
||
923 | <Size><AbsDimension x="100" y="24"/></Size> |
||
924 | <Anchors> |
||
925 | <Anchor point="TOP" relativeTo="$parent_BackgroundColorContext" relativePoint="BOTTOM"/> |
||
926 | </Anchors> |
||
927 | <Scripts> |
||
928 | <OnLoad> |
||
929 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
930 | this.menu = "DUF_DropMenu"; |
||
931 | this.table = "DUF_COLOR_CONTEXTS"; |
||
932 | this.index = "bordercontext"; |
||
933 | this.initFunc = DUF_Init_Element; |
||
934 | DL_Set_Label(DUF_TEXT.Border); |
||
935 | </OnLoad> |
||
936 | </Scripts> |
||
937 | </Button> |
||
938 | <Frame name="$parent_ContextLabel"> |
||
939 | <Size><AbsDimension x="10" y="20"/></Size> |
||
940 | <Anchors> |
||
941 | <Anchor point="BOTTOM" relativeTo="$parent_MainColorContext" relativePoint="TOP"> |
||
942 | <Offset><AbsDimension x="-30" y="0"/></Offset> |
||
943 | </Anchor> |
||
944 | </Anchors> |
||
945 | <Layers> |
||
946 | <Layer level="ARTWORK"> |
||
947 | <FontString name="$parent_Label" inherits="GameFontNormal" text="DUF_CONTEXTLABEL"> |
||
948 | <Color r=".8" g=".8" b="0"/> |
||
949 | <Anchors> |
||
950 | <Anchor point="CENTER"/> |
||
951 | </Anchors> |
||
952 | </FontString> |
||
953 | </Layer> |
||
954 | </Layers> |
||
955 | </Frame> |
||
956 | |||
957 | <Button name="$parent_LeftClick" inherits="DiscordLib_MenuControlTemplate"> |
||
958 | <Size><AbsDimension x="100" y="24"/></Size> |
||
959 | <Anchors> |
||
960 | <Anchor point="TOPRIGHT" relativeTo="DUF_Options"> |
||
961 | <Offset><AbsDimension x="-20" y="-340"/></Offset> |
||
962 | </Anchor> |
||
963 | </Anchors> |
||
964 | <Scripts> |
||
965 | <OnLoad> |
||
966 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
967 | this.menu = "DUF_DropMenu"; |
||
968 | this.table = "DUF_CLICK_OPTIONS"; |
||
969 | this.index = "leftclick"; |
||
970 | this.initFunc = DUF_Init_Element; |
||
971 | DL_Set_Label(DUF_TEXT.LeftClick); |
||
972 | </OnLoad> |
||
973 | </Scripts> |
||
974 | </Button> |
||
975 | <Button name="$parent_RightClick" inherits="DiscordLib_MenuControlTemplate"> |
||
976 | <Size><AbsDimension x="100" y="24"/></Size> |
||
977 | <Anchors> |
||
978 | <Anchor point="TOP" relativeTo="$parent_LeftClick" relativePoint="BOTTOM"/> |
||
979 | </Anchors> |
||
980 | <Scripts> |
||
981 | <OnLoad> |
||
982 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
983 | this.menu = "DUF_DropMenu"; |
||
984 | this.table = "DUF_CLICK_OPTIONS"; |
||
985 | this.index = "rightclick"; |
||
986 | this.initFunc = DUF_Init_Element; |
||
987 | DL_Set_Label(DUF_TEXT.RightClick); |
||
988 | </OnLoad> |
||
989 | </Scripts> |
||
990 | </Button> |
||
991 | <Button name="$parent_MiddleClick" inherits="DiscordLib_MenuControlTemplate"> |
||
992 | <Size><AbsDimension x="100" y="24"/></Size> |
||
993 | <Anchors> |
||
994 | <Anchor point="TOP" relativeTo="$parent_RightClick" relativePoint="BOTTOM"/> |
||
995 | </Anchors> |
||
996 | <Scripts> |
||
997 | <OnLoad> |
||
998 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
999 | this.menu = "DUF_DropMenu"; |
||
1000 | this.table = "DUF_CLICK_OPTIONS"; |
||
1001 | this.index = "middleclick"; |
||
1002 | this.initFunc = DUF_Init_Element; |
||
1003 | DL_Set_Label(DUF_TEXT.MiddleClick); |
||
1004 | </OnLoad> |
||
1005 | </Scripts> |
||
1006 | </Button> |
||
1007 | |||
1008 | <Button name="$parent_AttachFrame" inherits="DiscordLib_MenuControlTemplate"> |
||
1009 | <Size><AbsDimension x="100" y="24"/></Size> |
||
1010 | <Anchors> |
||
1011 | <Anchor point="TOPRIGHT" relativeTo="DUF_Options"> |
||
1012 | <Offset><AbsDimension x="-20" y="-440"/></Offset> |
||
1013 | </Anchor> |
||
1014 | </Anchors> |
||
1015 | <Scripts> |
||
1016 | <OnLoad> |
||
1017 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1018 | this.menu = "DUF_DropMenu"; |
||
1019 | this.table = "DUF_ATTACH_FRAMES"; |
||
1020 | this.index = "attach"; |
||
1021 | this.initFunc = DUF_Init_Element; |
||
1022 | DL_Set_Label(DUF_TEXT.AttachFrame); |
||
1023 | </OnLoad> |
||
1024 | </Scripts> |
||
1025 | </Button> |
||
1026 | <Button name="$parent_AttachPoint" inherits="DiscordLib_MenuControlTemplate"> |
||
1027 | <Size><AbsDimension x="100" y="24"/></Size> |
||
1028 | <Anchors> |
||
1029 | <Anchor point="TOP" relativeTo="$parent_AttachFrame" relativePoint="BOTTOM"/> |
||
1030 | </Anchors> |
||
1031 | <Scripts> |
||
1032 | <OnLoad> |
||
1033 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1034 | this.menu = "DUF_DropMenu"; |
||
1035 | this.table = "DUF_ANCHORS"; |
||
1036 | this.index = "attachpoint"; |
||
1037 | this.initFunc = DUF_Init_Element; |
||
1038 | DL_Set_Label(DUF_TEXT.AttachPoint); |
||
1039 | </OnLoad> |
||
1040 | </Scripts> |
||
1041 | </Button> |
||
1042 | <Button name="$parent_AttachTo" inherits="DiscordLib_MenuControlTemplate"> |
||
1043 | <Size><AbsDimension x="100" y="24"/></Size> |
||
1044 | <Anchors> |
||
1045 | <Anchor point="TOP" relativeTo="$parent_AttachPoint" relativePoint="BOTTOM"/> |
||
1046 | </Anchors> |
||
1047 | <Scripts> |
||
1048 | <OnLoad> |
||
1049 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1050 | this.menu = "DUF_DropMenu"; |
||
1051 | this.table = "DUF_ANCHORS"; |
||
1052 | this.index = "attachto"; |
||
1053 | this.initFunc = DUF_Init_Element; |
||
1054 | DL_Set_Label(DUF_TEXT.AttachTo); |
||
1055 | </OnLoad> |
||
1056 | </Scripts> |
||
1057 | </Button> |
||
1058 | |||
1059 | <Button name="$parent_FrameStrata" inherits="DiscordLib_MenuControlTemplate"> |
||
1060 | <Size><AbsDimension x="100" y="24"/></Size> |
||
1061 | <Anchors> |
||
1062 | <Anchor point="TOPRIGHT" relativeTo="DUF_Options"> |
||
1063 | <Offset><AbsDimension x="-20" y="-522"/></Offset> |
||
1064 | </Anchor> |
||
1065 | </Anchors> |
||
1066 | <Scripts> |
||
1067 | <OnLoad> |
||
1068 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1069 | this.menu = "DUF_DropMenu"; |
||
1070 | this.table = "DL_FRAMESTRATAS"; |
||
1071 | this.index = "framestrata"; |
||
1072 | this.initFunc = DUF_Init_Element; |
||
1073 | DL_Set_Label(DUF_TEXT.FrameStrata); |
||
1074 | </OnLoad> |
||
1075 | </Scripts> |
||
1076 | </Button> |
||
1077 | <EditBox name="$parent_FrameLevel" inherits="DUF_EditBoxTemplate" letters="4"> |
||
1078 | <Size><AbsDimension x="47" y="20"/></Size> |
||
1079 | <Anchors> |
||
1080 | <Anchor point="TOPRIGHT" relativeTo="$parent_FrameStrata" relativePoint="BOTTOMRIGHT"> |
||
1081 | <Offset><AbsDimension x="-10" y="0"/></Offset> |
||
1082 | </Anchor> |
||
1083 | </Anchors> |
||
1084 | <Scripts> |
||
1085 | <OnLoad> |
||
1086 | this.index = "framelevel"; |
||
1087 | this.number = true; |
||
1088 | this.initFunc = DUF_Init_Element; |
||
1089 | DL_Set_Label(DUF_TEXT.FrameLevelOffset); |
||
1090 | </OnLoad> |
||
1091 | </Scripts> |
||
1092 | </EditBox> |
||
1093 | <Button name="$parent_FrameLevelMinus" inherits="DUF_MainMenuButton" text="-"> |
||
1094 | <Size><AbsDimension x="15" y="15"/></Size> |
||
1095 | <Anchors> |
||
1096 | <Anchor point="RIGHT" relativeTo="$parent_FrameLevel" relativePoint="LEFT"> |
||
1097 | <Offset><AbsDimension x="-7" y="0"/></Offset> |
||
1098 | </Anchor> |
||
1099 | </Anchors> |
||
1100 | <Scripts> |
||
1101 | <OnClick> |
||
1102 | DUF_Options_FrameLevelMinus(); |
||
1103 | </OnClick> |
||
1104 | </Scripts> |
||
1105 | </Button> |
||
1106 | <Button name="$parent_FrameLevelPlus" inherits="DUF_MainMenuButton" text="+"> |
||
1107 | <Size><AbsDimension x="15" y="15"/></Size> |
||
1108 | <Anchors> |
||
1109 | <Anchor point="LEFT" relativeTo="$parent_FrameLevel" relativePoint="RIGHT"> |
||
1110 | <Offset><AbsDimension x="-9" y="0"/></Offset> |
||
1111 | </Anchor> |
||
1112 | </Anchors> |
||
1113 | <Scripts> |
||
1114 | <OnClick> |
||
1115 | DUF_Options_FrameLevelPlus(); |
||
1116 | </OnClick> |
||
1117 | </Scripts> |
||
1118 | </Button> |
||
1119 | |||
1120 | <CheckButton name="$parent_Hide" inherits="DUF_CheckBoxTemplate"> |
||
1121 | <Anchors> |
||
1122 | <Anchor point="TOPLEFT"> |
||
1123 | <Offset><AbsDimension x="10" y="-40"/></Offset> |
||
1124 | </Anchor> |
||
1125 | </Anchors> |
||
1126 | <Scripts> |
||
1127 | <OnLoad> |
||
1128 | this.index = "hide"; |
||
1129 | DL_Set_Label(DUF_TEXT.Hide); |
||
1130 | </OnLoad> |
||
1131 | </Scripts> |
||
1132 | </CheckButton> |
||
1133 | <CheckButton name="$parent_Flash" inherits="DUF_CheckBoxTemplate"> |
||
1134 | <Anchors> |
||
1135 | <Anchor point="TOPLEFT" relativeTo="$parent_Hide" relativePoint="BOTTOMLEFT"> |
||
1136 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
1137 | </Anchor> |
||
1138 | </Anchors> |
||
1139 | <Scripts> |
||
1140 | <OnLoad> |
||
1141 | this.index = "flashlowhealth"; |
||
1142 | DL_Set_Label(DUF_TEXT.FlashForLowHealth); |
||
1143 | </OnLoad> |
||
1144 | </Scripts> |
||
1145 | </CheckButton> |
||
1146 | <CheckButton name="$parent_DisableMouse" inherits="DUF_CheckBoxTemplate"> |
||
1147 | <Anchors> |
||
1148 | <Anchor point="TOPLEFT" relativeTo="$parent_Flash" relativePoint="BOTTOMLEFT"> |
||
1149 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
1150 | </Anchor> |
||
1151 | </Anchors> |
||
1152 | <Scripts> |
||
1153 | <OnLoad> |
||
1154 | this.index = "disablemouse"; |
||
1155 | DL_Set_Label(DUF_TEXT.DisableMouse); |
||
1156 | </OnLoad> |
||
1157 | </Scripts> |
||
1158 | </CheckButton> |
||
1159 | <CheckButton name="$parent_HideOnMouseover" inherits="DUF_CheckBoxTemplate"> |
||
1160 | <Anchors> |
||
1161 | <Anchor point="TOPLEFT" relativeTo="$parent_DisableMouse" relativePoint="BOTTOMLEFT"> |
||
1162 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
1163 | </Anchor> |
||
1164 | </Anchors> |
||
1165 | <Scripts> |
||
1166 | <OnLoad> |
||
1167 | this.index = "hidemouseover"; |
||
1168 | DL_Set_Label(DUF_TEXT.HideOnMouseover); |
||
1169 | </OnLoad> |
||
1170 | </Scripts> |
||
1171 | </CheckButton> |
||
1172 | <CheckButton name="$parent_Mouseover" inherits="DUF_CheckBoxTemplate"> |
||
1173 | <Anchors> |
||
1174 | <Anchor point="TOPLEFT" relativeTo="$parent_HideOnMouseover" relativePoint="BOTTOMLEFT"> |
||
1175 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
1176 | </Anchor> |
||
1177 | </Anchors> |
||
1178 | <Scripts> |
||
1179 | <OnLoad> |
||
1180 | this.index = "mouseover"; |
||
1181 | DL_Set_Label(DUF_TEXT.Mouseover); |
||
1182 | </OnLoad> |
||
1183 | </Scripts> |
||
1184 | </CheckButton> |
||
1185 | <CheckButton name="$parent_UseMouseoverColor" inherits="DUF_CheckBoxTemplate"> |
||
1186 | <Anchors> |
||
1187 | <Anchor point="TOPLEFT" relativeTo="$parent_Mouseover" relativePoint="BOTTOMLEFT"> |
||
1188 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
1189 | </Anchor> |
||
1190 | </Anchors> |
||
1191 | <Scripts> |
||
1192 | <OnLoad> |
||
1193 | this.index = "usemouseovercolor"; |
||
1194 | </OnLoad> |
||
1195 | </Scripts> |
||
1196 | </CheckButton> |
||
1197 | <Button name="$parent_MouseoverColor" inherits="DUF_ColorPickerTemplate"> |
||
1198 | <Anchors> |
||
1199 | <Anchor point="LEFT" relativeTo="$parent_UseMouseoverColor" relativePoint="RIGHT"/> |
||
1200 | </Anchors> |
||
1201 | <Scripts> |
||
1202 | <OnLoad> |
||
1203 | this.index = "mouseovercolor"; |
||
1204 | DL_Set_Label(DUF_TEXT.MouseoverColor); |
||
1205 | </OnLoad> |
||
1206 | </Scripts> |
||
1207 | </Button> |
||
1208 | <Button name="$parent_MouseoverGroup" inherits="DiscordLib_MenuControlTemplate"> |
||
1209 | <Size><AbsDimension x="65" y="24"/></Size> |
||
1210 | <Scripts> |
||
1211 | <OnLoad> |
||
1212 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1213 | this.menu = "DUF_DropMenu"; |
||
1214 | this.table = "DUF_MOUSEOVER_GROUPS"; |
||
1215 | this.index = "mouseovergroup"; |
||
1216 | this.initFunc = DUF_Init_Element; |
||
1217 | DL_Set_Label(DUF_TEXT.MouseoverGroup); |
||
1218 | DL_Set_Anchor("_UseMouseoverColor", 0, 0); |
||
1219 | </OnLoad> |
||
1220 | </Scripts> |
||
1221 | </Button> |
||
1222 | <Slider name="$parent_Alpha" inherits="DUF_SliderTemplate" minValue="0" maxValue="100" valueStep="1"> |
||
1223 | <Anchors> |
||
1224 | <Anchor point="TOPLEFT" relativeTo="$parent_UseMouseoverColor" relativePoint="BOTTOMLEFT"> |
||
1225 | <Offset><AbsDimension x="0" y="-40"/></Offset> |
||
1226 | </Anchor> |
||
1227 | </Anchors> |
||
1228 | <Scripts> |
||
1229 | <OnLoad> |
||
1230 | this.index = "alpha"; |
||
1231 | this.minlock = true; |
||
1232 | this.maxlock = true; |
||
1233 | this.scale = 100; |
||
1234 | DL_Set_Label(DUF_TEXT.Alpha); |
||
1235 | </OnLoad> |
||
1236 | </Scripts> |
||
1237 | </Slider> |
||
1238 | <CheckButton name="$parent_HideBG" inherits="DUF_CheckBoxTemplate"> |
||
1239 | <Anchors> |
||
1240 | <Anchor point="TOPLEFT" relativeTo="$parent_Alpha" relativePoint="BOTTOMLEFT"> |
||
1241 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
1242 | </Anchor> |
||
1243 | </Anchors> |
||
1244 | <Scripts> |
||
1245 | <OnLoad> |
||
1246 | this.index = "hidebg"; |
||
1247 | DL_Set_Label(DUF_TEXT.HideBackground); |
||
1248 | </OnLoad> |
||
1249 | </Scripts> |
||
1250 | </CheckButton> |
||
1251 | <Button name="$parent_BGColor" inherits="DUF_ColorPickerTemplate"> |
||
1252 | <Anchors> |
||
1253 | <Anchor point="TOPLEFT" relativeTo="$parent_HideBG" relativePoint="BOTTOMLEFT"/> |
||
1254 | </Anchors> |
||
1255 | <Scripts> |
||
1256 | <OnLoad> |
||
1257 | this.index = "bgcolor"; |
||
1258 | DL_Set_Label(DUF_TEXT.BackgroundColor); |
||
1259 | </OnLoad> |
||
1260 | </Scripts> |
||
1261 | </Button> |
||
1262 | <Slider name="$parent_BGAlpha" inherits="DUF_SliderTemplate" minValue="0" maxValue="100" valueStep="1"> |
||
1263 | <Anchors> |
||
1264 | <Anchor point="TOPLEFT" relativeTo="$parent_BGColor" relativePoint="BOTTOMLEFT"> |
||
1265 | <Offset><AbsDimension x="0" y="-13"/></Offset> |
||
1266 | </Anchor> |
||
1267 | </Anchors> |
||
1268 | <Scripts> |
||
1269 | <OnLoad> |
||
1270 | this.index = "bgalpha"; |
||
1271 | this.minlock = true; |
||
1272 | this.maxlock = true; |
||
1273 | this.scale = 100; |
||
1274 | DL_Set_Label(DUF_TEXT.BackgroundAlpha); |
||
1275 | </OnLoad> |
||
1276 | </Scripts> |
||
1277 | </Slider> |
||
1278 | <Slider name="$parent_BGPadding" inherits="DUF_SliderTemplate" minValue="0" maxValue="20" valueStep="1"> |
||
1279 | <Anchors> |
||
1280 | <Anchor point="TOPLEFT" relativeTo="$parent_BGAlpha" relativePoint="BOTTOMLEFT"> |
||
1281 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
1282 | </Anchor> |
||
1283 | </Anchors> |
||
1284 | <Scripts> |
||
1285 | <OnLoad> |
||
1286 | this.index = "bgpadding"; |
||
1287 | this.minlocked = true; |
||
1288 | DL_Set_Label(DUF_TEXT.BackgroundPadding); |
||
1289 | </OnLoad> |
||
1290 | </Scripts> |
||
1291 | </Slider> |
||
1292 | <EditBox name="$parent_BGTexture" inherits="DUF_EditBoxTemplate" letters="1000"> |
||
1293 | <Size><AbsDimension x="125" y="20"/></Size> |
||
1294 | <Scripts> |
||
1295 | <OnLoad> |
||
1296 | this.index = "bgtexture"; |
||
1297 | this.initFunc = DUF_Init_Element; |
||
1298 | DL_Set_Label(DUF_TEXT.BackgroundTexture); |
||
1299 | DL_Set_Anchor("_BGPadding", 0, -15); |
||
1300 | </OnLoad> |
||
1301 | </Scripts> |
||
1302 | </EditBox> |
||
1303 | <Button name="$parent_BorderColor" inherits="DUF_ColorPickerTemplate"> |
||
1304 | <Anchors> |
||
1305 | <Anchor point="TOPLEFT" relativeTo="$parent_BGPadding" relativePoint="BOTTOMLEFT"> |
||
1306 | <Offset><AbsDimension x="0" y="-45"/></Offset> |
||
1307 | </Anchor> |
||
1308 | </Anchors> |
||
1309 | <Scripts> |
||
1310 | <OnLoad> |
||
1311 | this.index = "bordercolor"; |
||
1312 | DL_Set_Label(DUF_TEXT.BorderColor); |
||
1313 | </OnLoad> |
||
1314 | </Scripts> |
||
1315 | </Button> |
||
1316 | <Button name="$parent_BorderStyle" inherits="DiscordLib_MenuControlTemplate"> |
||
1317 | <Size><AbsDimension x="100" y="24"/></Size> |
||
1318 | <Scripts> |
||
1319 | <OnLoad> |
||
1320 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1321 | this.menu = "DUF_DropMenu"; |
||
1322 | this.table = "DUF_BORDER_STYLES"; |
||
1323 | this.index = "backgroundstyle"; |
||
1324 | this.initFunc = DUF_Init_Element; |
||
1325 | DL_Set_Label(DUF_TEXT.BorderStyle); |
||
1326 | DL_Set_Anchor("_BorderColor", 0, 0); |
||
1327 | </OnLoad> |
||
1328 | </Scripts> |
||
1329 | </Button> |
||
1330 | <Slider name="$parent_BorderAlpha" inherits="DUF_SliderTemplate" minValue="0" maxValue="100" valueStep="1"> |
||
1331 | <Anchors> |
||
1332 | <Anchor point="TOPLEFT" relativeTo="$parent_BorderColor" relativePoint="BOTTOMLEFT"> |
||
1333 | <Offset><AbsDimension x="0" y="-40"/></Offset> |
||
1334 | </Anchor> |
||
1335 | </Anchors> |
||
1336 | <Scripts> |
||
1337 | <OnLoad> |
||
1338 | this.index = "borderalpha"; |
||
1339 | this.minlock = true; |
||
1340 | this.maxlock = true; |
||
1341 | this.scale = 100; |
||
1342 | DL_Set_Label(DUF_TEXT.BorderAlpha); |
||
1343 | </OnLoad> |
||
1344 | </Scripts> |
||
1345 | </Slider> |
||
1346 | <CheckButton name="$parent_DisableTooltip" inherits="DUF_CheckBoxTemplate"> |
||
1347 | <Anchors> |
||
1348 | <Anchor point="TOPLEFT" relativeTo="$parent_BorderAlpha" relativePoint="BOTTOMLEFT"> |
||
1349 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
1350 | </Anchor> |
||
1351 | </Anchors> |
||
1352 | <Scripts> |
||
1353 | <OnLoad> |
||
1354 | this.index = "disabletooltip"; |
||
1355 | DL_Set_Label(DUF_TEXT.DisableTooltip); |
||
1356 | </OnLoad> |
||
1357 | </Scripts> |
||
1358 | </CheckButton> |
||
1359 | <CheckButton name="$parent_UseCustomTooltip" inherits="DUF_CheckBoxTemplate"> |
||
1360 | <Anchors> |
||
1361 | <Anchor point="TOP" relativeTo="$parent_DisableTooltip" relativePoint="BOTTOM"/> |
||
1362 | </Anchors> |
||
1363 | <Scripts> |
||
1364 | <OnLoad> |
||
1365 | this.index = "usecustomtooltip"; |
||
1366 | </OnLoad> |
||
1367 | </Scripts> |
||
1368 | </CheckButton> |
||
1369 | <EditBox name="$parent_CustomTooltip" inherits="DUF_EditBoxTemplate"> |
||
1370 | <Size><AbsDimension x="275" y="20"/></Size> |
||
1371 | <Scripts> |
||
1372 | <OnLoad> |
||
1373 | this.index = "customtooltip"; |
||
1374 | DL_Set_Label(DUF_TEXT.CustomTooltip); |
||
1375 | DL_Set_Anchor("_UseCustomTooltip", 24, 23); |
||
1376 | </OnLoad> |
||
1377 | </Scripts> |
||
1378 | </EditBox> |
||
1379 | </Frames> |
||
1380 | <Scripts> |
||
1381 | <OnLoad> |
||
1382 | this.initFunc = DUF_Init_Element; |
||
1383 | </OnLoad> |
||
1384 | </Scripts> |
||
1385 | </Frame> |
||
1386 | |||
1387 | <Button name="DUF_DropMenu" inherits="DiscordLib_TooltipBackdropTemplate" hidden="true" frameStrata="DIALOG"> |
||
1388 | <Size><AbsDimension x="10" y="10"/></Size> |
||
1389 | <Anchors> |
||
1390 | <Anchor point="CENTER"/> |
||
1391 | </Anchors> |
||
1392 | <Frames> |
||
1393 | <Button name="$parent_Option1" inherits="DUF_MenuOptionTemplate"> |
||
1394 | <Anchors> |
||
1395 | <Anchor point="TOPLEFT"> |
||
1396 | <Offset><AbsDimension x="10" y="-10"/></Offset> |
||
1397 | </Anchor> |
||
1398 | </Anchors> |
||
1399 | </Button> |
||
1400 | <Button name="$parent_Option2" inherits="DUF_MenuOptionTemplate"> |
||
1401 | <Anchors> |
||
1402 | <Anchor point="TOPLEFT" relativeTo="$parent_Option1" relativePoint="BOTTOMLEFT"/> |
||
1403 | </Anchors> |
||
1404 | </Button> |
||
1405 | <Button name="$parent_Option3" inherits="DUF_MenuOptionTemplate"> |
||
1406 | <Anchors> |
||
1407 | <Anchor point="TOPLEFT" relativeTo="$parent_Option2" relativePoint="BOTTOMLEFT"/> |
||
1408 | </Anchors> |
||
1409 | </Button> |
||
1410 | <Button name="$parent_Option4" inherits="DUF_MenuOptionTemplate"> |
||
1411 | <Anchors> |
||
1412 | <Anchor point="TOPLEFT" relativeTo="$parent_Option3" relativePoint="BOTTOMLEFT"/> |
||
1413 | </Anchors> |
||
1414 | </Button> |
||
1415 | <Button name="$parent_Option5" inherits="DUF_MenuOptionTemplate"> |
||
1416 | <Anchors> |
||
1417 | <Anchor point="TOPLEFT" relativeTo="$parent_Option4" relativePoint="BOTTOMLEFT"/> |
||
1418 | </Anchors> |
||
1419 | </Button> |
||
1420 | <Button name="$parent_Option6" inherits="DUF_MenuOptionTemplate"> |
||
1421 | <Anchors> |
||
1422 | <Anchor point="TOPLEFT" relativeTo="$parent_Option5" relativePoint="BOTTOMLEFT"/> |
||
1423 | </Anchors> |
||
1424 | </Button> |
||
1425 | <Button name="$parent_Option7" inherits="DUF_MenuOptionTemplate"> |
||
1426 | <Anchors> |
||
1427 | <Anchor point="TOPLEFT" relativeTo="$parent_Option6" relativePoint="BOTTOMLEFT"/> |
||
1428 | </Anchors> |
||
1429 | </Button> |
||
1430 | <Button name="$parent_Option8" inherits="DUF_MenuOptionTemplate"> |
||
1431 | <Anchors> |
||
1432 | <Anchor point="TOPLEFT" relativeTo="$parent_Option7" relativePoint="BOTTOMLEFT"/> |
||
1433 | </Anchors> |
||
1434 | </Button> |
||
1435 | <Button name="$parent_Option9" inherits="DUF_MenuOptionTemplate"> |
||
1436 | <Anchors> |
||
1437 | <Anchor point="TOPLEFT" relativeTo="$parent_Option8" relativePoint="BOTTOMLEFT"/> |
||
1438 | </Anchors> |
||
1439 | </Button> |
||
1440 | <Button name="$parent_Option10" inherits="DUF_MenuOptionTemplate"> |
||
1441 | <Anchors> |
||
1442 | <Anchor point="TOPLEFT" relativeTo="$parent_Option9" relativePoint="BOTTOMLEFT"/> |
||
1443 | </Anchors> |
||
1444 | </Button> |
||
1445 | <Button name="$parent_Option11" inherits="DUF_MenuOptionTemplate"> |
||
1446 | <Anchors> |
||
1447 | <Anchor point="TOPLEFT" relativeTo="$parent_Option10" relativePoint="BOTTOMLEFT"/> |
||
1448 | </Anchors> |
||
1449 | </Button> |
||
1450 | <Button name="$parent_Option12" inherits="DUF_MenuOptionTemplate"> |
||
1451 | <Anchors> |
||
1452 | <Anchor point="TOPLEFT" relativeTo="$parent_Option11" relativePoint="BOTTOMLEFT"/> |
||
1453 | </Anchors> |
||
1454 | </Button> |
||
1455 | <Button name="$parent_Option13" inherits="DUF_MenuOptionTemplate"> |
||
1456 | <Anchors> |
||
1457 | <Anchor point="TOPLEFT" relativeTo="$parent_Option12" relativePoint="BOTTOMLEFT"/> |
||
1458 | </Anchors> |
||
1459 | </Button> |
||
1460 | <Button name="$parent_Option14" inherits="DUF_MenuOptionTemplate"> |
||
1461 | <Anchors> |
||
1462 | <Anchor point="TOPLEFT" relativeTo="$parent_Option13" relativePoint="BOTTOMLEFT"/> |
||
1463 | </Anchors> |
||
1464 | </Button> |
||
1465 | <Button name="$parent_Option15" inherits="DUF_MenuOptionTemplate"> |
||
1466 | <Anchors> |
||
1467 | <Anchor point="TOPLEFT" relativeTo="$parent_Option14" relativePoint="BOTTOMLEFT"/> |
||
1468 | </Anchors> |
||
1469 | </Button> |
||
1470 | <Button name="$parent_Option16" inherits="DUF_MenuOptionTemplate"> |
||
1471 | <Anchors> |
||
1472 | <Anchor point="TOPLEFT" relativeTo="$parent_Option15" relativePoint="BOTTOMLEFT"/> |
||
1473 | </Anchors> |
||
1474 | </Button> |
||
1475 | <Button name="$parent_Option17" inherits="DUF_MenuOptionTemplate"> |
||
1476 | <Anchors> |
||
1477 | <Anchor point="TOPLEFT" relativeTo="$parent_Option16" relativePoint="BOTTOMLEFT"/> |
||
1478 | </Anchors> |
||
1479 | </Button> |
||
1480 | <Button name="$parent_Option18" inherits="DUF_MenuOptionTemplate"> |
||
1481 | <Anchors> |
||
1482 | <Anchor point="TOPLEFT" relativeTo="$parent_Option17" relativePoint="BOTTOMLEFT"/> |
||
1483 | </Anchors> |
||
1484 | </Button> |
||
1485 | <Button name="$parent_Option19" inherits="DUF_MenuOptionTemplate"> |
||
1486 | <Anchors> |
||
1487 | <Anchor point="TOPLEFT" relativeTo="$parent_Option18" relativePoint="BOTTOMLEFT"/> |
||
1488 | </Anchors> |
||
1489 | </Button> |
||
1490 | <Button name="$parent_Option20" inherits="DUF_MenuOptionTemplate"> |
||
1491 | <Anchors> |
||
1492 | <Anchor point="TOPLEFT" relativeTo="$parent_Option19" relativePoint="BOTTOMLEFT"/> |
||
1493 | </Anchors> |
||
1494 | </Button> |
||
1495 | <Button name="$parent_Option21" inherits="DUF_MenuOptionTemplate"> |
||
1496 | <Anchors> |
||
1497 | <Anchor point="TOPLEFT" relativeTo="$parent_Option20" relativePoint="BOTTOMLEFT"/> |
||
1498 | </Anchors> |
||
1499 | </Button> |
||
1500 | <Button name="$parent_Option22" inherits="DUF_MenuOptionTemplate"> |
||
1501 | <Anchors> |
||
1502 | <Anchor point="TOPLEFT" relativeTo="$parent_Option21" relativePoint="BOTTOMLEFT"/> |
||
1503 | </Anchors> |
||
1504 | </Button> |
||
1505 | <Button name="$parent_Option23" inherits="DUF_MenuOptionTemplate"> |
||
1506 | <Anchors> |
||
1507 | <Anchor point="TOPLEFT" relativeTo="$parent_Option22" relativePoint="BOTTOMLEFT"/> |
||
1508 | </Anchors> |
||
1509 | </Button> |
||
1510 | <Button name="$parent_Option24" inherits="DUF_MenuOptionTemplate"> |
||
1511 | <Anchors> |
||
1512 | <Anchor point="TOPLEFT" relativeTo="$parent_Option23" relativePoint="BOTTOMLEFT"/> |
||
1513 | </Anchors> |
||
1514 | </Button> |
||
1515 | <Button name="$parent_Option25" inherits="DUF_MenuOptionTemplate"> |
||
1516 | <Anchors> |
||
1517 | <Anchor point="TOPLEFT" relativeTo="$parent_Option24" relativePoint="BOTTOMLEFT"/> |
||
1518 | </Anchors> |
||
1519 | </Button> |
||
1520 | <Button name="$parent_Option26" inherits="DUF_MenuOptionTemplate"> |
||
1521 | <Anchors> |
||
1522 | <Anchor point="TOPLEFT" relativeTo="$parent_Option25" relativePoint="BOTTOMLEFT"/> |
||
1523 | </Anchors> |
||
1524 | </Button> |
||
1525 | <Button name="$parent_Option27" inherits="DUF_MenuOptionTemplate"> |
||
1526 | <Anchors> |
||
1527 | <Anchor point="TOPLEFT" relativeTo="$parent_Option26" relativePoint="BOTTOMLEFT"/> |
||
1528 | </Anchors> |
||
1529 | </Button> |
||
1530 | <Button name="$parent_Option28" inherits="DUF_MenuOptionTemplate"> |
||
1531 | <Anchors> |
||
1532 | <Anchor point="TOPLEFT" relativeTo="$parent_Option27" relativePoint="BOTTOMLEFT"/> |
||
1533 | </Anchors> |
||
1534 | </Button> |
||
1535 | <Button name="$parent_Option29" inherits="DUF_MenuOptionTemplate"> |
||
1536 | <Anchors> |
||
1537 | <Anchor point="TOPLEFT" relativeTo="$parent_Option28" relativePoint="BOTTOMLEFT"/> |
||
1538 | </Anchors> |
||
1539 | </Button> |
||
1540 | <Button name="$parent_Option30" inherits="DUF_MenuOptionTemplate"> |
||
1541 | <Anchors> |
||
1542 | <Anchor point="TOPLEFT" relativeTo="$parent_Option29" relativePoint="BOTTOMLEFT"/> |
||
1543 | </Anchors> |
||
1544 | </Button> |
||
1545 | <Button name="$parent_Option31" inherits="DUF_MenuOptionTemplate"> |
||
1546 | <Anchors> |
||
1547 | <Anchor point="TOPLEFT" relativeTo="$parent_Option30" relativePoint="BOTTOMLEFT"/> |
||
1548 | </Anchors> |
||
1549 | </Button> |
||
1550 | <Button name="$parent_Option32" inherits="DUF_MenuOptionTemplate"> |
||
1551 | <Anchors> |
||
1552 | <Anchor point="TOPLEFT" relativeTo="$parent_Option31" relativePoint="BOTTOMLEFT"/> |
||
1553 | </Anchors> |
||
1554 | </Button> |
||
1555 | <Button name="$parent_Option33" inherits="DUF_MenuOptionTemplate"> |
||
1556 | <Anchors> |
||
1557 | <Anchor point="TOPLEFT" relativeTo="$parent_Option32" relativePoint="BOTTOMLEFT"/> |
||
1558 | </Anchors> |
||
1559 | </Button> |
||
1560 | <Button name="$parent_Option34" inherits="DUF_MenuOptionTemplate"> |
||
1561 | <Anchors> |
||
1562 | <Anchor point="TOPLEFT" relativeTo="$parent_Option33" relativePoint="BOTTOMLEFT"/> |
||
1563 | </Anchors> |
||
1564 | </Button> |
||
1565 | <Button name="$parent_Option35" inherits="DUF_MenuOptionTemplate"> |
||
1566 | <Anchors> |
||
1567 | <Anchor point="TOPLEFT" relativeTo="$parent_Option34" relativePoint="BOTTOMLEFT"/> |
||
1568 | </Anchors> |
||
1569 | </Button> |
||
1570 | <Button name="$parent_Option36" inherits="DUF_MenuOptionTemplate"> |
||
1571 | <Anchors> |
||
1572 | <Anchor point="TOPLEFT" relativeTo="$parent_Option35" relativePoint="BOTTOMLEFT"/> |
||
1573 | </Anchors> |
||
1574 | </Button> |
||
1575 | <Button name="$parent_Option37" inherits="DUF_MenuOptionTemplate"> |
||
1576 | <Anchors> |
||
1577 | <Anchor point="TOPLEFT" relativeTo="$parent_Option36" relativePoint="BOTTOMLEFT"/> |
||
1578 | </Anchors> |
||
1579 | </Button> |
||
1580 | <Button name="$parent_Option38" inherits="DUF_MenuOptionTemplate"> |
||
1581 | <Anchors> |
||
1582 | <Anchor point="TOPLEFT" relativeTo="$parent_Option37" relativePoint="BOTTOMLEFT"/> |
||
1583 | </Anchors> |
||
1584 | </Button> |
||
1585 | <Button name="$parent_Option39" inherits="DUF_MenuOptionTemplate"> |
||
1586 | <Anchors> |
||
1587 | <Anchor point="TOPLEFT" relativeTo="$parent_Option38" relativePoint="BOTTOMLEFT"/> |
||
1588 | </Anchors> |
||
1589 | </Button> |
||
1590 | <Button name="$parent_Option40" inherits="DUF_MenuOptionTemplate"> |
||
1591 | <Anchors> |
||
1592 | <Anchor point="TOPLEFT" relativeTo="$parent_Option39" relativePoint="BOTTOMLEFT"/> |
||
1593 | </Anchors> |
||
1594 | </Button> |
||
1595 | </Frames> |
||
1596 | <Scripts> |
||
1597 | <OnLoad> |
||
1598 | this:SetBackdropColor(.2,.2,.2); |
||
1599 | this.count = 40; |
||
1600 | </OnLoad> |
||
1601 | <OnEnter> |
||
1602 | this.timer = nil; |
||
1603 | </OnEnter> |
||
1604 | <OnLeave> |
||
1605 | this.timer = .5; |
||
1606 | </OnLeave> |
||
1607 | <OnHide> |
||
1608 | if (this.timer) then |
||
1609 | this.timer = .01; |
||
1610 | end |
||
1611 | </OnHide> |
||
1612 | <OnUpdate> |
||
1613 | DL_Menu_Timeout(arg1); |
||
1614 | </OnUpdate> |
||
1615 | </Scripts> |
||
1616 | </Button> |
||
1617 | |||
1618 | <Frame name="DUF_MiscOptions" parent="DUF_Options" frameStrata="HIGH" hidden="true"> |
||
1619 | <Size><AbsDimension x="10" y="10"/></Size> |
||
1620 | <Anchors> |
||
1621 | <Anchor point="TOPLEFT" relativeTo="DUF_ElementOptions"/> |
||
1622 | </Anchors> |
||
1623 | <Frames> |
||
1624 | <CheckButton name="$parent_HidePartyInRaid" inherits="DUF_CheckBoxTemplate"> |
||
1625 | <Anchors> |
||
1626 | <Anchor point="TOPLEFT"> |
||
1627 | <Offset><AbsDimension x="10" y="-10"/></Offset> |
||
1628 | </Anchor> |
||
1629 | </Anchors> |
||
1630 | <Scripts> |
||
1631 | <OnLoad> |
||
1632 | this.index = "hidepartyinraid"; |
||
1633 | DL_Set_Label(DUF_TEXT.HidePartyInRaid); |
||
1634 | </OnLoad> |
||
1635 | </Scripts> |
||
1636 | </CheckButton> |
||
1637 | <CheckButton name="$parent_HideTargetTarget" inherits="DUF_CheckBoxTemplate"> |
||
1638 | <Anchors> |
||
1639 | <Anchor point="TOPLEFT" relativeTo="$parent_HidePartyInRaid" relativePoint="BOTTOMLEFT"/> |
||
1640 | </Anchors> |
||
1641 | <Scripts> |
||
1642 | <OnLoad> |
||
1643 | this.index = "hidetargettarget"; |
||
1644 | DL_Set_Label(DUF_TEXT.HideTargetTarget); |
||
1645 | </OnLoad> |
||
1646 | </Scripts> |
||
1647 | </CheckButton> |
||
1648 | <CheckButton name="$parent_HideBuffFrame" inherits="DUF_CheckBoxTemplate"> |
||
1649 | <Anchors> |
||
1650 | <Anchor point="TOPLEFT" relativeTo="$parent_HideTargetTarget" relativePoint="BOTTOMLEFT"/> |
||
1651 | </Anchors> |
||
1652 | <Scripts> |
||
1653 | <OnLoad> |
||
1654 | this.index = "hidebuffframe"; |
||
1655 | DL_Set_Label(DUF_TEXT.HideBuffFrame); |
||
1656 | </OnLoad> |
||
1657 | </Scripts> |
||
1658 | </CheckButton> |
||
1659 | <CheckButton name="$parent_AutoLock" inherits="DUF_CheckBoxTemplate"> |
||
1660 | <Anchors> |
||
1661 | <Anchor point="TOPLEFT" relativeTo="$parent_HideBuffFrame" relativePoint="BOTTOMLEFT"/> |
||
1662 | </Anchors> |
||
1663 | <Scripts> |
||
1664 | <OnLoad> |
||
1665 | this.index = "autolock"; |
||
1666 | DL_Set_Label(DUF_TEXT.AutoLock); |
||
1667 | </OnLoad> |
||
1668 | </Scripts> |
||
1669 | </CheckButton> |
||
1670 | <Slider name="$parent_UpdateSpeed" inherits="DUF_SliderTemplate" minValue="1" maxValue="60" valueStep="1"> |
||
1671 | <Anchors> |
||
1672 | <Anchor point="TOPLEFT" relativeTo="$parent_AutoLock" relativePoint="BOTTOMLEFT"> |
||
1673 | <Offset><AbsDimension x="0" y="-25"/></Offset> |
||
1674 | </Anchor> |
||
1675 | </Anchors> |
||
1676 | <Scripts> |
||
1677 | <OnLoad> |
||
1678 | this.index = "updatespeedbase"; |
||
1679 | this.minlock = true; |
||
1680 | this.maxlock = true; |
||
1681 | this.initFunc = DUF_Options_SetUpdateSpeed; |
||
1682 | DL_Set_Label(DUF_TEXT.UpdateSpeed); |
||
1683 | </OnLoad> |
||
1684 | </Scripts> |
||
1685 | </Slider> |
||
1686 | <EditBox name="$parent_LowHealthThreshold" inherits="DUF_EditBoxTemplate"> |
||
1687 | <Size><AbsDimension x="75" y="20"/></Size> |
||
1688 | <Scripts> |
||
1689 | <OnLoad> |
||
1690 | this.index = "flashthreshold"; |
||
1691 | this.number = true; |
||
1692 | DL_Set_Label(DUF_TEXT.LowHealthThreshold); |
||
1693 | DL_Set_Anchor("_UpdateSpeed", 0, -20); |
||
1694 | </OnLoad> |
||
1695 | </Scripts> |
||
1696 | </EditBox> |
||
1697 | <Button name="$parent_OptionsScale" inherits="DiscordLib_MenuControlTemplate"> |
||
1698 | <Size><AbsDimension x="100" y="24"/></Size> |
||
1699 | <Scripts> |
||
1700 | <OnLoad> |
||
1701 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1702 | this.menu = "DUF_DropMenu"; |
||
1703 | this.table = "DUF_OPTIONS_SCALES"; |
||
1704 | this.index = "optionscale"; |
||
1705 | this.initFunc = DUF_Options_SetScale; |
||
1706 | DL_Set_Label(DUF_TEXT.OptionsScale); |
||
1707 | DL_Set_Anchor("_UpdateSpeed", 0, -50); |
||
1708 | </OnLoad> |
||
1709 | </Scripts> |
||
1710 | </Button> |
||
1711 | |||
1712 | <EditBox name="$parent_SaveSettings" inherits="DUF_EditBoxTemplate"> |
||
1713 | <Size><AbsDimension x="150" y="20"/></Size> |
||
1714 | <Scripts> |
||
1715 | <OnLoad> |
||
1716 | DL_Set_Label(DUF_TEXT.NewProfile); |
||
1717 | DL_Set_Anchor("_UpdateSpeed", 0, -120); |
||
1718 | </OnLoad> |
||
1719 | <OnEnterPressed> |
||
1720 | DUF_Options_SaveSettings(); |
||
1721 | </OnEnterPressed> |
||
1722 | </Scripts> |
||
1723 | </EditBox> |
||
1724 | <Button inherits="UIPanelButtonTemplate" hidden="false"> |
||
1725 | <Size><AbsDimension x="60" y="20"/></Size> |
||
1726 | <Anchors> |
||
1727 | <Anchor point="LEFT" relativeTo="$parent_SaveSettings" relativePoint="RIGHT"> |
||
1728 | <Offset><AbsDimension x="0" y="0"/></Offset> |
||
1729 | </Anchor> |
||
1730 | </Anchors> |
||
1731 | <Scripts> |
||
1732 | <OnLoad> |
||
1733 | this:SetText(DUF_TEXT.Create); |
||
1734 | </OnLoad> |
||
1735 | <OnClick> |
||
1736 | DUF_Options_SaveSettings(); |
||
1737 | </OnClick> |
||
1738 | </Scripts> |
||
1739 | </Button> |
||
1740 | <Button name="$parent_LoadSettings" inherits="DiscordLib_MenuControlTemplate"> |
||
1741 | <Size><AbsDimension x="150" y="24"/></Size> |
||
1742 | <Scripts> |
||
1743 | <OnLoad> |
||
1744 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1745 | this.menu = "DUF_DropMenu"; |
||
1746 | this.table = "DUF_SAVED_SETTINGS"; |
||
1747 | this.initFunc = DUF_Options_SetLoadIndex; |
||
1748 | DL_Set_Label(DUF_TEXT.LoadProfile); |
||
1749 | DL_Set_Anchor("_UpdateSpeed", 0, -145); |
||
1750 | </OnLoad> |
||
1751 | </Scripts> |
||
1752 | </Button> |
||
1753 | <Button name="$parent_LoadSettingsButton" inherits="UIPanelButtonTemplate" hidden="false"> |
||
1754 | <Size><AbsDimension x="60" y="20"/></Size> |
||
1755 | <Anchors> |
||
1756 | <Anchor point="LEFT" relativeTo="$parent_LoadSettings" relativePoint="RIGHT"> |
||
1757 | <Offset><AbsDimension x="0" y="0"/></Offset> |
||
1758 | </Anchor> |
||
1759 | </Anchors> |
||
1760 | <Scripts> |
||
1761 | <OnLoad> |
||
1762 | this:SetText(DUF_TEXT.Load); |
||
1763 | </OnLoad> |
||
1764 | <OnClick> |
||
1765 | DUF_Options_LoadSettings(); |
||
1766 | </OnClick> |
||
1767 | </Scripts> |
||
1768 | </Button> |
||
1769 | <Button inherits="UIPanelButtonTemplate" hidden="false"> |
||
1770 | <Size><AbsDimension x="90" y="20"/></Size> |
||
1771 | <Anchors> |
||
1772 | <Anchor point="TOPLEFT" relativeTo="$parent_LoadSettingsButton" relativePoint="BOTTOMLEFT"/> |
||
1773 | </Anchors> |
||
1774 | <Scripts> |
||
1775 | <OnLoad> |
||
1776 | this:SetText(DUF_TEXT.SafeLoad); |
||
1777 | </OnLoad> |
||
1778 | <OnClick> |
||
1779 | DUF_Options_LoadSettings(nil, 1); |
||
1780 | </OnClick> |
||
1781 | </Scripts> |
||
1782 | </Button> |
||
1783 | <Button inherits="UIPanelButtonTemplate" hidden="false"> |
||
1784 | <Size><AbsDimension x="70" y="20"/></Size> |
||
1785 | <Anchors> |
||
1786 | <Anchor point="LEFT" relativeTo="$parent_LoadSettingsButton" relativePoint="RIGHT"> |
||
1787 | <Offset><AbsDimension x="0" y="0"/></Offset> |
||
1788 | </Anchor> |
||
1789 | </Anchors> |
||
1790 | <Scripts> |
||
1791 | <OnLoad> |
||
1792 | this:SetText(DUF_TEXT.Delete); |
||
1793 | </OnLoad> |
||
1794 | <OnClick> |
||
1795 | DUF_Options_DeleteSettings(); |
||
1796 | </OnClick> |
||
1797 | </Scripts> |
||
1798 | </Button> |
||
1799 | </Frames> |
||
1800 | <Layers> |
||
1801 | <Layer level="OVERLAY"> |
||
1802 | <FontString name="$parent_CurrentProfile" inherits="GameFontNormal"> |
||
1803 | <Anchors> |
||
1804 | <Anchor point="TOPLEFT"> |
||
1805 | <Offset><AbsDimension x="10" y="-250"/></Offset> |
||
1806 | </Anchor> |
||
1807 | </Anchors> |
||
1808 | </FontString> |
||
1809 | </Layer> |
||
1810 | </Layers> |
||
1811 | </Frame> |
||
1812 | |||
1813 | <Frame name="DUF_ColorContextOptions" parent="DUF_Options" frameStrata="HIGH" hidden="true"> |
||
1814 | <Size><AbsDimension x="10" y="10"/></Size> |
||
1815 | <Anchors> |
||
1816 | <Anchor point="TOPLEFT" relativeTo="DUF_ElementOptions"/> |
||
1817 | </Anchors> |
||
1818 | <Frames> |
||
1819 | <Frame name="$parent_DifficultyLabel"> |
||
1820 | <Size><AbsDimension x="200" y="20"/></Size> |
||
1821 | <Anchors> |
||
1822 | <Anchor point="TOPLEFT"> |
||
1823 | <Offset><AbsDimension x="10" y="-20"/></Offset> |
||
1824 | </Anchor> |
||
1825 | </Anchors> |
||
1826 | <Layers> |
||
1827 | <Layer level="ARTWORK"> |
||
1828 | <FontString name="$parent_Label" inherits="GameFontNormal" justifyH="LEFT" text="DUF_DIFFICULTYLABEL"> |
||
1829 | <Color r=".8" g=".8" b="0"/> |
||
1830 | <Anchors> |
||
1831 | <Anchor point="LEFT"/> |
||
1832 | </Anchors> |
||
1833 | </FontString> |
||
1834 | </Layer> |
||
1835 | </Layers> |
||
1836 | </Frame> |
||
1837 | <Button name="$parent_Difficulty1" inherits="DUF_ColorPickerTemplate"> |
||
1838 | <Anchors> |
||
1839 | <Anchor point="TOPLEFT" relativeTo="$parent_DifficultyLabel" relativePoint="BOTTOMLEFT"/> |
||
1840 | </Anchors> |
||
1841 | <Scripts> |
||
1842 | <OnLoad> |
||
1843 | this.index = "lvlcolor1"; |
||
1844 | DL_Set_Label(DUF_TEXT.LevelDifference1); |
||
1845 | </OnLoad> |
||
1846 | </Scripts> |
||
1847 | </Button> |
||
1848 | <Button name="$parent_Difficulty2" inherits="DUF_ColorPickerTemplate"> |
||
1849 | <Anchors> |
||
1850 | <Anchor point="TOPLEFT" relativeTo="$parent_Difficulty1" relativePoint="BOTTOMLEFT"/> |
||
1851 | </Anchors> |
||
1852 | <Scripts> |
||
1853 | <OnLoad> |
||
1854 | this.index = "lvlcolor2"; |
||
1855 | DL_Set_Label(DUF_TEXT.LevelDifference2); |
||
1856 | </OnLoad> |
||
1857 | </Scripts> |
||
1858 | </Button> |
||
1859 | <Button name="$parent_Difficulty3" inherits="DUF_ColorPickerTemplate"> |
||
1860 | <Anchors> |
||
1861 | <Anchor point="TOPLEFT" relativeTo="$parent_Difficulty2" relativePoint="BOTTOMLEFT"/> |
||
1862 | </Anchors> |
||
1863 | <Scripts> |
||
1864 | <OnLoad> |
||
1865 | this.index = "lvlcolor3"; |
||
1866 | DL_Set_Label(DUF_TEXT.LevelDifference3); |
||
1867 | </OnLoad> |
||
1868 | </Scripts> |
||
1869 | </Button> |
||
1870 | <Button name="$parent_Difficulty4" inherits="DUF_ColorPickerTemplate"> |
||
1871 | <Anchors> |
||
1872 | <Anchor point="TOPLEFT" relativeTo="$parent_Difficulty3" relativePoint="BOTTOMLEFT"/> |
||
1873 | </Anchors> |
||
1874 | <Scripts> |
||
1875 | <OnLoad> |
||
1876 | this.index = "lvlcolor4"; |
||
1877 | DL_Set_Label(DUF_TEXT.LevelDifference4); |
||
1878 | </OnLoad> |
||
1879 | </Scripts> |
||
1880 | </Button> |
||
1881 | <Button name="$parent_Difficulty5" inherits="DUF_ColorPickerTemplate"> |
||
1882 | <Anchors> |
||
1883 | <Anchor point="TOPLEFT" relativeTo="$parent_Difficulty4" relativePoint="BOTTOMLEFT"/> |
||
1884 | </Anchors> |
||
1885 | <Scripts> |
||
1886 | <OnLoad> |
||
1887 | this.index = "lvlcolor5"; |
||
1888 | DL_Set_Label(DUF_TEXT.LevelDifference5); |
||
1889 | </OnLoad> |
||
1890 | </Scripts> |
||
1891 | </Button> |
||
1892 | <Button name="$parent_Difficulty6" inherits="DUF_ColorPickerTemplate"> |
||
1893 | <Anchors> |
||
1894 | <Anchor point="TOPLEFT" relativeTo="$parent_Difficulty5" relativePoint="BOTTOMLEFT"/> |
||
1895 | </Anchors> |
||
1896 | <Scripts> |
||
1897 | <OnLoad> |
||
1898 | this.index = "lvlcolor6"; |
||
1899 | DL_Set_Label(DUF_TEXT.LevelDifference6); |
||
1900 | </OnLoad> |
||
1901 | </Scripts> |
||
1902 | </Button> |
||
1903 | |||
1904 | <Frame name="$parent_ReactionLabel"> |
||
1905 | <Size><AbsDimension x="200" y="20"/></Size> |
||
1906 | <Anchors> |
||
1907 | <Anchor point="TOPLEFT"> |
||
1908 | <Offset><AbsDimension x="230" y="-20"/></Offset> |
||
1909 | </Anchor> |
||
1910 | </Anchors> |
||
1911 | <Layers> |
||
1912 | <Layer level="ARTWORK"> |
||
1913 | <FontString name="$parent_Label" inherits="GameFontNormal" justifyH="LEFT" text="DUF_REACTIONLABEL"> |
||
1914 | <Color r=".8" g=".8" b="0"/> |
||
1915 | <Anchors> |
||
1916 | <Anchor point="LEFT"/> |
||
1917 | </Anchors> |
||
1918 | </FontString> |
||
1919 | </Layer> |
||
1920 | </Layers> |
||
1921 | </Frame> |
||
1922 | <Button name="$parent_Reaction1" inherits="DUF_ColorPickerTemplate"> |
||
1923 | <Anchors> |
||
1924 | <Anchor point="TOPLEFT" relativeTo="$parent_ReactionLabel" relativePoint="BOTTOMLEFT"/> |
||
1925 | </Anchors> |
||
1926 | <Scripts> |
||
1927 | <OnLoad> |
||
1928 | this.index = "reactioncolor1"; |
||
1929 | DL_Set_Label(DUF_TEXT.Hostile); |
||
1930 | </OnLoad> |
||
1931 | </Scripts> |
||
1932 | </Button> |
||
1933 | <Button name="$parent_Reaction2" inherits="DUF_ColorPickerTemplate"> |
||
1934 | <Anchors> |
||
1935 | <Anchor point="TOPLEFT" relativeTo="$parent_Reaction1" relativePoint="BOTTOMLEFT"/> |
||
1936 | </Anchors> |
||
1937 | <Scripts> |
||
1938 | <OnLoad> |
||
1939 | this.index = "reactioncolor2"; |
||
1940 | DL_Set_Label(DUF_TEXT.Neutral); |
||
1941 | </OnLoad> |
||
1942 | </Scripts> |
||
1943 | </Button> |
||
1944 | <Button name="$parent_Reaction3" inherits="DUF_ColorPickerTemplate"> |
||
1945 | <Anchors> |
||
1946 | <Anchor point="TOPLEFT" relativeTo="$parent_Reaction2" relativePoint="BOTTOMLEFT"/> |
||
1947 | </Anchors> |
||
1948 | <Scripts> |
||
1949 | <OnLoad> |
||
1950 | this.index = "reactioncolor3"; |
||
1951 | DL_Set_Label(DUF_TEXT.FriendlyNPC); |
||
1952 | </OnLoad> |
||
1953 | </Scripts> |
||
1954 | </Button> |
||
1955 | <Button name="$parent_Reaction4" inherits="DUF_ColorPickerTemplate"> |
||
1956 | <Anchors> |
||
1957 | <Anchor point="TOPLEFT" relativeTo="$parent_Reaction3" relativePoint="BOTTOMLEFT"/> |
||
1958 | </Anchors> |
||
1959 | <Scripts> |
||
1960 | <OnLoad> |
||
1961 | this.index = "reactioncolor4"; |
||
1962 | DL_Set_Label(DUF_TEXT.FriendlyPlayer); |
||
1963 | </OnLoad> |
||
1964 | </Scripts> |
||
1965 | </Button> |
||
1966 | <Button name="$parent_Reaction5" inherits="DUF_ColorPickerTemplate"> |
||
1967 | <Anchors> |
||
1968 | <Anchor point="TOPLEFT" relativeTo="$parent_Reaction4" relativePoint="BOTTOMLEFT"/> |
||
1969 | </Anchors> |
||
1970 | <Scripts> |
||
1971 | <OnLoad> |
||
1972 | this.index = "reactioncolor5"; |
||
1973 | DL_Set_Label(DUF_TEXT.PVPFriendly); |
||
1974 | </OnLoad> |
||
1975 | </Scripts> |
||
1976 | </Button> |
||
1977 | <Button name="$parent_Reaction6" inherits="DUF_ColorPickerTemplate"> |
||
1978 | <Anchors> |
||
1979 | <Anchor point="TOPLEFT" relativeTo="$parent_Reaction5" relativePoint="BOTTOMLEFT"/> |
||
1980 | </Anchors> |
||
1981 | <Scripts> |
||
1982 | <OnLoad> |
||
1983 | this.index = "reactioncolor6"; |
||
1984 | DL_Set_Label(DUF_TEXT.TargetTapped); |
||
1985 | </OnLoad> |
||
1986 | </Scripts> |
||
1987 | </Button> |
||
1988 | |||
1989 | <Frame name="$parent_HealthLabel"> |
||
1990 | <Size><AbsDimension x="200" y="20"/></Size> |
||
1991 | <Anchors> |
||
1992 | <Anchor point="TOPLEFT" relativeTo="$parent_Difficulty6" relativePoint="BOTTOMLEFT"> |
||
1993 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
1994 | </Anchor> |
||
1995 | </Anchors> |
||
1996 | <Layers> |
||
1997 | <Layer level="ARTWORK"> |
||
1998 | <FontString name="$parent_Label" inherits="GameFontNormal" justifyH="LEFT" text="DUF_HEALTHLABEL"> |
||
1999 | <Color r=".8" g=".8" b="0"/> |
||
2000 | <Anchors> |
||
2001 | <Anchor point="LEFT"/> |
||
2002 | </Anchors> |
||
2003 | </FontString> |
||
2004 | </Layer> |
||
2005 | </Layers> |
||
2006 | </Frame> |
||
2007 | <Button name="$parent_Health1" inherits="DUF_ColorPickerTemplate"> |
||
2008 | <Anchors> |
||
2009 | <Anchor point="TOPLEFT" relativeTo="$parent_HealthLabel" relativePoint="BOTTOMLEFT"/> |
||
2010 | </Anchors> |
||
2011 | <Scripts> |
||
2012 | <OnLoad> |
||
2013 | this.index = "healthcolor1"; |
||
2014 | </OnLoad> |
||
2015 | </Scripts> |
||
2016 | </Button> |
||
2017 | <EditBox name="$parent_HealthThreshold1" inherits="DUF_EditBoxTemplate"> |
||
2018 | <Size><AbsDimension x="50" y="20"/></Size> |
||
2019 | <Scripts> |
||
2020 | <OnLoad> |
||
2021 | this.index = "healththreshold1"; |
||
2022 | this.number = true; |
||
2023 | DL_Set_Label(DUF_TEXT.HealthThreshold); |
||
2024 | DL_Set_Anchor("_Health1", 26, 23); |
||
2025 | </OnLoad> |
||
2026 | </Scripts> |
||
2027 | </EditBox> |
||
2028 | <Button name="$parent_Health2" inherits="DUF_ColorPickerTemplate"> |
||
2029 | <Anchors> |
||
2030 | <Anchor point="TOPLEFT" relativeTo="$parent_Health1" relativePoint="BOTTOMLEFT"/> |
||
2031 | </Anchors> |
||
2032 | <Scripts> |
||
2033 | <OnLoad> |
||
2034 | this.index = "healthcolor2"; |
||
2035 | </OnLoad> |
||
2036 | </Scripts> |
||
2037 | </Button> |
||
2038 | <EditBox name="$parent_HealthThreshold2" inherits="DUF_EditBoxTemplate"> |
||
2039 | <Size><AbsDimension x="50" y="20"/></Size> |
||
2040 | <Scripts> |
||
2041 | <OnLoad> |
||
2042 | this.index = "healththreshold2"; |
||
2043 | this.number = true; |
||
2044 | DL_Set_Label(DUF_TEXT.HealthThreshold); |
||
2045 | DL_Set_Anchor("_Health2", 26, 23); |
||
2046 | </OnLoad> |
||
2047 | </Scripts> |
||
2048 | </EditBox> |
||
2049 | |||
2050 | <Frame name="$parent_ManaLabel"> |
||
2051 | <Size><AbsDimension x="200" y="20"/></Size> |
||
2052 | <Anchors> |
||
2053 | <Anchor point="TOPLEFT" relativeTo="$parent_Health2" relativePoint="BOTTOMLEFT"> |
||
2054 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
2055 | </Anchor> |
||
2056 | </Anchors> |
||
2057 | <Layers> |
||
2058 | <Layer level="ARTWORK"> |
||
2059 | <FontString name="$parent_Label" inherits="GameFontNormal" justifyH="LEFT" text="DUF_MANALABEL"> |
||
2060 | <Color r=".8" g=".8" b="0"/> |
||
2061 | <Anchors> |
||
2062 | <Anchor point="LEFT"/> |
||
2063 | </Anchors> |
||
2064 | </FontString> |
||
2065 | </Layer> |
||
2066 | </Layers> |
||
2067 | </Frame> |
||
2068 | <Button name="$parent_Mana1" inherits="DUF_ColorPickerTemplate"> |
||
2069 | <Anchors> |
||
2070 | <Anchor point="TOPLEFT" relativeTo="$parent_ManaLabel" relativePoint="BOTTOMLEFT"/> |
||
2071 | </Anchors> |
||
2072 | <Scripts> |
||
2073 | <OnLoad> |
||
2074 | this.index = "manacolor1"; |
||
2075 | </OnLoad> |
||
2076 | </Scripts> |
||
2077 | </Button> |
||
2078 | <EditBox name="$parent_ManaThreshold1" inherits="DUF_EditBoxTemplate"> |
||
2079 | <Size><AbsDimension x="50" y="20"/></Size> |
||
2080 | <Scripts> |
||
2081 | <OnLoad> |
||
2082 | this.index = "manathreshold1"; |
||
2083 | this.number = true; |
||
2084 | DL_Set_Label(DUF_TEXT.ManaThreshold); |
||
2085 | DL_Set_Anchor("_Mana1", 26, 23); |
||
2086 | </OnLoad> |
||
2087 | </Scripts> |
||
2088 | </EditBox> |
||
2089 | <Button name="$parent_Mana2" inherits="DUF_ColorPickerTemplate"> |
||
2090 | <Anchors> |
||
2091 | <Anchor point="TOPLEFT" relativeTo="$parent_Mana1" relativePoint="BOTTOMLEFT"/> |
||
2092 | </Anchors> |
||
2093 | <Scripts> |
||
2094 | <OnLoad> |
||
2095 | this.index = "manacolor2"; |
||
2096 | </OnLoad> |
||
2097 | </Scripts> |
||
2098 | </Button> |
||
2099 | <EditBox name="$parent_ManaThreshold2" inherits="DUF_EditBoxTemplate"> |
||
2100 | <Size><AbsDimension x="50" y="20"/></Size> |
||
2101 | <Scripts> |
||
2102 | <OnLoad> |
||
2103 | this.index = "manathreshold2"; |
||
2104 | this.number = true; |
||
2105 | DL_Set_Label(DUF_TEXT.ManaThreshold); |
||
2106 | DL_Set_Anchor("_Mana2", 26, 23); |
||
2107 | </OnLoad> |
||
2108 | </Scripts> |
||
2109 | </EditBox> |
||
2110 | <CheckButton name="$parent_UseFor0" inherits="DUF_CheckBoxTemplate"> |
||
2111 | <Anchors> |
||
2112 | <Anchor point="TOPLEFT" relativeTo="$parent_Mana2" relativePoint="BOTTOMLEFT"/> |
||
2113 | </Anchors> |
||
2114 | <Scripts> |
||
2115 | <OnLoad> |
||
2116 | this.index = "usefor0"; |
||
2117 | DL_Set_Label(DUF_TEXT.Mana); |
||
2118 | </OnLoad> |
||
2119 | </Scripts> |
||
2120 | </CheckButton> |
||
2121 | <CheckButton name="$parent_UseFor1" inherits="DUF_CheckBoxTemplate"> |
||
2122 | <Anchors> |
||
2123 | <Anchor point="TOPLEFT" relativeTo="$parent_UseFor0" relativePoint="BOTTOMLEFT"/> |
||
2124 | </Anchors> |
||
2125 | <Scripts> |
||
2126 | <OnLoad> |
||
2127 | this.index = "usefor1"; |
||
2128 | DL_Set_Label(DUF_TEXT.Rage); |
||
2129 | </OnLoad> |
||
2130 | </Scripts> |
||
2131 | </CheckButton> |
||
2132 | <CheckButton name="$parent_UseFor2" inherits="DUF_CheckBoxTemplate"> |
||
2133 | <Anchors> |
||
2134 | <Anchor point="TOPLEFT" relativeTo="$parent_UseFor1" relativePoint="BOTTOMLEFT"/> |
||
2135 | </Anchors> |
||
2136 | <Scripts> |
||
2137 | <OnLoad> |
||
2138 | this.index = "usefor2"; |
||
2139 | DL_Set_Label(DUF_TEXT.Focus); |
||
2140 | </OnLoad> |
||
2141 | </Scripts> |
||
2142 | </CheckButton> |
||
2143 | <CheckButton name="$parent_UseFor3" inherits="DUF_CheckBoxTemplate"> |
||
2144 | <Anchors> |
||
2145 | <Anchor point="TOPLEFT" relativeTo="$parent_UseFor2" relativePoint="BOTTOMLEFT"/> |
||
2146 | </Anchors> |
||
2147 | <Scripts> |
||
2148 | <OnLoad> |
||
2149 | this.index = "usefor3"; |
||
2150 | DL_Set_Label(DUF_TEXT.Energy); |
||
2151 | </OnLoad> |
||
2152 | </Scripts> |
||
2153 | </CheckButton> |
||
2154 | |||
2155 | <Frame name="$parent_ClassLabel"> |
||
2156 | <Size><AbsDimension x="200" y="20"/></Size> |
||
2157 | <Anchors> |
||
2158 | <Anchor point="TOPLEFT" relativeTo="$parent_Reaction6" relativePoint="BOTTOMLEFT"> |
||
2159 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
2160 | </Anchor> |
||
2161 | </Anchors> |
||
2162 | <Layers> |
||
2163 | <Layer level="ARTWORK"> |
||
2164 | <FontString name="$parent_Label" inherits="GameFontNormal" justifyH="LEFT" text="DUF_CLASSLABEL"> |
||
2165 | <Color r=".8" g=".8" b="0"/> |
||
2166 | <Anchors> |
||
2167 | <Anchor point="LEFT"/> |
||
2168 | </Anchors> |
||
2169 | </FontString> |
||
2170 | </Layer> |
||
2171 | </Layers> |
||
2172 | </Frame> |
||
2173 | <Button name="$parent_Druid" inherits="DUF_ColorPickerTemplate"> |
||
2174 | <Anchors> |
||
2175 | <Anchor point="TOPLEFT" relativeTo="$parent_ClassLabel" relativePoint="BOTTOMLEFT"/> |
||
2176 | </Anchors> |
||
2177 | <Scripts> |
||
2178 | <OnLoad> |
||
2179 | this.index = "classcolorDruid"; |
||
2180 | DL_Set_Label(DUF_TEXT.Druid); |
||
2181 | </OnLoad> |
||
2182 | </Scripts> |
||
2183 | </Button> |
||
2184 | <Button name="$parent_Hunter" inherits="DUF_ColorPickerTemplate"> |
||
2185 | <Anchors> |
||
2186 | <Anchor point="TOPLEFT" relativeTo="$parent_Druid" relativePoint="BOTTOMLEFT"/> |
||
2187 | </Anchors> |
||
2188 | <Scripts> |
||
2189 | <OnLoad> |
||
2190 | this.index = "classcolorHunter"; |
||
2191 | DL_Set_Label(DUF_TEXT.Hunter); |
||
2192 | </OnLoad> |
||
2193 | </Scripts> |
||
2194 | </Button> |
||
2195 | <Button name="$parent_Mage" inherits="DUF_ColorPickerTemplate"> |
||
2196 | <Anchors> |
||
2197 | <Anchor point="TOPLEFT" relativeTo="$parent_Hunter" relativePoint="BOTTOMLEFT"/> |
||
2198 | </Anchors> |
||
2199 | <Scripts> |
||
2200 | <OnLoad> |
||
2201 | this.index = "classcolorMage"; |
||
2202 | DL_Set_Label(DUF_TEXT.Mage); |
||
2203 | </OnLoad> |
||
2204 | </Scripts> |
||
2205 | </Button> |
||
2206 | <Button name="$parent_Paladin" inherits="DUF_ColorPickerTemplate"> |
||
2207 | <Anchors> |
||
2208 | <Anchor point="TOPLEFT" relativeTo="$parent_Mage" relativePoint="BOTTOMLEFT"/> |
||
2209 | </Anchors> |
||
2210 | <Scripts> |
||
2211 | <OnLoad> |
||
2212 | this.index = "classcolorPaladin"; |
||
2213 | DL_Set_Label(DUF_TEXT.Paladin); |
||
2214 | </OnLoad> |
||
2215 | </Scripts> |
||
2216 | </Button> |
||
2217 | <Button name="$parent_Priest" inherits="DUF_ColorPickerTemplate"> |
||
2218 | <Anchors> |
||
2219 | <Anchor point="TOPLEFT" relativeTo="$parent_Paladin" relativePoint="BOTTOMLEFT"/> |
||
2220 | </Anchors> |
||
2221 | <Scripts> |
||
2222 | <OnLoad> |
||
2223 | this.index = "classcolorPriest"; |
||
2224 | DL_Set_Label(DUF_TEXT.Priest); |
||
2225 | </OnLoad> |
||
2226 | </Scripts> |
||
2227 | </Button> |
||
2228 | <Button name="$parent_Rogue" inherits="DUF_ColorPickerTemplate"> |
||
2229 | <Anchors> |
||
2230 | <Anchor point="TOPLEFT" relativeTo="$parent_Priest" relativePoint="BOTTOMLEFT"/> |
||
2231 | </Anchors> |
||
2232 | <Scripts> |
||
2233 | <OnLoad> |
||
2234 | this.index = "classcolorRogue"; |
||
2235 | DL_Set_Label(DUF_TEXT.Rogue); |
||
2236 | </OnLoad> |
||
2237 | </Scripts> |
||
2238 | </Button> |
||
2239 | <Button name="$parent_Shaman" inherits="DUF_ColorPickerTemplate"> |
||
2240 | <Anchors> |
||
2241 | <Anchor point="TOPLEFT" relativeTo="$parent_Rogue" relativePoint="BOTTOMLEFT"/> |
||
2242 | </Anchors> |
||
2243 | <Scripts> |
||
2244 | <OnLoad> |
||
2245 | this.index = "classcolorShaman"; |
||
2246 | DL_Set_Label(DUF_TEXT.Shaman); |
||
2247 | </OnLoad> |
||
2248 | </Scripts> |
||
2249 | </Button> |
||
2250 | <Button name="$parent_Warlock" inherits="DUF_ColorPickerTemplate"> |
||
2251 | <Anchors> |
||
2252 | <Anchor point="TOPLEFT" relativeTo="$parent_Shaman" relativePoint="BOTTOMLEFT"/> |
||
2253 | </Anchors> |
||
2254 | <Scripts> |
||
2255 | <OnLoad> |
||
2256 | this.index = "classcolorWarlock"; |
||
2257 | DL_Set_Label(DUF_TEXT.Warlock); |
||
2258 | </OnLoad> |
||
2259 | </Scripts> |
||
2260 | </Button> |
||
2261 | <Button name="$parent_Warrior" inherits="DUF_ColorPickerTemplate"> |
||
2262 | <Anchors> |
||
2263 | <Anchor point="TOPLEFT" relativeTo="$parent_Warlock" relativePoint="BOTTOMLEFT"/> |
||
2264 | </Anchors> |
||
2265 | <Scripts> |
||
2266 | <OnLoad> |
||
2267 | this.index = "classcolorWarrior"; |
||
2268 | DL_Set_Label(DUF_TEXT.Warrior); |
||
2269 | </OnLoad> |
||
2270 | </Scripts> |
||
2271 | </Button> |
||
2272 | </Frames> |
||
2273 | </Frame> |
||
2274 | |||
2275 | <Button name="DUF_TextVariablesFrame" inherits="DiscordLib_TooltipBackdropTemplate" movable="true" parent="DUF_Options" hidden="true" frameStrata="DIALOG"> |
||
2276 | <Size><AbsDimension x="575" y="630"/></Size> |
||
2277 | <Anchors> |
||
2278 | <Anchor point="LEFT" relativePoint="RIGHT"/> |
||
2279 | </Anchors> |
||
2280 | <Frames> |
||
2281 | <Button name="$parent_CloseButton" inherits="DiscordLib_CloseButtonTemplate"> |
||
2282 | <Scripts> |
||
2283 | <OnClick> |
||
2284 | DUF_TextVariablesFrame:Hide(); |
||
2285 | </OnClick> |
||
2286 | </Scripts> |
||
2287 | </Button> |
||
2288 | </Frames> |
||
2289 | <Layers> |
||
2290 | <Layer level="OVERLAY"> |
||
2291 | <FontString name="$parent_Title" inherits="GameFontNormal"> |
||
2292 | <Color r="1.0" g="1.0" b="0"/> |
||
2293 | <Anchors> |
||
2294 | <Anchor point="TOP"> |
||
2295 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
2296 | </Anchor> |
||
2297 | </Anchors> |
||
2298 | </FontString> |
||
2299 | <FontString name="$parent_Column1" inherits="GameFontNormalSmall" justifyH="LEFT"> |
||
2300 | <Color r="1.0" g="1.0" b="1.0"/> |
||
2301 | <Anchors> |
||
2302 | <Anchor point="TOPLEFT"> |
||
2303 | <Offset><AbsDimension x="10" y="-40"/></Offset> |
||
2304 | </Anchor> |
||
2305 | </Anchors> |
||
2306 | </FontString> |
||
2307 | <FontString name="$parent_Column2" inherits="GameFontNormalSmall" justifyH="LEFT"> |
||
2308 | <Color r="1.0" g="1.0" b="1.0"/> |
||
2309 | <Anchors> |
||
2310 | <Anchor point="TOPLEFT" relativeTo="$parent_Column1" relativePoint="TOPRIGHT"> |
||
2311 | <Offset><AbsDimension x="10" y="0"/></Offset> |
||
2312 | </Anchor> |
||
2313 | </Anchors> |
||
2314 | </FontString> |
||
2315 | </Layer> |
||
2316 | </Layers> |
||
2317 | <Scripts> |
||
2318 | <OnLoad> |
||
2319 | this:SetBackdropBorderColor(1, 0, 0); |
||
2320 | this:SetBackdropColor(0, 0, 0, 1); |
||
2321 | this:RegisterForDrag("LeftButton", "RightButton"); |
||
2322 | </OnLoad> |
||
2323 | <OnDragStart> |
||
2324 | this:StartMoving(); |
||
2325 | </OnDragStart> |
||
2326 | <OnDragStop> |
||
2327 | this:StopMovingOrSizing(); |
||
2328 | </OnDragStop> |
||
2329 | </Scripts> |
||
2330 | </Button> |
||
2331 | |||
2332 | </Ui> |