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 | <Frame name="DUF_HealthBarOptions" parent="DUF_ElementOptions" frameStrata="HIGH" hidden="true"> |
||
4 | <Size><AbsDimension x="10" y="10"/></Size> |
||
5 | <Anchors> |
||
6 | <Anchor point="TOPLEFT"/> |
||
7 | </Anchors> |
||
8 | <Frames> |
||
9 | <Slider name="$parent_Height" inherits="DUF_SliderTemplate" minValue="1" maxValue="100" valueStep="1"> |
||
10 | <Anchors> |
||
11 | <Anchor point="TOPLEFT"> |
||
12 | <Offset><AbsDimension x="30" y="-60"/></Offset> |
||
13 | </Anchor> |
||
14 | </Anchors> |
||
15 | <Scripts> |
||
16 | <OnLoad> |
||
17 | this.index = "height"; |
||
18 | this.minlock = true; |
||
19 | DL_Set_Label(DUF_TEXT.Height); |
||
20 | </OnLoad> |
||
21 | </Scripts> |
||
22 | </Slider> |
||
23 | <Slider name="$parent_Width" inherits="DUF_SliderTemplate" minValue="1" maxValue="300" valueStep="1"> |
||
24 | <Anchors> |
||
25 | <Anchor point="TOPLEFT" relativeTo="$parent_Height" relativePoint="BOTTOMLEFT"> |
||
26 | <Offset><AbsDimension x="0" y="-25"/></Offset> |
||
27 | </Anchor> |
||
28 | </Anchors> |
||
29 | <Scripts> |
||
30 | <OnLoad> |
||
31 | this.index = "width"; |
||
32 | this.minlock = true; |
||
33 | DL_Set_Label(DUF_TEXT.Width); |
||
34 | </OnLoad> |
||
35 | </Scripts> |
||
36 | </Slider> |
||
37 | <Button name="$parent_Color" inherits="DUF_ColorPickerTemplate"> |
||
38 | <Anchors> |
||
39 | <Anchor point="TOPLEFT" relativeTo="$parent_Width" relativePoint="BOTTOMLEFT"> |
||
40 | <Offset><AbsDimension x="0" y="-30"/></Offset> |
||
41 | </Anchor> |
||
42 | </Anchors> |
||
43 | <Scripts> |
||
44 | <OnLoad> |
||
45 | this.index = "color"; |
||
46 | DL_Set_Label(DUF_TEXT.BarColor); |
||
47 | </OnLoad> |
||
48 | </Scripts> |
||
49 | </Button> |
||
50 | <Button name="$parent_SecondaryColor" inherits="DUF_ColorPickerTemplate"> |
||
51 | <Anchors> |
||
52 | <Anchor point="TOPLEFT" relativeTo="$parent_Color" relativePoint="BOTTOMLEFT"/> |
||
53 | </Anchors> |
||
54 | <Scripts> |
||
55 | <OnLoad> |
||
56 | this.index = "color2"; |
||
57 | DL_Set_Label(DUF_TEXT.SecondaryBarColor); |
||
58 | </OnLoad> |
||
59 | </Scripts> |
||
60 | </Button> |
||
61 | <CheckButton name="$parent_Fill" inherits="DUF_CheckBoxTemplate"> |
||
62 | <Anchors> |
||
63 | <Anchor point="TOPLEFT" relativeTo="$parent_SecondaryColor" relativePoint="BOTTOMLEFT"> |
||
64 | <Offset><AbsDimension x="0" y="-10"/></Offset> |
||
65 | </Anchor> |
||
66 | </Anchors> |
||
67 | <Scripts> |
||
68 | <OnLoad> |
||
69 | this.index = "fill"; |
||
70 | DL_Set_Label(DUF_TEXT.Fill); |
||
71 | </OnLoad> |
||
72 | </Scripts> |
||
73 | </CheckButton> |
||
74 | <CheckButton name="$parent_ResizeMax" inherits="DUF_CheckBoxTemplate"> |
||
75 | <Anchors> |
||
76 | <Anchor point="TOPLEFT" relativeTo="$parent_Fill" relativePoint="BOTTOMLEFT"/> |
||
77 | </Anchors> |
||
78 | <Scripts> |
||
79 | <OnLoad> |
||
80 | this.index = "resizemax"; |
||
81 | DL_Set_Label(DUF_TEXT.ResizeBasedOnMax); |
||
82 | </OnLoad> |
||
83 | </Scripts> |
||
84 | </CheckButton> |
||
85 | <CheckButton name="$parent_Fade" inherits="DUF_CheckBoxTemplate"> |
||
86 | <Anchors> |
||
87 | <Anchor point="TOPLEFT" relativeTo="$parent_ResizeMax" relativePoint="BOTTOMLEFT"/> |
||
88 | </Anchors> |
||
89 | <Scripts> |
||
90 | <OnLoad> |
||
91 | this.index = "fade"; |
||
92 | DL_Set_Label(DUF_TEXT.Fade); |
||
93 | </OnLoad> |
||
94 | </Scripts> |
||
95 | </CheckButton> |
||
96 | <EditBox name="$parent_CustomTexture" inherits="DUF_EditBoxTemplate"> |
||
97 | <Size><AbsDimension x="150" y="20"/></Size> |
||
98 | <Scripts> |
||
99 | <OnLoad> |
||
100 | this.index = "customtexture"; |
||
101 | DL_Set_Label(DUF_TEXT.CustomTexture); |
||
102 | DL_Set_Anchor("_Fade", 0, -10); |
||
103 | </OnLoad> |
||
104 | </Scripts> |
||
105 | </EditBox> |
||
106 | <EditBox name="$parent_CustomTexture2" inherits="DUF_EditBoxTemplate"> |
||
107 | <Size><AbsDimension x="150" y="20"/></Size> |
||
108 | <Scripts> |
||
109 | <OnLoad> |
||
110 | this.index = "customtexture2"; |
||
111 | DL_Set_Label(DUF_TEXT.CustomTexture2); |
||
112 | DL_Set_Anchor("_Fade", 0, -35); |
||
113 | </OnLoad> |
||
114 | </Scripts> |
||
115 | </EditBox> |
||
116 | <Button name="$parent_Direction" inherits="DiscordLib_MenuControlTemplate"> |
||
117 | <Size><AbsDimension x="100" y="24"/></Size> |
||
118 | <Scripts> |
||
119 | <OnLoad> |
||
120 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
121 | this.menu = "DUF_DropMenu"; |
||
122 | this.table = "DUF_STATUSBAR_DIRECTIONS"; |
||
123 | this.index = "direction"; |
||
124 | DL_Set_Label(DUF_TEXT.FillDirection); |
||
125 | DL_Set_Anchor("_Fade", 0, -70); |
||
126 | </OnLoad> |
||
127 | </Scripts> |
||
128 | </Button> |
||
129 | <CheckButton name="$parent_InCombat" inherits="DUF_CheckBoxTemplate"> |
||
130 | <Anchors> |
||
131 | <Anchor point="TOPLEFT" relativeTo="$parent_Fade" relativePoint="BOTTOMLEFT"> |
||
132 | <Offset><AbsDimension x="0" y="-110"/></Offset> |
||
133 | </Anchor> |
||
134 | </Anchors> |
||
135 | <Scripts> |
||
136 | <OnLoad> |
||
137 | this.index = "incombat"; |
||
138 | DL_Set_Label(DUF_TEXT.ShowInCombat); |
||
139 | </OnLoad> |
||
140 | </Scripts> |
||
141 | </CheckButton> |
||
142 | <CheckButton name="$parent_HealthUpdating" inherits="DUF_CheckBoxTemplate"> |
||
143 | <Anchors> |
||
144 | <Anchor point="TOPLEFT" relativeTo="$parent_InCombat" relativePoint="BOTTOMLEFT"/> |
||
145 | </Anchors> |
||
146 | <Scripts> |
||
147 | <OnLoad> |
||
148 | this.index = "healthupdating"; |
||
149 | DL_Set_Label(DUF_TEXT.HealthUpdating); |
||
150 | </OnLoad> |
||
151 | </Scripts> |
||
152 | </CheckButton> |
||
153 | <CheckButton name="$parent_ManaUpdating" inherits="DUF_CheckBoxTemplate"> |
||
154 | <Anchors> |
||
155 | <Anchor point="TOPLEFT" relativeTo="$parent_HealthUpdating" relativePoint="BOTTOMLEFT"/> |
||
156 | </Anchors> |
||
157 | <Scripts> |
||
158 | <OnLoad> |
||
159 | this.index = "manaupdating"; |
||
160 | DL_Set_Label(DUF_TEXT.ManaUpdating); |
||
161 | </OnLoad> |
||
162 | </Scripts> |
||
163 | </CheckButton> |
||
164 | </Frames> |
||
165 | <Scripts> |
||
166 | <OnLoad> |
||
167 | this.initFunc = DUF_Initialize_StatusBar; |
||
168 | </OnLoad> |
||
169 | </Scripts> |
||
170 | </Frame> |
||
171 | |||
172 | <Frame name="DUF_ManaBarOptions" parent="DUF_ElementOptions" frameStrata="HIGH" hidden="true"> |
||
173 | <Size><AbsDimension x="10" y="10"/></Size> |
||
174 | <Anchors> |
||
175 | <Anchor point="TOPLEFT"/> |
||
176 | </Anchors> |
||
177 | <Frames> |
||
178 | <Slider name="$parent_Height" inherits="DUF_SliderTemplate" minValue="1" maxValue="100" valueStep="1"> |
||
179 | <Anchors> |
||
180 | <Anchor point="TOPLEFT"> |
||
181 | <Offset><AbsDimension x="30" y="-60"/></Offset> |
||
182 | </Anchor> |
||
183 | </Anchors> |
||
184 | <Scripts> |
||
185 | <OnLoad> |
||
186 | this.index = "height"; |
||
187 | this.minlock = true; |
||
188 | DL_Set_Label(DUF_TEXT.Height); |
||
189 | </OnLoad> |
||
190 | </Scripts> |
||
191 | </Slider> |
||
192 | <Slider name="$parent_Width" inherits="DUF_SliderTemplate" minValue="1" maxValue="300" valueStep="1"> |
||
193 | <Anchors> |
||
194 | <Anchor point="TOPLEFT" relativeTo="$parent_Height" relativePoint="BOTTOMLEFT"> |
||
195 | <Offset><AbsDimension x="0" y="-25"/></Offset> |
||
196 | </Anchor> |
||
197 | </Anchors> |
||
198 | <Scripts> |
||
199 | <OnLoad> |
||
200 | this.index = "width"; |
||
201 | this.minlock = true; |
||
202 | DL_Set_Label(DUF_TEXT.Width); |
||
203 | </OnLoad> |
||
204 | </Scripts> |
||
205 | </Slider> |
||
206 | <Button name="$parent_ManaColor" inherits="DUF_ColorPickerTemplate"> |
||
207 | <Anchors> |
||
208 | <Anchor point="TOPLEFT" relativeTo="$parent_Width" relativePoint="BOTTOMLEFT"> |
||
209 | <Offset><AbsDimension x="0" y="-30"/></Offset> |
||
210 | </Anchor> |
||
211 | </Anchors> |
||
212 | <Scripts> |
||
213 | <OnLoad> |
||
214 | this.index = "manacolor"; |
||
215 | DL_Set_Label(DUF_TEXT.ManaColor); |
||
216 | </OnLoad> |
||
217 | </Scripts> |
||
218 | </Button> |
||
219 | <Button name="$parent_RageColor" inherits="DUF_ColorPickerTemplate"> |
||
220 | <Anchors> |
||
221 | <Anchor point="TOPLEFT" relativeTo="$parent_ManaColor" relativePoint="BOTTOMLEFT"/> |
||
222 | </Anchors> |
||
223 | <Scripts> |
||
224 | <OnLoad> |
||
225 | this.index = "ragecolor"; |
||
226 | DL_Set_Label(DUF_TEXT.RageColor); |
||
227 | </OnLoad> |
||
228 | </Scripts> |
||
229 | </Button> |
||
230 | <Button name="$parent_FocusColor" inherits="DUF_ColorPickerTemplate"> |
||
231 | <Anchors> |
||
232 | <Anchor point="TOPLEFT" relativeTo="$parent_RageColor" relativePoint="BOTTOMLEFT"/> |
||
233 | </Anchors> |
||
234 | <Scripts> |
||
235 | <OnLoad> |
||
236 | this.index = "focuscolor"; |
||
237 | DL_Set_Label(DUF_TEXT.FocusColor); |
||
238 | </OnLoad> |
||
239 | </Scripts> |
||
240 | </Button> |
||
241 | <Button name="$parent_EnergyColor" inherits="DUF_ColorPickerTemplate"> |
||
242 | <Anchors> |
||
243 | <Anchor point="TOPLEFT" relativeTo="$parent_FocusColor" relativePoint="BOTTOMLEFT"/> |
||
244 | </Anchors> |
||
245 | <Scripts> |
||
246 | <OnLoad> |
||
247 | this.index = "energycolor"; |
||
248 | DL_Set_Label(DUF_TEXT.EnergyColor); |
||
249 | </OnLoad> |
||
250 | </Scripts> |
||
251 | </Button> |
||
252 | <Button name="$parent_SecondaryColor" inherits="DUF_ColorPickerTemplate"> |
||
253 | <Anchors> |
||
254 | <Anchor point="TOPLEFT" relativeTo="$parent_EnergyColor" relativePoint="BOTTOMLEFT"/> |
||
255 | </Anchors> |
||
256 | <Scripts> |
||
257 | <OnLoad> |
||
258 | this.index = "color2"; |
||
259 | DL_Set_Label(DUF_TEXT.SecondaryBarColor); |
||
260 | </OnLoad> |
||
261 | </Scripts> |
||
262 | </Button> |
||
263 | <CheckButton name="$parent_Fill" inherits="DUF_CheckBoxTemplate"> |
||
264 | <Anchors> |
||
265 | <Anchor point="TOPLEFT" relativeTo="$parent_SecondaryColor" relativePoint="BOTTOMLEFT"> |
||
266 | <Offset><AbsDimension x="0" y="-10"/></Offset> |
||
267 | </Anchor> |
||
268 | </Anchors> |
||
269 | <Scripts> |
||
270 | <OnLoad> |
||
271 | this.index = "fill"; |
||
272 | DL_Set_Label(DUF_TEXT.Fill); |
||
273 | </OnLoad> |
||
274 | </Scripts> |
||
275 | </CheckButton> |
||
276 | <CheckButton name="$parent_ResizeMax" inherits="DUF_CheckBoxTemplate"> |
||
277 | <Anchors> |
||
278 | <Anchor point="TOPLEFT" relativeTo="$parent_Fill" relativePoint="BOTTOMLEFT"/> |
||
279 | </Anchors> |
||
280 | <Scripts> |
||
281 | <OnLoad> |
||
282 | this.index = "resizemax"; |
||
283 | DL_Set_Label(DUF_TEXT.ResizeBasedOnMax); |
||
284 | </OnLoad> |
||
285 | </Scripts> |
||
286 | </CheckButton> |
||
287 | <CheckButton name="$parent_Fade" inherits="DUF_CheckBoxTemplate"> |
||
288 | <Anchors> |
||
289 | <Anchor point="TOPLEFT" relativeTo="$parent_ResizeMax" relativePoint="BOTTOMLEFT"/> |
||
290 | </Anchors> |
||
291 | <Scripts> |
||
292 | <OnLoad> |
||
293 | this.index = "fade"; |
||
294 | DL_Set_Label(DUF_TEXT.Fade); |
||
295 | </OnLoad> |
||
296 | </Scripts> |
||
297 | </CheckButton> |
||
298 | <CheckButton name="$parent_HideIfNoMana" inherits="DUF_CheckBoxTemplate"> |
||
299 | <Anchors> |
||
300 | <Anchor point="TOPLEFT" relativeTo="$parent_Fade" relativePoint="BOTTOMLEFT"/> |
||
301 | </Anchors> |
||
302 | <Scripts> |
||
303 | <OnLoad> |
||
304 | this.index = "hideifnomana"; |
||
305 | DL_Set_Label(DUF_TEXT.HideIfNoMana); |
||
306 | </OnLoad> |
||
307 | </Scripts> |
||
308 | </CheckButton> |
||
309 | <EditBox name="$parent_CustomTexture" inherits="DUF_EditBoxTemplate"> |
||
310 | <Size><AbsDimension x="150" y="20"/></Size> |
||
311 | <Scripts> |
||
312 | <OnLoad> |
||
313 | this.index = "customtexture"; |
||
314 | DL_Set_Label(DUF_TEXT.CustomTexture); |
||
315 | DL_Set_Anchor("_HideIfNoMana", 0, -10); |
||
316 | </OnLoad> |
||
317 | </Scripts> |
||
318 | </EditBox> |
||
319 | <EditBox name="$parent_CustomTexture2" inherits="DUF_EditBoxTemplate"> |
||
320 | <Size><AbsDimension x="150" y="20"/></Size> |
||
321 | <Scripts> |
||
322 | <OnLoad> |
||
323 | this.index = "customtexture2"; |
||
324 | DL_Set_Label(DUF_TEXT.CustomTexture2); |
||
325 | DL_Set_Anchor("_HideIfNoMana", 0, -35); |
||
326 | </OnLoad> |
||
327 | </Scripts> |
||
328 | </EditBox> |
||
329 | <Button name="$parent_Direction" inherits="DiscordLib_MenuControlTemplate"> |
||
330 | <Size><AbsDimension x="100" y="24"/></Size> |
||
331 | <Scripts> |
||
332 | <OnLoad> |
||
333 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
334 | this.menu = "DUF_DropMenu"; |
||
335 | this.table = "DUF_STATUSBAR_DIRECTIONS"; |
||
336 | this.index = "direction"; |
||
337 | DL_Set_Label(DUF_TEXT.FillDirection); |
||
338 | DL_Set_Anchor("_HideIfNoMana", 0, -70); |
||
339 | </OnLoad> |
||
340 | </Scripts> |
||
341 | </Button> |
||
342 | <CheckButton name="$parent_InCombat" inherits="DUF_CheckBoxTemplate"> |
||
343 | <Anchors> |
||
344 | <Anchor point="TOPLEFT" relativeTo="$parent_HideIfNoMana" relativePoint="BOTTOMLEFT"> |
||
345 | <Offset><AbsDimension x="0" y="-110"/></Offset> |
||
346 | </Anchor> |
||
347 | </Anchors> |
||
348 | <Scripts> |
||
349 | <OnLoad> |
||
350 | this.index = "incombat"; |
||
351 | DL_Set_Label(DUF_TEXT.ShowInCombat); |
||
352 | </OnLoad> |
||
353 | </Scripts> |
||
354 | </CheckButton> |
||
355 | <CheckButton name="$parent_HealthUpdating" inherits="DUF_CheckBoxTemplate"> |
||
356 | <Anchors> |
||
357 | <Anchor point="TOPLEFT" relativeTo="$parent_InCombat" relativePoint="BOTTOMLEFT"/> |
||
358 | </Anchors> |
||
359 | <Scripts> |
||
360 | <OnLoad> |
||
361 | this.index = "healthupdating"; |
||
362 | DL_Set_Label(DUF_TEXT.HealthUpdating); |
||
363 | </OnLoad> |
||
364 | </Scripts> |
||
365 | </CheckButton> |
||
366 | <CheckButton name="$parent_ManaUpdating" inherits="DUF_CheckBoxTemplate"> |
||
367 | <Anchors> |
||
368 | <Anchor point="TOPLEFT" relativeTo="$parent_HealthUpdating" relativePoint="BOTTOMLEFT"/> |
||
369 | </Anchors> |
||
370 | <Scripts> |
||
371 | <OnLoad> |
||
372 | this.index = "manaupdating"; |
||
373 | DL_Set_Label(DUF_TEXT.ManaUpdating); |
||
374 | </OnLoad> |
||
375 | </Scripts> |
||
376 | </CheckButton> |
||
377 | </Frames> |
||
378 | <Scripts> |
||
379 | <OnLoad> |
||
380 | this.initFunc = DUF_Initialize_StatusBar; |
||
381 | </OnLoad> |
||
382 | </Scripts> |
||
383 | </Frame> |
||
384 | |||
385 | <Frame name="DUF_XPBarOptions" parent="DUF_ElementOptions" frameStrata="HIGH" hidden="true"> |
||
386 | <Size><AbsDimension x="10" y="10"/></Size> |
||
387 | <Anchors> |
||
388 | <Anchor point="TOPLEFT"/> |
||
389 | </Anchors> |
||
390 | <Frames> |
||
391 | <Slider name="$parent_Height" inherits="DUF_SliderTemplate" minValue="1" maxValue="100" valueStep="1"> |
||
392 | <Anchors> |
||
393 | <Anchor point="TOPLEFT"> |
||
394 | <Offset><AbsDimension x="30" y="-60"/></Offset> |
||
395 | </Anchor> |
||
396 | </Anchors> |
||
397 | <Scripts> |
||
398 | <OnLoad> |
||
399 | this.index = "height"; |
||
400 | this.minlock = true; |
||
401 | DL_Set_Label(DUF_TEXT.Height); |
||
402 | </OnLoad> |
||
403 | </Scripts> |
||
404 | </Slider> |
||
405 | <Slider name="$parent_Width" inherits="DUF_SliderTemplate" minValue="1" maxValue="300" valueStep="1"> |
||
406 | <Anchors> |
||
407 | <Anchor point="TOPLEFT" relativeTo="$parent_Height" relativePoint="BOTTOMLEFT"> |
||
408 | <Offset><AbsDimension x="0" y="-25"/></Offset> |
||
409 | </Anchor> |
||
410 | </Anchors> |
||
411 | <Scripts> |
||
412 | <OnLoad> |
||
413 | this.index = "width"; |
||
414 | this.minlock = true; |
||
415 | DL_Set_Label(DUF_TEXT.Width); |
||
416 | </OnLoad> |
||
417 | </Scripts> |
||
418 | </Slider> |
||
419 | <Button name="$parent_Color" inherits="DUF_ColorPickerTemplate"> |
||
420 | <Anchors> |
||
421 | <Anchor point="TOPLEFT" relativeTo="$parent_Width" relativePoint="BOTTOMLEFT"> |
||
422 | <Offset><AbsDimension x="0" y="-30"/></Offset> |
||
423 | </Anchor> |
||
424 | </Anchors> |
||
425 | <Scripts> |
||
426 | <OnLoad> |
||
427 | this.index = "color"; |
||
428 | DL_Set_Label(DUF_TEXT.BarColor); |
||
429 | </OnLoad> |
||
430 | </Scripts> |
||
431 | </Button> |
||
432 | <Button name="$parent_SecondaryColor" inherits="DUF_ColorPickerTemplate"> |
||
433 | <Anchors> |
||
434 | <Anchor point="TOPLEFT" relativeTo="$parent_Color" relativePoint="BOTTOMLEFT"/> |
||
435 | </Anchors> |
||
436 | <Scripts> |
||
437 | <OnLoad> |
||
438 | this.index = "color2"; |
||
439 | DL_Set_Label(DUF_TEXT.SecondaryBarColor); |
||
440 | </OnLoad> |
||
441 | </Scripts> |
||
442 | </Button> |
||
443 | <EditBox name="$parent_CustomTexture" inherits="DUF_EditBoxTemplate"> |
||
444 | <Size><AbsDimension x="150" y="20"/></Size> |
||
445 | <Scripts> |
||
446 | <OnLoad> |
||
447 | this.index = "customtexture"; |
||
448 | DL_Set_Label(DUF_TEXT.CustomTexture); |
||
449 | DL_Set_Anchor("_SecondaryColor", 0, -10); |
||
450 | </OnLoad> |
||
451 | </Scripts> |
||
452 | </EditBox> |
||
453 | <EditBox name="$parent_CustomTexture2" inherits="DUF_EditBoxTemplate"> |
||
454 | <Size><AbsDimension x="150" y="20"/></Size> |
||
455 | <Scripts> |
||
456 | <OnLoad> |
||
457 | this.index = "customtexture2"; |
||
458 | DL_Set_Label(DUF_TEXT.CustomTexture2); |
||
459 | DL_Set_Anchor("_SecondaryColor", 0, -35); |
||
460 | </OnLoad> |
||
461 | </Scripts> |
||
462 | </EditBox> |
||
463 | <Button name="$parent_Direction" inherits="DiscordLib_MenuControlTemplate"> |
||
464 | <Size><AbsDimension x="100" y="24"/></Size> |
||
465 | <Scripts> |
||
466 | <OnLoad> |
||
467 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
468 | this.menu = "DUF_DropMenu"; |
||
469 | this.table = "DUF_STATUSBAR_DIRECTIONS"; |
||
470 | this.index = "direction"; |
||
471 | DL_Set_Label(DUF_TEXT.FillDirection); |
||
472 | DL_Set_Anchor("_SecondaryColor", 0, -70); |
||
473 | </OnLoad> |
||
474 | </Scripts> |
||
475 | </Button> |
||
476 | <CheckButton name="$parent_Reputation" inherits="DUF_CheckBoxTemplate"> |
||
477 | <Anchors> |
||
478 | <Anchor point="TOPLEFT" relativeTo="$parent_SecondaryColor" relativePoint="BOTTOMLEFT"> |
||
479 | <Offset><AbsDimension x="0" y="-100"/></Offset> |
||
480 | </Anchor> |
||
481 | </Anchors> |
||
482 | <Scripts> |
||
483 | <OnLoad> |
||
484 | this.index = "trackRep"; |
||
485 | DL_Set_Label(DUF_TEXT.TrackReputation); |
||
486 | </OnLoad> |
||
487 | </Scripts> |
||
488 | </CheckButton> |
||
489 | </Frames> |
||
490 | <Scripts> |
||
491 | <OnLoad> |
||
492 | this.initFunc = DUF_Initialize_StatusBar; |
||
493 | </OnLoad> |
||
494 | </Scripts> |
||
495 | </Frame> |
||
496 | |||
497 | <Frame name="DUF_IconOptions" parent="DUF_ElementOptions" frameStrata="HIGH" hidden="true"> |
||
498 | <Size><AbsDimension x="10" y="10"/></Size> |
||
499 | <Anchors> |
||
500 | <Anchor point="TOPLEFT"/> |
||
501 | </Anchors> |
||
502 | <Frames> |
||
503 | <Slider name="$parent_Size" inherits="DUF_SliderTemplate" minValue="1" maxValue="100" valueStep="1"> |
||
504 | <Anchors> |
||
505 | <Anchor point="TOPLEFT"> |
||
506 | <Offset><AbsDimension x="30" y="-60"/></Offset> |
||
507 | </Anchor> |
||
508 | </Anchors> |
||
509 | <Scripts> |
||
510 | <OnLoad> |
||
511 | this.index = "size"; |
||
512 | this.minlock = true; |
||
513 | DL_Set_Label(DUF_TEXT.Size); |
||
514 | </OnLoad> |
||
515 | </Scripts> |
||
516 | </Slider> |
||
517 | <CheckButton name="$parent_Circle" inherits="DUF_CheckBoxTemplate"> |
||
518 | <Anchors> |
||
519 | <Anchor point="TOPLEFT" relativeTo="$parent_Size" relativePoint="BOTTOMLEFT"> |
||
520 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
521 | </Anchor> |
||
522 | </Anchors> |
||
523 | <Scripts> |
||
524 | <OnLoad> |
||
525 | this.index = "circle"; |
||
526 | DL_Set_Label(DUF_TEXT.ShowCircularBorder); |
||
527 | </OnLoad> |
||
528 | </Scripts> |
||
529 | </CheckButton> |
||
530 | <CheckButton name="$parent_TargetIcon" inherits="DUF_CheckBoxTemplate"> |
||
531 | <Anchors> |
||
532 | <Anchor point="TOPLEFT" relativeTo="$parent_Circle" relativePoint="BOTTOMLEFT"> |
||
533 | <Offset><AbsDimension x="0" y="-5"/></Offset> |
||
534 | </Anchor> |
||
535 | </Anchors> |
||
536 | <Scripts> |
||
537 | <OnLoad> |
||
538 | this.index = "targetIcon"; |
||
539 | DL_Set_Label(DUF_TEXT.ShowTargetIcon); |
||
540 | </OnLoad> |
||
541 | </Scripts> |
||
542 | </CheckButton> |
||
543 | </Frames> |
||
544 | <Scripts> |
||
545 | <OnLoad> |
||
546 | this.initFunc = DUF_Init_Element; |
||
547 | </OnLoad> |
||
548 | </Scripts> |
||
549 | </Frame> |
||
550 | |||
551 | <Frame name="DUF_PortraitOptions" parent="DUF_ElementOptions" frameStrata="HIGH" hidden="true"> |
||
552 | <Size><AbsDimension x="10" y="10"/></Size> |
||
553 | <Anchors> |
||
554 | <Anchor point="TOPLEFT"/> |
||
555 | </Anchors> |
||
556 | <Frames> |
||
557 | <Slider name="$parent_Size" inherits="DUF_SliderTemplate" minValue="1" maxValue="100" valueStep="1"> |
||
558 | <Anchors> |
||
559 | <Anchor point="TOPLEFT"> |
||
560 | <Offset><AbsDimension x="30" y="-60"/></Offset> |
||
561 | </Anchor> |
||
562 | </Anchors> |
||
563 | <Scripts> |
||
564 | <OnLoad> |
||
565 | this.index = "size"; |
||
566 | this.minlock = true; |
||
567 | DL_Set_Label(DUF_TEXT.Size); |
||
568 | </OnLoad> |
||
569 | </Scripts> |
||
570 | </Slider> |
||
571 | <Button name="$parent_BorderColor" inherits="DUF_ColorPickerTemplate"> |
||
572 | <Anchors> |
||
573 | <Anchor point="TOPLEFT" relativeTo="$parent_Size" relativePoint="BOTTOMLEFT"> |
||
574 | <Offset><AbsDimension x="0" y="-30"/></Offset> |
||
575 | </Anchor> |
||
576 | </Anchors> |
||
577 | <Scripts> |
||
578 | <OnLoad> |
||
579 | this.index = "bordcolor"; |
||
580 | DL_Set_Label(DUF_TEXT.BorderColor); |
||
581 | </OnLoad> |
||
582 | </Scripts> |
||
583 | </Button> |
||
584 | <CheckButton name="$parent_UseClassTexture" inherits="DUF_CheckBoxTemplate"> |
||
585 | <Anchors> |
||
586 | <Anchor point="TOPLEFT" relativeTo="$parent_Size" relativePoint="BOTTOMLEFT"> |
||
587 | <Offset><AbsDimension x="0" y="-60"/></Offset> |
||
588 | </Anchor> |
||
589 | </Anchors> |
||
590 | <Scripts> |
||
591 | <OnLoad> |
||
592 | this.index = "useclass"; |
||
593 | DL_Set_Label(DUF_TEXT.UseClassTexture); |
||
594 | </OnLoad> |
||
595 | </Scripts> |
||
596 | </CheckButton> |
||
597 | <CheckButton name="$parent_ShowBorder" inherits="DUF_CheckBoxTemplate"> |
||
598 | <Anchors> |
||
599 | <Anchor point="TOPLEFT" relativeTo="$parent_UseClassTexture" relativePoint="BOTTOMLEFT"> |
||
600 | <Offset><AbsDimension x="0" y="0"/></Offset> |
||
601 | </Anchor> |
||
602 | </Anchors> |
||
603 | <Scripts> |
||
604 | <OnLoad> |
||
605 | this.index = "showborder"; |
||
606 | DL_Set_Label(DUF_TEXT.ShowCircularBorder); |
||
607 | </OnLoad> |
||
608 | </Scripts> |
||
609 | </CheckButton> |
||
610 | </Frames> |
||
611 | <Scripts> |
||
612 | <OnLoad> |
||
613 | this.initFunc = DUF_Init_Element; |
||
614 | </OnLoad> |
||
615 | </Scripts> |
||
616 | </Frame> |
||
617 | |||
618 | <Frame name="DUF_ClassIconOptions" parent="DUF_ElementOptions" frameStrata="HIGH" hidden="true"> |
||
619 | <Size><AbsDimension x="10" y="10"/></Size> |
||
620 | <Anchors> |
||
621 | <Anchor point="TOPLEFT"/> |
||
622 | </Anchors> |
||
623 | <Frames> |
||
624 | <Slider name="$parent_Size" inherits="DUF_SliderTemplate" minValue="1" maxValue="100" valueStep="1"> |
||
625 | <Anchors> |
||
626 | <Anchor point="TOPLEFT"> |
||
627 | <Offset><AbsDimension x="30" y="-60"/></Offset> |
||
628 | </Anchor> |
||
629 | </Anchors> |
||
630 | <Scripts> |
||
631 | <OnLoad> |
||
632 | this.index = "size"; |
||
633 | this.minlock = true; |
||
634 | DL_Set_Label(DUF_TEXT.Size); |
||
635 | </OnLoad> |
||
636 | </Scripts> |
||
637 | </Slider> |
||
638 | <CheckButton name="$parent_UseRaceTexture" inherits="DUF_CheckBoxTemplate"> |
||
639 | <Anchors> |
||
640 | <Anchor point="TOPLEFT" relativeTo="$parent_Size" relativePoint="BOTTOMLEFT"> |
||
641 | <Offset><AbsDimension x="0" y="-30"/></Offset> |
||
642 | </Anchor> |
||
643 | </Anchors> |
||
644 | <Scripts> |
||
645 | <OnLoad> |
||
646 | this.index = "userace"; |
||
647 | DL_Set_Label(DUF_TEXT.UseRaceTexture); |
||
648 | </OnLoad> |
||
649 | </Scripts> |
||
650 | </CheckButton> |
||
651 | </Frames> |
||
652 | <Scripts> |
||
653 | <OnLoad> |
||
654 | this.initFunc = DUF_Init_Element; |
||
655 | </OnLoad> |
||
656 | </Scripts> |
||
657 | </Frame> |
||
658 | |||
659 | <Frame name="DUF_EliteTextureOptions" parent="DUF_ElementOptions" frameStrata="HIGH" hidden="true"> |
||
660 | <Size><AbsDimension x="10" y="10"/></Size> |
||
661 | <Anchors> |
||
662 | <Anchor point="TOPLEFT"/> |
||
663 | </Anchors> |
||
664 | <Frames> |
||
665 | <Slider name="$parent_Size" inherits="DUF_SliderTemplate" minValue="1" maxValue="150" valueStep="1"> |
||
666 | <Anchors> |
||
667 | <Anchor point="TOPLEFT"> |
||
668 | <Offset><AbsDimension x="30" y="-60"/></Offset> |
||
669 | </Anchor> |
||
670 | </Anchors> |
||
671 | <Scripts> |
||
672 | <OnLoad> |
||
673 | this.index = "size"; |
||
674 | this.minlock = true; |
||
675 | DL_Set_Label(DUF_TEXT.Size); |
||
676 | </OnLoad> |
||
677 | </Scripts> |
||
678 | </Slider> |
||
679 | <CheckButton name="$parent_FacesLeft" inherits="DUF_CheckBoxTemplate"> |
||
680 | <Anchors> |
||
681 | <Anchor point="TOPLEFT" relativeTo="$parent_Size" relativePoint="BOTTOMLEFT"> |
||
682 | <Offset><AbsDimension x="0" y="-30"/></Offset> |
||
683 | </Anchor> |
||
684 | </Anchors> |
||
685 | <Scripts> |
||
686 | <OnLoad> |
||
687 | this.index = "faceleft"; |
||
688 | DL_Set_Label(DUF_TEXT.FacesLeft); |
||
689 | </OnLoad> |
||
690 | </Scripts> |
||
691 | </CheckButton> |
||
692 | <EditBox name="$parent_CustomEliteTexture" inherits="DUF_EditBoxTemplate"> |
||
693 | <Size><AbsDimension x="150" y="20"/></Size> |
||
694 | <Scripts> |
||
695 | <OnLoad> |
||
696 | this.index = "elitetexture"; |
||
697 | DL_Set_Label(DUF_TEXT.CustomEliteTexture); |
||
698 | DL_Set_Anchor("_FacesLeft", 0, -10); |
||
699 | </OnLoad> |
||
700 | </Scripts> |
||
701 | </EditBox> |
||
702 | <EditBox name="$parent_CustomRareTexture" inherits="DUF_EditBoxTemplate"> |
||
703 | <Size><AbsDimension x="150" y="20"/></Size> |
||
704 | <Scripts> |
||
705 | <OnLoad> |
||
706 | this.index = "raretexture"; |
||
707 | DL_Set_Label(DUF_TEXT.CustomRareTexture); |
||
708 | DL_Set_Anchor("_FacesLeft", 0, -35); |
||
709 | </OnLoad> |
||
710 | </Scripts> |
||
711 | </EditBox> |
||
712 | </Frames> |
||
713 | <Scripts> |
||
714 | <OnLoad> |
||
715 | this.initFunc = DUF_Initialize_EliteTexture; |
||
716 | </OnLoad> |
||
717 | </Scripts> |
||
718 | </Frame> |
||
719 | |||
720 | <Frame name="DUF_TextBoxOptions" parent="DUF_ElementOptions" frameStrata="HIGH" hidden="true"> |
||
721 | <Size><AbsDimension x="10" y="10"/></Size> |
||
722 | <Anchors> |
||
723 | <Anchor point="TOPLEFT"/> |
||
724 | </Anchors> |
||
725 | <Frames> |
||
726 | <EditBox name="$parent_Label" inherits="DUF_EditBoxTemplate"> |
||
727 | <Size><AbsDimension x="325" y="20"/></Size> |
||
728 | <Scripts> |
||
729 | <OnLoad> |
||
730 | this.index = "label"; |
||
731 | DL_Set_Label(DUF_TEXT.Label); |
||
732 | DL_Set_Anchor("", 30, -35); |
||
733 | </OnLoad> |
||
734 | </Scripts> |
||
735 | </EditBox> |
||
736 | <Slider name="$parent_Height" inherits="DUF_SliderTemplate" minValue="1" maxValue="100" valueStep="1"> |
||
737 | <Anchors> |
||
738 | <Anchor point="TOPLEFT"> |
||
739 | <Offset><AbsDimension x="30" y="-90"/></Offset> |
||
740 | </Anchor> |
||
741 | </Anchors> |
||
742 | <Scripts> |
||
743 | <OnLoad> |
||
744 | this.index = "height"; |
||
745 | this.minlock = true; |
||
746 | DL_Set_Label(DUF_TEXT.Height); |
||
747 | </OnLoad> |
||
748 | </Scripts> |
||
749 | </Slider> |
||
750 | <Slider name="$parent_Width" inherits="DUF_SliderTemplate" minValue="1" maxValue="300" valueStep="1"> |
||
751 | <Anchors> |
||
752 | <Anchor point="TOPLEFT" relativeTo="$parent_Height" relativePoint="BOTTOMLEFT"> |
||
753 | <Offset><AbsDimension x="0" y="-25"/></Offset> |
||
754 | </Anchor> |
||
755 | </Anchors> |
||
756 | <Scripts> |
||
757 | <OnLoad> |
||
758 | this.index = "width"; |
||
759 | this.minlock = true; |
||
760 | DL_Set_Label(DUF_TEXT.Width); |
||
761 | </OnLoad> |
||
762 | </Scripts> |
||
763 | </Slider> |
||
764 | <Button name="$parent_TextOutline" inherits="DiscordLib_MenuControlTemplate"> |
||
765 | <Size><AbsDimension x="100" y="24"/></Size> |
||
766 | <Scripts> |
||
767 | <OnLoad> |
||
768 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
769 | this.menu = "DUF_DropMenu"; |
||
770 | this.table = "DUF_TEXT_OUTLINES"; |
||
771 | this.index = "outline"; |
||
772 | this.initFunc = DUF_Init_Element; |
||
773 | DL_Set_Label(DUF_TEXT.Outline); |
||
774 | DL_Set_Anchor("_Height", 80, 0, "LEFT", "RIGHT"); |
||
775 | </OnLoad> |
||
776 | </Scripts> |
||
777 | </Button> |
||
778 | <EditBox name="$parent_Text" inherits="DUF_EditBoxTemplate"> |
||
779 | <Size><AbsDimension x="325" y="20"/></Size> |
||
780 | <Scripts> |
||
781 | <OnLoad> |
||
782 | this.index = "text"; |
||
783 | DL_Set_Label(DUF_TEXT.Text); |
||
784 | DL_Set_Anchor("_Width", 0, -20); |
||
785 | </OnLoad> |
||
786 | </Scripts> |
||
787 | </EditBox> |
||
788 | <Button name="$parent_VariablesButton" inherits="UIPanelButtonTemplate" hidden="false"> |
||
789 | <Size><AbsDimension x="170" y="24"/></Size> |
||
790 | <Anchors> |
||
791 | <Anchor point="TOP" relativeTo="$parent_Text" relativePoint="BOTTOM"/> |
||
792 | </Anchors> |
||
793 | <Scripts> |
||
794 | <OnLoad> |
||
795 | this:SetText(DUF_TEXT.TextVariables); |
||
796 | </OnLoad> |
||
797 | <OnClick> |
||
798 | if (DUF_TextVariablesFrame:IsVisible()) then |
||
799 | DUF_TextVariablesFrame:Hide(); |
||
800 | else |
||
801 | DUF_TextVariablesFrame:Show(); |
||
802 | end |
||
803 | </OnClick> |
||
804 | </Scripts> |
||
805 | </Button> |
||
806 | <CheckButton name="$parent_VerticalText" inherits="DUF_CheckBoxTemplate"> |
||
807 | <Anchors> |
||
808 | <Anchor point="TOPLEFT" relativeTo="$parent_Width" relativePoint="BOTTOMLEFT"> |
||
809 | <Offset><AbsDimension x="0" y="-70"/></Offset> |
||
810 | </Anchor> |
||
811 | </Anchors> |
||
812 | <Scripts> |
||
813 | <OnLoad> |
||
814 | this.index = "verttext"; |
||
815 | DL_Set_Label(DUF_TEXT.VerticalText); |
||
816 | </OnLoad> |
||
817 | </Scripts> |
||
818 | </CheckButton> |
||
819 | <EditBox name="$parent_MaxCharacters" inherits="DUF_EditBoxTemplate"> |
||
820 | <Size><AbsDimension x="70" y="20"/></Size> |
||
821 | <Scripts> |
||
822 | <OnLoad> |
||
823 | this.index = "maxcharacters"; |
||
824 | this.number = true; |
||
825 | DL_Set_Label(DUF_TEXT.MaxCharacters); |
||
826 | DL_Set_Anchor("_Width", 0, -90); |
||
827 | </OnLoad> |
||
828 | </Scripts> |
||
829 | </EditBox> |
||
830 | <Button name="$parent_JustifyH" inherits="DiscordLib_MenuControlTemplate"> |
||
831 | <Size><AbsDimension x="100" y="24"/></Size> |
||
832 | <Scripts> |
||
833 | <OnLoad> |
||
834 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
835 | this.menu = "DUF_DropMenu"; |
||
836 | this.table = "DUF_JUSTIFICATION_HORIZONTAL"; |
||
837 | this.index = "justify"; |
||
838 | this.initFunc = DUF_Init_Element; |
||
839 | DL_Set_Label(DUF_TEXT.JustifyH); |
||
840 | DL_Set_Anchor("_Width", 0, -115); |
||
841 | </OnLoad> |
||
842 | </Scripts> |
||
843 | </Button> |
||
844 | <Button name="$parent_JustifyV" inherits="DiscordLib_MenuControlTemplate"> |
||
845 | <Size><AbsDimension x="100" y="24"/></Size> |
||
846 | <Scripts> |
||
847 | <OnLoad> |
||
848 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
849 | this.menu = "DUF_DropMenu"; |
||
850 | this.table = "DUF_JUSTIFICATION_VERTICAL"; |
||
851 | this.index = "justifyV"; |
||
852 | this.initFunc = DUF_Init_Element; |
||
853 | DL_Set_Label(DUF_TEXT.JustifyV); |
||
854 | DL_Set_Anchor("_Width", 0, -140); |
||
855 | </OnLoad> |
||
856 | </Scripts> |
||
857 | </Button> |
||
858 | <EditBox name="$parent_Font" inherits="DUF_EditBoxTemplate"> |
||
859 | <Size><AbsDimension x="175" y="20"/></Size> |
||
860 | <Scripts> |
||
861 | <OnLoad> |
||
862 | this.index = "font"; |
||
863 | DL_Set_Label(DUF_TEXT.Font); |
||
864 | DL_Set_Anchor("_Width", 0, -165); |
||
865 | </OnLoad> |
||
866 | </Scripts> |
||
867 | </EditBox> |
||
868 | <Button name="$parent_Color" inherits="DUF_ColorPickerTemplate"> |
||
869 | <Anchors> |
||
870 | <Anchor point="TOPLEFT"> |
||
871 | <Offset><AbsDimension x="30" y="-360"/></Offset> |
||
872 | </Anchor> |
||
873 | </Anchors> |
||
874 | <Scripts> |
||
875 | <OnLoad> |
||
876 | this.index = "textcolor"; |
||
877 | DL_Set_Label(DUF_TEXT.TextColor); |
||
878 | </OnLoad> |
||
879 | </Scripts> |
||
880 | </Button> |
||
881 | <Slider name="$parent_FontHeight" inherits="DUF_SliderTemplate" minValue="1" maxValue="30" valueStep=".25"> |
||
882 | <Anchors> |
||
883 | <Anchor point="TOPLEFT" relativeTo="$parent_Color" relativePoint="BOTTOMLEFT"> |
||
884 | <Offset><AbsDimension x="0" y="-25"/></Offset> |
||
885 | </Anchor> |
||
886 | </Anchors> |
||
887 | <Scripts> |
||
888 | <OnLoad> |
||
889 | this.index = "textheight"; |
||
890 | this.minlock = true; |
||
891 | DL_Set_Label(DUF_TEXT.FontHeight); |
||
892 | </OnLoad> |
||
893 | </Scripts> |
||
894 | </Slider> |
||
895 | <CheckButton name="$parent_HideIfNoMana" inherits="DUF_CheckBoxTemplate"> |
||
896 | <Anchors> |
||
897 | <Anchor point="TOPLEFT" relativeTo="$parent_FontHeight" relativePoint="BOTTOMLEFT"> |
||
898 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
899 | </Anchor> |
||
900 | </Anchors> |
||
901 | <Scripts> |
||
902 | <OnLoad> |
||
903 | this.index = "hideifnomana"; |
||
904 | DL_Set_Label(DUF_TEXT.HideIfNoMana); |
||
905 | </OnLoad> |
||
906 | </Scripts> |
||
907 | </CheckButton> |
||
908 | <CheckButton name="$parent_HideIfNoText" inherits="DUF_CheckBoxTemplate"> |
||
909 | <Anchors> |
||
910 | <Anchor point="TOPLEFT" relativeTo="$parent_HideIfNoMana" relativePoint="BOTTOMLEFT"/> |
||
911 | </Anchors> |
||
912 | <Scripts> |
||
913 | <OnLoad> |
||
914 | this.index = "hideifnotext"; |
||
915 | DL_Set_Label(DUF_TEXT.HideIfNoText); |
||
916 | </OnLoad> |
||
917 | </Scripts> |
||
918 | </CheckButton> |
||
919 | <CheckButton name="$parent_InCombat" inherits="DUF_CheckBoxTemplate"> |
||
920 | <Anchors> |
||
921 | <Anchor point="TOPLEFT" relativeTo="$parent_HideIfNoText" relativePoint="BOTTOMLEFT"/> |
||
922 | </Anchors> |
||
923 | <Scripts> |
||
924 | <OnLoad> |
||
925 | this.index = "incombat"; |
||
926 | DL_Set_Label(DUF_TEXT.ShowInCombat); |
||
927 | </OnLoad> |
||
928 | </Scripts> |
||
929 | </CheckButton> |
||
930 | <CheckButton name="$parent_HealthUpdating" inherits="DUF_CheckBoxTemplate"> |
||
931 | <Anchors> |
||
932 | <Anchor point="TOPLEFT" relativeTo="$parent_InCombat" relativePoint="BOTTOMLEFT"/> |
||
933 | </Anchors> |
||
934 | <Scripts> |
||
935 | <OnLoad> |
||
936 | this.index = "healthupdating"; |
||
937 | DL_Set_Label(DUF_TEXT.HealthUpdating); |
||
938 | </OnLoad> |
||
939 | </Scripts> |
||
940 | </CheckButton> |
||
941 | <CheckButton name="$parent_ManaUpdating" inherits="DUF_CheckBoxTemplate"> |
||
942 | <Anchors> |
||
943 | <Anchor point="TOPLEFT" relativeTo="$parent_HealthUpdating" relativePoint="BOTTOMLEFT"/> |
||
944 | </Anchors> |
||
945 | <Scripts> |
||
946 | <OnLoad> |
||
947 | this.index = "manaupdating"; |
||
948 | DL_Set_Label(DUF_TEXT.ManaUpdating); |
||
949 | </OnLoad> |
||
950 | </Scripts> |
||
951 | </CheckButton> |
||
952 | </Frames> |
||
953 | <Scripts> |
||
954 | <OnLoad> |
||
955 | this.initFunc = DUF_Initialize_TextBox; |
||
956 | </OnLoad> |
||
957 | </Scripts> |
||
958 | </Frame> |
||
959 | |||
960 | <Frame name="DUF_ComboPointsOptions" parent="DUF_ElementOptions" frameStrata="HIGH" hidden="true"> |
||
961 | <Size><AbsDimension x="10" y="10"/></Size> |
||
962 | <Anchors> |
||
963 | <Anchor point="TOPLEFT"/> |
||
964 | </Anchors> |
||
965 | <Frames> |
||
966 | <Slider name="$parent_Size" inherits="DUF_SliderTemplate" minValue="1" maxValue="100" valueStep="1"> |
||
967 | <Anchors> |
||
968 | <Anchor point="TOPLEFT"> |
||
969 | <Offset><AbsDimension x="30" y="-60"/></Offset> |
||
970 | </Anchor> |
||
971 | </Anchors> |
||
972 | <Scripts> |
||
973 | <OnLoad> |
||
974 | this.index = "size"; |
||
975 | this.minlock = true; |
||
976 | DL_Set_Label(DUF_TEXT.Size); |
||
977 | </OnLoad> |
||
978 | </Scripts> |
||
979 | </Slider> |
||
980 | <CheckButton name="$parent_Vertical" inherits="DUF_CheckBoxTemplate"> |
||
981 | <Anchors> |
||
982 | <Anchor point="TOPLEFT" relativeTo="$parent_Size" relativePoint="BOTTOMLEFT"> |
||
983 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
984 | </Anchor> |
||
985 | </Anchors> |
||
986 | <Scripts> |
||
987 | <OnLoad> |
||
988 | this.index = "vertical"; |
||
989 | DL_Set_Label(DUF_TEXT.VerticalLayout); |
||
990 | </OnLoad> |
||
991 | </Scripts> |
||
992 | </CheckButton> |
||
993 | <Button name="$parent_Color" inherits="DUF_ColorPickerTemplate"> |
||
994 | <Anchors> |
||
995 | <Anchor point="TOPLEFT" relativeTo="$parent_Vertical" relativePoint="BOTTOMLEFT"/> |
||
996 | </Anchors> |
||
997 | <Scripts> |
||
998 | <OnLoad> |
||
999 | this.index = "color"; |
||
1000 | DL_Set_Label(DUF_TEXT.Color); |
||
1001 | </OnLoad> |
||
1002 | </Scripts> |
||
1003 | </Button> |
||
1004 | <Slider name="$parent_Spacing" inherits="DUF_SliderTemplate" minValue="-30" maxValue="30" valueStep="1"> |
||
1005 | <Anchors> |
||
1006 | <Anchor point="TOPLEFT" relativeTo="$parent_Color" relativePoint="BOTTOMLEFT"> |
||
1007 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
1008 | </Anchor> |
||
1009 | </Anchors> |
||
1010 | <Scripts> |
||
1011 | <OnLoad> |
||
1012 | this.index = "spacing"; |
||
1013 | DL_Set_Label(DUF_TEXT.Spacing); |
||
1014 | </OnLoad> |
||
1015 | </Scripts> |
||
1016 | </Slider> |
||
1017 | <EditBox name="$parent_CustomTexture" inherits="DUF_EditBoxTemplate"> |
||
1018 | <Size><AbsDimension x="150" y="20"/></Size> |
||
1019 | <Scripts> |
||
1020 | <OnLoad> |
||
1021 | this.index = "customtexture"; |
||
1022 | DL_Set_Label(DUF_TEXT.CustomTexture); |
||
1023 | DL_Set_Anchor("_Spacing", 0, -20); |
||
1024 | </OnLoad> |
||
1025 | </Scripts> |
||
1026 | </EditBox> |
||
1027 | </Frames> |
||
1028 | <Scripts> |
||
1029 | <OnLoad> |
||
1030 | this.initFunc = DUF_Initialize_ComboPoints; |
||
1031 | </OnLoad> |
||
1032 | </Scripts> |
||
1033 | </Frame> |
||
1034 | |||
1035 | <Frame name="DUF_BuffOptions" parent="DUF_ElementOptions" frameStrata="HIGH" hidden="true"> |
||
1036 | <Size><AbsDimension x="10" y="10"/></Size> |
||
1037 | <Anchors> |
||
1038 | <Anchor point="TOPLEFT"/> |
||
1039 | </Anchors> |
||
1040 | <Frames> |
||
1041 | <Slider name="$parent_Size" inherits="DUF_SliderTemplate" minValue="1" maxValue="100" valueStep="1"> |
||
1042 | <Anchors> |
||
1043 | <Anchor point="TOPLEFT"> |
||
1044 | <Offset><AbsDimension x="30" y="-60"/></Offset> |
||
1045 | </Anchor> |
||
1046 | </Anchors> |
||
1047 | <Scripts> |
||
1048 | <OnLoad> |
||
1049 | this.index = "size"; |
||
1050 | this.minlock = true; |
||
1051 | DL_Set_Label(DUF_TEXT.Size); |
||
1052 | </OnLoad> |
||
1053 | </Scripts> |
||
1054 | </Slider> |
||
1055 | <CheckButton name="$parent_ReverseFill" inherits="DUF_CheckBoxTemplate"> |
||
1056 | <Anchors> |
||
1057 | <Anchor point="TOPLEFT" relativeTo="$parent_Size" relativePoint="BOTTOMLEFT"> |
||
1058 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
1059 | </Anchor> |
||
1060 | </Anchors> |
||
1061 | <Scripts> |
||
1062 | <OnLoad> |
||
1063 | this.index = "reverse"; |
||
1064 | DL_Set_Label(DUF_TEXT.ReverseFill); |
||
1065 | </OnLoad> |
||
1066 | </Scripts> |
||
1067 | </CheckButton> |
||
1068 | <CheckButton name="$parent_Vertical" inherits="DUF_CheckBoxTemplate"> |
||
1069 | <Anchors> |
||
1070 | <Anchor point="TOPLEFT" relativeTo="$parent_ReverseFill" relativePoint="BOTTOMLEFT"/> |
||
1071 | </Anchors> |
||
1072 | <Scripts> |
||
1073 | <OnLoad> |
||
1074 | this.index = "vertical"; |
||
1075 | DL_Set_Label(DUF_TEXT.VerticalLayout); |
||
1076 | </OnLoad> |
||
1077 | </Scripts> |
||
1078 | </CheckButton> |
||
1079 | <CheckButton name="$parent_TwoRows" inherits="DUF_CheckBoxTemplate"> |
||
1080 | <Anchors> |
||
1081 | <Anchor point="TOPLEFT" relativeTo="$parent_Vertical" relativePoint="BOTTOMLEFT"/> |
||
1082 | </Anchors> |
||
1083 | <Scripts> |
||
1084 | <OnLoad> |
||
1085 | this.index = "tworows"; |
||
1086 | DL_Set_Label(DUF_TEXT.TwoRows); |
||
1087 | </OnLoad> |
||
1088 | </Scripts> |
||
1089 | </CheckButton> |
||
1090 | <Slider name="$parent_HSpacing" inherits="DUF_SliderTemplate" minValue="-30" maxValue="30" valueStep="1"> |
||
1091 | <Anchors> |
||
1092 | <Anchor point="TOPLEFT" relativeTo="$parent_TwoRows" relativePoint="BOTTOMLEFT"> |
||
1093 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
1094 | </Anchor> |
||
1095 | </Anchors> |
||
1096 | <Scripts> |
||
1097 | <OnLoad> |
||
1098 | this.index = "hspacing"; |
||
1099 | DL_Set_Label(DUF_TEXT.HSpacing); |
||
1100 | </OnLoad> |
||
1101 | </Scripts> |
||
1102 | </Slider> |
||
1103 | <Slider name="$parent_VSpacing" inherits="DUF_SliderTemplate" minValue="-30" maxValue="30" valueStep="1"> |
||
1104 | <Anchors> |
||
1105 | <Anchor point="LEFT" relativeTo="$parent_HSpacing" relativePoint="RIGHT"> |
||
1106 | <Offset><AbsDimension x="70" y="0"/></Offset> |
||
1107 | </Anchor> |
||
1108 | </Anchors> |
||
1109 | <Scripts> |
||
1110 | <OnLoad> |
||
1111 | this.index = "vspacing"; |
||
1112 | DL_Set_Label(DUF_TEXT.VSpacing); |
||
1113 | </OnLoad> |
||
1114 | </Scripts> |
||
1115 | </Slider> |
||
1116 | <Slider name="$parent_Shown" inherits="DUF_SliderTemplate" minValue="1" maxValue="16" valueStep="1"> |
||
1117 | <Anchors> |
||
1118 | <Anchor point="TOPLEFT" relativeTo="$parent_HSpacing" relativePoint="BOTTOMLEFT"> |
||
1119 | <Offset><AbsDimension x="0" y="-25"/></Offset> |
||
1120 | </Anchor> |
||
1121 | </Anchors> |
||
1122 | <Scripts> |
||
1123 | <OnLoad> |
||
1124 | this.index = "shown"; |
||
1125 | this.maxlock = true; |
||
1126 | this.minlock = true; |
||
1127 | DL_Set_Label(DUF_TEXT.BuffsShown); |
||
1128 | </OnLoad> |
||
1129 | </Scripts> |
||
1130 | </Slider> |
||
1131 | <CheckButton name="$parent_ShowDuration" inherits="DUF_CheckBoxTemplate"> |
||
1132 | <Anchors> |
||
1133 | <Anchor point="TOPLEFT" relativeTo="$parent_Shown" relativePoint="BOTTOMLEFT"> |
||
1134 | <Offset><AbsDimension x="0" y="-25"/></Offset> |
||
1135 | </Anchor> |
||
1136 | </Anchors> |
||
1137 | <Scripts> |
||
1138 | <OnLoad> |
||
1139 | this.index = "showduration"; |
||
1140 | DL_Set_Label(DUF_TEXT.ShowDuration); |
||
1141 | </OnLoad> |
||
1142 | </Scripts> |
||
1143 | </CheckButton> |
||
1144 | <CheckButton name="$parent_DurationFormat" inherits="DUF_CheckBoxTemplate"> |
||
1145 | <Anchors> |
||
1146 | <Anchor point="LEFT" relativeTo="$parent_ShowDuration" relativePoint="RIGHT"> |
||
1147 | <Offset><AbsDimension x="200" y="0"/></Offset> |
||
1148 | </Anchor> |
||
1149 | </Anchors> |
||
1150 | <Scripts> |
||
1151 | <OnLoad> |
||
1152 | this.index = "altformat"; |
||
1153 | DL_Set_Label(DUF_TEXT.DurationFormat); |
||
1154 | </OnLoad> |
||
1155 | </Scripts> |
||
1156 | </CheckButton> |
||
1157 | <Slider name="$parent_DurationHeight" inherits="DUF_SliderTemplate" minValue="1" maxValue="30" valueStep="1"> |
||
1158 | <Anchors> |
||
1159 | <Anchor point="TOPLEFT" relativeTo="$parent_ShowDuration" relativePoint="BOTTOMLEFT"> |
||
1160 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
1161 | </Anchor> |
||
1162 | </Anchors> |
||
1163 | <Scripts> |
||
1164 | <OnLoad> |
||
1165 | this.index = "durationheight"; |
||
1166 | DL_Set_Label(DUF_TEXT.DurationHeight); |
||
1167 | </OnLoad> |
||
1168 | </Scripts> |
||
1169 | </Slider> |
||
1170 | <Slider name="$parent_DurationAlpha" inherits="DUF_SliderTemplate" minValue="0" maxValue="100" valueStep="1"> |
||
1171 | <Anchors> |
||
1172 | <Anchor point="TOPLEFT" relativeTo="$parent_DurationHeight" relativePoint="BOTTOMLEFT"> |
||
1173 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
1174 | </Anchor> |
||
1175 | </Anchors> |
||
1176 | <Scripts> |
||
1177 | <OnLoad> |
||
1178 | this.index = "durationalpha"; |
||
1179 | this.minlock = true; |
||
1180 | this.maxlock = true; |
||
1181 | this.scale = 100; |
||
1182 | DL_Set_Label(DUF_TEXT.DurationAlpha); |
||
1183 | </OnLoad> |
||
1184 | </Scripts> |
||
1185 | </Slider> |
||
1186 | <Slider name="$parent_DurationXOffset" inherits="DUF_SliderTemplate" minValue="-50" maxValue="50" valueStep="1"> |
||
1187 | <Anchors> |
||
1188 | <Anchor point="TOPLEFT" relativeTo="$parent_DurationAlpha" relativePoint="BOTTOMLEFT"> |
||
1189 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
1190 | </Anchor> |
||
1191 | </Anchors> |
||
1192 | <Scripts> |
||
1193 | <OnLoad> |
||
1194 | this.index = "durationx"; |
||
1195 | DL_Set_Label(DUF_TEXT.DurationXOffset); |
||
1196 | </OnLoad> |
||
1197 | </Scripts> |
||
1198 | </Slider> |
||
1199 | <Slider name="$parent_DurationYOffset" inherits="DUF_SliderTemplate" minValue="-50" maxValue="50" valueStep="1"> |
||
1200 | <Anchors> |
||
1201 | <Anchor point="TOPLEFT" relativeTo="$parent_DurationXOffset" relativePoint="BOTTOMLEFT"> |
||
1202 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
1203 | </Anchor> |
||
1204 | </Anchors> |
||
1205 | <Scripts> |
||
1206 | <OnLoad> |
||
1207 | this.index = "durationy"; |
||
1208 | DL_Set_Label(DUF_TEXT.DurationYOffset); |
||
1209 | </OnLoad> |
||
1210 | </Scripts> |
||
1211 | </Slider> |
||
1212 | <Button name="$parent_DurationColor" inherits="DUF_ColorPickerTemplate"> |
||
1213 | <Anchors> |
||
1214 | <Anchor point="TOPLEFT" relativeTo="$parent_DurationYOffset" relativePoint="TOPLEFT"> |
||
1215 | <Offset><AbsDimension x="0" y="-25"/></Offset> |
||
1216 | </Anchor> |
||
1217 | </Anchors> |
||
1218 | <Scripts> |
||
1219 | <OnLoad> |
||
1220 | this.index = "durationcolor"; |
||
1221 | DL_Set_Label(DUF_TEXT.DurationColor); |
||
1222 | </OnLoad> |
||
1223 | </Scripts> |
||
1224 | </Button> |
||
1225 | <EditBox name="$parent_DurationFont" inherits="DUF_EditBoxTemplate"> |
||
1226 | <Size><AbsDimension x="150" y="20"/></Size> |
||
1227 | <Scripts> |
||
1228 | <OnLoad> |
||
1229 | this.index = "durationfont"; |
||
1230 | DL_Set_Label(DUF_TEXT.DurationFont); |
||
1231 | DL_Set_Anchor("_DurationColor", 0, -5); |
||
1232 | </OnLoad> |
||
1233 | </Scripts> |
||
1234 | </EditBox> |
||
1235 | </Frames> |
||
1236 | <Scripts> |
||
1237 | <OnLoad> |
||
1238 | this.initFunc = DUF_Initialize_Buffs; |
||
1239 | </OnLoad> |
||
1240 | </Scripts> |
||
1241 | </Frame> |
||
1242 | |||
1243 | <Frame name="DUF_DebuffOptions" parent="DUF_ElementOptions" frameStrata="HIGH" hidden="true"> |
||
1244 | <Size><AbsDimension x="10" y="10"/></Size> |
||
1245 | <Anchors> |
||
1246 | <Anchor point="TOPLEFT"/> |
||
1247 | </Anchors> |
||
1248 | <Frames> |
||
1249 | <Slider name="$parent_Size" inherits="DUF_SliderTemplate" minValue="1" maxValue="100" valueStep="1"> |
||
1250 | <Anchors> |
||
1251 | <Anchor point="TOPLEFT"> |
||
1252 | <Offset><AbsDimension x="30" y="-60"/></Offset> |
||
1253 | </Anchor> |
||
1254 | </Anchors> |
||
1255 | <Scripts> |
||
1256 | <OnLoad> |
||
1257 | this.index = "size"; |
||
1258 | this.minlock = true; |
||
1259 | DL_Set_Label(DUF_TEXT.Size); |
||
1260 | </OnLoad> |
||
1261 | </Scripts> |
||
1262 | </Slider> |
||
1263 | <CheckButton name="$parent_ReverseFill" inherits="DUF_CheckBoxTemplate"> |
||
1264 | <Anchors> |
||
1265 | <Anchor point="TOPLEFT" relativeTo="$parent_Size" relativePoint="BOTTOMLEFT"> |
||
1266 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
1267 | </Anchor> |
||
1268 | </Anchors> |
||
1269 | <Scripts> |
||
1270 | <OnLoad> |
||
1271 | this.index = "reverse"; |
||
1272 | DL_Set_Label(DUF_TEXT.ReverseFill); |
||
1273 | </OnLoad> |
||
1274 | </Scripts> |
||
1275 | </CheckButton> |
||
1276 | <CheckButton name="$parent_Vertical" inherits="DUF_CheckBoxTemplate"> |
||
1277 | <Anchors> |
||
1278 | <Anchor point="TOPLEFT" relativeTo="$parent_ReverseFill" relativePoint="BOTTOMLEFT"/> |
||
1279 | </Anchors> |
||
1280 | <Scripts> |
||
1281 | <OnLoad> |
||
1282 | this.index = "vertical"; |
||
1283 | DL_Set_Label(DUF_TEXT.VerticalLayout); |
||
1284 | </OnLoad> |
||
1285 | </Scripts> |
||
1286 | </CheckButton> |
||
1287 | <CheckButton name="$parent_TwoRows" inherits="DUF_CheckBoxTemplate"> |
||
1288 | <Anchors> |
||
1289 | <Anchor point="TOPLEFT" relativeTo="$parent_Vertical" relativePoint="BOTTOMLEFT"/> |
||
1290 | </Anchors> |
||
1291 | <Scripts> |
||
1292 | <OnLoad> |
||
1293 | this.index = "tworows"; |
||
1294 | DL_Set_Label(DUF_TEXT.TwoRows); |
||
1295 | </OnLoad> |
||
1296 | </Scripts> |
||
1297 | </CheckButton> |
||
1298 | <CheckButton name="$parent_Flash" inherits="DUF_CheckBoxTemplate"> |
||
1299 | <Anchors> |
||
1300 | <Anchor point="TOPLEFT" relativeTo="$parent_TwoRows" relativePoint="BOTTOMLEFT"/> |
||
1301 | </Anchors> |
||
1302 | <Scripts> |
||
1303 | <OnLoad> |
||
1304 | this.index = "flash"; |
||
1305 | DL_Set_Label(DUF_TEXT.FlashWhenActive); |
||
1306 | </OnLoad> |
||
1307 | </Scripts> |
||
1308 | </CheckButton> |
||
1309 | <Slider name="$parent_HSpacing" inherits="DUF_SliderTemplate" minValue="-30" maxValue="30" valueStep="1"> |
||
1310 | <Anchors> |
||
1311 | <Anchor point="TOPLEFT" relativeTo="$parent_Flash" relativePoint="BOTTOMLEFT"> |
||
1312 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
1313 | </Anchor> |
||
1314 | </Anchors> |
||
1315 | <Scripts> |
||
1316 | <OnLoad> |
||
1317 | this.index = "hspacing"; |
||
1318 | DL_Set_Label(DUF_TEXT.HSpacing); |
||
1319 | </OnLoad> |
||
1320 | </Scripts> |
||
1321 | </Slider> |
||
1322 | <Slider name="$parent_VSpacing" inherits="DUF_SliderTemplate" minValue="-30" maxValue="30" valueStep="1"> |
||
1323 | <Anchors> |
||
1324 | <Anchor point="LEFT" relativeTo="$parent_HSpacing" relativePoint="RIGHT"> |
||
1325 | <Offset><AbsDimension x="70" y="0"/></Offset> |
||
1326 | </Anchor> |
||
1327 | </Anchors> |
||
1328 | <Scripts> |
||
1329 | <OnLoad> |
||
1330 | this.index = "vspacing"; |
||
1331 | DL_Set_Label(DUF_TEXT.VSpacing); |
||
1332 | </OnLoad> |
||
1333 | </Scripts> |
||
1334 | </Slider> |
||
1335 | <Slider name="$parent_Shown" inherits="DUF_SliderTemplate" minValue="1" maxValue="16" valueStep="1"> |
||
1336 | <Anchors> |
||
1337 | <Anchor point="TOPLEFT" relativeTo="$parent_HSpacing" relativePoint="BOTTOMLEFT"> |
||
1338 | <Offset><AbsDimension x="0" y="-25"/></Offset> |
||
1339 | </Anchor> |
||
1340 | </Anchors> |
||
1341 | <Scripts> |
||
1342 | <OnLoad> |
||
1343 | this.index = "shown"; |
||
1344 | this.maxlock = true; |
||
1345 | this.minlock = true; |
||
1346 | DL_Set_Label(DUF_TEXT.BuffsShown); |
||
1347 | </OnLoad> |
||
1348 | </Scripts> |
||
1349 | </Slider> |
||
1350 | <CheckButton name="$parent_ShowDuration" inherits="DUF_CheckBoxTemplate"> |
||
1351 | <Anchors> |
||
1352 | <Anchor point="TOPLEFT" relativeTo="$parent_Shown" relativePoint="BOTTOMLEFT"> |
||
1353 | <Offset><AbsDimension x="0" y="-25"/></Offset> |
||
1354 | </Anchor> |
||
1355 | </Anchors> |
||
1356 | <Scripts> |
||
1357 | <OnLoad> |
||
1358 | this.index = "showduration"; |
||
1359 | DL_Set_Label(DUF_TEXT.ShowDuration); |
||
1360 | </OnLoad> |
||
1361 | </Scripts> |
||
1362 | </CheckButton> |
||
1363 | <CheckButton name="$parent_DurationFormat" inherits="DUF_CheckBoxTemplate"> |
||
1364 | <Anchors> |
||
1365 | <Anchor point="LEFT" relativeTo="$parent_ShowDuration" relativePoint="RIGHT"> |
||
1366 | <Offset><AbsDimension x="200" y="0"/></Offset> |
||
1367 | </Anchor> |
||
1368 | </Anchors> |
||
1369 | <Scripts> |
||
1370 | <OnLoad> |
||
1371 | this.index = "altformat"; |
||
1372 | DL_Set_Label(DUF_TEXT.DurationFormat); |
||
1373 | </OnLoad> |
||
1374 | </Scripts> |
||
1375 | </CheckButton> |
||
1376 | <Slider name="$parent_DurationHeight" inherits="DUF_SliderTemplate" minValue="1" maxValue="30" valueStep="1"> |
||
1377 | <Anchors> |
||
1378 | <Anchor point="TOPLEFT" relativeTo="$parent_ShowDuration" relativePoint="BOTTOMLEFT"> |
||
1379 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
1380 | </Anchor> |
||
1381 | </Anchors> |
||
1382 | <Scripts> |
||
1383 | <OnLoad> |
||
1384 | this.index = "durationheight"; |
||
1385 | DL_Set_Label(DUF_TEXT.DurationHeight); |
||
1386 | </OnLoad> |
||
1387 | </Scripts> |
||
1388 | </Slider> |
||
1389 | <Slider name="$parent_DurationAlpha" inherits="DUF_SliderTemplate" minValue="0" maxValue="100" valueStep="1"> |
||
1390 | <Anchors> |
||
1391 | <Anchor point="TOPLEFT" relativeTo="$parent_DurationHeight" relativePoint="BOTTOMLEFT"> |
||
1392 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
1393 | </Anchor> |
||
1394 | </Anchors> |
||
1395 | <Scripts> |
||
1396 | <OnLoad> |
||
1397 | this.index = "durationalpha"; |
||
1398 | this.minlock = true; |
||
1399 | this.maxlock = true; |
||
1400 | this.scale = 100; |
||
1401 | DL_Set_Label(DUF_TEXT.DurationAlpha); |
||
1402 | </OnLoad> |
||
1403 | </Scripts> |
||
1404 | </Slider> |
||
1405 | <Slider name="$parent_DurationXOffset" inherits="DUF_SliderTemplate" minValue="-50" maxValue="50" valueStep="1"> |
||
1406 | <Anchors> |
||
1407 | <Anchor point="TOPLEFT" relativeTo="$parent_DurationAlpha" relativePoint="BOTTOMLEFT"> |
||
1408 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
1409 | </Anchor> |
||
1410 | </Anchors> |
||
1411 | <Scripts> |
||
1412 | <OnLoad> |
||
1413 | this.index = "durationx"; |
||
1414 | DL_Set_Label(DUF_TEXT.DurationXOffset); |
||
1415 | </OnLoad> |
||
1416 | </Scripts> |
||
1417 | </Slider> |
||
1418 | <Slider name="$parent_DurationYOffset" inherits="DUF_SliderTemplate" minValue="-50" maxValue="50" valueStep="1"> |
||
1419 | <Anchors> |
||
1420 | <Anchor point="TOPLEFT" relativeTo="$parent_DurationXOffset" relativePoint="BOTTOMLEFT"> |
||
1421 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
1422 | </Anchor> |
||
1423 | </Anchors> |
||
1424 | <Scripts> |
||
1425 | <OnLoad> |
||
1426 | this.index = "durationy"; |
||
1427 | DL_Set_Label(DUF_TEXT.DurationYOffset); |
||
1428 | </OnLoad> |
||
1429 | </Scripts> |
||
1430 | </Slider> |
||
1431 | <Button name="$parent_DurationColor" inherits="DUF_ColorPickerTemplate"> |
||
1432 | <Anchors> |
||
1433 | <Anchor point="TOPLEFT" relativeTo="$parent_DurationYOffset" relativePoint="TOPLEFT"> |
||
1434 | <Offset><AbsDimension x="0" y="-25"/></Offset> |
||
1435 | </Anchor> |
||
1436 | </Anchors> |
||
1437 | <Scripts> |
||
1438 | <OnLoad> |
||
1439 | this.index = "durationcolor"; |
||
1440 | DL_Set_Label(DUF_TEXT.DurationColor); |
||
1441 | </OnLoad> |
||
1442 | </Scripts> |
||
1443 | </Button> |
||
1444 | <EditBox name="$parent_DurationFont" inherits="DUF_EditBoxTemplate"> |
||
1445 | <Size><AbsDimension x="150" y="20"/></Size> |
||
1446 | <Scripts> |
||
1447 | <OnLoad> |
||
1448 | this.index = "durationfont"; |
||
1449 | DL_Set_Label(DUF_TEXT.DurationFont); |
||
1450 | DL_Set_Anchor("_DurationColor", 0, -5); |
||
1451 | </OnLoad> |
||
1452 | </Scripts> |
||
1453 | </EditBox> |
||
1454 | </Frames> |
||
1455 | <Scripts> |
||
1456 | <OnLoad> |
||
1457 | this.initFunc = DUF_Initialize_Debuffs; |
||
1458 | </OnLoad> |
||
1459 | </Scripts> |
||
1460 | </Frame> |
||
1461 | |||
1462 | <Frame name="DUF_FrameOptions" parent="DUF_Options" frameStrata="HIGH" hidden="false"> |
||
1463 | <Size><AbsDimension x="10" y="10"/></Size> |
||
1464 | <Anchors> |
||
1465 | <Anchor point="TOPLEFT" relativeTo="DUF_ElementOptions"/> |
||
1466 | </Anchors> |
||
1467 | <Frames> |
||
1468 | <Button name="$parent_MainColorContext" inherits="DiscordLib_MenuControlTemplate"> |
||
1469 | <Size><AbsDimension x="100" y="24"/></Size> |
||
1470 | <Anchors> |
||
1471 | <Anchor point="TOPRIGHT" relativeTo="DUF_Options"> |
||
1472 | <Offset><AbsDimension x="-20" y="-80"/></Offset> |
||
1473 | </Anchor> |
||
1474 | </Anchors> |
||
1475 | <Scripts> |
||
1476 | <OnLoad> |
||
1477 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1478 | this.menu = "DUF_DropMenu"; |
||
1479 | this.table = "DUF_COLOR_CONTEXTS"; |
||
1480 | this.index = "context"; |
||
1481 | this.initFunc = DUF_Initialize_Frame; |
||
1482 | DL_Set_Label(DUF_TEXT.Main); |
||
1483 | </OnLoad> |
||
1484 | </Scripts> |
||
1485 | </Button> |
||
1486 | <Button name="$parent_BackgroundColorContext" inherits="DiscordLib_MenuControlTemplate"> |
||
1487 | <Size><AbsDimension x="100" y="24"/></Size> |
||
1488 | <Anchors> |
||
1489 | <Anchor point="TOP" relativeTo="$parent_MainColorContext" relativePoint="BOTTOM"/> |
||
1490 | </Anchors> |
||
1491 | <Scripts> |
||
1492 | <OnLoad> |
||
1493 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1494 | this.menu = "DUF_DropMenu"; |
||
1495 | this.table = "DUF_COLOR_CONTEXTS"; |
||
1496 | this.index = "bgcontext"; |
||
1497 | this.initFunc = DUF_Initialize_Frame; |
||
1498 | DL_Set_Label(DUF_TEXT.Background); |
||
1499 | </OnLoad> |
||
1500 | </Scripts> |
||
1501 | </Button> |
||
1502 | <Button name="$parent_BorderColorContext" inherits="DiscordLib_MenuControlTemplate"> |
||
1503 | <Size><AbsDimension x="100" y="24"/></Size> |
||
1504 | <Anchors> |
||
1505 | <Anchor point="TOP" relativeTo="$parent_BackgroundColorContext" relativePoint="BOTTOM"/> |
||
1506 | </Anchors> |
||
1507 | <Scripts> |
||
1508 | <OnLoad> |
||
1509 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1510 | this.menu = "DUF_DropMenu"; |
||
1511 | this.table = "DUF_COLOR_CONTEXTS"; |
||
1512 | this.index = "bordercontext"; |
||
1513 | this.initFunc = DUF_Initialize_Frame; |
||
1514 | DL_Set_Label(DUF_TEXT.Border); |
||
1515 | </OnLoad> |
||
1516 | </Scripts> |
||
1517 | </Button> |
||
1518 | <Frame name="$parent_ContextLabel"> |
||
1519 | <Size><AbsDimension x="10" y="20"/></Size> |
||
1520 | <Anchors> |
||
1521 | <Anchor point="BOTTOM" relativeTo="$parent_MainColorContext" relativePoint="TOP"> |
||
1522 | <Offset><AbsDimension x="-30" y="0"/></Offset> |
||
1523 | </Anchor> |
||
1524 | </Anchors> |
||
1525 | <Layers> |
||
1526 | <Layer level="ARTWORK"> |
||
1527 | <FontString name="$parent_Label" inherits="GameFontNormal" text="DUF_CONTEXTLABEL"> |
||
1528 | <Color r=".8" g=".8" b="0"/> |
||
1529 | <Anchors> |
||
1530 | <Anchor point="CENTER"/> |
||
1531 | </Anchors> |
||
1532 | </FontString> |
||
1533 | </Layer> |
||
1534 | </Layers> |
||
1535 | </Frame> |
||
1536 | |||
1537 | <Button name="$parent_LeftClick" inherits="DiscordLib_MenuControlTemplate"> |
||
1538 | <Size><AbsDimension x="100" y="24"/></Size> |
||
1539 | <Anchors> |
||
1540 | <Anchor point="TOPRIGHT" relativeTo="DUF_Options"> |
||
1541 | <Offset><AbsDimension x="-20" y="-165"/></Offset> |
||
1542 | </Anchor> |
||
1543 | </Anchors> |
||
1544 | <Scripts> |
||
1545 | <OnLoad> |
||
1546 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1547 | this.menu = "DUF_DropMenu"; |
||
1548 | this.table = "DUF_CLICK_OPTIONS"; |
||
1549 | this.index = "leftclick"; |
||
1550 | DL_Set_Label(DUF_TEXT.LeftClick); |
||
1551 | </OnLoad> |
||
1552 | </Scripts> |
||
1553 | </Button> |
||
1554 | <Button name="$parent_RightClick" inherits="DiscordLib_MenuControlTemplate"> |
||
1555 | <Size><AbsDimension x="100" y="24"/></Size> |
||
1556 | <Anchors> |
||
1557 | <Anchor point="TOP" relativeTo="$parent_LeftClick" relativePoint="BOTTOM"/> |
||
1558 | </Anchors> |
||
1559 | <Scripts> |
||
1560 | <OnLoad> |
||
1561 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1562 | this.menu = "DUF_DropMenu"; |
||
1563 | this.table = "DUF_CLICK_OPTIONS"; |
||
1564 | this.index = "rightclick"; |
||
1565 | DL_Set_Label(DUF_TEXT.RightClick); |
||
1566 | </OnLoad> |
||
1567 | </Scripts> |
||
1568 | </Button> |
||
1569 | <Button name="$parent_MiddleClick" inherits="DiscordLib_MenuControlTemplate"> |
||
1570 | <Size><AbsDimension x="100" y="24"/></Size> |
||
1571 | <Anchors> |
||
1572 | <Anchor point="TOP" relativeTo="$parent_RightClick" relativePoint="BOTTOM"/> |
||
1573 | </Anchors> |
||
1574 | <Scripts> |
||
1575 | <OnLoad> |
||
1576 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1577 | this.menu = "DUF_DropMenu"; |
||
1578 | this.table = "DUF_CLICK_OPTIONS"; |
||
1579 | this.index = "middleclick"; |
||
1580 | DL_Set_Label(DUF_TEXT.MiddleClick); |
||
1581 | </OnLoad> |
||
1582 | </Scripts> |
||
1583 | </Button> |
||
1584 | |||
1585 | <Button name="$parent_FrameChooser" inherits="DiscordLib_MenuControlTemplate"> |
||
1586 | <Size><AbsDimension x="50" y="24"/></Size> |
||
1587 | <Scripts> |
||
1588 | <OnLoad> |
||
1589 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1590 | this.menu = "DUF_DropMenu"; |
||
1591 | this.table = "DUF_FRAME_CHOICES"; |
||
1592 | this.initFunc = DUF_Options_UpdateFrameLoc |
||
1593 | DL_Set_Label(DUF_TEXT.FrameToMove); |
||
1594 | DL_Set_Anchor("", 210, -180); |
||
1595 | </OnLoad> |
||
1596 | </Scripts> |
||
1597 | </Button> |
||
1598 | <EditBox name="$parent_XOffset" inherits="DUF_EditBoxTemplate" letters="1000"> |
||
1599 | <Size><AbsDimension x="75" y="20"/></Size> |
||
1600 | <Scripts> |
||
1601 | <OnLoad> |
||
1602 | this.index = "FRAMELOC" |
||
1603 | this.subindex = "xos" |
||
1604 | this.number = true |
||
1605 | DL_Set_Label("X:"); |
||
1606 | DL_Set_Anchor("", 210, -205); |
||
1607 | </OnLoad> |
||
1608 | </Scripts> |
||
1609 | </EditBox> |
||
1610 | <EditBox name="$parent_YOffset" inherits="DUF_EditBoxTemplate" letters="1000"> |
||
1611 | <Size><AbsDimension x="75" y="20"/></Size> |
||
1612 | <Scripts> |
||
1613 | <OnLoad> |
||
1614 | this.index = "FRAMELOC" |
||
1615 | this.subindex = "yos" |
||
1616 | this.number = true |
||
1617 | DL_Set_Label("Y:"); |
||
1618 | DL_Set_Anchor("", 210, -230); |
||
1619 | </OnLoad> |
||
1620 | </Scripts> |
||
1621 | </EditBox> |
||
1622 | <Button name="$parent_NudgeUp" inherits="DUF_MainMenuButton"> |
||
1623 | <Size><AbsDimension x="24" y="24"/></Size> |
||
1624 | <Anchors> |
||
1625 | <Anchor point="TOPLEFT"> |
||
1626 | <Offset><AbsDimension x="360" y="-215"/></Offset> |
||
1627 | </Anchor> |
||
1628 | </Anchors> |
||
1629 | <Scripts> |
||
1630 | <OnLoad> |
||
1631 | this:SetText("^"); |
||
1632 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp", "MiddleButtonUp"); |
||
1633 | this.func = DUF_UnitFrame_Nudge_Up; |
||
1634 | </OnLoad> |
||
1635 | <OnMouseDown> |
||
1636 | if (arg1 == "MiddleButton") then |
||
1637 | this.moving = true; |
||
1638 | end |
||
1639 | </OnMouseDown> |
||
1640 | <OnMouseUp> |
||
1641 | if (arg1 == "MiddleButton") then |
||
1642 | this.moving = nil; |
||
1643 | else |
||
1644 | DUF_UnitFrame_Nudge_Up(arg1); |
||
1645 | end |
||
1646 | </OnMouseUp> |
||
1647 | <OnUpdate> |
||
1648 | DUF_Nudge_OnUpdate(arg1); |
||
1649 | </OnUpdate> |
||
1650 | </Scripts> |
||
1651 | </Button> |
||
1652 | <Button name="$parent_NudgeDown" inherits="DUF_MainMenuButton"> |
||
1653 | <Size><AbsDimension x="24" y="24"/></Size> |
||
1654 | <Anchors> |
||
1655 | <Anchor point="TOP" relativeTo="$parent_NudgeUp" relativePoint="BOTTOM"> |
||
1656 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
1657 | </Anchor> |
||
1658 | </Anchors> |
||
1659 | <Scripts> |
||
1660 | <OnLoad> |
||
1661 | this:SetText("v"); |
||
1662 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp", "MiddleButtonUp"); |
||
1663 | this.func = DUF_UnitFrame_Nudge_Down; |
||
1664 | </OnLoad> |
||
1665 | <OnMouseDown> |
||
1666 | if (arg1 == "MiddleButton") then |
||
1667 | this.moving = true; |
||
1668 | end |
||
1669 | </OnMouseDown> |
||
1670 | <OnMouseUp> |
||
1671 | if (arg1 == "MiddleButton") then |
||
1672 | this.moving = nil; |
||
1673 | else |
||
1674 | DUF_UnitFrame_Nudge_Down(arg1); |
||
1675 | end |
||
1676 | </OnMouseUp> |
||
1677 | <OnUpdate> |
||
1678 | DUF_Nudge_OnUpdate(arg1); |
||
1679 | </OnUpdate> |
||
1680 | </Scripts> |
||
1681 | </Button> |
||
1682 | <Button name="$parent_NudgeLeft" inherits="DUF_MainMenuButton"> |
||
1683 | <Size><AbsDimension x="24" y="24"/></Size> |
||
1684 | <Anchors> |
||
1685 | <Anchor point="TOPRIGHT" relativeTo="$parent_NudgeUp" relativePoint="LEFT"> |
||
1686 | <Offset><AbsDimension x="2" y="0"/></Offset> |
||
1687 | </Anchor> |
||
1688 | </Anchors> |
||
1689 | <Scripts> |
||
1690 | <OnLoad> |
||
1691 | this:SetText(DUF_ARROW_LEFT); |
||
1692 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp", "MiddleButtonUp"); |
||
1693 | this.func = DUF_UnitFrame_Nudge_Left; |
||
1694 | </OnLoad> |
||
1695 | <OnMouseDown> |
||
1696 | if (arg1 == "MiddleButton") then |
||
1697 | this.moving = true; |
||
1698 | end |
||
1699 | </OnMouseDown> |
||
1700 | <OnMouseUp> |
||
1701 | if (arg1 == "MiddleButton") then |
||
1702 | this.moving = nil; |
||
1703 | else |
||
1704 | DUF_UnitFrame_Nudge_Left(arg1); |
||
1705 | end |
||
1706 | </OnMouseUp> |
||
1707 | <OnUpdate> |
||
1708 | DUF_Nudge_OnUpdate(arg1); |
||
1709 | </OnUpdate> |
||
1710 | </Scripts> |
||
1711 | </Button> |
||
1712 | <Button name="$parent_NudgeRight" inherits="DUF_MainMenuButton"> |
||
1713 | <Size><AbsDimension x="24" y="24"/></Size> |
||
1714 | <Anchors> |
||
1715 | <Anchor point="TOPLEFT" relativeTo="$parent_NudgeUp" relativePoint="RIGHT"> |
||
1716 | <Offset><AbsDimension x="-2" y="0"/></Offset> |
||
1717 | </Anchor> |
||
1718 | </Anchors> |
||
1719 | <Scripts> |
||
1720 | <OnLoad> |
||
1721 | this:SetText(DUF_ARROW_RIGHT); |
||
1722 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp", "MiddleButtonUp"); |
||
1723 | this.func = DUF_UnitFrame_Nudge_Right; |
||
1724 | </OnLoad> |
||
1725 | <OnMouseDown> |
||
1726 | if (arg1 == "MiddleButton") then |
||
1727 | this.moving = true; |
||
1728 | end |
||
1729 | </OnMouseDown> |
||
1730 | <OnMouseUp> |
||
1731 | if (arg1 == "MiddleButton") then |
||
1732 | this.moving = nil; |
||
1733 | else |
||
1734 | DUF_UnitFrame_Nudge_Right(arg1); |
||
1735 | end |
||
1736 | </OnMouseUp> |
||
1737 | <OnUpdate> |
||
1738 | DUF_Nudge_OnUpdate(arg1); |
||
1739 | </OnUpdate> |
||
1740 | </Scripts> |
||
1741 | </Button> |
||
1742 | |||
1743 | <CheckButton name="$parent_Connect" inherits="DUF_CheckBoxTemplate"> |
||
1744 | <Anchors> |
||
1745 | <Anchor point="TOPRIGHT" relativeTo="DUF_Options"> |
||
1746 | <Offset><AbsDimension x="-190" y="-325"/></Offset> |
||
1747 | </Anchor> |
||
1748 | </Anchors> |
||
1749 | <Scripts> |
||
1750 | <OnLoad> |
||
1751 | this.index = "connect"; |
||
1752 | DL_Set_Label(DUF_TEXT.ConnectFrames); |
||
1753 | </OnLoad> |
||
1754 | </Scripts> |
||
1755 | </CheckButton> |
||
1756 | <Button name="$parent_ConnectMethod" inherits="DiscordLib_MenuControlTemplate"> |
||
1757 | <Size><AbsDimension x="125" y="24"/></Size> |
||
1758 | <Scripts> |
||
1759 | <OnLoad> |
||
1760 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1761 | this.menu = "DUF_DropMenu"; |
||
1762 | this.table = "DUF_CONNECT_OPTIONS"; |
||
1763 | this.index = "connectmethod"; |
||
1764 | this.initFunc = DUF_Initialize_Frame; |
||
1765 | DL_Set_Label(DUF_TEXT.Method); |
||
1766 | DL_Set_Anchor("_Connect", 0, 0); |
||
1767 | </OnLoad> |
||
1768 | </Scripts> |
||
1769 | </Button> |
||
1770 | <Slider name="$parent_Spacing" inherits="DUF_SliderTemplate" minValue="0" maxValue="100" valueStep="1"> |
||
1771 | <Anchors> |
||
1772 | <Anchor point="TOPLEFT" relativeTo="$parent_Connect" relativePoint="BOTTOMLEFT"> |
||
1773 | <Offset><AbsDimension x="0" y="-40"/></Offset> |
||
1774 | </Anchor> |
||
1775 | </Anchors> |
||
1776 | <Scripts> |
||
1777 | <OnLoad> |
||
1778 | this.index = "spacing"; |
||
1779 | DL_Set_Label(DUF_TEXT.Spacing); |
||
1780 | </OnLoad> |
||
1781 | </Scripts> |
||
1782 | </Slider> |
||
1783 | |||
1784 | <CheckButton name="$parent_Hide" inherits="DUF_CheckBoxTemplate"> |
||
1785 | <Anchors> |
||
1786 | <Anchor point="TOPLEFT"> |
||
1787 | <Offset><AbsDimension x="10" y="-10"/></Offset> |
||
1788 | </Anchor> |
||
1789 | </Anchors> |
||
1790 | <Scripts> |
||
1791 | <OnLoad> |
||
1792 | this.index = "hide"; |
||
1793 | DL_Set_Label(DUF_TEXT.Hide); |
||
1794 | </OnLoad> |
||
1795 | </Scripts> |
||
1796 | </CheckButton> |
||
1797 | <CheckButton name="$parent_Flash" inherits="DUF_CheckBoxTemplate"> |
||
1798 | <Anchors> |
||
1799 | <Anchor point="TOPLEFT" relativeTo="$parent_Hide" relativePoint="BOTTOMLEFT"> |
||
1800 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
1801 | </Anchor> |
||
1802 | </Anchors> |
||
1803 | <Scripts> |
||
1804 | <OnLoad> |
||
1805 | this.index = "flash"; |
||
1806 | DL_Set_Label(DUF_TEXT.FlashForLowHealth); |
||
1807 | </OnLoad> |
||
1808 | </Scripts> |
||
1809 | </CheckButton> |
||
1810 | <CheckButton name="$parent_ShowDefault" inherits="DUF_CheckBoxTemplate"> |
||
1811 | <Anchors> |
||
1812 | <Anchor point="TOPLEFT" relativeTo="$parent_Flash" relativePoint="BOTTOMLEFT"> |
||
1813 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
1814 | </Anchor> |
||
1815 | </Anchors> |
||
1816 | <Scripts> |
||
1817 | <OnLoad> |
||
1818 | this.index = "showDefault"; |
||
1819 | DL_Set_Label(DUF_TEXT.ShowDefault); |
||
1820 | </OnLoad> |
||
1821 | </Scripts> |
||
1822 | </CheckButton> |
||
1823 | <CheckButton name="$parent_UseMouseoverColor" inherits="DUF_CheckBoxTemplate"> |
||
1824 | <Anchors> |
||
1825 | <Anchor point="TOPLEFT" relativeTo="$parent_ShowDefault" relativePoint="BOTTOMLEFT"> |
||
1826 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
1827 | </Anchor> |
||
1828 | </Anchors> |
||
1829 | <Scripts> |
||
1830 | <OnLoad> |
||
1831 | this.index = "usemouseovercolor"; |
||
1832 | </OnLoad> |
||
1833 | </Scripts> |
||
1834 | </CheckButton> |
||
1835 | <Button name="$parent_MouseoverColor" inherits="DUF_ColorPickerTemplate"> |
||
1836 | <Anchors> |
||
1837 | <Anchor point="LEFT" relativeTo="$parent_UseMouseoverColor" relativePoint="RIGHT"/> |
||
1838 | </Anchors> |
||
1839 | <Scripts> |
||
1840 | <OnLoad> |
||
1841 | this.index = "mouseovercolor"; |
||
1842 | DL_Set_Label(DUF_TEXT.MouseoverColor); |
||
1843 | </OnLoad> |
||
1844 | </Scripts> |
||
1845 | </Button> |
||
1846 | <Button name="$parent_MouseoverGroup" inherits="DiscordLib_MenuControlTemplate"> |
||
1847 | <Size><AbsDimension x="65" y="24"/></Size> |
||
1848 | <Scripts> |
||
1849 | <OnLoad> |
||
1850 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1851 | this.menu = "DUF_DropMenu"; |
||
1852 | this.table = "DUF_MOUSEOVER_GROUPS"; |
||
1853 | this.index = "mouseovergroup"; |
||
1854 | this.initFunc = DUF_Init_Element; |
||
1855 | DL_Set_Label(DUF_TEXT.MouseoverGroup); |
||
1856 | DL_Set_Anchor("_UseMouseoverColor", 0, 0); |
||
1857 | </OnLoad> |
||
1858 | </Scripts> |
||
1859 | </Button> |
||
1860 | <Slider name="$parent_Height" inherits="DUF_SliderTemplate" minValue="1" maxValue="200" valueStep="1"> |
||
1861 | <Anchors> |
||
1862 | <Anchor point="TOPLEFT" relativeTo="$parent_UseMouseoverColor" relativePoint="BOTTOMLEFT"> |
||
1863 | <Offset><AbsDimension x="0" y="-40"/></Offset> |
||
1864 | </Anchor> |
||
1865 | </Anchors> |
||
1866 | <Scripts> |
||
1867 | <OnLoad> |
||
1868 | this.index = "height"; |
||
1869 | this.minlock = true; |
||
1870 | DL_Set_Label(DUF_TEXT.Height); |
||
1871 | </OnLoad> |
||
1872 | </Scripts> |
||
1873 | </Slider> |
||
1874 | <Slider name="$parent_Width" inherits="DUF_SliderTemplate" minValue="1" maxValue="300" valueStep="1"> |
||
1875 | <Anchors> |
||
1876 | <Anchor point="TOPLEFT" relativeTo="$parent_Height" relativePoint="BOTTOMLEFT"> |
||
1877 | <Offset><AbsDimension x="0" y="-25"/></Offset> |
||
1878 | </Anchor> |
||
1879 | </Anchors> |
||
1880 | <Scripts> |
||
1881 | <OnLoad> |
||
1882 | this.index = "width"; |
||
1883 | this.minlock = true; |
||
1884 | DL_Set_Label(DUF_TEXT.Width); |
||
1885 | </OnLoad> |
||
1886 | </Scripts> |
||
1887 | </Slider> |
||
1888 | <Slider name="$parent_Scale" inherits="DUF_SliderTemplate" minValue="1" maxValue="200" valueStep="1"> |
||
1889 | <Anchors> |
||
1890 | <Anchor point="TOPLEFT" relativeTo="$parent_Width" relativePoint="BOTTOMLEFT"> |
||
1891 | <Offset><AbsDimension x="0" y="-25"/></Offset> |
||
1892 | </Anchor> |
||
1893 | </Anchors> |
||
1894 | <Scripts> |
||
1895 | <OnLoad> |
||
1896 | this.index = "scale"; |
||
1897 | this.minlock = true; |
||
1898 | this.scale = 100; |
||
1899 | DL_Set_Label(DUF_TEXT.Scale); |
||
1900 | </OnLoad> |
||
1901 | </Scripts> |
||
1902 | </Slider> |
||
1903 | <Slider name="$parent_Alpha" inherits="DUF_SliderTemplate" minValue="0" maxValue="100" valueStep="1"> |
||
1904 | <Anchors> |
||
1905 | <Anchor point="TOPLEFT" relativeTo="$parent_Scale" relativePoint="BOTTOMLEFT"> |
||
1906 | <Offset><AbsDimension x="0" y="-25"/></Offset> |
||
1907 | </Anchor> |
||
1908 | </Anchors> |
||
1909 | <Scripts> |
||
1910 | <OnLoad> |
||
1911 | this.index = "alpha"; |
||
1912 | this.minlock = true; |
||
1913 | this.maxlock = true; |
||
1914 | this.scale = 100; |
||
1915 | DL_Set_Label(DUF_TEXT.Alpha); |
||
1916 | </OnLoad> |
||
1917 | </Scripts> |
||
1918 | </Slider> |
||
1919 | <CheckButton name="$parent_HideBG" inherits="DUF_CheckBoxTemplate"> |
||
1920 | <Anchors> |
||
1921 | <Anchor point="TOPLEFT" relativeTo="$parent_Alpha" relativePoint="BOTTOMLEFT"> |
||
1922 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
1923 | </Anchor> |
||
1924 | </Anchors> |
||
1925 | <Scripts> |
||
1926 | <OnLoad> |
||
1927 | this.index = "hidebg"; |
||
1928 | DL_Set_Label(DUF_TEXT.HideBackground); |
||
1929 | </OnLoad> |
||
1930 | </Scripts> |
||
1931 | </CheckButton> |
||
1932 | <Button name="$parent_BGColor" inherits="DUF_ColorPickerTemplate"> |
||
1933 | <Anchors> |
||
1934 | <Anchor point="TOPLEFT" relativeTo="$parent_HideBG" relativePoint="BOTTOMLEFT"/> |
||
1935 | </Anchors> |
||
1936 | <Scripts> |
||
1937 | <OnLoad> |
||
1938 | this.index = "bgcolor"; |
||
1939 | DL_Set_Label(DUF_TEXT.BackgroundColor); |
||
1940 | </OnLoad> |
||
1941 | </Scripts> |
||
1942 | </Button> |
||
1943 | <Slider name="$parent_BGAlpha" inherits="DUF_SliderTemplate" minValue="0" maxValue="100" valueStep="1"> |
||
1944 | <Anchors> |
||
1945 | <Anchor point="TOPLEFT" relativeTo="$parent_BGColor" relativePoint="BOTTOMLEFT"> |
||
1946 | <Offset><AbsDimension x="0" y="-13"/></Offset> |
||
1947 | </Anchor> |
||
1948 | </Anchors> |
||
1949 | <Scripts> |
||
1950 | <OnLoad> |
||
1951 | this.index = "bgalpha"; |
||
1952 | this.minlock = true; |
||
1953 | this.maxlock = true; |
||
1954 | this.scale = 100; |
||
1955 | DL_Set_Label(DUF_TEXT.BackgroundAlpha); |
||
1956 | </OnLoad> |
||
1957 | </Scripts> |
||
1958 | </Slider> |
||
1959 | <Slider name="$parent_BGPadding" inherits="DUF_SliderTemplate" minValue="0" maxValue="20" valueStep="1"> |
||
1960 | <Anchors> |
||
1961 | <Anchor point="TOPLEFT" relativeTo="$parent_BGAlpha" relativePoint="BOTTOMLEFT"> |
||
1962 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
1963 | </Anchor> |
||
1964 | </Anchors> |
||
1965 | <Scripts> |
||
1966 | <OnLoad> |
||
1967 | this.index = "bgpadding"; |
||
1968 | this.minlocked = true; |
||
1969 | DL_Set_Label(DUF_TEXT.BackgroundPadding); |
||
1970 | </OnLoad> |
||
1971 | </Scripts> |
||
1972 | </Slider> |
||
1973 | <EditBox name="$parent_BGTexture" inherits="DUF_EditBoxTemplate" letters="1000"> |
||
1974 | <Size><AbsDimension x="125" y="20"/></Size> |
||
1975 | <Scripts> |
||
1976 | <OnLoad> |
||
1977 | this.index = "bgtexture"; |
||
1978 | this.initFunc = DUF_Initialize_Frame; |
||
1979 | DL_Set_Label(DUF_TEXT.BackgroundTexture); |
||
1980 | DL_Set_Anchor("_BGPadding", 0, -15); |
||
1981 | </OnLoad> |
||
1982 | </Scripts> |
||
1983 | </EditBox> |
||
1984 | <Button name="$parent_BorderColor" inherits="DUF_ColorPickerTemplate"> |
||
1985 | <Anchors> |
||
1986 | <Anchor point="TOPLEFT" relativeTo="$parent_HideBG" relativePoint="TOPLEFT"> |
||
1987 | <Offset><AbsDimension x="200" y="-65"/></Offset> |
||
1988 | </Anchor> |
||
1989 | </Anchors> |
||
1990 | <Scripts> |
||
1991 | <OnLoad> |
||
1992 | this.index = "bordercolor"; |
||
1993 | DL_Set_Label(DUF_TEXT.BorderColor); |
||
1994 | </OnLoad> |
||
1995 | </Scripts> |
||
1996 | </Button> |
||
1997 | <Button name="$parent_BorderStyle" inherits="DiscordLib_MenuControlTemplate"> |
||
1998 | <Size><AbsDimension x="100" y="24"/></Size> |
||
1999 | <Scripts> |
||
2000 | <OnLoad> |
||
2001 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
2002 | this.menu = "DUF_DropMenu"; |
||
2003 | this.table = "DUF_BORDER_STYLES"; |
||
2004 | this.index = "backgroundstyle"; |
||
2005 | this.initFunc = DUF_Initialize_Frame; |
||
2006 | DL_Set_Label(DUF_TEXT.BorderStyle); |
||
2007 | DL_Set_Anchor("_BorderColor", 0, 0); |
||
2008 | </OnLoad> |
||
2009 | </Scripts> |
||
2010 | </Button> |
||
2011 | <Slider name="$parent_BorderAlpha" inherits="DUF_SliderTemplate" minValue="0" maxValue="100" valueStep="1"> |
||
2012 | <Anchors> |
||
2013 | <Anchor point="TOPLEFT" relativeTo="$parent_BorderColor" relativePoint="BOTTOMLEFT"> |
||
2014 | <Offset><AbsDimension x="0" y="-40"/></Offset> |
||
2015 | </Anchor> |
||
2016 | </Anchors> |
||
2017 | <Scripts> |
||
2018 | <OnLoad> |
||
2019 | this.index = "borderalpha"; |
||
2020 | this.minlock = true; |
||
2021 | this.maxlock = true; |
||
2022 | this.scale = 100; |
||
2023 | DL_Set_Label(DUF_TEXT.BorderAlpha); |
||
2024 | </OnLoad> |
||
2025 | </Scripts> |
||
2026 | </Slider> |
||
2027 | <CheckButton name="$parent_DisableTooltip" inherits="DUF_CheckBoxTemplate"> |
||
2028 | <Anchors> |
||
2029 | <Anchor point="TOPLEFT" relativeTo="$parent_BGPadding" relativePoint="BOTTOMLEFT"> |
||
2030 | <Offset><AbsDimension x="0" y="-45"/></Offset> |
||
2031 | </Anchor> |
||
2032 | </Anchors> |
||
2033 | <Scripts> |
||
2034 | <OnLoad> |
||
2035 | this.index = "disabletooltip"; |
||
2036 | DL_Set_Label(DUF_TEXT.DisableTooltip); |
||
2037 | </OnLoad> |
||
2038 | </Scripts> |
||
2039 | </CheckButton> |
||
2040 | <CheckButton name="$parent_DisableMouse" inherits="DUF_CheckBoxTemplate"> |
||
2041 | <Anchors> |
||
2042 | <Anchor point="LEFT" relativeTo="$parent_DisableTooltip" relativePoint="RIGHT"> |
||
2043 | <Offset><AbsDimension x="190" y="0"/></Offset> |
||
2044 | </Anchor> |
||
2045 | </Anchors> |
||
2046 | <Scripts> |
||
2047 | <OnLoad> |
||
2048 | this.index = "disablemouse"; |
||
2049 | DL_Set_Label(DUF_TEXT.DisableMouse); |
||
2050 | </OnLoad> |
||
2051 | </Scripts> |
||
2052 | </CheckButton> |
||
2053 | <CheckButton name="$parent_UseCustomTooltip" inherits="DUF_CheckBoxTemplate"> |
||
2054 | <Anchors> |
||
2055 | <Anchor point="TOP" relativeTo="$parent_DisableTooltip" relativePoint="BOTTOM"/> |
||
2056 | </Anchors> |
||
2057 | <Scripts> |
||
2058 | <OnLoad> |
||
2059 | this.index = "usecustomtooltip"; |
||
2060 | </OnLoad> |
||
2061 | </Scripts> |
||
2062 | </CheckButton> |
||
2063 | <EditBox name="$parent_CustomTooltip" inherits="DUF_EditBoxTemplate"> |
||
2064 | <Size><AbsDimension x="275" y="20"/></Size> |
||
2065 | <Scripts> |
||
2066 | <OnLoad> |
||
2067 | this.index = "customtooltip"; |
||
2068 | DL_Set_Label(DUF_TEXT.CustomTooltip); |
||
2069 | DL_Set_Anchor("_UseCustomTooltip", 24, 23); |
||
2070 | </OnLoad> |
||
2071 | </Scripts> |
||
2072 | </EditBox> |
||
2073 | <Button name="$parent_CopyFrame" inherits="DiscordLib_MenuControlTemplate"> |
||
2074 | <Size><AbsDimension x="100" y="24"/></Size> |
||
2075 | <Scripts> |
||
2076 | <OnLoad> |
||
2077 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
2078 | this.menu = "DUF_DropMenu"; |
||
2079 | this.table = "DUF_COPY_FRAMES"; |
||
2080 | this.initFunc = DUF_SetCopyFrame; |
||
2081 | DL_Set_Label(DUF_TEXT.CopyFrame); |
||
2082 | DL_Set_Anchor("_UseCustomTooltip", 0, -5); |
||
2083 | </OnLoad> |
||
2084 | </Scripts> |
||
2085 | </Button> |
||
2086 | <Button name="$parent_CopyButton" inherits="DUF_MainMenuButton"> |
||
2087 | <Size><AbsDimension x="70" y="24"/></Size> |
||
2088 | <Anchors> |
||
2089 | <Anchor point="LEFT" relativeTo="$parent_CopyFrame" relativePoint="RIGHT"> |
||
2090 | <Offset><AbsDimension x="5" y="0"/></Offset> |
||
2091 | </Anchor> |
||
2092 | </Anchors> |
||
2093 | <Scripts> |
||
2094 | <OnLoad> |
||
2095 | this:SetText(DUF_TEXT.Copy); |
||
2096 | </OnLoad> |
||
2097 | <OnClick> |
||
2098 | DUF_CopyFrame(this.index); |
||
2099 | </OnClick> |
||
2100 | </Scripts> |
||
2101 | </Button> |
||
2102 | <Button name="$parent_SafeCopyButton" inherits="DUF_MainMenuButton"> |
||
2103 | <Size><AbsDimension x="90" y="24"/></Size> |
||
2104 | <Anchors> |
||
2105 | <Anchor point="LEFT" relativeTo="$parent_CopyButton" relativePoint="RIGHT"> |
||
2106 | <Offset><AbsDimension x="5" y="0"/></Offset> |
||
2107 | </Anchor> |
||
2108 | </Anchors> |
||
2109 | <Scripts> |
||
2110 | <OnLoad> |
||
2111 | this:SetText(DUF_TEXT.SafeCopy); |
||
2112 | </OnLoad> |
||
2113 | <OnClick> |
||
2114 | DUF_CopyFrame(this.index, 1); |
||
2115 | </OnClick> |
||
2116 | </Scripts> |
||
2117 | </Button> |
||
2118 | </Frames> |
||
2119 | <Scripts> |
||
2120 | <OnLoad> |
||
2121 | this.initFunc = DUF_Initialize_Frame; |
||
2122 | </OnLoad> |
||
2123 | </Scripts> |
||
2124 | </Frame> |
||
2125 | |||
2126 | </Ui> |