vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/"> |
2 | |||
3 | <Script file="DART_Options.lua"/> |
||
4 | |||
5 | <Button name="DART_PlusMinusButton2" inherits="UIPanelButtonTemplate" virtual="true" hidden="false"> |
||
6 | <Size><AbsDimension x="20" y="20"/></Size> |
||
7 | <Scripts> |
||
8 | <OnLoad> |
||
9 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp", "MiddleButtonUp"); |
||
10 | </OnLoad> |
||
11 | <OnClick> |
||
12 | DART_TextureBrowser_AdjustCoord2(arg1); |
||
13 | </OnClick> |
||
14 | </Scripts> |
||
15 | </Button> |
||
16 | |||
17 | <EditBox name="DART_CoordEditBoxTemplate" inherits="DiscordLib_EditBoxTemplate" virtual="true"> |
||
18 | <Scripts> |
||
19 | <OnEnterPressed> |
||
20 | this:ClearFocus(); |
||
21 | local value = this:GetNumber(); |
||
22 | if (value) then |
||
23 | DART_Settings[DART_INDEX][DART_TEXTURE_INDEX].coords[this.subindex] = this:GetNumber(); |
||
24 | elseif (this:GetText() == "") then |
||
25 | DART_Settings[DART_INDEX][DART_TEXTURE_INDEX].coords[this.subindex] = nil; |
||
26 | else |
||
27 | this:SetText(DART_Settings[DART_INDEX][DART_TEXTURE_INDEX].coords[this.subindex]); |
||
28 | end |
||
29 | DART_Initialize_Texture(DART_TEXTURE_INDEX); |
||
30 | DART_Update_Preview(); |
||
31 | </OnEnterPressed> |
||
32 | </Scripts> |
||
33 | </EditBox> |
||
34 | |||
35 | <Button name="DART_ScrollMenu" inherits="DL_ScrollMenuTemplate"> |
||
36 | <Scripts> |
||
37 | <OnLoad> |
||
38 | this:SetBackdropColor(0, 0, 0); |
||
39 | this:SetBackdropBorderColor(1, 0, 0); |
||
40 | this.scrollMenu = true; |
||
41 | this.updateFunc = DART_ScrollMenu_Update; |
||
42 | </OnLoad> |
||
43 | </Scripts> |
||
44 | </Button> |
||
45 | |||
46 | <Button name="DART_Options" inherits="DiscordLib_OptionsTemplate" hidden="true"> |
||
47 | <Size><AbsDimension x="560" y="652"/></Size> |
||
48 | <Frames> |
||
49 | <Button name="$parent_CloseButton" inherits="DiscordLib_CloseButtonTemplate" frameStrata="HIGH"> |
||
50 | <Scripts> |
||
51 | <OnClick> |
||
52 | DART_Options:Hide(); |
||
53 | </OnClick> |
||
54 | </Scripts> |
||
55 | </Button> |
||
56 | |||
57 | <Frame name="DART_Divider1"> |
||
58 | <Size><AbsDimension x="2" y="2"/></Size> |
||
59 | <Anchors> |
||
60 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT"> |
||
61 | <Offset><AbsDimension x="10" y="87"/></Offset> |
||
62 | </Anchor> |
||
63 | <Anchor point="BOTTOMRIGHT"> |
||
64 | <Offset><AbsDimension x="-10" y="85"/></Offset> |
||
65 | </Anchor> |
||
66 | </Anchors> |
||
67 | <Layers> |
||
68 | <Layer level="OVERLAY"> |
||
69 | <Texture name="$parent_Texture"> |
||
70 | <Anchors> |
||
71 | <Anchor point="TOPLEFT"/> |
||
72 | <Anchor point="BOTTOMRIGHT"/> |
||
73 | </Anchors> |
||
74 | <Color r=".5" g="0" b="0"/> |
||
75 | </Texture> |
||
76 | </Layer> |
||
77 | </Layers> |
||
78 | </Frame> |
||
79 | <Frame name="DART_Divider2"> |
||
80 | <Size><AbsDimension x="2" y="2"/></Size> |
||
81 | <Anchors> |
||
82 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT"> |
||
83 | <Offset><AbsDimension x="160" y="87"/></Offset> |
||
84 | </Anchor> |
||
85 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT"> |
||
86 | <Offset><AbsDimension x="162" y="10"/></Offset> |
||
87 | </Anchor> |
||
88 | </Anchors> |
||
89 | <Layers> |
||
90 | <Layer level="OVERLAY"> |
||
91 | <Texture name="$parent_Texture"> |
||
92 | <Anchors> |
||
93 | <Anchor point="TOPLEFT"/> |
||
94 | <Anchor point="BOTTOMRIGHT"/> |
||
95 | </Anchors> |
||
96 | <Color r=".5" g="0" b="0"/> |
||
97 | </Texture> |
||
98 | </Layer> |
||
99 | </Layers> |
||
100 | </Frame> |
||
101 | |||
102 | <Frame name="$parent_FrameFinder"> |
||
103 | <Size><AbsDimension x="200" y="80"/></Size> |
||
104 | <Anchors> |
||
105 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT"> |
||
106 | <Offset><AbsDimension x="167" y="82"/></Offset> |
||
107 | </Anchor> |
||
108 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT"> |
||
109 | <Offset><AbsDimension x="-15" y="15"/></Offset> |
||
110 | </Anchor> |
||
111 | </Anchors> |
||
112 | <Layers> |
||
113 | <Layer level="OVERLAY"> |
||
114 | <FontString name="$parent_Text" inherits="GameFontNormal" justifyH="CENTER" justifyV="CENTER"> |
||
115 | <Color r="1.0" g="1.0" b="1.0"/> |
||
116 | <Anchors> |
||
117 | <Anchor point="TOPLEFT"/> |
||
118 | <Anchor point="BOTTOMRIGHT"/> |
||
119 | </Anchors> |
||
120 | </FontString> |
||
121 | </Layer> |
||
122 | </Layers> |
||
123 | <Scripts> |
||
124 | <OnUpdate> |
||
125 | DART_Update_FrameFinder(); |
||
126 | </OnUpdate> |
||
127 | </Scripts> |
||
128 | </Frame> |
||
129 | |||
130 | <Button name="$parent_MiscOptions" inherits="DART_MainMenuButton"> |
||
131 | <Anchors> |
||
132 | <Anchor point="BOTTOMLEFT"> |
||
133 | <Offset><AbsDimension x="15" y="15"/></Offset> |
||
134 | </Anchor> |
||
135 | </Anchors> |
||
136 | <Scripts> |
||
137 | <OnLoad> |
||
138 | this:SetText(DART_TEXT.MiscOptions); |
||
139 | </OnLoad> |
||
140 | <OnClick> |
||
141 | DART_MiscOptions:Show(); |
||
142 | DART_BaseOptions:Hide(); |
||
143 | </OnClick> |
||
144 | </Scripts> |
||
145 | </Button> |
||
146 | <Button name="$parent_TextureOptions" inherits="DART_MainMenuButton"> |
||
147 | <Anchors> |
||
148 | <Anchor point="BOTTOM" relativeTo="$parent_MiscOptions" relativePoint="TOP"/> |
||
149 | </Anchors> |
||
150 | <Scripts> |
||
151 | <OnLoad> |
||
152 | this:SetText(DART_TEXT.TextureOptions); |
||
153 | </OnLoad> |
||
154 | <OnClick> |
||
155 | DART_MiscOptions:Hide(); |
||
156 | DART_BaseOptions:Show(); |
||
157 | </OnClick> |
||
158 | </Scripts> |
||
159 | </Button> |
||
160 | <Button name="$parent_DragToggle" inherits="DART_MainMenuButton"> |
||
161 | <Anchors> |
||
162 | <Anchor point="BOTTOM" relativeTo="$parent_TextureOptions" relativePoint="TOP"/> |
||
163 | </Anchors> |
||
164 | <Scripts> |
||
165 | <OnLoad> |
||
166 | this:SetText(DART_TEXT.UnlockDragging); |
||
167 | </OnLoad> |
||
168 | <OnClick> |
||
169 | DART_Toggle_Dragging(); |
||
170 | </OnClick> |
||
171 | </Scripts> |
||
172 | </Button> |
||
173 | </Frames> |
||
174 | <Scripts> |
||
175 | <OnHide> |
||
176 | DART_Options_OnHide(); |
||
177 | </OnHide> |
||
178 | <OnShow> |
||
179 | DART_Options_OnShow(); |
||
180 | </OnShow> |
||
181 | <OnClick> |
||
182 | DART_ScrollMenu:Hide(); |
||
183 | DART_DropMenu:Hide(); |
||
184 | </OnClick> |
||
185 | <OnMouseWheel> |
||
186 | DART_Options_SelectTexture_OnMouseWheel(arg1); |
||
187 | </OnMouseWheel> |
||
188 | </Scripts> |
||
189 | </Button> |
||
190 | |||
191 | <Button name="DART_DropMenu" inherits="DiscordLib_TooltipBackdropTemplate" hidden="true" frameStrata="DIALOG"> |
||
192 | <Size><AbsDimension x="10" y="10"/></Size> |
||
193 | <Anchors> |
||
194 | <Anchor point="CENTER"/> |
||
195 | </Anchors> |
||
196 | <Frames> |
||
197 | <Button name="$parent_Option1" inherits="DART_MenuOptionTemplate"> |
||
198 | <Anchors> |
||
199 | <Anchor point="TOPLEFT"> |
||
200 | <Offset><AbsDimension x="10" y="-10"/></Offset> |
||
201 | </Anchor> |
||
202 | </Anchors> |
||
203 | </Button> |
||
204 | <Button name="$parent_Option2" inherits="DART_MenuOptionTemplate"/> |
||
205 | <Button name="$parent_Option3" inherits="DART_MenuOptionTemplate"/> |
||
206 | <Button name="$parent_Option4" inherits="DART_MenuOptionTemplate"/> |
||
207 | <Button name="$parent_Option5" inherits="DART_MenuOptionTemplate"/> |
||
208 | <Button name="$parent_Option6" inherits="DART_MenuOptionTemplate"/> |
||
209 | <Button name="$parent_Option7" inherits="DART_MenuOptionTemplate"/> |
||
210 | <Button name="$parent_Option8" inherits="DART_MenuOptionTemplate"/> |
||
211 | <Button name="$parent_Option9" inherits="DART_MenuOptionTemplate"/> |
||
212 | <Button name="$parent_Option10" inherits="DART_MenuOptionTemplate"/> |
||
213 | <Button name="$parent_Option11" inherits="DART_MenuOptionTemplate"/> |
||
214 | <Button name="$parent_Option12" inherits="DART_MenuOptionTemplate"/> |
||
215 | <Button name="$parent_Option13" inherits="DART_MenuOptionTemplate"/> |
||
216 | <Button name="$parent_Option14" inherits="DART_MenuOptionTemplate"/> |
||
217 | <Button name="$parent_Option15" inherits="DART_MenuOptionTemplate"/> |
||
218 | <Button name="$parent_Option16" inherits="DART_MenuOptionTemplate"/> |
||
219 | <Button name="$parent_Option17" inherits="DART_MenuOptionTemplate"/> |
||
220 | <Button name="$parent_Option18" inherits="DART_MenuOptionTemplate"/> |
||
221 | <Button name="$parent_Option19" inherits="DART_MenuOptionTemplate"/> |
||
222 | <Button name="$parent_Option20" inherits="DART_MenuOptionTemplate"/> |
||
223 | <Button name="$parent_Option21" inherits="DART_MenuOptionTemplate"/> |
||
224 | <Button name="$parent_Option22" inherits="DART_MenuOptionTemplate"/> |
||
225 | <Button name="$parent_Option23" inherits="DART_MenuOptionTemplate"/> |
||
226 | <Button name="$parent_Option24" inherits="DART_MenuOptionTemplate"/> |
||
227 | <Button name="$parent_Option25" inherits="DART_MenuOptionTemplate"/> |
||
228 | <Button name="$parent_Option26" inherits="DART_MenuOptionTemplate"/> |
||
229 | <Button name="$parent_Option27" inherits="DART_MenuOptionTemplate"/> |
||
230 | <Button name="$parent_Option28" inherits="DART_MenuOptionTemplate"/> |
||
231 | <Button name="$parent_Option29" inherits="DART_MenuOptionTemplate"/> |
||
232 | <Button name="$parent_Option30" inherits="DART_MenuOptionTemplate"/> |
||
233 | <Button name="$parent_Option31" inherits="DART_MenuOptionTemplate"/> |
||
234 | <Button name="$parent_Option32" inherits="DART_MenuOptionTemplate"/> |
||
235 | <Button name="$parent_Option33" inherits="DART_MenuOptionTemplate"/> |
||
236 | <Button name="$parent_Option34" inherits="DART_MenuOptionTemplate"/> |
||
237 | <Button name="$parent_Option35" inherits="DART_MenuOptionTemplate"/> |
||
238 | <Button name="$parent_Option36" inherits="DART_MenuOptionTemplate"/> |
||
239 | <Button name="$parent_Option37" inherits="DART_MenuOptionTemplate"/> |
||
240 | <Button name="$parent_Option38" inherits="DART_MenuOptionTemplate"/> |
||
241 | <Button name="$parent_Option39" inherits="DART_MenuOptionTemplate"/> |
||
242 | <Button name="$parent_Option40" inherits="DART_MenuOptionTemplate"/> |
||
243 | <Button name="$parent_Option41" inherits="DART_MenuOptionTemplate"/> |
||
244 | <Button name="$parent_Option42" inherits="DART_MenuOptionTemplate"/> |
||
245 | <Button name="$parent_Option43" inherits="DART_MenuOptionTemplate"/> |
||
246 | <Button name="$parent_Option44" inherits="DART_MenuOptionTemplate"/> |
||
247 | <Button name="$parent_Option45" inherits="DART_MenuOptionTemplate"/> |
||
248 | <Button name="$parent_Option46" inherits="DART_MenuOptionTemplate"/> |
||
249 | <Button name="$parent_Option47" inherits="DART_MenuOptionTemplate"/> |
||
250 | <Button name="$parent_Option48" inherits="DART_MenuOptionTemplate"/> |
||
251 | <Button name="$parent_Option49" inherits="DART_MenuOptionTemplate"/> |
||
252 | <Button name="$parent_Option50" inherits="DART_MenuOptionTemplate"/> |
||
253 | </Frames> |
||
254 | <Scripts> |
||
255 | <OnLoad> |
||
256 | this:SetBackdropColor(.2,.2,.2); |
||
257 | this.count = 50; |
||
258 | </OnLoad> |
||
259 | <OnEnter> |
||
260 | this.timer = nil; |
||
261 | </OnEnter> |
||
262 | <OnLeave> |
||
263 | this.timer = .5; |
||
264 | </OnLeave> |
||
265 | <OnHide> |
||
266 | if (this.timer) then |
||
267 | this.timer = .01; |
||
268 | end |
||
269 | </OnHide> |
||
270 | <OnUpdate> |
||
271 | DL_Menu_Timeout(arg1); |
||
272 | </OnUpdate> |
||
273 | </Scripts> |
||
274 | </Button> |
||
275 | |||
276 | <Frame name="DART_BaseOptions" parent="DART_Options" frameStrata="MEDIUM" hidden="false"> |
||
277 | <Size><AbsDimension x="10" y="10"/></Size> |
||
278 | <Anchors> |
||
279 | <Anchor point="TOPLEFT"/> |
||
280 | <Anchor point="BOTTOMRIGHT"/> |
||
281 | </Anchors> |
||
282 | <Frames> |
||
283 | <Button name="$parent_SelectTexture" inherits="DiscordLib_MenuControlTemplate"> |
||
284 | <Size><AbsDimension x="200" y="24"/></Size> |
||
285 | <Scripts> |
||
286 | <OnLoad> |
||
287 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
288 | this.menu = "DART_ScrollMenu"; |
||
289 | this.table = "DART_TEXTURE_LIST"; |
||
290 | DL_Set_Label(DART_TEXT.SelectTexture); |
||
291 | DL_Set_Anchor("", 170, -15, "TOP", "TOP", 1); |
||
292 | </OnLoad> |
||
293 | <OnMouseWheel> |
||
294 | DART_Options_SelectTexture_OnMouseWheel(arg1); |
||
295 | </OnMouseWheel> |
||
296 | </Scripts> |
||
297 | </Button> |
||
298 | <Button name="$parent_Appearance" inherits="DiscordLib_PlainBackgroundTemplate" frameStrata="MEDIUM"> |
||
299 | <Size><AbsDimension x="100" y="25"/></Size> |
||
300 | <Anchors> |
||
301 | <Anchor point="TOPLEFT"> |
||
302 | <Offset><AbsDimension x="10" y="-15"/></Offset> |
||
303 | </Anchor> |
||
304 | </Anchors> |
||
305 | <Layers> |
||
306 | <Layer level="ARTWORK"> |
||
307 | <Texture name="$parent_Texture1"> |
||
308 | <Size><AbsDimension x="100" y="3"/></Size> |
||
309 | <Anchors> |
||
310 | <Anchor point="TOPLEFT"/> |
||
311 | </Anchors> |
||
312 | <Color r=".5" g="0" b="0"/> |
||
313 | </Texture> |
||
314 | <Texture name="$parent_Texture2"> |
||
315 | <Size><AbsDimension x="3" y="25"/></Size> |
||
316 | <Anchors> |
||
317 | <Anchor point="TOPRIGHT"/> |
||
318 | </Anchors> |
||
319 | <Color r=".5" g="0" b="0"/> |
||
320 | </Texture> |
||
321 | <Texture name="$parent_Texture3" hidden="true"> |
||
322 | <Size><AbsDimension x="100" y="3"/></Size> |
||
323 | <Anchors> |
||
324 | <Anchor point="BOTTOMLEFT"/> |
||
325 | </Anchors> |
||
326 | <Color r=".5" g="0" b="0"/> |
||
327 | </Texture> |
||
328 | </Layer> |
||
329 | </Layers> |
||
330 | <NormalText name="$parentText" inherits="GameFontNormal"/> |
||
331 | <Scripts> |
||
332 | <OnLoad> |
||
333 | this:SetText(DART_TEXT.Appearance); |
||
334 | this:SetBackdropColor(0, 0, 0); |
||
335 | this:SetBackdropBorderColor(0, 0, 0, 0); |
||
336 | this:SetTextColor(1, 1, 0); |
||
337 | </OnLoad> |
||
338 | <OnEnter> |
||
339 | this:SetBackdropColor(1, 1, 0); |
||
340 | this:SetTextColor(1, 0, 0); |
||
341 | </OnEnter> |
||
342 | <OnLeave> |
||
343 | this:SetBackdropColor(0, 0, 0); |
||
344 | this:SetTextColor(1, 1, 0); |
||
345 | </OnLeave> |
||
346 | <OnClick> |
||
347 | DART_MainTextureOptions:Show(); |
||
348 | DART_ScriptOptions:Hide(); |
||
349 | DART_BaseOptions_Scripts_Texture3:Show(); |
||
350 | DART_BaseOptions_Appearance_Texture3:Hide(); |
||
351 | </OnClick> |
||
352 | </Scripts> |
||
353 | </Button> |
||
354 | <Button name="$parent_Scripts" inherits="DiscordLib_PlainBackgroundTemplate" frameStrata="MEDIUM"> |
||
355 | <Size><AbsDimension x="100" y="25"/></Size> |
||
356 | <Anchors> |
||
357 | <Anchor point="LEFT" relativeTo="$parent_Appearance" relativePoint="RIGHT"> |
||
358 | <Offset><AbsDimension x="0" y="0"/></Offset> |
||
359 | </Anchor> |
||
360 | </Anchors> |
||
361 | <Layers> |
||
362 | <Layer level="ARTWORK"> |
||
363 | <Texture name="$parent_Texture1"> |
||
364 | <Size><AbsDimension x="100" y="3"/></Size> |
||
365 | <Anchors> |
||
366 | <Anchor point="TOPLEFT"/> |
||
367 | </Anchors> |
||
368 | <Color r=".5" g="0" b="0"/> |
||
369 | </Texture> |
||
370 | <Texture name="$parent_Texture2"> |
||
371 | <Size><AbsDimension x="3" y="25"/></Size> |
||
372 | <Anchors> |
||
373 | <Anchor point="TOPRIGHT"/> |
||
374 | </Anchors> |
||
375 | <Color r=".5" g="0" b="0"/> |
||
376 | </Texture> |
||
377 | <Texture name="$parent_Texture3"> |
||
378 | <Size><AbsDimension x="100" y="3"/></Size> |
||
379 | <Anchors> |
||
380 | <Anchor point="BOTTOMLEFT"/> |
||
381 | </Anchors> |
||
382 | <Color r=".5" g="0" b="0"/> |
||
383 | </Texture> |
||
384 | <Texture name="$parent_Texture4"> |
||
385 | <Size><AbsDimension x="340" y="3"/></Size> |
||
386 | <Anchors> |
||
387 | <Anchor point="LEFT" relativeTo="$parent_Texture3" relativePoint="RIGHT"/> |
||
388 | </Anchors> |
||
389 | <Color r=".5" g="0" b="0"/> |
||
390 | </Texture> |
||
391 | </Layer> |
||
392 | </Layers> |
||
393 | <NormalText name="$parentText" inherits="GameFontNormal"/> |
||
394 | <Scripts> |
||
395 | <OnLoad> |
||
396 | this:SetText(DART_TEXT.Scripts); |
||
397 | this:SetBackdropColor(0, 0, 0); |
||
398 | this:SetBackdropBorderColor(0, 0, 0, 0); |
||
399 | this:SetTextColor(1, 1, 0); |
||
400 | </OnLoad> |
||
401 | <OnEnter> |
||
402 | this:SetBackdropColor(1, 1, 0); |
||
403 | this:SetTextColor(1, 0, 0); |
||
404 | </OnEnter> |
||
405 | <OnLeave> |
||
406 | this:SetBackdropColor(0, 0, 0); |
||
407 | this:SetTextColor(1, 1, 0); |
||
408 | </OnLeave> |
||
409 | <OnClick> |
||
410 | DART_MainTextureOptions:Hide(); |
||
411 | DART_ScriptOptions:Show(); |
||
412 | DART_BaseOptions_Scripts_Texture3:Hide(); |
||
413 | DART_BaseOptions_Appearance_Texture3:Show(); |
||
414 | </OnClick> |
||
415 | </Scripts> |
||
416 | </Button> |
||
417 | </Frames> |
||
418 | </Frame> |
||
419 | |||
420 | <Frame name="DART_MainTextureOptions" parent="DART_BaseOptions" frameStrata="MEDIUM" hidden="false"> |
||
421 | <Size><AbsDimension x="10" y="10"/></Size> |
||
422 | <Anchors> |
||
423 | <Anchor point="TOPLEFT"/> |
||
424 | <Anchor point="BOTTOMRIGHT"/> |
||
425 | </Anchors> |
||
426 | <Frames> |
||
427 | <EditBox name="$parent_Name" inherits="DART_EditBoxTemplate"> |
||
428 | <Size><AbsDimension x="213" y="20"/></Size> |
||
429 | <Scripts> |
||
430 | <OnLoad> |
||
431 | this.index = "name"; |
||
432 | this.initFunc = DART_Initialize_TextureList; |
||
433 | DL_Set_Label(DART_TEXT.Name); |
||
434 | DL_Set_Anchor("", 15, -45, "TOPLEFT", "TOPLEFT"); |
||
435 | </OnLoad> |
||
436 | </Scripts> |
||
437 | </EditBox> |
||
438 | <EditBox name="$parent_TextureFile" inherits="DART_EditBoxTemplate"> |
||
439 | <Size><AbsDimension x="213" y="20"/></Size> |
||
440 | <Scripts> |
||
441 | <OnLoad> |
||
442 | this.index = "texture"; |
||
443 | DL_Set_Label(DART_TEXT.Texture2..":"); |
||
444 | DL_Set_Anchor("_Name", 5, 0, "LEFT", "RIGHT"); |
||
445 | </OnLoad> |
||
446 | </Scripts> |
||
447 | </EditBox> |
||
448 | |||
449 | <Button name="$parent_Texture" inherits="DiscordLib_TooltipBackdropTemplate" hidden="false" frameStrata="MEDIUM"> |
||
450 | <Size><AbsDimension x="105" y="105"/></Size> |
||
451 | <Anchors> |
||
452 | <Anchor point="TOP"> |
||
453 | <Offset><AbsDimension x="0" y="-70"/></Offset> |
||
454 | </Anchor> |
||
455 | </Anchors> |
||
456 | <Layers> |
||
457 | <Layer level="OVERLAY"> |
||
458 | <Texture name="$parent_Texture"> |
||
459 | <Anchors> |
||
460 | <Anchor point="TOPLEFT"> |
||
461 | <Offset><AbsDimension x="5" y="-5"/></Offset> |
||
462 | </Anchor> |
||
463 | <Anchor point="BOTTOMRIGHT"> |
||
464 | <Offset><AbsDimension x="-5" y="5"/></Offset> |
||
465 | </Anchor> |
||
466 | </Anchors> |
||
467 | </Texture> |
||
468 | <FontString name="$parent_Text" inherits="GameFontNormal" justifyH="CENTER" text="DART_CLICKTOSET"> |
||
469 | <Anchors> |
||
470 | <Anchor point="TOP" relativePoint="BOTTOM"/> |
||
471 | </Anchors> |
||
472 | </FontString> |
||
473 | </Layer> |
||
474 | </Layers> |
||
475 | <Scripts> |
||
476 | <OnClick> |
||
477 | DART_TextureBrowser:Show(); |
||
478 | </OnClick> |
||
479 | </Scripts> |
||
480 | </Button> |
||
481 | |||
482 | <Button name="$parent_CopyButton" inherits="DART_MainMenuButton" text="DART_COPYTEXT"> |
||
483 | <Size><AbsDimension x="75" y="22"/></Size> |
||
484 | <Anchors> |
||
485 | <Anchor point="RIGHT" relativeTo="$parent_Texture" relativePoint="LEFT"> |
||
486 | <Offset><AbsDimension x="-90" y="35"/></Offset> |
||
487 | </Anchor> |
||
488 | </Anchors> |
||
489 | <Scripts> |
||
490 | <OnClick> |
||
491 | DART_Options_CopySettings(); |
||
492 | </OnClick> |
||
493 | </Scripts> |
||
494 | </Button> |
||
495 | <Button name="$parent_PasteButton" inherits="DART_MainMenuButton" text="DART_PASTETEXT"> |
||
496 | <Size><AbsDimension x="75" y="22"/></Size> |
||
497 | <Anchors> |
||
498 | <Anchor point="LEFT" relativeTo="$parent_Texture" relativePoint="RIGHT"> |
||
499 | <Offset><AbsDimension x="90" y="35"/></Offset> |
||
500 | </Anchor> |
||
501 | </Anchors> |
||
502 | <Scripts> |
||
503 | <OnClick> |
||
504 | DART_Options_PasteSettings(); |
||
505 | </OnClick> |
||
506 | </Scripts> |
||
507 | </Button> |
||
508 | |||
509 | <EditBox name="$parent_X1" inherits="DART_CoordEditBoxTemplate" id="x1"> |
||
510 | <Size><AbsDimension x="60" y="20"/></Size> |
||
511 | <Scripts> |
||
512 | <OnLoad> |
||
513 | DL_Set_Label(DART_TEXT.X1); |
||
514 | DL_Set_Anchor("_CopyButton", -16.5, -5, "TOP", "BOTTOM", 1); |
||
515 | this.index = "coords"; |
||
516 | this.subindex = 1; |
||
517 | </OnLoad> |
||
518 | </Scripts> |
||
519 | </EditBox> |
||
520 | <Button name="$parent_X1Minus" inherits="DART_PlusMinusButton2" text="-" id="1"> |
||
521 | <Anchors> |
||
522 | <Anchor point="LEFT" relativeTo="$parent_X1" relativePoint="RIGHT"/> |
||
523 | </Anchors> |
||
524 | </Button> |
||
525 | <Button name="$parent_X1Plus" inherits="DART_PlusMinusButton2" text="+" id="2"> |
||
526 | <Anchors> |
||
527 | <Anchor point="LEFT" relativeTo="$parent_X1Minus" relativePoint="RIGHT"/> |
||
528 | </Anchors> |
||
529 | </Button> |
||
530 | <EditBox name="$parent_X2" inherits="DART_CoordEditBoxTemplate" id="x2"> |
||
531 | <Size><AbsDimension x="60" y="20"/></Size> |
||
532 | <Anchors> |
||
533 | <Anchor point="TOP" relativeTo="$parent_X1" relativePoint="BOTTOM"/> |
||
534 | </Anchors> |
||
535 | <Scripts> |
||
536 | <OnLoad> |
||
537 | DL_Set_Label(DART_TEXT.X2); |
||
538 | this.index = "coords"; |
||
539 | this.subindex = 2; |
||
540 | </OnLoad> |
||
541 | </Scripts> |
||
542 | </EditBox> |
||
543 | <Button name="$parent_X2Minus" inherits="DART_PlusMinusButton2" text="-" id="3"> |
||
544 | <Anchors> |
||
545 | <Anchor point="LEFT" relativeTo="$parent_X2" relativePoint="RIGHT"/> |
||
546 | </Anchors> |
||
547 | </Button> |
||
548 | <Button name="$parent_X2Plus" inherits="DART_PlusMinusButton2" text="+" id="4"> |
||
549 | <Anchors> |
||
550 | <Anchor point="LEFT" relativeTo="$parent_X2Minus" relativePoint="RIGHT"/> |
||
551 | </Anchors> |
||
552 | </Button> |
||
553 | <EditBox name="$parent_Y1" inherits="DART_CoordEditBoxTemplate" id="y1"> |
||
554 | <Size><AbsDimension x="60" y="20"/></Size> |
||
555 | <Anchors> |
||
556 | <Anchor point="TOP" relativeTo="$parent_X2" relativePoint="BOTTOM"> |
||
557 | <Offset><AbsDimension x="0" y="-5"/></Offset> |
||
558 | </Anchor> |
||
559 | </Anchors> |
||
560 | <Scripts> |
||
561 | <OnLoad> |
||
562 | DL_Set_Label(DART_TEXT.Y1); |
||
563 | this.index = "coords"; |
||
564 | this.subindex = 3; |
||
565 | </OnLoad> |
||
566 | </Scripts> |
||
567 | </EditBox> |
||
568 | <Button name="$parent_Y1Minus" inherits="DART_PlusMinusButton2" text="-" id="5"> |
||
569 | <Anchors> |
||
570 | <Anchor point="LEFT" relativeTo="$parent_Y1" relativePoint="RIGHT"/> |
||
571 | </Anchors> |
||
572 | </Button> |
||
573 | <Button name="$parent_Y1Plus" inherits="DART_PlusMinusButton2" text="+" id="6"> |
||
574 | <Anchors> |
||
575 | <Anchor point="LEFT" relativeTo="$parent_Y1Minus" relativePoint="RIGHT"/> |
||
576 | </Anchors> |
||
577 | </Button> |
||
578 | <EditBox name="$parent_Y2" inherits="DART_CoordEditBoxTemplate" id="y2"> |
||
579 | <Size><AbsDimension x="60" y="20"/></Size> |
||
580 | <Anchors> |
||
581 | <Anchor point="TOP" relativeTo="$parent_Y1" relativePoint="BOTTOM"/> |
||
582 | </Anchors> |
||
583 | <Scripts> |
||
584 | <OnLoad> |
||
585 | DL_Set_Label(DART_TEXT.Y2); |
||
586 | this.index = "coords"; |
||
587 | this.subindex = 4; |
||
588 | </OnLoad> |
||
589 | </Scripts> |
||
590 | </EditBox> |
||
591 | <Button name="$parent_Y2Minus" inherits="DART_PlusMinusButton2" text="-" id="7"> |
||
592 | <Anchors> |
||
593 | <Anchor point="LEFT" relativeTo="$parent_Y2" relativePoint="RIGHT"/> |
||
594 | </Anchors> |
||
595 | </Button> |
||
596 | <Button name="$parent_Y2Plus" inherits="DART_PlusMinusButton2" text="+" id="8"> |
||
597 | <Anchors> |
||
598 | <Anchor point="LEFT" relativeTo="$parent_Y2Minus" relativePoint="RIGHT"/> |
||
599 | </Anchors> |
||
600 | </Button> |
||
601 | |||
602 | <EditBox name="$parent_URx" inherits="DART_CoordEditBoxTemplate"> |
||
603 | <Size><AbsDimension x="60" y="20"/></Size> |
||
604 | <Scripts> |
||
605 | <OnLoad> |
||
606 | DL_Set_Label(DART_TEXT.URX); |
||
607 | DL_Set_Anchor("_PasteButton", -16.5, -5, "TOP", "BOTTOM", 1); |
||
608 | this.index = "coords"; |
||
609 | this.subindex = 5; |
||
610 | </OnLoad> |
||
611 | </Scripts> |
||
612 | </EditBox> |
||
613 | <Button name="$parent_URxMinus" inherits="DART_PlusMinusButton2" text="-" id="9"> |
||
614 | <Anchors> |
||
615 | <Anchor point="LEFT" relativeTo="$parent_URx" relativePoint="RIGHT"/> |
||
616 | </Anchors> |
||
617 | </Button> |
||
618 | <Button name="$parent_URxPlus" inherits="DART_PlusMinusButton2" text="+" id="10"> |
||
619 | <Anchors> |
||
620 | <Anchor point="LEFT" relativeTo="$parent_URxMinus" relativePoint="RIGHT"/> |
||
621 | </Anchors> |
||
622 | </Button> |
||
623 | <EditBox name="$parent_URy" inherits="DART_CoordEditBoxTemplate" id="x2"> |
||
624 | <Size><AbsDimension x="60" y="20"/></Size> |
||
625 | <Anchors> |
||
626 | <Anchor point="TOP" relativeTo="$parent_URx" relativePoint="BOTTOM"/> |
||
627 | </Anchors> |
||
628 | <Scripts> |
||
629 | <OnLoad> |
||
630 | DL_Set_Label(DART_TEXT.URY); |
||
631 | this.index = "coords"; |
||
632 | this.subindex = 6; |
||
633 | </OnLoad> |
||
634 | </Scripts> |
||
635 | </EditBox> |
||
636 | <Button name="$parent_URyMinus" inherits="DART_PlusMinusButton2" text="-" id="11"> |
||
637 | <Anchors> |
||
638 | <Anchor point="LEFT" relativeTo="$parent_URy" relativePoint="RIGHT"/> |
||
639 | </Anchors> |
||
640 | </Button> |
||
641 | <Button name="$parent_URyPlus" inherits="DART_PlusMinusButton2" text="+" id="12"> |
||
642 | <Anchors> |
||
643 | <Anchor point="LEFT" relativeTo="$parent_URyMinus" relativePoint="RIGHT"/> |
||
644 | </Anchors> |
||
645 | </Button> |
||
646 | <EditBox name="$parent_LRx" inherits="DART_CoordEditBoxTemplate"> |
||
647 | <Size><AbsDimension x="60" y="20"/></Size> |
||
648 | <Anchors> |
||
649 | <Anchor point="TOP" relativeTo="$parent_URy" relativePoint="BOTTOM"> |
||
650 | <Offset><AbsDimension x="0" y="-5"/></Offset> |
||
651 | </Anchor> |
||
652 | </Anchors> |
||
653 | <Scripts> |
||
654 | <OnLoad> |
||
655 | DL_Set_Label(DART_TEXT.LRX); |
||
656 | this.index = "coords"; |
||
657 | this.subindex = 7; |
||
658 | </OnLoad> |
||
659 | </Scripts> |
||
660 | </EditBox> |
||
661 | <Button name="$parent_LRxMinus" inherits="DART_PlusMinusButton2" text="-" id="13"> |
||
662 | <Anchors> |
||
663 | <Anchor point="LEFT" relativeTo="$parent_LRx" relativePoint="RIGHT"/> |
||
664 | </Anchors> |
||
665 | </Button> |
||
666 | <Button name="$parent_LRxPlus" inherits="DART_PlusMinusButton2" text="+" id="14"> |
||
667 | <Anchors> |
||
668 | <Anchor point="LEFT" relativeTo="$parent_LRxMinus" relativePoint="RIGHT"/> |
||
669 | </Anchors> |
||
670 | </Button> |
||
671 | <EditBox name="$parent_LRy" inherits="DART_CoordEditBoxTemplate"> |
||
672 | <Size><AbsDimension x="60" y="20"/></Size> |
||
673 | <Anchors> |
||
674 | <Anchor point="TOP" relativeTo="$parent_LRx" relativePoint="BOTTOM"/> |
||
675 | </Anchors> |
||
676 | <Scripts> |
||
677 | <OnLoad> |
||
678 | DL_Set_Label(DART_TEXT.LRY); |
||
679 | this.index = "coords"; |
||
680 | this.subindex = 8; |
||
681 | </OnLoad> |
||
682 | </Scripts> |
||
683 | </EditBox> |
||
684 | <Button name="$parent_LRyMinus" inherits="DART_PlusMinusButton2" text="-" id="15"> |
||
685 | <Anchors> |
||
686 | <Anchor point="LEFT" relativeTo="$parent_LRy" relativePoint="RIGHT"/> |
||
687 | </Anchors> |
||
688 | </Button> |
||
689 | <Button name="$parent_LRyPlus" inherits="DART_PlusMinusButton2" text="+" id="16"> |
||
690 | <Anchors> |
||
691 | <Anchor point="LEFT" relativeTo="$parent_LRyMinus" relativePoint="RIGHT"/> |
||
692 | </Anchors> |
||
693 | </Button> |
||
694 | |||
695 | <Button name="$parent_TextureSelect" inherits="DART_TabButtonTemplate" frameStrata="MEDIUM"> |
||
696 | <Anchors> |
||
697 | <Anchor point="TOPRIGHT" relativePoint="TOP"> |
||
698 | <Offset><AbsDimension x="0" y="-195"/></Offset> |
||
699 | </Anchor> |
||
700 | </Anchors> |
||
701 | <Scripts> |
||
702 | <OnLoad> |
||
703 | this:SetText(DART_TEXT.Texture2); |
||
704 | this:SetBackdropColor(0, 0, 0); |
||
705 | this:SetBackdropBorderColor(0, 0, 0, 0); |
||
706 | this:SetTextColor(1, 1, 0); |
||
707 | getglobal(this:GetName().."_Texture3"):Hide(); |
||
708 | getglobal(this:GetName().."_Texture4"):Hide(); |
||
709 | </OnLoad> |
||
710 | <OnClick> |
||
711 | DART_MainTextureOptions_TextureSelect_Texture3:Hide(); |
||
712 | DART_MainTextureOptions_TextSelect_Texture3:Show(); |
||
713 | DART_MainTextureOptions_BackdropSelect_Texture3:Show(); |
||
714 | DART_MainTextureOptions_ControlSelect_Texture3:Show(); |
||
715 | DART_ControlOptions:Hide(); |
||
716 | DART_TextureOptions:Show(); |
||
717 | DART_BackdropOptions:Hide(); |
||
718 | DART_TextOptions:Hide(); |
||
719 | </OnClick> |
||
720 | </Scripts> |
||
721 | </Button> |
||
722 | <Button name="$parent_ControlSelect" inherits="DART_TabButtonTemplate" frameStrata="MEDIUM"> |
||
723 | <Anchors> |
||
724 | <Anchor point="TOPLEFT" relativePoint="TOP"> |
||
725 | <Offset><AbsDimension x="0" y="-195"/></Offset> |
||
726 | </Anchor> |
||
727 | </Anchors> |
||
728 | <Scripts> |
||
729 | <OnLoad> |
||
730 | this:SetText(DART_TEXT.Control); |
||
731 | this:SetBackdropColor(0, 0, 0); |
||
732 | this:SetBackdropBorderColor(0, 0, 0, 0); |
||
733 | this:SetTextColor(1, 1, 0); |
||
734 | getglobal(this:GetName().."_Texture4"):Hide(); |
||
735 | getglobal(this:GetName().."_Texture2"):Hide(); |
||
736 | </OnLoad> |
||
737 | <OnClick> |
||
738 | DART_MainTextureOptions_ControlSelect_Texture3:Hide(); |
||
739 | DART_MainTextureOptions_TextureSelect_Texture3:Show(); |
||
740 | DART_MainTextureOptions_TextSelect_Texture3:Show(); |
||
741 | DART_MainTextureOptions_BackdropSelect_Texture3:Show(); |
||
742 | DART_ControlOptions:Show(); |
||
743 | DART_TextureOptions:Hide(); |
||
744 | DART_BackdropOptions:Hide(); |
||
745 | DART_TextOptions:Hide(); |
||
746 | DART_ConditionMenu_Update(); |
||
747 | </OnClick> |
||
748 | </Scripts> |
||
749 | </Button> |
||
750 | <Button name="$parent_BackdropSelect" inherits="DART_TabButtonTemplate" frameStrata="MEDIUM"> |
||
751 | <Anchors> |
||
752 | <Anchor point="RIGHT" relativeTo="$parent_TextureSelect" relativePoint="LEFT"/> |
||
753 | </Anchors> |
||
754 | <Layers> |
||
755 | <Layer level="OVERLAY"> |
||
756 | <Texture name="$parent_Texture5"> |
||
757 | <Size><AbsDimension x="70" y="3"/></Size> |
||
758 | <Anchors> |
||
759 | <Anchor point="RIGHT" relativeTo="$parent_Texture3" relativePoint="LEFT"/> |
||
760 | </Anchors> |
||
761 | <Color r=".5" g="0" b="0"/> |
||
762 | </Texture> |
||
763 | </Layer> |
||
764 | </Layers> |
||
765 | <Scripts> |
||
766 | <OnLoad> |
||
767 | this:SetText(DART_TEXT.Backdrp); |
||
768 | this:SetBackdropColor(0, 0, 0); |
||
769 | this:SetBackdropBorderColor(0, 0, 0, 0); |
||
770 | this:SetTextColor(1, 1, 0); |
||
771 | </OnLoad> |
||
772 | <OnClick> |
||
773 | DART_MainTextureOptions_TextureSelect_Texture3:Show(); |
||
774 | DART_MainTextureOptions_TextSelect_Texture3:Show(); |
||
775 | DART_MainTextureOptions_BackdropSelect_Texture3:Hide(); |
||
776 | DART_MainTextureOptions_ControlSelect_Texture3:Show(); |
||
777 | DART_ControlOptions:Hide(); |
||
778 | DART_TextureOptions:Hide(); |
||
779 | DART_BackdropOptions:Show(); |
||
780 | DART_TextOptions:Hide(); |
||
781 | </OnClick> |
||
782 | </Scripts> |
||
783 | </Button> |
||
784 | <Button name="$parent_TextSelect" inherits="DART_TabButtonTemplate" frameStrata="MEDIUM"> |
||
785 | <Anchors> |
||
786 | <Anchor point="LEFT" relativeTo="$parent_ControlSelect" relativePoint="RIGHT"/> |
||
787 | </Anchors> |
||
788 | <Layers> |
||
789 | <Layer level="OVERLAY"> |
||
790 | <Texture name="$parent_Texture5"> |
||
791 | <Size><AbsDimension x="70" y="3"/></Size> |
||
792 | <Anchors> |
||
793 | <Anchor point="LEFT" relativeTo="$parent_Texture3" relativePoint="RIGHT"/> |
||
794 | </Anchors> |
||
795 | <Color r=".5" g="0" b="0"/> |
||
796 | </Texture> |
||
797 | </Layer> |
||
798 | </Layers> |
||
799 | <Scripts> |
||
800 | <OnLoad> |
||
801 | this:SetText(DART_TEXT.Text2); |
||
802 | this:SetBackdropColor(0, 0, 0); |
||
803 | this:SetBackdropBorderColor(0, 0, 0, 0); |
||
804 | this:SetTextColor(1, 1, 0); |
||
805 | </OnLoad> |
||
806 | <OnClick> |
||
807 | DART_MainTextureOptions_TextureSelect_Texture3:Show(); |
||
808 | DART_MainTextureOptions_TextSelect_Texture3:Hide(); |
||
809 | DART_MainTextureOptions_BackdropSelect_Texture3:Show(); |
||
810 | DART_MainTextureOptions_ControlSelect_Texture3:Show(); |
||
811 | DART_ControlOptions:Hide(); |
||
812 | DART_TextureOptions:Hide(); |
||
813 | DART_BackdropOptions:Hide(); |
||
814 | DART_TextOptions:Show(); |
||
815 | </OnClick> |
||
816 | </Scripts> |
||
817 | </Button> |
||
818 | </Frames> |
||
819 | </Frame> |
||
820 | |||
821 | <Frame name="DART_MiscOptions" parent="DART_Options" frameStrata="HIGH" hidden="true"> |
||
822 | <Size><AbsDimension x="10" y="10"/></Size> |
||
823 | <Anchors> |
||
824 | <Anchor point="TOPLEFT"/> |
||
825 | <Anchor point="BOTTOMRIGHT"/> |
||
826 | </Anchors> |
||
827 | <Frames> |
||
828 | <Button name="$parent_OptionsScale" inherits="DiscordLib_MenuControlTemplate"> |
||
829 | <Size><AbsDimension x="80" y="24"/></Size> |
||
830 | <Scripts> |
||
831 | <OnLoad> |
||
832 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
833 | this.menu = "DART_DropMenu"; |
||
834 | this.table = "DART_OPTIONS_SCALES"; |
||
835 | this.miscindex = "optionsscale"; |
||
836 | this.initFunc = DART_Set_OptionsScale; |
||
837 | DL_Set_Label(DART_TEXT.OptionsScale); |
||
838 | DL_Set_Anchor("", 0, -25, "TOP", "TOP", 1); |
||
839 | </OnLoad> |
||
840 | </Scripts> |
||
841 | </Button> |
||
842 | <Slider name="$parent_UpdateSpeed" inherits="DART_SliderTemplate" minValue="10" maxValue="60" valueStep="1"> |
||
843 | <Anchors> |
||
844 | <Anchor point="TOP"> |
||
845 | <Offset><AbsDimension x="0" y="-70"/></Offset> |
||
846 | </Anchor> |
||
847 | </Anchors> |
||
848 | <Scripts> |
||
849 | <OnLoad> |
||
850 | this.miscindex = "updatespeed"; |
||
851 | this.minlock = true; |
||
852 | this.maxlock = true; |
||
853 | this.initFunc = DART_Set_OnUpdateSpeed; |
||
854 | DL_Set_Label(DART_TEXT.UpdatesPerSec); |
||
855 | </OnLoad> |
||
856 | </Scripts> |
||
857 | </Slider> |
||
858 | <CheckButton name="$parent_AutoLock" inherits="DART_CheckBoxTemplate"> |
||
859 | <Anchors> |
||
860 | <Anchor point="TOP"> |
||
861 | <Offset><AbsDimension x="-50" y="-95"/></Offset> |
||
862 | </Anchor> |
||
863 | </Anchors> |
||
864 | <Scripts> |
||
865 | <OnLoad> |
||
866 | this.miscindex = "autolock"; |
||
867 | DL_Set_Label(DART_TEXT.AutoLock); |
||
868 | </OnLoad> |
||
869 | </Scripts> |
||
870 | </CheckButton> |
||
871 | <EditBox name="$parent_NewProfile" inherits="DART_EditBoxTemplate"> |
||
872 | <Size><AbsDimension x="200" y="20"/></Size> |
||
873 | <Scripts> |
||
874 | <OnLoad> |
||
875 | DL_Set_Label(DART_TEXT.NewProfile); |
||
876 | DL_Set_Anchor("", 20, -155, "TOPLEFT", "TOPLEFT"); |
||
877 | </OnLoad> |
||
878 | </Scripts> |
||
879 | </EditBox> |
||
880 | <Button name="$parent_NewProfileButton" inherits="DART_MainMenuButton"> |
||
881 | <Size><AbsDimension x="70" y="22"/></Size> |
||
882 | <Anchors> |
||
883 | <Anchor point="LEFT" relativeTo="$parent_NewProfile" relativePoint="RIGHT"> |
||
884 | <Offset><AbsDimension x="-7" y="0"/></Offset> |
||
885 | </Anchor> |
||
886 | </Anchors> |
||
887 | <Scripts> |
||
888 | <OnLoad> |
||
889 | this:SetText(DART_TEXT.Create); |
||
890 | </OnLoad> |
||
891 | <OnClick> |
||
892 | DART_Options_NewProfile(); |
||
893 | </OnClick> |
||
894 | </Scripts> |
||
895 | </Button> |
||
896 | <Button name="$parent_SetProfile" inherits="DiscordLib_MenuControlTemplate"> |
||
897 | <Size><AbsDimension x="200" y="24"/></Size> |
||
898 | <Scripts> |
||
899 | <OnLoad> |
||
900 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
901 | this.menu = "DART_DropMenu"; |
||
902 | this.table = "DART_PROFILE_LIST"; |
||
903 | DL_Set_Label(DART_TEXT.SetProfile); |
||
904 | DL_Set_Anchor("", 20, -180, "TOPLEFT", "TOPLEFT"); |
||
905 | </OnLoad> |
||
906 | </Scripts> |
||
907 | </Button> |
||
908 | <Button name="$parent_SetProfileButton" inherits="DART_MainMenuButton"> |
||
909 | <Size><AbsDimension x="70" y="22"/></Size> |
||
910 | <Anchors> |
||
911 | <Anchor point="LEFT" relativeTo="$parent_SetProfile" relativePoint="RIGHT"/> |
||
912 | </Anchors> |
||
913 | <Scripts> |
||
914 | <OnLoad> |
||
915 | this:SetText(DART_TEXT.Set); |
||
916 | </OnLoad> |
||
917 | <OnClick> |
||
918 | DART_Options_SetProfile(); |
||
919 | </OnClick> |
||
920 | </Scripts> |
||
921 | </Button> |
||
922 | <Button name="$parent_DeleteProfileButton" inherits="DART_MainMenuButton"> |
||
923 | <Size><AbsDimension x="70" y="22"/></Size> |
||
924 | <Anchors> |
||
925 | <Anchor point="LEFT" relativeTo="$parent_SetProfileButton" relativePoint="RIGHT"/> |
||
926 | </Anchors> |
||
927 | <Scripts> |
||
928 | <OnLoad> |
||
929 | this:SetText(DART_TEXT.Delete); |
||
930 | </OnLoad> |
||
931 | <OnClick> |
||
932 | DART_Options_DeleteProfile(); |
||
933 | </OnClick> |
||
934 | </Scripts> |
||
935 | </Button> |
||
936 | <Frame name="$parent_MaxTextures" inherits="DiscordLib_TooltipBackdropTemplate" frameStrata="HIGH"> |
||
937 | <Size><AbsDimension x="100" y="25"/></Size> |
||
938 | <Anchors> |
||
939 | <Anchor point="TOP"> |
||
940 | <Offset><AbsDimension x="0" y="-250"/></Offset> |
||
941 | </Anchor> |
||
942 | </Anchors> |
||
943 | <Layers> |
||
944 | <Layer level="OVERLAY"> |
||
945 | <FontString name="$parent_Display" inherits="GameFontNormal"> |
||
946 | <Color r="1" g="1" b="1"/> |
||
947 | <Anchors> |
||
948 | <Anchor point="CENTER"/> |
||
949 | </Anchors> |
||
950 | </FontString> |
||
951 | <FontString inherits="GameFontNormal" text="Number of Textures:"> |
||
952 | <Color r="1" g="1" b="1"/> |
||
953 | <Anchors> |
||
954 | <Anchor point="RIGHT" relativePoint="LEFT"> |
||
955 | <Offset><AbsDimension x="-30" y="0"/></Offset> |
||
956 | </Anchor> |
||
957 | </Anchors> |
||
958 | </FontString> |
||
959 | </Layer> |
||
960 | </Layers> |
||
961 | <Scripts> |
||
962 | <OnLoad> |
||
963 | this:SetBackdropColor(0,0,0,1); |
||
964 | </OnLoad> |
||
965 | </Scripts> |
||
966 | </Frame> |
||
967 | <Button inherits="DART_MainMenuButton"> |
||
968 | <Size><AbsDimension x="25" y="22"/></Size> |
||
969 | <Anchors> |
||
970 | <Anchor point="RIGHT" relativeTo="$parent_MaxTextures" relativePoint="LEFT"/> |
||
971 | </Anchors> |
||
972 | <Scripts> |
||
973 | <OnLoad> |
||
974 | this:SetText("-"); |
||
975 | </OnLoad> |
||
976 | <OnClick> |
||
977 | DART_Options_DeleteTexture(); |
||
978 | </OnClick> |
||
979 | </Scripts> |
||
980 | </Button> |
||
981 | <Button inherits="DART_MainMenuButton"> |
||
982 | <Size><AbsDimension x="25" y="22"/></Size> |
||
983 | <Anchors> |
||
984 | <Anchor point="LEFT" relativeTo="$parent_MaxTextures" relativePoint="RIGHT"/> |
||
985 | </Anchors> |
||
986 | <Scripts> |
||
987 | <OnLoad> |
||
988 | this:SetText("+"); |
||
989 | </OnLoad> |
||
990 | <OnClick> |
||
991 | DART_Options_CreateTexture(); |
||
992 | </OnClick> |
||
993 | </Scripts> |
||
994 | </Button> |
||
995 | </Frames> |
||
996 | <Layers> |
||
997 | <Layer level="OVERLAY"> |
||
998 | <FontString name="$parent_CurrentProfile" inherits="GameFontNormal" justifyH="LEFT"> |
||
999 | <Color r="1" g="1" b="1"/> |
||
1000 | <Anchors> |
||
1001 | <Anchor point="TOPLEFT"> |
||
1002 | <Offset><AbsDimension x="20" y="-135"/></Offset> |
||
1003 | </Anchor> |
||
1004 | </Anchors> |
||
1005 | </FontString> |
||
1006 | </Layer> |
||
1007 | </Layers> |
||
1008 | </Frame> |
||
1009 | |||
1010 | <Frame name="DART_TextureOptions" parent="DART_MainTextureOptions" frameStrata="MEDIUM" hidden="false"> |
||
1011 | <Size><AbsDimension x="10" y="10"/></Size> |
||
1012 | <Anchors> |
||
1013 | <Anchor point="TOPLEFT"> |
||
1014 | <Offset><AbsDimension x="0" y="-195"/></Offset> |
||
1015 | </Anchor> |
||
1016 | <Anchor point="BOTTOMRIGHT"/> |
||
1017 | </Anchors> |
||
1018 | <Frames> |
||
1019 | <CheckButton name="$parent_Hide" inherits="DART_CheckBoxTemplate"> |
||
1020 | <Anchors> |
||
1021 | <Anchor point="TOPLEFT"> |
||
1022 | <Offset><AbsDimension x="15" y="-30"/></Offset> |
||
1023 | </Anchor> |
||
1024 | </Anchors> |
||
1025 | <Scripts> |
||
1026 | <OnLoad> |
||
1027 | this.index = "hide"; |
||
1028 | DL_Set_Label(DART_TEXT.Hide); |
||
1029 | </OnLoad> |
||
1030 | </Scripts> |
||
1031 | </CheckButton> |
||
1032 | <CheckButton name="$parent_Highlight" inherits="DART_CheckBoxTemplate"> |
||
1033 | <Anchors> |
||
1034 | <Anchor point="TOPLEFT" relativeTo="$parent_Hide" relativePoint="BOTTOMLEFT"/> |
||
1035 | </Anchors> |
||
1036 | <Scripts> |
||
1037 | <OnLoad> |
||
1038 | this.index = "highlight"; |
||
1039 | DL_Set_Label(DART_TEXT.Highlight); |
||
1040 | </OnLoad> |
||
1041 | </Scripts> |
||
1042 | </CheckButton> |
||
1043 | <CheckButton name="$parent_DisableMouse" inherits="DART_CheckBoxTemplate"> |
||
1044 | <Anchors> |
||
1045 | <Anchor point="TOPLEFT" relativeTo="$parent_Highlight" relativePoint="BOTTOMLEFT"/> |
||
1046 | </Anchors> |
||
1047 | <Scripts> |
||
1048 | <OnLoad> |
||
1049 | this.index = "disablemouse"; |
||
1050 | DL_Set_Label(DART_TEXT.DisableMouse); |
||
1051 | </OnLoad> |
||
1052 | </Scripts> |
||
1053 | </CheckButton> |
||
1054 | <CheckButton name="$parent_DisableMousewheel" inherits="DART_CheckBoxTemplate"> |
||
1055 | <Anchors> |
||
1056 | <Anchor point="TOPLEFT" relativeTo="$parent_DisableMouse" relativePoint="BOTTOMLEFT"/> |
||
1057 | </Anchors> |
||
1058 | <Scripts> |
||
1059 | <OnLoad> |
||
1060 | this.index = "disableMousewheel"; |
||
1061 | DL_Set_Label(DART_TEXT.DisableMousewheel); |
||
1062 | </OnLoad> |
||
1063 | </Scripts> |
||
1064 | </CheckButton> |
||
1065 | <Button name="$parent_Color" inherits="DART_ColorPickerTemplate"> |
||
1066 | <Anchors> |
||
1067 | <Anchor point="TOPLEFT" relativeTo="$parent_DisableMousewheel" relativePoint="BOTTOMLEFT"> |
||
1068 | <Offset><AbsDimension x="0" y="-5"/></Offset> |
||
1069 | </Anchor> |
||
1070 | </Anchors> |
||
1071 | <Scripts> |
||
1072 | <OnLoad> |
||
1073 | this.index = "color"; |
||
1074 | this.updatepreview = true; |
||
1075 | DL_Set_Label(DART_TEXT.TextureColor); |
||
1076 | </OnLoad> |
||
1077 | </Scripts> |
||
1078 | </Button> |
||
1079 | <Button name="$parent_HighlightColor" inherits="DART_ColorPickerTemplate"> |
||
1080 | <Anchors> |
||
1081 | <Anchor point="TOPLEFT" relativeTo="$parent_Color" relativePoint="BOTTOMLEFT"> |
||
1082 | <Offset><AbsDimension x="0" y="0"/></Offset> |
||
1083 | </Anchor> |
||
1084 | </Anchors> |
||
1085 | <Scripts> |
||
1086 | <OnLoad> |
||
1087 | this.index = "highlightcolor"; |
||
1088 | DL_Set_Label(DART_TEXT.HLColor); |
||
1089 | </OnLoad> |
||
1090 | </Scripts> |
||
1091 | </Button> |
||
1092 | |||
1093 | <Slider name="$parent_Height" inherits="DART_SliderTemplate" minValue="1" maxValue="300" valueStep="1"> |
||
1094 | <Anchors> |
||
1095 | <Anchor point="TOPLEFT"> |
||
1096 | <Offset><AbsDimension x="200" y="-45"/></Offset> |
||
1097 | </Anchor> |
||
1098 | </Anchors> |
||
1099 | <Scripts> |
||
1100 | <OnLoad> |
||
1101 | this.index = "height"; |
||
1102 | this.minlock = true; |
||
1103 | DL_Set_Label(DART_TEXT.Height); |
||
1104 | </OnLoad> |
||
1105 | </Scripts> |
||
1106 | </Slider> |
||
1107 | <Slider name="$parent_Width" inherits="DART_SliderTemplate" minValue="1" maxValue="300" valueStep="1"> |
||
1108 | <Anchors> |
||
1109 | <Anchor point="LEFT" relativeTo="$parent_Height" relativePoint="RIGHT"> |
||
1110 | <Offset><AbsDimension x="45" y="0"/></Offset> |
||
1111 | </Anchor> |
||
1112 | </Anchors> |
||
1113 | <Scripts> |
||
1114 | <OnLoad> |
||
1115 | this.index = "width"; |
||
1116 | this.minlock = true; |
||
1117 | DL_Set_Label(DART_TEXT.Width); |
||
1118 | </OnLoad> |
||
1119 | </Scripts> |
||
1120 | </Slider> |
||
1121 | <Slider name="$parent_Scale" inherits="DART_SliderTemplate" minValue="0" maxValue="200" valueStep="1"> |
||
1122 | <Anchors> |
||
1123 | <Anchor point="TOPLEFT" relativeTo="$parent_Height" relativePoint="BOTTOMLEFT"> |
||
1124 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
1125 | </Anchor> |
||
1126 | </Anchors> |
||
1127 | <Scripts> |
||
1128 | <OnLoad> |
||
1129 | this.index = "scale"; |
||
1130 | this.minlock = true; |
||
1131 | this.scale = 100; |
||
1132 | DL_Set_Label(DART_TEXT.Scale); |
||
1133 | </OnLoad> |
||
1134 | </Scripts> |
||
1135 | </Slider> |
||
1136 | <Slider name="$parent_Alpha" inherits="DART_SliderTemplate" minValue="0" maxValue="100" valueStep="1"> |
||
1137 | <Anchors> |
||
1138 | <Anchor point="LEFT" relativeTo="$parent_Scale" relativePoint="RIGHT"> |
||
1139 | <Offset><AbsDimension x="45" y="0"/></Offset> |
||
1140 | </Anchor> |
||
1141 | </Anchors> |
||
1142 | <Scripts> |
||
1143 | <OnLoad> |
||
1144 | this.index = "alpha"; |
||
1145 | this.minlock = true; |
||
1146 | this.maxlock = true; |
||
1147 | this.scale = 100; |
||
1148 | this.updatepreview = true; |
||
1149 | DL_Set_Label(DART_TEXT.Alpha); |
||
1150 | </OnLoad> |
||
1151 | </Scripts> |
||
1152 | </Slider> |
||
1153 | <Slider name="$parent_HighlightAlpha" inherits="DART_SliderTemplate" minValue="0" maxValue="100" valueStep="1"> |
||
1154 | <Anchors> |
||
1155 | <Anchor point="TOPLEFT" relativeTo="$parent_Scale" relativePoint="BOTTOMLEFT"> |
||
1156 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
1157 | </Anchor> |
||
1158 | </Anchors> |
||
1159 | <Scripts> |
||
1160 | <OnLoad> |
||
1161 | this.index = "highlightalpha"; |
||
1162 | this.minlock = true; |
||
1163 | this.maxlock = true; |
||
1164 | this.scale = 100; |
||
1165 | DL_Set_Label(DART_TEXT.HighlightAlpha); |
||
1166 | </OnLoad> |
||
1167 | </Scripts> |
||
1168 | </Slider> |
||
1169 | |||
1170 | <Button name="$parent_BlendMode" inherits="DiscordLib_MenuControlTemplate"> |
||
1171 | <Size><AbsDimension x="75" y="22"/></Size> |
||
1172 | <Scripts> |
||
1173 | <OnLoad> |
||
1174 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1175 | this.menu = "DART_DropMenu"; |
||
1176 | this.table = "DL_BLENDMODES"; |
||
1177 | this.index = "blendmode"; |
||
1178 | DL_Set_Label(DART_TEXT.BlendMode); |
||
1179 | DL_Set_Anchor("_Alpha", 10, -20); |
||
1180 | </OnLoad> |
||
1181 | </Scripts> |
||
1182 | </Button> |
||
1183 | |||
1184 | <EditBox name="$parent_Parent" inherits="DART_EditBoxTemplate"> |
||
1185 | <Size><AbsDimension x="200" y="20"/></Size> |
||
1186 | <Scripts> |
||
1187 | <OnLoad> |
||
1188 | this.index = "parent"; |
||
1189 | DL_Set_Label(DART_TEXT.ParentFrame); |
||
1190 | DL_Set_Anchor("", 230, 115, "BOTTOMLEFT", "BOTTOMLEFT"); |
||
1191 | </OnLoad> |
||
1192 | </Scripts> |
||
1193 | </EditBox> |
||
1194 | <EditBox name="$parent_HighlightTexture" inherits="DART_EditBoxTemplate"> |
||
1195 | <Size><AbsDimension x="200" y="20"/></Size> |
||
1196 | <Scripts> |
||
1197 | <OnLoad> |
||
1198 | this.index = "highlighttexture"; |
||
1199 | DL_Set_Label(DART_TEXT.HLTexture); |
||
1200 | DL_Set_Anchor("", 230, 90, "BOTTOMLEFT", "BOTTOMLEFT"); |
||
1201 | </OnLoad> |
||
1202 | </Scripts> |
||
1203 | </EditBox> |
||
1204 | <Button name="$parent_FrameStrata" inherits="DiscordLib_MenuControlTemplate"> |
||
1205 | <Size><AbsDimension x="115" y="22"/></Size> |
||
1206 | <Scripts> |
||
1207 | <OnLoad> |
||
1208 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1209 | this.menu = "DART_DropMenu"; |
||
1210 | this.table = "DL_FRAMESTRATAS"; |
||
1211 | this.index = "strata"; |
||
1212 | DL_Set_Label(DART_TEXT.Strata); |
||
1213 | DL_Set_Anchor("", 20, 115, "BOTTOMLEFT", "BOTTOMLEFT"); |
||
1214 | </OnLoad> |
||
1215 | </Scripts> |
||
1216 | </Button> |
||
1217 | <Button name="$parent_DrawLayer" inherits="DiscordLib_MenuControlTemplate"> |
||
1218 | <Size><AbsDimension x="115" y="22"/></Size> |
||
1219 | <Scripts> |
||
1220 | <OnLoad> |
||
1221 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1222 | this.menu = "DART_DropMenu"; |
||
1223 | this.table = "DL_DRAWLAYERS"; |
||
1224 | this.index = "drawlayer"; |
||
1225 | DL_Set_Label(DART_TEXT.DrawLayer); |
||
1226 | DL_Set_Anchor("", 20, 90, "BOTTOMLEFT", "BOTTOMLEFT"); |
||
1227 | </OnLoad> |
||
1228 | </Scripts> |
||
1229 | </Button> |
||
1230 | |||
1231 | <EditBox name="$parent_AttachFrame1" inherits="DART_EditBoxTemplate"> |
||
1232 | <Size><AbsDimension x="175" y="20"/></Size> |
||
1233 | <Scripts> |
||
1234 | <OnLoad> |
||
1235 | this.index = "attachframe"; |
||
1236 | this.subindex = 1; |
||
1237 | DL_Set_Label("1: "); |
||
1238 | DL_Set_Anchor("_HighlightAlpha", -160, -45); |
||
1239 | </OnLoad> |
||
1240 | </Scripts> |
||
1241 | </EditBox> |
||
1242 | <Button name="$parent_AttachPoint1" inherits="DiscordLib_MenuControlTemplate"> |
||
1243 | <Size><AbsDimension x="110" y="24"/></Size> |
||
1244 | <Scripts> |
||
1245 | <OnLoad> |
||
1246 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1247 | this.menu = "DART_DropMenu"; |
||
1248 | this.table = "DART_ANCHORS"; |
||
1249 | this.index = "attachpoint"; |
||
1250 | this.subindex = 1; |
||
1251 | DL_Set_Anchor("_AttachFrame1", -10, 0, "LEFT", "RIGHT"); |
||
1252 | </OnLoad> |
||
1253 | </Scripts> |
||
1254 | </Button> |
||
1255 | <Button name="$parent_AttachTo1" inherits="DiscordLib_MenuControlTemplate"> |
||
1256 | <Size><AbsDimension x="110" y="24"/></Size> |
||
1257 | <Scripts> |
||
1258 | <OnLoad> |
||
1259 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1260 | this.menu = "DART_DropMenu"; |
||
1261 | this.table = "DART_ANCHORS"; |
||
1262 | this.index = "attachto"; |
||
1263 | this.subindex = 1; |
||
1264 | DL_Set_Anchor("_AttachPoint1", -10, 0, "LEFT", "RIGHT"); |
||
1265 | </OnLoad> |
||
1266 | </Scripts> |
||
1267 | </Button> |
||
1268 | <EditBox name="$parent_XOffset1" inherits="DART_EditBoxTemplate" letters="4"> |
||
1269 | <Size><AbsDimension x="40" y="20"/></Size> |
||
1270 | <Scripts> |
||
1271 | <OnLoad> |
||
1272 | this.index = "xoffset"; |
||
1273 | this.subindex = 1; |
||
1274 | DL_Set_Anchor("_AttachTo1", 0, 0, "LEFT", "RIGHT"); |
||
1275 | </OnLoad> |
||
1276 | </Scripts> |
||
1277 | </EditBox> |
||
1278 | <EditBox name="$parent_YOffset1" inherits="DART_EditBoxTemplate" letters="4"> |
||
1279 | <Size><AbsDimension x="40" y="20"/></Size> |
||
1280 | <Scripts> |
||
1281 | <OnLoad> |
||
1282 | this.index = "yoffset"; |
||
1283 | this.subindex = 1; |
||
1284 | DL_Set_Anchor("_XOffset1", -3, 0, "LEFT", "RIGHT"); |
||
1285 | </OnLoad> |
||
1286 | </Scripts> |
||
1287 | </EditBox> |
||
1288 | |||
1289 | <EditBox name="$parent_AttachFrame2" inherits="DART_EditBoxTemplate"> |
||
1290 | <Anchors> |
||
1291 | <Anchor point="TOP" relativeTo="$parent_AttachFrame1" relativePoint="BOTTOM"/> |
||
1292 | </Anchors> |
||
1293 | <Size><AbsDimension x="175" y="20"/></Size> |
||
1294 | <Scripts> |
||
1295 | <OnLoad> |
||
1296 | this.index = "attachframe"; |
||
1297 | this.subindex = 2; |
||
1298 | DL_Set_Label("2: "); |
||
1299 | </OnLoad> |
||
1300 | </Scripts> |
||
1301 | </EditBox> |
||
1302 | <Button name="$parent_AttachPoint2" inherits="DiscordLib_MenuControlTemplate"> |
||
1303 | <Size><AbsDimension x="110" y="24"/></Size> |
||
1304 | <Scripts> |
||
1305 | <OnLoad> |
||
1306 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1307 | this.menu = "DART_DropMenu"; |
||
1308 | this.table = "DART_ANCHORS"; |
||
1309 | this.index = "attachpoint"; |
||
1310 | this.subindex = 2; |
||
1311 | DL_Set_Anchor("_AttachFrame2", -10, 0, "LEFT", "RIGHT"); |
||
1312 | </OnLoad> |
||
1313 | </Scripts> |
||
1314 | </Button> |
||
1315 | <Button name="$parent_AttachTo2" inherits="DiscordLib_MenuControlTemplate"> |
||
1316 | <Size><AbsDimension x="110" y="24"/></Size> |
||
1317 | <Scripts> |
||
1318 | <OnLoad> |
||
1319 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1320 | this.menu = "DART_DropMenu"; |
||
1321 | this.table = "DART_ANCHORS"; |
||
1322 | this.index = "attachto"; |
||
1323 | this.subindex = 2; |
||
1324 | DL_Set_Anchor("_AttachPoint2", -10, 0, "LEFT", "RIGHT"); |
||
1325 | </OnLoad> |
||
1326 | </Scripts> |
||
1327 | </Button> |
||
1328 | <EditBox name="$parent_XOffset2" inherits="DART_EditBoxTemplate" letters="4"> |
||
1329 | <Size><AbsDimension x="40" y="20"/></Size> |
||
1330 | <Scripts> |
||
1331 | <OnLoad> |
||
1332 | this.index = "xoffset"; |
||
1333 | this.subindex = 2; |
||
1334 | DL_Set_Anchor("_AttachTo2", 0, 0, "LEFT", "RIGHT"); |
||
1335 | </OnLoad> |
||
1336 | </Scripts> |
||
1337 | </EditBox> |
||
1338 | <EditBox name="$parent_YOffset2" inherits="DART_EditBoxTemplate" letters="4"> |
||
1339 | <Size><AbsDimension x="40" y="20"/></Size> |
||
1340 | <Scripts> |
||
1341 | <OnLoad> |
||
1342 | this.index = "yoffset"; |
||
1343 | this.subindex = 2; |
||
1344 | DL_Set_Anchor("_XOffset2", -3, 0, "LEFT", "RIGHT"); |
||
1345 | </OnLoad> |
||
1346 | </Scripts> |
||
1347 | </EditBox> |
||
1348 | |||
1349 | <EditBox name="$parent_AttachFrame3" inherits="DART_EditBoxTemplate"> |
||
1350 | <Anchors> |
||
1351 | <Anchor point="TOP" relativeTo="$parent_AttachFrame2" relativePoint="BOTTOM"/> |
||
1352 | </Anchors> |
||
1353 | <Size><AbsDimension x="175" y="20"/></Size> |
||
1354 | <Scripts> |
||
1355 | <OnLoad> |
||
1356 | this.index = "attachframe"; |
||
1357 | this.subindex = 3; |
||
1358 | DL_Set_Label("3: "); |
||
1359 | </OnLoad> |
||
1360 | </Scripts> |
||
1361 | </EditBox> |
||
1362 | <Button name="$parent_AttachPoint3" inherits="DiscordLib_MenuControlTemplate"> |
||
1363 | <Size><AbsDimension x="110" y="24"/></Size> |
||
1364 | <Scripts> |
||
1365 | <OnLoad> |
||
1366 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1367 | this.menu = "DART_DropMenu"; |
||
1368 | this.table = "DART_ANCHORS"; |
||
1369 | this.index = "attachpoint"; |
||
1370 | this.subindex = 3; |
||
1371 | DL_Set_Anchor("_AttachFrame3", -10, 0, "LEFT", "RIGHT"); |
||
1372 | </OnLoad> |
||
1373 | </Scripts> |
||
1374 | </Button> |
||
1375 | <Button name="$parent_AttachTo3" inherits="DiscordLib_MenuControlTemplate"> |
||
1376 | <Size><AbsDimension x="110" y="24"/></Size> |
||
1377 | <Scripts> |
||
1378 | <OnLoad> |
||
1379 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1380 | this.menu = "DART_DropMenu"; |
||
1381 | this.table = "DART_ANCHORS"; |
||
1382 | this.index = "attachto"; |
||
1383 | this.subindex = 3; |
||
1384 | DL_Set_Anchor("_AttachPoint3", -10, 0, "LEFT", "RIGHT"); |
||
1385 | </OnLoad> |
||
1386 | </Scripts> |
||
1387 | </Button> |
||
1388 | <EditBox name="$parent_XOffset3" inherits="DART_EditBoxTemplate" letters="4"> |
||
1389 | <Size><AbsDimension x="40" y="20"/></Size> |
||
1390 | <Scripts> |
||
1391 | <OnLoad> |
||
1392 | this.index = "xoffset"; |
||
1393 | this.subindex = 3; |
||
1394 | DL_Set_Anchor("_AttachTo3", 0, 0, "LEFT", "RIGHT"); |
||
1395 | </OnLoad> |
||
1396 | </Scripts> |
||
1397 | </EditBox> |
||
1398 | <EditBox name="$parent_YOffset3" inherits="DART_EditBoxTemplate" letters="4"> |
||
1399 | <Size><AbsDimension x="40" y="20"/></Size> |
||
1400 | <Scripts> |
||
1401 | <OnLoad> |
||
1402 | this.index = "yoffset"; |
||
1403 | this.subindex = 3; |
||
1404 | DL_Set_Anchor("_XOffset3", -3, 0, "LEFT", "RIGHT"); |
||
1405 | </OnLoad> |
||
1406 | </Scripts> |
||
1407 | </EditBox> |
||
1408 | |||
1409 | <EditBox name="$parent_AttachFrame4" inherits="DART_EditBoxTemplate"> |
||
1410 | <Anchors> |
||
1411 | <Anchor point="TOP" relativeTo="$parent_AttachFrame3" relativePoint="BOTTOM"/> |
||
1412 | </Anchors> |
||
1413 | <Size><AbsDimension x="175" y="20"/></Size> |
||
1414 | <Scripts> |
||
1415 | <OnLoad> |
||
1416 | this.index = "attachframe"; |
||
1417 | this.subindex = 4; |
||
1418 | DL_Set_Label("4: "); |
||
1419 | </OnLoad> |
||
1420 | </Scripts> |
||
1421 | </EditBox> |
||
1422 | <Button name="$parent_AttachPoint4" inherits="DiscordLib_MenuControlTemplate"> |
||
1423 | <Size><AbsDimension x="110" y="24"/></Size> |
||
1424 | <Scripts> |
||
1425 | <OnLoad> |
||
1426 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1427 | this.menu = "DART_DropMenu"; |
||
1428 | this.table = "DART_ANCHORS"; |
||
1429 | this.index = "attachpoint"; |
||
1430 | this.subindex = 4; |
||
1431 | DL_Set_Anchor("_AttachFrame4", -10, 0, "LEFT", "RIGHT"); |
||
1432 | </OnLoad> |
||
1433 | </Scripts> |
||
1434 | </Button> |
||
1435 | <Button name="$parent_AttachTo4" inherits="DiscordLib_MenuControlTemplate"> |
||
1436 | <Size><AbsDimension x="110" y="24"/></Size> |
||
1437 | <Scripts> |
||
1438 | <OnLoad> |
||
1439 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1440 | this.menu = "DART_DropMenu"; |
||
1441 | this.table = "DART_ANCHORS"; |
||
1442 | this.index = "attachto"; |
||
1443 | this.subindex = 4; |
||
1444 | DL_Set_Anchor("_AttachPoint4", -10, 0, "LEFT", "RIGHT"); |
||
1445 | </OnLoad> |
||
1446 | </Scripts> |
||
1447 | </Button> |
||
1448 | <EditBox name="$parent_XOffset4" inherits="DART_EditBoxTemplate" letters="4"> |
||
1449 | <Size><AbsDimension x="40" y="20"/></Size> |
||
1450 | <Scripts> |
||
1451 | <OnLoad> |
||
1452 | this.index = "xoffset"; |
||
1453 | this.subindex = 4; |
||
1454 | DL_Set_Anchor("_AttachTo4", 0, 0, "LEFT", "RIGHT"); |
||
1455 | </OnLoad> |
||
1456 | </Scripts> |
||
1457 | </EditBox> |
||
1458 | <EditBox name="$parent_YOffset4" inherits="DART_EditBoxTemplate" letters="4"> |
||
1459 | <Size><AbsDimension x="40" y="20"/></Size> |
||
1460 | <Scripts> |
||
1461 | <OnLoad> |
||
1462 | this.index = "yoffset"; |
||
1463 | this.subindex = 4; |
||
1464 | DL_Set_Anchor("_XOffset4", -3, 0, "LEFT", "RIGHT"); |
||
1465 | </OnLoad> |
||
1466 | </Scripts> |
||
1467 | </EditBox> |
||
1468 | |||
1469 | <Button name="$parent_AttachPointT" inherits="DiscordLib_MenuControlTemplate"> |
||
1470 | <Size><AbsDimension x="110" y="24"/></Size> |
||
1471 | <Anchors> |
||
1472 | <Anchor point="TOP" relativeTo="$parent_AttachPoint4" relativePoint="BOTTOM"> |
||
1473 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
1474 | </Anchor> |
||
1475 | </Anchors> |
||
1476 | <Scripts> |
||
1477 | <OnLoad> |
||
1478 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1479 | this.menu = "DART_DropMenu"; |
||
1480 | this.table = "DART_ANCHORS"; |
||
1481 | this.index = "text"; |
||
1482 | this.subindex = "attachpoint"; |
||
1483 | DL_Set_Label(DART_TEXT.Text); |
||
1484 | </OnLoad> |
||
1485 | </Scripts> |
||
1486 | </Button> |
||
1487 | <Button name="$parent_AttachToT" inherits="DiscordLib_MenuControlTemplate"> |
||
1488 | <Size><AbsDimension x="110" y="24"/></Size> |
||
1489 | <Scripts> |
||
1490 | <OnLoad> |
||
1491 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1492 | this.menu = "DART_DropMenu"; |
||
1493 | this.table = "DART_ANCHORS"; |
||
1494 | this.index = "text"; |
||
1495 | this.subindex = "attachto"; |
||
1496 | DL_Set_Anchor("_AttachPointT", -10, 0, "LEFT", "RIGHT"); |
||
1497 | </OnLoad> |
||
1498 | </Scripts> |
||
1499 | </Button> |
||
1500 | <EditBox name="$parent_XOffsetT" inherits="DART_EditBoxTemplate" letters="4"> |
||
1501 | <Size><AbsDimension x="40" y="20"/></Size> |
||
1502 | <Scripts> |
||
1503 | <OnLoad> |
||
1504 | this.index = "text"; |
||
1505 | this.subindex = "xoffset"; |
||
1506 | DL_Set_Anchor("_AttachToT", 0, 0, "LEFT", "RIGHT"); |
||
1507 | </OnLoad> |
||
1508 | </Scripts> |
||
1509 | </EditBox> |
||
1510 | <EditBox name="$parent_YOffsetT" inherits="DART_EditBoxTemplate" letters="4"> |
||
1511 | <Size><AbsDimension x="40" y="20"/></Size> |
||
1512 | <Scripts> |
||
1513 | <OnLoad> |
||
1514 | this.index = "text"; |
||
1515 | this.subindex = "yoffset"; |
||
1516 | DL_Set_Anchor("_XOffsetT", -3, 0, "LEFT", "RIGHT"); |
||
1517 | </OnLoad> |
||
1518 | </Scripts> |
||
1519 | </EditBox> |
||
1520 | |||
1521 | <EditBox name="$parent_FrameLevel" inherits="DART_EditBoxTemplate" letters="4"> |
||
1522 | <Size><AbsDimension x="47" y="20"/></Size> |
||
1523 | <Anchors> |
||
1524 | <Anchor point="TOPLEFT"> |
||
1525 | <Offset><AbsDimension x="55" y="-293"/></Offset> |
||
1526 | </Anchor> |
||
1527 | </Anchors> |
||
1528 | <Scripts> |
||
1529 | <OnLoad> |
||
1530 | this.index = "framelevel"; |
||
1531 | this.number = true; |
||
1532 | DL_Set_Label(DART_TEXT.FrameLevel); |
||
1533 | </OnLoad> |
||
1534 | </Scripts> |
||
1535 | </EditBox> |
||
1536 | <Button name="$parent_FrameLevelMinus" inherits="DART_MainMenuButton" text="-"> |
||
1537 | <Size><AbsDimension x="15" y="15"/></Size> |
||
1538 | <Anchors> |
||
1539 | <Anchor point="RIGHT" relativeTo="$parent_FrameLevel" relativePoint="LEFT"> |
||
1540 | <Offset><AbsDimension x="-7" y="0"/></Offset> |
||
1541 | </Anchor> |
||
1542 | </Anchors> |
||
1543 | <Scripts> |
||
1544 | <OnClick> |
||
1545 | DART_Options_FrameLevelMinus(); |
||
1546 | </OnClick> |
||
1547 | </Scripts> |
||
1548 | </Button> |
||
1549 | <Button name="$parent_FrameLevelPlus" inherits="DART_MainMenuButton" text="+"> |
||
1550 | <Size><AbsDimension x="15" y="15"/></Size> |
||
1551 | <Anchors> |
||
1552 | <Anchor point="LEFT" relativeTo="$parent_FrameLevel" relativePoint="RIGHT"/> |
||
1553 | </Anchors> |
||
1554 | <Scripts> |
||
1555 | <OnClick> |
||
1556 | DART_Options_FrameLevelPlus(); |
||
1557 | </OnClick> |
||
1558 | </Scripts> |
||
1559 | </Button> |
||
1560 | |||
1561 | <Button name="$parent_NudgeIndex" inherits="DiscordLib_MenuControlTemplate"> |
||
1562 | <Size><AbsDimension x="45" y="24"/></Size> |
||
1563 | <Scripts> |
||
1564 | <OnLoad> |
||
1565 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1566 | this.menu = "DART_DropMenu"; |
||
1567 | this.table = "DART_NUDGE_INDICES"; |
||
1568 | this.initFunc = DART_Options_SelectNudgeIndex; |
||
1569 | DL_Set_Label(DART_TEXT.MoveAnchor); |
||
1570 | DL_Set_Anchor("_AttachFrame4", 120, -20); |
||
1571 | </OnLoad> |
||
1572 | </Scripts> |
||
1573 | </Button> |
||
1574 | <Button name="$parent_NudgeLeft" inherits="DART_NudgeTemplate" id="1"> |
||
1575 | <Anchors> |
||
1576 | <Anchor point="LEFT" relativeTo="$parent_NudgeIndex" relativePoint="RIGHT"> |
||
1577 | <Offset><AbsDimension x="5" y="0"/></Offset> |
||
1578 | </Anchor> |
||
1579 | </Anchors> |
||
1580 | </Button> |
||
1581 | <Button name="$parent_NudgeRight" inherits="DART_NudgeTemplate" id="2"> |
||
1582 | <Anchors> |
||
1583 | <Anchor point="LEFT" relativeTo="$parent_NudgeLeft" relativePoint="RIGHT"> |
||
1584 | <Offset><AbsDimension x="1" y="0"/></Offset> |
||
1585 | </Anchor> |
||
1586 | </Anchors> |
||
1587 | </Button> |
||
1588 | <Button name="$parent_NudgeUp" inherits="DART_NudgeTemplate" id="3"> |
||
1589 | <Anchors> |
||
1590 | <Anchor point="LEFT" relativeTo="$parent_NudgeRight" relativePoint="RIGHT"> |
||
1591 | <Offset><AbsDimension x="5" y="0"/></Offset> |
||
1592 | </Anchor> |
||
1593 | </Anchors> |
||
1594 | </Button> |
||
1595 | <Button name="$parent_NudgeDown" inherits="DART_NudgeTemplate" id="4"> |
||
1596 | <Anchors> |
||
1597 | <Anchor point="LEFT" relativeTo="$parent_NudgeUp" relativePoint="RIGHT"> |
||
1598 | <Offset><AbsDimension x="1" y="0"/></Offset> |
||
1599 | </Anchor> |
||
1600 | </Anchors> |
||
1601 | </Button> |
||
1602 | |||
1603 | <Frame name="DART_AnchorHeader"> |
||
1604 | <Size><AbsDimension x="10" y="10"/></Size> |
||
1605 | <Anchors> |
||
1606 | <Anchor point="BOTTOMLEFT" relativeTo="$parent_AttachFrame1" relativePoint="TOPLEFT"> |
||
1607 | <Offset><AbsDimension x="0" y="15"/></Offset> |
||
1608 | </Anchor> |
||
1609 | <Anchor point="BOTTOMRIGHT" relativeTo="$parent_YOffset1" relativePoint="TOPRIGHT"> |
||
1610 | <Offset><AbsDimension x="0" y="15"/></Offset> |
||
1611 | </Anchor> |
||
1612 | </Anchors> |
||
1613 | <Layers> |
||
1614 | <Layer level="OVERLAY"> |
||
1615 | <FontString name="$parent_Text" inherits="GameFontNormal" justifyH="CENTER" text="DART_ANCHORHEADER"> |
||
1616 | <Anchors> |
||
1617 | <Anchor point="CENTER"/> |
||
1618 | </Anchors> |
||
1619 | </FontString> |
||
1620 | </Layer> |
||
1621 | </Layers> |
||
1622 | </Frame> |
||
1623 | <Frame name="DART_AnchorHeader_Frame"> |
||
1624 | <Size><AbsDimension x="10" y="10"/></Size> |
||
1625 | <Anchors> |
||
1626 | <Anchor point="BOTTOMLEFT" relativeTo="$parent_AttachFrame1" relativePoint="TOPLEFT"> |
||
1627 | <Offset><AbsDimension x="-7" y="0"/></Offset> |
||
1628 | </Anchor> |
||
1629 | <Anchor point="BOTTOMRIGHT" relativeTo="$parent_AttachFrame1" relativePoint="TOPRIGHT"> |
||
1630 | <Offset><AbsDimension x="-7" y="0"/></Offset> |
||
1631 | </Anchor> |
||
1632 | </Anchors> |
||
1633 | <Layers> |
||
1634 | <Layer level="OVERLAY"> |
||
1635 | <FontString name="$parent_Text" inherits="GameFontNormalSmall" justifyH="CENTER" text="DART_ANCHORHEADER_FRAME"> |
||
1636 | <Anchors> |
||
1637 | <Anchor point="CENTER"/> |
||
1638 | </Anchors> |
||
1639 | </FontString> |
||
1640 | </Layer> |
||
1641 | </Layers> |
||
1642 | </Frame> |
||
1643 | <Frame name="DART_AnchorHeader_Point"> |
||
1644 | <Size><AbsDimension x="10" y="10"/></Size> |
||
1645 | <Anchors> |
||
1646 | <Anchor point="BOTTOMLEFT" relativeTo="$parent_AttachPoint1" relativePoint="TOPLEFT"/> |
||
1647 | <Anchor point="BOTTOMRIGHT" relativeTo="$parent_AttachPoint1" relativePoint="TOPRIGHT"/> |
||
1648 | </Anchors> |
||
1649 | <Layers> |
||
1650 | <Layer level="OVERLAY"> |
||
1651 | <FontString name="$parent_Text" inherits="GameFontNormalSmall" justifyH="CENTER" text="DART_ANCHORHEADER_POINT"> |
||
1652 | <Anchors> |
||
1653 | <Anchor point="CENTER"/> |
||
1654 | </Anchors> |
||
1655 | </FontString> |
||
1656 | </Layer> |
||
1657 | </Layers> |
||
1658 | </Frame> |
||
1659 | <Frame name="DART_AnchorHeader_To"> |
||
1660 | <Size><AbsDimension x="10" y="10"/></Size> |
||
1661 | <Anchors> |
||
1662 | <Anchor point="BOTTOMLEFT" relativeTo="$parent_AttachTo1" relativePoint="TOPLEFT"/> |
||
1663 | <Anchor point="BOTTOMRIGHT" relativeTo="$parent_AttachTo1" relativePoint="TOPRIGHT"/> |
||
1664 | </Anchors> |
||
1665 | <Layers> |
||
1666 | <Layer level="OVERLAY"> |
||
1667 | <FontString name="$parent_Text" inherits="GameFontNormalSmall" justifyH="CENTER" text="DART_ANCHORHEADER_TO"> |
||
1668 | <Anchors> |
||
1669 | <Anchor point="CENTER"/> |
||
1670 | </Anchors> |
||
1671 | </FontString> |
||
1672 | </Layer> |
||
1673 | </Layers> |
||
1674 | </Frame> |
||
1675 | <Frame name="DART_AnchorHeader_X"> |
||
1676 | <Size><AbsDimension x="10" y="10"/></Size> |
||
1677 | <Anchors> |
||
1678 | <Anchor point="BOTTOMLEFT" relativeTo="$parent_XOffset1" relativePoint="TOPLEFT"> |
||
1679 | <Offset><AbsDimension x="-7" y="0"/></Offset> |
||
1680 | </Anchor> |
||
1681 | <Anchor point="BOTTOMRIGHT" relativeTo="$parent_XOffset1" relativePoint="TOPRIGHT"> |
||
1682 | <Offset><AbsDimension x="-7" y="0"/></Offset> |
||
1683 | </Anchor> |
||
1684 | </Anchors> |
||
1685 | <Layers> |
||
1686 | <Layer level="OVERLAY"> |
||
1687 | <FontString name="$parent_Text" inherits="GameFontNormalSmall" justifyH="CENTER" text="DART_ANCHORHEADER_X"> |
||
1688 | <Anchors> |
||
1689 | <Anchor point="CENTER"/> |
||
1690 | </Anchors> |
||
1691 | </FontString> |
||
1692 | </Layer> |
||
1693 | </Layers> |
||
1694 | </Frame> |
||
1695 | <Frame name="DART_AnchorHeader_Y"> |
||
1696 | <Size><AbsDimension x="10" y="10"/></Size> |
||
1697 | <Anchors> |
||
1698 | <Anchor point="BOTTOMLEFT" relativeTo="$parent_YOffset1" relativePoint="TOPLEFT"> |
||
1699 | <Offset><AbsDimension x="-7" y="0"/></Offset> |
||
1700 | </Anchor> |
||
1701 | <Anchor point="BOTTOMRIGHT" relativeTo="$parent_YOffset1" relativePoint="TOPRIGHT"> |
||
1702 | <Offset><AbsDimension x="-7" y="0"/></Offset> |
||
1703 | </Anchor> |
||
1704 | </Anchors> |
||
1705 | <Layers> |
||
1706 | <Layer level="OVERLAY"> |
||
1707 | <FontString name="$parent_Text" inherits="GameFontNormalSmall" justifyH="CENTER" text="DART_ANCHORHEADER_Y"> |
||
1708 | <Anchors> |
||
1709 | <Anchor point="CENTER"/> |
||
1710 | </Anchors> |
||
1711 | </FontString> |
||
1712 | </Layer> |
||
1713 | </Layers> |
||
1714 | </Frame> |
||
1715 | </Frames> |
||
1716 | </Frame> |
||
1717 | |||
1718 | <Frame name="DART_BackdropOptions" parent="DART_MainTextureOptions" frameStrata="MEDIUM" hidden="true"> |
||
1719 | <Size><AbsDimension x="10" y="10"/></Size> |
||
1720 | <Anchors> |
||
1721 | <Anchor point="TOPLEFT"> |
||
1722 | <Offset><AbsDimension x="0" y="-195"/></Offset> |
||
1723 | </Anchor> |
||
1724 | <Anchor point="BOTTOMRIGHT"/> |
||
1725 | </Anchors> |
||
1726 | <Frames> |
||
1727 | <CheckButton name="$parent_HideBackground" inherits="DART_CheckBoxTemplate"> |
||
1728 | <Anchors> |
||
1729 | <Anchor point="TOPLEFT"> |
||
1730 | <Offset><AbsDimension x="15" y="-120"/></Offset> |
||
1731 | </Anchor> |
||
1732 | </Anchors> |
||
1733 | <Scripts> |
||
1734 | <OnLoad> |
||
1735 | this.index = "hidebg"; |
||
1736 | this.updatepreview = true; |
||
1737 | DL_Set_Label(DART_TEXT.HideBackground); |
||
1738 | </OnLoad> |
||
1739 | </Scripts> |
||
1740 | </CheckButton> |
||
1741 | <Button name="$parent_BGColor" inherits="DART_ColorPickerTemplate"> |
||
1742 | <Anchors> |
||
1743 | <Anchor point="TOPLEFT" relativeTo="$parent_HideBackground" relativePoint="BOTTOMLEFT"> |
||
1744 | <Offset><AbsDimension x="0" y="-5"/></Offset> |
||
1745 | </Anchor> |
||
1746 | </Anchors> |
||
1747 | <Scripts> |
||
1748 | <OnLoad> |
||
1749 | this.index = "bgcolor"; |
||
1750 | this.updatepreview = true; |
||
1751 | DL_Set_Label(DART_TEXT.BackgroundColor); |
||
1752 | </OnLoad> |
||
1753 | </Scripts> |
||
1754 | </Button> |
||
1755 | <Button name="$parent_BorderColor" inherits="DART_ColorPickerTemplate"> |
||
1756 | <Anchors> |
||
1757 | <Anchor point="TOPLEFT" relativeTo="$parent_BGColor" relativePoint="BOTTOMLEFT"> |
||
1758 | <Offset><AbsDimension x="0" y="0"/></Offset> |
||
1759 | </Anchor> |
||
1760 | </Anchors> |
||
1761 | <Scripts> |
||
1762 | <OnLoad> |
||
1763 | this.index = "bordercolor"; |
||
1764 | this.updatepreview = true; |
||
1765 | DL_Set_Label(DART_TEXT.BorderColor); |
||
1766 | </OnLoad> |
||
1767 | </Scripts> |
||
1768 | </Button> |
||
1769 | |||
1770 | <Slider name="$parent_BackgroundAlpha" inherits="DART_SliderTemplate" minValue="0" maxValue="100" valueStep="1"> |
||
1771 | <Anchors> |
||
1772 | <Anchor point="TOPLEFT" relativeTo="$parent_BorderColor" relativePoint="BOTTOMLEFT"> |
||
1773 | <Offset><AbsDimension x="0" y="-30"/></Offset> |
||
1774 | </Anchor> |
||
1775 | </Anchors> |
||
1776 | <Scripts> |
||
1777 | <OnLoad> |
||
1778 | this.index = "bgalpha"; |
||
1779 | this.minlock = true; |
||
1780 | this.maxlock = true; |
||
1781 | this.scale = 100; |
||
1782 | this.updatepreview = true; |
||
1783 | DL_Set_Label(DART_TEXT.BackgroundAlpha); |
||
1784 | </OnLoad> |
||
1785 | </Scripts> |
||
1786 | </Slider> |
||
1787 | <Slider name="$parent_BorderAlpha" inherits="DART_SliderTemplate" minValue="0" maxValue="100" valueStep="1"> |
||
1788 | <Anchors> |
||
1789 | <Anchor point="TOPLEFT" relativeTo="$parent_BackgroundAlpha" relativePoint="BOTTOMLEFT"> |
||
1790 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
1791 | </Anchor> |
||
1792 | </Anchors> |
||
1793 | <Scripts> |
||
1794 | <OnLoad> |
||
1795 | this.index = "borderalpha"; |
||
1796 | this.minlock = true; |
||
1797 | this.maxlock = true; |
||
1798 | this.scale = 100; |
||
1799 | this.updatepreview = true; |
||
1800 | DL_Set_Label(DART_TEXT.BorderAlpha); |
||
1801 | </OnLoad> |
||
1802 | </Scripts> |
||
1803 | </Slider> |
||
1804 | |||
1805 | <Button name="$parent_Presets" inherits="DiscordLib_MenuControlTemplate" frameStrata="HIGH"> |
||
1806 | <Size><AbsDimension x="90" y="24"/></Size> |
||
1807 | <Scripts> |
||
1808 | <OnLoad> |
||
1809 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1810 | this.menu = "DART_DropMenu"; |
||
1811 | this.table = "DART_BACKDROPS"; |
||
1812 | this.initFunc = DART_Options_LoadPresetBackdrop; |
||
1813 | DL_Set_Label(DART_TEXT.PresetBackdrops); |
||
1814 | DL_Set_Anchor("", 0, -30, "TOP", "TOP", 1); |
||
1815 | </OnLoad> |
||
1816 | </Scripts> |
||
1817 | </Button> |
||
1818 | <EditBox name="$parent_BackgroundTexture" inherits="DART_EditBoxTemplate" frameStrata="HIGH"> |
||
1819 | <Size><AbsDimension x="400" y="20"/></Size> |
||
1820 | <Scripts> |
||
1821 | <OnLoad> |
||
1822 | this.index = "bgtexture"; |
||
1823 | this.updatepreview = true; |
||
1824 | DL_Set_Label(DART_TEXT.BackgroundTexture); |
||
1825 | DL_Set_Anchor("", 15, -60, "TOP", "TOP", 1); |
||
1826 | </OnLoad> |
||
1827 | </Scripts> |
||
1828 | </EditBox> |
||
1829 | <EditBox name="$parent_BorderTexture" inherits="DART_EditBoxTemplate" frameStrata="HIGH"> |
||
1830 | <Size><AbsDimension x="400" y="20"/></Size> |
||
1831 | <Scripts> |
||
1832 | <OnLoad> |
||
1833 | this.index = "bordertexture"; |
||
1834 | this.updatepreview = true; |
||
1835 | DL_Set_Label(DART_TEXT.BorderTexture); |
||
1836 | DL_Set_Anchor("", 15, -90, "TOP", "TOP", 1); |
||
1837 | </OnLoad> |
||
1838 | </Scripts> |
||
1839 | </EditBox> |
||
1840 | <CheckButton name="$parent_Tile" inherits="DART_CheckBoxTemplate" frameStrata="HIGH"> |
||
1841 | <Anchors> |
||
1842 | <Anchor point="LEFT" relativeTo="$parent_HideBackground" relativePoint="RIGHT"> |
||
1843 | <Offset><AbsDimension x="250" y="0"/></Offset> |
||
1844 | </Anchor> |
||
1845 | </Anchors> |
||
1846 | <Scripts> |
||
1847 | <OnLoad> |
||
1848 | this.index = "Backdrop"; |
||
1849 | this.subindex = "tile"; |
||
1850 | this.updatepreview = true; |
||
1851 | DL_Set_Label(DART_TEXT.Tile); |
||
1852 | </OnLoad> |
||
1853 | </Scripts> |
||
1854 | </CheckButton> |
||
1855 | <EditBox name="$parent_TileSize" inherits="DART_EditBoxTemplate" frameStrata="HIGH"> |
||
1856 | <Size><AbsDimension x="100" y="20"/></Size> |
||
1857 | <Scripts> |
||
1858 | <OnLoad> |
||
1859 | this.index = "Backdrop"; |
||
1860 | this.subindex = "tileSize"; |
||
1861 | this.updatepreview = true; |
||
1862 | DL_Set_Label(DART_TEXT.TileSize); |
||
1863 | DL_Set_Anchor("_Tile", 0, -5); |
||
1864 | </OnLoad> |
||
1865 | </Scripts> |
||
1866 | </EditBox> |
||
1867 | <EditBox name="$parent_EdgeSize" inherits="DART_EditBoxTemplate" frameStrata="HIGH"> |
||
1868 | <Size><AbsDimension x="100" y="20"/></Size> |
||
1869 | <Scripts> |
||
1870 | <OnLoad> |
||
1871 | this.index = "Backdrop"; |
||
1872 | this.subindex = "edgeSize"; |
||
1873 | this.updatepreview = true; |
||
1874 | DL_Set_Label(DART_TEXT.EdgSize); |
||
1875 | DL_Set_Anchor("_Tile", 0, -30); |
||
1876 | </OnLoad> |
||
1877 | </Scripts> |
||
1878 | </EditBox> |
||
1879 | <EditBox name="$parent_InsetLeft" inherits="DART_EditBoxTemplate" frameStrata="HIGH"> |
||
1880 | <Size><AbsDimension x="100" y="20"/></Size> |
||
1881 | <Scripts> |
||
1882 | <OnLoad> |
||
1883 | this.index = "Backdrop"; |
||
1884 | this.subindex = "left"; |
||
1885 | this.updatepreview = true; |
||
1886 | DL_Set_Label(DART_TEXT.InsetLeft); |
||
1887 | DL_Set_Anchor("_Tile", 0, -55); |
||
1888 | </OnLoad> |
||
1889 | </Scripts> |
||
1890 | </EditBox> |
||
1891 | <EditBox name="$parent_InsetRight" inherits="DART_EditBoxTemplate" frameStrata="HIGH"> |
||
1892 | <Size><AbsDimension x="100" y="20"/></Size> |
||
1893 | <Scripts> |
||
1894 | <OnLoad> |
||
1895 | this.index = "Backdrop"; |
||
1896 | this.subindex = "right"; |
||
1897 | this.updatepreview = true; |
||
1898 | DL_Set_Label(DART_TEXT.InsetRight); |
||
1899 | DL_Set_Anchor("_Tile", 0, -80); |
||
1900 | </OnLoad> |
||
1901 | </Scripts> |
||
1902 | </EditBox> |
||
1903 | <EditBox name="$parent_InsetTop" inherits="DART_EditBoxTemplate" frameStrata="HIGH"> |
||
1904 | <Size><AbsDimension x="100" y="20"/></Size> |
||
1905 | <Scripts> |
||
1906 | <OnLoad> |
||
1907 | this.index = "Backdrop"; |
||
1908 | this.subindex = "top"; |
||
1909 | this.updatepreview = true; |
||
1910 | DL_Set_Label(DART_TEXT.InsetTop); |
||
1911 | DL_Set_Anchor("_Tile", 0, -105); |
||
1912 | </OnLoad> |
||
1913 | </Scripts> |
||
1914 | </EditBox> |
||
1915 | <EditBox name="$parent_InsetBottom" inherits="DART_EditBoxTemplate" frameStrata="HIGH"> |
||
1916 | <Size><AbsDimension x="100" y="20"/></Size> |
||
1917 | <Scripts> |
||
1918 | <OnLoad> |
||
1919 | this.index = "Backdrop"; |
||
1920 | this.subindex = "bottom"; |
||
1921 | this.updatepreview = true; |
||
1922 | DL_Set_Label(DART_TEXT.InsetBottom); |
||
1923 | DL_Set_Anchor("_Tile", 0, -130); |
||
1924 | </OnLoad> |
||
1925 | </Scripts> |
||
1926 | </EditBox> |
||
1927 | <Slider name="$parent_Padding" inherits="DART_SliderTemplate" minValue="-10" maxValue="30" valueStep="1"> |
||
1928 | <Anchors> |
||
1929 | <Anchor point="TOPLEFT" relativeTo="$parent_BorderAlpha" relativePoint="BOTTOMLEFT"> |
||
1930 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
1931 | </Anchor> |
||
1932 | </Anchors> |
||
1933 | <Scripts> |
||
1934 | <OnLoad> |
||
1935 | this.index = "padding"; |
||
1936 | this.minlock = true; |
||
1937 | this.updatepreview = true; |
||
1938 | DL_Set_Label(DART_TEXT.Padding); |
||
1939 | </OnLoad> |
||
1940 | </Scripts> |
||
1941 | </Slider> |
||
1942 | </Frames> |
||
1943 | </Frame> |
||
1944 | |||
1945 | <Frame name="DART_TextOptions" parent="DART_MainTextureOptions" frameStrata="MEDIUM" hidden="true"> |
||
1946 | <Size><AbsDimension x="10" y="10"/></Size> |
||
1947 | <Anchors> |
||
1948 | <Anchor point="TOPLEFT"> |
||
1949 | <Offset><AbsDimension x="0" y="-195"/></Offset> |
||
1950 | </Anchor> |
||
1951 | <Anchor point="BOTTOMRIGHT"/> |
||
1952 | </Anchors> |
||
1953 | <Frames> |
||
1954 | <CheckButton name="$parent_HideText" inherits="DART_CheckBoxTemplate"> |
||
1955 | <Anchors> |
||
1956 | <Anchor point="TOPLEFT"> |
||
1957 | <Offset><AbsDimension x="15" y="-30"/></Offset> |
||
1958 | </Anchor> |
||
1959 | </Anchors> |
||
1960 | <Scripts> |
||
1961 | <OnLoad> |
||
1962 | this.index = "text"; |
||
1963 | this.subindex = "hide"; |
||
1964 | DL_Set_Label(DART_TEXT.HideText); |
||
1965 | </OnLoad> |
||
1966 | </Scripts> |
||
1967 | </CheckButton> |
||
1968 | <Button name="$parent_TextColor" inherits="DART_ColorPickerTemplate"> |
||
1969 | <Anchors> |
||
1970 | <Anchor point="TOPLEFT" relativeTo="$parent_HideText" relativePoint="BOTTOMLEFT"> |
||
1971 | <Offset><AbsDimension x="0" y="-5"/></Offset> |
||
1972 | </Anchor> |
||
1973 | </Anchors> |
||
1974 | <Scripts> |
||
1975 | <OnLoad> |
||
1976 | this.index = "text"; |
||
1977 | this.subindex = "color"; |
||
1978 | DL_Set_Label(DART_TEXT.TextColor); |
||
1979 | </OnLoad> |
||
1980 | </Scripts> |
||
1981 | </Button> |
||
1982 | |||
1983 | <EditBox name="$parent_Text" inherits="DART_EditBoxTemplate"> |
||
1984 | <Size><AbsDimension x="485" y="20"/></Size> |
||
1985 | <Scripts> |
||
1986 | <OnLoad> |
||
1987 | this.index = "text"; |
||
1988 | this.subindex = "text"; |
||
1989 | DL_Set_Label(DART_TEXT.Text); |
||
1990 | DL_Set_Anchor("", 15, -90, "TOPLEFT", "TOPLEFT"); |
||
1991 | </OnLoad> |
||
1992 | </Scripts> |
||
1993 | </EditBox> |
||
1994 | <EditBox name="$parent_Font" inherits="DART_EditBoxTemplate"> |
||
1995 | <Size><AbsDimension x="485" y="20"/></Size> |
||
1996 | <Scripts> |
||
1997 | <OnLoad> |
||
1998 | this.index = "font"; |
||
1999 | DL_Set_Label(DART_TEXT.Font); |
||
2000 | DL_Set_Anchor("", 15, -115, "TOPLEFT", "TOPLEFT"); |
||
2001 | </OnLoad> |
||
2002 | </Scripts> |
||
2003 | </EditBox> |
||
2004 | |||
2005 | <Slider name="$parent_TextHeight" inherits="DART_SliderTemplate" minValue="1" maxValue="300" valueStep="1"> |
||
2006 | <Anchors> |
||
2007 | <Anchor point="TOPRIGHT" relativePoint="TOP"> |
||
2008 | <Offset><AbsDimension x="-47" y="-165"/></Offset> |
||
2009 | </Anchor> |
||
2010 | </Anchors> |
||
2011 | <Scripts> |
||
2012 | <OnLoad> |
||
2013 | this.index = "text"; |
||
2014 | this.subindex = "height"; |
||
2015 | this.minlock = true; |
||
2016 | DL_Set_Label(DART_TEXT.TextHeight); |
||
2017 | </OnLoad> |
||
2018 | </Scripts> |
||
2019 | </Slider> |
||
2020 | <Slider name="$parent_TextWidth" inherits="DART_SliderTemplate" minValue="1" maxValue="300" valueStep="1"> |
||
2021 | <Anchors> |
||
2022 | <Anchor point="LEFT" relativeTo="$parent_TextHeight" relativePoint="RIGHT"> |
||
2023 | <Offset><AbsDimension x="50" y="0"/></Offset> |
||
2024 | </Anchor> |
||
2025 | </Anchors> |
||
2026 | <Scripts> |
||
2027 | <OnLoad> |
||
2028 | this.index = "text"; |
||
2029 | this.subindex = "width"; |
||
2030 | this.minlock = true; |
||
2031 | DL_Set_Label(DART_TEXT.TextWidth); |
||
2032 | </OnLoad> |
||
2033 | </Scripts> |
||
2034 | </Slider> |
||
2035 | <Slider name="$parent_TextAlpha" inherits="DART_SliderTemplate" minValue="0" maxValue="100" valueStep="1"> |
||
2036 | <Anchors> |
||
2037 | <Anchor point="TOPLEFT" relativeTo="$parent_TextHeight" relativePoint="BOTTOMLEFT"> |
||
2038 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
2039 | </Anchor> |
||
2040 | </Anchors> |
||
2041 | <Scripts> |
||
2042 | <OnLoad> |
||
2043 | this.index = "text"; |
||
2044 | this.subindex = "alpha"; |
||
2045 | this.minlock = true; |
||
2046 | this.maxlock = true; |
||
2047 | this.scale = 100; |
||
2048 | DL_Set_Label(DART_TEXT.TextAlpha); |
||
2049 | </OnLoad> |
||
2050 | </Scripts> |
||
2051 | </Slider> |
||
2052 | <Slider name="$parent_FontSize" inherits="DART_SliderTemplate" minValue="1" maxValue="30" valueStep=".5"> |
||
2053 | <Anchors> |
||
2054 | <Anchor point="LEFT" relativeTo="$parent_TextAlpha" relativePoint="RIGHT"> |
||
2055 | <Offset><AbsDimension x="50" y="0"/></Offset> |
||
2056 | </Anchor> |
||
2057 | </Anchors> |
||
2058 | <Scripts> |
||
2059 | <OnLoad> |
||
2060 | this.index = "text"; |
||
2061 | this.subindex = "fontsize"; |
||
2062 | this.minlock = true; |
||
2063 | DL_Set_Label(DART_TEXT.FontSize); |
||
2064 | </OnLoad> |
||
2065 | </Scripts> |
||
2066 | </Slider> |
||
2067 | |||
2068 | <Button name="$parent_JustifyH" inherits="DiscordLib_MenuControlTemplate"> |
||
2069 | <Size><AbsDimension x="120" y="24"/></Size> |
||
2070 | <Scripts> |
||
2071 | <OnLoad> |
||
2072 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
2073 | this.menu = "DART_DropMenu"; |
||
2074 | this.table = "DART_JUSTIFY_H"; |
||
2075 | this.index = "text"; |
||
2076 | this.subindex = "justifyH"; |
||
2077 | DL_Set_Label(DART_TEXT.JustifyH); |
||
2078 | DL_Set_Anchor("", 0, -250, "TOP", "TOP", 1); |
||
2079 | </OnLoad> |
||
2080 | </Scripts> |
||
2081 | </Button> |
||
2082 | <Button name="$parent_JustifyV" inherits="DiscordLib_MenuControlTemplate"> |
||
2083 | <Size><AbsDimension x="120" y="24"/></Size> |
||
2084 | <Scripts> |
||
2085 | <OnLoad> |
||
2086 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
2087 | this.menu = "DART_DropMenu"; |
||
2088 | this.table = "DART_JUSTIFY_V"; |
||
2089 | this.index = "text"; |
||
2090 | this.subindex = "justifyV"; |
||
2091 | DL_Set_Label(DART_TEXT.JustifyV); |
||
2092 | DL_Set_Anchor("", 0, -280, "TOP", "TOP", 1); |
||
2093 | </OnLoad> |
||
2094 | </Scripts> |
||
2095 | </Button> |
||
2096 | <Button name="$parent_DrawLayer" inherits="DiscordLib_MenuControlTemplate"> |
||
2097 | <Size><AbsDimension x="115" y="22"/></Size> |
||
2098 | <Scripts> |
||
2099 | <OnLoad> |
||
2100 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
2101 | this.menu = "DART_DropMenu"; |
||
2102 | this.table = "DL_DRAWLAYERS"; |
||
2103 | this.index = "text"; |
||
2104 | this.subindex = "drawlayer"; |
||
2105 | DL_Set_Label(DART_TEXT.DrawLayer); |
||
2106 | DL_Set_Anchor("", 0, -310, "TOP", "TOP", 1); |
||
2107 | </OnLoad> |
||
2108 | </Scripts> |
||
2109 | </Button> |
||
2110 | </Frames> |
||
2111 | </Frame> |
||
2112 | |||
2113 | <Frame name="DART_ControlOptions" parent="DART_MainTextureOptions" frameStrata="MEDIUM" hidden="true"> |
||
2114 | <Size><AbsDimension x="10" y="10"/></Size> |
||
2115 | <Anchors> |
||
2116 | <Anchor point="TOPLEFT"> |
||
2117 | <Offset><AbsDimension x="0" y="-195"/></Offset> |
||
2118 | </Anchor> |
||
2119 | <Anchor point="BOTTOMRIGHT"/> |
||
2120 | </Anchors> |
||
2121 | <Frames> |
||
2122 | <ScrollFrame name="$parent_ConditionMenu" inherits="DL_ScrollFrameTemplate"> |
||
2123 | <Size><AbsDimension x="300" y="290"/></Size> |
||
2124 | <Anchors> |
||
2125 | <Anchor point="TOPLEFT"> |
||
2126 | <Offset><AbsDimension x="15" y="-60"/></Offset> |
||
2127 | </Anchor> |
||
2128 | </Anchors> |
||
2129 | <Scripts> |
||
2130 | <OnLoad> |
||
2131 | getglobal(this:GetName().."_OuterBorder_Header"):SetText(DART_TEXT.Conditions); |
||
2132 | </OnLoad> |
||
2133 | <OnVerticalScroll> |
||
2134 | FauxScrollFrame_OnVerticalScroll(40, DART_ConditionMenu_Update); |
||
2135 | </OnVerticalScroll> |
||
2136 | </Scripts> |
||
2137 | </ScrollFrame> |
||
2138 | <CheckButton name="$parent_ConditionMenu_Button1" inherits="DART_ConditionButtonTemplate" id="1"> |
||
2139 | <Anchors> |
||
2140 | <Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu"> |
||
2141 | <Offset><AbsDimension x="5" y="-5"/></Offset> |
||
2142 | </Anchor> |
||
2143 | </Anchors> |
||
2144 | </CheckButton> |
||
2145 | <CheckButton name="$parent_ConditionMenu_Button2" inherits="DART_ConditionButtonTemplate" id="2"/> |
||
2146 | <CheckButton name="$parent_ConditionMenu_Button3" inherits="DART_ConditionButtonTemplate" id="3"/> |
||
2147 | <CheckButton name="$parent_ConditionMenu_Button4" inherits="DART_ConditionButtonTemplate" id="4"/> |
||
2148 | <CheckButton name="$parent_ConditionMenu_Button5" inherits="DART_ConditionButtonTemplate" id="5"/> |
||
2149 | <CheckButton name="$parent_ConditionMenu_Button6" inherits="DART_ConditionButtonTemplate" id="6"/> |
||
2150 | <CheckButton name="$parent_ConditionMenu_Button7" inherits="DART_ConditionButtonTemplate" id="7"/> |
||
2151 | |||
2152 | <Button inherits="DART_MainMenuButton" text="DL_COPYTEXT" frameStrata="DIALOG"> |
||
2153 | <Size><AbsDimension x="100" y="22"/></Size> |
||
2154 | <Anchors> |
||
2155 | <Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu" relativePoint="TOPLEFT"> |
||
2156 | <Offset><AbsDimension x="0" y="26"/></Offset> |
||
2157 | </Anchor> |
||
2158 | </Anchors> |
||
2159 | <Scripts> |
||
2160 | <OnClick> |
||
2161 | DART_Copy_ControlSettings(); |
||
2162 | </OnClick> |
||
2163 | </Scripts> |
||
2164 | </Button> |
||
2165 | <Button inherits="DART_MainMenuButton" text="DL_PASTETEXT" frameStrata="DIALOG"> |
||
2166 | <Size><AbsDimension x="100" y="22"/></Size> |
||
2167 | <Anchors> |
||
2168 | <Anchor point="TOPRIGHT" relativeTo="$parent_ConditionMenu" relativePoint="TOPRIGHT"> |
||
2169 | <Offset><AbsDimension x="27" y="26"/></Offset> |
||
2170 | </Anchor> |
||
2171 | </Anchors> |
||
2172 | <Scripts> |
||
2173 | <OnClick> |
||
2174 | DART_Paste_ControlSettings(); |
||
2175 | </OnClick> |
||
2176 | </Scripts> |
||
2177 | </Button> |
||
2178 | |||
2179 | <Button name="$parent_Condition" inherits="DiscordLib_MenuControlTemplate"> |
||
2180 | <Size><AbsDimension x="200" y="22"/></Size> |
||
2181 | <Anchors> |
||
2182 | <Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu" relativePoint="TOPRIGHT"> |
||
2183 | <Offset><AbsDimension x="35" y="15"/></Offset> |
||
2184 | </Anchor> |
||
2185 | </Anchors> |
||
2186 | <Scripts> |
||
2187 | <OnLoad> |
||
2188 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
2189 | this.menu = "DART_ScrollMenu"; |
||
2190 | this.table = "DL_CONDITIONS_MENU"; |
||
2191 | DL_Set_Label(DART_TEXT.ChooseCondition); |
||
2192 | </OnLoad> |
||
2193 | </Scripts> |
||
2194 | </Button> |
||
2195 | <Button name="$parent_ActionID" inherits="DiscordLib_MenuControlTemplate" hidden="true"> |
||
2196 | <Size><AbsDimension x="150" y="22"/></Size> |
||
2197 | <Scripts> |
||
2198 | <OnLoad> |
||
2199 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
2200 | this.menu = "DART_ScrollMenu"; |
||
2201 | this.table = "DL_ACTIONS"; |
||
2202 | this.index = "CONDITION"; |
||
2203 | this.subindex = "action"; |
||
2204 | DL_Set_Label(DART_TEXT.Action); |
||
2205 | DL_Set_Anchor("_Condition", 0, -15); |
||
2206 | </OnLoad> |
||
2207 | </Scripts> |
||
2208 | </Button> |
||
2209 | <CheckButton name="$parent_IgnoreGlobal" inherits="DART_CheckBoxTemplate" hidden="true"> |
||
2210 | <Anchors> |
||
2211 | <Anchor point="TOPLEFT" relativeTo="$parent_Condition" relativePoint="BOTTOMLEFT"> |
||
2212 | <Offset><AbsDimension x="0" y="-42"/></Offset> |
||
2213 | </Anchor> |
||
2214 | </Anchors> |
||
2215 | <Scripts> |
||
2216 | <OnLoad> |
||
2217 | this.index = "CONDITION"; |
||
2218 | this.subindex = "ignoreGlobal"; |
||
2219 | DL_Set_Label(DART_TEXT.IgnoreGlobal); |
||
2220 | </OnLoad> |
||
2221 | </Scripts> |
||
2222 | </CheckButton> |
||
2223 | <Frame name="$parent_Unit" inherits="DiscordLib_EditMenuControlTemplate" hidden="true"> |
||
2224 | <Size><AbsDimension x="125" y="22"/></Size> |
||
2225 | <Scripts> |
||
2226 | <OnLoad> |
||
2227 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
2228 | this.menu = "DART_ScrollMenu"; |
||
2229 | this.table = "DL_UNITS_LIST"; |
||
2230 | this.editFunc = DART_UnitEditBox_OnEnterPressed; |
||
2231 | this.index = "CONDITION"; |
||
2232 | this.subindex = "unit"; |
||
2233 | DL_Set_Label(DART_TEXT.Unit); |
||
2234 | DL_Set_Anchor("_Condition", 0, -15); |
||
2235 | </OnLoad> |
||
2236 | </Scripts> |
||
2237 | </Frame> |
||
2238 | <Frame name="$parent_Unit2" inherits="DiscordLib_EditMenuControlTemplate" hidden="true"> |
||
2239 | <Size><AbsDimension x="125" y="22"/></Size> |
||
2240 | <Scripts> |
||
2241 | <OnLoad> |
||
2242 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
2243 | this.menu = "DART_ScrollMenu"; |
||
2244 | this.table = "DL_UNITS_LIST"; |
||
2245 | this.editFunc = DART_UnitEditBox_OnEnterPressed; |
||
2246 | this.index = "CONDITION"; |
||
2247 | this.subindex = "unit2"; |
||
2248 | this.settingType = 0; |
||
2249 | DL_Set_Label(DART_TEXT.Unit); |
||
2250 | DL_Set_Anchor("_Condition", 0, -40); |
||
2251 | </OnLoad> |
||
2252 | </Scripts> |
||
2253 | </Frame> |
||
2254 | <EditBox name="$parent_Buff" inherits="DART_EditBoxTemplate" hidden="true"> |
||
2255 | <Size><AbsDimension x="120" y="24"/></Size> |
||
2256 | <Scripts> |
||
2257 | <OnLoad> |
||
2258 | this.index = "CONDITION"; |
||
2259 | this.subindex = "buff"; |
||
2260 | DL_Set_Label(DART_TEXT.BuffName); |
||
2261 | DL_Set_Anchor("_Condition", 0, -40); |
||
2262 | </OnLoad> |
||
2263 | </Scripts> |
||
2264 | </EditBox> |
||
2265 | <EditBox name="$parent_Text" inherits="DART_EditBoxTemplate" hidden="true"> |
||
2266 | <Size><AbsDimension x="150" y="24"/></Size> |
||
2267 | <Scripts> |
||
2268 | <OnLoad> |
||
2269 | this.index = "CONDITION"; |
||
2270 | this.subindex = "text"; |
||
2271 | this.settingType = 0; |
||
2272 | DL_Set_Label(DART_TEXT.Text); |
||
2273 | DL_Set_Anchor("_Condition", 0, -40); |
||
2274 | </OnLoad> |
||
2275 | </Scripts> |
||
2276 | </EditBox> |
||
2277 | <Button name="$parent_Comparison" inherits="DiscordLib_MenuControlTemplate" hidden="true"> |
||
2278 | <Size><AbsDimension x="50" y="22"/></Size> |
||
2279 | <Scripts> |
||
2280 | <OnLoad> |
||
2281 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
2282 | this.menu = "DART_DropMenu"; |
||
2283 | this.table = "DL_COMPARE_MENU"; |
||
2284 | this.index = "CONDITION"; |
||
2285 | this.subindex = "compare"; |
||
2286 | this.settingType = 0; |
||
2287 | DL_Set_Label(DART_TEXT.Comparison); |
||
2288 | </OnLoad> |
||
2289 | </Scripts> |
||
2290 | </Button> |
||
2291 | <EditBox name="$parent_Number" inherits="DART_EditBoxTemplate" hidden="true"> |
||
2292 | <Size><AbsDimension x="100" y="24"/></Size> |
||
2293 | <Scripts> |
||
2294 | <OnLoad> |
||
2295 | this.index = "CONDITION"; |
||
2296 | this.subindex = "number"; |
||
2297 | this.number = true; |
||
2298 | this.settingType = 0; |
||
2299 | DL_Set_Label(DART_TEXT.Number); |
||
2300 | </OnLoad> |
||
2301 | </Scripts> |
||
2302 | </EditBox> |
||
2303 | <Button name="$parent_Forms" inherits="DiscordLib_MenuControlTemplate" hidden="true"> |
||
2304 | <Size><AbsDimension x="150" y="22"/></Size> |
||
2305 | <Scripts> |
||
2306 | <OnLoad> |
||
2307 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
2308 | this.menu = "DART_DropMenu"; |
||
2309 | this.table = "DL_FORMS"; |
||
2310 | this.index = "CONDITION"; |
||
2311 | this.subindex = "form"; |
||
2312 | this.settingType = 0; |
||
2313 | DL_Set_Label(DART_TEXT.Form); |
||
2314 | DL_Set_Anchor("_Condition", 0, -15); |
||
2315 | </OnLoad> |
||
2316 | </Scripts> |
||
2317 | </Button> |
||
2318 | <Button name="$parent_Targets" inherits="DiscordLib_MenuControlTemplate" hidden="true"> |
||
2319 | <Size><AbsDimension x="150" y="22"/></Size> |
||
2320 | <Scripts> |
||
2321 | <OnLoad> |
||
2322 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
2323 | this.menu = "DART_DropMenu"; |
||
2324 | this.table = "DL_TARGET_PARAMS"; |
||
2325 | this.index = "CONDITION"; |
||
2326 | this.subindex = "target"; |
||
2327 | this.settingType = 0; |
||
2328 | DL_Set_Label(DART_TEXT.Type); |
||
2329 | DL_Set_Anchor("_Condition", 0, -15); |
||
2330 | </OnLoad> |
||
2331 | </Scripts> |
||
2332 | </Button> |
||
2333 | |||
2334 | <Button name="$parent_Response" inherits="DiscordLib_MenuControlTemplate"> |
||
2335 | <Size><AbsDimension x="200" y="22"/></Size> |
||
2336 | <Anchors> |
||
2337 | <Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu" relativePoint="TOPRIGHT"> |
||
2338 | <Offset><AbsDimension x="35" y="-120"/></Offset> |
||
2339 | </Anchor> |
||
2340 | </Anchors> |
||
2341 | <Scripts> |
||
2342 | <OnLoad> |
||
2343 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
2344 | this.menu = "DART_ScrollMenu"; |
||
2345 | this.table = "DART_RESPONSES"; |
||
2346 | this.initFunc = DART_Select_Response; |
||
2347 | DL_Set_Label(DART_TEXT.ChooseResponse); |
||
2348 | </OnLoad> |
||
2349 | </Scripts> |
||
2350 | </Button> |
||
2351 | <Button name="$parent_ResponseTexture" inherits="DiscordLib_MenuControlTemplate" hidden="true"> |
||
2352 | <Size><AbsDimension x="130" y="22"/></Size> |
||
2353 | <Scripts> |
||
2354 | <OnLoad> |
||
2355 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
2356 | this.menu = "DART_ScrollMenu"; |
||
2357 | this.table = "DART_TEXTURE_LIST"; |
||
2358 | this.index = "CONDITION"; |
||
2359 | this.subindex = "texture"; |
||
2360 | DL_Set_Label(DART_TEXT.Texture); |
||
2361 | DL_Set_Anchor("_Response", 0, -15); |
||
2362 | </OnLoad> |
||
2363 | </Scripts> |
||
2364 | </Button> |
||
2365 | <Slider name="$parent_Amount" inherits="DART_SliderTemplate" minValue="1" maxValue="100" valueStep="1" hidden="true"> |
||
2366 | <Anchors> |
||
2367 | <Anchor point="TOPLEFT" relativeTo="$parent_Response" relativePoint="BOTTOMLEFT"> |
||
2368 | <Offset><AbsDimension x="0" y="-45"/></Offset> |
||
2369 | </Anchor> |
||
2370 | </Anchors> |
||
2371 | <Scripts> |
||
2372 | <OnLoad> |
||
2373 | this.index = "CONDITION"; |
||
2374 | this.subindex = "amount"; |
||
2375 | this.minlock = true; |
||
2376 | DL_Set_Label(DART_TEXT.Amount); |
||
2377 | </OnLoad> |
||
2378 | </Scripts> |
||
2379 | </Slider> |
||
2380 | <Slider name="$parent_Alpha" inherits="DART_SliderTemplate" minValue="0" maxValue="100" valueStep="1" hidden="true"> |
||
2381 | <Anchors> |
||
2382 | <Anchor point="TOPLEFT" relativeTo="$parent_Response" relativePoint="BOTTOMLEFT"> |
||
2383 | <Offset><AbsDimension x="0" y="-45"/></Offset> |
||
2384 | </Anchor> |
||
2385 | </Anchors> |
||
2386 | <Scripts> |
||
2387 | <OnLoad> |
||
2388 | this.index = "CONDITION"; |
||
2389 | this.subindex = "alpha"; |
||
2390 | this.minlock = true; |
||
2391 | this.maxlock = true; |
||
2392 | this.scale = 100; |
||
2393 | DL_Set_Label(DART_TEXT.Alpha); |
||
2394 | </OnLoad> |
||
2395 | </Scripts> |
||
2396 | </Slider> |
||
2397 | <EditBox name="$parent_ResponseX" inherits="DART_EditBoxTemplate" hidden="true"> |
||
2398 | <Size><AbsDimension x="100" y="24"/></Size> |
||
2399 | <Scripts> |
||
2400 | <OnLoad> |
||
2401 | this.index = "CONDITION"; |
||
2402 | this.subindex = "rx"; |
||
2403 | this.number = true; |
||
2404 | DL_Set_Label("X:"); |
||
2405 | DL_Set_Anchor("_Response", 0, -15); |
||
2406 | </OnLoad> |
||
2407 | </Scripts> |
||
2408 | </EditBox> |
||
2409 | <EditBox name="$parent_ResponseY" inherits="DART_EditBoxTemplate" hidden="true"> |
||
2410 | <Size><AbsDimension x="100" y="24"/></Size> |
||
2411 | <Scripts> |
||
2412 | <OnLoad> |
||
2413 | this.index = "CONDITION"; |
||
2414 | this.subindex = "ry"; |
||
2415 | this.number = true; |
||
2416 | DL_Set_Label("Y:"); |
||
2417 | DL_Set_Anchor("_Response", 0, -40); |
||
2418 | </OnLoad> |
||
2419 | </Scripts> |
||
2420 | </EditBox> |
||
2421 | <Button name="$parent_Color" inherits="DART_ColorPickerTemplate" hidden="true"> |
||
2422 | <Anchors> |
||
2423 | <Anchor point="TOPLEFT" relativeTo="$parent_Response" relativePoint="BOTTOMLEFT"> |
||
2424 | <Offset><AbsDimension x="0" y="-15"/></Offset> |
||
2425 | </Anchor> |
||
2426 | </Anchors> |
||
2427 | <Scripts> |
||
2428 | <OnLoad> |
||
2429 | this.index = "CONDITION" |
||
2430 | this.subindex = "color"; |
||
2431 | DL_Set_Label(DART_TEXT.Color); |
||
2432 | </OnLoad> |
||
2433 | </Scripts> |
||
2434 | </Button> |
||
2435 | <EditBox name="$parent_ResponseText" inherits="DART_EditBoxTemplate" hidden="true"> |
||
2436 | <Size><AbsDimension x="150" y="24"/></Size> |
||
2437 | <Scripts> |
||
2438 | <OnLoad> |
||
2439 | this.index = "CONDITION"; |
||
2440 | this.subindex = "rtext"; |
||
2441 | DL_Set_Label(DART_TEXT.Text); |
||
2442 | DL_Set_Anchor("_Response", 0, -15); |
||
2443 | </OnLoad> |
||
2444 | </Scripts> |
||
2445 | </EditBox> |
||
2446 | |||
2447 | <EditBox name="$parent_Overrides" inherits="DART_EditBoxTemplate"> |
||
2448 | <Size><AbsDimension x="100" y="24"/></Size> |
||
2449 | <Scripts> |
||
2450 | <OnLoad> |
||
2451 | this.index = "CONDITION"; |
||
2452 | this.subindex = "overrides"; |
||
2453 | this.settingType = 0; |
||
2454 | DL_Set_Label(DART_TEXT.Overrides); |
||
2455 | DL_Set_Anchor("_ConditionMenu", 35, -255, "TOPLEFT", "TOPRIGHT"); |
||
2456 | </OnLoad> |
||
2457 | </Scripts> |
||
2458 | </EditBox> |
||
2459 | <Button name="$parent_AddCondition" inherits="DART_MainMenuButton"> |
||
2460 | <Anchors> |
||
2461 | <Anchor point="BOTTOM" relativePoint="BOTTOMRIGHT"> |
||
2462 | <Offset><AbsDimension x="-110" y="95"/></Offset> |
||
2463 | </Anchor> |
||
2464 | </Anchors> |
||
2465 | <Scripts> |
||
2466 | <OnLoad> |
||
2467 | this:SetText(DART_TEXT.AddCondition); |
||
2468 | </OnLoad> |
||
2469 | <OnClick> |
||
2470 | DART_Add_Condition(); |
||
2471 | </OnClick> |
||
2472 | </Scripts> |
||
2473 | </Button> |
||
2474 | </Frames> |
||
2475 | <Layers> |
||
2476 | <Layer level="OVERLAY"> |
||
2477 | <FontString name="$parent_ParamLabel" inherits="GameFontNormal"> |
||
2478 | <Anchors> |
||
2479 | <Anchor point="TOPLEFT"> |
||
2480 | <Offset><AbsDimension x="345" y="-67"/></Offset> |
||
2481 | </Anchor> |
||
2482 | </Anchors> |
||
2483 | </FontString> |
||
2484 | <FontString name="$parent_ResponseLabel" inherits="GameFontNormal"> |
||
2485 | <Anchors> |
||
2486 | <Anchor point="TOPLEFT"> |
||
2487 | <Offset><AbsDimension x="345" y="-202"/></Offset> |
||
2488 | </Anchor> |
||
2489 | </Anchors> |
||
2490 | </FontString> |
||
2491 | </Layer> |
||
2492 | </Layers> |
||
2493 | </Frame> |
||
2494 | |||
2495 | </Ui> |