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 | ..\FrameXML\UI.xsd"> |
||
3 | |||
4 | <Frame name="DAB_CBoxOptions" hidden="true" parent="DAB_Options" frameStrata="MEDIUM"> |
||
5 | <Size><AbsDimension x="10" y="10"/></Size> |
||
6 | <Anchors> |
||
7 | <Anchor point="TOPLEFT" relativeTo="DAB_Options_BarBrowser_OuterBorder" relativePoint="TOPRIGHT"> |
||
8 | <Offset><AbsDimension x="5" y="-5"/></Offset> |
||
9 | </Anchor> |
||
10 | <Anchor point="BOTTOMRIGHT"/> |
||
11 | </Anchors> |
||
12 | <Frames> |
||
13 | <CheckButton name="$parent_ConfigTab" inherits="DAB_BarTabButtonTemplate" id="1"> |
||
14 | <Anchors> |
||
15 | <Anchor point="TOPLEFT"> |
||
16 | <Offset><AbsDimension x="0" y="-22"/></Offset> |
||
17 | </Anchor> |
||
18 | </Anchors> |
||
19 | <Scripts> |
||
20 | <OnLoad> |
||
21 | DL_Init_TabButton(DAB_TEXT.Config, "DAB_CBOX_OPTIONS", DAB_Select_CboxOptions, 1); |
||
22 | </OnLoad> |
||
23 | </Scripts> |
||
24 | </CheckButton> |
||
25 | <CheckButton name="$parent_ControlTab" inherits="DAB_BarTabButtonTemplate" id="2"> |
||
26 | <Anchors> |
||
27 | <Anchor point="LEFT" relativeTo="$parent_ConfigTab" relativePoint="RIGHT"> |
||
28 | <Offset><AbsDimension x="2" y="0"/></Offset> |
||
29 | </Anchor> |
||
30 | </Anchors> |
||
31 | <Scripts> |
||
32 | <OnLoad> |
||
33 | DL_Init_TabButton(DAB_TEXT.Control, "DAB_CBOX_OPTIONS", DAB_Select_CboxOptions); |
||
34 | </OnLoad> |
||
35 | </Scripts> |
||
36 | </CheckButton> |
||
37 | <CheckButton name="$parent_ScriptsTab" inherits="DAB_BarTabButtonTemplate" id="3"> |
||
38 | <Anchors> |
||
39 | <Anchor point="LEFT" relativeTo="$parent_ControlTab" relativePoint="RIGHT"> |
||
40 | <Offset><AbsDimension x="2" y="0"/></Offset> |
||
41 | </Anchor> |
||
42 | </Anchors> |
||
43 | <Scripts> |
||
44 | <OnLoad> |
||
45 | DL_Init_TabButton(DAB_TEXT.Scripts, "DAB_CBOX_OPTIONS", DAB_Select_CboxOptions); |
||
46 | </OnLoad> |
||
47 | </Scripts> |
||
48 | </CheckButton> |
||
49 | </Frames> |
||
50 | <Scripts> |
||
51 | <OnLoad> |
||
52 | this:EnableMouseWheel(1); |
||
53 | </OnLoad> |
||
54 | <OnMouseWheel> |
||
55 | DAB_CBoxOptions_OnMouseWheel(arg1); |
||
56 | </OnMouseWheel> |
||
57 | </Scripts> |
||
58 | </Frame> |
||
59 | |||
60 | <Frame name="DAB_CBoxOptions_Config" hidden="false" parent="DAB_CBoxOptions" frameStrata="MEDIUM"> |
||
61 | <Size><AbsDimension x="10" y="10"/></Size> |
||
62 | <Anchors> |
||
63 | <Anchor point="TOPLEFT"> |
||
64 | <Offset><AbsDimension x="0" y="-50"/></Offset> |
||
65 | </Anchor> |
||
66 | </Anchors> |
||
67 | <Frames> |
||
68 | <EditBox name="$parent_Text" inherits="DAB_EditBoxTemplate"> |
||
69 | <Size><AbsDimension x="230" y="24"/></Size> |
||
70 | <Scripts> |
||
71 | <OnLoad> |
||
72 | this.index = "text"; |
||
73 | DL_Set_Label(DAB_TEXT.Text); |
||
74 | DL_Set_Anchor("", 0, 0, "TOPLEFT", "TOPLEFT"); |
||
75 | </OnLoad> |
||
76 | </Scripts> |
||
77 | </EditBox> |
||
78 | <CheckButton name="$parent_Hide" inherits="DAB_CheckBoxTemplate"> |
||
79 | <Anchors> |
||
80 | <Anchor point="TOPLEFT"> |
||
81 | <Offset><AbsDimension x="0" y="-25"/></Offset> |
||
82 | </Anchor> |
||
83 | </Anchors> |
||
84 | <Scripts> |
||
85 | <OnLoad> |
||
86 | this.index = "hide"; |
||
87 | DL_Set_Label(DAB_TEXT.Hide); |
||
88 | </OnLoad> |
||
89 | </Scripts> |
||
90 | </CheckButton> |
||
91 | <Button name="$parent_FrameStrata" inherits="DiscordLib_MenuControlTemplate"> |
||
92 | <Size><AbsDimension x="150" y="22"/></Size> |
||
93 | <Scripts> |
||
94 | <OnLoad> |
||
95 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
96 | this.menu = "DAB_DropMenu"; |
||
97 | this.table = "DL_FRAMESTRATAS"; |
||
98 | this.index = "frameStrata"; |
||
99 | DL_Set_Label(DAB_TEXT.FrameStrata); |
||
100 | DL_Set_Anchor("_Hide", 120, 0, "LEFT", "RIGHT"); |
||
101 | </OnLoad> |
||
102 | </Scripts> |
||
103 | </Button> |
||
104 | <Button name="$parent_Color" inherits="DAB_ColorPickerTemplate"> |
||
105 | <Anchors> |
||
106 | <Anchor point="TOPLEFT" relativeTo="$parent_Hide" relativePoint="BOTTOMLEFT"> |
||
107 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
108 | </Anchor> |
||
109 | </Anchors> |
||
110 | <Scripts> |
||
111 | <OnLoad> |
||
112 | this.index = "color"; |
||
113 | DL_Set_Label(DAB_TEXT.TextColor); |
||
114 | </OnLoad> |
||
115 | </Scripts> |
||
116 | </Button> |
||
117 | <Button name="$parent_MColor" inherits="DAB_ColorPickerTemplate"> |
||
118 | <Anchors> |
||
119 | <Anchor point="LEFT" relativeTo="$parent_Color" relativePoint="RIGHT"> |
||
120 | <Offset><AbsDimension x="150" y="0"/></Offset> |
||
121 | </Anchor> |
||
122 | </Anchors> |
||
123 | <Scripts> |
||
124 | <OnLoad> |
||
125 | this.index = "mcolor"; |
||
126 | DL_Set_Label(DAB_TEXT.TextMouseoverColor); |
||
127 | </OnLoad> |
||
128 | </Scripts> |
||
129 | </Button> |
||
130 | <Button name="$parent_BGColor" inherits="DAB_ColorPickerTemplate"> |
||
131 | <Anchors> |
||
132 | <Anchor point="TOPLEFT" relativeTo="$parent_Color" relativePoint="BOTTOMLEFT"> |
||
133 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
134 | </Anchor> |
||
135 | </Anchors> |
||
136 | <Scripts> |
||
137 | <OnLoad> |
||
138 | this.index = "bgcolor"; |
||
139 | DL_Set_Label(DAB_TEXT.BackgroundColor); |
||
140 | </OnLoad> |
||
141 | </Scripts> |
||
142 | </Button> |
||
143 | <Button name="$parent_BGMColor" inherits="DAB_ColorPickerTemplate"> |
||
144 | <Anchors> |
||
145 | <Anchor point="LEFT" relativeTo="$parent_BGColor" relativePoint="RIGHT"> |
||
146 | <Offset><AbsDimension x="150" y="0"/></Offset> |
||
147 | </Anchor> |
||
148 | </Anchors> |
||
149 | <Scripts> |
||
150 | <OnLoad> |
||
151 | this.index = "mbgcolor"; |
||
152 | DL_Set_Label(DAB_TEXT.BackgroundMouseoverColor); |
||
153 | </OnLoad> |
||
154 | </Scripts> |
||
155 | </Button> |
||
156 | <Button name="$parent_BordColor" inherits="DAB_ColorPickerTemplate"> |
||
157 | <Anchors> |
||
158 | <Anchor point="TOPLEFT" relativeTo="$parent_BGColor" relativePoint="BOTTOMLEFT"> |
||
159 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
160 | </Anchor> |
||
161 | </Anchors> |
||
162 | <Scripts> |
||
163 | <OnLoad> |
||
164 | this.index = "bordcolor"; |
||
165 | DL_Set_Label(DAB_TEXT.BorderColor); |
||
166 | </OnLoad> |
||
167 | </Scripts> |
||
168 | </Button> |
||
169 | <Button name="$parent_MBordColor" inherits="DAB_ColorPickerTemplate"> |
||
170 | <Anchors> |
||
171 | <Anchor point="LEFT" relativeTo="$parent_BordColor" relativePoint="RIGHT"> |
||
172 | <Offset><AbsDimension x="150" y="0"/></Offset> |
||
173 | </Anchor> |
||
174 | </Anchors> |
||
175 | <Scripts> |
||
176 | <OnLoad> |
||
177 | this.index = "mbordcolor"; |
||
178 | DL_Set_Label(DAB_TEXT.BorderMouseoverColor); |
||
179 | </OnLoad> |
||
180 | </Scripts> |
||
181 | </Button> |
||
182 | <Slider name="$parent_Height" inherits="DAB_SliderTemplate" minValue="1" maxValue="100" valueStep="1"> |
||
183 | <Anchors> |
||
184 | <Anchor point="TOPLEFT" relativeTo="$parent_BordColor" relativePoint="BOTTOMLEFT"> |
||
185 | <Offset><AbsDimension x="0" y="-15"/></Offset> |
||
186 | </Anchor> |
||
187 | </Anchors> |
||
188 | <Scripts> |
||
189 | <OnLoad> |
||
190 | this.index = "height"; |
||
191 | this.minlock = true; |
||
192 | DL_Set_Label(DAB_TEXT.Height); |
||
193 | </OnLoad> |
||
194 | </Scripts> |
||
195 | </Slider> |
||
196 | <Slider name="$parent_Width" inherits="DAB_SliderTemplate" minValue="1" maxValue="200" valueStep="1"> |
||
197 | <Anchors> |
||
198 | <Anchor point="LEFT" relativeTo="$parent_Height" relativePoint="RIGHT"> |
||
199 | <Offset><AbsDimension x="70" y="0"/></Offset> |
||
200 | </Anchor> |
||
201 | </Anchors> |
||
202 | <Scripts> |
||
203 | <OnLoad> |
||
204 | this.index = "width"; |
||
205 | this.minlock = true; |
||
206 | DL_Set_Label(DAB_TEXT.Width); |
||
207 | </OnLoad> |
||
208 | </Scripts> |
||
209 | </Slider> |
||
210 | <Slider name="$parent_Alpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100" valueStep="1"> |
||
211 | <Anchors> |
||
212 | <Anchor point="TOPLEFT" relativeTo="$parent_Height" relativePoint="BOTTOMLEFT"> |
||
213 | <Offset><AbsDimension x="0" y="-18"/></Offset> |
||
214 | </Anchor> |
||
215 | </Anchors> |
||
216 | <Scripts> |
||
217 | <OnLoad> |
||
218 | this.index = "alpha"; |
||
219 | this.minlock = true; |
||
220 | this.maxlock = true; |
||
221 | this.scale = 100; |
||
222 | DL_Set_Label(DAB_TEXT.TextAlpha); |
||
223 | </OnLoad> |
||
224 | </Scripts> |
||
225 | </Slider> |
||
226 | <Slider name="$parent_MAlpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100" valueStep="1"> |
||
227 | <Anchors> |
||
228 | <Anchor point="LEFT" relativeTo="$parent_Alpha" relativePoint="RIGHT"> |
||
229 | <Offset><AbsDimension x="70" y="0"/></Offset> |
||
230 | </Anchor> |
||
231 | </Anchors> |
||
232 | <Scripts> |
||
233 | <OnLoad> |
||
234 | this.index = "malpha"; |
||
235 | this.minlock = true; |
||
236 | this.maxlock = true; |
||
237 | this.scale = 100; |
||
238 | DL_Set_Label(DAB_TEXT.TextMouseoverAlpha); |
||
239 | </OnLoad> |
||
240 | </Scripts> |
||
241 | </Slider> |
||
242 | <Slider name="$parent_BGAlpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100" valueStep="1"> |
||
243 | <Anchors> |
||
244 | <Anchor point="TOPLEFT" relativeTo="$parent_Alpha" relativePoint="BOTTOMLEFT"> |
||
245 | <Offset><AbsDimension x="0" y="-18"/></Offset> |
||
246 | </Anchor> |
||
247 | </Anchors> |
||
248 | <Scripts> |
||
249 | <OnLoad> |
||
250 | this.index = "bgalpha"; |
||
251 | this.minlock = true; |
||
252 | this.maxlock = true; |
||
253 | this.scale = 100; |
||
254 | DL_Set_Label(DAB_TEXT.BackgroundAlpha); |
||
255 | </OnLoad> |
||
256 | </Scripts> |
||
257 | </Slider> |
||
258 | <Slider name="$parent_MBGAlpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100" valueStep="1"> |
||
259 | <Anchors> |
||
260 | <Anchor point="LEFT" relativeTo="$parent_BGAlpha" relativePoint="RIGHT"> |
||
261 | <Offset><AbsDimension x="70" y="0"/></Offset> |
||
262 | </Anchor> |
||
263 | </Anchors> |
||
264 | <Scripts> |
||
265 | <OnLoad> |
||
266 | this.index = "mbgalpha"; |
||
267 | this.minlock = true; |
||
268 | this.maxlock = true; |
||
269 | this.scale = 100; |
||
270 | DL_Set_Label(DAB_TEXT.BackgroundMouseoverAlpha); |
||
271 | </OnLoad> |
||
272 | </Scripts> |
||
273 | </Slider> |
||
274 | <Slider name="$parent_BordAlpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100" valueStep="1"> |
||
275 | <Anchors> |
||
276 | <Anchor point="TOPLEFT" relativeTo="$parent_BGAlpha" relativePoint="BOTTOMLEFT"> |
||
277 | <Offset><AbsDimension x="0" y="-18"/></Offset> |
||
278 | </Anchor> |
||
279 | </Anchors> |
||
280 | <Scripts> |
||
281 | <OnLoad> |
||
282 | this.index = "bordalpha"; |
||
283 | this.minlock = true; |
||
284 | this.maxlock = true; |
||
285 | this.scale = 100; |
||
286 | DL_Set_Label(DAB_TEXT.BorderAlpha); |
||
287 | </OnLoad> |
||
288 | </Scripts> |
||
289 | </Slider> |
||
290 | <Slider name="$parent_MBordAlpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100" valueStep="1"> |
||
291 | <Anchors> |
||
292 | <Anchor point="LEFT" relativeTo="$parent_BordAlpha" relativePoint="RIGHT"> |
||
293 | <Offset><AbsDimension x="70" y="0"/></Offset> |
||
294 | </Anchor> |
||
295 | </Anchors> |
||
296 | <Scripts> |
||
297 | <OnLoad> |
||
298 | this.index = "mbordalpha"; |
||
299 | this.minlock = true; |
||
300 | this.maxlock = true; |
||
301 | this.scale = 100; |
||
302 | DL_Set_Label(DAB_TEXT.BorderMouseoverAlpha); |
||
303 | </OnLoad> |
||
304 | </Scripts> |
||
305 | </Slider> |
||
306 | <Slider name="$parent_FontSize" inherits="DAB_SliderTemplate" minValue="1" maxValue="30" valueStep=".5"> |
||
307 | <Anchors> |
||
308 | <Anchor point="TOPLEFT" relativeTo="$parent_BordAlpha" relativePoint="BOTTOMLEFT"> |
||
309 | <Offset><AbsDimension x="0" y="-18"/></Offset> |
||
310 | </Anchor> |
||
311 | </Anchors> |
||
312 | <Scripts> |
||
313 | <OnLoad> |
||
314 | this.index = "fontsize"; |
||
315 | this.minlock = true; |
||
316 | DL_Set_Label(DAB_TEXT.FontSize); |
||
317 | </OnLoad> |
||
318 | </Scripts> |
||
319 | </Slider> |
||
320 | <Button name="$parent_JustifyH" inherits="DiscordLib_MenuControlTemplate"> |
||
321 | <Size><AbsDimension x="90" y="22"/></Size> |
||
322 | <Scripts> |
||
323 | <OnLoad> |
||
324 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
325 | this.menu = "DAB_DropMenu"; |
||
326 | this.table = "DL_JUSTIFY_H"; |
||
327 | this.index = "justifyH"; |
||
328 | DL_Set_Label(DAB_TEXT.JustifyH); |
||
329 | DL_Set_Anchor("_FontSize", 55, 10, "LEFT", "RIGHT"); |
||
330 | </OnLoad> |
||
331 | </Scripts> |
||
332 | </Button> |
||
333 | <Button name="$parent_JustifyV" inherits="DiscordLib_MenuControlTemplate"> |
||
334 | <Size><AbsDimension x="90" y="22"/></Size> |
||
335 | <Scripts> |
||
336 | <OnLoad> |
||
337 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
338 | this.menu = "DAB_DropMenu"; |
||
339 | this.table = "DL_JUSTIFY_V"; |
||
340 | this.index = "justifyV"; |
||
341 | DL_Set_Label(DAB_TEXT.JustifyV); |
||
342 | DL_Set_Anchor("_FontSize", 55, -10, "LEFT", "RIGHT"); |
||
343 | </OnLoad> |
||
344 | </Scripts> |
||
345 | </Button> |
||
346 | |||
347 | <Frame name="$parent_AnchorFrame" inherits="DiscordLib_EditMenuControlTemplate"> |
||
348 | <Size><AbsDimension x="100" y="22"/></Size> |
||
349 | <Anchors> |
||
350 | <Anchor point="TOPLEFT" relativeTo="$parent_FontSize" relativePoint="BOTTOMLEFT"> |
||
351 | <Offset><AbsDimension x="0" y="-25"/></Offset> |
||
352 | </Anchor> |
||
353 | </Anchors> |
||
354 | <Scripts> |
||
355 | <OnLoad> |
||
356 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
357 | this.menu = "DAB_ScrollMenu"; |
||
358 | this.table = "DL_ANCHOR_FRAMES"; |
||
359 | this.editFunc = DAB_AnchorFrameEditBox_OnEnterPressed; |
||
360 | this.index = "Anchor"; |
||
361 | this.subindex = "frame"; |
||
362 | </OnLoad> |
||
363 | </Scripts> |
||
364 | </Frame> |
||
365 | <Button name="$parent_AnchorPoint" inherits="DiscordLib_MenuControlTemplate"> |
||
366 | <Size><AbsDimension x="80" y="22"/></Size> |
||
367 | <Anchors> |
||
368 | <Anchor point="LEFT" relativeTo="$parent_AnchorFrame" relativePoint="RIGHT"> |
||
369 | <Offset><AbsDimension x="12" y="0"/></Offset> |
||
370 | </Anchor> |
||
371 | </Anchors> |
||
372 | <Scripts> |
||
373 | <OnLoad> |
||
374 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
375 | this.menu = "DAB_DropMenu"; |
||
376 | this.table = "DL_ANCHORS"; |
||
377 | this.index = "Anchor"; |
||
378 | this.subindex = "point"; |
||
379 | </OnLoad> |
||
380 | </Scripts> |
||
381 | </Button> |
||
382 | <Button name="$parent_AnchorTo" inherits="DiscordLib_MenuControlTemplate"> |
||
383 | <Size><AbsDimension x="80" y="22"/></Size> |
||
384 | <Anchors> |
||
385 | <Anchor point="LEFT" relativeTo="$parent_AnchorPoint" relativePoint="RIGHT"/> |
||
386 | </Anchors> |
||
387 | <Scripts> |
||
388 | <OnLoad> |
||
389 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
390 | this.menu = "DAB_DropMenu"; |
||
391 | this.table = "DL_ANCHORS"; |
||
392 | this.index = "Anchor"; |
||
393 | this.subindex = "to"; |
||
394 | </OnLoad> |
||
395 | </Scripts> |
||
396 | </Button> |
||
397 | <EditBox name="$parent_XOffset" inherits="DAB_EditBoxTemplate"> |
||
398 | <Size><AbsDimension x="60" y="24"/></Size> |
||
399 | <Anchors> |
||
400 | <Anchor point="LEFT" relativeTo="$parent_AnchorTo" relativePoint="RIGHT"> |
||
401 | <Offset><AbsDimension x="5" y="0"/></Offset> |
||
402 | </Anchor> |
||
403 | </Anchors> |
||
404 | <Scripts> |
||
405 | <OnLoad> |
||
406 | this.index = "Anchor"; |
||
407 | this.subindex = "x"; |
||
408 | this.number = true; |
||
409 | </OnLoad> |
||
410 | </Scripts> |
||
411 | </EditBox> |
||
412 | <EditBox name="$parent_YOffset" inherits="DAB_EditBoxTemplate"> |
||
413 | <Size><AbsDimension x="60" y="24"/></Size> |
||
414 | <Anchors> |
||
415 | <Anchor point="LEFT" relativeTo="$parent_XOffset" relativePoint="RIGHT"> |
||
416 | <Offset><AbsDimension x="0" y="0"/></Offset> |
||
417 | </Anchor> |
||
418 | </Anchors> |
||
419 | <Scripts> |
||
420 | <OnLoad> |
||
421 | this.index = "Anchor"; |
||
422 | this.subindex = "y"; |
||
423 | this.number = true; |
||
424 | </OnLoad> |
||
425 | </Scripts> |
||
426 | </EditBox> |
||
427 | <Button name="$parent_TextAnchorPoint" inherits="DiscordLib_MenuControlTemplate"> |
||
428 | <Size><AbsDimension x="80" y="22"/></Size> |
||
429 | <Anchors> |
||
430 | <Anchor point="TOP" relativeTo="$parent_AnchorPoint" relativePoint="BOTTOM"/> |
||
431 | </Anchors> |
||
432 | <Scripts> |
||
433 | <OnLoad> |
||
434 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
435 | this.menu = "DAB_DropMenu"; |
||
436 | this.table = "DL_ANCHORS"; |
||
437 | this.index = "TextAnchor"; |
||
438 | this.subindex = "point"; |
||
439 | DL_Set_Label(DAB_TEXT.Text); |
||
440 | </OnLoad> |
||
441 | </Scripts> |
||
442 | </Button> |
||
443 | <Button name="$parent_TextAnchorTo" inherits="DiscordLib_MenuControlTemplate"> |
||
444 | <Size><AbsDimension x="80" y="22"/></Size> |
||
445 | <Anchors> |
||
446 | <Anchor point="LEFT" relativeTo="$parent_TextAnchorPoint" relativePoint="RIGHT"/> |
||
447 | </Anchors> |
||
448 | <Scripts> |
||
449 | <OnLoad> |
||
450 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
451 | this.menu = "DAB_DropMenu"; |
||
452 | this.table = "DL_ANCHORS"; |
||
453 | this.index = "TextAnchor"; |
||
454 | this.subindex = "to"; |
||
455 | </OnLoad> |
||
456 | </Scripts> |
||
457 | </Button> |
||
458 | <EditBox name="$parent_TextXOffset" inherits="DAB_EditBoxTemplate"> |
||
459 | <Size><AbsDimension x="60" y="24"/></Size> |
||
460 | <Anchors> |
||
461 | <Anchor point="LEFT" relativeTo="$parent_TextAnchorTo" relativePoint="RIGHT"> |
||
462 | <Offset><AbsDimension x="5" y="0"/></Offset> |
||
463 | </Anchor> |
||
464 | </Anchors> |
||
465 | <Scripts> |
||
466 | <OnLoad> |
||
467 | this.index = "TextAnchor"; |
||
468 | this.subindex = "x"; |
||
469 | this.number = true; |
||
470 | </OnLoad> |
||
471 | </Scripts> |
||
472 | </EditBox> |
||
473 | <EditBox name="$parent_TextYOffset" inherits="DAB_EditBoxTemplate"> |
||
474 | <Size><AbsDimension x="60" y="24"/></Size> |
||
475 | <Anchors> |
||
476 | <Anchor point="LEFT" relativeTo="$parent_TextXOffset" relativePoint="RIGHT"> |
||
477 | <Offset><AbsDimension x="0" y="0"/></Offset> |
||
478 | </Anchor> |
||
479 | </Anchors> |
||
480 | <Scripts> |
||
481 | <OnLoad> |
||
482 | this.index = "TextAnchor"; |
||
483 | this.subindex = "y"; |
||
484 | this.number = true; |
||
485 | </OnLoad> |
||
486 | </Scripts> |
||
487 | </EditBox> |
||
488 | |||
489 | <Button name="$parent_NudgeUp" inherits="DAB_NudgeTemplate" id="1"> |
||
490 | <Anchors> |
||
491 | <Anchor point="TOP" relativeTo="DAB_CBoxOptions"> |
||
492 | <Offset><AbsDimension x="-30" y="-418"/></Offset> |
||
493 | </Anchor> |
||
494 | </Anchors> |
||
495 | <Scripts> |
||
496 | <OnLoad> |
||
497 | DL_NudgeButton_OnLoad(); |
||
498 | this.updateFrame = "DAB_CBoxOptions_Config_YOffset"; |
||
499 | </OnLoad> |
||
500 | </Scripts> |
||
501 | </Button> |
||
502 | <Button name="$parent_NudgeDown" inherits="DAB_NudgeTemplate" id="2"> |
||
503 | <Anchors> |
||
504 | <Anchor point="TOP" relativeTo="DAB_CBoxOptions"> |
||
505 | <Offset><AbsDimension x="-10" y="-418"/></Offset> |
||
506 | </Anchor> |
||
507 | </Anchors> |
||
508 | <Scripts> |
||
509 | <OnLoad> |
||
510 | DL_NudgeButton_OnLoad(); |
||
511 | this.updateFrame = "DAB_CBoxOptions_Config_YOffset"; |
||
512 | </OnLoad> |
||
513 | </Scripts> |
||
514 | </Button> |
||
515 | <Button name="$parent_NudgeLeft" inherits="DAB_NudgeTemplate" id="3"> |
||
516 | <Anchors> |
||
517 | <Anchor point="TOP" relativeTo="DAB_CBoxOptions"> |
||
518 | <Offset><AbsDimension x="10" y="-418"/></Offset> |
||
519 | </Anchor> |
||
520 | </Anchors> |
||
521 | <Scripts> |
||
522 | <OnLoad> |
||
523 | DL_NudgeButton_OnLoad(); |
||
524 | this.updateFrame = "DAB_CBoxOptions_Config_XOffset"; |
||
525 | </OnLoad> |
||
526 | </Scripts> |
||
527 | </Button> |
||
528 | <Button name="$parent_NudgeRight" inherits="DAB_NudgeTemplate" id="4"> |
||
529 | <Anchors> |
||
530 | <Anchor point="TOP" relativeTo="DAB_CBoxOptions"> |
||
531 | <Offset><AbsDimension x="30" y="-418"/></Offset> |
||
532 | </Anchor> |
||
533 | </Anchors> |
||
534 | <Scripts> |
||
535 | <OnLoad> |
||
536 | DL_NudgeButton_OnLoad(); |
||
537 | this.updateFrame = "DAB_CBoxOptions_Config_XOffset"; |
||
538 | </OnLoad> |
||
539 | </Scripts> |
||
540 | </Button> |
||
541 | |||
542 | <Frame name="$parent_BGTexture" inherits="DiscordLib_EditMenuControlTemplate"> |
||
543 | <Size><AbsDimension x="200" y="22"/></Size> |
||
544 | <Scripts> |
||
545 | <OnLoad> |
||
546 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
547 | this.menu = "DAB_ScrollMenu"; |
||
548 | this.table = "DL_TEXTURES_LIST"; |
||
549 | this.editFunc = DAB_TextureEditBox_OnEnterPressed; |
||
550 | this.index = "bgtexture"; |
||
551 | DL_Set_Label(DAB_TEXT.BackgroundTexture); |
||
552 | DL_Set_Anchor("_AnchorFrame", 0, -45); |
||
553 | </OnLoad> |
||
554 | </Scripts> |
||
555 | </Frame> |
||
556 | <Frame name="$parent_Font" inherits="DiscordLib_EditMenuControlTemplate"> |
||
557 | <Size><AbsDimension x="200" y="22"/></Size> |
||
558 | <Scripts> |
||
559 | <OnLoad> |
||
560 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
561 | this.menu = "DAB_ScrollMenu"; |
||
562 | this.table = "DL_FONTS_LIST"; |
||
563 | this.editFunc = DAB_FontEditBox_OnEnterPressed; |
||
564 | this.index = "font"; |
||
565 | DL_Set_Label(DAB_TEXT.Font); |
||
566 | DL_Set_Anchor("_AnchorFrame", 0, -70); |
||
567 | </OnLoad> |
||
568 | </Scripts> |
||
569 | </Frame> |
||
570 | |||
571 | <CheckButton name="$parent_HideTop" inherits="DAB_CheckBoxTemplate"> |
||
572 | <Anchors> |
||
573 | <Anchor point="TOPLEFT" relativeTo="$parent_AnchorFrame" relativePoint="BOTTOMLEFT"> |
||
574 | <Offset><AbsDimension x="0" y="-110"/></Offset> |
||
575 | </Anchor> |
||
576 | </Anchors> |
||
577 | <Scripts> |
||
578 | <OnLoad> |
||
579 | this.index = "b1hide"; |
||
580 | DL_Set_Label(DAB_TEXT.Top); |
||
581 | </OnLoad> |
||
582 | </Scripts> |
||
583 | </CheckButton> |
||
584 | <EditBox name="$parent_WidthTop" inherits="DAB_EditBoxTemplate"> |
||
585 | <Size><AbsDimension x="50" y="24"/></Size> |
||
586 | <Anchors> |
||
587 | <Anchor point="LEFT" relativeTo="$parent_HideTop" relativePoint="RIGHT"> |
||
588 | <Offset><AbsDimension x="80" y="0"/></Offset> |
||
589 | </Anchor> |
||
590 | </Anchors> |
||
591 | <Scripts> |
||
592 | <OnLoad> |
||
593 | this.index = "b1width"; |
||
594 | this.number = true; |
||
595 | </OnLoad> |
||
596 | </Scripts> |
||
597 | </EditBox> |
||
598 | <Frame name="$parent_TextureTop" inherits="DiscordLib_EditMenuControlTemplate"> |
||
599 | <Size><AbsDimension x="220" y="22"/></Size> |
||
600 | <Anchors> |
||
601 | <Anchor point="LEFT" relativeTo="$parent_WidthTop" relativePoint="RIGHT"/> |
||
602 | </Anchors> |
||
603 | <Scripts> |
||
604 | <OnLoad> |
||
605 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
606 | this.menu = "DAB_ScrollMenu"; |
||
607 | this.table = "DL_TEXTURES_LIST"; |
||
608 | this.editFunc = DAB_TextureEditBox_OnEnterPressed; |
||
609 | this.index = "b1texture"; |
||
610 | </OnLoad> |
||
611 | </Scripts> |
||
612 | </Frame> |
||
613 | <CheckButton name="$parent_HideBottom" inherits="DAB_CheckBoxTemplate"> |
||
614 | <Anchors> |
||
615 | <Anchor point="TOPLEFT" relativeTo="$parent_HideTop" relativePoint="BOTTOMLEFT"> |
||
616 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
617 | </Anchor> |
||
618 | </Anchors> |
||
619 | <Scripts> |
||
620 | <OnLoad> |
||
621 | this.index = "b2hide"; |
||
622 | DL_Set_Label(DAB_TEXT.Bottom); |
||
623 | </OnLoad> |
||
624 | </Scripts> |
||
625 | </CheckButton> |
||
626 | <EditBox name="$parent_WidthBottom" inherits="DAB_EditBoxTemplate"> |
||
627 | <Size><AbsDimension x="50" y="24"/></Size> |
||
628 | <Anchors> |
||
629 | <Anchor point="LEFT" relativeTo="$parent_HideBottom" relativePoint="RIGHT"> |
||
630 | <Offset><AbsDimension x="80" y="0"/></Offset> |
||
631 | </Anchor> |
||
632 | </Anchors> |
||
633 | <Scripts> |
||
634 | <OnLoad> |
||
635 | this.index = "b2width"; |
||
636 | this.number = true; |
||
637 | </OnLoad> |
||
638 | </Scripts> |
||
639 | </EditBox> |
||
640 | <Frame name="$parent_TextureBottom" inherits="DiscordLib_EditMenuControlTemplate"> |
||
641 | <Size><AbsDimension x="220" y="22"/></Size> |
||
642 | <Anchors> |
||
643 | <Anchor point="LEFT" relativeTo="$parent_WidthBottom" relativePoint="RIGHT"/> |
||
644 | </Anchors> |
||
645 | <Scripts> |
||
646 | <OnLoad> |
||
647 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
648 | this.menu = "DAB_ScrollMenu"; |
||
649 | this.table = "DL_TEXTURES_LIST"; |
||
650 | this.editFunc = DAB_TextureEditBox_OnEnterPressed; |
||
651 | this.index = "b2texture"; |
||
652 | </OnLoad> |
||
653 | </Scripts> |
||
654 | </Frame> |
||
655 | <CheckButton name="$parent_HideLeft" inherits="DAB_CheckBoxTemplate"> |
||
656 | <Anchors> |
||
657 | <Anchor point="TOPLEFT" relativeTo="$parent_HideBottom" relativePoint="BOTTOMLEFT"> |
||
658 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
659 | </Anchor> |
||
660 | </Anchors> |
||
661 | <Scripts> |
||
662 | <OnLoad> |
||
663 | this.index = "b3hide"; |
||
664 | DL_Set_Label(DAB_TEXT.Left); |
||
665 | </OnLoad> |
||
666 | </Scripts> |
||
667 | </CheckButton> |
||
668 | <EditBox name="$parent_WidthLeft" inherits="DAB_EditBoxTemplate"> |
||
669 | <Size><AbsDimension x="50" y="24"/></Size> |
||
670 | <Anchors> |
||
671 | <Anchor point="LEFT" relativeTo="$parent_HideLeft" relativePoint="RIGHT"> |
||
672 | <Offset><AbsDimension x="80" y="0"/></Offset> |
||
673 | </Anchor> |
||
674 | </Anchors> |
||
675 | <Scripts> |
||
676 | <OnLoad> |
||
677 | this.index = "b3width"; |
||
678 | this.number = true; |
||
679 | </OnLoad> |
||
680 | </Scripts> |
||
681 | </EditBox> |
||
682 | <Frame name="$parent_TextureLeft" inherits="DiscordLib_EditMenuControlTemplate"> |
||
683 | <Size><AbsDimension x="220" y="22"/></Size> |
||
684 | <Anchors> |
||
685 | <Anchor point="LEFT" relativeTo="$parent_WidthLeft" relativePoint="RIGHT"/> |
||
686 | </Anchors> |
||
687 | <Scripts> |
||
688 | <OnLoad> |
||
689 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
690 | this.menu = "DAB_ScrollMenu"; |
||
691 | this.table = "DL_TEXTURES_LIST"; |
||
692 | this.editFunc = DAB_TextureEditBox_OnEnterPressed; |
||
693 | this.index = "b3texture"; |
||
694 | </OnLoad> |
||
695 | </Scripts> |
||
696 | </Frame> |
||
697 | <CheckButton name="$parent_HideRight" inherits="DAB_CheckBoxTemplate"> |
||
698 | <Anchors> |
||
699 | <Anchor point="TOPLEFT" relativeTo="$parent_HideLeft" relativePoint="BOTTOMLEFT"> |
||
700 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
701 | </Anchor> |
||
702 | </Anchors> |
||
703 | <Scripts> |
||
704 | <OnLoad> |
||
705 | this.index = "b4hide"; |
||
706 | DL_Set_Label(DAB_TEXT.Right); |
||
707 | </OnLoad> |
||
708 | </Scripts> |
||
709 | </CheckButton> |
||
710 | <EditBox name="$parent_WidthRight" inherits="DAB_EditBoxTemplate"> |
||
711 | <Size><AbsDimension x="50" y="24"/></Size> |
||
712 | <Anchors> |
||
713 | <Anchor point="LEFT" relativeTo="$parent_HideRight" relativePoint="RIGHT"> |
||
714 | <Offset><AbsDimension x="80" y="0"/></Offset> |
||
715 | </Anchor> |
||
716 | </Anchors> |
||
717 | <Scripts> |
||
718 | <OnLoad> |
||
719 | this.index = "b4width"; |
||
720 | this.number = true; |
||
721 | </OnLoad> |
||
722 | </Scripts> |
||
723 | </EditBox> |
||
724 | <Frame name="$parent_TextureRight" inherits="DiscordLib_EditMenuControlTemplate"> |
||
725 | <Size><AbsDimension x="220" y="22"/></Size> |
||
726 | <Anchors> |
||
727 | <Anchor point="LEFT" relativeTo="$parent_WidthRight" relativePoint="RIGHT"/> |
||
728 | </Anchors> |
||
729 | <Scripts> |
||
730 | <OnLoad> |
||
731 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
732 | this.menu = "DAB_ScrollMenu"; |
||
733 | this.table = "DL_TEXTURES_LIST"; |
||
734 | this.editFunc = DAB_TextureEditBox_OnEnterPressed; |
||
735 | this.index = "b4texture"; |
||
736 | </OnLoad> |
||
737 | </Scripts> |
||
738 | </Frame> |
||
739 | </Frames> |
||
740 | <Layers> |
||
741 | <Layer level="OVERLAY"> |
||
742 | <FontString name="$parent_AnchorLabel" inherits="GameFontNormal"> |
||
743 | <Anchors> |
||
744 | <Anchor point="CENTER" relativePoint="TOPLEFT"> |
||
745 | <Offset><AbsDimension x="50" y="-317"/></Offset> |
||
746 | </Anchor> |
||
747 | </Anchors> |
||
748 | </FontString> |
||
749 | <FontString name="$parent_AnchorPointLabel" inherits="GameFontNormal"> |
||
750 | <Anchors> |
||
751 | <Anchor point="CENTER" relativePoint="TOPLEFT"> |
||
752 | <Offset><AbsDimension x="152" y="-317"/></Offset> |
||
753 | </Anchor> |
||
754 | </Anchors> |
||
755 | </FontString> |
||
756 | <FontString name="$parent_AnchorToLabel" inherits="GameFontNormal"> |
||
757 | <Anchors> |
||
758 | <Anchor point="CENTER" relativePoint="TOPLEFT"> |
||
759 | <Offset><AbsDimension x="233" y="-317"/></Offset> |
||
760 | </Anchor> |
||
761 | </Anchors> |
||
762 | </FontString> |
||
763 | <FontString inherits="GameFontNormal" text="X"> |
||
764 | <Anchors> |
||
765 | <Anchor point="CENTER" relativePoint="TOPLEFT"> |
||
766 | <Offset><AbsDimension x="300" y="-317"/></Offset> |
||
767 | </Anchor> |
||
768 | </Anchors> |
||
769 | </FontString> |
||
770 | <FontString inherits="GameFontNormal" text="Y"> |
||
771 | <Anchors> |
||
772 | <Anchor point="CENTER" relativePoint="TOPLEFT"> |
||
773 | <Offset><AbsDimension x="360" y="-317"/></Offset> |
||
774 | </Anchor> |
||
775 | </Anchors> |
||
776 | </FontString> |
||
777 | <FontString name="$parent_HideLabel" inherits="GameFontNormal"> |
||
778 | <Anchors> |
||
779 | <Anchor point="CENTER" relativePoint="TOPLEFT"> |
||
780 | <Offset><AbsDimension x="12" y="-450"/></Offset> |
||
781 | </Anchor> |
||
782 | </Anchors> |
||
783 | </FontString> |
||
784 | <FontString name="$parent_BorderLabel" inherits="GameFontNormal"> |
||
785 | <Anchors> |
||
786 | <Anchor point="CENTER" relativePoint="TOPLEFT"> |
||
787 | <Offset><AbsDimension x="66" y="-450"/></Offset> |
||
788 | </Anchor> |
||
789 | </Anchors> |
||
790 | </FontString> |
||
791 | <FontString name="$parent_WidthLabel" inherits="GameFontNormal"> |
||
792 | <Anchors> |
||
793 | <Anchor point="CENTER" relativePoint="TOPLEFT"> |
||
794 | <Offset><AbsDimension x="120" y="-450"/></Offset> |
||
795 | </Anchor> |
||
796 | </Anchors> |
||
797 | </FontString> |
||
798 | <FontString name="$parent_TextureLabel" inherits="GameFontNormal"> |
||
799 | <Anchors> |
||
800 | <Anchor point="CENTER" relativePoint="TOPLEFT"> |
||
801 | <Offset><AbsDimension x="255" y="-450"/></Offset> |
||
802 | </Anchor> |
||
803 | </Anchors> |
||
804 | </FontString> |
||
805 | </Layer> |
||
806 | </Layers> |
||
807 | </Frame> |
||
808 | |||
809 | <Frame name="DAB_CBoxOptions_Control" hidden="true" parent="DAB_CBoxOptions" frameStrata="MEDIUM"> |
||
810 | <Size><AbsDimension x="10" y="10"/></Size> |
||
811 | <Anchors> |
||
812 | <Anchor point="TOPLEFT"> |
||
813 | <Offset><AbsDimension x="0" y="-50"/></Offset> |
||
814 | </Anchor> |
||
815 | </Anchors> |
||
816 | <Frames> |
||
817 | <Button name="$parent_Group" inherits="DiscordLib_MenuControlTemplate"> |
||
818 | <Size><AbsDimension x="80" y="22"/></Size> |
||
819 | <Scripts> |
||
820 | <OnLoad> |
||
821 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
822 | this.menu = "DAB_ScrollMenu"; |
||
823 | this.table = "DAB_GROUPS"; |
||
824 | this.index = "group"; |
||
825 | DL_Set_Label(DAB_TEXT.ControlledGroup); |
||
826 | DL_Set_Anchor("", 0, 0, "TOPLEFT", "TOPLEFT"); |
||
827 | </OnLoad> |
||
828 | </Scripts> |
||
829 | </Button> |
||
830 | <Frame name="$parent_CBGroup" inherits="DiscordLib_EditMenuControlTemplate"> |
||
831 | <Size><AbsDimension x="80" y="22"/></Size> |
||
832 | <Scripts> |
||
833 | <OnLoad> |
||
834 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
835 | this.menu = "DAB_ScrollMenu"; |
||
836 | this.table = "DAB_GROUPS"; |
||
837 | this.editFunc = DAB_GroupEditBox_OnEnterPressed; |
||
838 | this.index = "cbgroup"; |
||
839 | DL_Set_Label(DAB_TEXT.ControlBoxGroup); |
||
840 | DL_Set_Anchor("", 0, -25, "TOPLEFT", "TOPLEFT"); |
||
841 | </OnLoad> |
||
842 | </Scripts> |
||
843 | </Frame> |
||
844 | <CheckButton name="$parent_OnClick" inherits="DAB_CheckBoxTemplate"> |
||
845 | <Anchors> |
||
846 | <Anchor point="TOPLEFT"> |
||
847 | <Offset><AbsDimension x="0" y="-55"/></Offset> |
||
848 | </Anchor> |
||
849 | </Anchors> |
||
850 | <Scripts> |
||
851 | <OnLoad> |
||
852 | this.index = "onclick"; |
||
853 | DL_Set_Label(DAB_TEXT.ToggleGroupOnClick); |
||
854 | </OnLoad> |
||
855 | </Scripts> |
||
856 | </CheckButton> |
||
857 | <CheckButton name="$parent_OnMouseover" inherits="DAB_CheckBoxTemplate"> |
||
858 | <Anchors> |
||
859 | <Anchor point="TOPLEFT" relativeTo="$parent_OnClick" relativePoint="BOTTOMLEFT"> |
||
860 | <Offset><AbsDimension x="0" y="-40"/></Offset> |
||
861 | </Anchor> |
||
862 | </Anchors> |
||
863 | <Scripts> |
||
864 | <OnLoad> |
||
865 | this.index = "onmouseover"; |
||
866 | DL_Set_Label(DAB_TEXT.ToggleGroupOnMouseover); |
||
867 | </OnLoad> |
||
868 | </Scripts> |
||
869 | </CheckButton> |
||
870 | <Slider name="$parent_Delay" inherits="DAB_SliderTemplate" minValue="0" maxValue="1" valueStep=".1"> |
||
871 | <Anchors> |
||
872 | <Anchor point="TOPLEFT" relativeTo="$parent_OnMouseover" relativePoint="BOTTOMLEFT"> |
||
873 | <Offset><AbsDimension x="0" y="-15"/></Offset> |
||
874 | </Anchor> |
||
875 | </Anchors> |
||
876 | <Scripts> |
||
877 | <OnLoad> |
||
878 | this.index = "delay"; |
||
879 | this.minlock = true; |
||
880 | DL_Set_Label(DAB_TEXT.MouseoutDelay); |
||
881 | </OnLoad> |
||
882 | </Scripts> |
||
883 | </Slider> |
||
884 | <EditBox name="$parent_HideGroups" inherits="DAB_EditBoxTemplate"> |
||
885 | <Size><AbsDimension x="200" y="24"/></Size> |
||
886 | <Scripts> |
||
887 | <OnLoad> |
||
888 | this.index = "hidegroups"; |
||
889 | DL_Set_Label(DAB_TEXT.HideGroups); |
||
890 | DL_Set_Anchor("_OnClick", 0, 0); |
||
891 | </OnLoad> |
||
892 | </Scripts> |
||
893 | </EditBox> |
||
894 | <CheckButton name="$parent_OnRightClick" inherits="DAB_CheckBoxTemplate"> |
||
895 | <Anchors> |
||
896 | <Anchor point="TOPLEFT" relativeTo="$parent_Delay" relativePoint="BOTTOMLEFT"> |
||
897 | <Offset><AbsDimension x="0" y="-30"/></Offset> |
||
898 | </Anchor> |
||
899 | </Anchors> |
||
900 | <Scripts> |
||
901 | <OnLoad> |
||
902 | this.index = "onrightclick"; |
||
903 | </OnLoad> |
||
904 | </Scripts> |
||
905 | </CheckButton> |
||
906 | <Button name="$parent_RCGroup" inherits="DiscordLib_MenuControlTemplate"> |
||
907 | <Size><AbsDimension x="80" y="22"/></Size> |
||
908 | <Scripts> |
||
909 | <OnLoad> |
||
910 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
911 | this.menu = "DAB_ScrollMenu"; |
||
912 | this.table = "DAB_GROUPS"; |
||
913 | this.index = "rcgroup"; |
||
914 | DL_Set_Label(DAB_TEXT.ToggleGroupOnRightClick); |
||
915 | DL_Set_Anchor("_OnRightClick", 0, 0, "LEFT", "RIGHT"); |
||
916 | </OnLoad> |
||
917 | </Scripts> |
||
918 | </Button> |
||
919 | <CheckButton name="$parent_OnMiddleClick" inherits="DAB_CheckBoxTemplate"> |
||
920 | <Anchors> |
||
921 | <Anchor point="TOPLEFT" relativeTo="$parent_OnRightClick" relativePoint="BOTTOMLEFT"/> |
||
922 | </Anchors> |
||
923 | <Scripts> |
||
924 | <OnLoad> |
||
925 | this.index = "onmiddleclick"; |
||
926 | </OnLoad> |
||
927 | </Scripts> |
||
928 | </CheckButton> |
||
929 | <Button name="$parent_MCGroup" inherits="DiscordLib_MenuControlTemplate"> |
||
930 | <Size><AbsDimension x="80" y="22"/></Size> |
||
931 | <Scripts> |
||
932 | <OnLoad> |
||
933 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
934 | this.menu = "DAB_ScrollMenu"; |
||
935 | this.table = "DAB_GROUPS"; |
||
936 | this.index = "mcgroup"; |
||
937 | DL_Set_Label(DAB_TEXT.ToggleGroupOnMiddleClick); |
||
938 | DL_Set_Anchor("_OnMiddleClick", 0, 0, "LEFT", "RIGHT"); |
||
939 | </OnLoad> |
||
940 | </Scripts> |
||
941 | </Button> |
||
942 | <CheckButton name="$parent_ChangePage" inherits="DAB_CheckBoxTemplate"> |
||
943 | <Anchors> |
||
944 | <Anchor point="TOPLEFT" relativeTo="$parent_OnMiddleClick" relativePoint="BOTTOMLEFT"> |
||
945 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
946 | </Anchor> |
||
947 | </Anchors> |
||
948 | <Scripts> |
||
949 | <OnLoad> |
||
950 | this.index = "changePage"; |
||
951 | DL_Set_Label(DAB_TEXT.ControlBarPage); |
||
952 | </OnLoad> |
||
953 | </Scripts> |
||
954 | </CheckButton> |
||
955 | <Button name="$parent_PageControlBar" inherits="DiscordLib_MenuControlTemplate"> |
||
956 | <Size><AbsDimension x="75" y="22"/></Size> |
||
957 | <Scripts> |
||
958 | <OnLoad> |
||
959 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
960 | this.menu = "DAB_DropMenu"; |
||
961 | this.table = "DAB_NUMBERS"; |
||
962 | this.index = "changePageBar"; |
||
963 | this.initFunc = DAB_Change_PageControlBar; |
||
964 | DL_Set_Label(DAB_TEXT.Bar); |
||
965 | DL_Set_Anchor("_ChangePage", 0, 0); |
||
966 | </OnLoad> |
||
967 | </Scripts> |
||
968 | </Button> |
||
969 | <Button name="$parent_PageControlType" inherits="DiscordLib_MenuControlTemplate"> |
||
970 | <Size><AbsDimension x="150" y="22"/></Size> |
||
971 | <Scripts> |
||
972 | <OnLoad> |
||
973 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
974 | this.menu = "DAB_DropMenu"; |
||
975 | this.table = "DAB_PAGE_CONTROLS"; |
||
976 | this.index = "changePageType"; |
||
977 | this.initFunc = DAB_Change_PageControlType; |
||
978 | DL_Set_Label(""); |
||
979 | DL_Set_Anchor("_ChangePage", 0, -25); |
||
980 | </OnLoad> |
||
981 | </Scripts> |
||
982 | </Button> |
||
983 | <Button name="$parent_PageControlPage" inherits="DiscordLib_MenuControlTemplate"> |
||
984 | <Size><AbsDimension x="75" y="22"/></Size> |
||
985 | <Scripts> |
||
986 | <OnLoad> |
||
987 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
988 | this.menu = "DAB_DropMenu"; |
||
989 | this.table = "DAB_CONTROL_PAGES"; |
||
990 | this.index = "changePagePage"; |
||
991 | DL_Set_Label(""); |
||
992 | DL_Set_Anchor("_PageControlType", 0, 0, "LEFT", "RIGHT"); |
||
993 | </OnLoad> |
||
994 | </Scripts> |
||
995 | </Button> |
||
996 | <CheckButton name="$parent_DisplayPage" inherits="DAB_CheckBoxTemplate"> |
||
997 | <Anchors> |
||
998 | <Anchor point="TOPLEFT" relativeTo="$parent_ChangePage" relativePoint="BOTTOMLEFT"> |
||
999 | <Offset><AbsDimension x="0" y="-50"/></Offset> |
||
1000 | </Anchor> |
||
1001 | </Anchors> |
||
1002 | <Scripts> |
||
1003 | <OnLoad> |
||
1004 | this.index = "displayPage"; |
||
1005 | DL_Set_Label(DAB_TEXT.DisplayBarPage); |
||
1006 | </OnLoad> |
||
1007 | </Scripts> |
||
1008 | </CheckButton> |
||
1009 | </Frames> |
||
1010 | </Frame> |
||
1011 | |||
1012 | </Ui> |