vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/ |
2 | ..\FrameXML\UI.xsd"> |
||
3 | |||
4 | <CheckButton name="DAB_FloaterTabButtonTemplate" inherits="DL_TabButtonTemplate" virtual="true"> |
||
5 | <Size><AbsDimension x="195" y="20"/></Size> |
||
6 | </CheckButton> |
||
7 | |||
8 | <Frame name="DAB_FloaterOptions" hidden="true" parent="DAB_Options" frameStrata="MEDIUM"> |
||
9 | <Size><AbsDimension x="10" y="10"/></Size> |
||
10 | <Anchors> |
||
11 | <Anchor point="TOPLEFT" relativeTo="DAB_Options_BarBrowser_OuterBorder" relativePoint="TOPRIGHT"> |
||
12 | <Offset><AbsDimension x="5" y="-5"/></Offset> |
||
13 | </Anchor> |
||
14 | <Anchor point="BOTTOMRIGHT"/> |
||
15 | </Anchors> |
||
16 | <Frames> |
||
17 | <CheckButton name="$parent_ConfigTab" inherits="DAB_FloaterTabButtonTemplate" id="1"> |
||
18 | <Anchors> |
||
19 | <Anchor point="TOPLEFT"> |
||
20 | <Offset><AbsDimension x="0" y="-22"/></Offset> |
||
21 | </Anchor> |
||
22 | </Anchors> |
||
23 | <Scripts> |
||
24 | <OnLoad> |
||
25 | DL_Init_TabButton(DAB_TEXT.Config, "DAB_FLOATER_OPTIONS", DAB_Select_FloaterOptions, 1); |
||
26 | </OnLoad> |
||
27 | </Scripts> |
||
28 | </CheckButton> |
||
29 | <CheckButton name="$parent_AdvConfigTab" inherits="DAB_FloaterTabButtonTemplate" id="2"> |
||
30 | <Anchors> |
||
31 | <Anchor point="LEFT" relativeTo="$parent_ConfigTab" relativePoint="RIGHT"> |
||
32 | <Offset><AbsDimension x="2" y="0"/></Offset> |
||
33 | </Anchor> |
||
34 | </Anchors> |
||
35 | <Scripts> |
||
36 | <OnLoad> |
||
37 | DL_Init_TabButton(DAB_TEXT.AdvConfig, "DAB_FLOATER_OPTIONS", DAB_Select_FloaterOptions); |
||
38 | </OnLoad> |
||
39 | </Scripts> |
||
40 | </CheckButton> |
||
41 | <CheckButton name="$parent_ControlTab" inherits="DAB_FloaterTabButtonTemplate" id="3"> |
||
42 | <Anchors> |
||
43 | <Anchor point="TOP" relativeTo="$parent_ConfigTab" relativePoint="BOTTOM"> |
||
44 | <Offset><AbsDimension x="0" y="-2"/></Offset> |
||
45 | </Anchor> |
||
46 | </Anchors> |
||
47 | <Scripts> |
||
48 | <OnLoad> |
||
49 | DL_Init_TabButton(DAB_TEXT.Control, "DAB_FLOATER_OPTIONS", DAB_Select_FloaterOptions); |
||
50 | </OnLoad> |
||
51 | </Scripts> |
||
52 | </CheckButton> |
||
53 | <CheckButton name="$parent_ScriptsTab" inherits="DAB_FloaterTabButtonTemplate" id="4"> |
||
54 | <Anchors> |
||
55 | <Anchor point="LEFT" relativeTo="$parent_ControlTab" relativePoint="RIGHT"> |
||
56 | <Offset><AbsDimension x="2" y="0"/></Offset> |
||
57 | </Anchor> |
||
58 | </Anchors> |
||
59 | <Scripts> |
||
60 | <OnLoad> |
||
61 | DL_Init_TabButton(DAB_TEXT.Scripts, "DAB_FLOATER_OPTIONS", DAB_Select_FloaterOptions); |
||
62 | </OnLoad> |
||
63 | </Scripts> |
||
64 | </CheckButton> |
||
65 | </Frames> |
||
66 | <Scripts> |
||
67 | <OnLoad> |
||
68 | this:EnableMouseWheel(1); |
||
69 | </OnLoad> |
||
70 | <OnMouseWheel> |
||
71 | DAB_FloaterOptions_OnMouseWheel(arg1); |
||
72 | </OnMouseWheel> |
||
73 | </Scripts> |
||
74 | </Frame> |
||
75 | |||
76 | <Frame name="DAB_FloaterOptions_Config" hidden="false" parent="DAB_FloaterOptions" frameStrata="MEDIUM"> |
||
77 | <Size><AbsDimension x="10" y="10"/></Size> |
||
78 | <Anchors> |
||
79 | <Anchor point="TOPLEFT"> |
||
80 | <Offset><AbsDimension x="0" y="-190"/></Offset> |
||
81 | </Anchor> |
||
82 | </Anchors> |
||
83 | <Frames> |
||
84 | <CheckButton name="$parent_Hide" inherits="DAB_CheckBoxTemplate"> |
||
85 | <Anchors> |
||
86 | <Anchor point="TOPLEFT"/> |
||
87 | </Anchors> |
||
88 | <Scripts> |
||
89 | <OnLoad> |
||
90 | this.index = "hide"; |
||
91 | DL_Set_Label(DAB_TEXT.Hide); |
||
92 | </OnLoad> |
||
93 | </Scripts> |
||
94 | </CheckButton> |
||
95 | <CheckButton name="$parent_HideOnClick" inherits="DAB_CheckBoxTemplate"> |
||
96 | <Anchors> |
||
97 | <Anchor point="TOPLEFT" relativeTo="$parent_Hide" relativePoint="BOTTOMLEFT"> |
||
98 | <Offset><AbsDimension x="0" y="3"/></Offset> |
||
99 | </Anchor> |
||
100 | </Anchors> |
||
101 | <Scripts> |
||
102 | <OnLoad> |
||
103 | this.index = "hideonclick"; |
||
104 | DL_Set_Label(DAB_TEXT.HideOnClick); |
||
105 | </OnLoad> |
||
106 | </Scripts> |
||
107 | </CheckButton> |
||
108 | <CheckButton name="$parent_DisableTooltip" inherits="DAB_CheckBoxTemplate"> |
||
109 | <Anchors> |
||
110 | <Anchor point="TOPLEFT" relativeTo="$parent_HideOnClick" relativePoint="BOTTOMLEFT"> |
||
111 | <Offset><AbsDimension x="0" y="3"/></Offset> |
||
112 | </Anchor> |
||
113 | </Anchors> |
||
114 | <Scripts> |
||
115 | <OnLoad> |
||
116 | this.index = "disableTooltip"; |
||
117 | this.settingType = 0; |
||
118 | DL_Set_Label(DAB_TEXT.DisableTooltip); |
||
119 | </OnLoad> |
||
120 | </Scripts> |
||
121 | </CheckButton> |
||
122 | <CheckButton name="$parent_AutoAttack" inherits="DAB_CheckBoxTemplate"> |
||
123 | <Anchors> |
||
124 | <Anchor point="TOPLEFT" relativeTo="$parent_DisableTooltip" relativePoint="BOTTOMLEFT"> |
||
125 | <Offset><AbsDimension x="0" y="3"/></Offset> |
||
126 | </Anchor> |
||
127 | </Anchors> |
||
128 | <Scripts> |
||
129 | <OnLoad> |
||
130 | this.index = "autoAttack"; |
||
131 | this.settingType = 0; |
||
132 | DL_Set_Label(DAB_TEXT.AutoAttack); |
||
133 | </OnLoad> |
||
134 | </Scripts> |
||
135 | </CheckButton> |
||
136 | <CheckButton name="$parent_PetAutoAttack" inherits="DAB_CheckBoxTemplate"> |
||
137 | <Anchors> |
||
138 | <Anchor point="TOPLEFT" relativeTo="$parent_AutoAttack" relativePoint="BOTTOMLEFT"> |
||
139 | <Offset><AbsDimension x="0" y="3"/></Offset> |
||
140 | </Anchor> |
||
141 | </Anchors> |
||
142 | <Scripts> |
||
143 | <OnLoad> |
||
144 | this.index = "petAutoAttack"; |
||
145 | this.settingType = 0; |
||
146 | DL_Set_Label(DAB_TEXT.PetAutoAttack); |
||
147 | </OnLoad> |
||
148 | </Scripts> |
||
149 | </CheckButton> |
||
150 | <CheckButton name="$parent_CooldownCount" inherits="DAB_CheckBoxTemplate"> |
||
151 | <Anchors> |
||
152 | <Anchor point="TOPLEFT"> |
||
153 | <Offset><AbsDimension x="190" y="0"/></Offset> |
||
154 | </Anchor> |
||
155 | </Anchors> |
||
156 | <Scripts> |
||
157 | <OnLoad> |
||
158 | this.index = "cooldownCount"; |
||
159 | this.settingType = 0; |
||
160 | DL_Set_Label(DAB_TEXT.ShowCooldownCount); |
||
161 | </OnLoad> |
||
162 | </Scripts> |
||
163 | </CheckButton> |
||
164 | <CheckButton name="$parent_HideGlobalCooldown" inherits="DAB_CheckBoxTemplate"> |
||
165 | <Anchors> |
||
166 | <Anchor point="TOPLEFT" relativeTo="$parent_CooldownCount" relativePoint="BOTTOMLEFT"> |
||
167 | <Offset><AbsDimension x="20" y="3"/></Offset> |
||
168 | </Anchor> |
||
169 | </Anchors> |
||
170 | <Scripts> |
||
171 | <OnLoad> |
||
172 | this.index = "hideGlobalCD"; |
||
173 | this.settingType = 0; |
||
174 | DL_Set_Label(DAB_TEXT.HideGlobalCooldownCount); |
||
175 | </OnLoad> |
||
176 | </Scripts> |
||
177 | </CheckButton> |
||
178 | <CheckButton name="$parent_LockButton" inherits="DAB_CheckBoxTemplate"> |
||
179 | <Anchors> |
||
180 | <Anchor point="TOPLEFT" relativeTo="$parent_CooldownCount" relativePoint="BOTTOMLEFT"> |
||
181 | <Offset><AbsDimension x="0" y="-19"/></Offset> |
||
182 | </Anchor> |
||
183 | </Anchors> |
||
184 | <Scripts> |
||
185 | <OnLoad> |
||
186 | this.index = "buttonLocked"; |
||
187 | this.settingType = 0; |
||
188 | DL_Set_Label(DAB_TEXT.LockButton); |
||
189 | </OnLoad> |
||
190 | </Scripts> |
||
191 | </CheckButton> |
||
192 | |||
193 | <Slider name="$parent_Size" inherits="DAB_SliderTemplate" minValue="1" maxValue="100" valueStep="1"> |
||
194 | <Anchors> |
||
195 | <Anchor point="TOPLEFT" relativeTo="$parent_PetAutoAttack" relativePoint="BOTTOMLEFT"> |
||
196 | <Offset><AbsDimension x="0" y="-25"/></Offset> |
||
197 | </Anchor> |
||
198 | </Anchors> |
||
199 | <Scripts> |
||
200 | <OnLoad> |
||
201 | this.index = "size"; |
||
202 | this.minlock = true; |
||
203 | DL_Set_Label(DAB_TEXT.ButtonSize); |
||
204 | </OnLoad> |
||
205 | </Scripts> |
||
206 | </Slider> |
||
207 | <Slider name="$parent_Alpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100" valueStep="1"> |
||
208 | <Anchors> |
||
209 | <Anchor point="TOPLEFT" relativeTo="$parent_Size" relativePoint="BOTTOMLEFT"> |
||
210 | <Offset><AbsDimension x="0" y="-20"/></Offset> |
||
211 | </Anchor> |
||
212 | </Anchors> |
||
213 | <Scripts> |
||
214 | <OnLoad> |
||
215 | this.index = "alpha"; |
||
216 | this.minlock = true; |
||
217 | this.maxlock = true; |
||
218 | this.scale = 100; |
||
219 | DL_Set_Label(DAB_TEXT.ButtonAlpha); |
||
220 | </OnLoad> |
||
221 | </Scripts> |
||
222 | </Slider> |
||
223 | |||
224 | <Frame name="$parent_AnchorFrame" inherits="DiscordLib_EditMenuControlTemplate"> |
||
225 | <Size><AbsDimension x="125" y="22"/></Size> |
||
226 | <Scripts> |
||
227 | <OnLoad> |
||
228 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
229 | this.menu = "DAB_ScrollMenu"; |
||
230 | this.table = "DL_ANCHOR_FRAMES"; |
||
231 | this.editFunc = DAB_AnchorFrameEditBox_OnEnterPressed; |
||
232 | this.index = "Anchor"; |
||
233 | this.subindex = "frame"; |
||
234 | DL_Set_Label(DAB_TEXT.AnchorFrame); |
||
235 | DL_Set_Anchor("_Alpha", 2, -20); |
||
236 | </OnLoad> |
||
237 | </Scripts> |
||
238 | </Frame> |
||
239 | <Button name="$parent_AnchorPoint" inherits="DiscordLib_MenuControlTemplate"> |
||
240 | <Size><AbsDimension x="125" y="22"/></Size> |
||
241 | <Scripts> |
||
242 | <OnLoad> |
||
243 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
244 | this.menu = "DAB_DropMenu"; |
||
245 | this.table = "DL_ANCHORS"; |
||
246 | this.index = "Anchor"; |
||
247 | this.subindex = "point"; |
||
248 | DL_Set_Label(DAB_TEXT.AnchorPoint); |
||
249 | DL_Set_Anchor("_Alpha", 0, -45); |
||
250 | </OnLoad> |
||
251 | </Scripts> |
||
252 | </Button> |
||
253 | <Button name="$parent_AnchorTo" inherits="DiscordLib_MenuControlTemplate"> |
||
254 | <Size><AbsDimension x="125" y="22"/></Size> |
||
255 | <Scripts> |
||
256 | <OnLoad> |
||
257 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
258 | this.menu = "DAB_DropMenu"; |
||
259 | this.table = "DL_ANCHORS"; |
||
260 | this.index = "Anchor"; |
||
261 | this.subindex = "to"; |
||
262 | DL_Set_Label(DAB_TEXT.AnchorTo); |
||
263 | DL_Set_Anchor("_Alpha", 0, -70); |
||
264 | </OnLoad> |
||
265 | </Scripts> |
||
266 | </Button> |
||
267 | <Button name="$parent_NudgeUp" inherits="DAB_NudgeTemplate" id="1"> |
||
268 | <Anchors> |
||
269 | <Anchor point="TOPLEFT"> |
||
270 | <Offset><AbsDimension x="299" y="-195"/></Offset> |
||
271 | </Anchor> |
||
272 | </Anchors> |
||
273 | <Scripts> |
||
274 | <OnLoad> |
||
275 | DL_NudgeButton_OnLoad(); |
||
276 | this.updateFrame = "DAB_FloaterOptions_Config_YOffset"; |
||
277 | </OnLoad> |
||
278 | </Scripts> |
||
279 | </Button> |
||
280 | <Button name="$parent_NudgeDown" inherits="DAB_NudgeTemplate" id="2"> |
||
281 | <Anchors> |
||
282 | <Anchor point="TOP" relativeTo="$parent_NudgeUp" relativePoint="BOTTOM"> |
||
283 | <Offset><AbsDimension x="0" y="0"/></Offset> |
||
284 | </Anchor> |
||
285 | </Anchors> |
||
286 | <Scripts> |
||
287 | <OnLoad> |
||
288 | DL_NudgeButton_OnLoad(); |
||
289 | this.updateFrame = "DAB_FloaterOptions_Config_YOffset"; |
||
290 | </OnLoad> |
||
291 | </Scripts> |
||
292 | </Button> |
||
293 | <Button name="$parent_NudgeLeft" inherits="DAB_NudgeTemplate" id="3"> |
||
294 | <Anchors> |
||
295 | <Anchor point="TOPRIGHT" relativeTo="$parent_NudgeUp" relativePoint="LEFT"> |
||
296 | <Offset><AbsDimension x="0" y="0"/></Offset> |
||
297 | </Anchor> |
||
298 | </Anchors> |
||
299 | <Scripts> |
||
300 | <OnLoad> |
||
301 | DL_NudgeButton_OnLoad(); |
||
302 | this.updateFrame = "DAB_FloaterOptions_Config_XOffset"; |
||
303 | </OnLoad> |
||
304 | </Scripts> |
||
305 | </Button> |
||
306 | <Button name="$parent_NudgeRight" inherits="DAB_NudgeTemplate" id="4"> |
||
307 | <Anchors> |
||
308 | <Anchor point="TOPLEFT" relativeTo="$parent_NudgeUp" relativePoint="RIGHT"> |
||
309 | <Offset><AbsDimension x="0" y="0"/></Offset> |
||
310 | </Anchor> |
||
311 | </Anchors> |
||
312 | <Scripts> |
||
313 | <OnLoad> |
||
314 | DL_NudgeButton_OnLoad(); |
||
315 | this.updateFrame = "DAB_FloaterOptions_Config_XOffset"; |
||
316 | </OnLoad> |
||
317 | </Scripts> |
||
318 | </Button> |
||
319 | <EditBox name="$parent_XOffset" inherits="DAB_EditBoxTemplate"> |
||
320 | <Size><AbsDimension x="70" y="24"/></Size> |
||
321 | <Anchors> |
||
322 | <Anchor point="TOPRIGHT" relativeTo="$parent_NudgeDown" relativePoint="BOTTOM"> |
||
323 | <Offset><AbsDimension x="0" y="-5"/></Offset> |
||
324 | </Anchor> |
||
325 | </Anchors> |
||
326 | <Scripts> |
||
327 | <OnLoad> |
||
328 | this.index = "Anchor"; |
||
329 | this.subindex = "x"; |
||
330 | this.number = true; |
||
331 | DL_Set_Label("X:"); |
||
332 | </OnLoad> |
||
333 | </Scripts> |
||
334 | </EditBox> |
||
335 | <EditBox name="$parent_YOffset" inherits="DAB_EditBoxTemplate"> |
||
336 | <Size><AbsDimension x="70" y="24"/></Size> |
||
337 | <Scripts> |
||
338 | <OnLoad> |
||
339 | this.index = "Anchor"; |
||
340 | this.subindex = "y"; |
||
341 | this.number = true; |
||
342 | DL_Set_Label("Y:"); |
||
343 | DL_Set_Anchor("_NudgeDown", 0, -5, "TOPLEFT", "BOTTOM"); |
||
344 | </OnLoad> |
||
345 | </Scripts> |
||
346 | </EditBox> |
||
347 | |||
348 | <Button name="$parent_Preview" inherits="DiscordLib_TooltipBackdropTemplate" frameStrata="HIGH"> |
||
349 | <Size><AbsDimension x="100" y="100"/></Size> |
||
350 | <Anchors> |
||
351 | <Anchor point="TOP" relativeTo="DAB_FloaterOptions"> |
||
352 | <Offset><AbsDimension x="0" y="-70"/></Offset> |
||
353 | </Anchor> |
||
354 | </Anchors> |
||
355 | <Layers> |
||
356 | <Layer level="OVERLAY"> |
||
357 | <Texture name="$parent_Icon"> |
||
358 | <Size><AbsDimension x="90" y="90"/></Size> |
||
359 | <Anchors> |
||
360 | <Anchor point="CENTER"/> |
||
361 | </Anchors> |
||
362 | </Texture> |
||
363 | <FontString name="$parent_Text" inherits="GameFontNormal"> |
||
364 | <Anchors> |
||
365 | <Anchor point="TOP" relativePoint="BOTTOM"> |
||
366 | <Offset><AbsDimension x="0" y="-5"/></Offset> |
||
367 | </Anchor> |
||
368 | </Anchors> |
||
369 | </FontString> |
||
370 | </Layer> |
||
371 | </Layers> |
||
372 | <Scripts> |
||
373 | <OnLoad> |
||
374 | this:RegisterForDrag("LeftButton"); |
||
375 | this:SetBackdropColor(0,0,0); |
||
376 | this:SetBackdropBorderColor(1, 0, 0); |
||
377 | </OnLoad> |
||
378 | <OnEnter> |
||
379 | if (DAB_OBJECT_SUBINDEX) then |
||
380 | if ( GetCVar("UberTooltips") == "1" ) then |
||
381 | GameTooltip_SetDefaultAnchor(GameTooltip, this); |
||
382 | else |
||
383 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
384 | end |
||
385 | GameTooltip:SetAction(this.action); |
||
386 | end |
||
387 | </OnEnter> |
||
388 | <OnLeave> |
||
389 | GameTooltip:Hide(); |
||
390 | </OnLeave> |
||
391 | <OnClick> |
||
392 | if (DAB_OBJECT_SUBINDEX) then |
||
393 | PickupAction(this.action); |
||
394 | DAB_Update_FloaterList(); |
||
395 | DAB_Init_FloaterOptions(); |
||
396 | DAB_Update_ObjectList(); |
||
397 | DAB_BarBrowser_Update(); |
||
398 | end |
||
399 | </OnClick> |
||
400 | <OnDragStart> |
||
401 | if (DAB_OBJECT_SUBINDEX) then |
||
402 | PickupAction(this.action); |
||
403 | DAB_Update_FloaterList(); |
||
404 | DAB_Init_FloaterOptions(); |
||
405 | DAB_Update_ObjectList(); |
||
406 | DAB_BarBrowser_Update(); |
||
407 | end |
||
408 | </OnDragStart> |
||
409 | <OnReceiveDrag> |
||
410 | if (DAB_OBJECT_SUBINDEX) then |
||
411 | PlaceAction(this.action); |
||
412 | DAB_Update_FloaterList(); |
||
413 | DAB_Init_FloaterOptions(); |
||
414 | DAB_Update_ObjectList(); |
||
415 | DAB_BarBrowser_Update(); |
||
416 | end |
||
417 | </OnReceiveDrag> |
||
418 | </Scripts> |
||
419 | </Button> |
||
420 | </Frames> |
||
421 | </Frame> |
||
422 | |||
423 | <Frame name="DAB_FloaterOptions_AdvConfig" hidden="true" parent="DAB_FloaterOptions" frameStrata="MEDIUM"> |
||
424 | <Size><AbsDimension x="10" y="10"/></Size> |
||
425 | <Anchors> |
||
426 | <Anchor point="TOPLEFT"> |
||
427 | <Offset><AbsDimension x="0" y="-70"/></Offset> |
||
428 | </Anchor> |
||
429 | </Anchors> |
||
430 | <Frames> |
||
431 | <CheckButton name="$parent_ExpandHidden" inherits="DAB_CheckBoxTemplate"> |
||
432 | <Anchors> |
||
433 | <Anchor point="TOPLEFT"/> |
||
434 | </Anchors> |
||
435 | <Scripts> |
||
436 | <OnLoad> |
||
437 | this.index = "expandHidden"; |
||
438 | this.settingType = 0; |
||
439 | DL_Set_Label(DAB_TEXT.ExpandHidden); |
||
440 | </OnLoad> |
||
441 | </Scripts> |
||
442 | </CheckButton> |
||
443 | <Frame name="$parent_CBGroup" inherits="DiscordLib_EditMenuControlTemplate"> |
||
444 | <Size><AbsDimension x="50" y="22"/></Size> |
||
445 | <Scripts> |
||
446 | <OnLoad> |
||
447 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
448 | this.menu = "DAB_ScrollMenu"; |
||
449 | this.table = "DAB_GROUPS"; |
||
450 | this.editFunc = DAB_GroupEditBox_OnEnterPressed; |
||
451 | this.index = "cbgroup"; |
||
452 | this.settingType = 0; |
||
453 | DL_Set_Label(DAB_TEXT.ControlBoxGroup); |
||
454 | DL_Set_Anchor("", 0, -15); |
||
455 | </OnLoad> |
||
456 | </Scripts> |
||
457 | </Frame> |
||
458 | <Button name="$parent_RightClick" inherits="DiscordLib_MenuControlTemplate"> |
||
459 | <Size><AbsDimension x="170" y="22"/></Size> |
||
460 | <Scripts> |
||
461 | <OnLoad> |
||
462 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
463 | this.menu = "DAB_ScrollMenu"; |
||
464 | this.table = "DAB_ACTIONS"; |
||
465 | this.index = "rightClick"; |
||
466 | this.addoptions = { {text="No Action", value=-1}, {text="Self-cast", value=-2} }; |
||
467 | this.settingType = 0; |
||
468 | DL_Set_Label(DAB_TEXT.RightClickButton); |
||
469 | DL_Set_Anchor("", 0, -40); |
||
470 | </OnLoad> |
||
471 | </Scripts> |
||
472 | </Button> |
||
473 | <Button name="$parent_MiddleClick" inherits="DiscordLib_MenuControlTemplate"> |
||
474 | <Size><AbsDimension x="170" y="22"/></Size> |
||
475 | <Scripts> |
||
476 | <OnLoad> |
||
477 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
478 | this.menu = "DAB_ScrollMenu"; |
||
479 | this.table = "DAB_ACTIONS"; |
||
480 | this.index = "middleClick"; |
||
481 | this.addoptions = { {text="No Action", value=-1}, {text="Self-cast", value=-2} }; |
||
482 | this.settingType = 0; |
||
483 | DL_Set_Label(DAB_TEXT.MiddleClickButton); |
||
484 | DL_Set_Anchor("", 0, -65); |
||
485 | </OnLoad> |
||
486 | </Scripts> |
||
487 | </Button> |
||
488 | <Frame name="$parent_Target" inherits="DiscordLib_EditMenuControlTemplate"> |
||
489 | <Size><AbsDimension x="125" y="22"/></Size> |
||
490 | <Scripts> |
||
491 | <OnLoad> |
||
492 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
493 | this.menu = "DAB_ScrollMenu"; |
||
494 | this.table = "DL_UNITS_LIST"; |
||
495 | this.editFunc = DAB_UnitEditBox_OnEnterPressed; |
||
496 | this.index = "target"; |
||
497 | this.settingType = 0; |
||
498 | DL_Set_Label(DAB_TEXT.DefaultTarget); |
||
499 | DL_Set_Anchor("", 0, -90); |
||
500 | </OnLoad> |
||
501 | </Scripts> |
||
502 | </Frame> |
||
503 | <CheckButton name="$parent_ForceTarget" inherits="DAB_CheckBoxTemplate"> |
||
504 | <Anchors> |
||
505 | <Anchor point="LEFT" relativeTo="$parent_Target" relativePoint="RIGHT"> |
||
506 | <Offset><AbsDimension x="20" y="0"/></Offset> |
||
507 | </Anchor> |
||
508 | </Anchors> |
||
509 | <Scripts> |
||
510 | <OnLoad> |
||
511 | this.index = "forceTarget"; |
||
512 | this.settingType = 0; |
||
513 | DL_Set_Label(DAB_TEXT.Force); |
||
514 | </OnLoad> |
||
515 | </Scripts> |
||
516 | </CheckButton> |
||
517 | <Button name="$parent_FrameStrata" inherits="DiscordLib_MenuControlTemplate"> |
||
518 | <Size><AbsDimension x="150" y="22"/></Size> |
||
519 | <Scripts> |
||
520 | <OnLoad> |
||
521 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
522 | this.menu = "DAB_DropMenu"; |
||
523 | this.table = "DL_FRAMESTRATAS"; |
||
524 | this.index = "frameStrata"; |
||
525 | DL_Set_Label(DAB_TEXT.FrameStrata); |
||
526 | DL_Set_Anchor("", 0, -115); |
||
527 | </OnLoad> |
||
528 | </Scripts> |
||
529 | </Button> |
||
530 | <Button name="$parent_RangeColor" inherits="DAB_ColorPickerTemplate"> |
||
531 | <Anchors> |
||
532 | <Anchor point="TOPLEFT"> |
||
533 | <Offset><AbsDimension x="0" y="-145"/></Offset> |
||
534 | </Anchor> |
||
535 | </Anchors> |
||
536 | <Scripts> |
||
537 | <OnLoad> |
||
538 | this.index = "rangecolor"; |
||
539 | this.settingType = 0; |
||
540 | DL_Set_Label(DAB_TEXT.OutOfRange); |
||
541 | </OnLoad> |
||
542 | </Scripts> |
||
543 | </Button> |
||
544 | <Button name="$parent_RangeRecolor" inherits="DiscordLib_MenuControlTemplate"> |
||
545 | <Size><AbsDimension x="125" y="22"/></Size> |
||
546 | <Scripts> |
||
547 | <OnLoad> |
||
548 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
549 | this.menu = "DAB_DropMenu"; |
||
550 | this.table = "DAB_RECOLOR"; |
||
551 | this.index = "rangerecolor"; |
||
552 | this.settingType = 0; |
||
553 | DL_Set_Label(DAB_TEXT.Recolor); |
||
554 | DL_Set_Anchor("_RangeColor", 150, 0, "LEFT", "RIGHT"); |
||
555 | </OnLoad> |
||
556 | </Scripts> |
||
557 | </Button> |
||
558 | <Button name="$parent_ManaColor" inherits="DAB_ColorPickerTemplate"> |
||
559 | <Anchors> |
||
560 | <Anchor point="TOPLEFT" relativeTo="$parent_RangeColor" relativePoint="BOTTOMLEFT"> |
||
561 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
562 | </Anchor> |
||
563 | </Anchors> |
||
564 | <Scripts> |
||
565 | <OnLoad> |
||
566 | this.index = "manacolor"; |
||
567 | this.settingType = 0; |
||
568 | DL_Set_Label(DAB_TEXT.NotEnoughMana); |
||
569 | </OnLoad> |
||
570 | </Scripts> |
||
571 | </Button> |
||
572 | <Button name="$parent_ManaRecolor" inherits="DiscordLib_MenuControlTemplate"> |
||
573 | <Size><AbsDimension x="125" y="22"/></Size> |
||
574 | <Scripts> |
||
575 | <OnLoad> |
||
576 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
577 | this.menu = "DAB_DropMenu"; |
||
578 | this.table = "DAB_RECOLOR"; |
||
579 | this.index = "manarecolor"; |
||
580 | this.settingType = 0; |
||
581 | DL_Set_Label(DAB_TEXT.Recolor); |
||
582 | DL_Set_Anchor("_ManaColor", 150, 0, "LEFT", "RIGHT"); |
||
583 | </OnLoad> |
||
584 | </Scripts> |
||
585 | </Button> |
||
586 | <Button name="$parent_UnusableColor" inherits="DAB_ColorPickerTemplate"> |
||
587 | <Anchors> |
||
588 | <Anchor point="TOPLEFT" relativeTo="$parent_ManaColor" relativePoint="BOTTOMLEFT"> |
||
589 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
590 | </Anchor> |
||
591 | </Anchors> |
||
592 | <Scripts> |
||
593 | <OnLoad> |
||
594 | this.index = "unusablecolor"; |
||
595 | this.settingType = 0; |
||
596 | DL_Set_Label(DAB_TEXT.ActionUnusable); |
||
597 | </OnLoad> |
||
598 | </Scripts> |
||
599 | </Button> |
||
600 | <Button name="$parent_UnusableRecolor" inherits="DiscordLib_MenuControlTemplate"> |
||
601 | <Size><AbsDimension x="125" y="22"/></Size> |
||
602 | <Scripts> |
||
603 | <OnLoad> |
||
604 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
605 | this.menu = "DAB_DropMenu"; |
||
606 | this.table = "DAB_RECOLOR"; |
||
607 | this.index = "unusablerecolor"; |
||
608 | this.settingType = 0; |
||
609 | DL_Set_Label(DAB_TEXT.Recolor); |
||
610 | DL_Set_Anchor("_UnusableColor", 150, 0, "LEFT", "RIGHT"); |
||
611 | </OnLoad> |
||
612 | </Scripts> |
||
613 | </Button> |
||
614 | <CheckButton name="$parent_TrimEdges" inherits="DAB_CheckBoxTemplate"> |
||
615 | <Anchors> |
||
616 | <Anchor point="TOPLEFT"> |
||
617 | <Offset><AbsDimension x="0" y="-215"/></Offset> |
||
618 | </Anchor> |
||
619 | </Anchors> |
||
620 | <Scripts> |
||
621 | <OnLoad> |
||
622 | this.index = "trimEdges"; |
||
623 | DL_Set_Label(DAB_TEXT.TrimEdges); |
||
624 | </OnLoad> |
||
625 | </Scripts> |
||
626 | </CheckButton> |
||
627 | <Button name="$parent_ButtonBGColor" inherits="DAB_ColorPickerTemplate"> |
||
628 | <Anchors> |
||
629 | <Anchor point="TOPLEFT" relativeTo="$parent_TrimEdges" relativePoint="BOTTOMLEFT"> |
||
630 | <Offset><AbsDimension x="0" y="3"/></Offset> |
||
631 | </Anchor> |
||
632 | </Anchors> |
||
633 | <Scripts> |
||
634 | <OnLoad> |
||
635 | this.index = "buttonbgcolor" |
||
636 | </OnLoad> |
||
637 | </Scripts> |
||
638 | </Button> |
||
639 | <Frame name="$parent_ButtonBG" inherits="DiscordLib_EditMenuControlTemplate"> |
||
640 | <Size><AbsDimension x="200" y="22"/></Size> |
||
641 | <Scripts> |
||
642 | <OnLoad> |
||
643 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
644 | this.menu = "DAB_ScrollMenu"; |
||
645 | this.table = "DL_TEXTURES_LIST"; |
||
646 | this.editFunc = DAB_TextureEditBox_OnEnterPressed; |
||
647 | this.index = "buttonbg"; |
||
648 | DL_Set_Label(DAB_TEXT.ButtonBackground); |
||
649 | DL_Set_Anchor("_ButtonBGColor", 3, 0, "LEFT", "RIGHT"); |
||
650 | </OnLoad> |
||
651 | </Scripts> |
||
652 | </Frame> |
||
653 | <Button name="$parent_CheckedColor" inherits="DAB_ColorPickerTemplate"> |
||
654 | <Anchors> |
||
655 | <Anchor point="TOPLEFT" relativeTo="$parent_ButtonBGColor" relativePoint="BOTTOMLEFT"> |
||
656 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
657 | </Anchor> |
||
658 | </Anchors> |
||
659 | <Scripts> |
||
660 | <OnLoad> |
||
661 | this.index = "checkedcolor" |
||
662 | </OnLoad> |
||
663 | </Scripts> |
||
664 | </Button> |
||
665 | <Frame name="$parent_Checked" inherits="DiscordLib_EditMenuControlTemplate"> |
||
666 | <Size><AbsDimension x="200" y="22"/></Size> |
||
667 | <Scripts> |
||
668 | <OnLoad> |
||
669 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
670 | this.menu = "DAB_ScrollMenu"; |
||
671 | this.table = "DL_TEXTURES_LIST"; |
||
672 | this.editFunc = DAB_TextureEditBox_OnEnterPressed; |
||
673 | this.index = "checked"; |
||
674 | DL_Set_Label(DAB_TEXT.Checked); |
||
675 | DL_Set_Anchor("_CheckedColor", 3, 0, "LEFT", "RIGHT"); |
||
676 | </OnLoad> |
||
677 | </Scripts> |
||
678 | </Frame> |
||
679 | <Button name="$parent_HighlightColor" inherits="DAB_ColorPickerTemplate"> |
||
680 | <Anchors> |
||
681 | <Anchor point="TOPLEFT" relativeTo="$parent_CheckedColor" relativePoint="BOTTOMLEFT"> |
||
682 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
683 | </Anchor> |
||
684 | </Anchors> |
||
685 | <Scripts> |
||
686 | <OnLoad> |
||
687 | this.index = "highlightcolor" |
||
688 | </OnLoad> |
||
689 | </Scripts> |
||
690 | </Button> |
||
691 | <Frame name="$parent_Highlight" inherits="DiscordLib_EditMenuControlTemplate"> |
||
692 | <Size><AbsDimension x="200" y="22"/></Size> |
||
693 | <Scripts> |
||
694 | <OnLoad> |
||
695 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
696 | this.menu = "DAB_ScrollMenu"; |
||
697 | this.table = "DL_TEXTURES_LIST"; |
||
698 | this.editFunc = DAB_TextureEditBox_OnEnterPressed; |
||
699 | this.index = "highlight"; |
||
700 | DL_Set_Label(DAB_TEXT.Highlight); |
||
701 | DL_Set_Anchor("_HighlightColor", 3, 0, "LEFT", "RIGHT"); |
||
702 | </OnLoad> |
||
703 | </Scripts> |
||
704 | </Frame> |
||
705 | <Button name="$parent_EquippedColor" inherits="DAB_ColorPickerTemplate"> |
||
706 | <Anchors> |
||
707 | <Anchor point="TOPLEFT" relativeTo="$parent_HighlightColor" relativePoint="BOTTOMLEFT"> |
||
708 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
709 | </Anchor> |
||
710 | </Anchors> |
||
711 | <Scripts> |
||
712 | <OnLoad> |
||
713 | this.index = "ButtonBorder"; |
||
714 | this.subindex = "ecolor"; |
||
715 | </OnLoad> |
||
716 | </Scripts> |
||
717 | </Button> |
||
718 | <Frame name="$parent_Equipped" inherits="DiscordLib_EditMenuControlTemplate"> |
||
719 | <Size><AbsDimension x="200" y="22"/></Size> |
||
720 | <Scripts> |
||
721 | <OnLoad> |
||
722 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
723 | this.menu = "DAB_ScrollMenu"; |
||
724 | this.table = "DL_TEXTURES_LIST"; |
||
725 | this.editFunc = DAB_TextureEditBox_OnEnterPressed; |
||
726 | this.index = "ButtonBorder"; |
||
727 | this.subindex = "etexture"; |
||
728 | DL_Set_Label(DAB_TEXT.Equipped); |
||
729 | DL_Set_Anchor("_EquippedColor", 3, 0, "LEFT", "RIGHT"); |
||
730 | </OnLoad> |
||
731 | </Scripts> |
||
732 | </Frame> |
||
733 | <Button name="$parent_BorderColor" inherits="DAB_ColorPickerTemplate"> |
||
734 | <Anchors> |
||
735 | <Anchor point="TOPLEFT" relativeTo="$parent_EquippedColor" relativePoint="BOTTOMLEFT"> |
||
736 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
737 | </Anchor> |
||
738 | </Anchors> |
||
739 | <Scripts> |
||
740 | <OnLoad> |
||
741 | this.index = "ButtonBorder"; |
||
742 | this.subindex = "color"; |
||
743 | </OnLoad> |
||
744 | </Scripts> |
||
745 | </Button> |
||
746 | <Frame name="$parent_Border" inherits="DiscordLib_EditMenuControlTemplate"> |
||
747 | <Size><AbsDimension x="200" y="22"/></Size> |
||
748 | <Scripts> |
||
749 | <OnLoad> |
||
750 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
751 | this.menu = "DAB_ScrollMenu"; |
||
752 | this.table = "DL_TEXTURES_LIST"; |
||
753 | this.editFunc = DAB_TextureEditBox_OnEnterPressed; |
||
754 | this.index = "ButtonBorder"; |
||
755 | this.subindex = "texture"; |
||
756 | DL_Set_Label(DAB_TEXT.Border); |
||
757 | DL_Set_Anchor("_BorderColor", 3, 0, "LEFT", "RIGHT"); |
||
758 | </OnLoad> |
||
759 | </Scripts> |
||
760 | </Frame> |
||
761 | <Slider name="$parent_BorderAlpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100" valueStep="1"> |
||
762 | <Anchors> |
||
763 | <Anchor point="TOPLEFT" relativeTo="$parent_TrimEdges" relativePoint="BOTTOMLEFT"> |
||
764 | <Offset><AbsDimension x="0" y="-125"/></Offset> |
||
765 | </Anchor> |
||
766 | </Anchors> |
||
767 | <Scripts> |
||
768 | <OnLoad> |
||
769 | this.index = "ButtonBorder"; |
||
770 | this.subindex = "alpha"; |
||
771 | this.minlock = true; |
||
772 | this.maxlock = true; |
||
773 | this.scale = 100; |
||
774 | DL_Set_Label(DAB_TEXT.ButtonBorderAlpha); |
||
775 | </OnLoad> |
||
776 | </Scripts> |
||
777 | </Slider> |
||
778 | <EditBox name="$parent_PadLeft" inherits="DAB_EditBoxTemplate"> |
||
779 | <Size><AbsDimension x="50" y="24"/></Size> |
||
780 | <Scripts> |
||
781 | <OnLoad> |
||
782 | this.index = "ButtonBorder"; |
||
783 | this.subindex = "leftpadding"; |
||
784 | this.number = true; |
||
785 | DL_Set_Label(DAB_TEXT.Left); |
||
786 | DL_Set_Anchor("_BorderAlpha", 70, 0, "TOPLEFT", "TOPRIGHT"); |
||
787 | </OnLoad> |
||
788 | </Scripts> |
||
789 | </EditBox> |
||
790 | <EditBox name="$parent_PadRight" inherits="DAB_EditBoxTemplate"> |
||
791 | <Size><AbsDimension x="50" y="24"/></Size> |
||
792 | <Scripts> |
||
793 | <OnLoad> |
||
794 | this.index = "ButtonBorder"; |
||
795 | this.subindex = "rightpadding"; |
||
796 | this.number = true; |
||
797 | DL_Set_Label(DAB_TEXT.Right); |
||
798 | DL_Set_Anchor("_BorderAlpha", 70, -23, "TOPLEFT", "TOPRIGHT"); |
||
799 | </OnLoad> |
||
800 | </Scripts> |
||
801 | </EditBox> |
||
802 | <EditBox name="$parent_PadTop" inherits="DAB_EditBoxTemplate"> |
||
803 | <Size><AbsDimension x="50" y="24"/></Size> |
||
804 | <Scripts> |
||
805 | <OnLoad> |
||
806 | this.index = "ButtonBorder"; |
||
807 | this.subindex = "toppadding"; |
||
808 | this.number = true; |
||
809 | DL_Set_Label(DAB_TEXT.Top); |
||
810 | DL_Set_Anchor("_BorderAlpha", 165, 0, "TOPLEFT", "TOPRIGHT"); |
||
811 | </OnLoad> |
||
812 | </Scripts> |
||
813 | </EditBox> |
||
814 | <EditBox name="$parent_PadBottom" inherits="DAB_EditBoxTemplate"> |
||
815 | <Size><AbsDimension x="50" y="24"/></Size> |
||
816 | <Scripts> |
||
817 | <OnLoad> |
||
818 | this.index = "ButtonBorder"; |
||
819 | this.subindex = "bottompadding"; |
||
820 | this.number = true; |
||
821 | DL_Set_Label(DAB_TEXT.Bottom); |
||
822 | DL_Set_Anchor("_BorderAlpha", 165, -23, "TOPLEFT", "TOPRIGHT"); |
||
823 | </OnLoad> |
||
824 | </Scripts> |
||
825 | </EditBox> |
||
826 | <CheckButton name="$parent_KBHide" inherits="DAB_CheckBoxTemplate"> |
||
827 | <Anchors> |
||
828 | <Anchor point="TOPLEFT" relativeTo="$parent_BorderAlpha" relativePoint="BOTTOMLEFT"> |
||
829 | <Offset><AbsDimension x="0" y="-25"/></Offset> |
||
830 | </Anchor> |
||
831 | </Anchors> |
||
832 | <Scripts> |
||
833 | <OnLoad> |
||
834 | this.index = "Keybinding"; |
||
835 | this.subindex = "hide"; |
||
836 | </OnLoad> |
||
837 | </Scripts> |
||
838 | </CheckButton> |
||
839 | <Button name="$parent_KBColor" inherits="DAB_ColorPickerTemplate"> |
||
840 | <Anchors> |
||
841 | <Anchor point="LEFT" relativeTo="$parent_KBHide" relativePoint="RIGHT"/> |
||
842 | </Anchors> |
||
843 | <Scripts> |
||
844 | <OnLoad> |
||
845 | this.index = "Keybinding"; |
||
846 | this.subindex = "color"; |
||
847 | </OnLoad> |
||
848 | </Scripts> |
||
849 | </Button> |
||
850 | <EditBox name="$parent_KBSize" inherits="DAB_EditBoxTemplate"> |
||
851 | <Size><AbsDimension x="40" y="24"/></Size> |
||
852 | <Anchors> |
||
853 | <Anchor point="LEFT" relativeTo="$parent_KBColor" relativePoint="RIGHT"> |
||
854 | <Offset><AbsDimension x="3" y="0"/></Offset> |
||
855 | </Anchor> |
||
856 | </Anchors> |
||
857 | <Scripts> |
||
858 | <OnLoad> |
||
859 | this.index = "Keybinding"; |
||
860 | this.subindex = "size"; |
||
861 | this.number = true; |
||
862 | </OnLoad> |
||
863 | </Scripts> |
||
864 | </EditBox> |
||
865 | <Frame name="$parent_KBFont" inherits="DiscordLib_EditMenuControlTemplate"> |
||
866 | <Size><AbsDimension x="150" y="22"/></Size> |
||
867 | <Scripts> |
||
868 | <OnLoad> |
||
869 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
870 | this.menu = "DAB_ScrollMenu"; |
||
871 | this.table = "DL_FONTS_LIST"; |
||
872 | this.editFunc = DAB_FontEditBox_OnEnterPressed; |
||
873 | this.index = "Keybinding"; |
||
874 | this.subindex = "font"; |
||
875 | DL_Set_Label(DAB_TEXT.Keybinding); |
||
876 | DL_Set_Anchor("_KBSize", -3, 0, "LEFT", "RIGHT"); |
||
877 | </OnLoad> |
||
878 | </Scripts> |
||
879 | </Frame> |
||
880 | <Button name="$parent_CCColor" inherits="DAB_ColorPickerTemplate"> |
||
881 | <Anchors> |
||
882 | <Anchor point="TOPLEFT" relativeTo="$parent_KBColor" relativePoint="BOTTOMLEFT"> |
||
883 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
884 | </Anchor> |
||
885 | </Anchors> |
||
886 | <Scripts> |
||
887 | <OnLoad> |
||
888 | this.index = "Cooldown"; |
||
889 | this.subindex = "color"; |
||
890 | </OnLoad> |
||
891 | </Scripts> |
||
892 | </Button> |
||
893 | <CheckButton name="$parent_CCHide" inherits="DAB_CheckBoxTemplate"> |
||
894 | <Anchors> |
||
895 | <Anchor point="RIGHT" relativeTo="$parent_CCColor" relativePoint="LEFT"/> |
||
896 | </Anchors> |
||
897 | <Scripts> |
||
898 | <OnLoad> |
||
899 | this.index = "Cooldown"; |
||
900 | this.subindex = "hide"; |
||
901 | </OnLoad> |
||
902 | </Scripts> |
||
903 | </CheckButton> |
||
904 | <EditBox name="$parent_CCSize" inherits="DAB_EditBoxTemplate"> |
||
905 | <Size><AbsDimension x="40" y="24"/></Size> |
||
906 | <Anchors> |
||
907 | <Anchor point="LEFT" relativeTo="$parent_CCColor" relativePoint="RIGHT"> |
||
908 | <Offset><AbsDimension x="3" y="0"/></Offset> |
||
909 | </Anchor> |
||
910 | </Anchors> |
||
911 | <Scripts> |
||
912 | <OnLoad> |
||
913 | this.index = "Cooldown"; |
||
914 | this.subindex = "size"; |
||
915 | this.number = true; |
||
916 | </OnLoad> |
||
917 | </Scripts> |
||
918 | </EditBox> |
||
919 | <Frame name="$parent_CCFont" inherits="DiscordLib_EditMenuControlTemplate"> |
||
920 | <Size><AbsDimension x="150" y="22"/></Size> |
||
921 | <Scripts> |
||
922 | <OnLoad> |
||
923 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
924 | this.menu = "DAB_ScrollMenu"; |
||
925 | this.table = "DL_FONTS_LIST"; |
||
926 | this.editFunc = DAB_FontEditBox_OnEnterPressed; |
||
927 | this.index = "Cooldown"; |
||
928 | this.subindex = "font"; |
||
929 | DL_Set_Label(DAB_TEXT.CooldownCount); |
||
930 | DL_Set_Anchor("_CCSize", -3, 0, "LEFT", "RIGHT"); |
||
931 | </OnLoad> |
||
932 | </Scripts> |
||
933 | </Frame> |
||
934 | <Button name="$parent_CntColor" inherits="DAB_ColorPickerTemplate"> |
||
935 | <Anchors> |
||
936 | <Anchor point="TOPLEFT" relativeTo="$parent_CCColor" relativePoint="BOTTOMLEFT"> |
||
937 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
938 | </Anchor> |
||
939 | </Anchors> |
||
940 | <Scripts> |
||
941 | <OnLoad> |
||
942 | this.index = "Count"; |
||
943 | this.subindex = "color"; |
||
944 | </OnLoad> |
||
945 | </Scripts> |
||
946 | </Button> |
||
947 | <CheckButton name="$parent_CntHide" inherits="DAB_CheckBoxTemplate"> |
||
948 | <Anchors> |
||
949 | <Anchor point="RIGHT" relativeTo="$parent_CntColor" relativePoint="LEFT"/> |
||
950 | </Anchors> |
||
951 | <Scripts> |
||
952 | <OnLoad> |
||
953 | this.index = "Count"; |
||
954 | this.subindex = "hide"; |
||
955 | </OnLoad> |
||
956 | </Scripts> |
||
957 | </CheckButton> |
||
958 | <EditBox name="$parent_CntSize" inherits="DAB_EditBoxTemplate"> |
||
959 | <Size><AbsDimension x="40" y="24"/></Size> |
||
960 | <Anchors> |
||
961 | <Anchor point="LEFT" relativeTo="$parent_CntColor" relativePoint="RIGHT"> |
||
962 | <Offset><AbsDimension x="3" y="0"/></Offset> |
||
963 | </Anchor> |
||
964 | </Anchors> |
||
965 | <Scripts> |
||
966 | <OnLoad> |
||
967 | this.index = "Count"; |
||
968 | this.subindex = "size"; |
||
969 | this.number = true; |
||
970 | </OnLoad> |
||
971 | </Scripts> |
||
972 | </EditBox> |
||
973 | <Frame name="$parent_CntFont" inherits="DiscordLib_EditMenuControlTemplate"> |
||
974 | <Size><AbsDimension x="150" y="22"/></Size> |
||
975 | <Scripts> |
||
976 | <OnLoad> |
||
977 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
978 | this.menu = "DAB_ScrollMenu"; |
||
979 | this.table = "DL_FONTS_LIST"; |
||
980 | this.editFunc = DAB_FontEditBox_OnEnterPressed; |
||
981 | this.index = "Count"; |
||
982 | this.subindex = "font"; |
||
983 | DL_Set_Label(DAB_TEXT.Count); |
||
984 | DL_Set_Anchor("_CntSize", -3, 0, "LEFT", "RIGHT"); |
||
985 | </OnLoad> |
||
986 | </Scripts> |
||
987 | </Frame> |
||
988 | <Button name="$parent_MNColor" inherits="DAB_ColorPickerTemplate"> |
||
989 | <Anchors> |
||
990 | <Anchor point="TOPLEFT" relativeTo="$parent_CntColor" relativePoint="BOTTOMLEFT"> |
||
991 | <Offset><AbsDimension x="0" y="4"/></Offset> |
||
992 | </Anchor> |
||
993 | </Anchors> |
||
994 | <Scripts> |
||
995 | <OnLoad> |
||
996 | this.index = "Macro"; |
||
997 | this.subindex = "color"; |
||
998 | </OnLoad> |
||
999 | </Scripts> |
||
1000 | </Button> |
||
1001 | <CheckButton name="$parent_MNHide" inherits="DAB_CheckBoxTemplate"> |
||
1002 | <Anchors> |
||
1003 | <Anchor point="RIGHT" relativeTo="$parent_MNColor" relativePoint="LEFT"/> |
||
1004 | </Anchors> |
||
1005 | <Scripts> |
||
1006 | <OnLoad> |
||
1007 | this.index = "Macro"; |
||
1008 | this.subindex = "hide"; |
||
1009 | </OnLoad> |
||
1010 | </Scripts> |
||
1011 | </CheckButton> |
||
1012 | <EditBox name="$parent_MNSize" inherits="DAB_EditBoxTemplate"> |
||
1013 | <Size><AbsDimension x="40" y="24"/></Size> |
||
1014 | <Anchors> |
||
1015 | <Anchor point="LEFT" relativeTo="$parent_MNColor" relativePoint="RIGHT"> |
||
1016 | <Offset><AbsDimension x="3" y="0"/></Offset> |
||
1017 | </Anchor> |
||
1018 | </Anchors> |
||
1019 | <Scripts> |
||
1020 | <OnLoad> |
||
1021 | this.index = "Macro"; |
||
1022 | this.subindex = "size"; |
||
1023 | this.number = true; |
||
1024 | </OnLoad> |
||
1025 | </Scripts> |
||
1026 | </EditBox> |
||
1027 | <Frame name="$parent_MNFont" inherits="DiscordLib_EditMenuControlTemplate"> |
||
1028 | <Size><AbsDimension x="150" y="22"/></Size> |
||
1029 | <Scripts> |
||
1030 | <OnLoad> |
||
1031 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1032 | this.menu = "DAB_ScrollMenu"; |
||
1033 | this.table = "DL_FONTS_LIST"; |
||
1034 | this.editFunc = DAB_FontEditBox_OnEnterPressed; |
||
1035 | this.index = "Macro"; |
||
1036 | this.subindex = "font"; |
||
1037 | DL_Set_Label(DAB_TEXT.MacroName); |
||
1038 | DL_Set_Anchor("_MNSize", -3, 0, "LEFT", "RIGHT"); |
||
1039 | </OnLoad> |
||
1040 | </Scripts> |
||
1041 | </Frame> |
||
1042 | </Frames> |
||
1043 | <Layers> |
||
1044 | <Layer level="OVERLAY"> |
||
1045 | <FontString name="$parent_PaddingLabel" inherits="GameFontNormal"> |
||
1046 | <Anchors> |
||
1047 | <Anchor point="TOPLEFT"> |
||
1048 | <Offset><AbsDimension x="199" y="-352"/></Offset> |
||
1049 | </Anchor> |
||
1050 | </Anchors> |
||
1051 | </FontString> |
||
1052 | <FontString name="$parent_TextLabel" inherits="GameFontNormal"> |
||
1053 | <Anchors> |
||
1054 | <Anchor point="TOPLEFT"> |
||
1055 | <Offset><AbsDimension x="0" y="-397"/></Offset> |
||
1056 | </Anchor> |
||
1057 | </Anchors> |
||
1058 | </FontString> |
||
1059 | </Layer> |
||
1060 | </Layers> |
||
1061 | </Frame> |
||
1062 | |||
1063 | <Frame name="DAB_FloaterOptions_Control" hidden="true" parent="DAB_FloaterOptions" frameStrata="MEDIUM"> |
||
1064 | <Size><AbsDimension x="10" y="10"/></Size> |
||
1065 | <Anchors> |
||
1066 | <Anchor point="TOPLEFT"> |
||
1067 | <Offset><AbsDimension x="0" y="-70"/></Offset> |
||
1068 | </Anchor> |
||
1069 | </Anchors> |
||
1070 | <Frames> |
||
1071 | <ScrollFrame name="$parent_ConditionMenu" inherits="DL_ScrollFrameTemplate"> |
||
1072 | <Size><AbsDimension x="370" y="210"/></Size> |
||
1073 | <Anchors> |
||
1074 | <Anchor point="TOPLEFT"> |
||
1075 | <Offset><AbsDimension x="0" y="-30"/></Offset> |
||
1076 | </Anchor> |
||
1077 | </Anchors> |
||
1078 | <Scripts> |
||
1079 | <OnLoad> |
||
1080 | getglobal(this:GetName().."_OuterBorder_Header"):SetText(DAB_TEXT.Conditions); |
||
1081 | this.responsemenu = "DAB_FLOATER_RESPONSES"; |
||
1082 | </OnLoad> |
||
1083 | <OnVerticalScroll> |
||
1084 | FauxScrollFrame_OnVerticalScroll(40, DAB_ConditionMenu_Update); |
||
1085 | </OnVerticalScroll> |
||
1086 | </Scripts> |
||
1087 | </ScrollFrame> |
||
1088 | <CheckButton name="$parent_ConditionMenu_Button1" inherits="DAB_ConditionButtonTemplate" id="1"> |
||
1089 | <Anchors> |
||
1090 | <Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu"> |
||
1091 | <Offset><AbsDimension x="5" y="-5"/></Offset> |
||
1092 | </Anchor> |
||
1093 | </Anchors> |
||
1094 | </CheckButton> |
||
1095 | <CheckButton name="$parent_ConditionMenu_Button2" inherits="DAB_ConditionButtonTemplate" id="2"/> |
||
1096 | <CheckButton name="$parent_ConditionMenu_Button3" inherits="DAB_ConditionButtonTemplate" id="3"/> |
||
1097 | <CheckButton name="$parent_ConditionMenu_Button4" inherits="DAB_ConditionButtonTemplate" id="4"/> |
||
1098 | <CheckButton name="$parent_ConditionMenu_Button5" inherits="DAB_ConditionButtonTemplate" id="5"/> |
||
1099 | |||
1100 | <Button inherits="DAB_MainMenuButton" text="DL_COPYTEXT" frameStrata="DIALOG"> |
||
1101 | <Size><AbsDimension x="100" y="22"/></Size> |
||
1102 | <Anchors> |
||
1103 | <Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu" relativePoint="TOPLEFT"> |
||
1104 | <Offset><AbsDimension x="0" y="26"/></Offset> |
||
1105 | </Anchor> |
||
1106 | </Anchors> |
||
1107 | <Scripts> |
||
1108 | <OnClick> |
||
1109 | DAB_Copy_ControlSettings(); |
||
1110 | </OnClick> |
||
1111 | </Scripts> |
||
1112 | </Button> |
||
1113 | <Button inherits="DAB_MainMenuButton" text="DL_PASTETEXT" frameStrata="DIALOG"> |
||
1114 | <Size><AbsDimension x="100" y="22"/></Size> |
||
1115 | <Anchors> |
||
1116 | <Anchor point="TOPRIGHT" relativeTo="$parent_ConditionMenu" relativePoint="TOPRIGHT"> |
||
1117 | <Offset><AbsDimension x="27" y="26"/></Offset> |
||
1118 | </Anchor> |
||
1119 | </Anchors> |
||
1120 | <Scripts> |
||
1121 | <OnClick> |
||
1122 | DAB_Paste_ControlSettings(); |
||
1123 | </OnClick> |
||
1124 | </Scripts> |
||
1125 | </Button> |
||
1126 | |||
1127 | <Button name="$parent_Condition" inherits="DiscordLib_MenuControlTemplate"> |
||
1128 | <Size><AbsDimension x="200" y="22"/></Size> |
||
1129 | <Scripts> |
||
1130 | <OnLoad> |
||
1131 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1132 | this.menu = "DAB_ScrollMenu"; |
||
1133 | this.table = "DL_CONDITIONS_MENU"; |
||
1134 | this.initFunc = DAB_Select_Condition; |
||
1135 | DL_Set_Label(DAB_TEXT.ChooseCondition); |
||
1136 | DL_Set_Anchor("_ConditionMenu", 0, -10); |
||
1137 | </OnLoad> |
||
1138 | </Scripts> |
||
1139 | </Button> |
||
1140 | <Button name="$parent_ActionID" inherits="DiscordLib_MenuControlTemplate" hidden="true"> |
||
1141 | <Size><AbsDimension x="200" y="22"/></Size> |
||
1142 | <Scripts> |
||
1143 | <OnLoad> |
||
1144 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1145 | this.menu = "DAB_ScrollMenu"; |
||
1146 | this.table = "DAB_ACTIONS"; |
||
1147 | this.index = "CONDITION"; |
||
1148 | this.subindex = "action"; |
||
1149 | this.settingType = 0; |
||
1150 | DL_Set_Label(DAB_TEXT.Action); |
||
1151 | DL_Set_Anchor("_ConditionMenu", 0, -50); |
||
1152 | </OnLoad> |
||
1153 | </Scripts> |
||
1154 | </Button> |
||
1155 | <Button name="$parent_Bars" inherits="DiscordLib_MenuControlTemplate" hidden="true"> |
||
1156 | <Size><AbsDimension x="200" y="22"/></Size> |
||
1157 | <Scripts> |
||
1158 | <OnLoad> |
||
1159 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1160 | this.menu = "DAB_DropMenu"; |
||
1161 | this.table = "DAB_NUMBERS"; |
||
1162 | this.index = "CONDITION"; |
||
1163 | this.subindex = "bar"; |
||
1164 | this.settingType = 0; |
||
1165 | DL_Set_Label(DAB_TEXT.Bar); |
||
1166 | DL_Set_Anchor("_ConditionMenu", 0, -50); |
||
1167 | </OnLoad> |
||
1168 | </Scripts> |
||
1169 | </Button> |
||
1170 | <CheckButton name="$parent_IgnoreGlobal" inherits="DAB_CheckBoxTemplate" hidden="true"> |
||
1171 | <Anchors> |
||
1172 | <Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu" relativePoint="BOTTOMLEFT"> |
||
1173 | <Offset><AbsDimension x="0" y="-77"/></Offset> |
||
1174 | </Anchor> |
||
1175 | </Anchors> |
||
1176 | <Scripts> |
||
1177 | <OnLoad> |
||
1178 | this.index = "CONDITION"; |
||
1179 | this.subindex = "ignoreGlobal"; |
||
1180 | this.settingType = 0; |
||
1181 | DL_Set_Label(DAB_TEXT.IgnoreGlobal); |
||
1182 | </OnLoad> |
||
1183 | </Scripts> |
||
1184 | </CheckButton> |
||
1185 | <Frame name="$parent_Unit" inherits="DiscordLib_EditMenuControlTemplate" hidden="true"> |
||
1186 | <Size><AbsDimension x="125" y="22"/></Size> |
||
1187 | <Scripts> |
||
1188 | <OnLoad> |
||
1189 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1190 | this.menu = "DAB_ScrollMenu"; |
||
1191 | this.table = "DL_UNITS_LIST"; |
||
1192 | this.editFunc = DAB_UnitEditBox_OnEnterPressed; |
||
1193 | this.index = "CONDITION"; |
||
1194 | this.subindex = "unit"; |
||
1195 | this.settingType = 0; |
||
1196 | DL_Set_Label(DAB_TEXT.Unit); |
||
1197 | DL_Set_Anchor("_ConditionMenu", 0, -50); |
||
1198 | </OnLoad> |
||
1199 | </Scripts> |
||
1200 | </Frame> |
||
1201 | <Frame name="$parent_Unit2" inherits="DiscordLib_EditMenuControlTemplate" hidden="true"> |
||
1202 | <Size><AbsDimension x="125" y="22"/></Size> |
||
1203 | <Scripts> |
||
1204 | <OnLoad> |
||
1205 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1206 | this.menu = "DAB_ScrollMenu"; |
||
1207 | this.table = "DL_UNITS_LIST"; |
||
1208 | this.editFunc = DAB_UnitEditBox_OnEnterPressed; |
||
1209 | this.index = "CONDITION"; |
||
1210 | this.subindex = "unit2"; |
||
1211 | this.settingType = 0; |
||
1212 | DL_Set_Label(DAB_TEXT.Unit); |
||
1213 | DL_Set_Anchor("_ConditionMenu", 0, -75); |
||
1214 | </OnLoad> |
||
1215 | </Scripts> |
||
1216 | </Frame> |
||
1217 | <EditBox name="$parent_Buff" inherits="DAB_EditBoxTemplate" hidden="true"> |
||
1218 | <Size><AbsDimension x="200" y="24"/></Size> |
||
1219 | <Scripts> |
||
1220 | <OnLoad> |
||
1221 | this.index = "CONDITION"; |
||
1222 | this.subindex = "buff"; |
||
1223 | this.settingType = 0; |
||
1224 | DL_Set_Label(DAB_TEXT.BuffName); |
||
1225 | DL_Set_Anchor("_ConditionMenu", 0, -75); |
||
1226 | </OnLoad> |
||
1227 | </Scripts> |
||
1228 | </EditBox> |
||
1229 | <EditBox name="$parent_Text" inherits="DAB_EditBoxTemplate" hidden="true"> |
||
1230 | <Size><AbsDimension x="200" y="24"/></Size> |
||
1231 | <Scripts> |
||
1232 | <OnLoad> |
||
1233 | this.index = "CONDITION"; |
||
1234 | this.subindex = "text"; |
||
1235 | this.settingType = 0; |
||
1236 | DL_Set_Label(DAB_TEXT.Text); |
||
1237 | DL_Set_Anchor("_ConditionMenu", 0, -75); |
||
1238 | </OnLoad> |
||
1239 | </Scripts> |
||
1240 | </EditBox> |
||
1241 | <Button name="$parent_Comparison" inherits="DiscordLib_MenuControlTemplate" hidden="true"> |
||
1242 | <Size><AbsDimension x="50" y="22"/></Size> |
||
1243 | <Scripts> |
||
1244 | <OnLoad> |
||
1245 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1246 | this.menu = "DAB_DropMenu"; |
||
1247 | this.table = "DL_COMPARE_MENU"; |
||
1248 | this.index = "CONDITION"; |
||
1249 | this.subindex = "compare"; |
||
1250 | this.settingType = 0; |
||
1251 | DL_Set_Label(DAB_TEXT.Comparison); |
||
1252 | </OnLoad> |
||
1253 | </Scripts> |
||
1254 | </Button> |
||
1255 | <EditBox name="$parent_Number" inherits="DAB_EditBoxTemplate" hidden="true"> |
||
1256 | <Size><AbsDimension x="100" y="24"/></Size> |
||
1257 | <Scripts> |
||
1258 | <OnLoad> |
||
1259 | this.index = "CONDITION"; |
||
1260 | this.subindex = "number"; |
||
1261 | this.number = true; |
||
1262 | this.settingType = 0; |
||
1263 | DL_Set_Label(DAB_TEXT.Number); |
||
1264 | </OnLoad> |
||
1265 | </Scripts> |
||
1266 | </EditBox> |
||
1267 | <Button name="$parent_Forms" inherits="DiscordLib_MenuControlTemplate" hidden="true"> |
||
1268 | <Size><AbsDimension x="200" y="22"/></Size> |
||
1269 | <Scripts> |
||
1270 | <OnLoad> |
||
1271 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1272 | this.menu = "DAB_DropMenu"; |
||
1273 | this.table = "DL_FORMS"; |
||
1274 | this.index = "CONDITION"; |
||
1275 | this.subindex = "form"; |
||
1276 | this.settingType = 0; |
||
1277 | DL_Set_Label(DAB_TEXT.Form); |
||
1278 | DL_Set_Anchor("_ConditionMenu", 0, -50); |
||
1279 | </OnLoad> |
||
1280 | </Scripts> |
||
1281 | </Button> |
||
1282 | <Button name="$parent_Targets" inherits="DiscordLib_MenuControlTemplate" hidden="true"> |
||
1283 | <Size><AbsDimension x="200" y="22"/></Size> |
||
1284 | <Scripts> |
||
1285 | <OnLoad> |
||
1286 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1287 | this.menu = "DAB_DropMenu"; |
||
1288 | this.table = "DL_TARGET_PARAMS"; |
||
1289 | this.index = "CONDITION"; |
||
1290 | this.subindex = "target"; |
||
1291 | this.settingType = 0; |
||
1292 | DL_Set_Label(DAB_TEXT.Type); |
||
1293 | DL_Set_Anchor("_ConditionMenu", 0, -50); |
||
1294 | </OnLoad> |
||
1295 | </Scripts> |
||
1296 | </Button> |
||
1297 | |||
1298 | <Button name="$parent_Response" inherits="DiscordLib_MenuControlTemplate"> |
||
1299 | <Size><AbsDimension x="200" y="22"/></Size> |
||
1300 | <Scripts> |
||
1301 | <OnLoad> |
||
1302 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1303 | this.menu = "DAB_ScrollMenu"; |
||
1304 | this.table = "DAB_FLOATER_RESPONSES"; |
||
1305 | this.initFunc = DAB_Select_Response; |
||
1306 | DL_Set_Label(DAB_TEXT.ChooseResponse); |
||
1307 | DL_Set_Anchor("_ConditionMenu", 0, -130); |
||
1308 | </OnLoad> |
||
1309 | </Scripts> |
||
1310 | </Button> |
||
1311 | <Button name="$parent_ResponseActionID" inherits="DiscordLib_MenuControlTemplate" hidden="true"> |
||
1312 | <Size><AbsDimension x="200" y="22"/></Size> |
||
1313 | <Scripts> |
||
1314 | <OnLoad> |
||
1315 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1316 | this.menu = "DAB_ScrollMenu"; |
||
1317 | this.table = "DAB_ACTIONS"; |
||
1318 | this.index = "CONDITION"; |
||
1319 | this.subindex = "raction"; |
||
1320 | this.settingType = 0; |
||
1321 | DL_Set_Label(DAB_TEXT.Action); |
||
1322 | DL_Set_Anchor("_ConditionMenu", 0, -160); |
||
1323 | </OnLoad> |
||
1324 | </Scripts> |
||
1325 | </Button> |
||
1326 | <Slider name="$parent_Alpha" inherits="DAB_SliderTemplate" minValue="0" maxValue="100" valueStep="1" hidden="true"> |
||
1327 | <Anchors> |
||
1328 | <Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu" relativePoint="BOTTOMLEFT"> |
||
1329 | <Offset><AbsDimension x="0" y="-190"/></Offset> |
||
1330 | </Anchor> |
||
1331 | </Anchors> |
||
1332 | <Scripts> |
||
1333 | <OnLoad> |
||
1334 | this.index = "CONDITION"; |
||
1335 | this.subindex = "alpha"; |
||
1336 | this.settingType = 0; |
||
1337 | this.minlock = true; |
||
1338 | this.maxlock = true; |
||
1339 | this.scale = 100; |
||
1340 | DL_Set_Label(DAB_TEXT.Alpha); |
||
1341 | </OnLoad> |
||
1342 | </Scripts> |
||
1343 | </Slider> |
||
1344 | <Slider name="$parent_Amount" inherits="DAB_SliderTemplate" minValue="1" maxValue="100" valueStep="1" hidden="true"> |
||
1345 | <Anchors> |
||
1346 | <Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu" relativePoint="BOTTOMLEFT"> |
||
1347 | <Offset><AbsDimension x="0" y="-190"/></Offset> |
||
1348 | </Anchor> |
||
1349 | </Anchors> |
||
1350 | <Scripts> |
||
1351 | <OnLoad> |
||
1352 | this.index = "CONDITION"; |
||
1353 | this.subindex = "amount"; |
||
1354 | this.settingType = 0; |
||
1355 | this.minlock = true; |
||
1356 | DL_Set_Label(DAB_TEXT.Amount); |
||
1357 | </OnLoad> |
||
1358 | </Scripts> |
||
1359 | </Slider> |
||
1360 | <Button name="$parent_Color" inherits="DAB_ColorPickerTemplate"> |
||
1361 | <Anchors> |
||
1362 | <Anchor point="TOPLEFT" relativeTo="$parent_ConditionMenu" relativePoint="BOTTOMLEFT"> |
||
1363 | <Offset><AbsDimension x="0" y="-170"/></Offset> |
||
1364 | </Anchor> |
||
1365 | </Anchors> |
||
1366 | <Scripts> |
||
1367 | <OnLoad> |
||
1368 | this.index = "CONDITION" |
||
1369 | this.subindex = "color"; |
||
1370 | this.settingType = 0; |
||
1371 | DL_Set_Label(DAB_TEXT.Color); |
||
1372 | </OnLoad> |
||
1373 | </Scripts> |
||
1374 | </Button> |
||
1375 | <EditBox name="$parent_ResponseText" inherits="DAB_EditBoxTemplate" hidden="true"> |
||
1376 | <Size><AbsDimension x="200" y="24"/></Size> |
||
1377 | <Scripts> |
||
1378 | <OnLoad> |
||
1379 | this.index = "CONDITION"; |
||
1380 | this.subindex = "rtext"; |
||
1381 | this.settingType = 0; |
||
1382 | DL_Set_Label(DAB_TEXT.Text); |
||
1383 | DL_Set_Anchor("_ConditionMenu", 0, -195); |
||
1384 | </OnLoad> |
||
1385 | </Scripts> |
||
1386 | </EditBox> |
||
1387 | <EditBox name="$parent_ResponseNumber" inherits="DAB_EditBoxTemplate" hidden="true"> |
||
1388 | <Size><AbsDimension x="100" y="24"/></Size> |
||
1389 | <Scripts> |
||
1390 | <OnLoad> |
||
1391 | this.index = "CONDITION"; |
||
1392 | this.subindex = "rnumber"; |
||
1393 | this.number = true; |
||
1394 | this.settingType = 0; |
||
1395 | DL_Set_Label(DAB_TEXT.Number); |
||
1396 | DL_Set_Anchor("_ConditionMenu", 0, -170); |
||
1397 | </OnLoad> |
||
1398 | </Scripts> |
||
1399 | </EditBox> |
||
1400 | <Frame name="$parent_ResponseUnit" inherits="DiscordLib_EditMenuControlTemplate" hidden="true"> |
||
1401 | <Size><AbsDimension x="125" y="22"/></Size> |
||
1402 | <Scripts> |
||
1403 | <OnLoad> |
||
1404 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
1405 | this.menu = "DAB_ScrollMenu"; |
||
1406 | this.table = "DL_UNITS_LIST"; |
||
1407 | this.editFunc = DAB_UnitEditBox_OnEnterPressed; |
||
1408 | this.index = "CONDITION"; |
||
1409 | this.subindex = "runit"; |
||
1410 | this.settingType = 0; |
||
1411 | DL_Set_Label(DAB_TEXT.Unit); |
||
1412 | DL_Set_Anchor("_ConditionMenu", 0, -185); |
||
1413 | </OnLoad> |
||
1414 | </Scripts> |
||
1415 | </Frame> |
||
1416 | <EditBox name="$parent_ResponseX" inherits="DAB_EditBoxTemplate" hidden="true"> |
||
1417 | <Size><AbsDimension x="100" y="24"/></Size> |
||
1418 | <Scripts> |
||
1419 | <OnLoad> |
||
1420 | this.index = "CONDITION"; |
||
1421 | this.subindex = "rx"; |
||
1422 | this.number = true; |
||
1423 | this.settingType = 0; |
||
1424 | DL_Set_Label("X:"); |
||
1425 | DL_Set_Anchor("_ConditionMenu", 0, -170); |
||
1426 | </OnLoad> |
||
1427 | </Scripts> |
||
1428 | </EditBox> |
||
1429 | <EditBox name="$parent_ResponseY" inherits="DAB_EditBoxTemplate" hidden="true"> |
||
1430 | <Size><AbsDimension x="100" y="24"/></Size> |
||
1431 | <Scripts> |
||
1432 | <OnLoad> |
||
1433 | this.index = "CONDITION"; |
||
1434 | this.subindex = "ry"; |
||
1435 | this.number = true; |
||
1436 | this.settingType = 0; |
||
1437 | DL_Set_Label("Y:"); |
||
1438 | DL_Set_Anchor("_ConditionMenu", 0, -195); |
||
1439 | </OnLoad> |
||
1440 | </Scripts> |
||
1441 | </EditBox> |
||
1442 | |||
1443 | <EditBox name="$parent_Overrides" inherits="DAB_EditBoxTemplate"> |
||
1444 | <Size><AbsDimension x="230" y="24"/></Size> |
||
1445 | <Scripts> |
||
1446 | <OnLoad> |
||
1447 | this.index = "CONDITION"; |
||
1448 | this.subindex = "overrides"; |
||
1449 | this.settingType = 0; |
||
1450 | DL_Set_Label(DAB_TEXT.Overrides); |
||
1451 | DL_Set_Anchor("_ConditionMenu", 0, -225); |
||
1452 | </OnLoad> |
||
1453 | </Scripts> |
||
1454 | </EditBox> |
||
1455 | <Button name="$parent_AddCondition" inherits="DAB_MainMenuButton"> |
||
1456 | <Anchors> |
||
1457 | <Anchor point="BOTTOM" relativeTo="DAB_BarOptions" relativePoint="BOTTOM"> |
||
1458 | <Offset><AbsDimension x="0" y="15"/></Offset> |
||
1459 | </Anchor> |
||
1460 | </Anchors> |
||
1461 | <Scripts> |
||
1462 | <OnLoad> |
||
1463 | this:SetText(DAB_TEXT.AddCondition); |
||
1464 | </OnLoad> |
||
1465 | <OnClick> |
||
1466 | DAB_Add_Condition(); |
||
1467 | </OnClick> |
||
1468 | </Scripts> |
||
1469 | </Button> |
||
1470 | </Frames> |
||
1471 | <Layers> |
||
1472 | <Layer level="OVERLAY"> |
||
1473 | <FontString name="$parent_ParamLabel" inherits="GameFontNormal"> |
||
1474 | <Anchors> |
||
1475 | <Anchor point="TOPLEFT"> |
||
1476 | <Offset><AbsDimension x="0" y="-270"/></Offset> |
||
1477 | </Anchor> |
||
1478 | </Anchors> |
||
1479 | </FontString> |
||
1480 | <FontString name="$parent_ResponseLabel" inherits="GameFontNormal"> |
||
1481 | <Anchors> |
||
1482 | <Anchor point="TOPLEFT"> |
||
1483 | <Offset><AbsDimension x="0" y="-389"/></Offset> |
||
1484 | </Anchor> |
||
1485 | </Anchors> |
||
1486 | </FontString> |
||
1487 | </Layer> |
||
1488 | </Layers> |
||
1489 | </Frame> |
||
1490 | |||
1491 | </Ui> |