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/"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://www.blizzard.com/wow/ui/
4 ..\..\..\FrameXML\UI.xsd">
5 <Script file="CCWatch_Options.lua"/>
6  
7 <Button name="CCWatchOptionsEffectsItemButtonTemplate" virtual="true">
8 <Size>
9 <AbsDimension x="280" y="16"/>
10 </Size>
11 <Scripts>
12 <OnClick>
13 if this:GetText() ~= nil then
14 CCWatchEffectSelection = this:GetText();
15 CCWatchOptionsEffects_Update();
16 CCWatchOptionsLearnFillFields(true);
17 end
18 </OnClick>
19 <OnEnter>
20 CCWatchOptionsEffects_OnEnter();
21 </OnEnter>
22 <OnLeave>
23 GameTooltip:Hide();
24 </OnLeave>
25 </Scripts>
26 <NormalText name="$parentText" inherits="GameFontNormal" justifyH="LEFT">
27 <Size>
28 <AbsDimension x="275" y="12"/>
29 </Size>
30 <Anchors>
31 <Anchor point="LEFT">
32 <Offset>
33 <AbsDimension x="20" y="0"/>
34 </Offset>
35 </Anchor>
36 </Anchors>
37 </NormalText>
38 <Layers>
39 <Layer level="BORDER">
40 <FontString name="$parent_Text" inherits="GameFontHighlight" wraponspaces="false" justifyH="LEFT"/>
41 </Layer>
42 </Layers>
43 </Button>
44  
45 <Button name="CCWatchColorButtonTemplate" virtual="true">
46 <Size>
47 <AbsDimension x="16" y="16"/>
48 </Size>
49  
50 <Layers>
51 <Layer level="BACKGROUND">
52 <Texture name="$parent_BorderTexture">
53 <Size>
54 <AbsDimension x="14" y="14"/>
55 </Size>
56 <Anchors>
57 <Anchor point="CENTER">
58 <Offset>
59 <AbsDimension x="0" y="0"/>
60 </Offset>
61 </Anchor>
62 </Anchors>
63 <Color r="1.0" g="1.0" b="1.0"/>
64 </Texture>
65 </Layer>
66 <Layer level="ARTWORK">
67 <FontString name="$parentText" inherits="GameFontNormalSmall" text="">
68 <Anchors>
69 <Anchor point="LEFT" relativePoint="RIGHT">
70 <Offset>
71 <AbsDimension x="4" y="0"/>
72 </Offset>
73 </Anchor>
74 </Anchors>
75 </FontString>
76 </Layer>
77 </Layers>
78 <Scripts>
79 <OnClick>
80 UIDropDownMenuButton_OpenColorPicker(this);
81 ColorPickerFrame:Show();
82 </OnClick>
83 <OnEnter>
84 getglobal(this:GetName().."_BorderTexture"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
85 </OnEnter>
86 <OnLeave>
87 getglobal(this:GetName().."_BorderTexture"):SetVertexColor(this.r, this.g, this.b);
88 </OnLeave>
89 </Scripts>
90  
91 <NormalTexture name="$parent_SwatchTexture" file="Interface\ChatFrame\ChatFrameColorSwatch"/>
92 </Button>
93  
94 <!-- Main Frame -->
95 <Frame name="CCWatchOptionsFrame" toplevel="true" frameStrata="MEDIUM" movable="true" enableMouse="true" hidden="true" parent="UIParent">
96 <Size>
97 <AbsDimension x="450" y="525"/>
98 </Size>
99 <Anchors>
100 <Anchor point="CENTER"/>
101 </Anchors>
102 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
103 <BackgroundInsets>
104 <AbsInset left="11" right="12" top="12" bottom="11"/>
105 </BackgroundInsets>
106 <TileSize>
107 <AbsValue val="32"/>
108 </TileSize>
109 <EdgeSize>
110 <AbsValue val="32"/>
111 </EdgeSize>
112 </Backdrop>
113 <Layers>
114 <Layer level="ARTWORK">
115 <Texture name="CCWatchOptionsFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
116 <Size>
117 <AbsDimension x="350" y="64"/>
118 </Size>
119 <Anchors>
120 <Anchor point="TOP">
121 <Offset>
122 <AbsDimension x="0" y="12"/>
123 </Offset>
124 </Anchor>
125 </Anchors>
126 </Texture>
127 <FontString name="CCWatchOptions_TitleText" inherits="GameTooltipHeaderText" text="CCWATCH_OPTIONS_TITLE">
128 <Anchors>
129 <Anchor point="TOP" relativeTo="CCWatchOptionsFrameHeader">
130 <Offset>
131 <AbsDimension x="0" y="-14"/>
132 </Offset>
133 </Anchor>
134 </Anchors>
135 </FontString>
136 </Layer>
137 </Layers>
138 <Frames>
139 <Button name="CCWatchOptionsBarsTab" text="CCWATCH_OPTIONS_BARS_TAB">
140 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
141 <EdgeSize>
142 <AbsValue val="16"/>
143 </EdgeSize>
144 <TileSize>
145 <AbsValue val="16"/>
146 </TileSize>
147 <BackgroundInsets>
148 <AbsInset left="5" right="5" top="5" bottom="5"/>
149 </BackgroundInsets>
150 </Backdrop>
151 <Size>
152 <AbsDimension x="132" y="28"/>
153 </Size>
154 <Anchors>
155 <Anchor point="TOPLEFT">
156 <Offset>
157 <AbsDimension x="18" y="-42" />
158 </Offset>
159 </Anchor>
160 </Anchors>
161 <NormalText inherits="GameFontHighlightSmall"/>
162  
163 <HighlightTexture inherits="UIPanelButtonHighlightTexture"/>
164 <Layers>
165 <Layer level="BACKGROUND">
166 <Texture name="$parentTexture" file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD" hidden="true">
167 <Size>
168 <AbsDimension x="128" y="24"/>
169 </Size>
170 <Anchors>
171 <Anchor point="CENTER" />
172 </Anchors>
173 </Texture>
174 </Layer>
175 </Layers>
176 <Scripts>
177 <OnClick>
178 CCWatchOptionsBarsTab_OnClick();
179 </OnClick>
180 </Scripts>
181 </Button>
182  
183 <Button name="CCWatchOptionsEffectsTab" text="CCWATCH_OPTIONS_EFFECTS_TAB" hidden="false">
184 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
185 <EdgeSize>
186 <AbsValue val="16"/>
187 </EdgeSize>
188 <TileSize>
189 <AbsValue val="16"/>
190 </TileSize>
191 <BackgroundInsets>
192 <AbsInset left="5" right="5" top="5" bottom="5"/>
193 </BackgroundInsets>
194 </Backdrop>
195 <Size>
196 <AbsDimension x="132" y="28"/>
197 </Size>
198 <Anchors>
199 <Anchor point="LEFT" relativeTo="CCWatchOptionsBarsTab" relativePoint="RIGHT">
200 <Offset>
201 <AbsDimension x="8" y="0" />
202 </Offset>
203 </Anchor>
204 </Anchors>
205 <NormalText inherits="GameFontHighlightSmall"/>
206 <HighlightTexture inherits="UIPanelButtonHighlightTexture"/>
207 <Layers>
208 <Layer level="BACKGROUND">
209 <Texture name="$parentTexture" file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD" hidden="true">
210 <Size>
211 <AbsDimension x="128" y="24"/>
212 </Size>
213 <Anchors>
214 <Anchor point="CENTER" />
215 </Anchors>
216 </Texture>
217 </Layer>
218 </Layers>
219 <Scripts>
220 <OnClick>
221 CCWatchOptionsEffectsTab_OnClick();
222 </OnClick>
223 </Scripts>
224 </Button>
225  
226 <Button name="CCWatchOptionsLearnTab" text="CCWATCH_OPTIONS_LEARN_TAB">
227 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
228 <EdgeSize>
229 <AbsValue val="16"/>
230 </EdgeSize>
231 <TileSize>
232 <AbsValue val="16"/>
233 </TileSize>
234 <BackgroundInsets>
235 <AbsInset left="5" right="5" top="5" bottom="5"/>
236 </BackgroundInsets>
237 </Backdrop>
238 <Size>
239 <AbsDimension x="132" y="28"/>
240 </Size>
241 <Anchors>
242 <Anchor point="LEFT" relativeTo="CCWatchOptionsEffectsTab" relativePoint="RIGHT">
243 <Offset>
244 <AbsDimension x="8" y="0" />
245 </Offset>
246 </Anchor>
247 </Anchors>
248 <NormalText inherits="GameFontHighlightSmall"/>
249 <HighlightTexture inherits="UIPanelButtonHighlightTexture"/>
250 <Layers>
251 <Layer level="BACKGROUND">
252 <Texture name="$parentTexture" file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD" hidden="true">
253 <Size>
254 <AbsDimension x="128" y="24"/>
255 </Size>
256 <Anchors>
257 <Anchor point="CENTER" />
258 </Anchors>
259 </Texture>
260 </Layer>
261 </Layers>
262 <Scripts>
263 <OnClick>
264 CCWatchOptionsLearnTab_OnClick();
265 </OnClick>
266 </Scripts>
267 </Button>
268  
269 <!-- Bars Frame (Tab 1) -->
270 <Frame name="CCWatchOptionsBarsFrame" hidden="true">
271 <Size>
272 <AbsDimension x="420" y="412"/>
273 </Size>
274 <Anchors>
275 <Anchor point="TOP">
276 <Offset>
277 <AbsDimension x="0" y="-66"/>
278 </Offset>
279 </Anchor>
280 </Anchors>
281 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
282 <EdgeSize>
283 <AbsValue val="16"/>
284 </EdgeSize>
285 <TileSize>
286 <AbsValue val="16"/>
287 </TileSize>
288 <BackgroundInsets>
289 <AbsInset left="5" right="5" top="5" bottom="5"/>
290 </BackgroundInsets>
291 </Backdrop>
292 <Frames>
293 <Slider name="CCWatchSliderScale" inherits="OptionsSliderTemplate">
294 <Size>
295 <AbsDimension x="220" y="16"/>
296 </Size>
297 <Anchors>
298 <Anchor point="TOP">
299 <Offset>
300 <AbsDimension x="0" y="-40" />
301 </Offset>
302 </Anchor>
303 </Anchors>
304 <Scripts>
305 <OnLoad>
306 getglobal(this:GetName().."Text"):SetText(CCWATCH_OPTIONS_SCALE);
307 getglobal(this:GetName().."High"):SetText("3.0");
308 getglobal(this:GetName().."Low"):SetText("0.5");
309 CCWatchSliderScale:SetMinMaxValues(0.5,3.0);
310 CCWatchSliderScale:SetValueStep(0.01);
311 </OnLoad>
312 <OnValueChanged>
313 CCWATCH.SCALE = CCWatchSliderScale:GetValue();
314 CCWatch_Save[CCWATCH.PROFILE].scale = CCWATCH.SCALE;
315 CCWatchCC:SetScale(CCWATCH.SCALE);
316 CCWatchDebuff:SetScale(CCWATCH.SCALE);
317 CCWatchBuff:SetScale(CCWATCH.SCALE);
318 </OnValueChanged>
319 </Scripts>
320 </Slider>
321  
322 <Slider name="CCWatchSliderWidth" inherits="OptionsSliderTemplate">
323 <Size>
324 <AbsDimension x="220" y="16"/>
325 </Size>
326 <Anchors>
327 <Anchor point="TOP">
328 <Offset>
329 <AbsDimension x="0" y="-80" />
330 </Offset>
331 </Anchor>
332 </Anchors>
333 <Scripts>
334 <OnLoad>
335 getglobal(this:GetName().."Text"):SetText(CCWATCH_OPTIONS_WIDTH);
336 getglobal(this:GetName().."High"):SetText("300");
337 getglobal(this:GetName().."Low"):SetText("50");
338 CCWatchSliderWidth:SetMinMaxValues(50,300);
339 CCWatchSliderWidth:SetValueStep(2);
340 </OnLoad>
341 <OnValueChanged>
342 CCWATCH.WIDTH = CCWatchSliderWidth:GetValue();
343 CCWatch_Save[CCWATCH.PROFILE].width = CCWATCH.WIDTH;
344 CCWatch_SetWidth(CCWATCH.WIDTH);
345 </OnValueChanged>
346 </Scripts>
347 </Slider>
348  
349 <Slider name="CCWatchSliderAlpha" inherits="OptionsSliderTemplate">
350 <Size>
351 <AbsDimension x="220" y="16"/>
352 </Size>
353 <Anchors>
354 <Anchor point="TOP">
355 <Offset>
356 <AbsDimension x="0" y="-120" />
357 </Offset>
358 </Anchor>
359 </Anchors>
360 <Scripts>
361 <OnLoad>
362 getglobal(this:GetName().."Text"):SetText(CCWATCH_OPTIONS_TRANS);
363 getglobal(this:GetName().."High"):SetText("1.0");
364 getglobal(this:GetName().."Low"):SetText("0.0");
365 CCWatchSliderAlpha:SetMinMaxValues(0.0,1.0);
366 CCWatchSliderAlpha:SetValueStep(0.01);
367 </OnLoad>
368 <OnValueChanged>
369 CCWATCH.ALPHA = CCWatchSliderAlpha:GetValue();
370 CCWatch_Save[CCWATCH.PROFILE].alpha = CCWATCH.ALPHA;
371 CCWatchBarCC1:SetAlpha(CCWATCH.ALPHA);
372 CCWatchBarCC2:SetAlpha(CCWATCH.ALPHA);
373 CCWatchBarCC3:SetAlpha(CCWATCH.ALPHA);
374 CCWatchBarCC4:SetAlpha(CCWATCH.ALPHA);
375 CCWatchBarCC5:SetAlpha(CCWATCH.ALPHA);
376 CCWatchBarDebuff1:SetAlpha(CCWATCH.ALPHA);
377 CCWatchBarDebuff2:SetAlpha(CCWATCH.ALPHA);
378 CCWatchBarDebuff3:SetAlpha(CCWATCH.ALPHA);
379 CCWatchBarDebuff4:SetAlpha(CCWATCH.ALPHA);
380 CCWatchBarDebuff5:SetAlpha(CCWATCH.ALPHA);
381 CCWatchBarBuff1:SetAlpha(CCWATCH.ALPHA);
382 CCWatchBarBuff2:SetAlpha(CCWATCH.ALPHA);
383 CCWatchBarBuff3:SetAlpha(CCWATCH.ALPHA);
384 CCWatchBarBuff4:SetAlpha(CCWATCH.ALPHA);
385 CCWatchBarBuff5:SetAlpha(CCWATCH.ALPHA);
386 </OnValueChanged>
387 </Scripts>
388 </Slider>
389  
390 <CheckButton name="CCWatchOptionsFrameUnlock" inherits="OptionsCheckButtonTemplate">
391 <Anchors>
392 <Anchor point="TOPLEFT">
393 <Offset>
394 <AbsDimension x="20" y="-150"/>
395 </Offset>
396 </Anchor>
397 </Anchors>
398 <Scripts>
399 <OnLoad>
400 getglobal(this:GetName().."Text"):SetText(CCWATCH_OPTIONS_UNLOCK);
401 </OnLoad>
402 <OnClick>
403 CCWatchOptions_UnlockToggle();
404 </OnClick>
405 </Scripts>
406 </CheckButton>
407 <CheckButton name="CCWatchOptionsFrameInvert" inherits="OptionsCheckButtonTemplate">
408 <Anchors>
409 <Anchor point="TOPLEFT">
410 <Offset>
411 <AbsDimension x="160" y="-150"/>
412 </Offset>
413 </Anchor>
414 </Anchors>
415 <Scripts>
416 <OnLoad>
417 getglobal(this:GetName().."Text"):SetText(CCWATCH_OPTIONS_INVERT);
418 </OnLoad>
419 <OnClick>
420 CCWatchOptions_InvertToggle();
421 </OnClick>
422 </Scripts>
423 </CheckButton>
424  
425 <CheckButton name="CCWatchOptionsFrameLeading" inherits="OptionsCheckButtonTemplate">
426 <Anchors>
427 <Anchor point="TOPLEFT">
428 <Offset>
429 <AbsDimension x="300" y="-150"/>
430 </Offset>
431 </Anchor>
432 </Anchors>
433 <Scripts>
434 <OnLoad>
435 getglobal(this:GetName().."Text"):SetText(CCWATCH_OPTIONS_LEADINGTIMER);
436 </OnLoad>
437 <OnClick>
438 CCWatchOptions_LeadingToggle();
439 </OnClick>
440 </Scripts>
441 </CheckButton>
442  
443 <Frame name="CCWatchTimersDropDown" inherits="UIDropDownMenuTemplate" hidden="false">
444 <Size>
445 <AbsDimension x="108" y="16"/>
446 </Size>
447 <Anchors>
448 <Anchor point="TOPLEFT">
449 <Offset>
450 <AbsDimension x="6" y="-180"/>
451 </Offset>
452 </Anchor>
453 </Anchors>
454 <Scripts>
455 <OnLoad>
456 UIDropDownMenu_Initialize(this, CCWatchTimersDropDown_OnInit);
457 UIDropDownMenu_SetWidth(110);
458 </OnLoad>
459 </Scripts>
460 </Frame>
461  
462 <Frame name="CCWatchGrowthDropDown" inherits="UIDropDownMenuTemplate" hidden="false">
463 <Size>
464 <AbsDimension x="118" y="16"/>
465 </Size>
466 <Anchors>
467 <Anchor point="BOTTOMLEFT">
468 <Offset>
469 <AbsDimension x="6" y="10"/>
470 </Offset>
471 </Anchor>
472 </Anchors>
473 <Scripts>
474 <OnLoad>
475 UIDropDownMenu_Initialize(this, CCWatchGrowthDropDown_OnInit);
476 UIDropDownMenu_SetWidth(130);
477 </OnLoad>
478 </Scripts>
479 </Frame>
480  
481 <CheckButton name="CCWatchOptionsUseColorOverTime" inherits="OptionsCheckButtonTemplate">
482 <Anchors>
483 <Anchor point="TOPLEFT">
484 <Offset>
485 <AbsDimension x="20" y="-200"/>
486 </Offset>
487 </Anchor>
488 </Anchors>
489 <Scripts>
490 <OnLoad>
491 getglobal(this:GetName().."Text"):SetText(CCWATCH_OPTIONS_COLOROVERTIME);
492 </OnLoad>
493 <OnClick>
494 CCWatchOptions_ColorOverTimeToggle();
495 </OnClick>
496 </Scripts>
497 </CheckButton>
498  
499 <Button name="CCWatchOptionsBarColorUrge" inherits="CCWatchColorButtonTemplate">
500 <Anchors>
501 <Anchor point="TOPLEFT">
502 <Offset>
503 <AbsDimension x="20" y="-230"/>
504 </Offset>
505 </Anchor>
506 </Anchors>
507 </Button>
508 <EditBox name="CCWatchOptionsBarColorUrgeEdit" historyLines="1" letters="32">
509 <Size>
510 <AbsDimension x="50" y="18"/>
511 </Size>
512 <Anchors>
513 <Anchor point="TOPLEFT">
514 <Offset>
515 <AbsDimension x="80" y="-230"/>
516 </Offset>
517 </Anchor>
518 </Anchors>
519 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
520 <EdgeSize>
521 <AbsValue val="8"/>
522 </EdgeSize>
523 <TileSize>
524 <AbsValue val="8"/>
525 </TileSize>
526 <BackgroundInsets>
527 <AbsInset left="2" right="2" top="2" bottom="2"/>
528 </BackgroundInsets>
529 </Backdrop>
530 <FontString inherits="ChatFontNormal"/>
531 <Scripts>
532 <OnLoad>
533 this:SetTextInsets(4,0,0,0);
534 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
535 this:SetBackdropColor(0.15, 0.15, 0.15);
536 </OnLoad>
537 <OnEnterPressed>
538 CCWatchOptions_SetBarColorUrge();
539 </OnEnterPressed>
540 </Scripts>
541 </EditBox>
542  
543 <Button name="CCWatchOptionsBarColorLow" inherits="CCWatchColorButtonTemplate">
544 <Anchors>
545 <Anchor point="TOPLEFT">
546 <Offset>
547 <AbsDimension x="20" y="-250"/>
548 </Offset>
549 </Anchor>
550 </Anchors>
551 </Button>
552 <EditBox name="CCWatchOptionsBarColorLowEdit" historyLines="1" letters="32">
553 <Size>
554 <AbsDimension x="50" y="18"/>
555 </Size>
556 <Anchors>
557 <Anchor point="TOPLEFT">
558 <Offset>
559 <AbsDimension x="80" y="-250"/>
560 </Offset>
561 </Anchor>
562 </Anchors>
563 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
564 <EdgeSize>
565 <AbsValue val="8"/>
566 </EdgeSize>
567 <TileSize>
568 <AbsValue val="8"/>
569 </TileSize>
570 <BackgroundInsets>
571 <AbsInset left="2" right="2" top="2" bottom="2"/>
572 </BackgroundInsets>
573 </Backdrop>
574 <FontString inherits="ChatFontNormal"/>
575 <Scripts>
576 <OnLoad>
577 this:SetTextInsets(4,0,0,0);
578 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
579 this:SetBackdropColor(0.15, 0.15, 0.15);
580 </OnLoad>
581 <OnEnterPressed>
582 CCWatchOptions_SetBarColorLow();
583 </OnEnterPressed>
584 </Scripts>
585 </EditBox>
586  
587 <Button name="CCWatchOptionsBarColorNormal" inherits="CCWatchColorButtonTemplate">
588 <Anchors>
589 <Anchor point="TOPLEFT">
590 <Offset>
591 <AbsDimension x="20" y="-270"/>
592 </Offset>
593 </Anchor>
594 </Anchors>
595 </Button>
596  
597 </Frames>
598 <Scripts>
599 <OnShow>
600 CCWatchOptionsBarsFrame_OnShow();
601 </OnShow>
602 <OnHide>
603 CCWatchOptionsBarsFrame_OnHide();
604 </OnHide>
605 </Scripts>
606 </Frame>
607  
608 <!-- Effects Frame (Tab 2) -->
609 <Frame name="CCWatchOptionsEffectsFrame" hidden="true">
610 <Size>
611 <AbsDimension x="420" y="412"/>
612 </Size>
613 <Anchors>
614 <Anchor point="TOP">
615 <Offset>
616 <AbsDimension x="0" y="-66"/>
617 </Offset>
618 </Anchor>
619 </Anchors>
620 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
621 <EdgeSize>
622 <AbsValue val="16"/>
623 </EdgeSize>
624 <TileSize>
625 <AbsValue val="16"/>
626 </TileSize>
627 <BackgroundInsets>
628 <AbsInset left="5" right="5" top="5" bottom="5"/>
629 </BackgroundInsets>
630 </Backdrop>
631 <Frames>
632 <CheckButton name="CCWatchOptionsFrameWarnApplied" inherits="OptionsCheckButtonTemplate">
633 <Anchors>
634 <Anchor point="TOPLEFT">
635 <Offset>
636 <AbsDimension x="20" y="-20"/>
637 </Offset>
638 </Anchor>
639 </Anchors>
640 <Scripts>
641 <OnLoad>
642 getglobal(this:GetName().."Text"):SetText(CCWATCH_OPTIONS_WARN_APPLIED);
643 </OnLoad>
644 <OnClick>
645 CCWatchOptions_WarnAppliedToggle();
646 </OnClick>
647 </Scripts>
648 </CheckButton>
649  
650 <CheckButton name="CCWatchOptionsFrameWarnFaded" inherits="OptionsCheckButtonTemplate">
651 <Anchors>
652 <Anchor point="TOPLEFT" relativeTo="CCWatchOptionsFrameWarnApplied">
653 <Offset>
654 <AbsDimension x="0" y="-30"/>
655 </Offset>
656 </Anchor>
657 </Anchors>
658 <Scripts>
659 <OnLoad>
660 getglobal(this:GetName().."Text"):SetText(CCWATCH_OPTIONS_WARN_FADED);
661 </OnLoad>
662 <OnClick>
663 CCWatchOptions_WarnFadedToggle();
664 </OnClick>
665 </Scripts>
666 </CheckButton>
667  
668 <CheckButton name="CCWatchOptionsFrameWarnBroken" inherits="OptionsCheckButtonTemplate">
669 <Anchors>
670 <Anchor point="TOPLEFT" relativeTo="CCWatchOptionsFrameWarnFaded">
671 <Offset>
672 <AbsDimension x="0" y="-30"/>
673 </Offset>
674 </Anchor>
675 </Anchors>
676 <Scripts>
677 <OnLoad>
678 getglobal(this:GetName().."Text"):SetText(CCWATCH_OPTIONS_WARN_BROKEN);
679 </OnLoad>
680 <OnClick>
681 CCWatchOptions_WarnBrokenToggle();
682 </OnClick>
683 </Scripts>
684 </CheckButton>
685  
686 <CheckButton name="CCWatchOptionsFrameWarnLowTime" inherits="OptionsCheckButtonTemplate">
687 <Anchors>
688 <Anchor point="TOPLEFT" relativeTo="CCWatchOptionsFrameWarnBroken">
689 <Offset>
690 <AbsDimension x="0" y="-30"/>
691 </Offset>
692 </Anchor>
693 </Anchors>
694 <Scripts>
695 <OnLoad>
696 getglobal(this:GetName().."Text"):SetText(CCWATCH_OPTIONS_WARN_LOWTIME);
697 </OnLoad>
698 <OnClick>
699 CCWatchOptions_WarnLowTimeToggle();
700 </OnClick>
701 </Scripts>
702 </CheckButton>
703  
704 <Frame name="CCWatchOptionsWarnCCDropDown" inherits="UIDropDownMenuTemplate" hidden="false">
705 <Size>
706 <AbsDimension x="100" y="16"/>
707 </Size>
708 <Anchors>
709 <Anchor point="TOPLEFT">
710 <Offset>
711 <AbsDimension x="160" y="-20"/>
712 </Offset>
713 </Anchor>
714 </Anchors>
715 <Scripts>
716 <OnLoad>
717 UIDropDownMenu_Initialize(this, CCWatchOptionsWarnCCDropDown_OnInit);
718 UIDropDownMenu_SetWidth(80);
719 </OnLoad>
720 </Scripts>
721 </Frame>
722 <EditBox name="CCWatchOptionsFrameCustomCCEdit" historyLines="1" letters="32">
723 <Size>
724 <AbsDimension x="150" y="18"/>
725 </Size>
726 <Anchors>
727 <Anchor point="TOPLEFT">
728 <Offset>
729 <AbsDimension x="160" y="-45"/>
730 </Offset>
731 </Anchor>
732 </Anchors>
733 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
734 <EdgeSize>
735 <AbsValue val="8"/>
736 </EdgeSize>
737 <TileSize>
738 <AbsValue val="8"/>
739 </TileSize>
740 <BackgroundInsets>
741 <AbsInset left="2" right="2" top="2" bottom="2"/>
742 </BackgroundInsets>
743 </Backdrop>
744 <FontString inherits="ChatFontNormal"/>
745 <Scripts>
746 <OnLoad>
747 this:SetTextInsets(4,0,0,0);
748 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
749 this:SetBackdropColor(0.15, 0.15, 0.15);
750 </OnLoad>
751 <OnEnterPressed>
752 CCWatchOptions_SetCustomCC();
753 </OnEnterPressed>
754 <OnEscapePressed>
755 CCWatchOptions_Toggle();
756 </OnEscapePressed>
757 </Scripts>
758 </EditBox>
759 <EditBox name="CCWatchOptionsFrameWarnLowEdit" historyLines="1" letters="32">
760 <Size>
761 <AbsDimension x="50" y="18"/>
762 </Size>
763 <Anchors>
764 <Anchor point="TOPLEFT">
765 <Offset>
766 <AbsDimension x="160" y="-75"/>
767 </Offset>
768 </Anchor>
769 </Anchors>
770 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
771 <EdgeSize>
772 <AbsValue val="8"/>
773 </EdgeSize>
774 <TileSize>
775 <AbsValue val="8"/>
776 </TileSize>
777 <BackgroundInsets>
778 <AbsInset left="2" right="2" top="2" bottom="2"/>
779 </BackgroundInsets>
780 </Backdrop>
781 <FontString inherits="ChatFontNormal"/>
782 <Scripts>
783 <OnLoad>
784 this:SetTextInsets(4,0,0,0);
785 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
786 this:SetBackdropColor(0.15, 0.15, 0.15);
787 </OnLoad>
788 <OnEnterPressed>
789 CCWatchOptions_SetWarnLow();
790 </OnEnterPressed>
791 </Scripts>
792 </EditBox>
793  
794 <CheckButton name="CCWatchOptionsFrameArcanist" inherits="OptionsCheckButtonTemplate">
795 <Anchors>
796 <Anchor point="TOPLEFT">
797 <Offset>
798 <AbsDimension x="160" y="-140"/>
799 </Offset>
800 </Anchor>
801 </Anchors>
802 <Scripts>
803 <OnLoad>
804 getglobal(this:GetName().."Text"):SetText(CCWATCH_OPTIONS_ARCANIST);
805 </OnLoad>
806 <OnClick>
807 CCWatchOptions_ArcanistToggle();
808 </OnClick>
809 </Scripts>
810 </CheckButton>
811  
812 <Frame name="CCWatchOptionsStyleDropDown" inherits="UIDropDownMenuTemplate" hidden="false">
813 <Size>
814 <AbsDimension x="118" y="16"/>
815 </Size>
816 <Anchors>
817 <Anchor point="TOPLEFT">
818 <Offset>
819 <AbsDimension x="0" y="-240"/>
820 </Offset>
821 </Anchor>
822 </Anchors>
823 <Scripts>
824 <OnLoad>
825 UIDropDownMenu_Initialize(this, CCWatchOptionsStyleDropDown_OnInit);
826 UIDropDownMenu_SetWidth(130);
827 </OnLoad>
828 </Scripts>
829 </Frame>
830 <CheckButton name="CCWatchOptionsFrameMonitorCC" inherits="OptionsCheckButtonTemplate">
831 <Anchors>
832 <Anchor point="TOPLEFT">
833 <Offset>
834 <AbsDimension x="160" y="-240"/>
835 </Offset>
836 </Anchor>
837 </Anchors>
838 <Scripts>
839 <OnLoad>
840 getglobal(this:GetName().."Text"):SetText(CCWATCH_OPTIONS_MONITOR_CC);
841 </OnLoad>
842 <OnClick>
843 CCWatchOptions_MonitorCCToggle();
844 </OnClick>
845 </Scripts>
846 </CheckButton>
847 <CheckButton name="CCWatchOptionsFrameMonitorDebuff" inherits="OptionsCheckButtonTemplate">
848 <Anchors>
849 <Anchor point="TOPLEFT">
850 <Offset>
851 <AbsDimension x="160" y="-270"/>
852 </Offset>
853 </Anchor>
854 </Anchors>
855 <Scripts>
856 <OnLoad>
857 getglobal(this:GetName().."Text"):SetText(CCWATCH_OPTIONS_MONITOR_DEBUFF);
858 </OnLoad>
859 <OnClick>
860 CCWatchOptions_MonitorDebuffToggle();
861 </OnClick>
862 </Scripts>
863 </CheckButton>
864 <CheckButton name="CCWatchOptionsFrameMonitorBuff" inherits="OptionsCheckButtonTemplate">
865 <Anchors>
866 <Anchor point="TOPLEFT">
867 <Offset>
868 <AbsDimension x="160" y="-300"/>
869 </Offset>
870 </Anchor>
871 </Anchors>
872 <Scripts>
873 <OnLoad>
874 getglobal(this:GetName().."Text"):SetText(CCWATCH_OPTIONS_MONITOR_BUFF);
875 </OnLoad>
876 <OnClick>
877 CCWatchOptions_MonitorBuffToggle();
878 </OnClick>
879 </Scripts>
880 </CheckButton>
881 </Frames>
882 <Scripts>
883 <OnShow>
884 CCWatchOptionsEffectsFrame_OnShow();
885 </OnShow>
886 <OnHide>
887 CCWatchOptionsEffectsFrame_OnHide();
888 </OnHide>
889 </Scripts>
890 </Frame>
891  
892 <!-- Learn Frame (Tab 3) -->
893 <Frame name="CCWatchOptionsLearnFrame" hidden="true">
894 <Size>
895 <AbsDimension x="420" y="412"/>
896 </Size>
897 <Anchors>
898 <Anchor point="TOP">
899 <Offset>
900 <AbsDimension x="0" y="-66"/>
901 </Offset>
902 </Anchor>
903 </Anchors>
904 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
905 <EdgeSize>
906 <AbsValue val="16"/>
907 </EdgeSize>
908 <TileSize>
909 <AbsValue val="16"/>
910 </TileSize>
911 <BackgroundInsets>
912 <AbsInset left="5" right="5" top="5" bottom="5"/>
913 </BackgroundInsets>
914 </Backdrop>
915 <Frames>
916 <Frame name="CCWatchOptionsEffectFrame" inherits="OptionFrameBoxTemplate">
917 <Size>
918 <AbsDimension x="380" y="205"/>
919 </Size>
920 <Anchors>
921 <Anchor point="BOTTOMLEFT">
922 <Offset>
923 <AbsDimension x="20" y="10"/>
924 </Offset>
925 </Anchor>
926 </Anchors>
927 <Scripts>
928 <OnLoad>
929 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
930 this:SetBackdropColor(0.15, 0.15, 0.15);
931 </OnLoad>
932 </Scripts>
933 <Frames>
934 <Frame name="$parentTitle">
935 <Size>
936 <AbsDimension x="140" y="20"/>
937 </Size>
938 <Anchors>
939 <Anchor point="TOP">
940 <Offset>
941 <AbsDimension x="0" y="-10"/>
942 </Offset>
943 </Anchor>
944 </Anchors>
945 <Layers>
946 <Layer>
947 <FontString inherits="GameFontNormalSmall" text="CCWATCH_NAME">
948 <Anchors>
949 <Anchor point="TOPLEFT">
950 <Offset>
951 <AbsDimension x="-90" y="-10"/>
952 </Offset>
953 </Anchor>
954 </Anchors>
955 </FontString>
956 </Layer>
957  
958 <Layer>
959 <FontString name="CCWatchOptionsEffectNameStatic" inherits="GameFontNormal" text="">
960 <Anchors>
961 <Anchor point="TOPLEFT">
962 <Offset>
963 <AbsDimension x="-5" y="-10"/>
964 </Offset>
965 </Anchor>
966 </Anchors>
967 </FontString>
968 </Layer>
969  
970  
971  
972 <Layer>
973 <FontString inherits="GameFontNormalSmall" text="CCWATCH_DURATION">
974 <Anchors>
975 <Anchor point="TOPLEFT">
976 <Offset>
977 <AbsDimension x="-90" y="-40"/>
978 </Offset>
979 </Anchor>
980 </Anchors>
981 </FontString>
982 </Layer>
983  
984 <Layer>
985 <FontString name="CCWatchOptionsEffectDurationStatic" inherits="GameFontNormal" text="">
986 <Anchors>
987 <Anchor point="TOPLEFT">
988 <Offset>
989 <AbsDimension x="-5" y="-40"/>
990 </Offset>
991 </Anchor>
992 </Anchors>
993 </FontString>
994 </Layer>
995  
996  
997 <Layer>
998 <FontString inherits="GameFontNormalSmall" text="CCWATCH_TYPE">
999 <Anchors>
1000 <Anchor point="TOPLEFT">
1001 <Offset>
1002 <AbsDimension x="-90" y="-70"/>
1003 </Offset>
1004 </Anchor>
1005 </Anchors>
1006 </FontString>
1007 </Layer>
1008 <Layer>
1009 <FontString inherits="GameFontNormalSmall" text="CCWATCH_GROUP">
1010 <Anchors>
1011 <Anchor point="TOPLEFT">
1012 <Offset>
1013 <AbsDimension x="-90" y="-100"/>
1014 </Offset>
1015 </Anchor>
1016 </Anchors>
1017 </FontString>
1018 </Layer>
1019  
1020 <Layer>
1021 <FontString inherits="GameFontNormalSmall" text="CCWATCH_DR">
1022 <Anchors>
1023 <Anchor point="TOPLEFT">
1024 <Offset>
1025 <AbsDimension x="-90" y="-130"/>
1026 </Offset>
1027 </Anchor>
1028 </Anchors>
1029 </FontString>
1030 </Layer>
1031 </Layers>
1032 <Scripts>
1033 <OnLoad>
1034 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
1035 this:SetBackdropColor(0.15, 0.15, 0.15);
1036 </OnLoad>
1037 </Scripts>
1038 </Frame>
1039  
1040 <EditBox name="CCWatchOptionsEffectNameEdit" historyLines="1" letters="32">
1041 <Size>
1042 <AbsDimension x="220" y="18"/>
1043 </Size>
1044 <Anchors>
1045 <Anchor point="TOPLEFT" relativeTo="CCWatchOptionsEffectFrame" relativePoint="TOPLEFT">
1046 <Offset>
1047 <AbsDimension x="110" y="-15"/>
1048 </Offset>
1049 </Anchor>
1050 </Anchors>
1051 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
1052 <EdgeSize>
1053 <AbsValue val="8"/>
1054 </EdgeSize>
1055 <TileSize>
1056 <AbsValue val="8"/>
1057 </TileSize>
1058 <BackgroundInsets>
1059 <AbsInset left="2" right="2" top="2" bottom="2"/>
1060 </BackgroundInsets>
1061 </Backdrop>
1062 <FontString inherits="ChatFontNormal"/>
1063 <Scripts>
1064 <OnLoad>
1065 this:SetTextInsets(4,0,0,0);
1066 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
1067 this:SetBackdropColor(0.15, 0.15, 0.15);
1068 </OnLoad>
1069 <OnTabPressed>
1070 CCWatchOptionsEffectDurationEdit:SetFocus();
1071 </OnTabPressed>
1072 <OnEnterPressed>
1073 CCWatchOptionsEffectDurationEdit:SetFocus();
1074 </OnEnterPressed>
1075 <OnEscapePressed>
1076 CCWatchOptions_Toggle();
1077 </OnEscapePressed>
1078 </Scripts>
1079 </EditBox>
1080  
1081 <EditBox name="CCWatchOptionsEffectDurationEdit" historyLines="1" letters="32">
1082 <Size>
1083 <AbsDimension x="220" y="18"/>
1084 </Size>
1085 <Anchors>
1086 <Anchor point="TOPLEFT" relativeTo="CCWatchOptionsEffectFrame" relativePoint="TOPLEFT">
1087 <Offset>
1088 <AbsDimension x="110" y="-45"/>
1089 </Offset>
1090 </Anchor>
1091 </Anchors>
1092 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
1093 <EdgeSize>
1094 <AbsValue val="8"/>
1095 </EdgeSize>
1096 <TileSize>
1097 <AbsValue val="8"/>
1098 </TileSize>
1099 <BackgroundInsets>
1100 <AbsInset left="2" right="2" top="2" bottom="2"/>
1101 </BackgroundInsets>
1102 </Backdrop>
1103 <FontString inherits="ChatFontNormal"/>
1104 <Scripts>
1105 <OnLoad>
1106 this:SetTextInsets(4,0,0,0);
1107 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
1108 this:SetBackdropColor(0.15, 0.15, 0.15);
1109 </OnLoad>
1110 <OnTabPressed>
1111 CCWatchOptionsEffectNameEdit:SetFocus();
1112 </OnTabPressed>
1113 <OnEnterPressed>
1114 CCWatchOptionsEffectNameEdit:SetFocus();
1115 </OnEnterPressed>
1116 <OnEscapePressed>
1117 CCWatchOptions_Toggle();
1118 </OnEscapePressed>
1119 </Scripts>
1120 </EditBox>
1121  
1122 <Frame name="CCWatchOptionsEffectTypeDropDown" inherits="UIDropDownMenuTemplate" hidden="false">
1123 <Size>
1124 <AbsDimension x="80" y="10"/>
1125 </Size>
1126 <Anchors>
1127 <Anchor point="TOPLEFT">
1128 <Offset>
1129 <AbsDimension x="90" y="-71"/>
1130 </Offset>
1131 </Anchor>
1132 </Anchors>
1133 <Scripts>
1134 <OnLoad>
1135 UIDropDownMenu_Initialize(this, CCWatchOptionsEffectTypeDropDown_OnInit);
1136 UIDropDownMenu_SetWidth(80);
1137 </OnLoad>
1138 </Scripts>
1139 </Frame>
1140 <CheckButton name="CCWatchOptionsEffectMonitor" inherits="OptionsCheckButtonTemplate">
1141 <Anchors>
1142 <Anchor point="TOPLEFT">
1143 <Offset>
1144 <AbsDimension x="220" y="-71"/>
1145 </Offset>
1146 </Anchor>
1147 </Anchors>
1148 <Scripts>
1149 <OnLoad>
1150 getglobal(this:GetName().."Text"):SetText(CCWATCH_MONITOR);
1151 </OnLoad>
1152 <OnClick>
1153 CCWatchOptions_MonitorToggle();
1154 </OnClick>
1155 </Scripts>
1156 </CheckButton>
1157  
1158 <Frame name="CCWatchOptionsEffectGroupDropDown" inherits="UIDropDownMenuTemplate" hidden="false">
1159 <Size>
1160 <AbsDimension x="40" y="10"/>
1161 </Size>
1162 <Anchors>
1163 <Anchor point="TOPLEFT">
1164 <Offset>
1165 <AbsDimension x="90" y="-101"/>
1166 </Offset>
1167 </Anchor>
1168 </Anchors>
1169 <Scripts>
1170 <OnLoad>
1171 UIDropDownMenu_Initialize(this, CCWatchOptionsEffectGroupDropDown_OnInit);
1172 UIDropDownMenu_SetWidth(40);
1173 </OnLoad>
1174 </Scripts>
1175 </Frame>
1176 <CheckButton name="CCWatchOptionsEffectWarn" inherits="OptionsCheckButtonTemplate">
1177 <Anchors>
1178 <Anchor point="TOPLEFT">
1179 <Offset>
1180 <AbsDimension x="220" y="-101"/>
1181 </Offset>
1182 </Anchor>
1183 </Anchors>
1184 <Scripts>
1185 <OnLoad>
1186 getglobal(this:GetName().."Text"):SetText(CCWATCH_WARN);
1187 </OnLoad>
1188 <OnClick>
1189 CCWatchOptions_WarnToggle();
1190 </OnClick>
1191 </Scripts>
1192 </CheckButton>
1193  
1194 <CheckButton name="CCWatchOptionsEffectUseColor" inherits="OptionsCheckButtonTemplate">
1195 <Anchors>
1196 <Anchor point="TOPLEFT">
1197 <Offset>
1198 <AbsDimension x="220" y="-131"/>
1199 </Offset>
1200 </Anchor>
1201 </Anchors>
1202 <Scripts>
1203 <OnLoad>
1204 getglobal(this:GetName().."Text"):SetText(CCWATCH_OPTIONS_USECOLOR);
1205 </OnLoad>
1206 <OnClick>
1207 CCWatchOptions_UseColorToggle();
1208 </OnClick>
1209 </Scripts>
1210 </CheckButton>
1211  
1212 <Button name="CCWatchOptionsBarColorEffect" inherits="CCWatchColorButtonTemplate">
1213 <Anchors>
1214 <Anchor point="TOPLEFT">
1215 <Offset>
1216 <AbsDimension x="350" y="-138"/>
1217 </Offset>
1218 </Anchor>
1219 </Anchors>
1220 </Button>
1221  
1222 <Frame name="CCWatchOptionsEffectDRDropDown" inherits="UIDropDownMenuTemplate" hidden="false">
1223 <Size>
1224 <AbsDimension x="80" y="10"/>
1225 </Size>
1226 <Anchors>
1227 <Anchor point="TOPLEFT">
1228 <Offset>
1229 <AbsDimension x="90" y="-131"/>
1230 </Offset>
1231 </Anchor>
1232 </Anchors>
1233 <Scripts>
1234 <OnLoad>
1235 UIDropDownMenu_Initialize(this, CCWatchOptionsEffectDRDropDown_OnInit);
1236 UIDropDownMenu_SetWidth(80);
1237 </OnLoad>
1238 </Scripts>
1239 </Frame>
1240  
1241 <Button name="CCWatchOptionsLearnClear" inherits="GameMenuButtonTemplate" text="CCWATCH_RESET">
1242 <Size>
1243 <AbsDimension x="100" y="21"/>
1244 </Size>
1245 <Anchors>
1246 <Anchor point="BOTTOMLEFT">
1247 <Offset>
1248 <AbsDimension x="10" y="10"/>
1249 </Offset>
1250 </Anchor>
1251 </Anchors>
1252 <Scripts>
1253 <OnClick>
1254 CCWatchOptionsLearnClear_OnClick();
1255 </OnClick>
1256 </Scripts>
1257 </Button>
1258  
1259 <Button name="CCWatchOptionsLearnModify" inherits="GameMenuButtonTemplate" text="CCWATCH_ADD">
1260 <Size>
1261 <AbsDimension x="100" y="21"/>
1262 </Size>
1263 <Anchors>
1264 <Anchor point="BOTTOMRIGHT">
1265 <Offset>
1266 <AbsDimension x="-10" y="10"/>
1267 </Offset>
1268 </Anchor>
1269 </Anchors>
1270 <Scripts>
1271 <OnClick>
1272 CCWatchOptionsLearnModify_OnClick();
1273 </OnClick>
1274 </Scripts>
1275 </Button>
1276  
1277  
1278 </Frames>
1279 </Frame>
1280  
1281  
1282 <Button name="CCWatchOptionsLearnDelete" inherits="GameMenuButtonTemplate" text="CCWATCH_DELETE">
1283 <Size>
1284 <AbsDimension x="90" y="21"/>
1285 </Size>
1286 <Anchors>
1287 <Anchor point="TOPRIGHT">
1288 <Offset>
1289 <AbsDimension x="0" y="-10"/>
1290 </Offset>
1291 </Anchor>
1292 </Anchors>
1293 <Scripts>
1294 <OnClick>
1295 CCWatchOptionsLearnDelete_OnClick();
1296 </OnClick>
1297 </Scripts>
1298 </Button>
1299  
1300  
1301  
1302 <ScrollFrame name="CCWatchOptionsEffectsListScrollFrame" inherits="FauxScrollFrameTemplate">
1303 <Size>
1304 <AbsDimension x="5" y="176"/>
1305 </Size>
1306 <Anchors>
1307 <Anchor point="TOPRIGHT" relativeTo="CCWatchOptionsLearnDelete" relativePoint="TOPLEFT">
1308 <Offset>
1309 <AbsDimension x="-25" y="-2"/>
1310 </Offset>
1311 </Anchor>
1312 </Anchors>
1313 <Scripts>
1314 <OnVerticalScroll>
1315 FauxScrollFrame_OnVerticalScroll(16, CCWatchOptionsEffects_Update);
1316 </OnVerticalScroll>
1317 </Scripts>
1318 </ScrollFrame>
1319  
1320 <Button name="CCWatchOptionsEffectsItem1" inherits="CCWatchOptionsEffectsItemButtonTemplate">
1321 <Anchors>
1322 <Anchor point="TOPRIGHT" relativeTo="CCWatchOptionsEffectsListScrollFrame" relativePoint="TOPLEFT">
1323 </Anchor>
1324 </Anchors>
1325 </Button>
1326 <Button name="CCWatchOptionsEffectsItem2" inherits="CCWatchOptionsEffectsItemButtonTemplate">
1327 <Anchors>
1328 <Anchor point="TOPLEFT" relativeTo="CCWatchOptionsEffectsItem1" relativePoint="BOTTOMLEFT">
1329 </Anchor>
1330 </Anchors>
1331 </Button>
1332 <Button name="CCWatchOptionsEffectsItem3" inherits="CCWatchOptionsEffectsItemButtonTemplate">
1333 <Anchors>
1334 <Anchor point="TOPLEFT" relativeTo="CCWatchOptionsEffectsItem2" relativePoint="BOTTOMLEFT">
1335 </Anchor>
1336 </Anchors>
1337 </Button>
1338 <Button name="CCWatchOptionsEffectsItem4" inherits="CCWatchOptionsEffectsItemButtonTemplate">
1339 <Anchors>
1340 <Anchor point="TOPLEFT" relativeTo="CCWatchOptionsEffectsItem3" relativePoint="BOTTOMLEFT">
1341 </Anchor>
1342 </Anchors>
1343 </Button>
1344 <Button name="CCWatchOptionsEffectsItem5" inherits="CCWatchOptionsEffectsItemButtonTemplate">
1345 <Anchors>
1346 <Anchor point="TOPLEFT" relativeTo="CCWatchOptionsEffectsItem4" relativePoint="BOTTOMLEFT">
1347 </Anchor>
1348 </Anchors>
1349 </Button>
1350 <Button name="CCWatchOptionsEffectsItem6" inherits="CCWatchOptionsEffectsItemButtonTemplate">
1351 <Anchors>
1352 <Anchor point="TOPLEFT" relativeTo="CCWatchOptionsEffectsItem5" relativePoint="BOTTOMLEFT">
1353 </Anchor>
1354 </Anchors>
1355 </Button>
1356 <Button name="CCWatchOptionsEffectsItem7" inherits="CCWatchOptionsEffectsItemButtonTemplate">
1357 <Anchors>
1358 <Anchor point="TOPLEFT" relativeTo="CCWatchOptionsEffectsItem6" relativePoint="BOTTOMLEFT">
1359 </Anchor>
1360 </Anchors>
1361 </Button>
1362 <Button name="CCWatchOptionsEffectsItem8" inherits="CCWatchOptionsEffectsItemButtonTemplate">
1363 <Anchors>
1364 <Anchor point="TOPLEFT" relativeTo="CCWatchOptionsEffectsItem7" relativePoint="BOTTOMLEFT">
1365 </Anchor>
1366 </Anchors>
1367 </Button>
1368 <Button name="CCWatchOptionsEffectsItem9" inherits="CCWatchOptionsEffectsItemButtonTemplate">
1369 <Anchors>
1370 <Anchor point="TOPLEFT" relativeTo="CCWatchOptionsEffectsItem8" relativePoint="BOTTOMLEFT">
1371 </Anchor>
1372 </Anchors>
1373 </Button>
1374 <Button name="CCWatchOptionsEffectsItem10" inherits="CCWatchOptionsEffectsItemButtonTemplate">
1375 <Anchors>
1376 <Anchor point="TOPLEFT" relativeTo="CCWatchOptionsEffectsItem9" relativePoint="BOTTOMLEFT">
1377 </Anchor>
1378 </Anchors>
1379 </Button>
1380 <Button name="CCWatchOptionsEffectsItem11" inherits="CCWatchOptionsEffectsItemButtonTemplate">
1381 <Anchors>
1382 <Anchor point="TOPLEFT" relativeTo="CCWatchOptionsEffectsItem10" relativePoint="BOTTOMLEFT">
1383 </Anchor>
1384 </Anchors>
1385 </Button>
1386 </Frames>
1387 <Scripts>
1388 <OnShow>
1389 CCWatchOptionsLearnFrame_OnShow();
1390 </OnShow>
1391 <OnHide>
1392 CCWatchOptionsLearnFrame_OnHide();
1393 </OnHide>
1394 </Scripts>
1395 </Frame>
1396  
1397 <Button name="CCWatchOptionsFrameDone" inherits="GameMenuButtonTemplate" text="CCWATCH_OPTIONS_DONE">
1398 <Anchors>
1399 <Anchor point="BOTTOM">
1400 <Offset>
1401 <AbsDimension x="0" y="20"/>
1402 </Offset>
1403 </Anchor>
1404 </Anchors>
1405 <Scripts>
1406 <OnClick>
1407 CCWatchOptions_Toggle();
1408 </OnClick>
1409 </Scripts>
1410 </Button>
1411 </Frames>
1412 <Scripts>
1413 <OnLoad>
1414 CCWatchOptions_OnLoad();
1415 </OnLoad>
1416 <OnEvent>
1417 CCWatchOptions_OnEvent(event);
1418 </OnEvent>
1419 <OnShow>
1420 CCWatchOptionsBarsTab_OnClick();
1421 PlaySound("igMainMenuOption");
1422 </OnShow>
1423 </Scripts>
1424 </Frame>
1425 </Ui>