vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <!-- Options Pane Definition --> |
2 | |||
3 | <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/"> |
||
4 | |||
5 | <!-- CHECKBUTTON TEMPLATE --> |
||
6 | <CheckButton name="SCTCheckTemplate" inherits="OptionsCheckButtonTemplate" virtual="true"> |
||
7 | <HitRectInsets> |
||
8 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
9 | </HitRectInsets> |
||
10 | <Scripts> |
||
11 | <OnClick> |
||
12 | if ( this:GetChecked() ) then |
||
13 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
14 | else |
||
15 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
16 | end |
||
17 | SCT_OptionsCheckButtonOnClick(); |
||
18 | </OnClick> |
||
19 | </Scripts> |
||
20 | </CheckButton> |
||
21 | |||
22 | <!-- SLIDER TEMPLATE --> |
||
23 | <Slider name="SCTSliderTemplate" inherits="OptionsSliderTemplate" virtual="true"> |
||
24 | <Scripts> |
||
25 | <OnValueChanged> |
||
26 | SCT_OptionsSliderOnValueChanged(); |
||
27 | </OnValueChanged> |
||
28 | </Scripts> |
||
29 | </Slider > |
||
30 | |||
31 | <!-- DROPDOWN TEMPLATE --> |
||
32 | <Frame name="SCTDropdownTemplate" inherits="UIDropDownMenuTemplate" virtual="true"> |
||
33 | <Size> |
||
34 | <AbsDimension x="128" y="16"/> |
||
35 | </Size> |
||
36 | <Layers> |
||
37 | <Layer level="BACKGROUND"> |
||
38 | <FontString name="$parentLabel" inherits="GameFontNormalSmall"> |
||
39 | <Anchors> |
||
40 | <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"> |
||
41 | <Offset> |
||
42 | <AbsDimension x="21" y="0"/> |
||
43 | </Offset> |
||
44 | </Anchor> |
||
45 | </Anchors> |
||
46 | </FontString> |
||
47 | </Layer> |
||
48 | </Layers> |
||
49 | <Scripts> |
||
50 | <OnLoad> |
||
51 | UIDropDownMenu_Initialize(this, SCT_DropDown_Initialize); |
||
52 | </OnLoad> |
||
53 | <OnEnter> |
||
54 | if ( this.tooltipText ) then |
||
55 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
56 | GameTooltip:SetText(this.tooltipText, nil, nil, nil, nil, 1); |
||
57 | end |
||
58 | </OnEnter> |
||
59 | <OnLeave> |
||
60 | GameTooltip:Hide(); |
||
61 | </OnLeave> |
||
62 | </Scripts> |
||
63 | </Frame> |
||
64 | |||
65 | <!-- EVENT TEMPLATE --> |
||
66 | <Frame name="SCTEventOptionTemplate" virtual="true"> |
||
67 | <Size> |
||
68 | <AbsDimension x="160" y="22"/> |
||
69 | </Size> |
||
70 | <Frames> |
||
71 | <Button name="$parent_ColorSwatch"> |
||
72 | <Size> |
||
73 | <AbsDimension x="16" y="16"/> |
||
74 | </Size> |
||
75 | <Anchors> |
||
76 | <Anchor point="LEFT"> |
||
77 | <Offset> |
||
78 | <AbsDimension x="0" y="0"/> |
||
79 | </Offset> |
||
80 | </Anchor> |
||
81 | </Anchors> |
||
82 | <Layers> |
||
83 | <Layer level="BACKGROUND"> |
||
84 | <Texture name="$parent_SwatchBg"> |
||
85 | <Size> |
||
86 | <AbsDimension x="14" y="14"/> |
||
87 | </Size> |
||
88 | <Anchors> |
||
89 | <Anchor point="CENTER"> |
||
90 | <Offset> |
||
91 | <AbsDimension x="0" y="0"/> |
||
92 | </Offset> |
||
93 | </Anchor> |
||
94 | </Anchors> |
||
95 | <Color r="1.0" g="1.0" b="1.0"/> |
||
96 | </Texture> |
||
97 | </Layer> |
||
98 | </Layers> |
||
99 | <Scripts> |
||
100 | <OnClick> |
||
101 | SCT_OpenColorPicker(this:GetParent()); |
||
102 | </OnClick> |
||
103 | <OnEnter> |
||
104 | getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b); |
||
105 | </OnEnter> |
||
106 | <OnLeave> |
||
107 | getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b); |
||
108 | </OnLeave> |
||
109 | </Scripts> |
||
110 | <NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch"/> |
||
111 | </Button> |
||
112 | <CheckButton name="$parent_CritCheckButton" inherits="SCTCheckTemplate"> |
||
113 | <Size> |
||
114 | <AbsDimension x="25" y="25"/> |
||
115 | </Size> |
||
116 | <Anchors> |
||
117 | <Anchor point="LEFT" relativeTo="$parent_ColorSwatch" relativePoint="RIGHT"> |
||
118 | <Offset> |
||
119 | <AbsDimension x="0" y="0"/> |
||
120 | </Offset> |
||
121 | </Anchor> |
||
122 | </Anchors> |
||
123 | </CheckButton> |
||
124 | <CheckButton name="$parent_MsgCheckButton" inherits="SCTCheckTemplate"> |
||
125 | <Size> |
||
126 | <AbsDimension x="25" y="25"/> |
||
127 | </Size> |
||
128 | <Anchors> |
||
129 | <Anchor point="LEFT" relativeTo="$parent_CritCheckButton" relativePoint="RIGHT"> |
||
130 | <Offset> |
||
131 | <AbsDimension x="-4" y="0"/> |
||
132 | </Offset> |
||
133 | </Anchor> |
||
134 | </Anchors> |
||
135 | </CheckButton> |
||
136 | <CheckButton name="$parent_CheckButton" inherits="SCTCheckTemplate"> |
||
137 | <Anchors> |
||
138 | <Anchor point="LEFT" relativeTo="$parent_MsgCheckButton" relativePoint="RIGHT"> |
||
139 | <Offset> |
||
140 | <AbsDimension x="-4" y="0"/> |
||
141 | </Offset> |
||
142 | </Anchor> |
||
143 | </Anchors> |
||
144 | </CheckButton> |
||
145 | </Frames> |
||
146 | </Frame> |
||
147 | |||
148 | <!-- SAVE TEMPLATE --> |
||
149 | <Button name = "SCTSaveTemplate" virtual="true"> |
||
150 | <Size> |
||
151 | <AbsDimension x="140" y="20" /> |
||
152 | </Size> |
||
153 | <Layers> |
||
154 | <Layer level="BORDER"> |
||
155 | <FontString name="$parent_Name" inherits="GameFontHighlightSmall" wraponspaces="false" justifyH="LEFT" text=""> |
||
156 | <Size> |
||
157 | <AbsDimension x="140" y="20"/> |
||
158 | </Size> |
||
159 | <Anchors> |
||
160 | <Anchor point="TOPLEFT"/> |
||
161 | </Anchors> |
||
162 | </FontString> |
||
163 | <Texture name="$parent_BackTexture" file="Interface\DialogFrame\UI-DialogBox-Background"> |
||
164 | <Size> |
||
165 | <AbsDimension x="140" y="18"/> |
||
166 | </Size> |
||
167 | <Anchors> |
||
168 | <Anchor point="TOPLEFT"> |
||
169 | <Offset> |
||
170 | <AbsDimension x="0" y="-1"/> |
||
171 | </Offset> |
||
172 | </Anchor> |
||
173 | </Anchors> |
||
174 | <TexCoords left="0" right="0.09375" top="0" bottom="1.0"/> |
||
175 | </Texture> |
||
176 | </Layer> |
||
177 | </Layers> |
||
178 | </Button> |
||
179 | |||
180 | <!-- SAVE LIST TEMPLATE --> |
||
181 | <Button name = "SCTSaveListTemplate" inherits="SCTSaveTemplate" virtual="true"> |
||
182 | <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/> |
||
183 | <Scripts> |
||
184 | <OnClick> |
||
185 | SCTSaveList_OnClick(); |
||
186 | </OnClick> |
||
187 | </Scripts> |
||
188 | </Button> |
||
189 | |||
190 | <!-- BUTTON TEMPLATE --> |
||
191 | <Button name="SCTButtonTemplate" inherits="OptionsButtonTemplate" virtual="true"> |
||
192 | <Scripts> |
||
193 | <OnClick> |
||
194 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
195 | </OnClick> |
||
196 | <OnEnter> |
||
197 | if (this.tooltipText) then |
||
198 | GameTooltip_AddNewbieTip(this:GetText(), 1.0, 1.0, 1.0, this.tooltipText); |
||
199 | end |
||
200 | </OnEnter> |
||
201 | <OnLeave> |
||
202 | GameTooltip:Hide(); |
||
203 | </OnLeave> |
||
204 | </Scripts> |
||
205 | </Button> |
||
206 | |||
207 | <!-- MAIN OPTION FRAME --> |
||
208 | <Frame name="SCTOptions" toplevel="true" frameStrata="LOW" movable="false" enableMouse="true" hidden="true" parent="UIParent"> |
||
209 | <Size> |
||
210 | <AbsDimension x="620" y="594"/> |
||
211 | </Size> |
||
212 | <Anchors> |
||
213 | <Anchor point="CENTER" /> |
||
214 | </Anchors> |
||
215 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" |
||
216 | tile="true"> |
||
217 | <BackgroundInsets> |
||
218 | <AbsInset left="11" right="12" top="12" bottom="11" /> |
||
219 | <Size> |
||
220 | <AbsDimension x="128" y="17" /> |
||
221 | </Size> |
||
222 | </BackgroundInsets> |
||
223 | <TileSize> |
||
224 | <AbsValue val="32" /> |
||
225 | </TileSize> |
||
226 | <EdgeSize> |
||
227 | <AbsValue val="32" /> |
||
228 | </EdgeSize> |
||
229 | </Backdrop> |
||
230 | |||
231 | <Layers> |
||
232 | <Layer level="ARTWORK"> |
||
233 | <Texture name="SCTFrameTitle" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
234 | <Size> |
||
235 | <AbsDimension x="276" y="64" /> |
||
236 | </Size> |
||
237 | <Anchors> |
||
238 | <Anchor point="TOP"> |
||
239 | <Offset> |
||
240 | <AbsDimension x="0" y="12" /> |
||
241 | </Offset> |
||
242 | </Anchor> |
||
243 | </Anchors> |
||
244 | </Texture> |
||
245 | <FontString name="SCTOptionsFrame_Misc1" inherits="GameFontNormal"> |
||
246 | <Anchors> |
||
247 | <Anchor point="TOP" relativeTo="SCTOptions"> |
||
248 | <Offset> |
||
249 | <AbsDimension x="0" y="-3" /> |
||
250 | </Offset> |
||
251 | </Anchor> |
||
252 | </Anchors> |
||
253 | </FontString> |
||
254 | </Layer> |
||
255 | </Layers> |
||
256 | |||
257 | <Frames> |
||
258 | |||
259 | <!-- EVENTS OPTION FRAME --> |
||
260 | <Frame name="SCTOptions_EventsFrame" inherits="OptionFrameBoxTemplate"> |
||
261 | <Size> |
||
262 | <AbsDimension x="385" y="305"/> |
||
263 | </Size> |
||
264 | <Anchors> |
||
265 | <Anchor point="TOPLEFT"> |
||
266 | <Offset> |
||
267 | <AbsDimension x="20" y="-50"/> |
||
268 | </Offset> |
||
269 | </Anchor> |
||
270 | </Anchors> |
||
271 | <Scripts> |
||
272 | <OnLoad> |
||
273 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
274 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
275 | </OnLoad> |
||
276 | </Scripts> |
||
277 | <Frames> |
||
278 | |||
279 | <Frame name="SCTOptions_EventsFrameTitle"> |
||
280 | <Size> |
||
281 | <AbsDimension x="140" y="20"/> |
||
282 | </Size> |
||
283 | <Anchors> |
||
284 | <Anchor point="TOP"> |
||
285 | <Offset> |
||
286 | <AbsDimension x="0" y="-10"/> |
||
287 | </Offset> |
||
288 | </Anchor> |
||
289 | </Anchors> |
||
290 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
291 | <EdgeSize> |
||
292 | <AbsValue val="8"/> |
||
293 | </EdgeSize> |
||
294 | <TileSize> |
||
295 | <AbsValue val="8"/> |
||
296 | </TileSize> |
||
297 | <BackgroundInsets> |
||
298 | <AbsInset left="2" right="2" top="2" bottom="2"/> |
||
299 | </BackgroundInsets> |
||
300 | </Backdrop> |
||
301 | <Layers> |
||
302 | <Layer> |
||
303 | <FontString name="SCTOptionsFrame_Misc2" inherits="GameFontHighlight"> |
||
304 | <Anchors> |
||
305 | <Anchor point="CENTER"> |
||
306 | <Offset> |
||
307 | <AbsDimension x="0" y="0"/> |
||
308 | </Offset> |
||
309 | </Anchor> |
||
310 | </Anchors> |
||
311 | </FontString> |
||
312 | </Layer> |
||
313 | </Layers> |
||
314 | <Scripts> |
||
315 | <OnLoad> |
||
316 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
317 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
318 | </OnLoad> |
||
319 | </Scripts> |
||
320 | </Frame> |
||
321 | |||
322 | <CheckButton name="SCTOptionsFrame_CheckButton1" inherits="SCTCheckTemplate"> |
||
323 | <Anchors> |
||
324 | <Anchor point="TOPLEFT" relativeTo="SCTOptions_EventsFrame" relativePoint="TOPLEFT"> |
||
325 | <Offset> |
||
326 | <AbsDimension x="0" y="30" /> |
||
327 | </Offset> |
||
328 | </Anchor> |
||
329 | </Anchors> |
||
330 | </CheckButton> |
||
331 | |||
332 | <Frame name="SCTOptionsFrame1" inherits="SCTEventOptionTemplate"> |
||
333 | <Anchors> |
||
334 | <Anchor point="TOPLEFT" relativeTo="SCTOptions_EventsFrame" relativePoint="TOPLEFT"> |
||
335 | <Offset> |
||
336 | <AbsDimension x="10" y="-32" /> |
||
337 | </Offset> |
||
338 | </Anchor> |
||
339 | </Anchors> |
||
340 | </Frame> |
||
341 | |||
342 | <Frame name="SCTOptionsFrame2" inherits="SCTEventOptionTemplate"> |
||
343 | <Anchors> |
||
344 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame1" relativePoint="LEFT"> |
||
345 | <Offset> |
||
346 | <AbsDimension x="0" y="-27" /> |
||
347 | </Offset> |
||
348 | </Anchor> |
||
349 | </Anchors> |
||
350 | </Frame> |
||
351 | |||
352 | <Frame name="SCTOptionsFrame3" inherits="SCTEventOptionTemplate"> |
||
353 | <Anchors> |
||
354 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame2" relativePoint="LEFT"> |
||
355 | <Offset> |
||
356 | <AbsDimension x="0" y="-27" /> |
||
357 | </Offset> |
||
358 | </Anchor> |
||
359 | </Anchors> |
||
360 | </Frame> |
||
361 | |||
362 | <Frame name="SCTOptionsFrame4" inherits="SCTEventOptionTemplate"> |
||
363 | <Anchors> |
||
364 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame3" relativePoint="LEFT"> |
||
365 | <Offset> |
||
366 | <AbsDimension x="0" y="-27" /> |
||
367 | </Offset> |
||
368 | </Anchor> |
||
369 | </Anchors> |
||
370 | </Frame> |
||
371 | |||
372 | <Frame name="SCTOptionsFrame5" inherits="SCTEventOptionTemplate"> |
||
373 | <Anchors> |
||
374 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame4" relativePoint="LEFT"> |
||
375 | <Offset> |
||
376 | <AbsDimension x="0" y="-27" /> |
||
377 | </Offset> |
||
378 | </Anchor> |
||
379 | </Anchors> |
||
380 | </Frame> |
||
381 | |||
382 | <Frame name="SCTOptionsFrame6" inherits="SCTEventOptionTemplate"> |
||
383 | <Anchors> |
||
384 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame5" relativePoint="LEFT"> |
||
385 | <Offset> |
||
386 | <AbsDimension x="0" y="-27" /> |
||
387 | </Offset> |
||
388 | </Anchor> |
||
389 | </Anchors> |
||
390 | </Frame> |
||
391 | |||
392 | <Frame name="SCTOptionsFrame7" inherits="SCTEventOptionTemplate"> |
||
393 | <Anchors> |
||
394 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame6" relativePoint="LEFT"> |
||
395 | <Offset> |
||
396 | <AbsDimension x="0" y="-27" /> |
||
397 | </Offset> |
||
398 | </Anchor> |
||
399 | </Anchors> |
||
400 | </Frame> |
||
401 | |||
402 | <Frame name="SCTOptionsFrame21" inherits="SCTEventOptionTemplate"> |
||
403 | <Anchors> |
||
404 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame7" relativePoint="LEFT"> |
||
405 | <Offset> |
||
406 | <AbsDimension x="0" y="-27" /> |
||
407 | </Offset> |
||
408 | </Anchor> |
||
409 | </Anchors> |
||
410 | </Frame> |
||
411 | |||
412 | <Frame name="SCTOptionsFrame8" inherits="SCTEventOptionTemplate"> |
||
413 | <Anchors> |
||
414 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame21" relativePoint="LEFT"> |
||
415 | <Offset> |
||
416 | <AbsDimension x="0" y="-27" /> |
||
417 | </Offset> |
||
418 | </Anchor> |
||
419 | </Anchors> |
||
420 | </Frame> |
||
421 | |||
422 | <Frame name="SCTOptionsFrame19" inherits="SCTEventOptionTemplate"> |
||
423 | <Anchors> |
||
424 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame8" relativePoint="LEFT"> |
||
425 | <Offset> |
||
426 | <AbsDimension x="0" y="-27" /> |
||
427 | </Offset> |
||
428 | </Anchor> |
||
429 | </Anchors> |
||
430 | </Frame> |
||
431 | |||
432 | <Frame name="SCTOptionsFrame9" inherits="SCTEventOptionTemplate"> |
||
433 | <Anchors> |
||
434 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame1" relativePoint="LEFT"> |
||
435 | <Offset> |
||
436 | <AbsDimension x="180" y="0" /> |
||
437 | </Offset> |
||
438 | </Anchor> |
||
439 | </Anchors> |
||
440 | </Frame> |
||
441 | |||
442 | <Frame name="SCTOptionsFrame17" inherits="SCTEventOptionTemplate"> |
||
443 | <Anchors> |
||
444 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame9" relativePoint="LEFT"> |
||
445 | <Offset> |
||
446 | <AbsDimension x="0" y="-27" /> |
||
447 | </Offset> |
||
448 | </Anchor> |
||
449 | </Anchors> |
||
450 | </Frame> |
||
451 | |||
452 | <Frame name="SCTOptionsFrame18" inherits="SCTEventOptionTemplate"> |
||
453 | <Anchors> |
||
454 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame17" relativePoint="LEFT"> |
||
455 | <Offset> |
||
456 | <AbsDimension x="0" y="-27" /> |
||
457 | </Offset> |
||
458 | </Anchor> |
||
459 | </Anchors> |
||
460 | </Frame> |
||
461 | |||
462 | <Frame name="SCTOptionsFrame10" inherits="SCTEventOptionTemplate"> |
||
463 | <Anchors> |
||
464 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame18" relativePoint="LEFT"> |
||
465 | <Offset> |
||
466 | <AbsDimension x="0" y="-27" /> |
||
467 | </Offset> |
||
468 | </Anchor> |
||
469 | </Anchors> |
||
470 | </Frame> |
||
471 | |||
472 | <Frame name="SCTOptionsFrame13" inherits="SCTEventOptionTemplate"> |
||
473 | <Anchors> |
||
474 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame10" relativePoint="LEFT"> |
||
475 | <Offset> |
||
476 | <AbsDimension x="0" y="-27" /> |
||
477 | </Offset> |
||
478 | </Anchor> |
||
479 | </Anchors> |
||
480 | </Frame> |
||
481 | |||
482 | <Frame name="SCTOptionsFrame14" inherits="SCTEventOptionTemplate"> |
||
483 | <Anchors> |
||
484 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame13" relativePoint="LEFT"> |
||
485 | <Offset> |
||
486 | <AbsDimension x="0" y="-27" /> |
||
487 | </Offset> |
||
488 | </Anchor> |
||
489 | </Anchors> |
||
490 | </Frame> |
||
491 | |||
492 | <Frame name="SCTOptionsFrame15" inherits="SCTEventOptionTemplate"> |
||
493 | <Anchors> |
||
494 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame14" relativePoint="LEFT"> |
||
495 | <Offset> |
||
496 | <AbsDimension x="0" y="-27" /> |
||
497 | </Offset> |
||
498 | </Anchor> |
||
499 | </Anchors> |
||
500 | </Frame> |
||
501 | |||
502 | <Frame name="SCTOptionsFrame16" inherits="SCTEventOptionTemplate"> |
||
503 | <Anchors> |
||
504 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame15" relativePoint="LEFT"> |
||
505 | <Offset> |
||
506 | <AbsDimension x="0" y="-27" /> |
||
507 | </Offset> |
||
508 | </Anchor> |
||
509 | </Anchors> |
||
510 | </Frame> |
||
511 | |||
512 | <Frame name="SCTOptionsFrame20" inherits="SCTEventOptionTemplate"> |
||
513 | <Anchors> |
||
514 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame16" relativePoint="LEFT"> |
||
515 | <Offset> |
||
516 | <AbsDimension x="0" y="-27" /> |
||
517 | </Offset> |
||
518 | </Anchor> |
||
519 | </Anchors> |
||
520 | </Frame> |
||
521 | |||
522 | <Frame name="SCTOptionsFrame22" inherits="SCTEventOptionTemplate"> |
||
523 | <Anchors> |
||
524 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame20" relativePoint="LEFT"> |
||
525 | <Offset> |
||
526 | <AbsDimension x="0" y="-27" /> |
||
527 | </Offset> |
||
528 | </Anchor> |
||
529 | </Anchors> |
||
530 | </Frame> |
||
531 | |||
532 | </Frames> |
||
533 | </Frame> |
||
534 | |||
535 | <!-- TEXT OPTION FRAME --> |
||
536 | <Frame name="SCTOptions_TextFrame" inherits="OptionFrameBoxTemplate"> |
||
537 | <Size> |
||
538 | <AbsDimension x="190" y="285"/> |
||
539 | </Size> |
||
540 | <Anchors> |
||
541 | <Anchor point="TOPLEFT" relativeTo="SCTOptions_EventsFrame" relativePoint="TOPRIGHT"> |
||
542 | <Offset> |
||
543 | <AbsDimension x="5" y="-20"/> |
||
544 | </Offset> |
||
545 | </Anchor> |
||
546 | </Anchors> |
||
547 | <Scripts> |
||
548 | <OnLoad> |
||
549 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
550 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
551 | </OnLoad> |
||
552 | </Scripts> |
||
553 | <Frames> |
||
554 | |||
555 | <Frame name="SCTOptions_TextFrameTitle"> |
||
556 | <Size> |
||
557 | <AbsDimension x="140" y="20"/> |
||
558 | </Size> |
||
559 | <Anchors> |
||
560 | <Anchor point="TOP"> |
||
561 | <Offset> |
||
562 | <AbsDimension x="0" y="-10"/> |
||
563 | </Offset> |
||
564 | </Anchor> |
||
565 | </Anchors> |
||
566 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
567 | <EdgeSize> |
||
568 | <AbsValue val="8"/> |
||
569 | </EdgeSize> |
||
570 | <TileSize> |
||
571 | <AbsValue val="8"/> |
||
572 | </TileSize> |
||
573 | <BackgroundInsets> |
||
574 | <AbsInset left="2" right="2" top="2" bottom="2"/> |
||
575 | </BackgroundInsets> |
||
576 | </Backdrop> |
||
577 | <Layers> |
||
578 | <Layer> |
||
579 | <FontString name="SCTOptionsFrame_Misc3" inherits="GameFontHighlight"> |
||
580 | <Anchors> |
||
581 | <Anchor point="CENTER"> |
||
582 | <Offset> |
||
583 | <AbsDimension x="0" y="0"/> |
||
584 | </Offset> |
||
585 | </Anchor> |
||
586 | </Anchors> |
||
587 | </FontString> |
||
588 | </Layer> |
||
589 | </Layers> |
||
590 | <Scripts> |
||
591 | <OnLoad> |
||
592 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
593 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
594 | </OnLoad> |
||
595 | </Scripts> |
||
596 | </Frame> |
||
597 | |||
598 | <Slider name="SCTOptionsFrame_Slider2" inherits="SCTSliderTemplate"> |
||
599 | <Anchors> |
||
600 | <Anchor point="TOP" relativeTo="SCTOptions_TextFrame" relativePoint="TOP"> |
||
601 | <Offset> |
||
602 | <AbsDimension x="0" y="-45" /> |
||
603 | </Offset> |
||
604 | </Anchor> |
||
605 | </Anchors> |
||
606 | </Slider> |
||
607 | |||
608 | <Slider name="SCTOptionsFrame_Slider5" inherits="SCTSliderTemplate"> |
||
609 | <Anchors> |
||
610 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Slider2" relativePoint="BOTTOM"> |
||
611 | <Offset> |
||
612 | <AbsDimension x="0" y="-20" /> |
||
613 | </Offset> |
||
614 | </Anchor> |
||
615 | </Anchors> |
||
616 | </Slider> |
||
617 | |||
618 | <Slider name="SCTOptionsFrame_Slider7" inherits="SCTSliderTemplate"> |
||
619 | <Anchors> |
||
620 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Slider5" relativePoint="BOTTOM"> |
||
621 | <Offset> |
||
622 | <AbsDimension x="0" y="-20" /> |
||
623 | </Offset> |
||
624 | </Anchor> |
||
625 | </Anchors> |
||
626 | </Slider> |
||
627 | |||
628 | <Slider name="SCTOptionsFrame_Slider8" inherits="SCTSliderTemplate"> |
||
629 | <Anchors> |
||
630 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Slider7" relativePoint="BOTTOM"> |
||
631 | <Offset> |
||
632 | <AbsDimension x="0" y="-20" /> |
||
633 | </Offset> |
||
634 | </Anchor> |
||
635 | </Anchors> |
||
636 | </Slider> |
||
637 | |||
638 | <Frame name="SCTOptionsFrame_Selection3" inherits="SCTDropdownTemplate" hidden="false"> |
||
639 | <Anchors> |
||
640 | <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="SCTOptionsFrame_Slider8"> |
||
641 | <Offset> |
||
642 | <AbsDimension x="-20" y="-25"/> |
||
643 | </Offset> |
||
644 | </Anchor> |
||
645 | </Anchors> |
||
646 | </Frame> |
||
647 | |||
648 | <Frame name="SCTOptionsFrame_Selection4" inherits="SCTDropdownTemplate" hidden="false"> |
||
649 | <Anchors> |
||
650 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Selection3" relativePoint="BOTTOM"> |
||
651 | <Offset> |
||
652 | <AbsDimension x="0" y="-8"/> |
||
653 | </Offset> |
||
654 | </Anchor> |
||
655 | </Anchors> |
||
656 | </Frame> |
||
657 | </Frames> |
||
658 | </Frame> |
||
659 | |||
660 | <!-- MESSAGE OPTION FRAME --> |
||
661 | <Frame name="SCTOptions_MessageFrame" inherits="OptionFrameBoxTemplate" hidden="true"> |
||
662 | <Size> |
||
663 | <AbsDimension x="190" y="285"/> |
||
664 | </Size> |
||
665 | <Anchors> |
||
666 | <Anchor point="TOPLEFT" relativeTo="SCTOptions_EventsFrame" relativePoint="TOPRIGHT"> |
||
667 | <Offset> |
||
668 | <AbsDimension x="5" y="-20"/> |
||
669 | </Offset> |
||
670 | </Anchor> |
||
671 | </Anchors> |
||
672 | <Scripts> |
||
673 | <OnLoad> |
||
674 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
675 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
676 | </OnLoad> |
||
677 | </Scripts> |
||
678 | <Frames> |
||
679 | |||
680 | <Frame name="SCTOptions_MessageFrameTitle"> |
||
681 | <Size> |
||
682 | <AbsDimension x="140" y="20"/> |
||
683 | </Size> |
||
684 | <Anchors> |
||
685 | <Anchor point="TOP"> |
||
686 | <Offset> |
||
687 | <AbsDimension x="0" y="-10"/> |
||
688 | </Offset> |
||
689 | </Anchor> |
||
690 | </Anchors> |
||
691 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
692 | <EdgeSize> |
||
693 | <AbsValue val="8"/> |
||
694 | </EdgeSize> |
||
695 | <TileSize> |
||
696 | <AbsValue val="8"/> |
||
697 | </TileSize> |
||
698 | <BackgroundInsets> |
||
699 | <AbsInset left="2" right="2" top="2" bottom="2"/> |
||
700 | </BackgroundInsets> |
||
701 | </Backdrop> |
||
702 | <Layers> |
||
703 | <Layer> |
||
704 | <FontString name="SCTOptionsFrame_Misc16" inherits="GameFontHighlight"> |
||
705 | <Anchors> |
||
706 | <Anchor point="CENTER"> |
||
707 | <Offset> |
||
708 | <AbsDimension x="0" y="0"/> |
||
709 | </Offset> |
||
710 | </Anchor> |
||
711 | </Anchors> |
||
712 | </FontString> |
||
713 | </Layer> |
||
714 | </Layers> |
||
715 | <Scripts> |
||
716 | <OnLoad> |
||
717 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
718 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
719 | </OnLoad> |
||
720 | </Scripts> |
||
721 | </Frame> |
||
722 | |||
723 | <Slider name="SCTOptionsFrame_Slider12" inherits="SCTSliderTemplate"> |
||
724 | <Anchors> |
||
725 | <Anchor point="TOP" relativeTo="SCTOptions_MessageFrame" relativePoint="TOP"> |
||
726 | <Offset> |
||
727 | <AbsDimension x="0" y="-45" /> |
||
728 | </Offset> |
||
729 | </Anchor> |
||
730 | </Anchors> |
||
731 | </Slider> |
||
732 | |||
733 | <Slider name="SCTOptionsFrame_Slider11" inherits="SCTSliderTemplate"> |
||
734 | <Anchors> |
||
735 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Slider12" relativePoint="BOTTOM"> |
||
736 | <Offset> |
||
737 | <AbsDimension x="0" y="-20" /> |
||
738 | </Offset> |
||
739 | </Anchor> |
||
740 | </Anchors> |
||
741 | </Slider> |
||
742 | |||
743 | <Slider name="SCTOptionsFrame_Slider9" inherits="SCTSliderTemplate"> |
||
744 | <Anchors> |
||
745 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Slider11" relativePoint="BOTTOM"> |
||
746 | <Offset> |
||
747 | <AbsDimension x="0" y="-20" /> |
||
748 | </Offset> |
||
749 | </Anchor> |
||
750 | </Anchors> |
||
751 | </Slider> |
||
752 | |||
753 | <Slider name="SCTOptionsFrame_Slider10" inherits="SCTSliderTemplate"> |
||
754 | <Anchors> |
||
755 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Slider9" relativePoint="BOTTOM"> |
||
756 | <Offset> |
||
757 | <AbsDimension x="0" y="-20" /> |
||
758 | </Offset> |
||
759 | </Anchor> |
||
760 | </Anchors> |
||
761 | </Slider> |
||
762 | |||
763 | <Frame name="SCTOptionsFrame_Selection5" inherits="SCTDropdownTemplate" hidden="false"> |
||
764 | <Anchors> |
||
765 | <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="SCTOptionsFrame_Slider10"> |
||
766 | <Offset> |
||
767 | <AbsDimension x="-20" y="-25"/> |
||
768 | </Offset> |
||
769 | </Anchor> |
||
770 | </Anchors> |
||
771 | </Frame> |
||
772 | |||
773 | <Frame name="SCTOptionsFrame_Selection6" inherits="SCTDropdownTemplate" hidden="false"> |
||
774 | <Anchors> |
||
775 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Selection5" relativePoint="BOTTOM"> |
||
776 | <Offset> |
||
777 | <AbsDimension x="0" y="-8"/> |
||
778 | </Offset> |
||
779 | </Anchor> |
||
780 | </Anchors> |
||
781 | </Frame> |
||
782 | |||
783 | </Frames> |
||
784 | </Frame> |
||
785 | |||
786 | <!-- MISC FLAG OPTION FRAME --> |
||
787 | <Frame name="SCTOptions_MiscFrame" inherits="OptionFrameBoxTemplate"> |
||
788 | <Size> |
||
789 | <AbsDimension x="190" y="165"/> |
||
790 | </Size> |
||
791 | <Anchors> |
||
792 | <Anchor point="TOPLEFT" relativeTo="SCTOptions_EventsFrame" relativePoint="BOTTOMLEFT"> |
||
793 | <Offset> |
||
794 | <AbsDimension x="0" y="-35"/> |
||
795 | </Offset> |
||
796 | </Anchor> |
||
797 | </Anchors> |
||
798 | <Scripts> |
||
799 | <OnLoad> |
||
800 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
801 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
802 | </OnLoad> |
||
803 | </Scripts> |
||
804 | <Frames> |
||
805 | |||
806 | <Frame name="SCTOptions_MiscFrameTitle"> |
||
807 | <Size> |
||
808 | <AbsDimension x="140" y="20"/> |
||
809 | </Size> |
||
810 | <Anchors> |
||
811 | <Anchor point="TOP"> |
||
812 | <Offset> |
||
813 | <AbsDimension x="0" y="-10"/> |
||
814 | </Offset> |
||
815 | </Anchor> |
||
816 | </Anchors> |
||
817 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
818 | <EdgeSize> |
||
819 | <AbsValue val="8"/> |
||
820 | </EdgeSize> |
||
821 | <TileSize> |
||
822 | <AbsValue val="8"/> |
||
823 | </TileSize> |
||
824 | <BackgroundInsets> |
||
825 | <AbsInset left="2" right="2" top="2" bottom="2"/> |
||
826 | </BackgroundInsets> |
||
827 | </Backdrop> |
||
828 | <Layers> |
||
829 | <Layer> |
||
830 | <FontString name="SCTOptionsFrame_Misc4" inherits="GameFontHighlight"> |
||
831 | <Anchors> |
||
832 | <Anchor point="CENTER"> |
||
833 | <Offset> |
||
834 | <AbsDimension x="0" y="0"/> |
||
835 | </Offset> |
||
836 | </Anchor> |
||
837 | </Anchors> |
||
838 | </FontString> |
||
839 | </Layer> |
||
840 | </Layers> |
||
841 | <Scripts> |
||
842 | <OnLoad> |
||
843 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
844 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
845 | </OnLoad> |
||
846 | </Scripts> |
||
847 | </Frame> |
||
848 | |||
849 | <CheckButton name="SCTOptionsFrame_CheckButton2" inherits="SCTCheckTemplate"> |
||
850 | <Anchors> |
||
851 | <Anchor point="TOPLEFT" relativeTo="SCTOptions_MiscFrame" relativePoint="TOPLEFT"> |
||
852 | <Offset> |
||
853 | <AbsDimension x="10" y="-30" /> |
||
854 | </Offset> |
||
855 | </Anchor> |
||
856 | </Anchors> |
||
857 | </CheckButton> |
||
858 | |||
859 | <CheckButton name="SCTOptionsFrame_CheckButton5" inherits="SCTCheckTemplate"> |
||
860 | <Anchors> |
||
861 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton2" relativePoint="left"> |
||
862 | <Offset> |
||
863 | <AbsDimension x="0" y="-25" /> |
||
864 | </Offset> |
||
865 | </Anchor> |
||
866 | </Anchors> |
||
867 | </CheckButton> |
||
868 | |||
869 | <CheckButton name="SCTOptionsFrame_CheckButton7" inherits="SCTCheckTemplate"> |
||
870 | <Anchors> |
||
871 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton5" relativePoint="left"> |
||
872 | <Offset> |
||
873 | <AbsDimension x="0" y="-25" /> |
||
874 | </Offset> |
||
875 | </Anchor> |
||
876 | </Anchors> |
||
877 | </CheckButton> |
||
878 | |||
879 | <CheckButton name="SCTOptionsFrame_CheckButton9" inherits="SCTCheckTemplate"> |
||
880 | <Anchors> |
||
881 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton7" relativePoint="left"> |
||
882 | <Offset> |
||
883 | <AbsDimension x="0" y="-25" /> |
||
884 | </Offset> |
||
885 | </Anchor> |
||
886 | </Anchors> |
||
887 | </CheckButton> |
||
888 | |||
889 | </Frames> |
||
890 | </Frame> |
||
891 | |||
892 | <!-- SPELL OPTION FRAME --> |
||
893 | <Frame name="SCTOptions_SpellFrame" inherits="OptionFrameBoxTemplate" hidden="true"> |
||
894 | <Size> |
||
895 | <AbsDimension x="190" y="165"/> |
||
896 | </Size> |
||
897 | <Anchors> |
||
898 | <Anchor point="TOPLEFT" relativeTo="SCTOptions_EventsFrame" relativePoint="BOTTOMLEFT"> |
||
899 | <Offset> |
||
900 | <AbsDimension x="0" y="-35"/> |
||
901 | </Offset> |
||
902 | </Anchor> |
||
903 | </Anchors> |
||
904 | <Scripts> |
||
905 | <OnLoad> |
||
906 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
907 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
908 | </OnLoad> |
||
909 | </Scripts> |
||
910 | <Frames> |
||
911 | |||
912 | <Frame name="SCTOptions_SpellFrameTitle"> |
||
913 | <Size> |
||
914 | <AbsDimension x="140" y="20"/> |
||
915 | </Size> |
||
916 | <Anchors> |
||
917 | <Anchor point="TOP"> |
||
918 | <Offset> |
||
919 | <AbsDimension x="0" y="-10"/> |
||
920 | </Offset> |
||
921 | </Anchor> |
||
922 | </Anchors> |
||
923 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
924 | <EdgeSize> |
||
925 | <AbsValue val="8"/> |
||
926 | </EdgeSize> |
||
927 | <TileSize> |
||
928 | <AbsValue val="8"/> |
||
929 | </TileSize> |
||
930 | <BackgroundInsets> |
||
931 | <AbsInset left="2" right="2" top="2" bottom="2"/> |
||
932 | </BackgroundInsets> |
||
933 | </Backdrop> |
||
934 | <Layers> |
||
935 | <Layer> |
||
936 | <FontString name="SCTOptionsFrame_Misc17" inherits="GameFontHighlight"> |
||
937 | <Anchors> |
||
938 | <Anchor point="CENTER"> |
||
939 | <Offset> |
||
940 | <AbsDimension x="0" y="0"/> |
||
941 | </Offset> |
||
942 | </Anchor> |
||
943 | </Anchors> |
||
944 | </FontString> |
||
945 | </Layer> |
||
946 | </Layers> |
||
947 | <Scripts> |
||
948 | <OnLoad> |
||
949 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
950 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
951 | </OnLoad> |
||
952 | </Scripts> |
||
953 | </Frame> |
||
954 | |||
955 | <CheckButton name="SCTOptionsFrame_CheckButton3" inherits="SCTCheckTemplate"> |
||
956 | <Anchors> |
||
957 | <Anchor point="TOPLEFT" relativeTo="SCTOptions_MiscFrame" relativePoint="TOPLEFT"> |
||
958 | <Offset> |
||
959 | <AbsDimension x="10" y="-30" /> |
||
960 | </Offset> |
||
961 | </Anchor> |
||
962 | </Anchors> |
||
963 | </CheckButton> |
||
964 | |||
965 | <CheckButton name="SCTOptionsFrame_CheckButton6" inherits="SCTCheckTemplate"> |
||
966 | <Anchors> |
||
967 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton3" relativePoint="left"> |
||
968 | <Offset> |
||
969 | <AbsDimension x="0" y="-25" /> |
||
970 | </Offset> |
||
971 | </Anchor> |
||
972 | </Anchors> |
||
973 | </CheckButton> |
||
974 | |||
975 | <CheckButton name="SCTOptionsFrame_CheckButton8" inherits="SCTCheckTemplate"> |
||
976 | <Anchors> |
||
977 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton6" relativePoint="left"> |
||
978 | <Offset> |
||
979 | <AbsDimension x="0" y="-25" /> |
||
980 | </Offset> |
||
981 | </Anchor> |
||
982 | </Anchors> |
||
983 | </CheckButton> |
||
984 | |||
985 | <CheckButton name="SCTOptionsFrame_CheckButton10" inherits="SCTCheckTemplate"> |
||
986 | <Anchors> |
||
987 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton8" relativePoint="left"> |
||
988 | <Offset> |
||
989 | <AbsDimension x="0" y="-25" /> |
||
990 | </Offset> |
||
991 | </Anchor> |
||
992 | </Anchors> |
||
993 | </CheckButton> |
||
994 | </Frames> |
||
995 | </Frame> |
||
996 | |||
997 | <!-- WARNING OPTION FRAME --> |
||
998 | <Frame name="SCTOptions_WarningFrame" inherits="OptionFrameBoxTemplate"> |
||
999 | <Size> |
||
1000 | <AbsDimension x="190" y="195"/> |
||
1001 | </Size> |
||
1002 | <Anchors> |
||
1003 | <Anchor point="TOPLEFT" relativeTo="SCTOptions_MiscFrame" relativePoint="TOPRIGHT"> |
||
1004 | <Offset> |
||
1005 | <AbsDimension x="5" y="30"/> |
||
1006 | </Offset> |
||
1007 | </Anchor> |
||
1008 | </Anchors> |
||
1009 | <Scripts> |
||
1010 | <OnLoad> |
||
1011 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
1012 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
1013 | </OnLoad> |
||
1014 | </Scripts> |
||
1015 | <Frames> |
||
1016 | |||
1017 | <Frame name="SCTOptions_WarningFrameTitle"> |
||
1018 | <Size> |
||
1019 | <AbsDimension x="140" y="20"/> |
||
1020 | </Size> |
||
1021 | <Anchors> |
||
1022 | <Anchor point="TOP"> |
||
1023 | <Offset> |
||
1024 | <AbsDimension x="0" y="-10"/> |
||
1025 | </Offset> |
||
1026 | </Anchor> |
||
1027 | </Anchors> |
||
1028 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
1029 | <EdgeSize> |
||
1030 | <AbsValue val="8"/> |
||
1031 | </EdgeSize> |
||
1032 | <TileSize> |
||
1033 | <AbsValue val="8"/> |
||
1034 | </TileSize> |
||
1035 | <BackgroundInsets> |
||
1036 | <AbsInset left="2" right="2" top="2" bottom="2"/> |
||
1037 | </BackgroundInsets> |
||
1038 | </Backdrop> |
||
1039 | <Layers> |
||
1040 | <Layer> |
||
1041 | <FontString name="SCTOptionsFrame_Misc5" inherits="GameFontHighlight"> |
||
1042 | <Anchors> |
||
1043 | <Anchor point="CENTER"> |
||
1044 | <Offset> |
||
1045 | <AbsDimension x="0" y="0"/> |
||
1046 | </Offset> |
||
1047 | </Anchor> |
||
1048 | </Anchors> |
||
1049 | </FontString> |
||
1050 | </Layer> |
||
1051 | </Layers> |
||
1052 | <Scripts> |
||
1053 | <OnLoad> |
||
1054 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
1055 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
1056 | </OnLoad> |
||
1057 | </Scripts> |
||
1058 | </Frame> |
||
1059 | |||
1060 | <Frame name="SCTOptionsFrame11" inherits="SCTEventOptionTemplate"> |
||
1061 | <Anchors> |
||
1062 | <Anchor point="TOP" relativeTo="SCTOptions_WarningFrame" relativePoint="TOP"> |
||
1063 | <Offset> |
||
1064 | <AbsDimension x="10" y="-40" /> |
||
1065 | </Offset> |
||
1066 | </Anchor> |
||
1067 | </Anchors> |
||
1068 | </Frame> |
||
1069 | |||
1070 | <Slider name="SCTOptionsFrame_Slider3" inherits="SCTSliderTemplate"> |
||
1071 | <Anchors> |
||
1072 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame11" relativePoint="left"> |
||
1073 | <Offset> |
||
1074 | <AbsDimension x="0" y="-30" /> |
||
1075 | </Offset> |
||
1076 | </Anchor> |
||
1077 | </Anchors> |
||
1078 | </Slider> |
||
1079 | |||
1080 | <Frame name="SCTOptionsFrame12" inherits="SCTEventOptionTemplate"> |
||
1081 | <Anchors> |
||
1082 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame11" relativePoint="LEFT"> |
||
1083 | <Offset> |
||
1084 | <AbsDimension x="0" y="-80" /> |
||
1085 | </Offset> |
||
1086 | </Anchor> |
||
1087 | </Anchors> |
||
1088 | </Frame> |
||
1089 | |||
1090 | <Slider name="SCTOptionsFrame_Slider4" inherits="SCTSliderTemplate"> |
||
1091 | <Anchors> |
||
1092 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame12" relativePoint="left"> |
||
1093 | <Offset> |
||
1094 | <AbsDimension x="0" y="-30" /> |
||
1095 | </Offset> |
||
1096 | </Anchor> |
||
1097 | </Anchors> |
||
1098 | </Slider> |
||
1099 | </Frames> |
||
1100 | </Frame> |
||
1101 | |||
1102 | <!-- ANIMATION FRAME --> |
||
1103 | <Frame name="SCTOptions_AnimationFrame" inherits="OptionFrameBoxTemplate"> |
||
1104 | <Size> |
||
1105 | <AbsDimension x="190" y="195"/> |
||
1106 | </Size> |
||
1107 | <Anchors> |
||
1108 | <Anchor point="TOPLEFT" relativeTo="SCTOptions_WarningFrame" relativePoint="TOPRIGHT"> |
||
1109 | <Offset> |
||
1110 | <AbsDimension x="5" y="0"/> |
||
1111 | </Offset> |
||
1112 | </Anchor> |
||
1113 | </Anchors> |
||
1114 | <Scripts> |
||
1115 | <OnLoad> |
||
1116 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
1117 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
1118 | </OnLoad> |
||
1119 | </Scripts> |
||
1120 | <Frames> |
||
1121 | |||
1122 | <Frame name="SCTOptions_AnimationFrameTitle"> |
||
1123 | <Size> |
||
1124 | <AbsDimension x="140" y="20"/> |
||
1125 | </Size> |
||
1126 | <Anchors> |
||
1127 | <Anchor point="TOP"> |
||
1128 | <Offset> |
||
1129 | <AbsDimension x="0" y="-10"/> |
||
1130 | </Offset> |
||
1131 | </Anchor> |
||
1132 | </Anchors> |
||
1133 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
1134 | <EdgeSize> |
||
1135 | <AbsValue val="8"/> |
||
1136 | </EdgeSize> |
||
1137 | <TileSize> |
||
1138 | <AbsValue val="8"/> |
||
1139 | </TileSize> |
||
1140 | <BackgroundInsets> |
||
1141 | <AbsInset left="2" right="2" top="2" bottom="2"/> |
||
1142 | </BackgroundInsets> |
||
1143 | </Backdrop> |
||
1144 | <Layers> |
||
1145 | <Layer> |
||
1146 | <FontString name="SCTOptionsFrame_Misc6" inherits="GameFontHighlight"> |
||
1147 | <Anchors> |
||
1148 | <Anchor point="CENTER"> |
||
1149 | <Offset> |
||
1150 | <AbsDimension x="0" y="0"/> |
||
1151 | </Offset> |
||
1152 | </Anchor> |
||
1153 | </Anchors> |
||
1154 | </FontString> |
||
1155 | </Layer> |
||
1156 | </Layers> |
||
1157 | <Scripts> |
||
1158 | <OnLoad> |
||
1159 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
1160 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
1161 | </OnLoad> |
||
1162 | </Scripts> |
||
1163 | </Frame> |
||
1164 | |||
1165 | <Frame name="SCTOptionsFrame_Selection1" inherits="SCTDropdownTemplate" hidden="false"> |
||
1166 | <Anchors> |
||
1167 | <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="SCTOptions_AnimationFrameTitle"> |
||
1168 | <Offset> |
||
1169 | <AbsDimension x="-20" y="-10"/> |
||
1170 | </Offset> |
||
1171 | </Anchor> |
||
1172 | </Anchors> |
||
1173 | </Frame> |
||
1174 | |||
1175 | <Frame name="SCTOptionsFrame_Selection2" inherits="SCTDropdownTemplate" hidden="false"> |
||
1176 | <Anchors> |
||
1177 | <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="SCTOptionsFrame_Selection1"> |
||
1178 | <Offset> |
||
1179 | <AbsDimension x="0" y="-8"/> |
||
1180 | </Offset> |
||
1181 | </Anchor> |
||
1182 | </Anchors> |
||
1183 | </Frame> |
||
1184 | |||
1185 | <CheckButton name="SCTOptionsFrame_CheckButton4" inherits="SCTCheckTemplate"> |
||
1186 | <Anchors> |
||
1187 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="SCTOptionsFrame_Selection1"> |
||
1188 | <Offset> |
||
1189 | <AbsDimension x="15" y="0"/> |
||
1190 | </Offset> |
||
1191 | </Anchor> |
||
1192 | </Anchors> |
||
1193 | </CheckButton> |
||
1194 | |||
1195 | <Slider name="SCTOptionsFrame_Slider1" inherits="SCTSliderTemplate"> |
||
1196 | <Anchors> |
||
1197 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Selection2" relativePoint="TOP"> |
||
1198 | <Offset> |
||
1199 | <AbsDimension x="20" y="-45" /> |
||
1200 | </Offset> |
||
1201 | </Anchor> |
||
1202 | </Anchors> |
||
1203 | </Slider> |
||
1204 | |||
1205 | <Slider name="SCTOptionsFrame_Slider6" inherits="SCTSliderTemplate"> |
||
1206 | <Anchors> |
||
1207 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Slider1" relativePoint="BOTTOM"> |
||
1208 | <Offset> |
||
1209 | <AbsDimension x="0" y="-20" /> |
||
1210 | </Offset> |
||
1211 | </Anchor> |
||
1212 | </Anchors> |
||
1213 | </Slider> |
||
1214 | |||
1215 | </Frames> |
||
1216 | </Frame> |
||
1217 | |||
1218 | <!-- Profiles Frame --> |
||
1219 | <Frame name="SCTOptions_ProfilesFrame"> |
||
1220 | <Size> |
||
1221 | <AbsDimension x="200" y="24"/> |
||
1222 | </Size> |
||
1223 | <Anchors> |
||
1224 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="SCTOptions_AnimationFrame"> |
||
1225 | <Offset> |
||
1226 | <AbsDimension x="-130" y="25" /> |
||
1227 | </Offset> |
||
1228 | </Anchor> |
||
1229 | </Anchors> |
||
1230 | |||
1231 | <Frames> |
||
1232 | <!-- Select Profile Button --> |
||
1233 | <Button name="SCTOptionsFrame_Misc10" inherits="SCTButtonTemplate"> |
||
1234 | <Size> |
||
1235 | <AbsDimension x="50" y="22"/> |
||
1236 | </Size> |
||
1237 | <Anchors> |
||
1238 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="SCTOptions_ProfilesFrame"> |
||
1239 | <Offset> |
||
1240 | <AbsDimension x="0" y="-2" /> |
||
1241 | </Offset> |
||
1242 | </Anchor> |
||
1243 | </Anchors> |
||
1244 | <Scripts> |
||
1245 | <OnClick> |
||
1246 | if ( ColorPickerFrame:IsVisible() ) then |
||
1247 | ColorPickerFrame:Hide(); |
||
1248 | end |
||
1249 | SCTOptions_SaveLoadFrame:Show() |
||
1250 | </OnClick> |
||
1251 | </Scripts> |
||
1252 | </Button> |
||
1253 | |||
1254 | <!-- Profile Edit Box --> |
||
1255 | <EditBox name="SCTOptionsProfileEditBox" letters="1000" autoFocus="false" inherits="InputBoxTemplate" frameStrata="HIGH"> |
||
1256 | <Size> |
||
1257 | <AbsDimension x="150" y="22"/> |
||
1258 | </Size> |
||
1259 | <Anchors> |
||
1260 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="SCTOptionsFrame_Misc10"> |
||
1261 | <Offset> |
||
1262 | <AbsDimension x="10" y="0" /> |
||
1263 | </Offset> |
||
1264 | </Anchor> |
||
1265 | </Anchors> |
||
1266 | <FontString inherits="ChatFontNormal" font="Fonts\ARIALN.TTF"> |
||
1267 | <Color r="1" g="1" b="0"/> |
||
1268 | <FontHeight> |
||
1269 | <AbsValue val="12"/> |
||
1270 | </FontHeight> |
||
1271 | </FontString> |
||
1272 | </EditBox> |
||
1273 | |||
1274 | <!-- Load Profile Button --> |
||
1275 | <Button name="SCTOptionsFrame_Misc11" inherits="SCTButtonTemplate"> |
||
1276 | <Size> |
||
1277 | <AbsDimension x="50" y="22"/> |
||
1278 | </Size> |
||
1279 | <Anchors> |
||
1280 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="SCTOptionsProfileEditBox"> |
||
1281 | <Offset> |
||
1282 | <AbsDimension x="5" y="0" /> |
||
1283 | </Offset> |
||
1284 | </Anchor> |
||
1285 | </Anchors> |
||
1286 | <Scripts> |
||
1287 | <OnClick> |
||
1288 | SCTLoadProfile(); |
||
1289 | </OnClick> |
||
1290 | </Scripts> |
||
1291 | </Button> |
||
1292 | |||
1293 | <!-- Delete Profile Button --> |
||
1294 | <Button name="SCTOptionsFrame_Misc12" inherits="SCTButtonTemplate"> |
||
1295 | <Size> |
||
1296 | <AbsDimension x="50" y="22"/> |
||
1297 | </Size> |
||
1298 | <Anchors> |
||
1299 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="SCTOptionsFrame_Misc11"> |
||
1300 | <Offset> |
||
1301 | <AbsDimension x="5" y="0" /> |
||
1302 | </Offset> |
||
1303 | </Anchor> |
||
1304 | </Anchors> |
||
1305 | <Scripts> |
||
1306 | <OnClick> |
||
1307 | SCTDeleteProfile(); |
||
1308 | </OnClick> |
||
1309 | </Scripts> |
||
1310 | </Button> |
||
1311 | </Frames> |
||
1312 | </Frame> |
||
1313 | |||
1314 | <!-- LOAD OPTION FRAME (HIDDEN) --> |
||
1315 | <Frame name="SCTOptions_SaveLoadFrame" inherits="OptionFrameBoxTemplate" hidden="true" frameStrata="DIALOG"> |
||
1316 | <Size> |
||
1317 | <AbsDimension x="190" y="275"/> |
||
1318 | </Size> |
||
1319 | <Anchors> |
||
1320 | <Anchor point="BOTTOM" relativeTo="SCTOptionsFrame_Misc10" relativePoint="TOP"> |
||
1321 | <Offset> |
||
1322 | <AbsDimension x="0" y="10"/> |
||
1323 | </Offset> |
||
1324 | </Anchor> |
||
1325 | </Anchors> |
||
1326 | <Scripts> |
||
1327 | <OnLoad> |
||
1328 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
1329 | this:SetBackdropColor(0, 0, 0); |
||
1330 | </OnLoad> |
||
1331 | </Scripts> |
||
1332 | <Frames> |
||
1333 | |||
1334 | <Frame name="SCTOptions_SaveLoadFrameTitle"> |
||
1335 | <Size> |
||
1336 | <AbsDimension x="140" y="20"/> |
||
1337 | </Size> |
||
1338 | <Anchors> |
||
1339 | <Anchor point="TOP"> |
||
1340 | <Offset> |
||
1341 | <AbsDimension x="0" y="-10"/> |
||
1342 | </Offset> |
||
1343 | </Anchor> |
||
1344 | </Anchors> |
||
1345 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
1346 | <EdgeSize> |
||
1347 | <AbsValue val="8"/> |
||
1348 | </EdgeSize> |
||
1349 | <TileSize> |
||
1350 | <AbsValue val="8"/> |
||
1351 | </TileSize> |
||
1352 | <BackgroundInsets> |
||
1353 | <AbsInset left="2" right="2" top="2" bottom="2"/> |
||
1354 | </BackgroundInsets> |
||
1355 | </Backdrop> |
||
1356 | <Layers> |
||
1357 | <Layer> |
||
1358 | <FontString name="SCTOptionsFrame_Misc7" inherits="GameFontHighlight"> |
||
1359 | <Anchors> |
||
1360 | <Anchor point="CENTER"> |
||
1361 | <Offset> |
||
1362 | <AbsDimension x="0" y="0"/> |
||
1363 | </Offset> |
||
1364 | </Anchor> |
||
1365 | </Anchors> |
||
1366 | </FontString> |
||
1367 | </Layer> |
||
1368 | </Layers> |
||
1369 | <Scripts> |
||
1370 | <OnLoad> |
||
1371 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
1372 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
1373 | </OnLoad> |
||
1374 | </Scripts> |
||
1375 | </Frame> |
||
1376 | |||
1377 | <Button name = "SCTList1" inherits="SCTSaveListTemplate" hidden="false"> |
||
1378 | <Anchors> |
||
1379 | <Anchor point="TOPLEFT" relativeTo="SCTOptions_SaveLoadFrameTitle" relativePoint="BOTTOMLEFT"> |
||
1380 | <Offset> |
||
1381 | <AbsDimension x="0" y="-5"/> |
||
1382 | </Offset> |
||
1383 | </Anchor> |
||
1384 | </Anchors> |
||
1385 | </Button> |
||
1386 | <Button name = "SCTList2" inherits="SCTSaveListTemplate" hidden="false"> |
||
1387 | <Anchors> |
||
1388 | <Anchor point="TOPLEFT" relativeTo="SCTList1" relativePoint="BOTTOMLEFT"/> |
||
1389 | </Anchors> |
||
1390 | </Button> |
||
1391 | <Button name = "SCTList3" inherits="SCTSaveListTemplate" hidden="false"> |
||
1392 | <Anchors> |
||
1393 | <Anchor point="TOPLEFT" relativeTo="SCTList2" relativePoint="BOTTOMLEFT"/> |
||
1394 | </Anchors> |
||
1395 | </Button> |
||
1396 | <Button name = "SCTList4" inherits="SCTSaveListTemplate" hidden="false"> |
||
1397 | <Anchors> |
||
1398 | <Anchor point="TOPLEFT" relativeTo="SCTList3" relativePoint="BOTTOMLEFT"/> |
||
1399 | </Anchors> |
||
1400 | </Button> |
||
1401 | <Button name = "SCTList5" inherits="SCTSaveListTemplate" hidden="false"> |
||
1402 | <Anchors> |
||
1403 | <Anchor point="TOPLEFT" relativeTo="SCTList4" relativePoint="BOTTOMLEFT"/> |
||
1404 | </Anchors> |
||
1405 | </Button> |
||
1406 | <Button name = "SCTList6" inherits="SCTSaveListTemplate" hidden="false"> |
||
1407 | <Anchors> |
||
1408 | <Anchor point="TOPLEFT" relativeTo="SCTList5" relativePoint="BOTTOMLEFT"/> |
||
1409 | </Anchors> |
||
1410 | </Button> |
||
1411 | <Button name = "SCTList7" inherits="SCTSaveListTemplate" hidden="false"> |
||
1412 | <Anchors> |
||
1413 | <Anchor point="TOPLEFT" relativeTo="SCTList6" relativePoint="BOTTOMLEFT"/> |
||
1414 | </Anchors> |
||
1415 | </Button> |
||
1416 | <Button name = "SCTList8" inherits="SCTSaveListTemplate" hidden="false"> |
||
1417 | <Anchors> |
||
1418 | <Anchor point="TOPLEFT" relativeTo="SCTList7" relativePoint="BOTTOMLEFT"/> |
||
1419 | </Anchors> |
||
1420 | </Button> |
||
1421 | <Button name = "SCTList9" inherits="SCTSaveListTemplate" hidden="false"> |
||
1422 | <Anchors> |
||
1423 | <Anchor point="TOPLEFT" relativeTo="SCTList8" relativePoint="BOTTOMLEFT"/> |
||
1424 | </Anchors> |
||
1425 | </Button> |
||
1426 | <Button name = "SCTList10" inherits="SCTSaveListTemplate" hidden="false"> |
||
1427 | <Anchors> |
||
1428 | <Anchor point="TOPLEFT" relativeTo="SCTList9" relativePoint="BOTTOMLEFT"/> |
||
1429 | </Anchors> |
||
1430 | </Button> |
||
1431 | |||
1432 | <!-- Cancel Button --> |
||
1433 | <Button name="SCTOptionsFrame_Misc13" inherits="SCTButtonTemplate"> |
||
1434 | <Anchors> |
||
1435 | <Anchor point="TOP" relativeTo="SCTList10" relativePoint="BOTTOM"> |
||
1436 | <Offset> |
||
1437 | <AbsDimension x="0" y="-5"/> |
||
1438 | </Offset> |
||
1439 | </Anchor> |
||
1440 | </Anchors> |
||
1441 | <Scripts> |
||
1442 | <OnClick> |
||
1443 | SCTOptions_SaveLoadFrame:Hide() |
||
1444 | </OnClick> |
||
1445 | </Scripts> |
||
1446 | </Button> |
||
1447 | </Frames> |
||
1448 | </Frame> |
||
1449 | |||
1450 | <!-- Example Frame --> |
||
1451 | <Frame name="SCT_EXAMPLETEXT" toplevel="true" frameStrata="HIGH" hidden="true"> |
||
1452 | <Size> |
||
1453 | <AbsDimension x="24" y="24"/> |
||
1454 | </Size> |
||
1455 | <Anchors> |
||
1456 | <Anchor point="CENTER"> |
||
1457 | <Offset> |
||
1458 | <AbsDimension x="0" y="60"/> |
||
1459 | </Offset> |
||
1460 | </Anchor> |
||
1461 | </Anchors> |
||
1462 | <Layers> |
||
1463 | <Layer level="ARTWORK"> |
||
1464 | <FontString name="SCTaniExampleData1" inherits="MasterFont"/> |
||
1465 | </Layer> |
||
1466 | </Layers> |
||
1467 | </Frame> |
||
1468 | |||
1469 | <!-- Example MSG Frame --> |
||
1470 | <Frame name="SCT_EXAMPLEMSG" toplevel="true" frameStrata="HIGH" hidden="true"> |
||
1471 | <Size> |
||
1472 | <AbsDimension x="24" y="24"/> |
||
1473 | </Size> |
||
1474 | <Anchors> |
||
1475 | <Anchor point="CENTER"> |
||
1476 | <Offset> |
||
1477 | <AbsDimension x="0" y="210"/> |
||
1478 | </Offset> |
||
1479 | </Anchor> |
||
1480 | </Anchors> |
||
1481 | <Layers> |
||
1482 | <Layer level="ARTWORK"> |
||
1483 | <FontString name="SCTMsgExample1" inherits="MasterFont" font="Fonts\FRIZQT__.TTF" justifyH="CENTER" outline="NORMAL"> |
||
1484 | <FontHeight> |
||
1485 | <AbsValue val="20"/> |
||
1486 | </FontHeight> |
||
1487 | </FontString> |
||
1488 | </Layer> |
||
1489 | </Layers> |
||
1490 | </Frame> |
||
1491 | |||
1492 | <!-- Save Button --> |
||
1493 | <Button name="SCTOptionsFrame_Misc8" inherits="SCTButtonTemplate"> |
||
1494 | <Size> |
||
1495 | <AbsDimension x="150" y="21"/> |
||
1496 | </Size> |
||
1497 | <Anchors> |
||
1498 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="SCTOptions_MiscFrame"> |
||
1499 | <Offset> |
||
1500 | <AbsDimension x="5" y="-2" /> |
||
1501 | </Offset> |
||
1502 | </Anchor> |
||
1503 | </Anchors> |
||
1504 | <Scripts> |
||
1505 | <OnClick> |
||
1506 | if ( ColorPickerFrame:IsVisible() ) then |
||
1507 | ColorPickerFrame:Hide(); |
||
1508 | end |
||
1509 | SCTSaveCurrentSettings(); |
||
1510 | SCT_aniInit(); |
||
1511 | SCT_hideMenu(); |
||
1512 | </OnClick> |
||
1513 | </Scripts> |
||
1514 | </Button> |
||
1515 | |||
1516 | <!-- Reset Button --> |
||
1517 | <Button name="SCTOptionsFrame_Misc9" inherits="SCTButtonTemplate"> |
||
1518 | <Anchors> |
||
1519 | <Anchor point="TOPRIGHT"> |
||
1520 | <Offset> |
||
1521 | <AbsDimension x="-20" y="-16"/> |
||
1522 | </Offset> |
||
1523 | </Anchor> |
||
1524 | </Anchors> |
||
1525 | <Scripts> |
||
1526 | <OnLoad> |
||
1527 | StaticPopupDialogs["SCT_RESET"] = { |
||
1528 | text = SCT_OPTION_MISC9.tooltipText, |
||
1529 | button1 = TEXT(OKAY) , |
||
1530 | button2 = TEXT(CANCEL) , |
||
1531 | OnAccept = function() |
||
1532 | SCT_Reset(); |
||
1533 | end, |
||
1534 | timeout = 0, |
||
1535 | whileDead = 1, |
||
1536 | hideOnEscape = 1, |
||
1537 | showAlert = 1 |
||
1538 | }; |
||
1539 | </OnLoad> |
||
1540 | <OnClick> |
||
1541 | StaticPopup_Show("SCT_RESET"); |
||
1542 | </OnClick> |
||
1543 | </Scripts> |
||
1544 | </Button> |
||
1545 | |||
1546 | <!-- Scrolling Text Button --> |
||
1547 | <Button name="SCTOptionsFrame_Misc14" inherits="TabButtonTemplate" text="test1234"> |
||
1548 | <Anchors> |
||
1549 | <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" relativeTo="SCTOptions_TextFrame"> |
||
1550 | <Offset> |
||
1551 | <AbsDimension x="10" y="-2" /> |
||
1552 | </Offset> |
||
1553 | </Anchor> |
||
1554 | </Anchors> |
||
1555 | <Scripts> |
||
1556 | <OnClick> |
||
1557 | PanelTemplates_SelectTab(this); |
||
1558 | PanelTemplates_DeselectTab(SCTOptionsFrame_Misc15); |
||
1559 | SCTOptions_MessageFrame:Hide(); |
||
1560 | SCTOptions_TextFrame:Show(); |
||
1561 | </OnClick> |
||
1562 | <OnLoad> |
||
1563 | <!-- Size it properly --> |
||
1564 | PanelTemplates_SelectTab(this); |
||
1565 | PanelTemplates_TabResize(-10, this); |
||
1566 | getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth() + 16); |
||
1567 | </OnLoad> |
||
1568 | </Scripts> |
||
1569 | </Button> |
||
1570 | |||
1571 | <!-- Message Text Button --> |
||
1572 | <Button name="SCTOptionsFrame_Misc15" inherits="TabButtonTemplate" text="test123456"> |
||
1573 | <Anchors> |
||
1574 | <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" relativeTo="SCTOptions_TextFrame"> |
||
1575 | <Offset> |
||
1576 | <AbsDimension x="-10" y="-2" /> |
||
1577 | </Offset> |
||
1578 | </Anchor> |
||
1579 | </Anchors> |
||
1580 | <Scripts> |
||
1581 | <OnClick> |
||
1582 | PanelTemplates_SelectTab(this); |
||
1583 | PanelTemplates_DeselectTab(SCTOptionsFrame_Misc14); |
||
1584 | SCTOptions_TextFrame:Hide(); |
||
1585 | SCTOptions_MessageFrame:Show(); |
||
1586 | </OnClick> |
||
1587 | <OnLoad> |
||
1588 | <!-- Size it properly --> |
||
1589 | PanelTemplates_DeselectTab(this); |
||
1590 | PanelTemplates_TabResize(-10, this); |
||
1591 | getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth() + 16); |
||
1592 | </OnLoad> |
||
1593 | </Scripts> |
||
1594 | </Button> |
||
1595 | |||
1596 | <!-- Misc Button --> |
||
1597 | <Button name="SCTOptionsFrame_Misc18" inherits="TabButtonTemplate" text="test1234"> |
||
1598 | <Anchors> |
||
1599 | <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" relativeTo="SCTOptions_MiscFrame"> |
||
1600 | <Offset> |
||
1601 | <AbsDimension x="10" y="-2" /> |
||
1602 | </Offset> |
||
1603 | </Anchor> |
||
1604 | </Anchors> |
||
1605 | <Scripts> |
||
1606 | <OnClick> |
||
1607 | PanelTemplates_SelectTab(this); |
||
1608 | PanelTemplates_DeselectTab(SCTOptionsFrame_Misc19); |
||
1609 | SCTOptions_SpellFrame:Hide(); |
||
1610 | SCTOptions_MiscFrame:Show(); |
||
1611 | </OnClick> |
||
1612 | <OnLoad> |
||
1613 | <!-- Size it properly --> |
||
1614 | PanelTemplates_SelectTab(this); |
||
1615 | PanelTemplates_TabResize(-10, this); |
||
1616 | getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth() + 16); |
||
1617 | </OnLoad> |
||
1618 | </Scripts> |
||
1619 | </Button> |
||
1620 | |||
1621 | <!-- Spell Button --> |
||
1622 | <Button name="SCTOptionsFrame_Misc19" inherits="TabButtonTemplate" text="test123456"> |
||
1623 | <Anchors> |
||
1624 | <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" relativeTo="SCTOptions_SpellFrame"> |
||
1625 | <Offset> |
||
1626 | <AbsDimension x="-10" y="-2" /> |
||
1627 | </Offset> |
||
1628 | </Anchor> |
||
1629 | </Anchors> |
||
1630 | <Scripts> |
||
1631 | <OnClick> |
||
1632 | PanelTemplates_SelectTab(this); |
||
1633 | PanelTemplates_DeselectTab(SCTOptionsFrame_Misc18); |
||
1634 | SCTOptions_MiscFrame:Hide(); |
||
1635 | SCTOptions_SpellFrame:Show(); |
||
1636 | </OnClick> |
||
1637 | <OnLoad> |
||
1638 | <!-- Size it properly --> |
||
1639 | PanelTemplates_DeselectTab(this); |
||
1640 | PanelTemplates_TabResize(-10, this); |
||
1641 | getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth() + 16); |
||
1642 | </OnLoad> |
||
1643 | </Scripts> |
||
1644 | </Button> |
||
1645 | |||
1646 | </Frames> |
||
1647 | <Scripts> |
||
1648 | <OnShow> |
||
1649 | SCTOptionsFrame_OnShow(); |
||
1650 | </OnShow> |
||
1651 | </Scripts> |
||
1652 | </Frame> |
||
1653 | </Ui> |