vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
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 <Script file="SystemMessageControlTool.lua"/>
4 <Script file="SystemMessageControlTool_events.lua"/>
5  
6 <Button name="smctColorSwatchTemplate" hidden="false" virtual="true">
7 <Size>
8 <AbsDimension x="14" y="14"/>
9 </Size>
10 <Layers>
11 <Layer level="BACKGROUND">
12 <Texture name="$parentSwatchBg">
13 <Size>
14 <AbsDimension x="12" y="12"/>
15 </Size>
16 <Anchors>
17 <Anchor point="CENTER">
18 <Offset>
19 <AbsDimension x="0" y="0"/>
20 </Offset>
21 </Anchor>
22 </Anchors>
23 <Color r="1.0" g="1.0" b="1.0"/>
24 </Texture>
25 </Layer>
26 </Layers>
27 <Scripts>
28 <OnClick>
29 smctOpenColorPicker(this:GetParent().group, this:GetParent():GetID());
30 </OnClick>
31 <OnEnter>
32 getglobal(this:GetName().."SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
33 </OnEnter>
34 <OnLeave>
35 getglobal(this:GetName().."SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
36 </OnLeave>
37 </Scripts>
38 <NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch"/>
39 </Button>
40  
41 <Button name="smctTextButtonTemplate" toplevel="true" virtual="true">
42 <Size>
43 <AbsDimension x="120" y="14"/>
44 </Size>
45 <NormalText name="$parentText" inherits="GameFontNormalSmall" justifyH="left" nonspacewrap="true" maxLines="1">
46 <Size>
47 <AbsDimension x="120" y="14"/>
48 </Size>
49 </NormalText>
50 <DisabledText inherits="GameFontDisableSmall" justifyH="left" nonspacewrap="true" maxLines="1">
51 <Size>
52 <AbsDimension x="120" y="14"/>
53 </Size>
54 </DisabledText>
55 <HighlightText inherits="GameFontHighlightSmall" justifyH="left" nonspacewrap="true" maxLines="1">
56 <Size>
57 <AbsDimension x="120" y="14"/>
58 </Size>
59 </HighlightText>
60 </Button>
61  
62 <Button name="smctTextButtonGreyedTemplate" inherits="smctTextButtonTemplate" toplevel="true" virtual="true">
63 <NormalText name="$parentText" inherits="GameFontDisableSmall" justifyH="left" nonspacewrap="true" maxLines="1">
64 <Size>
65 <AbsDimension x="120" y="14"/>
66 </Size>
67 </NormalText>
68 </Button>
69  
70 <Frame name="smctTextCheckButtonTemplate" toplevel="true" virtual="true">
71 <Size>
72 <AbsDimension x="140" y="14"/>
73 </Size>
74 <Frames>
75 <Button name="$parentButton">
76 <Size>
77 <AbsDimension x="125" y="14"/>
78 </Size>
79 <Anchors>
80 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
81 <Offset>
82 <AbsDimension x="15" y="0"/>
83 </Offset>
84 </Anchor>
85 </Anchors>
86 <NormalText name="$parentText" inherits="GameFontNormalSmall" justifyH="left" nonspacewrap="true" maxLines="1">
87 <Size>
88 <AbsDimension x="125" y="14"/>
89 </Size>
90 </NormalText>
91 <DisabledText inherits="GameFontDisableSmall" justifyH="left" nonspacewrap="true" maxLines="1">
92 <Size>
93 <AbsDimension x="125" y="14"/>
94 </Size>
95 </DisabledText>
96 <HighlightText inherits="GameFontHighlightSmall" justifyH="left" nonspacewrap="true" maxLines="1">
97 <Size>
98 <AbsDimension x="125" y="14"/>
99 </Size>
100 </HighlightText>
101 </Button>
102 </Frames>
103 <Layers>
104 <Layer level="ARTWORK">
105 <Texture name="$parentCheck" file="Interface\Buttons\UI-CheckBox-Check">
106 <Size>
107 <AbsDimension x="14" y="14"/>
108 </Size>
109 <Anchors>
110 <Anchor point="LEFT">
111 <Offset>
112 <AbsDimension x="0" y="-2"/>
113 </Offset>
114 </Anchor>
115 </Anchors>
116 </Texture>
117 </Layer>
118 </Layers>
119 </Frame>
120  
121 <Frame name="smctGroupTemplate" enableMouse="true" virtual="true" hidden="true">
122 <Size>
123 <AbsDimension x="125" y="16"/>
124 </Size>
125 <Layers>
126 <Layer level="BACKGROUND">
127 <FontString name="$parentLabel" inherits="GameFontHighlightSmall" justifyH="left">
128 <Size>
129 <AbsDimension x="125" y="16"/>
130 </Size>
131 </FontString>
132 </Layer>
133 </Layers>
134 <Frames>
135 <Button name="$parentColorSwatch" inherits="smctColorSwatchTemplate">
136 <Anchors>
137 <Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
138 <Offset>
139 <AbsDimension x="15" y="0"/>
140 </Offset>
141 </Anchor>
142 </Anchors>
143 </Button>
144 <Button name="$parentSetWindow" inherits="smctTextButtonTemplate">
145 <Anchors>
146 <Anchor point="LEFT" relativeTo="$parentColorSwatch" relativePoint="RIGHT">
147 <Offset>
148 <AbsDimension x="15" y="0"/>
149 </Offset>
150 </Anchor>
151 </Anchors>
152 <Scripts>
153 <OnClick>
154 smctSetGroupWindow(this); --this:GetParent().group, this:GetParent():GetID());
155 </OnClick>
156 </Scripts>
157 </Button>
158 </Frames>
159 <Scripts>
160 <OnLoad>
161 this.text = nil;
162 this.tooltip = nil;
163 this.group = nil;
164 this.window = nil;
165 </OnLoad>
166 <OnShow>
167 if (this.text) then
168 getglobal(this:GetName().."Label"):SetText(this.text);
169 getglobal(this:GetName().."Label"):Show();
170 else
171 getglobal(this:GetName().."Label"):Hide();
172 end
173 </OnShow>
174 <OnEnter>
175 if (this.tooltip) then
176 GameTooltip:SetOwner(this, "ANCHOR_TOPRIGHT");
177 GameTooltip:SetText(this.tooltip, nil, nil, nil, nil, 1);
178 end
179 </OnEnter>
180 <OnLeave>
181 GameTooltip:Hide();
182 </OnLeave>
183 </Scripts>
184 </Frame>
185  
186 <Frame name="smctProfileTemplate" virtual="true" toplevel="true" hidden="true">
187 <Size>
188 <AbsDimension x="140" y="14"/>
189 </Size>
190 <Frames>
191 <Button name="$parentServer" inherits="smctTextButtonTemplate">
192 <Anchors>
193 <Anchor point="TOPLEFT">
194 <Offset>
195 <AbsDimension x="0" y="0"/>
196 </Offset>
197 </Anchor>
198 </Anchors>
199 </Button>
200  
201 <Button name="$parentName1" inherits="smctTextButtonTemplate" id="1" hidden="true">
202 <Anchors>
203 <Anchor point="TOPLEFT" relativeTo="$parentServer" relativePoint="BOTTOMLEFT">
204 <Offset>
205 <AbsDimension x="10" y="0"/>
206 </Offset>
207 </Anchor>
208 </Anchors>
209 </Button>
210 <Button name="$parentName2" inherits="smctTextButtonTemplate" id="2" hidden="true">
211 <Anchors>
212 <Anchor point="TOPLEFT" relativeTo="$parentName1" relativePoint="BOTTOMLEFT"/>
213 </Anchors>
214 </Button>
215 <Button name="$parentName3" inherits="smctTextButtonTemplate" id="3" hidden="true">
216 <Anchors>
217 <Anchor point="TOPLEFT" relativeTo="$parentName2" relativePoint="BOTTOMLEFT"/>
218 </Anchors>
219 </Button>
220 <Button name="$parentName4" inherits="smctTextButtonTemplate" id="4" hidden="true">
221 <Anchors>
222 <Anchor point="TOPLEFT" relativeTo="$parentName3" relativePoint="BOTTOMLEFT"/>
223 </Anchors>
224 </Button>
225 <Button name="$parentName5" inherits="smctTextButtonTemplate" id="5" hidden="true">
226 <Anchors>
227 <Anchor point="TOPLEFT" relativeTo="$parentName4" relativePoint="BOTTOMLEFT"/>
228 </Anchors>
229 </Button>
230 <Button name="$parentName6" inherits="smctTextButtonTemplate" id="6" hidden="true">
231 <Anchors>
232 <Anchor point="TOPLEFT" relativeTo="$parentName5" relativePoint="BOTTOMLEFT"/>
233 </Anchors>
234 </Button>
235 <Button name="$parentName7" inherits="smctTextButtonTemplate" id="7" hidden="true">
236 <Anchors>
237 <Anchor point="TOPLEFT" relativeTo="$parentName6" relativePoint="BOTTOMLEFT"/>
238 </Anchors>
239 </Button>
240 <Button name="$parentName8" inherits="smctTextButtonTemplate" id="8" hidden="true">
241 <Anchors>
242 <Anchor point="TOPLEFT" relativeTo="$parentName7" relativePoint="BOTTOMLEFT"/>
243 </Anchors>
244 </Button>
245 <Button name="$parentName9" inherits="smctTextButtonTemplate" id="9" hidden="true">
246 <Anchors>
247 <Anchor point="TOPLEFT" relativeTo="$parentName8" relativePoint="BOTTOMLEFT"/>
248 </Anchors>
249 </Button>
250 <Button name="$parentName10" inherits="smctTextButtonTemplate" id="10" hidden="true">
251 <Anchors>
252 <Anchor point="TOPLEFT" relativeTo="$parentName9" relativePoint="BOTTOMLEFT"/>
253 </Anchors>
254 </Button>
255 </Frames>
256 </Frame>
257  
258  
259 <Frame name="SystemMessageControlToolFrame" toplevel="true" frameStrata="DIALOG" movable="false" enableMouse="true" hidden="true" parent="UIParent">
260 <Size>
261 <AbsDimension x="470" y="480"/>
262 </Size>
263 <Anchors>
264 <Anchor point="CENTER">
265 <Offset>
266 <AbsDimension x="0" y="20"/>
267 </Offset>
268 </Anchor>
269 </Anchors>
270 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
271 <BackgroundInsets>
272 <AbsInset left="11" right="12" top="12" bottom="11"/>
273 </BackgroundInsets>
274 <TileSize>
275 <AbsValue val="32"/>
276 </TileSize>
277 <EdgeSize>
278 <AbsValue val="32"/>
279 </EdgeSize>
280 </Backdrop>
281 <Layers>
282 <Layer level="ARTWORK">
283 <Texture name="$parentHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
284 <Size>
285 <AbsDimension x="460" y="64"/>
286 </Size>
287 <Anchors>
288 <Anchor point="TOP">
289 <Offset>
290 <AbsDimension x="0" y="12"/>
291 </Offset>
292 </Anchor>
293 </Anchors>
294 </Texture>
295 <FontString name="$parentHeaderText" inherits="GameFontNormal">
296 <Anchors>
297 <Anchor point="TOP" relativeTo="$parentHeader">
298 <Offset>
299 <AbsDimension x="0" y="-14"/>
300 </Offset>
301 </Anchor>
302 </Anchors>
303 </FontString>
304 <FontString name="$parentVersion" inherits="GameFontDisableSmall" justifyH="right">
305 <Anchors>
306 <Anchor point="TOPRIGHT">
307 <Offset>
308 <AbsDimension x="-14" y="-16"/>
309 </Offset>
310 </Anchor>
311 </Anchors>
312 </FontString>
313 <FontString name="$parentHelp" inherits="GameFontHighlightSmall" justifyH="left" justifyV="top">
314 <Size>
315 <AbsDimension x="135" y="400"/>
316 </Size>
317 <Anchors>
318 <Anchor point="TOPRIGHT">
319 <Offset>
320 <AbsDimension x="-14" y="-34"/>
321 </Offset>
322 </Anchor>
323 </Anchors>
324 </FontString>
325 </Layer>
326 </Layers>
327  
328 <Frames>
329 <Frame name="$parentGroup1" inherits="smctGroupTemplate" id="1">
330 <Anchors>
331 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
332 <Offset>
333 <AbsDimension x="20" y="-30"/>
334 </Offset>
335 </Anchor>
336 </Anchors>
337 </Frame>
338 <Frame name="$parentGroup2" inherits="smctGroupTemplate" id="2">
339 <Anchors>
340 <Anchor point="TOPLEFT" relativeTo="$parentGroup1" relativePoint="BOTTOMLEFT"/>
341 </Anchors>
342 </Frame>
343 <Frame name="$parentGroup3" inherits="smctGroupTemplate" id="3">
344 <Anchors>
345 <Anchor point="TOPLEFT" relativeTo="$parentGroup2" relativePoint="BOTTOMLEFT"/>
346 </Anchors>
347 </Frame>
348 <Frame name="$parentGroup4" inherits="smctGroupTemplate" id="4">
349 <Anchors>
350 <Anchor point="TOPLEFT" relativeTo="$parentGroup3" relativePoint="BOTTOMLEFT"/>
351 </Anchors>
352 </Frame>
353 <Frame name="$parentGroup5" inherits="smctGroupTemplate" id="5">
354 <Anchors>
355 <Anchor point="TOPLEFT" relativeTo="$parentGroup4" relativePoint="BOTTOMLEFT"/>
356 </Anchors>
357 </Frame>
358 <Frame name="$parentGroup6" inherits="smctGroupTemplate" id="6">
359 <Anchors>
360 <Anchor point="TOPLEFT" relativeTo="$parentGroup5" relativePoint="BOTTOMLEFT"/>
361 </Anchors>
362 </Frame>
363 <Frame name="$parentGroup7" inherits="smctGroupTemplate" id="7">
364 <Anchors>
365 <Anchor point="TOPLEFT" relativeTo="$parentGroup6" relativePoint="BOTTOMLEFT"/>
366 </Anchors>
367 </Frame>
368 <Frame name="$parentGroup8" inherits="smctGroupTemplate" id="8">
369 <Anchors>
370 <Anchor point="TOPLEFT" relativeTo="$parentGroup7" relativePoint="BOTTOMLEFT"/>
371 </Anchors>
372 </Frame>
373 <Frame name="$parentGroup9" inherits="smctGroupTemplate" id="9">
374 <Anchors>
375 <Anchor point="TOPLEFT" relativeTo="$parentGroup8" relativePoint="BOTTOMLEFT"/>
376 </Anchors>
377 </Frame>
378 <Frame name="$parentGroup10" inherits="smctGroupTemplate" id="10">
379 <Anchors>
380 <Anchor point="TOPLEFT" relativeTo="$parentGroup9" relativePoint="BOTTOMLEFT"/>
381 </Anchors>
382 </Frame>
383 <Frame name="$parentGroup11" inherits="smctGroupTemplate" id="11">
384 <Anchors>
385 <Anchor point="TOPLEFT" relativeTo="$parentGroup10" relativePoint="BOTTOMLEFT"/>
386 </Anchors>
387 </Frame>
388 <Frame name="$parentGroup12" inherits="smctGroupTemplate" id="12">
389 <Anchors>
390 <Anchor point="TOPLEFT" relativeTo="$parentGroup11" relativePoint="BOTTOMLEFT"/>
391 </Anchors>
392 </Frame>
393 <Frame name="$parentGroup13" inherits="smctGroupTemplate" id="13">
394 <Anchors>
395 <Anchor point="TOPLEFT" relativeTo="$parentGroup12" relativePoint="BOTTOMLEFT"/>
396 </Anchors>
397 </Frame>
398 <Frame name="$parentGroup14" inherits="smctGroupTemplate" id="14">
399 <Anchors>
400 <Anchor point="TOPLEFT" relativeTo="$parentGroup13" relativePoint="BOTTOMLEFT"/>
401 </Anchors>
402 </Frame>
403 <Frame name="$parentGroup15" inherits="smctGroupTemplate" id="15">
404 <Anchors>
405 <Anchor point="TOPLEFT" relativeTo="$parentGroup14" relativePoint="BOTTOMLEFT"/>
406 </Anchors>
407 </Frame>
408 <Frame name="$parentGroup16" inherits="smctGroupTemplate" id="16">
409 <Anchors>
410 <Anchor point="TOPLEFT" relativeTo="$parentGroup15" relativePoint="BOTTOMLEFT"/>
411 </Anchors>
412 </Frame>
413 <Frame name="$parentGroup17" inherits="smctGroupTemplate" id="17">
414 <Anchors>
415 <Anchor point="TOPLEFT" relativeTo="$parentGroup16" relativePoint="BOTTOMLEFT"/>
416 </Anchors>
417 </Frame>
418 <Frame name="$parentGroup18" inherits="smctGroupTemplate" id="18">
419 <Anchors>
420 <Anchor point="TOPLEFT" relativeTo="$parentGroup17" relativePoint="BOTTOMLEFT"/>
421 </Anchors>
422 </Frame>
423 <Frame name="$parentGroup19" inherits="smctGroupTemplate" id="19">
424 <Anchors>
425 <Anchor point="TOPLEFT" relativeTo="$parentGroup18" relativePoint="BOTTOMLEFT"/>
426 </Anchors>
427 </Frame>
428 <Frame name="$parentGroup20" inherits="smctGroupTemplate" id="20">
429 <Anchors>
430 <Anchor point="TOPLEFT" relativeTo="$parentGroup19" relativePoint="BOTTOMLEFT"/>
431 </Anchors>
432 </Frame>
433 <Frame name="$parentGroup21" inherits="smctGroupTemplate" id="21">
434 <Anchors>
435 <Anchor point="TOPLEFT" relativeTo="$parentGroup20" relativePoint="BOTTOMLEFT"/>
436 </Anchors>
437 </Frame>
438 <Frame name="$parentGroup22" inherits="smctGroupTemplate" id="22">
439 <Anchors>
440 <Anchor point="TOPLEFT" relativeTo="$parentGroup21" relativePoint="BOTTOMLEFT"/>
441 </Anchors>
442 </Frame>
443 <Frame name="$parentGroup23" inherits="smctGroupTemplate" id="23">
444 <Anchors>
445 <Anchor point="TOPLEFT" relativeTo="$parentGroup22" relativePoint="BOTTOMLEFT"/>
446 </Anchors>
447 </Frame>
448 <Frame name="$parentGroup24" inherits="smctGroupTemplate" id="24">
449 <Anchors>
450 <Anchor point="TOPLEFT" relativeTo="$parentGroup23" relativePoint="BOTTOMLEFT"/>
451 </Anchors>
452 </Frame>
453 <Frame name="$parentGroup25" inherits="smctGroupTemplate" id="25">
454 <Anchors>
455 <Anchor point="TOPLEFT" relativeTo="$parentGroup24" relativePoint="BOTTOMLEFT"/>
456 </Anchors>
457 </Frame>
458 <Frame name="$parentGroup26" inherits="smctGroupTemplate" id="26">
459 <Anchors>
460 <Anchor point="TOPLEFT" relativeTo="$parentGroup25" relativePoint="BOTTOMLEFT"/>
461 </Anchors>
462 </Frame>
463 <Frame name="$parentGroup27" inherits="smctGroupTemplate" id="27">
464 <Anchors>
465 <Anchor point="TOPLEFT" relativeTo="$parentGroup26" relativePoint="BOTTOMLEFT"/>
466 </Anchors>
467 </Frame>
468 <Frame name="$parentGroup28" inherits="smctGroupTemplate" id="28">
469 <Anchors>
470 <Anchor point="TOPLEFT" relativeTo="$parentGroup27" relativePoint="BOTTOMLEFT"/>
471 </Anchors>
472 </Frame>
473 <Frame name="$parentGroup29" inherits="smctGroupTemplate" id="29">
474 <Anchors>
475 <Anchor point="TOPLEFT" relativeTo="$parentGroup28" relativePoint="BOTTOMLEFT"/>
476 </Anchors>
477 </Frame>
478 <Frame name="$parentGroup30" inherits="smctGroupTemplate" id="30">
479 <Anchors>
480 <Anchor point="TOPLEFT" relativeTo="$parentGroup29" relativePoint="BOTTOMLEFT"/>
481 </Anchors>
482 </Frame>
483 <Frame name="$parentGroup31" inherits="smctGroupTemplate" id="31">
484 <Anchors>
485 <Anchor point="TOPLEFT" relativeTo="$parentGroup30" relativePoint="BOTTOMLEFT"/>
486 </Anchors>
487 </Frame>
488 <Frame name="$parentGroup32" inherits="smctGroupTemplate" id="32">
489 <Anchors>
490 <Anchor point="TOPLEFT" relativeTo="$parentGroup31" relativePoint="BOTTOMLEFT"/>
491 </Anchors>
492 </Frame>
493 <Frame name="$parentGroup33" inherits="smctGroupTemplate" id="33">
494 <Anchors>
495 <Anchor point="TOPLEFT" relativeTo="$parentGroup32" relativePoint="BOTTOMLEFT"/>
496 </Anchors>
497 </Frame>
498 <Frame name="$parentGroup34" inherits="smctGroupTemplate" id="34">
499 <Anchors>
500 <Anchor point="TOPLEFT" relativeTo="$parentGroup33" relativePoint="BOTTOMLEFT"/>
501 </Anchors>
502 </Frame>
503 <Frame name="$parentGroup35" inherits="smctGroupTemplate" id="35">
504 <Anchors>
505 <Anchor point="TOPLEFT" relativeTo="$parentGroup34" relativePoint="BOTTOMLEFT"/>
506 </Anchors>
507 </Frame>
508 <Frame name="$parentGroup36" inherits="smctGroupTemplate" id="36">
509 <Anchors>
510 <Anchor point="TOPLEFT" relativeTo="$parentGroup35" relativePoint="BOTTOMLEFT"/>
511 </Anchors>
512 </Frame>
513 <Frame name="$parentGroup37" inherits="smctGroupTemplate" id="37">
514 <Anchors>
515 <Anchor point="TOPLEFT" relativeTo="$parentGroup36" relativePoint="BOTTOMLEFT"/>
516 </Anchors>
517 </Frame>
518 <Frame name="$parentGroup38" inherits="smctGroupTemplate" id="38">
519 <Anchors>
520 <Anchor point="TOPLEFT" relativeTo="$parentGroup37" relativePoint="BOTTOMLEFT"/>
521 </Anchors>
522 </Frame>
523 <Frame name="$parentGroup39" inherits="smctGroupTemplate" id="39">
524 <Anchors>
525 <Anchor point="TOPLEFT" relativeTo="$parentGroup38" relativePoint="BOTTOMLEFT"/>
526 </Anchors>
527 </Frame>
528 <Frame name="$parentGroup40" inherits="smctGroupTemplate" id="40">
529 <Anchors>
530 <Anchor point="TOPLEFT" relativeTo="$parentGroup39" relativePoint="BOTTOMLEFT"/>
531 </Anchors>
532 </Frame>
533  
534 <Button name="$parentClose" inherits="OptionsButtonTemplate" text="CLOSE">
535 <Anchors>
536 <Anchor point="BOTTOMRIGHT">
537 <Offset>
538 <AbsDimension x="-15" y="15"/>
539 </Offset>
540 </Anchor>
541 </Anchors>
542 <Scripts>
543 <OnClick>
544 PlaySound("gsTitleOptionExit");
545 SystemMessageControlToolFrame:Hide();
546 </OnClick>
547 </Scripts>
548 </Button>
549 <!--Button name="$parentDefaults" inherits="OptionsButtonTemplate" text="Defaults">
550 <Anchors>
551 <Anchor point="BOTTOMRIGHT" relativeTo="$parentClose" relativePoint="TOPRIGHT">
552 <Offset>
553 <AbsDimension x="0" y="10"/>
554 </Offset>
555 </Anchor>
556 </Anchors>
557 <Scripts>
558 <OnClick>
559 PlaySound("gsTitleOptionExit");
560 smctResetToDefaults();
561 </OnClick>
562 </Scripts>
563 </Button-->
564 <Button name="$parentProfiles" inherits="OptionsButtonTemplate" text="Profiles >>">
565 <Anchors>
566 <Anchor point="BOTTOMRIGHT" relativeTo="$parentClose" relativePoint="TOPRIGHT">
567 <Offset>
568 <AbsDimension x="0" y="20"/>
569 </Offset>
570 </Anchor>
571 </Anchors>
572 <Scripts>
573 <OnClick>
574 PlaySound("gsTitleOptionExit");
575 smctToggleProfileWindow();
576 </OnClick>
577 </Scripts>
578 </Button>
579 </Frames>
580  
581 <Scripts>
582 <OnLoad>
583 SystemMessageControlTool_OnLoad();
584 </OnLoad>
585 <OnEvent>
586 SystemMessageControlTool_OnEvent(event);
587 </OnEvent>
588 <OnShow>
589 SystemMessageControlTool_OnShow();
590 </OnShow>
591 <OnHide>
592 SystemMessageControlTool_OnHide();
593 </OnHide>
594 </Scripts>
595 </Frame>
596  
597 <Frame name="SystemMessageControlToolPredefinedColorsFrame" toplevel="true" frameStrata="DIALOG" movable="false" enableMouse="true" hidden="true" parent="UIParent">
598 <Size>
599 <AbsDimension x="120" y="215"/>
600 </Size>
601 <Anchors>
602 <Anchor point="TOPLEFT" relativeTo="ColorPickerFrame" relativePoint="TOPRIGHT">
603 <Offset>
604 <AbsDimension x="0" y="0"/>
605 </Offset>
606 </Anchor>
607 </Anchors>
608 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
609 <BackgroundInsets>
610 <AbsInset left="11" right="12" top="12" bottom="11"/>
611 </BackgroundInsets>
612 <TileSize>
613 <AbsValue val="32"/>
614 </TileSize>
615 <EdgeSize>
616 <AbsValue val="32"/>
617 </EdgeSize>
618 </Backdrop>
619  
620 <Layers>
621 <Layer level="BACKGROUND">
622 <FontString name="$parentHeaderText" inherits="GameFontHighlightSmall" text="Color groups">
623 <Anchors>
624 <Anchor point="TOP">
625 <Offset>
626 <AbsDimension x="0" y="-17"/>
627 </Offset>
628 </Anchor>
629 </Anchors>
630 </FontString>
631 </Layer>
632 </Layers>
633  
634 <Frames>
635 <Button name="$parentButton1" inherits="smctTextButtonTemplate" id="1">
636 <Anchors>
637 <Anchor point="TOPLEFT">
638 <Offset>
639 <AbsDimension x="20" y="-30"/>
640 </Offset>
641 </Anchor>
642 </Anchors>
643 </Button>
644 <Button name="$parentButton2" inherits="smctTextButtonTemplate" id="2">
645 <Anchors>
646 <Anchor point="TOPLEFT" relativeTo="$parentButton1" relativePoint="BOTTOMLEFT"/>
647 </Anchors>
648 </Button>
649 <Button name="$parentButton3" inherits="smctTextButtonTemplate" id="3">
650 <Anchors>
651 <Anchor point="TOPLEFT" relativeTo="$parentButton2" relativePoint="BOTTOMLEFT"/>
652 </Anchors>
653 </Button>
654 <Button name="$parentButton4" inherits="smctTextButtonTemplate" id="4">
655 <Anchors>
656 <Anchor point="TOPLEFT" relativeTo="$parentButton3" relativePoint="BOTTOMLEFT"/>
657 </Anchors>
658 </Button>
659 <Button name="$parentButton5" inherits="smctTextButtonTemplate" id="5">
660 <Anchors>
661 <Anchor point="TOPLEFT" relativeTo="$parentButton4" relativePoint="BOTTOMLEFT"/>
662 </Anchors>
663 </Button>
664 <Button name="$parentButton6" inherits="smctTextButtonTemplate" id="6">
665 <Anchors>
666 <Anchor point="TOPLEFT" relativeTo="$parentButton5" relativePoint="BOTTOMLEFT"/>
667 </Anchors>
668 </Button>
669 <Button name="$parentButton7" inherits="smctTextButtonTemplate" id="7">
670 <Anchors>
671 <Anchor point="TOPLEFT" relativeTo="$parentButton6" relativePoint="BOTTOMLEFT"/>
672 </Anchors>
673 </Button>
674 <Button name="$parentButton8" inherits="smctTextButtonTemplate" id="8">
675 <Anchors>
676 <Anchor point="TOPLEFT" relativeTo="$parentButton7" relativePoint="BOTTOMLEFT"/>
677 </Anchors>
678 </Button>
679 <Button name="$parentButton9" inherits="smctTextButtonTemplate" id="9">
680 <Anchors>
681 <Anchor point="TOPLEFT" relativeTo="$parentButton8" relativePoint="BOTTOMLEFT"/>
682 </Anchors>
683 </Button>
684 <Button name="$parentButton10" inherits="smctTextButtonTemplate" id="10">
685 <Anchors>
686 <Anchor point="TOPLEFT" relativeTo="$parentButton9" relativePoint="BOTTOMLEFT"/>
687 </Anchors>
688 </Button>
689 <Button name="$parentButton11" inherits="smctTextButtonTemplate" id="11">
690 <Anchors>
691 <Anchor point="TOPLEFT" relativeTo="$parentButton10" relativePoint="BOTTOMLEFT"/>
692 </Anchors>
693 </Button>
694 <Button name="$parentButton12" inherits="smctTextButtonTemplate" id="12">
695 <Anchors>
696 <Anchor point="TOPLEFT" relativeTo="$parentButton11" relativePoint="BOTTOMLEFT"/>
697 </Anchors>
698 </Button>
699 </Frames>
700  
701 <Scripts>
702 <OnLoad>
703 this:SetBackdropBorderColor(0.8, 0.8, 0.8, 1);
704 this:SetBackdropColor(0.0, 0.0, 0.0, 1);
705 </OnLoad>
706 </Scripts>
707 </Frame>
708  
709 <Frame name="SystemMessageControlToolChatWindowsFrame" toplevel="true" frameStrata="DIALOG" enableMouse="true" movable="false" hidden="true" parent="UIParent">
710 <Size>
711 <AbsDimension x="160" y="100"/>
712 </Size>
713 <Anchors>
714 <Anchor point="CENTER">
715 <Offset>
716 <AbsDimension x="0" y="0"/>
717 </Offset>
718 </Anchor>
719 </Anchors>
720 <Backdrop name="$parentBackdrop" bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
721 <EdgeSize>
722 <AbsValue val="12"/>
723 </EdgeSize>
724 <TileSize>
725 <AbsValue val="12"/>
726 </TileSize>
727 <BackgroundInsets>
728 <AbsInset left="3" right="3" top="3" bottom="3"/>
729 </BackgroundInsets>
730 </Backdrop>
731 <Layers>
732 <Layer level="BACKGROUND">
733 <FontString name="$parentHeaderText" inherits="GameFontHighlightSmall" justifyH="center">
734 <Size>
735 <AbsDimension x="140" y="16"/>
736 </Size>
737 <Anchors>
738 <Anchor point="TOPLEFT">
739 <Offset>
740 <AbsDimension x="10" y="-5"/>
741 </Offset>
742 </Anchor>
743 </Anchors>
744 </FontString>
745 </Layer>
746 </Layers>
747  
748 <Frames>
749 <Frame name="$parentButton1" inherits="smctTextCheckButtonTemplate">
750 <Anchors>
751 <Anchor point="TOPLEFT" relativeTo="$parentHeaderText" relativePoint="BOTTOMLEFT">
752 <Offset>
753 <AbsDimension x="0" y="-2"/>
754 </Offset>
755 </Anchor>
756 </Anchors>
757 </Frame>
758 <Frame name="$parentButton2" inherits="smctTextCheckButtonTemplate">
759 <Anchors>
760 <Anchor point="TOPLEFT" relativeTo="$parentButton1" relativePoint="BOTTOMLEFT"/>
761 </Anchors>
762 </Frame>
763 <Frame name="$parentButton3" inherits="smctTextCheckButtonTemplate">
764 <Anchors>
765 <Anchor point="TOPLEFT" relativeTo="$parentButton2" relativePoint="BOTTOMLEFT"/>
766 </Anchors>
767 </Frame>
768 <Frame name="$parentButton4" inherits="smctTextCheckButtonTemplate">
769 <Anchors>
770 <Anchor point="TOPLEFT" relativeTo="$parentButton3" relativePoint="BOTTOMLEFT"/>
771 </Anchors>
772 </Frame>
773 <Frame name="$parentButton5" inherits="smctTextCheckButtonTemplate">
774 <Anchors>
775 <Anchor point="TOPLEFT" relativeTo="$parentButton4" relativePoint="BOTTOMLEFT"/>
776 </Anchors>
777 </Frame>
778 <Frame name="$parentButton6" inherits="smctTextCheckButtonTemplate">
779 <Anchors>
780 <Anchor point="TOPLEFT" relativeTo="$parentButton5" relativePoint="BOTTOMLEFT"/>
781 </Anchors>
782 </Frame>
783 <Frame name="$parentButton7" inherits="smctTextCheckButtonTemplate">
784 <Anchors>
785 <Anchor point="TOPLEFT" relativeTo="$parentButton6" relativePoint="BOTTOMLEFT"/>
786 </Anchors>
787 </Frame>
788 <Frame name="$parentButton8" inherits="smctTextCheckButtonTemplate">
789 <Anchors>
790 <Anchor point="TOPLEFT" relativeTo="$parentButton7" relativePoint="BOTTOMLEFT"/>
791 </Anchors>
792 </Frame>
793 <Frame name="$parentButton9" inherits="smctTextCheckButtonTemplate">
794 <Anchors>
795 <Anchor point="TOPLEFT" relativeTo="$parentButton8" relativePoint="BOTTOMLEFT"/>
796 </Anchors>
797 </Frame>
798 <Frame name="$parentButton10" inherits="smctTextCheckButtonTemplate">
799 <Anchors>
800 <Anchor point="TOPLEFT" relativeTo="$parentButton9" relativePoint="BOTTOMLEFT"/>
801 </Anchors>
802 </Frame>
803 <Frame name="$parentButton11" inherits="smctTextCheckButtonTemplate">
804 <Anchors>
805 <Anchor point="TOPLEFT" relativeTo="$parentButton10" relativePoint="BOTTOMLEFT"/>
806 </Anchors>
807 </Frame>
808 </Frames>
809  
810 <Scripts>
811 <OnLoad>
812 this:SetBackdropBorderColor(0.8, 0.8, 0.8, 1);
813 this:SetBackdropColor(0.0, 0.0, 0.0, 1);
814 </OnLoad>
815 </Scripts>
816 </Frame>
817  
818  
819 <Frame name="SystemMessageControlToolProfileFrame" toplevel="true" frameStrata="DIALOG" movable="false" enableMouse="true" hidden="true" parent="UIParent">
820 <Size>
821 <AbsDimension x="160" y="480"/>
822 </Size>
823 <Anchors>
824 <Anchor point="TOPLEFT" relativeTo="SystemMessageControlToolFrame" relativePoint="TOPRIGHT">
825 <Offset>
826 <AbsDimension x="0" y="0"/>
827 </Offset>
828 </Anchor>
829 </Anchors>
830 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
831 <BackgroundInsets>
832 <AbsInset left="11" right="12" top="12" bottom="11"/>
833 </BackgroundInsets>
834 <TileSize>
835 <AbsValue val="32"/>
836 </TileSize>
837 <EdgeSize>
838 <AbsValue val="32"/>
839 </EdgeSize>
840 </Backdrop>
841  
842 <Layers>
843 <Layer level="BACKGROUND">
844 <FontString name="$parentHeaderText" inherits="GameFontHighlightSmall" text="Profiles">
845 <Anchors>
846 <Anchor point="TOP">
847 <Offset>
848 <AbsDimension x="0" y="-17"/>
849 </Offset>
850 </Anchor>
851 </Anchors>
852 </FontString>
853 </Layer>
854 </Layers>
855  
856 <Frames>
857 <Frame name="$parentButton1" inherits="smctProfileTemplate" id="1">
858 <Anchors>
859 <Anchor point="TOPLEFT">
860 <Offset>
861 <AbsDimension x="20" y="-30"/>
862 </Offset>
863 </Anchor>
864 </Anchors>
865 </Frame>
866 <Frame name="$parentButton2" inherits="smctProfileTemplate" id="2">
867 <Anchors>
868 <Anchor point="TOPLEFT" relativeTo="$parentButton1" relativePoint="BOTTOMLEFT"/>
869 </Anchors>
870 </Frame>
871 <Frame name="$parentButton3" inherits="smctProfileTemplate" id="3">
872 <Anchors>
873 <Anchor point="TOPLEFT" relativeTo="$parentButton2" relativePoint="BOTTOMLEFT"/>
874 </Anchors>
875 </Frame>
876 <Frame name="$parentButton4" inherits="smctProfileTemplate" id="4">
877 <Anchors>
878 <Anchor point="TOPLEFT" relativeTo="$parentButton3" relativePoint="BOTTOMLEFT"/>
879 </Anchors>
880 </Frame>
881 <Frame name="$parentButton5" inherits="smctProfileTemplate" id="5">
882 <Anchors>
883 <Anchor point="TOPLEFT" relativeTo="$parentButton4" relativePoint="BOTTOMLEFT"/>
884 </Anchors>
885 </Frame>
886 <Frame name="$parentButton6" inherits="smctProfileTemplate" id="6">
887 <Anchors>
888 <Anchor point="TOPLEFT" relativeTo="$parentButton5" relativePoint="BOTTOMLEFT"/>
889 </Anchors>
890 </Frame>
891 <Frame name="$parentButton7" inherits="smctProfileTemplate" id="7">
892 <Anchors>
893 <Anchor point="TOPLEFT" relativeTo="$parentButton6" relativePoint="BOTTOMLEFT"/>
894 </Anchors>
895 </Frame>
896 <Frame name="$parentButton8" inherits="smctProfileTemplate" id="8">
897 <Anchors>
898 <Anchor point="TOPLEFT" relativeTo="$parentButton7" relativePoint="BOTTOMLEFT"/>
899 </Anchors>
900 </Frame>
901 <Frame name="$parentButton9" inherits="smctProfileTemplate" id="9">
902 <Anchors>
903 <Anchor point="TOPLEFT" relativeTo="$parentButton8" relativePoint="BOTTOMLEFT"/>
904 </Anchors>
905 </Frame>
906 <Frame name="$parentButton10" inherits="smctProfileTemplate" id="10">
907 <Anchors>
908 <Anchor point="TOPLEFT" relativeTo="$parentButton9" relativePoint="BOTTOMLEFT"/>
909 </Anchors>
910 </Frame>
911 <Frame name="$parentButton11" inherits="smctProfileTemplate" id="11">
912 <Anchors>
913 <Anchor point="TOPLEFT" relativeTo="$parentButton10" relativePoint="BOTTOMLEFT"/>
914 </Anchors>
915 </Frame>
916 <Frame name="$parentButton12" inherits="smctProfileTemplate" id="12">
917 <Anchors>
918 <Anchor point="TOPLEFT" relativeTo="$parentButton11" relativePoint="BOTTOMLEFT"/>
919 </Anchors>
920 </Frame>
921 <Frame name="$parentButton13" inherits="smctProfileTemplate" id="13">
922 <Anchors>
923 <Anchor point="TOPLEFT" relativeTo="$parentButton12" relativePoint="BOTTOMLEFT"/>
924 </Anchors>
925 </Frame>
926 <Frame name="$parentButton14" inherits="smctProfileTemplate" id="14">
927 <Anchors>
928 <Anchor point="TOPLEFT" relativeTo="$parentButton13" relativePoint="BOTTOMLEFT"/>
929 </Anchors>
930 </Frame>
931 <Frame name="$parentButton15" inherits="smctProfileTemplate" id="15">
932 <Anchors>
933 <Anchor point="TOPLEFT" relativeTo="$parentButton14" relativePoint="BOTTOMLEFT"/>
934 </Anchors>
935 </Frame>
936 </Frames>
937  
938 <Scripts>
939 <OnLoad>
940 this:SetBackdropBorderColor(0.8, 0.8, 0.8, 1);
941 this:SetBackdropColor(0.0, 0.0, 0.0, 1);
942 </OnLoad>
943 <OnShow>
944 SystemMessageControlTool_Profiles_OnShow();
945 </OnShow>
946 </Scripts>
947 </Frame>
948 </Ui>