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 | <!-- options frame --> |
||
5 | <Frame name="SH_OptionsFrame1" setAllPoints="true" enableMouse="true" enableKeyboard="true" parent="SH_OptionsFrameCanvas" hidden="false"> |
||
6 | <Size> |
||
7 | <AbsDimension x="390" y="400"/> |
||
8 | </Size> |
||
9 | <Anchors> |
||
10 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"/> |
||
11 | </Anchors> |
||
12 | |||
13 | <Frames> |
||
14 | |||
15 | <Frame name="$parent_TextLabel1"> |
||
16 | <Size> |
||
17 | <AbsDimension x="80" y="20"/> |
||
18 | </Size> |
||
19 | |||
20 | <Anchors> |
||
21 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT" /> |
||
22 | </Anchors> |
||
23 | |||
24 | <Layers> |
||
25 | <Layer> |
||
26 | <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_VERSIONLABEL" /> |
||
27 | </Layer> |
||
28 | </Layers> |
||
29 | </Frame> |
||
30 | |||
31 | <Frame name="$parent_TextLabel_version"> |
||
32 | <Size> |
||
33 | <AbsDimension x="20" y="20"/> |
||
34 | </Size> |
||
35 | |||
36 | <Anchors> |
||
37 | <Anchor point="LEFT" relativeTo="$parent_TextLabel1" relativePoint="RIGHT"> |
||
38 | <Offset> |
||
39 | <AbsDimension x="-5" y="0" /> |
||
40 | </Offset> |
||
41 | </Anchor> |
||
42 | </Anchors> |
||
43 | |||
44 | <Layers> |
||
45 | <Layer> |
||
46 | <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SMARTHEAL_CURRENT_VERSION"> |
||
47 | <Color r="1" g="1" b="1"/> |
||
48 | </FontString> |
||
49 | </Layer> |
||
50 | </Layers> |
||
51 | </Frame> |
||
52 | |||
53 | |||
54 | <Frame name="$parent_TextLabel2"> |
||
55 | <Size> |
||
56 | <AbsDimension x="120" y="20"/> |
||
57 | </Size> |
||
58 | |||
59 | <Anchors> |
||
60 | <Anchor point="TOPLEFT" relativeTo="$parent_TextLabel1" relativePoint="BOTTOMLEFT"> |
||
61 | </Anchor> |
||
62 | </Anchors> |
||
63 | |||
64 | <Layers> |
||
65 | <Layer> |
||
66 | <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_HEALING_BONUS" /> |
||
67 | </Layer> |
||
68 | </Layers> |
||
69 | </Frame> |
||
70 | |||
71 | |||
72 | <Frame name="$parent_TextLabel_plushealing"> |
||
73 | <Size> |
||
74 | <AbsDimension x="20" y="20"/> |
||
75 | </Size> |
||
76 | |||
77 | <Anchors> |
||
78 | <Anchor point="LEFT" relativeTo="$parent_TextLabel2" relativePoint="RIGHT"> |
||
79 | <Offset> |
||
80 | <AbsDimension x="-5" y="0" /> |
||
81 | </Offset> |
||
82 | </Anchor> |
||
83 | </Anchors> |
||
84 | |||
85 | <Layers> |
||
86 | <Layer> |
||
87 | <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="" /> |
||
88 | </Layer> |
||
89 | </Layers> |
||
90 | |||
91 | <Scripts> |
||
92 | <OnUpdate> |
||
93 | if(BonusScanner) then |
||
94 | SH_OptionsFrame1_TextLabel_plushealing_Name:SetText("+"..BonusScanner:GetBonus("HEAL")) |
||
95 | SH_OptionsFrame1_TextLabel_plushealing_Name:SetTextColor(0,1,0) |
||
96 | else |
||
97 | SH_OptionsFrame1_TextLabel_plushealing_Name:SetText("BonusScanner not available") |
||
98 | SH_OptionsFrame1_TextLabel_plushealing_Name:SetTextColor(1,0,0) |
||
99 | end |
||
100 | </OnUpdate> |
||
101 | </Scripts> |
||
102 | </Frame> |
||
103 | |||
104 | |||
105 | |||
106 | <CheckButton name="$parent_CheckButton_enable"> |
||
107 | <Size> |
||
108 | <AbsDimension x="24" y="24" /> |
||
109 | </Size> |
||
110 | <Anchors> |
||
111 | <Anchor point="TOPLEFT" relativeTo="$parent_TextLabel2" relativePoint="BOTTOMLEFT"> |
||
112 | <Offset> |
||
113 | <AbsDimension x="0" y="-5" /> |
||
114 | </Offset> |
||
115 | </Anchor> |
||
116 | </Anchors> |
||
117 | <Layers> |
||
118 | <Layer> |
||
119 | <FontString name="$parent_Name" inherits="GameFontNormal" text="SH_ENABLE_SMARTHEAL"> |
||
120 | <Anchors> |
||
121 | <Anchor point="LEFT" relativePoint="RIGHT"> |
||
122 | <Offset> |
||
123 | <AbsDimension x="-2" y="0" /> |
||
124 | </Offset> |
||
125 | </Anchor> |
||
126 | </Anchors> |
||
127 | <FontHeight> |
||
128 | <AbsValue val="10" /> |
||
129 | </FontHeight> |
||
130 | <Color r="1" g="0.8196079" b="0" /> |
||
131 | <Shadow> |
||
132 | <Color r="0" g="0" b="0" /> |
||
133 | <Offset> |
||
134 | <AbsDimension x="1" y="-1" /> |
||
135 | </Offset> |
||
136 | </Shadow> |
||
137 | </FontString> |
||
138 | </Layer> |
||
139 | </Layers> |
||
140 | <Scripts> |
||
141 | <OnShow> |
||
142 | this:SetChecked(SmartHeal:getConfig('enable')) |
||
143 | </OnShow> |
||
144 | <OnClick> |
||
145 | SmartHeal:ClickCheckBox(this:GetName(),this:GetChecked()) |
||
146 | </OnClick> |
||
147 | </Scripts> |
||
148 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
149 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
150 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
151 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
152 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" /> |
||
153 | </CheckButton> |
||
154 | |||
155 | <CheckButton name="$parent_CheckButton_enabled_minimapbutton"> |
||
156 | <Size> |
||
157 | <AbsDimension x="24" y="24" /> |
||
158 | </Size> |
||
159 | <Anchors> |
||
160 | <Anchor point="TOPLEFT" relativeTo="$parent_CheckButton_enable" relativePoint="BOTTOMLEFT"> |
||
161 | <Offset> |
||
162 | <AbsDimension x="0" y="-5" /> |
||
163 | </Offset> |
||
164 | </Anchor> |
||
165 | </Anchors> |
||
166 | <Layers> |
||
167 | <Layer> |
||
168 | <FontString name="$parent_Name" inherits="GameFontNormal" text="SH_SHOW_MINIMAP_BUTTON"> |
||
169 | <Anchors> |
||
170 | <Anchor point="LEFT" relativePoint="RIGHT"> |
||
171 | <Offset> |
||
172 | <AbsDimension x="-2" y="0" /> |
||
173 | </Offset> |
||
174 | </Anchor> |
||
175 | </Anchors> |
||
176 | <FontHeight> |
||
177 | <AbsValue val="10" /> |
||
178 | </FontHeight> |
||
179 | <Color r="1" g="0.8196079" b="0" /> |
||
180 | <Shadow> |
||
181 | <Color r="0" g="0" b="0" /> |
||
182 | <Offset> |
||
183 | <AbsDimension x="1" y="-1" /> |
||
184 | </Offset> |
||
185 | </Shadow> |
||
186 | </FontString> |
||
187 | </Layer> |
||
188 | </Layers> |
||
189 | <Scripts> |
||
190 | <OnShow> |
||
191 | this:SetChecked(SmartHeal:getConfig('enabled','minimapbutton')) |
||
192 | if(this:GetChecked()) then MyMinimapButton:Enable('SmartHeal') |
||
193 | else MyMinimapButton:Disable('SmartHeal') end |
||
194 | |||
195 | </OnShow> |
||
196 | <OnClick> |
||
197 | SmartHeal:ClickCheckBox(this:GetName(),this:GetChecked()) |
||
198 | if(this:GetChecked()) then MyMinimapButton:Enable('SmartHeal') |
||
199 | else MyMinimapButton:Disable('SmartHeal') end |
||
200 | </OnClick> |
||
201 | </Scripts> |
||
202 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
203 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
204 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
205 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
206 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" /> |
||
207 | </CheckButton> |
||
208 | |||
209 | |||
210 | <EditBox name="$parent_EditBox_overheal" enableMouse="true" letters="3" autoFocus="false"> |
||
211 | <Size> |
||
212 | <AbsDimension x="40" y="20" /> |
||
213 | </Size> |
||
214 | <Anchors> |
||
215 | <Anchor point="TOPLEFT" relativeTo="$parent_CheckButton_enabled_minimapbutton" relativePoint="BOTTOMLEFT"> |
||
216 | <Offset> |
||
217 | <AbsDimension x="0" y="-5" /> |
||
218 | </Offset> |
||
219 | </Anchor> |
||
220 | </Anchors> |
||
221 | <Layers> |
||
222 | <Layer level="BACKGROUND"> |
||
223 | <Texture name="$parentLeft" file="Interface\Common\Common-Input-Border"> |
||
224 | <Size> |
||
225 | <AbsDimension x="8" y="20" /> |
||
226 | </Size> |
||
227 | <Anchors> |
||
228 | <Anchor point="LEFT" /> |
||
229 | </Anchors> |
||
230 | <TexCoords left="0" right="0.0625" top="0" bottom="0.625" /> |
||
231 | </Texture> |
||
232 | <Texture name="$parentRight" file="Interface\Common\Common-Input-Border"> |
||
233 | <Size> |
||
234 | <AbsDimension x="8" y="20" /> |
||
235 | </Size> |
||
236 | <Anchors> |
||
237 | <Anchor point="RIGHT" /> |
||
238 | </Anchors> |
||
239 | <TexCoords left="0.9375" right="1" top="0" bottom="0.625" /> |
||
240 | </Texture> |
||
241 | <Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border"> |
||
242 | <Size> |
||
243 | <AbsDimension x="10" y="20" /> |
||
244 | </Size> |
||
245 | <Anchors> |
||
246 | <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT" /> |
||
247 | <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT" /> |
||
248 | </Anchors> |
||
249 | <TexCoords left="0.0625" right="0.9375" top="0" bottom="0.625" /> |
||
250 | </Texture> |
||
251 | </Layer> |
||
252 | </Layers> |
||
253 | <Scripts> |
||
254 | <OnShow> |
||
255 | this:SetText(SmartHeal:getConfig('overheal')) |
||
256 | </OnShow> |
||
257 | <OnTextChanged> |
||
258 | SmartHeal:setConfig('overheal',this:GetNumber()) |
||
259 | </OnTextChanged> |
||
260 | </Scripts> |
||
261 | <FontString name="$parent_Name" inherits="GameFontNormal"> |
||
262 | <FontHeight> |
||
263 | <AbsValue val="14" /> |
||
264 | </FontHeight> |
||
265 | <Color r="1" g="1" b="1" /> |
||
266 | <Shadow> |
||
267 | <Color r="0" g="0" b="0" /> |
||
268 | <Offset> |
||
269 | <AbsDimension x="1" y="-1" /> |
||
270 | </Offset> |
||
271 | </Shadow> |
||
272 | </FontString> |
||
273 | |||
274 | </EditBox> |
||
275 | |||
276 | <Frame name="$parent_TextLabel3"> |
||
277 | <Size> |
||
278 | <AbsDimension x="200" y="20"/> |
||
279 | </Size> |
||
280 | |||
281 | <Anchors> |
||
282 | <Anchor point="LEFT" relativeTo="$parent_EditBox_overheal" relativePoint="RIGHT"> |
||
283 | <Offset> |
||
284 | <AbsDimension x="5" y="0" /> |
||
285 | </Offset> |
||
286 | </Anchor> |
||
287 | </Anchors> |
||
288 | |||
289 | <Layers> |
||
290 | <Layer> |
||
291 | <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_OVERHEAL_LABEL" /> |
||
292 | </Layer> |
||
293 | </Layers> |
||
294 | </Frame> |
||
295 | |||
296 | <CheckButton name="$parent_CheckButton_override"> |
||
297 | <Size> |
||
298 | <AbsDimension x="24" y="24" /> |
||
299 | </Size> |
||
300 | <Anchors> |
||
301 | <Anchor point="TOPLEFT" relativeTo="$parent_EditBox_overheal" relativePoint="BOTTOMLEFT"> |
||
302 | <Offset> |
||
303 | <AbsDimension x="0" y="-5" /> |
||
304 | </Offset> |
||
305 | </Anchor> |
||
306 | </Anchors> |
||
307 | <Layers> |
||
308 | <Layer> |
||
309 | <FontString name="$parent_Name" inherits="GameFontNormal" text="SH_OVERRIDE_HOTKEY"> |
||
310 | <Anchors> |
||
311 | <Anchor point="LEFT" relativePoint="RIGHT"> |
||
312 | <Offset> |
||
313 | <AbsDimension x="-2" y="0" /> |
||
314 | </Offset> |
||
315 | </Anchor> |
||
316 | </Anchors> |
||
317 | <FontHeight> |
||
318 | <AbsValue val="10" /> |
||
319 | </FontHeight> |
||
320 | <Color r="1" g="0.8196079" b="0" /> |
||
321 | <Shadow> |
||
322 | <Color r="0" g="0" b="0" /> |
||
323 | <Offset> |
||
324 | <AbsDimension x="1" y="-1" /> |
||
325 | </Offset> |
||
326 | </Shadow> |
||
327 | </FontString> |
||
328 | </Layer> |
||
329 | </Layers> |
||
330 | <Scripts> |
||
331 | <OnShow> |
||
332 | this:SetChecked(SmartHeal:getConfig('override')) |
||
333 | </OnShow> |
||
334 | <OnClick> |
||
335 | SmartHeal:ClickCheckBox(this:GetName(),this:GetChecked()) |
||
336 | </OnClick> |
||
337 | </Scripts> |
||
338 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
339 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
340 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
341 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
342 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" /> |
||
343 | </CheckButton> |
||
344 | |||
345 | <CheckButton name="$parent_CheckButton_altselfcast"> |
||
346 | <Size> |
||
347 | <AbsDimension x="24" y="24" /> |
||
348 | </Size> |
||
349 | <Anchors> |
||
350 | <Anchor point="TOPLEFT" relativeTo="$parent_CheckButton_override" relativePoint="BOTTOMLEFT"> |
||
351 | <Offset> |
||
352 | <AbsDimension x="0" y="-5" /> |
||
353 | </Offset> |
||
354 | </Anchor> |
||
355 | </Anchors> |
||
356 | <Layers> |
||
357 | <Layer> |
||
358 | <FontString name="$parent_Name" inherits="GameFontNormal" text="SH_ALTKEY_TO_SELFCAST"> |
||
359 | <Anchors> |
||
360 | <Anchor point="LEFT" relativePoint="RIGHT"> |
||
361 | <Offset> |
||
362 | <AbsDimension x="-2" y="0" /> |
||
363 | </Offset> |
||
364 | </Anchor> |
||
365 | </Anchors> |
||
366 | <FontHeight> |
||
367 | <AbsValue val="10" /> |
||
368 | </FontHeight> |
||
369 | <Color r="1" g="0.8196079" b="0" /> |
||
370 | <Shadow> |
||
371 | <Color r="0" g="0" b="0" /> |
||
372 | <Offset> |
||
373 | <AbsDimension x="1" y="-1" /> |
||
374 | </Offset> |
||
375 | </Shadow> |
||
376 | </FontString> |
||
377 | </Layer> |
||
378 | </Layers> |
||
379 | <Scripts> |
||
380 | <OnShow> |
||
381 | this:SetChecked(SmartHeal:getConfig('altselfcast')) |
||
382 | </OnShow> |
||
383 | <OnClick> |
||
384 | SmartHeal:ClickCheckBox(this:GetName(),this:GetChecked()) |
||
385 | </OnClick> |
||
386 | </Scripts> |
||
387 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
388 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
389 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
390 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
391 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" /> |
||
392 | </CheckButton> |
||
393 | |||
394 | <CheckButton name="$parent_CheckButton_RClickHotKeySelfCast"> |
||
395 | <Size> |
||
396 | <AbsDimension x="24" y="24" /> |
||
397 | </Size> |
||
398 | <Anchors> |
||
399 | <Anchor point="TOPLEFT" relativeTo="$parent_CheckButton_altselfcast" relativePoint="BOTTOMLEFT"> |
||
400 | <Offset> |
||
401 | <AbsDimension x="0" y="-5" /> |
||
402 | </Offset> |
||
403 | </Anchor> |
||
404 | </Anchors> |
||
405 | <Layers> |
||
406 | <Layer> |
||
407 | <FontString name="$parent_Name" inherits="GameFontNormal" text="SH_RCLICK_HOTKEY_TO_SELFCAST"> |
||
408 | <Anchors> |
||
409 | <Anchor point="LEFT" relativePoint="RIGHT"> |
||
410 | <Offset> |
||
411 | <AbsDimension x="-2" y="0" /> |
||
412 | </Offset> |
||
413 | </Anchor> |
||
414 | </Anchors> |
||
415 | <FontHeight> |
||
416 | <AbsValue val="10" /> |
||
417 | </FontHeight> |
||
418 | <Color r="1" g="0.8196079" b="0" /> |
||
419 | <Shadow> |
||
420 | <Color r="0" g="0" b="0" /> |
||
421 | <Offset> |
||
422 | <AbsDimension x="1" y="-1" /> |
||
423 | </Offset> |
||
424 | </Shadow> |
||
425 | </FontString> |
||
426 | </Layer> |
||
427 | </Layers> |
||
428 | <Scripts> |
||
429 | <OnShow> |
||
430 | this:SetChecked(SmartHeal:getConfig('RClickHotKeySelfCast')) |
||
431 | </OnShow> |
||
432 | <OnClick> |
||
433 | SmartHeal:ClickCheckBox(this:GetName(),this:GetChecked()) |
||
434 | </OnClick> |
||
435 | </Scripts> |
||
436 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
437 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
438 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
439 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
440 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" /> |
||
441 | </CheckButton> |
||
442 | |||
443 | <CheckButton name="$parent_CheckButton_autoselfcast"> |
||
444 | <Size> |
||
445 | <AbsDimension x="24" y="24" /> |
||
446 | </Size> |
||
447 | <Anchors> |
||
448 | <Anchor point="TOPLEFT" relativeTo="$parent_CheckButton_RClickHotKeySelfCast" relativePoint="BOTTOMLEFT"> |
||
449 | <Offset> |
||
450 | <AbsDimension x="0" y="-5" /> |
||
451 | </Offset> |
||
452 | </Anchor> |
||
453 | </Anchors> |
||
454 | <Layers> |
||
455 | <Layer> |
||
456 | <FontString name="$parent_Name" inherits="GameFontNormal" text="SH_AUTO_SELFCAST"> |
||
457 | <Anchors> |
||
458 | <Anchor point="LEFT" relativePoint="RIGHT"> |
||
459 | <Offset> |
||
460 | <AbsDimension x="-2" y="0" /> |
||
461 | </Offset> |
||
462 | </Anchor> |
||
463 | </Anchors> |
||
464 | <FontHeight> |
||
465 | <AbsValue val="10" /> |
||
466 | </FontHeight> |
||
467 | <Color r="1" g="0.8196079" b="0" /> |
||
468 | <Shadow> |
||
469 | <Color r="0" g="0" b="0" /> |
||
470 | <Offset> |
||
471 | <AbsDimension x="1" y="-1" /> |
||
472 | </Offset> |
||
473 | </Shadow> |
||
474 | </FontString> |
||
475 | </Layer> |
||
476 | </Layers> |
||
477 | <Scripts> |
||
478 | <OnShow> |
||
479 | this:SetChecked(SmartHeal:getConfig('autoselfcast')) |
||
480 | </OnShow> |
||
481 | <OnClick> |
||
482 | SmartHeal:ClickCheckBox(this:GetName(),this:GetChecked()) |
||
483 | </OnClick> |
||
484 | </Scripts> |
||
485 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
486 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
487 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
488 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
489 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" /> |
||
490 | </CheckButton> |
||
491 | |||
492 | <CheckButton name="$parent_CheckButton_alert"> |
||
493 | <Size> |
||
494 | <AbsDimension x="24" y="24" /> |
||
495 | </Size> |
||
496 | <Anchors> |
||
497 | <Anchor point="TOPLEFT" relativeTo="$parent_CheckButton_autoselfcast" relativePoint="BOTTOMLEFT"> |
||
498 | <Offset> |
||
499 | <AbsDimension x="0" y="-5" /> |
||
500 | </Offset> |
||
501 | </Anchor> |
||
502 | </Anchors> |
||
503 | <Layers> |
||
504 | <Layer> |
||
505 | <FontString name="$parent_Name" inherits="GameFontNormal" text="SH_ALERT_COMPETING_HEALS"> |
||
506 | <Anchors> |
||
507 | <Anchor point="LEFT" relativePoint="RIGHT"> |
||
508 | <Offset> |
||
509 | <AbsDimension x="-2" y="0" /> |
||
510 | </Offset> |
||
511 | </Anchor> |
||
512 | </Anchors> |
||
513 | <FontHeight> |
||
514 | <AbsValue val="10" /> |
||
515 | </FontHeight> |
||
516 | <Color r="1" g="0.8196079" b="0" /> |
||
517 | <Shadow> |
||
518 | <Color r="0" g="0" b="0" /> |
||
519 | <Offset> |
||
520 | <AbsDimension x="1" y="-1" /> |
||
521 | </Offset> |
||
522 | </Shadow> |
||
523 | </FontString> |
||
524 | </Layer> |
||
525 | </Layers> |
||
526 | <Scripts> |
||
527 | <OnShow> |
||
528 | this:SetChecked(SmartHeal:getConfig('alert')) |
||
529 | </OnShow> |
||
530 | <OnClick> |
||
531 | SmartHeal:ClickCheckBox(this:GetName(),this:GetChecked()) |
||
532 | </OnClick> |
||
533 | </Scripts> |
||
534 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
535 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
536 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
537 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
538 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" /> |
||
539 | </CheckButton> |
||
540 | |||
541 | |||
542 | <CheckButton name="$parent_CheckButton_excesshealalert"> |
||
543 | <Size> |
||
544 | <AbsDimension x="24" y="24" /> |
||
545 | </Size> |
||
546 | <Anchors> |
||
547 | <Anchor point="TOPLEFT" relativeTo="$parent_CheckButton_alert" relativePoint="BOTTOMLEFT"> |
||
548 | <Offset> |
||
549 | <AbsDimension x="0" y="-5" /> |
||
550 | </Offset> |
||
551 | </Anchor> |
||
552 | </Anchors> |
||
553 | <Layers> |
||
554 | <Layer> |
||
555 | <FontString name="$parent_Name" inherits="GameFontNormal" text="SH_ALERT_EXCESSIVE_HEALS"> |
||
556 | <Anchors> |
||
557 | <Anchor point="LEFT" relativePoint="RIGHT"> |
||
558 | <Offset> |
||
559 | <AbsDimension x="-2" y="0" /> |
||
560 | </Offset> |
||
561 | </Anchor> |
||
562 | </Anchors> |
||
563 | <FontHeight> |
||
564 | <AbsValue val="10" /> |
||
565 | </FontHeight> |
||
566 | <Color r="1" g="0.8196079" b="0" /> |
||
567 | <Shadow> |
||
568 | <Color r="0" g="0" b="0" /> |
||
569 | <Offset> |
||
570 | <AbsDimension x="1" y="-1" /> |
||
571 | </Offset> |
||
572 | </Shadow> |
||
573 | </FontString> |
||
574 | </Layer> |
||
575 | </Layers> |
||
576 | <Scripts> |
||
577 | <OnShow> |
||
578 | this:SetChecked(SmartHeal:getConfig('excesshealalert')) |
||
579 | </OnShow> |
||
580 | <OnClick> |
||
581 | SmartHeal:ClickCheckBox(this:GetName(),this:GetChecked()) |
||
582 | </OnClick> |
||
583 | </Scripts> |
||
584 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
585 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
586 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
587 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
588 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" /> |
||
589 | </CheckButton> |
||
590 | |||
591 | <EditBox name="$parent_EditBox_excesshealalerttrigger" enableMouse="true" letters="3" autoFocus="false"> |
||
592 | <Size> |
||
593 | <AbsDimension x="40" y="20" /> |
||
594 | </Size> |
||
595 | <Anchors> |
||
596 | <Anchor point="TOPLEFT" relativeTo="$parent_CheckButton_excesshealalert" relativePoint="BOTTOMLEFT"> |
||
597 | <Offset> |
||
598 | <AbsDimension x="0" y="-5" /> |
||
599 | </Offset> |
||
600 | </Anchor> |
||
601 | </Anchors> |
||
602 | <Layers> |
||
603 | <Layer level="BACKGROUND"> |
||
604 | <Texture name="$parentLeft" file="Interface\Common\Common-Input-Border"> |
||
605 | <Size> |
||
606 | <AbsDimension x="8" y="20" /> |
||
607 | </Size> |
||
608 | <Anchors> |
||
609 | <Anchor point="LEFT" /> |
||
610 | </Anchors> |
||
611 | <TexCoords left="0" right="0.0625" top="0" bottom="0.625" /> |
||
612 | </Texture> |
||
613 | <Texture name="$parentRight" file="Interface\Common\Common-Input-Border"> |
||
614 | <Size> |
||
615 | <AbsDimension x="8" y="20" /> |
||
616 | </Size> |
||
617 | <Anchors> |
||
618 | <Anchor point="RIGHT" /> |
||
619 | </Anchors> |
||
620 | <TexCoords left="0.9375" right="1" top="0" bottom="0.625" /> |
||
621 | </Texture> |
||
622 | <Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border"> |
||
623 | <Size> |
||
624 | <AbsDimension x="10" y="20" /> |
||
625 | </Size> |
||
626 | <Anchors> |
||
627 | <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT" /> |
||
628 | <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT" /> |
||
629 | </Anchors> |
||
630 | <TexCoords left="0.0625" right="0.9375" top="0" bottom="0.625" /> |
||
631 | </Texture> |
||
632 | </Layer> |
||
633 | </Layers> |
||
634 | <Scripts> |
||
635 | <OnShow> |
||
636 | this:SetText(SmartHeal:getConfig('excesshealalerttrigger')) |
||
637 | </OnShow> |
||
638 | <OnTextChanged> |
||
639 | SmartHeal:setConfig('excesshealalerttrigger',this:GetNumber()) |
||
640 | </OnTextChanged> |
||
641 | </Scripts> |
||
642 | <FontString name="$parent_Name" inherits="GameFontNormal"> |
||
643 | <FontHeight> |
||
644 | <AbsValue val="14" /> |
||
645 | </FontHeight> |
||
646 | <Color r="1" g="1" b="1" /> |
||
647 | <Shadow> |
||
648 | <Color r="0" g="0" b="0" /> |
||
649 | <Offset> |
||
650 | <AbsDimension x="1" y="-1" /> |
||
651 | </Offset> |
||
652 | </Shadow> |
||
653 | </FontString> |
||
654 | |||
655 | </EditBox> |
||
656 | |||
657 | <Frame name="$parent_TextLabel4"> |
||
658 | <Size> |
||
659 | <AbsDimension x="200" y="20"/> |
||
660 | </Size> |
||
661 | |||
662 | <Anchors> |
||
663 | <Anchor point="LEFT" relativeTo="$parent_EditBox_excesshealalerttrigger" relativePoint="RIGHT"> |
||
664 | <Offset> |
||
665 | <AbsDimension x="5" y="0" /> |
||
666 | </Offset> |
||
667 | </Anchor> |
||
668 | </Anchors> |
||
669 | |||
670 | <Layers> |
||
671 | <Layer> |
||
672 | <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_EXCESSHEALALERT_LABEL" /> |
||
673 | </Layer> |
||
674 | </Layers> |
||
675 | </Frame> |
||
676 | |||
677 | <CheckButton name="$parent_CheckButton_healstack"> |
||
678 | <Size> |
||
679 | <AbsDimension x="24" y="24" /> |
||
680 | </Size> |
||
681 | <Anchors> |
||
682 | <Anchor point="TOPLEFT" relativeTo="$parent_EditBox_excesshealalerttrigger" relativePoint="BOTTOMLEFT"> |
||
683 | <Offset> |
||
684 | <AbsDimension x="0" y="-5" /> |
||
685 | </Offset> |
||
686 | </Anchor> |
||
687 | </Anchors> |
||
688 | <Layers> |
||
689 | <Layer> |
||
690 | <FontString name="$parent_Name" inherits="GameFontNormal" text="SH_HEALSTACK_CTRA"> |
||
691 | <Anchors> |
||
692 | <Anchor point="LEFT" relativePoint="RIGHT"> |
||
693 | <Offset> |
||
694 | <AbsDimension x="-2" y="0" /> |
||
695 | </Offset> |
||
696 | </Anchor> |
||
697 | </Anchors> |
||
698 | <FontHeight> |
||
699 | <AbsValue val="10" /> |
||
700 | </FontHeight> |
||
701 | <Color r="1" g="0.8196079" b="0" /> |
||
702 | <Shadow> |
||
703 | <Color r="0" g="0" b="0" /> |
||
704 | <Offset> |
||
705 | <AbsDimension x="1" y="-1" /> |
||
706 | </Offset> |
||
707 | </Shadow> |
||
708 | </FontString> |
||
709 | </Layer> |
||
710 | </Layers> |
||
711 | <Scripts> |
||
712 | <OnShow> |
||
713 | this:SetChecked(SmartHeal:getConfig('healstack')) |
||
714 | </OnShow> |
||
715 | <OnClick> |
||
716 | SmartHeal:ClickCheckBox(this:GetName(),this:GetChecked()) |
||
717 | </OnClick> |
||
718 | </Scripts> |
||
719 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
720 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
721 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
722 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
723 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" /> |
||
724 | </CheckButton> |
||
725 | |||
726 | </Frames> |
||
727 | |||
728 | <Scripts> |
||
729 | <OnKeyDown> |
||
730 | if (arg1 == "ESCAPE") then |
||
731 | this:GetParent():GetParent():Hide(); |
||
732 | end |
||
733 | </OnKeyDown> |
||
734 | </Scripts> |
||
735 | |||
736 | </Frame> |
||
737 | </UI> |