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