vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 <!--
2 KLHThreatMeter KTM_Frame.xml
3  
4 The main window for the KLHThreatMeter gui. Controlled by KTM_Gui.lua, KTM_SelfGui.lua,
5 KTM_RaidGui.lua, KTM_TitleGui.lua. Also contains an OnUpdate frame. A brief table of
6 contents:
7  
8 - Title bar (info strings, command buttons, background)
9 - Self frame (headers, data rows, totals)
10 - Raid frame (headers, data rows, bottom bar)
11 -->
12  
13 <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/ ..\FrameXML\UI.xsd">
14  
15 <!-- The base font -->
16 <Font name="KLHTM_FontDefault" inherits="GameFontNormal" virtual="true">
17 <Color r="1.0" g="1.0" b="1.0"/>
18 </Font>
19  
20 <!-- Used by the "name" data strings -->
21 <Font name="KLHTM_FontLeft" inherits="KLHTM_FontDefault" justifyH="LEFT" virtual="true"/>
22  
23 <!-- Used by title bar strings -->
24 <Font name="KLHTM_FontCenter" inherits="KLHTM_FontDefault" justifyH="CENTER" virtual="true"/>
25  
26 <!-- Used by data strings -->
27 <Font name="KLHTM_FontRight" inherits="KLHTM_FontDefault" justifyH="RIGHT" virtual="true"/>
28  
29 <!-- Used by column headers -->
30 <Font name="KLHTM_FontYellowRight" inherits="KLHTM_FontRight" virtual="true">
31 <Color r="1.0" g="0.82" b="0"/>
32 </Font>
33  
34 <!-- Used by the "name" column headers -->
35 <Font name="KLHTM_FontYellowLeft" inherits="KLHTM_FontLeft" virtual="true">
36 <Color r="1.0" g="0.82" b="0"/>
37 </Font>
38  
39  
40 <!-- A fontstring with the default font and a frame for packaging. Used by
41 "name" data strings. -->
42 <Frame name="KLHTM_StringTemplate" virtual="true">
43 <Layers>
44 <Layer level="OVERLAY">
45 <FontString name="$parentText" inherits="KLHTM_FontLeft">
46 <Anchors>
47 <Anchor point="RIGHT">
48 <Offset x="10" y="0"/>
49 </Anchor>
50 <Anchor point="LEFT"/>
51 </Anchors>
52 </FontString>
53 </Layer>
54 </Layers>
55 </Frame>
56  
57 <!-- A fontstring with right-aligned font and a frame for packaging. Used by data strings -->
58 <Frame name="KLHTM_NumberTemplate" virtual="true">
59 <Layers>
60 <Layer level="OVERLAY">
61 <FontString name="$parentText" inherits="KLHTM_FontRight">
62 <Anchors>
63 <Anchor point="LEFT">
64 <Offset x="-6" y="0"/>
65 </Anchor>
66 <Anchor point="RIGHT"/>
67 </Anchors>
68 </FontString>
69 </Layer>
70 </Layers>
71 </Frame>
72  
73 <!-- A column header for the Raid view -->
74 <Frame name="KLHTM_RaidNumberHeaderTemplate" virtual="true">
75 <Layers>
76 <Layer level="OVERLAY">
77 <FontString name="$parentText" inherits="KLHTM_FontYellowRight">
78 <Anchors>
79 <Anchor point="LEFT">
80 <Offset x="-6" y="0"/>
81 </Anchor>
82 <Anchor point="RIGHT"/>
83 </Anchors>
84 </FontString>
85 </Layer>
86 </Layers>
87 </Frame>
88  
89 <!-- A left-sligned column header for the Raid view -->
90 <Frame name="KLHTM_RaidStringHeaderTemplate" virtual="true">
91 <Layers>
92 <Layer level="OVERLAY">
93 <FontString name="$parentText" inherits="KLHTM_FontYellowLeft">
94 <Anchors>
95 <Anchor point="RIGHT">
96 <Offset x="10" y="0"/>
97 </Anchor>
98 <Anchor point="LEFT"/>
99 </Anchors>
100 </FontString>
101 </Layer>
102 </Layers>
103 </Frame>
104  
105 <!-- A column header for the Self view -->
106 <Button name="KLHTM_SelfHeaderNumberTemplate" virtual="true">
107 <NormalText name="$parentText" inherits="KLHTM_FontYellowRight">
108 <Anchors>
109 <Anchor point="LEFT">
110 <Offset x="-6" y="0"/>
111 </Anchor>
112 <Anchor point="RIGHT"/>
113 </Anchors>
114 </NormalText>
115 <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD">
116 <Anchors>
117 <Anchor point="TOPLEFT"/>
118 <Anchor point="BOTTOMRIGHT"/>
119 </Anchors>
120 </HighlightTexture>
121 </Button>
122  
123 <!-- A left-aligned column header for the Self view -->
124 <Button name="KLHTM_SelfHeaderStringTemplate" virtual="true">
125 <NormalText name="$parentText" inherits="KLHTM_FontYellowLeft">
126 <Anchors>
127 <Anchor point="RIGHT">
128 <Offset x="10" y="0"/>
129 </Anchor>
130 <Anchor point="LEFT"/>
131 </Anchors>
132 </NormalText>
133 <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD">
134 <Anchors>
135 <Anchor point="TOPLEFT"/>
136 <Anchor point="BOTTOMRIGHT"/>
137 </Anchors>
138 </HighlightTexture>
139 </Button>
140  
141 <!-- A title bar string -->
142 <Frame name="KLHTM_TitleStringTemplate" virtual="true">
143 <Layers>
144 <Layer level="OVERLAY">
145 <FontString name="$parentText" inherits="KLHTM_FontCenter">
146 <Anchors>
147 <Anchor point="CENTER"/>
148 </Anchors>
149 </FontString>
150 </Layer>
151 </Layers>
152 <Scripts>
153 <OnDragStop> KLHTM_Frame_OnDragStop(); </OnDragStop>
154 </Scripts>
155 </Frame>
156  
157 <!-- The command buttons on the right side of the title bar -->
158 <Button name="KLHTM_ButtonTemplate" virtual="true">
159 <Scripts>
160 <OnLeave> KLHTM_Button_OnLeave(); </OnLeave>
161 </Scripts>
162 <HighlightTexture>
163 <Anchors>
164 <Anchor point="TOPLEFT">
165 <Offset x="2" y="-2"/>
166 </Anchor>
167 <Anchor point="BOTTOMRIGHT">
168 <Offset x="-2" y="2"/>
169 </Anchor>
170 </Anchors>
171 <Color r="1.0" g="1.0" b="0" a="0.1"/>
172 </HighlightTexture>
173 </Button>
174  
175 <!-- A dark red background texture used by some buttons to supplement a transparent texture -->
176 <Texture name="KLHTM_ButtonBackground" virtual="true">
177 <Anchors>
178 <Anchor point="TOPLEFT">
179 <Offset x="2" y="-2"/>
180 </Anchor>
181 <Anchor point="BOTTOMRIGHT">
182 <Offset x="-2" y="2"/>
183 </Anchor>
184 </Anchors>
185 <Color r="0.7" g="0" b="0"/>
186 </Texture>
187  
188 <!-- A data row for a single person in the raid -->
189 <Frame name="KLHTM_RaidRowTemplate" virtual="true">
190 <Frames>
191 <!-- Player name -->
192 <Frame name="$parentName" inherits="KLHTM_StringTemplate">
193 <Anchors>
194 <Anchor point="TOPLEFT"/>
195 </Anchors>
196 </Frame>
197 <!-- Threat value -->
198 <Frame name="$parentThreat" inherits="KLHTM_NumberTemplate">
199 <Anchors>
200 <Anchor point="LEFT" relativeTo="$parentName" relativePoint="RIGHT"/>
201 </Anchors>
202 </Frame>
203 <!-- Percent of max threat -->
204 <Frame name="$parentPercentThreat" inherits="KLHTM_NumberTemplate">
205 <Anchors>
206 <Anchor point="LEFT" relativeTo="$parentThreat" relativePoint="RIGHT"/>
207 </Anchors>
208 </Frame>
209 </Frames>
210 <Layers>
211 <Layer level="BACKGROUND">
212 <!-- Status bar showing % threat -->
213 <Texture name="$parentBar" file="Interface\TargetingFrame\UI-StatusBar">
214 <Anchors>
215 <Anchor point="TOPLEFT">
216 <Offset x="0" y="-1"/>
217 </Anchor>
218 <Anchor point="BOTTOMLEFT"/>
219 </Anchors>
220 </Texture>
221 </Layer>
222 </Layers>
223 </Frame>
224  
225 <!-- A data row for a single ability type in the Self window -->
226 <Frame name="KLHTM_SelfRowTemplate" virtual="true">
227 <Frames>
228 <!-- Ability name -->
229 <Frame name="$parentName" inherits="KLHTM_StringTemplate">
230 <Anchors>
231 <Anchor point="TOPLEFT"/>
232 </Anchors>
233 </Frame>
234 <!-- Ability hits -->
235 <Frame name="$parentHits" inherits="KLHTM_NumberTemplate">
236 <Anchors>
237 <Anchor point="LEFT" relativeTo="$parentName" relativePoint="RIGHT"/>
238 </Anchors>
239 </Frame>
240 <!-- Total rage cost -->
241 <Frame name="$parentRage" inherits="KLHTM_NumberTemplate">
242 <Anchors>
243 <Anchor point="LEFT" relativeTo="$parentHits" relativePoint="RIGHT"/>
244 </Anchors>
245 </Frame>
246 <!-- Damage done -->
247 <Frame name="$parentDamage" inherits="KLHTM_NumberTemplate">
248 <Anchors>
249 <Anchor point="LEFT" relativeTo="$parentRage" relativePoint="RIGHT"/>
250 </Anchors>
251 </Frame>
252 <!-- Threat -->
253 <Frame name="$parentThreat" inherits="KLHTM_NumberTemplate">
254 <Anchors>
255 <Anchor point="LEFT" relativeTo="$parentDamage" relativePoint="RIGHT"/>
256 </Anchors>
257 </Frame>
258 <!-- Percent threat contribution -->
259 <Frame name="$parentPercentThreat" inherits="KLHTM_NumberTemplate">
260 <Anchors>
261 <Anchor point="LEFT" relativeTo="$parentThreat" relativePoint="RIGHT"/>
262 </Anchors>
263 </Frame>
264 </Frames>
265 <Layers>
266 <Layer level="BACKGROUND">
267 <!-- Status bar showing values relative to the total -->
268 <Texture name="$parentBar" file="Interface\TargetingFrame\UI-StatusBar">
269 <Anchors>
270 <Anchor point="TOPLEFT">
271 <Offset x="0" y="-1"/>
272 </Anchor>
273 <Anchor point="BOTTOMLEFT"/>
274 </Anchors>
275 <Color r="1" g="1" b="1" a="0.5"/>
276 </Texture>
277 </Layer>
278 </Layers>
279 </Frame>
280  
281 <!-- The main window -->
282 <Frame name="KLHTM_Frame" parent="UIParent" hidden="true" enableMouse="true" movable="true">
283 <!-- a dodgy addition to possibly work around the frame scale issues on startup -->
284 <Size>
285 <AbsDimension x="1" y="1"/>
286 </Size>
287 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
288 <EdgeSize>
289 <AbsValue val="16"/>
290 </EdgeSize>
291 <TileSize>
292 <AbsValue val="16"/>
293 </TileSize>
294 <BackgroundInsets>
295 <AbsInset left="4" right="4" top="4" bottom="4"/>
296 </BackgroundInsets>
297 </Backdrop>
298 <Frames>
299 <!-- The title bar of the main frame. Contains command buttons, texts, background -->
300 <Frame name="KLHTM_TitleFrame">
301 <Anchors>
302 <Anchor point="TOPLEFT">
303 <Offset>
304 <AbsDimension x="5" y="-5"/>
305 </Offset>
306 </Anchor>
307 <Anchor point="TOPRIGHT">
308 <Offset>
309 <AbsDimension x="-5" y="-5"/>
310 </Offset>
311 </Anchor>
312 </Anchors>
313 <Layers>
314 <Layer level="BACKGROUND">
315 <!-- The title bar background -->
316 <Texture name="$parentBackground" >
317 <Anchors>
318 <Anchor point="TOPLEFT">
319 <Offset x="-1" y="1"/>
320 </Anchor>
321 <Anchor point="BOTTOMRIGHT">
322 <Offset x="1" y="0"/>
323 </Anchor>
324 </Anchors>
325 <Color r="1.0" g="1.0" b="1.0" a="1.0"/>
326 </Texture>
327 </Layer>
328 </Layers>
329 <!-- The title bar strings (left to right) -->
330 <Frames>
331 <!-- Minimised title -->
332 <Frame name="$parentShortTitle" inherits="KLHTM_StringTemplate">
333 <Anchors>
334 <Anchor point="LEFT">
335 <Offset x="2" y="1"/>
336 </Anchor>
337 </Anchors>
338 </Frame>
339 <!-- Maximised title -->
340 <Frame name="$parentLongTitle" inherits="KLHTM_StringTemplate">
341 <Anchors>
342 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentShortTitle"/>
343 </Anchors>
344 </Frame>
345 <!-- Total threat (self min) -->
346 <Frame name="$parentThreat" inherits="KLHTM_TitleStringTemplate">
347 <Anchors>
348 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentLongTitle"/>
349 </Anchors>
350 <Scripts>
351 <OnEnter> KLHTM_TitleString_OnEnter("threat"); </OnEnter>
352 <OnLeave> KLHTM_TitleString_OnLeave("threat"); </OnLeave>
353 <OnDragStart>
354 KLHTM_TitleString_OnLeave("threat");
355 KLHTM_Frame_OnDragStart();
356 </OnDragStart>
357 </Scripts>
358 </Frame>
359 <!-- Threat rank (raid min) -->
360 <Frame name="$parentThreatRank" inherits="KLHTM_TitleStringTemplate">
361 <Anchors>
362 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentThreat"/>
363 </Anchors>
364 <Scripts>
365 <OnEnter> KLHTM_TitleString_OnEnter("rank"); </OnEnter>
366 <OnLeave> KLHTM_TitleString_OnLeave("rank"); </OnLeave>
367 <OnDragStart>
368 KLHTM_TitleString_OnLeave("rank");
369 KLHTM_Frame_OnDragStart();
370 </OnDragStart>
371 </Scripts>
372 </Frame>
373 <!-- Threat defecit (raid min) -->
374 <Frame name="$parentThreatDefecit" inherits="KLHTM_TitleStringTemplate">
375 <Anchors>
376 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentThreatRank"/>
377 </Anchors>
378 <Scripts>
379 <OnEnter> KLHTM_TitleString_OnEnter("tdef"); </OnEnter>
380 <OnLeave> KLHTM_TitleString_OnLeave("tdef"); </OnLeave>
381 <OnDragStart>
382 KLHTM_TitleString_OnLeave("tdef");
383 KLHTM_Frame_OnDragStart();
384 </OnDragStart>
385 </Scripts>
386 </Frame>
387 <!-- Threat percent (raid min) -->
388 <Frame name="$parentThreatPercent" inherits="KLHTM_TitleStringTemplate">
389 <Anchors>
390 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentThreatDefecit"/>
391 </Anchors>
392 <Scripts>
393 <OnEnter> KLHTM_TitleString_OnEnter("pc"); </OnEnter>
394 <OnLeave> KLHTM_TitleString_OnLeave("pc"); </OnLeave>
395 <OnDragStart>
396 KLHTM_TitleString_OnLeave("pc");
397 KLHTM_Frame_OnDragStart();
398 </OnDragStart>
399 </Scripts>
400 </Frame>
401  
402 <!-- Command buttons (right to left) -->
403 <!-- Close -->
404 <Button name="$parentClose" inherits="KLHTM_ButtonTemplate">
405 <Anchors>
406 <Anchor point="TOPRIGHT"/>
407 </Anchors>
408 <Scripts>
409 <OnClick> KLHTM_TitleButton_OnClick("close"); </OnClick>
410 <OnEnter> KLHTM_TitleButton_OnEnter("close"); </OnEnter>
411 </Scripts>
412 <NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up">
413 <TexCoords left="0.175" top="0.175" right="0.825" bottom="0.825"/>
414 </NormalTexture>
415 <PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down">
416 <TexCoords left="0.175" top="0.175" right="0.825" bottom="0.825"/>
417 </PushedTexture>
418 </Button>
419 <!-- Minimise -->
420 <Button name="$parentMinimise" inherits="KLHTM_ButtonTemplate">
421 <Anchors>
422 <Anchor point="RIGHT" relativeTo="$parentClose" relativePoint="LEFT"/>
423 </Anchors>
424 <Scripts>
425 <OnClick> KLHTM_TitleButton_OnClick("min"); </OnClick>
426 <OnEnter> KLHTM_TitleButton_OnEnter("min"); </OnEnter>
427 </Scripts>
428 <NormalTexture file="Interface\Buttons\UI-MinusButton-UP">
429 <TexCoords left="0.05" top="0.05" right="0.95" bottom="0.95"/>
430 </NormalTexture>
431 </Button>
432 <!-- Maximise -->
433 <Button name="$parentMaximise" inherits="KLHTM_ButtonTemplate">
434 <Anchors>
435 <Anchor point="RIGHT" relativeTo="$parentMinimise" relativePoint="LEFT"/>
436 </Anchors>
437 <Scripts>
438 <OnClick> KLHTM_TitleButton_OnClick("max"); </OnClick>
439 <OnEnter> KLHTM_TitleButton_OnEnter("max"); </OnEnter>
440 </Scripts>
441 <NormalTexture file="Interface\Buttons\UI-PlusButton-UP">
442 <TexCoords left="0.05" top="0.05" right="0.95" bottom="0.95"/>
443 </NormalTexture>
444 </Button>
445 <!-- Options -->
446 <Button name="$parentOptions" inherits="KLHTM_ButtonTemplate">
447 <Anchors>
448 <Anchor point="RIGHT" relativeTo="$parentMaximise" relativePoint="LEFT"/>
449 </Anchors>
450 <Scripts>
451 <OnClick> KLHTM_TitleButton_OnClick("opt"); </OnClick>
452 <OnEnter> KLHTM_TitleButton_OnEnter("opt"); </OnEnter>
453 </Scripts>
454 <Layers>
455 <Layer level="BORDER">
456 <Texture inherits="KLHTM_ButtonBackground"/>
457 </Layer>
458 </Layers>
459 <NormalTexture file="Interface\ChatFrame\UI-ChatIcon-Chat-Up">
460 <TexCoords left="0.1" top="0.1" right="0.9" bottom="0.9"/>
461 </NormalTexture>
462 <PushedTexture file="Interface\ChatFrame\UI-ChatIcon-Chat-Down">
463 <TexCoords left="0.1" top="0.1" right="0.9" bottom="0.9"/>
464 </PushedTexture>
465 </Button>
466 <!-- Pin -->
467 <Button name="$parentPin" inherits="KLHTM_ButtonTemplate">
468 <Anchors>
469 <Anchor point="RIGHT" relativeTo="$parentOptions" relativePoint="LEFT"/>
470 </Anchors>
471 <Scripts>
472 <OnClick> KLHTM_TitleButton_OnClick("pin"); </OnClick>
473 <OnEnter> KLHTM_TitleButton_OnEnter("pin"); </OnEnter>
474 </Scripts>
475 <Layers>
476 <Layer level="BORDER">
477 <Texture inherits="KLHTM_ButtonBackground"/>
478 </Layer>
479 </Layers>
480 <NormalTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Up">
481 <TexCoords left="0.1" top="0.1" right="0.9" bottom="0.9"/>
482 </NormalTexture>
483 <PushedTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Down">
484 <TexCoords left="0.1" top="0.1" right="0.9" bottom="0.9"/>
485 </PushedTexture>
486 </Button>
487 <!-- Unpin -->
488 <Button name="$parentUnpin" inherits="KLHTM_ButtonTemplate">
489 <Anchors>
490 <Anchor point="RIGHT" relativeTo="$parentPin" relativePoint="LEFT"/>
491 </Anchors>
492 <Scripts>
493 <OnClick> KLHTM_TitleButton_OnClick("unpin"); </OnClick>
494 <OnEnter> KLHTM_TitleButton_OnEnter("unpin"); </OnEnter>
495 </Scripts>
496 <Layers>
497 <Layer level="BORDER">
498 <Texture inherits="KLHTM_ButtonBackground"/>
499 </Layer>
500 </Layers>
501 <NormalTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollUp-Up">
502 <TexCoords left="0.1" top="0.1" right="0.9" bottom="0.9"/>
503 </NormalTexture>
504 <PushedTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollUp-Down">
505 <TexCoords left="0.1" top="0.1" right="0.9" bottom="0.9"/>
506 </PushedTexture>
507 </Button>
508 <!-- Self View -->
509 <Button name="$parentSelfView" inherits="KLHTM_ButtonTemplate">
510 <Anchors>
511 <Anchor point="RIGHT" relativeTo="$parentUnpin" relativePoint="LEFT"/>
512 </Anchors>
513 <Scripts>
514 <OnClick> KLHTM_TitleButton_OnClick("self"); </OnClick>
515 <OnEnter> KLHTM_TitleButton_OnEnter("self"); </OnEnter>
516 </Scripts>
517 <Layers>
518 <Layer level="BORDER">
519 <Texture inherits="KLHTM_ButtonBackground"/>
520 </Layer>
521 </Layers>
522 <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up">
523 <TexCoords left="0.1" top="0.1" right="0.9" bottom="0.9"/>
524 </NormalTexture>
525 <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down">
526 <TexCoords left="0.1" top="0.1" right="0.9" bottom="0.9"/>
527 </PushedTexture>
528 </Button>
529 <!-- Raid View -->
530 <Button name="$parentRaidView" inherits="KLHTM_ButtonTemplate">
531 <Anchors>
532 <Anchor point="RIGHT" relativeTo="$parentSelfView" relativePoint="LEFT"/>
533 </Anchors>
534 <Scripts>
535 <OnClick> KLHTM_TitleButton_OnClick("raid"); </OnClick>
536 <OnEnter> KLHTM_TitleButton_OnEnter("raid"); </OnEnter>
537 </Scripts>
538 <Layers>
539 <Layer level="BORDER">
540 <Texture inherits="KLHTM_ButtonBackground"/>
541 </Layer>
542 </Layers>
543 <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up">
544 <TexCoords left="0.1" top="0.1" right="0.9" bottom="0.9"/>
545 </NormalTexture>
546 <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down">
547 <TexCoords left="0.1" top="0.1" right="0.9" bottom="0.9"/>
548 </PushedTexture>
549 </Button>
550 <!-- Master Target Set -->
551 <Button name="$parentMasterTarget" inherits="KLHTM_ButtonTemplate">
552 <Anchors>
553 <Anchor point="RIGHT" relativeTo="$parentRaidView" relativePoint="LEFT"/>
554 </Anchors>
555 <Scripts>
556 <OnClick> KLHTM_TitleButton_OnClick("targ"); </OnClick>
557 <OnEnter> KLHTM_TitleButton_OnEnter("targ"); </OnEnter>
558 </Scripts>
559 <NormalTexture file="Interface\Icons\Ability_Hunter_SniperShot">
560 <Anchors>
561 <Anchor point="TOPLEFT">
562 <Offset x="1" y="-1"/>
563 </Anchor>
564 <Anchor point="BOTTOMRIGHT">
565 <Offset x="-1" y="1"/>
566 </Anchor>
567 </Anchors>
568 </NormalTexture>
569 </Button>
570 <!-- Raid Threat Clear -->
571 <Button name="$parentClearThreat" inherits="KLHTM_ButtonTemplate">
572 <Anchors>
573 <Anchor point="RIGHT" relativeTo="$parentMasterTarget" relativePoint="LEFT"/>
574 </Anchors>
575 <Scripts>
576 <OnClick> KLHTM_TitleButton_OnClick("clear"); </OnClick>
577 <OnEnter> KLHTM_TitleButton_OnEnter("clear"); </OnEnter>
578 </Scripts>
579 <NormalTexture file="Interface\Buttons\CancelButton-Up">
580 <TexCoords left="0.275" top="0.2" right="0.8" bottom="0.725"/>
581 </NormalTexture>
582 <PushedTexture file="Interface\Buttons\CancelButton-Down">
583 <TexCoords left="0.275" top="0.2" right="0.8" bottom="0.725"/>
584 </PushedTexture>
585 </Button>
586 </Frames>
587 </Frame>
588  
589 <!-- Shows threat data from the raid members -->
590 <Frame name="KLHTM_RaidFrame">
591 <Anchors>
592 <Anchor point="TOPLEFT" relativeTo="KLHTM_TitleFrame" relativePoint="BOTTOMLEFT">
593 <Offset x="1" y="-1"/>
594 </Anchor>
595 <Anchor point="BOTTOMRIGHT">
596 <Offset x="-1" y="6"/>
597 </Anchor>
598 </Anchors>
599 <Layers>
600 <Layer level="BACKGROUND">
601 <!-- a dividing line between the title bar and the data -->
602 <Texture name="$parentLine" file="Interface\TradeSkillFrame\UI-TradeSkill-SkillBorder">
603 <Anchors>
604 <Anchor point="TOPLEFT">
605 <Offset>
606 <AbsDimension x="-2" y="4"/>
607 </Offset>
608 </Anchor>
609 <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
610 <Offset>
611 <AbsDimension x="-3" y="-3"/>
612 </Offset>
613 </Anchor>
614 </Anchors>
615 <TexCoords left="0.1" right="1.0" top="0" bottom="0.25"/>
616 </Texture>
617 </Layer>
618 </Layers>
619 <Frames>
620 <!-- player name header -->
621 <Frame name="$parentHeaderName" inherits="KLHTM_RaidStringHeaderTemplate">
622 <Anchors>
623 <Anchor point="TOPLEFT"/>
624 </Anchors>
625 </Frame>
626 <!-- threat header -->
627 <Frame name="$parentHeaderThreat" inherits="KLHTM_RaidNumberHeaderTemplate">
628 <Anchors>
629 <Anchor point="LEFT" relativeTo="$parentHeaderName" relativePoint="RIGHT"/>
630 </Anchors>
631 </Frame>
632 <!-- percent threat header -->
633 <Frame name="$parentHeaderPercentThreat" inherits="KLHTM_RaidNumberHeaderTemplate">
634 <Anchors>
635 <Anchor point="LEFT" relativeTo="$parentHeaderThreat" relativePoint="RIGHT"/>
636 </Anchors>
637 </Frame>
638  
639 <!-- Threat data for a member of the raid -->
640 <Frame name="$parentRow1" inherits="KLHTM_RaidRowTemplate">
641 <Anchors>
642 <Anchor point="TOPLEFT" relativeTo="$parentHeaderName" relativePoint="BOTTOMLEFT"/>
643 </Anchors>
644 </Frame>
645 <Frame name="$parentRow2" inherits="KLHTM_RaidRowTemplate">
646 <Anchors>
647 <Anchor point="TOPLEFT" relativeTo="$parentRow1" relativePoint="BOTTOMLEFT"/>
648 </Anchors>
649 </Frame>
650 <Frame name="$parentRow3" inherits="KLHTM_RaidRowTemplate">
651 <Anchors>
652 <Anchor point="TOPLEFT" relativeTo="$parentRow2" relativePoint="BOTTOMLEFT"/>
653 </Anchors>
654 </Frame>
655 <Frame name="$parentRow4" inherits="KLHTM_RaidRowTemplate">
656 <Anchors>
657 <Anchor point="TOPLEFT" relativeTo="$parentRow3" relativePoint="BOTTOMLEFT"/>
658 </Anchors>
659 </Frame>
660 <Frame name="$parentRow5" inherits="KLHTM_RaidRowTemplate">
661 <Anchors>
662 <Anchor point="TOPLEFT" relativeTo="$parentRow4" relativePoint="BOTTOMLEFT"/>
663 </Anchors>
664 </Frame>
665 <Frame name="$parentRow6" inherits="KLHTM_RaidRowTemplate">
666 <Anchors>
667 <Anchor point="TOPLEFT" relativeTo="$parentRow5" relativePoint="BOTTOMLEFT"/>
668 </Anchors>
669 </Frame>
670 <Frame name="$parentRow7" inherits="KLHTM_RaidRowTemplate">
671 <Anchors>
672 <Anchor point="TOPLEFT" relativeTo="$parentRow6" relativePoint="BOTTOMLEFT"/>
673 </Anchors>
674 </Frame>
675 <Frame name="$parentRow8" inherits="KLHTM_RaidRowTemplate">
676 <Anchors>
677 <Anchor point="TOPLEFT" relativeTo="$parentRow7" relativePoint="BOTTOMLEFT"/>
678 </Anchors>
679 </Frame>
680 <Frame name="$parentRow9" inherits="KLHTM_RaidRowTemplate">
681 <Anchors>
682 <Anchor point="TOPLEFT" relativeTo="$parentRow8" relativePoint="BOTTOMLEFT"/>
683 </Anchors>
684 </Frame>
685 <Frame name="$parentRow10" inherits="KLHTM_RaidRowTemplate">
686 <Anchors>
687 <Anchor point="TOPLEFT" relativeTo="$parentRow9" relativePoint="BOTTOMLEFT"/>
688 </Anchors>
689 </Frame>
690 <Frame name="$parentRow11" inherits="KLHTM_RaidRowTemplate">
691 <Anchors>
692 <Anchor point="TOPLEFT" relativeTo="$parentRow10" relativePoint="BOTTOMLEFT"/>
693 </Anchors>
694 </Frame>
695 <Frame name="$parentRow12" inherits="KLHTM_RaidRowTemplate">
696 <Anchors>
697 <Anchor point="TOPLEFT" relativeTo="$parentRow11" relativePoint="BOTTOMLEFT"/>
698 </Anchors>
699 </Frame>
700 <Frame name="$parentRow13" inherits="KLHTM_RaidRowTemplate">
701 <Anchors>
702 <Anchor point="TOPLEFT" relativeTo="$parentRow12" relativePoint="BOTTOMLEFT"/>
703 </Anchors>
704 </Frame>
705 <Frame name="$parentRow14" inherits="KLHTM_RaidRowTemplate">
706 <Anchors>
707 <Anchor point="TOPLEFT" relativeTo="$parentRow13" relativePoint="BOTTOMLEFT"/>
708 </Anchors>
709 </Frame>
710 <Frame name="$parentRow15" inherits="KLHTM_RaidRowTemplate">
711 <Anchors>
712 <Anchor point="TOPLEFT" relativeTo="$parentRow14" relativePoint="BOTTOMLEFT"/>
713 </Anchors>
714 </Frame>
715 <Frame name="$parentRow16" inherits="KLHTM_RaidRowTemplate">
716 <Anchors>
717 <Anchor point="TOPLEFT" relativeTo="$parentRow15" relativePoint="BOTTOMLEFT"/>
718 </Anchors>
719 </Frame>
720 <Frame name="$parentRow17" inherits="KLHTM_RaidRowTemplate">
721 <Anchors>
722 <Anchor point="TOPLEFT" relativeTo="$parentRow16" relativePoint="BOTTOMLEFT"/>
723 </Anchors>
724 </Frame>
725 <Frame name="$parentRow18" inherits="KLHTM_RaidRowTemplate">
726 <Anchors>
727 <Anchor point="TOPLEFT" relativeTo="$parentRow17" relativePoint="BOTTOMLEFT"/>
728 </Anchors>
729 </Frame>
730 <Frame name="$parentRow19" inherits="KLHTM_RaidRowTemplate">
731 <Anchors>
732 <Anchor point="TOPLEFT" relativeTo="$parentRow18" relativePoint="BOTTOMLEFT"/>
733 </Anchors>
734 </Frame>
735 <Frame name="$parentRow20" inherits="KLHTM_RaidRowTemplate">
736 <Anchors>
737 <Anchor point="TOPLEFT" relativeTo="$parentRow19" relativePoint="BOTTOMLEFT"/>
738 </Anchors>
739 </Frame>
740  
741 <!-- A row below the raid data -->
742 <Frame name="$parentBottom">
743 <Anchors>
744 <Anchor point="BOTTOMLEFT"/>
745 <Anchor point="BOTTOMRIGHT"/>
746 </Anchors>
747 <Layers>
748 <Layer level="BACKGROUND">
749 <!-- a dividing line between the main data and bottom bar -->
750 <Texture name="$parentLine" file="Interface\TradeSkillFrame\UI-TradeSkill-SkillBorder">
751 <Anchors>
752 <Anchor point="TOPLEFT">
753 <Offset>
754 <AbsDimension x="-2" y="5"/>
755 </Offset>
756 </Anchor>
757 <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
758 <Offset>
759 <AbsDimension x="-3" y="-2"/>
760 </Offset>
761 </Anchor>
762 </Anchors>
763 <TexCoords left="0.1" right="1.0" top="0" bottom="0.25"/>
764 </Texture>
765 </Layer>
766 </Layers>
767 <Frames>
768 <!-- user's threat defecit -->
769 <Frame name="$parentThreatDefecit" inherits="KLHTM_StringTemplate">
770 <Anchors>
771 <Anchor point="LEFT"/>
772 </Anchors>
773 <Scripts>
774 <OnEnter> KLHTM_RaidString_OnEnter("tdef"); </OnEnter>
775 <OnLeave> KLHTM_RaidString_OnLeave("tdef"); </OnLeave>
776 <OnDragStart>
777 KLHTM_RaidString_OnLeave("tdef");
778 KLHTM_Frame_OnDragStart();
779 </OnDragStart>
780 <OnDragStop> KLHTM_Frame_OnDragStop(); </OnDragStop>
781 </Scripts>
782 </Frame>
783 <!-- Shows the master target -->
784 <Frame name="$parentMasterTarget">
785 <Anchors>
786 <Anchor point="LEFT" relativeTo="$parentThreatDefecit" relativePoint="RIGHT"/>
787 <Anchor point="RIGHT">
788 <Offset x="-5" y="0"/>
789 </Anchor>
790 </Anchors>
791 <Layers>
792 <Layer level="OVERLAY">
793 <!-- the default KLHTM_StringTemplace is overridden to add the right anchor,
794 which truncates strings rather than letting them grow off the window -->
795 <FontString name="$parentText" inherits="GameFontNormal" maxLines="1" justifyH="RIGHT">
796 <Anchors>
797 <Anchor point="LEFT"/>
798 <Anchor point="RIGHT"/>
799 </Anchors>
800 <Color r="1" g="1" b="1"/>
801 </FontString>
802 </Layer>
803 </Layers>
804 <Scripts>
805 <OnEnter> KLHTM_RaidString_OnEnter("targ"); </OnEnter>
806 <OnLeave> KLHTM_RaidString_OnLeave("targ"); </OnLeave>
807 <OnDragStart>
808 KLHTM_RaidString_OnLeave("targ");
809 KLHTM_Frame_OnDragStart();
810 </OnDragStart>
811 <OnDragStop> KLHTM_Frame_OnDragStop(); </OnDragStop>
812 </Scripts>
813 </Frame>
814 </Frames>
815 </Frame>
816 </Frames>
817 </Frame>
818  
819 <!-- Shows personal threat data -->
820 <Frame name="KLHTM_SelfFrame">
821 <Anchors>
822 <Anchor point="TOPLEFT" relativeTo="KLHTM_TitleFrame" relativePoint="BOTTOMLEFT">
823 <Offset x="1" y="-1"/>
824 </Anchor>
825 <Anchor point="BOTTOMRIGHT">
826 <Offset x="-1" y="6"/>
827 </Anchor>
828 </Anchors>
829 <Layers>
830 <Layer level="BACKGROUND">
831 <!-- a dividing line between the title bar and the data -->
832 <Texture name="$parentLine" file="Interface\TradeSkillFrame\UI-TradeSkill-SkillBorder">
833 <Anchors>
834 <Anchor point="TOPLEFT">
835 <Offset>
836 <AbsDimension x="-2" y="4"/>
837 </Offset>
838 </Anchor>
839 <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
840 <Offset>
841 <AbsDimension x="-3" y="-3"/>
842 </Offset>
843 </Anchor>
844 </Anchors>
845 <TexCoords left="0.1" right="1.0" top="0" bottom="0.25"/>
846 </Texture>
847 </Layer>
848 </Layers>
849 <Frames>
850 <Button name="$parentHeaderName" inherits="KLHTM_SelfHeaderStringTemplate">
851 <!-- similar to header template but with left-aligned text -->
852 <Anchors>
853 <Anchor point="TOPLEFT"/>
854 </Anchors>
855 <Scripts>
856 <OnClick> KLHTM_SelfHeader_OnClick("name"); </OnClick>
857 </Scripts>
858 </Button>
859 <Button name="$parentHeaderHits" inherits="KLHTM_SelfHeaderNumberTemplate">
860 <Anchors>
861 <Anchor point="LEFT" relativeTo="$parentHeaderName" relativePoint="RIGHT"/>
862 </Anchors>
863 <Scripts>
864 <OnClick> KLHTM_SelfHeader_OnClick("hits"); </OnClick>
865 </Scripts>
866 </Button>
867 <Button name="$parentHeaderRage" inherits="KLHTM_SelfHeaderNumberTemplate">
868 <Anchors>
869 <Anchor point="LEFT" relativeTo="$parentHeaderHits" relativePoint="RIGHT"/>
870 </Anchors>
871 <Scripts>
872 <OnClick> KLHTM_SelfHeader_OnClick("rage"); </OnClick>
873 </Scripts>
874 </Button>
875 <Button name="$parentHeaderDamage" inherits="KLHTM_SelfHeaderNumberTemplate">
876 <Anchors>
877 <Anchor point="LEFT" relativeTo="$parentHeaderRage" relativePoint="RIGHT"/>
878 </Anchors>
879 <Scripts>
880 <OnClick> KLHTM_SelfHeader_OnClick("dam"); </OnClick>
881 </Scripts>
882 </Button>
883 <Button name="$parentHeaderThreat" inherits="KLHTM_SelfHeaderNumberTemplate">
884 <Anchors>
885 <Anchor point="LEFT" relativeTo="$parentHeaderDamage" relativePoint="RIGHT"/>
886 </Anchors>
887 <Scripts>
888 <OnClick> KLHTM_SelfHeader_OnClick("threat"); </OnClick>
889 </Scripts>
890 </Button>
891 <Button name="$parentHeaderPercentThreat" inherits="KLHTM_SelfHeaderNumberTemplate">
892 <Anchors>
893 <Anchor point="LEFT" relativeTo="$parentHeaderThreat" relativePoint="RIGHT"/>
894 </Anchors>
895 <Scripts>
896 <OnClick> KLHTM_SelfHeader_OnClick("pc"); </OnClick>
897 </Scripts>
898 </Button>
899  
900 <!-- The rows -->
901 <Frame name="$parentRow1" inherits="KLHTM_SelfRowTemplate">
902 <Anchors>
903 <Anchor point="TOPLEFT" relativeTo="$parentHeaderName" relativePoint="BOTTOMLEFT"/>
904 </Anchors>
905 </Frame>
906 <Frame name="$parentRow2" inherits="KLHTM_SelfRowTemplate">
907 <Anchors>
908 <Anchor point="TOPLEFT" relativeTo="$parentRow1" relativePoint="BOTTOMLEFT"/>
909 </Anchors>
910 </Frame>
911 <Frame name="$parentRow3" inherits="KLHTM_SelfRowTemplate">
912 <Anchors>
913 <Anchor point="TOPLEFT" relativeTo="$parentRow2" relativePoint="BOTTOMLEFT"/>
914 </Anchors>
915 </Frame>
916 <Frame name="$parentRow4" inherits="KLHTM_SelfRowTemplate">
917 <Anchors>
918 <Anchor point="TOPLEFT" relativeTo="$parentRow3" relativePoint="BOTTOMLEFT"/>
919 </Anchors>
920 </Frame>
921 <Frame name="$parentRow5" inherits="KLHTM_SelfRowTemplate">
922 <Anchors>
923 <Anchor point="TOPLEFT" relativeTo="$parentRow4" relativePoint="BOTTOMLEFT"/>
924 </Anchors>
925 </Frame>
926 <Frame name="$parentRow6" inherits="KLHTM_SelfRowTemplate">
927 <Anchors>
928 <Anchor point="TOPLEFT" relativeTo="$parentRow5" relativePoint="BOTTOMLEFT"/>
929 </Anchors>
930 </Frame>
931 <Frame name="$parentRow7" inherits="KLHTM_SelfRowTemplate">
932 <Anchors>
933 <Anchor point="TOPLEFT" relativeTo="$parentRow6" relativePoint="BOTTOMLEFT"/>
934 </Anchors>
935 </Frame>
936 <Frame name="$parentRow8" inherits="KLHTM_SelfRowTemplate">
937 <Anchors>
938 <Anchor point="TOPLEFT" relativeTo="$parentRow7" relativePoint="BOTTOMLEFT"/>
939 </Anchors>
940 </Frame>
941 <Frame name="$parentRow9" inherits="KLHTM_SelfRowTemplate">
942 <Anchors>
943 <Anchor point="TOPLEFT" relativeTo="$parentRow8" relativePoint="BOTTOMLEFT"/>
944 </Anchors>
945 </Frame>
946 <Frame name="$parentRow10" inherits="KLHTM_SelfRowTemplate">
947 <Anchors>
948 <Anchor point="TOPLEFT" relativeTo="$parentRow9" relativePoint="BOTTOMLEFT"/>
949 </Anchors>
950 </Frame>
951 <Frame name="$parentRow11" inherits="KLHTM_SelfRowTemplate">
952 <Anchors>
953 <Anchor point="TOPLEFT" relativeTo="$parentRow10" relativePoint="BOTTOMLEFT"/>
954 </Anchors>
955 </Frame>
956 <Frame name="$parentRow12" inherits="KLHTM_SelfRowTemplate">
957 <Anchors>
958 <Anchor point="TOPLEFT" relativeTo="$parentRow11" relativePoint="BOTTOMLEFT"/>
959 </Anchors>
960 </Frame>
961 <Frame name="$parentRow13" inherits="KLHTM_SelfRowTemplate">
962 <Anchors>
963 <Anchor point="TOPLEFT" relativeTo="$parentRow12" relativePoint="BOTTOMLEFT"/>
964 </Anchors>
965 </Frame>
966 <Frame name="$parentRow14" inherits="KLHTM_SelfRowTemplate">
967 <Anchors>
968 <Anchor point="TOPLEFT" relativeTo="$parentRow13" relativePoint="BOTTOMLEFT"/>
969 </Anchors>
970 </Frame>
971 <Frame name="$parentRow15" inherits="KLHTM_SelfRowTemplate">
972 <Anchors>
973 <Anchor point="TOPLEFT" relativeTo="$parentRow14" relativePoint="BOTTOMLEFT"/>
974 </Anchors>
975 </Frame>
976 <!-- A row of totals at the bottom of the self frame -->
977 <Frame name="$parentBottom" inherits="KLHTM_SelfRowTemplate">
978 <Anchors>
979 <Anchor point="BOTTOMLEFT">
980 <Offset x="0" y="0"/>
981 </Anchor>
982 <Anchor point="BOTTOMRIGHT">
983 <Offset x="0" y="0"/>
984 </Anchor>
985 </Anchors>
986 <Layers>
987 <Layer level="BACKGROUND">
988 <!-- a dividing line between the main data and bottom bar -->
989 <Texture name="$parentLine" file="Interface\TradeSkillFrame\UI-TradeSkill-SkillBorder">
990 <Anchors>
991 <Anchor point="TOPLEFT">
992 <Offset>
993 <AbsDimension x="-2" y="3"/>
994 </Offset>
995 </Anchor>
996 <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
997 <Offset>
998 <AbsDimension x="-3" y="-4"/>
999 </Offset>
1000 </Anchor>
1001 </Anchors>
1002 <TexCoords left="0.1" right="1.0" top="0" bottom="0.25"/>
1003 </Texture>
1004 </Layer>
1005 </Layers>
1006 <Frames>
1007 <!-- A button to reset the threat data -->
1008 <Button name="KLHTM_SelfFrameBottomReset" inherits="UIPanelButtonTemplate">
1009 <Anchors>
1010 <Anchor point="LEFT">
1011 <Offset>
1012 <AbsDimension x="0" y="-1"/>
1013 </Offset>
1014 </Anchor>
1015 </Anchors>
1016 <Scripts>
1017 <OnClick> KLHTM_SelfButton_OnClick("reset"); </OnClick>
1018 </Scripts>
1019 </Button>
1020 </Frames>
1021 </Frame>
1022 </Frames>
1023 </Frame>
1024 </Frames>
1025 <Scripts>
1026 <OnDragStart> KLHTM_Frame_OnDragStart(); </OnDragStart>
1027 <OnDragStop> KLHTM_Frame_OnDragStop(); </OnDragStop>
1028 </Scripts>
1029 </Frame>
1030  
1031 <Frame name="KLHTM_OnUpdateFrame">
1032 <Scripts>
1033 <OnLoad>
1034 --KLHTM_Frame:RegisterEvent("VARIABLES_LOADED")
1035 klhtm.onload()
1036 </OnLoad>
1037 <OnUpdate>
1038 --KLHTM_OnUpdate()
1039 klhtm.onupdate()
1040 </OnUpdate>
1041 <OnEvent>
1042 --KLHTM_OnEvent()
1043 klhtm.onevent()
1044 </OnEvent>
1045 </Scripts>
1046 </Frame>
1047  
1048 <Frame name="test1" hidden="true" parent="UIParent">
1049 <Size>
1050 <AbsDimension x="200" y="200"/>
1051 </Size>
1052 <Anchors>
1053 <Anchor point="CENTER"/>
1054 </Anchors>
1055 <Layers>
1056 <Layer level="BACKGROUND">
1057 <Texture name="test4">
1058 <!--
1059 <Color a="1.0" r="0.8" g="0.8" b="0.8"/>
1060 -->
1061 <Anchors>
1062 <Anchor point="TOPLEFT"/>
1063 <Anchor point="BOTTOMRIGHT"/>
1064 </Anchors>
1065 <Color a="1.0" r="1" g="1" b="1"/>
1066 </Texture>
1067 </Layer>
1068 <Layer level="OVERLAY">
1069 <FontString name="test5" inherits="GameFontNormal" outline="NONE">
1070 <Size>
1071 <AbsDimension x="100" y="15"/>
1072 </Size>
1073 <Anchors>
1074 <Anchor point="TOPLEFT">
1075 <Offset x="0" y="-30"/>
1076 </Anchor>
1077 </Anchors>
1078 <FontHeight>
1079 <AbsValue val="8"/>
1080 </FontHeight>
1081 </FontString>
1082 <FontString name="test6" inherits="GameFontNormal" outline="NORMAL">
1083 <Size>
1084 <AbsDimension x="100" y="15"/>
1085 </Size>
1086 <Anchors>
1087 <Anchor point="TOPLEFT">
1088 <Offset x="0" y="-45"/>
1089 </Anchor>
1090 </Anchors>
1091 <FontHeight>
1092 <AbsValue val="12"/>
1093 </FontHeight>
1094 </FontString>
1095 <FontString name="test7" inherits="GameFontNormal" outline="THICK">
1096 <Size>
1097 <AbsDimension x="100" y="15"/>
1098 </Size>
1099 <Anchors>
1100 <Anchor point="TOPLEFT">
1101 <Offset x="0" y="-60"/>
1102 </Anchor>
1103 </Anchors>
1104 <FontHeight>
1105 <AbsValue val="16"/>
1106 </FontHeight>
1107 </FontString>
1108 </Layer>
1109 </Layers>
1110 <Scripts>
1111 <OnLoad>
1112 test5:SetText("outline = none");
1113 test6:SetText("outline = normal");
1114 test7:SetText("outline = thick");
1115 </OnLoad>
1116 </Scripts>
1117 </Frame>
1118  
1119  
1120 </Ui>
1121  
1122  
1123  
1124