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 | <!-- RADIO BUTTON TEMPLATE --> |
||
23 | <CheckButton name="SCTRadioTemplate" inherits="UIRadioButtonTemplate" virtual="true"> |
||
24 | <Scripts> |
||
25 | <OnClick> |
||
26 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
27 | SCT:OptionsRadioButtonOnClick(this:GetID(),this:GetParent():GetName()); |
||
28 | </OnClick> |
||
29 | <OnEnter> |
||
30 | if ( this.tooltipText ) then |
||
31 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
32 | GameTooltip:SetText(this.tooltipText, nil, nil, nil, nil, 1); |
||
33 | end |
||
34 | </OnEnter> |
||
35 | <OnLeave> |
||
36 | GameTooltip:Hide(); |
||
37 | </OnLeave> |
||
38 | </Scripts> |
||
39 | </CheckButton> |
||
40 | |||
41 | <!-- SLIDER READONLY TEMPLATE --> |
||
42 | <Frame name="SCTSliderTemplate" virtual="true"> |
||
43 | <Size> |
||
44 | <AbsDimension x="160" y="18"/> |
||
45 | </Size> |
||
46 | <Frames> |
||
47 | <Slider name="$parentSlider" inherits="OptionsSliderTemplate"> |
||
48 | <Anchors> |
||
49 | <Anchor point="LEFT"> |
||
50 | <Offset> |
||
51 | <AbsDimension x="0" y="0"/> |
||
52 | </Offset> |
||
53 | </Anchor> |
||
54 | </Anchors> |
||
55 | <Scripts> |
||
56 | <OnValueChanged> |
||
57 | SCT:OptionsSliderOnValueChanged(); |
||
58 | </OnValueChanged> |
||
59 | </Scripts> |
||
60 | </Slider> |
||
61 | <Frame> |
||
62 | <Layers> |
||
63 | <Layer level="BACKGROUND"> |
||
64 | <FontString name="$parentEditBox" inherits="GameFontHighlightSmall"> |
||
65 | <Anchors> |
||
66 | <Anchor point="LEFT" relativeTo="$parentSlider" relativePoint="RIGHT"> |
||
67 | <Offset> |
||
68 | <AbsDimension x="7" y="0"/> |
||
69 | </Offset> |
||
70 | </Anchor> |
||
71 | </Anchors> |
||
72 | </FontString> |
||
73 | </Layer> |
||
74 | </Layers> |
||
75 | </Frame> |
||
76 | </Frames> |
||
77 | </Frame> |
||
78 | |||
79 | <!-- SLIDER EDIT TEMPLATE --> |
||
80 | <Frame name="SCTSliderEditTemplate" virtual="true"> |
||
81 | <Size> |
||
82 | <AbsDimension x="160" y="18"/> |
||
83 | </Size> |
||
84 | <Frames> |
||
85 | <Slider name="$parentSlider" inherits="OptionsSliderTemplate"> |
||
86 | <Anchors> |
||
87 | <Anchor point="LEFT"> |
||
88 | <Offset> |
||
89 | <AbsDimension x="0" y="0"/> |
||
90 | </Offset> |
||
91 | </Anchor> |
||
92 | </Anchors> |
||
93 | <Scripts> |
||
94 | <OnValueChanged> |
||
95 | SCT:OptionsSliderOnValueChanged(); |
||
96 | </OnValueChanged> |
||
97 | </Scripts> |
||
98 | </Slider> |
||
99 | <EditBox name="$parentEditBox" letters="5" autoFocus="false" inherits="InputBoxTemplate"> |
||
100 | <Size> |
||
101 | <AbsDimension x="30" y="16"/> |
||
102 | </Size> |
||
103 | <Anchors> |
||
104 | <Anchor point="LEFT" relativeTo="$parentSlider" relativePoint="RIGHT"> |
||
105 | <Offset> |
||
106 | <AbsDimension x="7" y="0"/> |
||
107 | </Offset> |
||
108 | </Anchor> |
||
109 | </Anchors> |
||
110 | <FontString inherits="GameFontHighlightSmall"/> |
||
111 | <Scripts> |
||
112 | <OnEnterPressed> |
||
113 | SCT:OptionsEditBoxOnValueChanged() |
||
114 | this:ClearFocus() |
||
115 | </OnEnterPressed> |
||
116 | <OnEscapePressed> |
||
117 | this:ClearFocus() |
||
118 | </OnEscapePressed> |
||
119 | </Scripts> |
||
120 | </EditBox> |
||
121 | </Frames> |
||
122 | </Frame> |
||
123 | |||
124 | <!-- DROPDOWN TEMPLATE --> |
||
125 | <Frame name="SCTDropdownTemplate" inherits="UIDropDownMenuTemplate" virtual="true"> |
||
126 | <Size> |
||
127 | <AbsDimension x="128" y="16"/> |
||
128 | </Size> |
||
129 | <Layers> |
||
130 | <Layer level="BACKGROUND"> |
||
131 | <FontString name="$parentLabel" inherits="GameFontNormalSmall"> |
||
132 | <Anchors> |
||
133 | <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"> |
||
134 | <Offset> |
||
135 | <AbsDimension x="21" y="0"/> |
||
136 | </Offset> |
||
137 | </Anchor> |
||
138 | </Anchors> |
||
139 | </FontString> |
||
140 | </Layer> |
||
141 | </Layers> |
||
142 | <Scripts> |
||
143 | <OnLoad> |
||
144 | UIDropDownMenu_Initialize(this, function() SCT:DropDown_Initialize() end); |
||
145 | </OnLoad> |
||
146 | <OnEnter> |
||
147 | if ( this.tooltipText ) then |
||
148 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
149 | GameTooltip:SetText(this.tooltipText, nil, nil, nil, nil, 1); |
||
150 | end |
||
151 | </OnEnter> |
||
152 | <OnLeave> |
||
153 | GameTooltip:Hide(); |
||
154 | </OnLeave> |
||
155 | </Scripts> |
||
156 | </Frame> |
||
157 | |||
158 | <!-- EVENT TEMPLATE --> |
||
159 | <Frame name="SCTEventOptionTemplate" virtual="true"> |
||
160 | <Size> |
||
161 | <AbsDimension x="160" y="22"/> |
||
162 | </Size> |
||
163 | <Frames> |
||
164 | <Button name="$parent_ColorSwatch"> |
||
165 | <Size> |
||
166 | <AbsDimension x="16" y="16"/> |
||
167 | </Size> |
||
168 | <Anchors> |
||
169 | <Anchor point="LEFT"> |
||
170 | <Offset> |
||
171 | <AbsDimension x="0" y="0"/> |
||
172 | </Offset> |
||
173 | </Anchor> |
||
174 | </Anchors> |
||
175 | <Layers> |
||
176 | <Layer level="BACKGROUND"> |
||
177 | <Texture name="$parent_SwatchBg"> |
||
178 | <Size> |
||
179 | <AbsDimension x="14" y="14"/> |
||
180 | </Size> |
||
181 | <Anchors> |
||
182 | <Anchor point="CENTER"> |
||
183 | <Offset> |
||
184 | <AbsDimension x="0" y="0"/> |
||
185 | </Offset> |
||
186 | </Anchor> |
||
187 | </Anchors> |
||
188 | <Color r="1.0" g="1.0" b="1.0"/> |
||
189 | </Texture> |
||
190 | </Layer> |
||
191 | </Layers> |
||
192 | <Scripts> |
||
193 | <OnClick> |
||
194 | SCT:OpenColorPicker(this:GetParent()); |
||
195 | </OnClick> |
||
196 | <OnEnter> |
||
197 | getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b); |
||
198 | </OnEnter> |
||
199 | <OnLeave> |
||
200 | getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b); |
||
201 | </OnLeave> |
||
202 | </Scripts> |
||
203 | <NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch"/> |
||
204 | </Button> |
||
205 | |||
206 | <CheckButton name="$parent_RadioFrame1Button" inherits="SCTRadioTemplate"> |
||
207 | <Anchors> |
||
208 | <Anchor point="LEFT" relativeTo="$parent_ColorSwatch" relativePoint="RIGHT"> |
||
209 | <Offset> |
||
210 | <AbsDimension x="0" y="0"/> |
||
211 | </Offset> |
||
212 | </Anchor> |
||
213 | </Anchors> |
||
214 | <Scripts> |
||
215 | <OnLoad> |
||
216 | this:SetID(SCT.FRAME1); |
||
217 | </OnLoad> |
||
218 | </Scripts> |
||
219 | </CheckButton> |
||
220 | <CheckButton name="$parent_RadioFrame2Button" inherits="SCTRadioTemplate"> |
||
221 | <Anchors> |
||
222 | <Anchor point="LEFT" relativeTo="$parent_RadioFrame1Button" relativePoint="RIGHT"> |
||
223 | <Offset> |
||
224 | <AbsDimension x="-4" y="0"/> |
||
225 | </Offset> |
||
226 | </Anchor> |
||
227 | </Anchors> |
||
228 | <Scripts> |
||
229 | <OnLoad> |
||
230 | this:SetID(SCT.FRAME2); |
||
231 | </OnLoad> |
||
232 | </Scripts> |
||
233 | </CheckButton> |
||
234 | <CheckButton name="$parent_RadioMsgButton" inherits="SCTRadioTemplate"> |
||
235 | <Anchors> |
||
236 | <Anchor point="LEFT" relativeTo="$parent_RadioFrame2Button" relativePoint="RIGHT"> |
||
237 | <Offset> |
||
238 | <AbsDimension x="-4" y="0"/> |
||
239 | </Offset> |
||
240 | </Anchor> |
||
241 | </Anchors> |
||
242 | <Scripts> |
||
243 | <OnLoad> |
||
244 | this:SetID(SCT.MSG); |
||
245 | </OnLoad> |
||
246 | </Scripts> |
||
247 | </CheckButton> |
||
248 | |||
249 | <CheckButton name="$parent_CritCheckButton" inherits="SCTCheckTemplate"> |
||
250 | <Size> |
||
251 | <AbsDimension x="25" y="25"/> |
||
252 | </Size> |
||
253 | <Anchors> |
||
254 | <Anchor point="LEFT" relativeTo="$parent_RadioMsgButton" relativePoint="RIGHT"> |
||
255 | <Offset> |
||
256 | <AbsDimension x="-4" y="0"/> |
||
257 | </Offset> |
||
258 | </Anchor> |
||
259 | </Anchors> |
||
260 | </CheckButton> |
||
261 | |||
262 | <CheckButton name="$parent_CheckButton" inherits="SCTCheckTemplate"> |
||
263 | <Anchors> |
||
264 | <Anchor point="LEFT" relativeTo="$parent_CritCheckButton" relativePoint="RIGHT"> |
||
265 | <Offset> |
||
266 | <AbsDimension x="-4" y="0"/> |
||
267 | </Offset> |
||
268 | </Anchor> |
||
269 | </Anchors> |
||
270 | </CheckButton> |
||
271 | |||
272 | </Frames> |
||
273 | </Frame> |
||
274 | |||
275 | <!-- SAVE TEMPLATE --> |
||
276 | <Button name = "SCTSaveTemplate" virtual="true"> |
||
277 | <Size> |
||
278 | <AbsDimension x="140" y="20" /> |
||
279 | </Size> |
||
280 | <Layers> |
||
281 | <Layer level="BORDER"> |
||
282 | <FontString name="$parent_Name" inherits="GameFontHighlightSmall" wraponspaces="false" justifyH="LEFT" text=""> |
||
283 | <Size> |
||
284 | <AbsDimension x="140" y="20"/> |
||
285 | </Size> |
||
286 | <Anchors> |
||
287 | <Anchor point="TOPLEFT"/> |
||
288 | </Anchors> |
||
289 | </FontString> |
||
290 | <Texture name="$parent_BackTexture" file="Interface\DialogFrame\UI-DialogBox-Background"> |
||
291 | <Size> |
||
292 | <AbsDimension x="140" y="18"/> |
||
293 | </Size> |
||
294 | <Anchors> |
||
295 | <Anchor point="TOPLEFT"> |
||
296 | <Offset> |
||
297 | <AbsDimension x="0" y="-1"/> |
||
298 | </Offset> |
||
299 | </Anchor> |
||
300 | </Anchors> |
||
301 | <TexCoords left="0" right="0.09375" top="0" bottom="1.0"/> |
||
302 | </Texture> |
||
303 | </Layer> |
||
304 | </Layers> |
||
305 | </Button> |
||
306 | |||
307 | <!-- SAVE LIST TEMPLATE --> |
||
308 | <Button name = "SCTSaveListTemplate" inherits="SCTSaveTemplate" virtual="true"> |
||
309 | <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/> |
||
310 | <Scripts> |
||
311 | <OnClick> |
||
312 | SCT:SaveList_OnClick(); |
||
313 | </OnClick> |
||
314 | </Scripts> |
||
315 | </Button> |
||
316 | |||
317 | <!-- BUTTON TEMPLATE --> |
||
318 | <Button name="SCTButtonTemplate" inherits="OptionsButtonTemplate" virtual="true"> |
||
319 | <Scripts> |
||
320 | <OnClick> |
||
321 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
322 | </OnClick> |
||
323 | <OnEnter> |
||
324 | if ( this.tooltipText ) then |
||
325 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
326 | GameTooltip:SetText(this.tooltipText, nil, nil, nil, nil, 1); |
||
327 | end |
||
328 | </OnEnter> |
||
329 | <OnLeave> |
||
330 | GameTooltip:Hide(); |
||
331 | </OnLeave> |
||
332 | </Scripts> |
||
333 | </Button> |
||
334 | |||
335 | <!-- PROFILE BUTTON TEMPLATE --> |
||
336 | <Button name="SCTProfileButtonTemplate" inherits="UIPanelButtonGrayTemplate" virtual="true"> |
||
337 | <Size> |
||
338 | <AbsDimension x="145" y="25"/> |
||
339 | </Size> |
||
340 | <NormalText inherits="GameFontHighlightSmall"/> |
||
341 | <DisabledText inherits="GameFontDisableSmall"/> |
||
342 | <HighlightText inherits="GameFontHighlightSmall"/> |
||
343 | <Scripts> |
||
344 | <OnClick> |
||
345 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
346 | </OnClick> |
||
347 | <OnEnter> |
||
348 | if ( this.tooltipText ) then |
||
349 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
350 | GameTooltip:SetText(this.tooltipText, nil, nil, nil, nil, 1); |
||
351 | end |
||
352 | </OnEnter> |
||
353 | <OnLeave> |
||
354 | GameTooltip:Hide(); |
||
355 | </OnLeave> |
||
356 | </Scripts> |
||
357 | </Button> |
||
358 | |||
359 | <!-- MAIN OPTION FRAME --> |
||
360 | <Frame name="SCTOptions" toplevel="true" frameStrata="LOW" movable="true" enableMouse="true" hidden="true" parent="UIParent"> |
||
361 | <TitleRegion> |
||
362 | <Size> |
||
363 | <AbsDimension x="150" y="40" /> |
||
364 | </Size> |
||
365 | <Anchors> |
||
366 | <Anchor point="TOP"> |
||
367 | <Offset> |
||
368 | <AbsDimension x="0" y="20" /> |
||
369 | </Offset> |
||
370 | </Anchor> |
||
371 | </Anchors> |
||
372 | </TitleRegion> |
||
373 | |||
374 | <Size> |
||
375 | <AbsDimension x="620" y="620"/> |
||
376 | </Size> |
||
377 | <Anchors> |
||
378 | <Anchor point="CENTER" /> |
||
379 | </Anchors> |
||
380 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" |
||
381 | tile="true"> |
||
382 | <BackgroundInsets> |
||
383 | <AbsInset left="11" right="12" top="12" bottom="11" /> |
||
384 | <Size> |
||
385 | <AbsDimension x="128" y="17" /> |
||
386 | </Size> |
||
387 | </BackgroundInsets> |
||
388 | <TileSize> |
||
389 | <AbsValue val="32" /> |
||
390 | </TileSize> |
||
391 | <EdgeSize> |
||
392 | <AbsValue val="32" /> |
||
393 | </EdgeSize> |
||
394 | </Backdrop> |
||
395 | |||
396 | <Layers> |
||
397 | <Layer level="ARTWORK"> |
||
398 | <Texture name="SCTFrameTitle" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
399 | <Size> |
||
400 | <AbsDimension x="276" y="64" /> |
||
401 | </Size> |
||
402 | <Anchors> |
||
403 | <Anchor point="TOP"> |
||
404 | <Offset> |
||
405 | <AbsDimension x="0" y="12" /> |
||
406 | </Offset> |
||
407 | </Anchor> |
||
408 | </Anchors> |
||
409 | </Texture> |
||
410 | <FontString name="SCTOptionsFrame_Misc1" inherits="GameFontNormal"> |
||
411 | <Anchors> |
||
412 | <Anchor point="TOP" relativeTo="SCTOptions"> |
||
413 | <Offset> |
||
414 | <AbsDimension x="0" y="-3" /> |
||
415 | </Offset> |
||
416 | </Anchor> |
||
417 | </Anchors> |
||
418 | </FontString> |
||
419 | </Layer> |
||
420 | </Layers> |
||
421 | |||
422 | <Frames> |
||
423 | |||
424 | <!-- EVENTS OPTION FRAME --> |
||
425 | <Frame name="SCTOptions_EventsFrame" inherits="OptionFrameBoxTemplate"> |
||
426 | <Size> |
||
427 | <AbsDimension x="385" y="305"/> |
||
428 | </Size> |
||
429 | <Anchors> |
||
430 | <Anchor point="TOPLEFT"> |
||
431 | <Offset> |
||
432 | <AbsDimension x="20" y="-50"/> |
||
433 | </Offset> |
||
434 | </Anchor> |
||
435 | </Anchors> |
||
436 | <Scripts> |
||
437 | <OnLoad> |
||
438 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
439 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
440 | </OnLoad> |
||
441 | </Scripts> |
||
442 | <Frames> |
||
443 | |||
444 | <Frame name="SCTOptions_EventsFrameTitle"> |
||
445 | <Size> |
||
446 | <AbsDimension x="140" y="20"/> |
||
447 | </Size> |
||
448 | <Anchors> |
||
449 | <Anchor point="TOP"> |
||
450 | <Offset> |
||
451 | <AbsDimension x="0" y="-10"/> |
||
452 | </Offset> |
||
453 | </Anchor> |
||
454 | </Anchors> |
||
455 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
456 | <EdgeSize> |
||
457 | <AbsValue val="12"/> |
||
458 | </EdgeSize> |
||
459 | <TileSize> |
||
460 | <AbsValue val="8"/> |
||
461 | </TileSize> |
||
462 | <BackgroundInsets> |
||
463 | <AbsInset left="2" right="2" top="2" bottom="2"/> |
||
464 | </BackgroundInsets> |
||
465 | </Backdrop> |
||
466 | <Layers> |
||
467 | <Layer> |
||
468 | <FontString name="SCTOptionsFrame_Misc2" inherits="GameFontHighlight"> |
||
469 | <Anchors> |
||
470 | <Anchor point="CENTER"> |
||
471 | <Offset> |
||
472 | <AbsDimension x="0" y="0"/> |
||
473 | </Offset> |
||
474 | </Anchor> |
||
475 | </Anchors> |
||
476 | </FontString> |
||
477 | </Layer> |
||
478 | </Layers> |
||
479 | <Scripts> |
||
480 | <OnLoad> |
||
481 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
482 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
483 | </OnLoad> |
||
484 | </Scripts> |
||
485 | </Frame> |
||
486 | |||
487 | <CheckButton name="SCTOptionsFrame_CheckButton1" inherits="SCTCheckTemplate"> |
||
488 | <Anchors> |
||
489 | <Anchor point="TOPLEFT" relativeTo="SCTOptions_EventsFrame" relativePoint="TOPLEFT"> |
||
490 | <Offset> |
||
491 | <AbsDimension x="0" y="28" /> |
||
492 | </Offset> |
||
493 | </Anchor> |
||
494 | </Anchors> |
||
495 | <Scripts> |
||
496 | <OnClick> |
||
497 | if ( this:GetChecked() ) then |
||
498 | SCT:ToggleActive(true); |
||
499 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
500 | else |
||
501 | SCT:ToggleActive(false); |
||
502 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
503 | end |
||
504 | SCT:OptionsCheckButtonOnClick(); |
||
505 | </OnClick> |
||
506 | </Scripts> |
||
507 | </CheckButton> |
||
508 | |||
509 | <Frame name="SCTOptionsFrame1" inherits="SCTEventOptionTemplate"> |
||
510 | <Anchors> |
||
511 | <Anchor point="TOPLEFT" relativeTo="SCTOptions_EventsFrame" relativePoint="TOPLEFT"> |
||
512 | <Offset> |
||
513 | <AbsDimension x="10" y="-32" /> |
||
514 | </Offset> |
||
515 | </Anchor> |
||
516 | </Anchors> |
||
517 | </Frame> |
||
518 | |||
519 | <Frame name="SCTOptionsFrame2" inherits="SCTEventOptionTemplate"> |
||
520 | <Anchors> |
||
521 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame1" relativePoint="LEFT"> |
||
522 | <Offset> |
||
523 | <AbsDimension x="0" y="-27" /> |
||
524 | </Offset> |
||
525 | </Anchor> |
||
526 | </Anchors> |
||
527 | </Frame> |
||
528 | |||
529 | <Frame name="SCTOptionsFrame3" inherits="SCTEventOptionTemplate"> |
||
530 | <Anchors> |
||
531 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame2" relativePoint="LEFT"> |
||
532 | <Offset> |
||
533 | <AbsDimension x="0" y="-27" /> |
||
534 | </Offset> |
||
535 | </Anchor> |
||
536 | </Anchors> |
||
537 | </Frame> |
||
538 | |||
539 | <Frame name="SCTOptionsFrame4" inherits="SCTEventOptionTemplate"> |
||
540 | <Anchors> |
||
541 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame3" relativePoint="LEFT"> |
||
542 | <Offset> |
||
543 | <AbsDimension x="0" y="-27" /> |
||
544 | </Offset> |
||
545 | </Anchor> |
||
546 | </Anchors> |
||
547 | </Frame> |
||
548 | |||
549 | <Frame name="SCTOptionsFrame5" inherits="SCTEventOptionTemplate"> |
||
550 | <Anchors> |
||
551 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame4" relativePoint="LEFT"> |
||
552 | <Offset> |
||
553 | <AbsDimension x="0" y="-27" /> |
||
554 | </Offset> |
||
555 | </Anchor> |
||
556 | </Anchors> |
||
557 | </Frame> |
||
558 | |||
559 | <Frame name="SCTOptionsFrame6" inherits="SCTEventOptionTemplate"> |
||
560 | <Anchors> |
||
561 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame5" relativePoint="LEFT"> |
||
562 | <Offset> |
||
563 | <AbsDimension x="0" y="-27" /> |
||
564 | </Offset> |
||
565 | </Anchor> |
||
566 | </Anchors> |
||
567 | </Frame> |
||
568 | |||
569 | <Frame name="SCTOptionsFrame7" inherits="SCTEventOptionTemplate"> |
||
570 | <Anchors> |
||
571 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame6" relativePoint="LEFT"> |
||
572 | <Offset> |
||
573 | <AbsDimension x="0" y="-27" /> |
||
574 | </Offset> |
||
575 | </Anchor> |
||
576 | </Anchors> |
||
577 | </Frame> |
||
578 | |||
579 | <Frame name="SCTOptionsFrame21" inherits="SCTEventOptionTemplate"> |
||
580 | <Anchors> |
||
581 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame7" relativePoint="LEFT"> |
||
582 | <Offset> |
||
583 | <AbsDimension x="0" y="-27" /> |
||
584 | </Offset> |
||
585 | </Anchor> |
||
586 | </Anchors> |
||
587 | </Frame> |
||
588 | |||
589 | <Frame name="SCTOptionsFrame8" inherits="SCTEventOptionTemplate"> |
||
590 | <Anchors> |
||
591 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame21" relativePoint="LEFT"> |
||
592 | <Offset> |
||
593 | <AbsDimension x="0" y="-27" /> |
||
594 | </Offset> |
||
595 | </Anchor> |
||
596 | </Anchors> |
||
597 | </Frame> |
||
598 | |||
599 | <Frame name="SCTOptionsFrame19" inherits="SCTEventOptionTemplate"> |
||
600 | <Anchors> |
||
601 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame8" relativePoint="LEFT"> |
||
602 | <Offset> |
||
603 | <AbsDimension x="0" y="-27" /> |
||
604 | </Offset> |
||
605 | </Anchor> |
||
606 | </Anchors> |
||
607 | </Frame> |
||
608 | |||
609 | <Frame name="SCTOptionsFrame9" inherits="SCTEventOptionTemplate"> |
||
610 | <Anchors> |
||
611 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame1" relativePoint="LEFT"> |
||
612 | <Offset> |
||
613 | <AbsDimension x="180" y="0" /> |
||
614 | </Offset> |
||
615 | </Anchor> |
||
616 | </Anchors> |
||
617 | </Frame> |
||
618 | |||
619 | <Frame name="SCTOptionsFrame17" inherits="SCTEventOptionTemplate"> |
||
620 | <Anchors> |
||
621 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame9" relativePoint="LEFT"> |
||
622 | <Offset> |
||
623 | <AbsDimension x="0" y="-27" /> |
||
624 | </Offset> |
||
625 | </Anchor> |
||
626 | </Anchors> |
||
627 | </Frame> |
||
628 | |||
629 | <Frame name="SCTOptionsFrame18" inherits="SCTEventOptionTemplate"> |
||
630 | <Anchors> |
||
631 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame17" relativePoint="LEFT"> |
||
632 | <Offset> |
||
633 | <AbsDimension x="0" y="-27" /> |
||
634 | </Offset> |
||
635 | </Anchor> |
||
636 | </Anchors> |
||
637 | </Frame> |
||
638 | |||
639 | <Frame name="SCTOptionsFrame10" inherits="SCTEventOptionTemplate"> |
||
640 | <Anchors> |
||
641 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame18" relativePoint="LEFT"> |
||
642 | <Offset> |
||
643 | <AbsDimension x="0" y="-27" /> |
||
644 | </Offset> |
||
645 | </Anchor> |
||
646 | </Anchors> |
||
647 | </Frame> |
||
648 | |||
649 | <Frame name="SCTOptionsFrame13" inherits="SCTEventOptionTemplate"> |
||
650 | <Anchors> |
||
651 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame10" relativePoint="LEFT"> |
||
652 | <Offset> |
||
653 | <AbsDimension x="0" y="-27" /> |
||
654 | </Offset> |
||
655 | </Anchor> |
||
656 | </Anchors> |
||
657 | </Frame> |
||
658 | |||
659 | <Frame name="SCTOptionsFrame14" inherits="SCTEventOptionTemplate"> |
||
660 | <Anchors> |
||
661 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame13" relativePoint="LEFT"> |
||
662 | <Offset> |
||
663 | <AbsDimension x="0" y="-27" /> |
||
664 | </Offset> |
||
665 | </Anchor> |
||
666 | </Anchors> |
||
667 | </Frame> |
||
668 | |||
669 | <Frame name="SCTOptionsFrame15" inherits="SCTEventOptionTemplate"> |
||
670 | <Anchors> |
||
671 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame14" relativePoint="LEFT"> |
||
672 | <Offset> |
||
673 | <AbsDimension x="0" y="-27" /> |
||
674 | </Offset> |
||
675 | </Anchor> |
||
676 | </Anchors> |
||
677 | </Frame> |
||
678 | |||
679 | <Frame name="SCTOptionsFrame16" inherits="SCTEventOptionTemplate"> |
||
680 | <Anchors> |
||
681 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame15" relativePoint="LEFT"> |
||
682 | <Offset> |
||
683 | <AbsDimension x="0" y="-27" /> |
||
684 | </Offset> |
||
685 | </Anchor> |
||
686 | </Anchors> |
||
687 | </Frame> |
||
688 | |||
689 | <Frame name="SCTOptionsFrame20" inherits="SCTEventOptionTemplate"> |
||
690 | <Anchors> |
||
691 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame16" relativePoint="LEFT"> |
||
692 | <Offset> |
||
693 | <AbsDimension x="0" y="-27" /> |
||
694 | </Offset> |
||
695 | </Anchor> |
||
696 | </Anchors> |
||
697 | </Frame> |
||
698 | |||
699 | <Frame name="SCTOptionsFrame22" inherits="SCTEventOptionTemplate"> |
||
700 | <Anchors> |
||
701 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame20" relativePoint="LEFT"> |
||
702 | <Offset> |
||
703 | <AbsDimension x="0" y="-27" /> |
||
704 | </Offset> |
||
705 | </Anchor> |
||
706 | </Anchors> |
||
707 | </Frame> |
||
708 | |||
709 | </Frames> |
||
710 | </Frame> |
||
711 | |||
712 | <!-- TEXT OPTION FRAME --> |
||
713 | <Frame name="SCTOptions_TextFrame" inherits="OptionFrameBoxTemplate"> |
||
714 | <Size> |
||
715 | <AbsDimension x="190" y="375"/> |
||
716 | </Size> |
||
717 | <Anchors> |
||
718 | <Anchor point="TOPLEFT" relativeTo="SCTOptions_EventsFrame" relativePoint="TOPRIGHT"> |
||
719 | <Offset> |
||
720 | <AbsDimension x="5" y="-20"/> |
||
721 | </Offset> |
||
722 | </Anchor> |
||
723 | </Anchors> |
||
724 | <Scripts> |
||
725 | <OnLoad> |
||
726 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
727 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
728 | </OnLoad> |
||
729 | </Scripts> |
||
730 | <Frames> |
||
731 | |||
732 | <Frame name="SCTOptions_TextFrameTitle"> |
||
733 | <Size> |
||
734 | <AbsDimension x="140" y="20"/> |
||
735 | </Size> |
||
736 | <Anchors> |
||
737 | <Anchor point="TOP"> |
||
738 | <Offset> |
||
739 | <AbsDimension x="0" y="-8"/> |
||
740 | </Offset> |
||
741 | </Anchor> |
||
742 | </Anchors> |
||
743 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
744 | <EdgeSize> |
||
745 | <AbsValue val="12"/> |
||
746 | </EdgeSize> |
||
747 | <TileSize> |
||
748 | <AbsValue val="8"/> |
||
749 | </TileSize> |
||
750 | <BackgroundInsets> |
||
751 | <AbsInset left="2" right="2" top="2" bottom="2"/> |
||
752 | </BackgroundInsets> |
||
753 | </Backdrop> |
||
754 | <Layers> |
||
755 | <Layer> |
||
756 | <FontString name="SCTOptionsFrame_Misc3" inherits="GameFontHighlight"> |
||
757 | <Anchors> |
||
758 | <Anchor point="CENTER"> |
||
759 | <Offset> |
||
760 | <AbsDimension x="0" y="0"/> |
||
761 | </Offset> |
||
762 | </Anchor> |
||
763 | </Anchors> |
||
764 | </FontString> |
||
765 | </Layer> |
||
766 | </Layers> |
||
767 | <Scripts> |
||
768 | <OnLoad> |
||
769 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
770 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
771 | </OnLoad> |
||
772 | </Scripts> |
||
773 | </Frame> |
||
774 | |||
775 | <Frame name="SCTOptionsFrame_Slider2" inherits="SCTSliderTemplate"> |
||
776 | <Anchors> |
||
777 | <Anchor point="TOP" relativeTo="SCTOptions_TextFrame" relativePoint="TOP"> |
||
778 | <Offset> |
||
779 | <AbsDimension x="0" y="-43" /> |
||
780 | </Offset> |
||
781 | </Anchor> |
||
782 | </Anchors> |
||
783 | </Frame> |
||
784 | |||
785 | <Frame name="SCTOptionsFrame_Slider5" inherits="SCTSliderTemplate"> |
||
786 | <Anchors> |
||
787 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Slider2" relativePoint="BOTTOM"> |
||
788 | <Offset> |
||
789 | <AbsDimension x="0" y="-20" /> |
||
790 | </Offset> |
||
791 | </Anchor> |
||
792 | </Anchors> |
||
793 | </Frame> |
||
794 | |||
795 | <Frame name="SCTOptionsFrame_Slider7" inherits="SCTSliderEditTemplate"> |
||
796 | <Anchors> |
||
797 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Slider5" relativePoint="BOTTOM"> |
||
798 | <Offset> |
||
799 | <AbsDimension x="0" y="-20" /> |
||
800 | </Offset> |
||
801 | </Anchor> |
||
802 | </Anchors> |
||
803 | </Frame> |
||
804 | |||
805 | <Frame name="SCTOptionsFrame_Slider8" inherits="SCTSliderEditTemplate"> |
||
806 | <Anchors> |
||
807 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Slider7" relativePoint="BOTTOM"> |
||
808 | <Offset> |
||
809 | <AbsDimension x="0" y="-20" /> |
||
810 | </Offset> |
||
811 | </Anchor> |
||
812 | </Anchors> |
||
813 | </Frame> |
||
814 | |||
815 | <Frame name="SCTOptionsFrame_Selection3" inherits="SCTDropdownTemplate" hidden="false"> |
||
816 | <Anchors> |
||
817 | <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="SCTOptionsFrame_Slider8"> |
||
818 | <Offset> |
||
819 | <AbsDimension x="-20" y="-23"/> |
||
820 | </Offset> |
||
821 | </Anchor> |
||
822 | </Anchors> |
||
823 | </Frame> |
||
824 | |||
825 | <Frame name="SCTOptionsFrame_Selection4" inherits="SCTDropdownTemplate" hidden="false"> |
||
826 | <Anchors> |
||
827 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Selection3" relativePoint="BOTTOM"> |
||
828 | <Offset> |
||
829 | <AbsDimension x="0" y="-8"/> |
||
830 | </Offset> |
||
831 | </Anchor> |
||
832 | </Anchors> |
||
833 | </Frame> |
||
834 | |||
835 | <Frame name="SCTOptionsFrame_Selection1" inherits="SCTDropdownTemplate" hidden="false"> |
||
836 | <Anchors> |
||
837 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Selection4" relativePoint="BOTTOM"> |
||
838 | <Offset> |
||
839 | <AbsDimension x="0" y="-8"/> |
||
840 | </Offset> |
||
841 | </Anchor> |
||
842 | </Anchors> |
||
843 | </Frame> |
||
844 | |||
845 | <Frame name="SCTOptionsFrame_Selection2" inherits="SCTDropdownTemplate" hidden="false"> |
||
846 | <Anchors> |
||
847 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Selection1" relativePoint="BOTTOM"> |
||
848 | <Offset> |
||
849 | <AbsDimension x="0" y="-8"/> |
||
850 | </Offset> |
||
851 | </Anchor> |
||
852 | </Anchors> |
||
853 | </Frame> |
||
854 | |||
855 | <CheckButton name="SCTOptionsFrame_CheckButton4" inherits="SCTCheckTemplate"> |
||
856 | <Anchors> |
||
857 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="SCTOptionsFrame_Selection1"> |
||
858 | <Offset> |
||
859 | <AbsDimension x="15" y="0"/> |
||
860 | </Offset> |
||
861 | </Anchor> |
||
862 | </Anchors> |
||
863 | </CheckButton> |
||
864 | </Frames> |
||
865 | </Frame> |
||
866 | |||
867 | <!-- MESSAGE OPTION FRAME --> |
||
868 | <Frame name="SCTOptions_MessageFrame" inherits="OptionFrameBoxTemplate" hidden="true"> |
||
869 | <Size> |
||
870 | <AbsDimension x="190" y="375"/> |
||
871 | </Size> |
||
872 | <Anchors> |
||
873 | <Anchor point="TOPLEFT" relativeTo="SCTOptions_EventsFrame" relativePoint="TOPRIGHT"> |
||
874 | <Offset> |
||
875 | <AbsDimension x="5" y="-20"/> |
||
876 | </Offset> |
||
877 | </Anchor> |
||
878 | </Anchors> |
||
879 | <Scripts> |
||
880 | <OnLoad> |
||
881 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
882 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
883 | </OnLoad> |
||
884 | </Scripts> |
||
885 | <Frames> |
||
886 | |||
887 | <Frame name="SCTOptions_MessageFrameTitle"> |
||
888 | <Size> |
||
889 | <AbsDimension x="140" y="20"/> |
||
890 | </Size> |
||
891 | <Anchors> |
||
892 | <Anchor point="TOP"> |
||
893 | <Offset> |
||
894 | <AbsDimension x="0" y="-8"/> |
||
895 | </Offset> |
||
896 | </Anchor> |
||
897 | </Anchors> |
||
898 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
899 | <EdgeSize> |
||
900 | <AbsValue val="12"/> |
||
901 | </EdgeSize> |
||
902 | <TileSize> |
||
903 | <AbsValue val="8"/> |
||
904 | </TileSize> |
||
905 | <BackgroundInsets> |
||
906 | <AbsInset left="2" right="2" top="2" bottom="2"/> |
||
907 | </BackgroundInsets> |
||
908 | </Backdrop> |
||
909 | <Layers> |
||
910 | <Layer> |
||
911 | <FontString name="SCTOptionsFrame_Misc16" inherits="GameFontHighlight"> |
||
912 | <Anchors> |
||
913 | <Anchor point="CENTER"> |
||
914 | <Offset> |
||
915 | <AbsDimension x="0" y="0"/> |
||
916 | </Offset> |
||
917 | </Anchor> |
||
918 | </Anchors> |
||
919 | </FontString> |
||
920 | </Layer> |
||
921 | </Layers> |
||
922 | <Scripts> |
||
923 | <OnLoad> |
||
924 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
925 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
926 | </OnLoad> |
||
927 | </Scripts> |
||
928 | </Frame> |
||
929 | |||
930 | <Frame name="SCTOptionsFrame_Slider12" inherits="SCTSliderTemplate"> |
||
931 | <Anchors> |
||
932 | <Anchor point="TOP" relativeTo="SCTOptions_MessageFrame" relativePoint="TOP"> |
||
933 | <Offset> |
||
934 | <AbsDimension x="0" y="-43" /> |
||
935 | </Offset> |
||
936 | </Anchor> |
||
937 | </Anchors> |
||
938 | </Frame> |
||
939 | |||
940 | <Frame name="SCTOptionsFrame_Slider11" inherits="SCTSliderTemplate"> |
||
941 | <Anchors> |
||
942 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Slider12" relativePoint="BOTTOM"> |
||
943 | <Offset> |
||
944 | <AbsDimension x="0" y="-20" /> |
||
945 | </Offset> |
||
946 | </Anchor> |
||
947 | </Anchors> |
||
948 | </Frame> |
||
949 | |||
950 | <Frame name="SCTOptionsFrame_Slider9" inherits="SCTSliderEditTemplate"> |
||
951 | <Anchors> |
||
952 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Slider11" relativePoint="BOTTOM"> |
||
953 | <Offset> |
||
954 | <AbsDimension x="0" y="-20" /> |
||
955 | </Offset> |
||
956 | </Anchor> |
||
957 | </Anchors> |
||
958 | </Frame> |
||
959 | |||
960 | <Frame name="SCTOptionsFrame_Slider10" inherits="SCTSliderEditTemplate"> |
||
961 | <Anchors> |
||
962 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Slider9" relativePoint="BOTTOM"> |
||
963 | <Offset> |
||
964 | <AbsDimension x="0" y="-20" /> |
||
965 | </Offset> |
||
966 | </Anchor> |
||
967 | </Anchors> |
||
968 | </Frame> |
||
969 | |||
970 | <Frame name="SCTOptionsFrame_Selection5" inherits="SCTDropdownTemplate" hidden="false"> |
||
971 | <Anchors> |
||
972 | <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="SCTOptionsFrame_Slider10"> |
||
973 | <Offset> |
||
974 | <AbsDimension x="-20" y="-25"/> |
||
975 | </Offset> |
||
976 | </Anchor> |
||
977 | </Anchors> |
||
978 | </Frame> |
||
979 | |||
980 | <Frame name="SCTOptionsFrame_Selection6" inherits="SCTDropdownTemplate" hidden="false"> |
||
981 | <Anchors> |
||
982 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Selection5" relativePoint="BOTTOM"> |
||
983 | <Offset> |
||
984 | <AbsDimension x="0" y="-8"/> |
||
985 | </Offset> |
||
986 | </Anchor> |
||
987 | </Anchors> |
||
988 | </Frame> |
||
989 | |||
990 | </Frames> |
||
991 | </Frame> |
||
992 | |||
993 | <!-- MISC FLAG OPTION FRAME --> |
||
994 | <Frame name="SCTOptions_MiscFrame" inherits="OptionFrameBoxTemplate"> |
||
995 | <Size> |
||
996 | <AbsDimension x="190" y="200"/> |
||
997 | </Size> |
||
998 | <Anchors> |
||
999 | <Anchor point="TOPLEFT" relativeTo="SCTOptions_EventsFrame" relativePoint="BOTTOMLEFT"> |
||
1000 | <Offset> |
||
1001 | <AbsDimension x="0" y="-25"/> |
||
1002 | </Offset> |
||
1003 | </Anchor> |
||
1004 | </Anchors> |
||
1005 | <Scripts> |
||
1006 | <OnLoad> |
||
1007 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
1008 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
1009 | </OnLoad> |
||
1010 | </Scripts> |
||
1011 | <Frames> |
||
1012 | |||
1013 | <Frame name="SCTOptions_MiscFrameTitle"> |
||
1014 | <Size> |
||
1015 | <AbsDimension x="140" y="20"/> |
||
1016 | </Size> |
||
1017 | <Anchors> |
||
1018 | <Anchor point="TOP"> |
||
1019 | <Offset> |
||
1020 | <AbsDimension x="0" y="-10"/> |
||
1021 | </Offset> |
||
1022 | </Anchor> |
||
1023 | </Anchors> |
||
1024 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
1025 | <EdgeSize> |
||
1026 | <AbsValue val="12"/> |
||
1027 | </EdgeSize> |
||
1028 | <TileSize> |
||
1029 | <AbsValue val="8"/> |
||
1030 | </TileSize> |
||
1031 | <BackgroundInsets> |
||
1032 | <AbsInset left="2" right="2" top="2" bottom="2"/> |
||
1033 | </BackgroundInsets> |
||
1034 | </Backdrop> |
||
1035 | <Layers> |
||
1036 | <Layer> |
||
1037 | <FontString name="SCTOptionsFrame_Misc4" inherits="GameFontHighlight"> |
||
1038 | <Anchors> |
||
1039 | <Anchor point="CENTER"> |
||
1040 | <Offset> |
||
1041 | <AbsDimension x="0" y="0"/> |
||
1042 | </Offset> |
||
1043 | </Anchor> |
||
1044 | </Anchors> |
||
1045 | </FontString> |
||
1046 | </Layer> |
||
1047 | </Layers> |
||
1048 | <Scripts> |
||
1049 | <OnLoad> |
||
1050 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
1051 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
1052 | </OnLoad> |
||
1053 | </Scripts> |
||
1054 | </Frame> |
||
1055 | |||
1056 | <CheckButton name="SCTOptionsFrame_CheckButton13" inherits="SCTCheckTemplate"> |
||
1057 | <Anchors> |
||
1058 | <Anchor point="TOPLEFT" relativeTo="SCTOptions_MiscFrame" relativePoint="TOPLEFT"> |
||
1059 | <Offset> |
||
1060 | <AbsDimension x="10" y="-30" /> |
||
1061 | </Offset> |
||
1062 | </Anchor> |
||
1063 | </Anchors> |
||
1064 | </CheckButton> |
||
1065 | |||
1066 | <CheckButton name="SCTOptionsFrame_CheckButton2" inherits="SCTCheckTemplate"> |
||
1067 | <Anchors> |
||
1068 | <Anchor point="TOPLEFT" relativeTo="SCTOptionsFrame_CheckButton13" relativePoint="TOPLEFT"> |
||
1069 | <Offset> |
||
1070 | <AbsDimension x="0" y="-25" /> |
||
1071 | </Offset> |
||
1072 | </Anchor> |
||
1073 | </Anchors> |
||
1074 | </CheckButton> |
||
1075 | |||
1076 | <CheckButton name="SCTOptionsFrame_CheckButton5" inherits="SCTCheckTemplate"> |
||
1077 | <Anchors> |
||
1078 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton2" relativePoint="left"> |
||
1079 | <Offset> |
||
1080 | <AbsDimension x="0" y="-25" /> |
||
1081 | </Offset> |
||
1082 | </Anchor> |
||
1083 | </Anchors> |
||
1084 | <Scripts> |
||
1085 | <OnClick> |
||
1086 | if ( this:GetChecked() ) then |
||
1087 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
1088 | else |
||
1089 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
1090 | end |
||
1091 | SCT:OptionsCheckButtonOnClick(); |
||
1092 | SCT:ChangeStickyMode(this:GetChecked()); |
||
1093 | </OnClick> |
||
1094 | </Scripts> |
||
1095 | </CheckButton> |
||
1096 | |||
1097 | <CheckButton name="SCTOptionsFrame_CheckButton15" inherits="SCTCheckTemplate"> |
||
1098 | <Anchors> |
||
1099 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton5" relativePoint="RIGHT"> |
||
1100 | <Offset> |
||
1101 | <AbsDimension x="65" y="0" /> |
||
1102 | </Offset> |
||
1103 | </Anchor> |
||
1104 | </Anchors> |
||
1105 | </CheckButton> |
||
1106 | |||
1107 | <CheckButton name="SCTOptionsFrame_CheckButton7" inherits="SCTCheckTemplate"> |
||
1108 | <Anchors> |
||
1109 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton5" relativePoint="left"> |
||
1110 | <Offset> |
||
1111 | <AbsDimension x="0" y="-25" /> |
||
1112 | </Offset> |
||
1113 | </Anchor> |
||
1114 | </Anchors> |
||
1115 | </CheckButton> |
||
1116 | |||
1117 | <CheckButton name="SCTOptionsFrame_CheckButton9" inherits="SCTCheckTemplate"> |
||
1118 | <Anchors> |
||
1119 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton7" relativePoint="left"> |
||
1120 | <Offset> |
||
1121 | <AbsDimension x="0" y="-25" /> |
||
1122 | </Offset> |
||
1123 | </Anchor> |
||
1124 | </Anchors> |
||
1125 | </CheckButton> |
||
1126 | |||
1127 | <CheckButton name="SCTOptionsFrame_CheckButton14" inherits="SCTCheckTemplate"> |
||
1128 | <Anchors> |
||
1129 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton9" relativePoint="left"> |
||
1130 | <Offset> |
||
1131 | <AbsDimension x="0" y="-25" /> |
||
1132 | </Offset> |
||
1133 | </Anchor> |
||
1134 | </Anchors> |
||
1135 | <Scripts> |
||
1136 | <OnClick> |
||
1137 | if ( this:GetChecked() ) then |
||
1138 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
1139 | else |
||
1140 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
1141 | end |
||
1142 | SCT:OptionsCheckButtonOnClick(); |
||
1143 | SCT:ChangeLightMode(this:GetChecked(), true); |
||
1144 | </OnClick> |
||
1145 | </Scripts> |
||
1146 | </CheckButton> |
||
1147 | |||
1148 | </Frames> |
||
1149 | </Frame> |
||
1150 | |||
1151 | <!-- SPELL OPTION FRAME --> |
||
1152 | <Frame name="SCTOptions_SpellFrame" inherits="OptionFrameBoxTemplate" hidden="true"> |
||
1153 | <Size> |
||
1154 | <AbsDimension x="190" y="200"/> |
||
1155 | </Size> |
||
1156 | <Anchors> |
||
1157 | <Anchor point="TOPLEFT" relativeTo="SCTOptions_EventsFrame" relativePoint="BOTTOMLEFT"> |
||
1158 | <Offset> |
||
1159 | <AbsDimension x="0" y="-25"/> |
||
1160 | </Offset> |
||
1161 | </Anchor> |
||
1162 | </Anchors> |
||
1163 | <Scripts> |
||
1164 | <OnLoad> |
||
1165 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
1166 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
1167 | </OnLoad> |
||
1168 | </Scripts> |
||
1169 | <Frames> |
||
1170 | |||
1171 | <Frame name="SCTOptions_SpellFrameTitle"> |
||
1172 | <Size> |
||
1173 | <AbsDimension x="140" y="20"/> |
||
1174 | </Size> |
||
1175 | <Anchors> |
||
1176 | <Anchor point="TOP"> |
||
1177 | <Offset> |
||
1178 | <AbsDimension x="0" y="-10"/> |
||
1179 | </Offset> |
||
1180 | </Anchor> |
||
1181 | </Anchors> |
||
1182 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
1183 | <EdgeSize> |
||
1184 | <AbsValue val="12"/> |
||
1185 | </EdgeSize> |
||
1186 | <TileSize> |
||
1187 | <AbsValue val="8"/> |
||
1188 | </TileSize> |
||
1189 | <BackgroundInsets> |
||
1190 | <AbsInset left="2" right="2" top="2" bottom="2"/> |
||
1191 | </BackgroundInsets> |
||
1192 | </Backdrop> |
||
1193 | <Layers> |
||
1194 | <Layer> |
||
1195 | <FontString name="SCTOptionsFrame_Misc17" inherits="GameFontHighlight"> |
||
1196 | <Anchors> |
||
1197 | <Anchor point="CENTER"> |
||
1198 | <Offset> |
||
1199 | <AbsDimension x="0" y="0"/> |
||
1200 | </Offset> |
||
1201 | </Anchor> |
||
1202 | </Anchors> |
||
1203 | </FontString> |
||
1204 | </Layer> |
||
1205 | </Layers> |
||
1206 | <Scripts> |
||
1207 | <OnLoad> |
||
1208 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
1209 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
1210 | </OnLoad> |
||
1211 | </Scripts> |
||
1212 | </Frame> |
||
1213 | |||
1214 | <CheckButton name="SCTOptionsFrame_CheckButton3" inherits="SCTCheckTemplate"> |
||
1215 | <Anchors> |
||
1216 | <Anchor point="TOPLEFT" relativeTo="SCTOptions_MiscFrame" relativePoint="TOPLEFT"> |
||
1217 | <Offset> |
||
1218 | <AbsDimension x="10" y="-30" /> |
||
1219 | </Offset> |
||
1220 | </Anchor> |
||
1221 | </Anchors> |
||
1222 | </CheckButton> |
||
1223 | |||
1224 | <CheckButton name="SCTOptionsFrame_CheckButton6" inherits="SCTCheckTemplate"> |
||
1225 | <Anchors> |
||
1226 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton3" relativePoint="left"> |
||
1227 | <Offset> |
||
1228 | <AbsDimension x="0" y="-25" /> |
||
1229 | </Offset> |
||
1230 | </Anchor> |
||
1231 | </Anchors> |
||
1232 | </CheckButton> |
||
1233 | |||
1234 | <CheckButton name="SCTOptionsFrame_CheckButton12" inherits="SCTCheckTemplate"> |
||
1235 | <Anchors> |
||
1236 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton6" relativePoint="left"> |
||
1237 | <Offset> |
||
1238 | <AbsDimension x="0" y="-25" /> |
||
1239 | </Offset> |
||
1240 | </Anchor> |
||
1241 | </Anchors> |
||
1242 | </CheckButton> |
||
1243 | |||
1244 | <CheckButton name="SCTOptionsFrame_CheckButton8" inherits="SCTCheckTemplate"> |
||
1245 | <Anchors> |
||
1246 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton12" relativePoint="left"> |
||
1247 | <Offset> |
||
1248 | <AbsDimension x="0" y="-25" /> |
||
1249 | </Offset> |
||
1250 | </Anchor> |
||
1251 | </Anchors> |
||
1252 | </CheckButton> |
||
1253 | |||
1254 | <CheckButton name="SCTOptionsFrame_CheckButton10" inherits="SCTCheckTemplate"> |
||
1255 | <Anchors> |
||
1256 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton8" relativePoint="left"> |
||
1257 | <Offset> |
||
1258 | <AbsDimension x="0" y="-25" /> |
||
1259 | </Offset> |
||
1260 | </Anchor> |
||
1261 | </Anchors> |
||
1262 | </CheckButton> |
||
1263 | |||
1264 | <Frame name="SCTOptionsFrame_Slider13" inherits="SCTSliderEditTemplate"> |
||
1265 | <Anchors> |
||
1266 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton10" relativePoint="left"> |
||
1267 | <Offset> |
||
1268 | <AbsDimension x="5" y="-30" /> |
||
1269 | </Offset> |
||
1270 | </Anchor> |
||
1271 | </Anchors> |
||
1272 | </Frame> |
||
1273 | </Frames> |
||
1274 | </Frame> |
||
1275 | |||
1276 | <!-- WARNING OPTION FRAME --> |
||
1277 | <Frame name="SCTOptions_WarningFrame" inherits="OptionFrameBoxTemplate"> |
||
1278 | <Size> |
||
1279 | <AbsDimension x="190" y="200"/> |
||
1280 | </Size> |
||
1281 | <Anchors> |
||
1282 | <Anchor point="TOPLEFT" relativeTo="SCTOptions_MiscFrame" relativePoint="TOPRIGHT"> |
||
1283 | <Offset> |
||
1284 | <AbsDimension x="5" y="0"/> |
||
1285 | </Offset> |
||
1286 | </Anchor> |
||
1287 | </Anchors> |
||
1288 | <Scripts> |
||
1289 | <OnLoad> |
||
1290 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
1291 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
1292 | </OnLoad> |
||
1293 | </Scripts> |
||
1294 | <Frames> |
||
1295 | |||
1296 | <Frame name="SCTOptions_WarningFrameTitle"> |
||
1297 | <Size> |
||
1298 | <AbsDimension x="140" y="20"/> |
||
1299 | </Size> |
||
1300 | <Anchors> |
||
1301 | <Anchor point="TOP"> |
||
1302 | <Offset> |
||
1303 | <AbsDimension x="0" y="-10"/> |
||
1304 | </Offset> |
||
1305 | </Anchor> |
||
1306 | </Anchors> |
||
1307 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
1308 | <EdgeSize> |
||
1309 | <AbsValue val="12"/> |
||
1310 | </EdgeSize> |
||
1311 | <TileSize> |
||
1312 | <AbsValue val="8"/> |
||
1313 | </TileSize> |
||
1314 | <BackgroundInsets> |
||
1315 | <AbsInset left="2" right="2" top="2" bottom="2"/> |
||
1316 | </BackgroundInsets> |
||
1317 | </Backdrop> |
||
1318 | <Layers> |
||
1319 | <Layer> |
||
1320 | <FontString name="SCTOptionsFrame_Misc5" inherits="GameFontHighlight"> |
||
1321 | <Anchors> |
||
1322 | <Anchor point="CENTER"> |
||
1323 | <Offset> |
||
1324 | <AbsDimension x="0" y="0"/> |
||
1325 | </Offset> |
||
1326 | </Anchor> |
||
1327 | </Anchors> |
||
1328 | </FontString> |
||
1329 | </Layer> |
||
1330 | </Layers> |
||
1331 | <Scripts> |
||
1332 | <OnLoad> |
||
1333 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
1334 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
1335 | </OnLoad> |
||
1336 | </Scripts> |
||
1337 | </Frame> |
||
1338 | |||
1339 | <CheckButton name="SCTOptionsFrame_CheckButton11" inherits="SCTCheckTemplate"> |
||
1340 | <Anchors> |
||
1341 | <Anchor point="TOPLEFT" relativeTo="SCTOptions_WarningFrame" relativePoint="TOPLEFT"> |
||
1342 | <Offset> |
||
1343 | <AbsDimension x="10" y="-25" /> |
||
1344 | </Offset> |
||
1345 | </Anchor> |
||
1346 | </Anchors> |
||
1347 | </CheckButton> |
||
1348 | |||
1349 | <Frame name="SCTOptionsFrame11" inherits="SCTEventOptionTemplate"> |
||
1350 | <Anchors> |
||
1351 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_CheckButton11" relativePoint="BOTTOM"> |
||
1352 | <Offset> |
||
1353 | <AbsDimension x="70" y="0" /> |
||
1354 | </Offset> |
||
1355 | </Anchor> |
||
1356 | </Anchors> |
||
1357 | </Frame> |
||
1358 | |||
1359 | <Frame name="SCTOptionsFrame_Slider3" inherits="SCTSliderTemplate"> |
||
1360 | <Anchors> |
||
1361 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame11" relativePoint="left"> |
||
1362 | <Offset> |
||
1363 | <AbsDimension x="0" y="-30" /> |
||
1364 | </Offset> |
||
1365 | </Anchor> |
||
1366 | </Anchors> |
||
1367 | </Frame> |
||
1368 | |||
1369 | <Frame name="SCTOptionsFrame12" inherits="SCTEventOptionTemplate"> |
||
1370 | <Anchors> |
||
1371 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame11" relativePoint="LEFT"> |
||
1372 | <Offset> |
||
1373 | <AbsDimension x="0" y="-65" /> |
||
1374 | </Offset> |
||
1375 | </Anchor> |
||
1376 | </Anchors> |
||
1377 | </Frame> |
||
1378 | |||
1379 | <Frame name="SCTOptionsFrame_Slider4" inherits="SCTSliderTemplate"> |
||
1380 | <Anchors> |
||
1381 | <Anchor point="LEFT" relativeTo="SCTOptionsFrame12" relativePoint="left"> |
||
1382 | <Offset> |
||
1383 | <AbsDimension x="0" y="-30" /> |
||
1384 | </Offset> |
||
1385 | </Anchor> |
||
1386 | </Anchors> |
||
1387 | </Frame> |
||
1388 | </Frames> |
||
1389 | </Frame> |
||
1390 | |||
1391 | <!-- ANIMATION FRAME --> |
||
1392 | <Frame name="SCTOptions_AnimationFrame" inherits="OptionFrameBoxTemplate"> |
||
1393 | <Size> |
||
1394 | <AbsDimension x="190" y="130"/> |
||
1395 | </Size> |
||
1396 | <Anchors> |
||
1397 | <Anchor point="BOTTOMLEFT" relativeTo="SCTOptions_WarningFrame" relativePoint="BOTTOMRIGHT"> |
||
1398 | <Offset> |
||
1399 | <AbsDimension x="5" y="0"/> |
||
1400 | </Offset> |
||
1401 | </Anchor> |
||
1402 | </Anchors> |
||
1403 | <Scripts> |
||
1404 | <OnLoad> |
||
1405 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
1406 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
1407 | </OnLoad> |
||
1408 | </Scripts> |
||
1409 | <Frames> |
||
1410 | |||
1411 | <Frame name="SCTOptions_AnimationFrameTitle"> |
||
1412 | <Size> |
||
1413 | <AbsDimension x="140" y="20"/> |
||
1414 | </Size> |
||
1415 | <Anchors> |
||
1416 | <Anchor point="TOP"> |
||
1417 | <Offset> |
||
1418 | <AbsDimension x="0" y="-10"/> |
||
1419 | </Offset> |
||
1420 | </Anchor> |
||
1421 | </Anchors> |
||
1422 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
1423 | <EdgeSize> |
||
1424 | <AbsValue val="12"/> |
||
1425 | </EdgeSize> |
||
1426 | <TileSize> |
||
1427 | <AbsValue val="8"/> |
||
1428 | </TileSize> |
||
1429 | <BackgroundInsets> |
||
1430 | <AbsInset left="2" right="2" top="2" bottom="2"/> |
||
1431 | </BackgroundInsets> |
||
1432 | </Backdrop> |
||
1433 | <Layers> |
||
1434 | <Layer> |
||
1435 | <FontString name="SCTOptionsFrame_Misc6" inherits="GameFontHighlight"> |
||
1436 | <Anchors> |
||
1437 | <Anchor point="CENTER"> |
||
1438 | <Offset> |
||
1439 | <AbsDimension x="0" y="0"/> |
||
1440 | </Offset> |
||
1441 | </Anchor> |
||
1442 | </Anchors> |
||
1443 | </FontString> |
||
1444 | </Layer> |
||
1445 | </Layers> |
||
1446 | <Scripts> |
||
1447 | <OnLoad> |
||
1448 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
1449 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
1450 | </OnLoad> |
||
1451 | </Scripts> |
||
1452 | </Frame> |
||
1453 | |||
1454 | <Frame name="SCTOptionsFrame_Slider1" inherits="SCTSliderTemplate"> |
||
1455 | <Anchors> |
||
1456 | <Anchor point="TOP" relativeTo="SCTOptions_AnimationFrame" relativePoint="TOP"> |
||
1457 | <Offset> |
||
1458 | <AbsDimension x="0" y="-45" /> |
||
1459 | </Offset> |
||
1460 | </Anchor> |
||
1461 | </Anchors> |
||
1462 | </Frame> |
||
1463 | |||
1464 | <Frame name="SCTOptionsFrame_Slider6" inherits="SCTSliderTemplate"> |
||
1465 | <Anchors> |
||
1466 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Slider1" relativePoint="BOTTOM"> |
||
1467 | <Offset> |
||
1468 | <AbsDimension x="0" y="-20" /> |
||
1469 | </Offset> |
||
1470 | </Anchor> |
||
1471 | </Anchors> |
||
1472 | </Frame> |
||
1473 | |||
1474 | </Frames> |
||
1475 | </Frame> |
||
1476 | |||
1477 | <!-- Profiles Frame --> |
||
1478 | <Frame name="SCTOptions_ProfilesFrame"> |
||
1479 | <Size> |
||
1480 | <AbsDimension x="380" y="24"/> |
||
1481 | </Size> |
||
1482 | <Anchors> |
||
1483 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" relativeTo="SCTOptions"> |
||
1484 | <Offset> |
||
1485 | <AbsDimension x="5" y="39" /> |
||
1486 | </Offset> |
||
1487 | </Anchor> |
||
1488 | </Anchors> |
||
1489 | |||
1490 | <Frames> |
||
1491 | <!-- Select Profile Button --> |
||
1492 | <Button name="SCTOptionsFrame_Misc10" inherits="SCTButtonTemplate"> |
||
1493 | <Anchors> |
||
1494 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="SCTOptions_ProfilesFrame"> |
||
1495 | <Offset> |
||
1496 | <AbsDimension x="0" y="-2" /> |
||
1497 | </Offset> |
||
1498 | </Anchor> |
||
1499 | </Anchors> |
||
1500 | <Scripts> |
||
1501 | <OnClick> |
||
1502 | if ( ColorPickerFrame:IsVisible() ) then |
||
1503 | ColorPickerFrame:Hide(); |
||
1504 | end |
||
1505 | SCTOptions_SaveLoadFrame:Show() |
||
1506 | <!--SCT:DropMenu(this);--> |
||
1507 | </OnClick> |
||
1508 | </Scripts> |
||
1509 | </Button> |
||
1510 | |||
1511 | <!-- Profile Edit Box --> |
||
1512 | <EditBox name="SCTOptionsProfileEditBox" letters="1000" autoFocus="false" inherits="InputBoxTemplate" frameStrata="HIGH"> |
||
1513 | <Size> |
||
1514 | <AbsDimension x="150" y="22"/> |
||
1515 | </Size> |
||
1516 | <Anchors> |
||
1517 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="SCTOptionsFrame_Misc10"> |
||
1518 | <Offset> |
||
1519 | <AbsDimension x="10" y="0" /> |
||
1520 | </Offset> |
||
1521 | </Anchor> |
||
1522 | </Anchors> |
||
1523 | <FontString inherits="ChatFontNormal" font="Fonts\ARIALN.TTF"> |
||
1524 | <Color r="1" g="1" b="0"/> |
||
1525 | <FontHeight> |
||
1526 | <AbsValue val="12"/> |
||
1527 | </FontHeight> |
||
1528 | </FontString> |
||
1529 | </EditBox> |
||
1530 | |||
1531 | <!-- Load Profile Button --> |
||
1532 | <Button name="SCTOptionsFrame_Misc11" inherits="SCTButtonTemplate"> |
||
1533 | <Size> |
||
1534 | <AbsDimension x="50" y="21"/> |
||
1535 | </Size> |
||
1536 | <Anchors> |
||
1537 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="SCTOptionsProfileEditBox"> |
||
1538 | <Offset> |
||
1539 | <AbsDimension x="5" y="0" /> |
||
1540 | </Offset> |
||
1541 | </Anchor> |
||
1542 | </Anchors> |
||
1543 | <Scripts> |
||
1544 | <OnClick> |
||
1545 | SCT:LoadProfile(); |
||
1546 | </OnClick> |
||
1547 | </Scripts> |
||
1548 | </Button> |
||
1549 | |||
1550 | <!-- Delete Profile Button --> |
||
1551 | <Button name="SCTOptionsFrame_Misc12" inherits="SCTButtonTemplate"> |
||
1552 | <Size> |
||
1553 | <AbsDimension x="50" y="21"/> |
||
1554 | </Size> |
||
1555 | <Anchors> |
||
1556 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="SCTOptionsFrame_Misc11"> |
||
1557 | <Offset> |
||
1558 | <AbsDimension x="5" y="0" /> |
||
1559 | </Offset> |
||
1560 | </Anchor> |
||
1561 | </Anchors> |
||
1562 | <Scripts> |
||
1563 | <OnClick> |
||
1564 | SCT:DeleteProfile(); |
||
1565 | </OnClick> |
||
1566 | </Scripts> |
||
1567 | </Button> |
||
1568 | </Frames> |
||
1569 | </Frame> |
||
1570 | |||
1571 | <!-- Example Frame --> |
||
1572 | <Frame name="SCT_EXAMPLETEXT" toplevel="true" frameStrata="HIGH" hidden="true"> |
||
1573 | <Size> |
||
1574 | <AbsDimension x="24" y="24"/> |
||
1575 | </Size> |
||
1576 | <Anchors> |
||
1577 | <Anchor point="CENTER"> |
||
1578 | <Offset> |
||
1579 | <AbsDimension x="0" y="60"/> |
||
1580 | </Offset> |
||
1581 | </Anchor> |
||
1582 | </Anchors> |
||
1583 | <Layers> |
||
1584 | <Layer level="ARTWORK"> |
||
1585 | <FontString name="SCTaniExampleData1" inherits="MasterFont"/> |
||
1586 | <FontString name="SCTaniExampleData2" inherits="MasterFont"/> |
||
1587 | </Layer> |
||
1588 | </Layers> |
||
1589 | </Frame> |
||
1590 | |||
1591 | <!-- Example MSG Frame --> |
||
1592 | <Frame name="SCT_EXAMPLEMSG" toplevel="true" frameStrata="HIGH" hidden="true"> |
||
1593 | <Size> |
||
1594 | <AbsDimension x="24" y="24"/> |
||
1595 | </Size> |
||
1596 | <Anchors> |
||
1597 | <Anchor point="CENTER"> |
||
1598 | <Offset> |
||
1599 | <AbsDimension x="0" y="210"/> |
||
1600 | </Offset> |
||
1601 | </Anchor> |
||
1602 | </Anchors> |
||
1603 | <Layers> |
||
1604 | <Layer level="ARTWORK"> |
||
1605 | <FontString name="SCTMsgExample1" inherits="MasterFont" font="Fonts\FRIZQT__.TTF" justifyH="CENTER" outline="NORMAL"> |
||
1606 | <FontHeight> |
||
1607 | <AbsValue val="20"/> |
||
1608 | </FontHeight> |
||
1609 | </FontString> |
||
1610 | </Layer> |
||
1611 | </Layers> |
||
1612 | </Frame> |
||
1613 | |||
1614 | <!-- Save Button --> |
||
1615 | <Button name="SCTOptionsFrame_Misc8" inherits="SCTButtonTemplate"> |
||
1616 | <Size> |
||
1617 | <AbsDimension x="110" y="21"/> |
||
1618 | </Size> |
||
1619 | <Anchors> |
||
1620 | <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" relativeTo="SCTOptions"> |
||
1621 | <Offset> |
||
1622 | <AbsDimension x="15" y="16" /> |
||
1623 | </Offset> |
||
1624 | </Anchor> |
||
1625 | </Anchors> |
||
1626 | <Scripts> |
||
1627 | <OnClick> |
||
1628 | if ( ColorPickerFrame:IsVisible() ) then |
||
1629 | ColorPickerFrame:Hide(); |
||
1630 | end |
||
1631 | <!--SCT:SaveCurrentSettings();--> |
||
1632 | SCT:AniInit(); |
||
1633 | SCT:HideMenu(); |
||
1634 | </OnClick> |
||
1635 | </Scripts> |
||
1636 | </Button> |
||
1637 | |||
1638 | <!-- Reset Button --> |
||
1639 | <Button name="SCTOptionsFrame_Misc9" inherits="SCTButtonTemplate"> |
||
1640 | <Anchors> |
||
1641 | <Anchor point="TOPRIGHT"> |
||
1642 | <Offset> |
||
1643 | <AbsDimension x="-20" y="-16"/> |
||
1644 | </Offset> |
||
1645 | </Anchor> |
||
1646 | </Anchors> |
||
1647 | <Scripts> |
||
1648 | <OnLoad> |
||
1649 | StaticPopupDialogs["SCT_RESET"] = { |
||
1650 | text = SCT.LOCALS.OPTION_MISC9.tooltipText, |
||
1651 | button1 = TEXT(OKAY) , |
||
1652 | button2 = TEXT(CANCEL) , |
||
1653 | OnAccept = function() |
||
1654 | SCT:Reset(); |
||
1655 | end, |
||
1656 | timeout = 0, |
||
1657 | whileDead = 1, |
||
1658 | hideOnEscape = 1, |
||
1659 | showAlert = 1 |
||
1660 | }; |
||
1661 | </OnLoad> |
||
1662 | <OnClick> |
||
1663 | StaticPopup_Show("SCT_RESET"); |
||
1664 | </OnClick> |
||
1665 | </Scripts> |
||
1666 | </Button> |
||
1667 | |||
1668 | <!-- Scrolling Text Button --> |
||
1669 | <Button name="SCTOptionsFrame_Misc14" inherits="TabButtonTemplate" text="test1234"> |
||
1670 | <Anchors> |
||
1671 | <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" relativeTo="SCTOptions_TextFrame"> |
||
1672 | <Offset> |
||
1673 | <AbsDimension x="0" y="-2" /> |
||
1674 | </Offset> |
||
1675 | </Anchor> |
||
1676 | </Anchors> |
||
1677 | <Scripts> |
||
1678 | <OnClick> |
||
1679 | PanelTemplates_SelectTab(this); |
||
1680 | PanelTemplates_DeselectTab(SCTOptionsFrame_Misc15); |
||
1681 | PanelTemplates_DeselectTab(SCTOptionsFrame_Misc20); |
||
1682 | SCTOptions_MessageFrame:Hide(); |
||
1683 | SCTOptions_TextFrame:Show(); |
||
1684 | SCT:ChangeFrameTab(SCT.FRAME1); |
||
1685 | </OnClick> |
||
1686 | <OnLoad> |
||
1687 | <!-- Size it properly --> |
||
1688 | PanelTemplates_SelectTab(this); |
||
1689 | PanelTemplates_TabResize(-17, this); |
||
1690 | getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth() + 16); |
||
1691 | </OnLoad> |
||
1692 | </Scripts> |
||
1693 | </Button> |
||
1694 | |||
1695 | <!-- Scrolling Text 2 Button --> |
||
1696 | <Button name="SCTOptionsFrame_Misc20" inherits="TabButtonTemplate" text="test1234"> |
||
1697 | <Anchors> |
||
1698 | <Anchor point="BOTTOM" relativePoint="TOP" relativeTo="SCTOptions_TextFrame"> |
||
1699 | <Offset> |
||
1700 | <AbsDimension x="-7" y="-2" /> |
||
1701 | </Offset> |
||
1702 | </Anchor> |
||
1703 | </Anchors> |
||
1704 | <Scripts> |
||
1705 | <OnClick> |
||
1706 | PanelTemplates_SelectTab(this); |
||
1707 | PanelTemplates_DeselectTab(SCTOptionsFrame_Misc15); |
||
1708 | PanelTemplates_DeselectTab(SCTOptionsFrame_Misc14); |
||
1709 | SCTOptions_MessageFrame:Hide(); |
||
1710 | SCTOptions_TextFrame:Show(); |
||
1711 | SCT:ChangeFrameTab(SCT.FRAME2); |
||
1712 | </OnClick> |
||
1713 | <OnLoad> |
||
1714 | <!-- Size it properly --> |
||
1715 | PanelTemplates_DeselectTab(this); |
||
1716 | PanelTemplates_TabResize(-17, this); |
||
1717 | getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth() + 16); |
||
1718 | </OnLoad> |
||
1719 | </Scripts> |
||
1720 | </Button> |
||
1721 | |||
1722 | <!-- Message Text Button --> |
||
1723 | <Button name="SCTOptionsFrame_Misc15" inherits="TabButtonTemplate" text="test123456"> |
||
1724 | <Anchors> |
||
1725 | <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" relativeTo="SCTOptions_TextFrame"> |
||
1726 | <Offset> |
||
1727 | <AbsDimension x="0" y="-2" /> |
||
1728 | </Offset> |
||
1729 | </Anchor> |
||
1730 | </Anchors> |
||
1731 | <Scripts> |
||
1732 | <OnClick> |
||
1733 | PanelTemplates_SelectTab(this); |
||
1734 | PanelTemplates_DeselectTab(SCTOptionsFrame_Misc14); |
||
1735 | PanelTemplates_DeselectTab(SCTOptionsFrame_Misc20); |
||
1736 | SCTOptions_TextFrame:Hide(); |
||
1737 | SCTOptions_MessageFrame:Show(); |
||
1738 | </OnClick> |
||
1739 | <OnLoad> |
||
1740 | <!-- Size it properly --> |
||
1741 | PanelTemplates_DeselectTab(this); |
||
1742 | PanelTemplates_TabResize(-17, this); |
||
1743 | getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth() + 16); |
||
1744 | </OnLoad> |
||
1745 | </Scripts> |
||
1746 | </Button> |
||
1747 | |||
1748 | <!-- Misc Button --> |
||
1749 | <Button name="SCTOptionsFrame_Misc18" inherits="TabButtonTemplate" text="test1234"> |
||
1750 | <Anchors> |
||
1751 | <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" relativeTo="SCTOptions_MiscFrame"> |
||
1752 | <Offset> |
||
1753 | <AbsDimension x="10" y="-2" /> |
||
1754 | </Offset> |
||
1755 | </Anchor> |
||
1756 | </Anchors> |
||
1757 | <Scripts> |
||
1758 | <OnClick> |
||
1759 | PanelTemplates_SelectTab(this); |
||
1760 | PanelTemplates_DeselectTab(SCTOptionsFrame_Misc19); |
||
1761 | SCTOptions_SpellFrame:Hide(); |
||
1762 | SCTOptions_MiscFrame:Show(); |
||
1763 | </OnClick> |
||
1764 | <OnLoad> |
||
1765 | <!-- Size it properly --> |
||
1766 | PanelTemplates_SelectTab(this); |
||
1767 | PanelTemplates_TabResize(-10, this); |
||
1768 | getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth() + 16); |
||
1769 | </OnLoad> |
||
1770 | </Scripts> |
||
1771 | </Button> |
||
1772 | |||
1773 | <!-- Spell Button --> |
||
1774 | <Button name="SCTOptionsFrame_Misc19" inherits="TabButtonTemplate" text="test123456"> |
||
1775 | <Anchors> |
||
1776 | <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" relativeTo="SCTOptions_SpellFrame"> |
||
1777 | <Offset> |
||
1778 | <AbsDimension x="-10" y="-2" /> |
||
1779 | </Offset> |
||
1780 | </Anchor> |
||
1781 | </Anchors> |
||
1782 | <Scripts> |
||
1783 | <OnClick> |
||
1784 | PanelTemplates_SelectTab(this); |
||
1785 | PanelTemplates_DeselectTab(SCTOptionsFrame_Misc18); |
||
1786 | SCTOptions_MiscFrame:Hide(); |
||
1787 | SCTOptions_SpellFrame:Show(); |
||
1788 | </OnClick> |
||
1789 | <OnLoad> |
||
1790 | <!-- Size it properly --> |
||
1791 | PanelTemplates_DeselectTab(this); |
||
1792 | PanelTemplates_TabResize(-10, this); |
||
1793 | getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth() + 16); |
||
1794 | </OnLoad> |
||
1795 | </Scripts> |
||
1796 | </Button> |
||
1797 | |||
1798 | </Frames> |
||
1799 | <Scripts> |
||
1800 | <OnShow> |
||
1801 | SCT:OptionsFrame_OnShow(); |
||
1802 | </OnShow> |
||
1803 | <OnHide> |
||
1804 | SCTOptions_SaveLoadFrame:Hide(); |
||
1805 | </OnHide> |
||
1806 | </Scripts> |
||
1807 | </Frame> |
||
1808 | |||
1809 | <!-- LOAD OPTION FRAME (HIDDEN) --> |
||
1810 | <Frame name="SCTOptions_SaveLoadFrame" inherits="OptionFrameBoxTemplate" hidden="true" frameStrata="DIALOG" parent="UIParent"> |
||
1811 | <Size> |
||
1812 | <AbsDimension x="190" y="275"/> |
||
1813 | </Size> |
||
1814 | <Anchors> |
||
1815 | <Anchor point="BOTTOM" relativeTo="SCTOptionsFrame_Misc10" relativePoint="TOP"> |
||
1816 | <Offset> |
||
1817 | <AbsDimension x="0" y="10"/> |
||
1818 | </Offset> |
||
1819 | </Anchor> |
||
1820 | </Anchors> |
||
1821 | <Scripts> |
||
1822 | <OnLoad> |
||
1823 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
1824 | this:SetBackdropColor(0, 0, 0); |
||
1825 | </OnLoad> |
||
1826 | </Scripts> |
||
1827 | <Frames> |
||
1828 | |||
1829 | <Frame name="SCTOptions_SaveLoadFrameTitle"> |
||
1830 | <Size> |
||
1831 | <AbsDimension x="140" y="20"/> |
||
1832 | </Size> |
||
1833 | <Anchors> |
||
1834 | <Anchor point="TOP"> |
||
1835 | <Offset> |
||
1836 | <AbsDimension x="0" y="-10"/> |
||
1837 | </Offset> |
||
1838 | </Anchor> |
||
1839 | </Anchors> |
||
1840 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
1841 | <EdgeSize> |
||
1842 | <AbsValue val="12"/> |
||
1843 | </EdgeSize> |
||
1844 | <TileSize> |
||
1845 | <AbsValue val="8"/> |
||
1846 | </TileSize> |
||
1847 | <BackgroundInsets> |
||
1848 | <AbsInset left="2" right="2" top="2" bottom="2"/> |
||
1849 | </BackgroundInsets> |
||
1850 | </Backdrop> |
||
1851 | <Layers> |
||
1852 | <Layer> |
||
1853 | <FontString name="SCTOptionsFrame_Misc7" inherits="GameFontHighlight"> |
||
1854 | <Anchors> |
||
1855 | <Anchor point="CENTER"> |
||
1856 | <Offset> |
||
1857 | <AbsDimension x="0" y="0"/> |
||
1858 | </Offset> |
||
1859 | </Anchor> |
||
1860 | </Anchors> |
||
1861 | </FontString> |
||
1862 | </Layer> |
||
1863 | </Layers> |
||
1864 | <Scripts> |
||
1865 | <OnLoad> |
||
1866 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
1867 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
1868 | </OnLoad> |
||
1869 | </Scripts> |
||
1870 | </Frame> |
||
1871 | |||
1872 | <ScrollFrame name="SCTScrollBar" inherits="FauxScrollFrameTemplate" hidden="false"> |
||
1873 | <Anchors> |
||
1874 | <Anchor point="TOPLEFT"> |
||
1875 | <Offset> |
||
1876 | <AbsDimension x="0" y="-8"/> |
||
1877 | </Offset> |
||
1878 | </Anchor> |
||
1879 | <Anchor point="BOTTOMRIGHT"> |
||
1880 | <Offset> |
||
1881 | <AbsDimension x="-30" y="8"/> |
||
1882 | </Offset> |
||
1883 | </Anchor> |
||
1884 | </Anchors> |
||
1885 | <Scripts> |
||
1886 | <OnVerticalScroll> |
||
1887 | FauxScrollFrame_OnVerticalScroll(16, SCT.ScrollBar_Update); |
||
1888 | </OnVerticalScroll> |
||
1889 | <OnShow> |
||
1890 | SCT:ScrollBar_Update() |
||
1891 | </OnShow> |
||
1892 | </Scripts> |
||
1893 | </ScrollFrame> |
||
1894 | |||
1895 | <Button name = "SCTList1" inherits="SCTSaveListTemplate" hidden="false"> |
||
1896 | <Anchors> |
||
1897 | <Anchor point="TOP" relativeTo="SCTOptions_SaveLoadFrame" relativePoint="TOP"> |
||
1898 | <Offset> |
||
1899 | <AbsDimension x="0" y="-35"/> |
||
1900 | </Offset> |
||
1901 | </Anchor> |
||
1902 | </Anchors> |
||
1903 | </Button> |
||
1904 | <Button name = "SCTList2" inherits="SCTSaveListTemplate" hidden="false"> |
||
1905 | <Anchors> |
||
1906 | <Anchor point="TOPLEFT" relativeTo="SCTList1" relativePoint="BOTTOMLEFT"/> |
||
1907 | </Anchors> |
||
1908 | </Button> |
||
1909 | <Button name = "SCTList3" inherits="SCTSaveListTemplate" hidden="false"> |
||
1910 | <Anchors> |
||
1911 | <Anchor point="TOPLEFT" relativeTo="SCTList2" relativePoint="BOTTOMLEFT"/> |
||
1912 | </Anchors> |
||
1913 | </Button> |
||
1914 | <Button name = "SCTList4" inherits="SCTSaveListTemplate" hidden="false"> |
||
1915 | <Anchors> |
||
1916 | <Anchor point="TOPLEFT" relativeTo="SCTList3" relativePoint="BOTTOMLEFT"/> |
||
1917 | </Anchors> |
||
1918 | </Button> |
||
1919 | <Button name = "SCTList5" inherits="SCTSaveListTemplate" hidden="false"> |
||
1920 | <Anchors> |
||
1921 | <Anchor point="TOPLEFT" relativeTo="SCTList4" relativePoint="BOTTOMLEFT"/> |
||
1922 | </Anchors> |
||
1923 | </Button> |
||
1924 | <Button name = "SCTList6" inherits="SCTSaveListTemplate" hidden="false"> |
||
1925 | <Anchors> |
||
1926 | <Anchor point="TOPLEFT" relativeTo="SCTList5" relativePoint="BOTTOMLEFT"/> |
||
1927 | </Anchors> |
||
1928 | </Button> |
||
1929 | <Button name = "SCTList7" inherits="SCTSaveListTemplate" hidden="false"> |
||
1930 | <Anchors> |
||
1931 | <Anchor point="TOPLEFT" relativeTo="SCTList6" relativePoint="BOTTOMLEFT"/> |
||
1932 | </Anchors> |
||
1933 | </Button> |
||
1934 | <Button name = "SCTList8" inherits="SCTSaveListTemplate" hidden="false"> |
||
1935 | <Anchors> |
||
1936 | <Anchor point="TOPLEFT" relativeTo="SCTList7" relativePoint="BOTTOMLEFT"/> |
||
1937 | </Anchors> |
||
1938 | </Button> |
||
1939 | <Button name = "SCTList9" inherits="SCTSaveListTemplate" hidden="false"> |
||
1940 | <Anchors> |
||
1941 | <Anchor point="TOPLEFT" relativeTo="SCTList8" relativePoint="BOTTOMLEFT"/> |
||
1942 | </Anchors> |
||
1943 | </Button> |
||
1944 | <Button name = "SCTList10" inherits="SCTSaveListTemplate" hidden="false"> |
||
1945 | <Anchors> |
||
1946 | <Anchor point="TOPLEFT" relativeTo="SCTList9" relativePoint="BOTTOMLEFT"/> |
||
1947 | </Anchors> |
||
1948 | </Button> |
||
1949 | |||
1950 | <!-- Cancel Button --> |
||
1951 | <Button name="SCTOptionsFrame_Misc13" inherits="SCTButtonTemplate"> |
||
1952 | <Anchors> |
||
1953 | <Anchor point="TOP" relativeTo="SCTList10" relativePoint="BOTTOM"> |
||
1954 | <Offset> |
||
1955 | <AbsDimension x="0" y="-5"/> |
||
1956 | </Offset> |
||
1957 | </Anchor> |
||
1958 | </Anchors> |
||
1959 | <Scripts> |
||
1960 | <OnClick> |
||
1961 | SCTOptions_SaveLoadFrame:Hide() |
||
1962 | </OnClick> |
||
1963 | </Scripts> |
||
1964 | </Button> |
||
1965 | </Frames> |
||
1966 | <Scripts> |
||
1967 | <OnShow> |
||
1968 | SCTOptions:SetAlpha(.33); |
||
1969 | SCTOptions_BuiltInConfigFrame:Show(); |
||
1970 | </OnShow> |
||
1971 | <OnHide> |
||
1972 | SCTOptions:SetAlpha(1); |
||
1973 | SCTOptions_BuiltInConfigFrame:Hide(); |
||
1974 | </OnHide> |
||
1975 | </Scripts> |
||
1976 | </Frame> |
||
1977 | |||
1978 | <!-- LOAD BULIT IN CONFIG OPTION FRAME (HIDDEN) --> |
||
1979 | <Frame name="SCTOptions_BuiltInConfigFrame" inherits="OptionFrameBoxTemplate" hidden="true" frameStrata="DIALOG" parent="UIParent"> |
||
1980 | <Size> |
||
1981 | <AbsDimension x="190" y="170"/> |
||
1982 | </Size> |
||
1983 | <Anchors> |
||
1984 | <Anchor point="BOTTOM" relativeTo="SCTOptions_SaveLoadFrame" relativePoint="TOP"> |
||
1985 | <Offset> |
||
1986 | <AbsDimension x="0" y="0"/> |
||
1987 | </Offset> |
||
1988 | </Anchor> |
||
1989 | </Anchors> |
||
1990 | <Scripts> |
||
1991 | <OnLoad> |
||
1992 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
1993 | this:SetBackdropColor(0, 0, 0); |
||
1994 | </OnLoad> |
||
1995 | </Scripts> |
||
1996 | <Frames> |
||
1997 | |||
1998 | <Frame name="SCTOptions_BuiltInConfigFrameTitle"> |
||
1999 | <Size> |
||
2000 | <AbsDimension x="140" y="20"/> |
||
2001 | </Size> |
||
2002 | <Anchors> |
||
2003 | <Anchor point="TOP"> |
||
2004 | <Offset> |
||
2005 | <AbsDimension x="0" y="-10"/> |
||
2006 | </Offset> |
||
2007 | </Anchor> |
||
2008 | </Anchors> |
||
2009 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
2010 | <EdgeSize> |
||
2011 | <AbsValue val="12"/> |
||
2012 | </EdgeSize> |
||
2013 | <TileSize> |
||
2014 | <AbsValue val="8"/> |
||
2015 | </TileSize> |
||
2016 | <BackgroundInsets> |
||
2017 | <AbsInset left="2" right="2" top="2" bottom="2"/> |
||
2018 | </BackgroundInsets> |
||
2019 | </Backdrop> |
||
2020 | <Layers> |
||
2021 | <Layer> |
||
2022 | <FontString name="SCTOptionsFrame_Misc26" inherits="GameFontHighlight"> |
||
2023 | <Anchors> |
||
2024 | <Anchor point="CENTER"> |
||
2025 | <Offset> |
||
2026 | <AbsDimension x="0" y="0"/> |
||
2027 | </Offset> |
||
2028 | </Anchor> |
||
2029 | </Anchors> |
||
2030 | </FontString> |
||
2031 | </Layer> |
||
2032 | </Layers> |
||
2033 | <Scripts> |
||
2034 | <OnLoad> |
||
2035 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
2036 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
2037 | </OnLoad> |
||
2038 | </Scripts> |
||
2039 | </Frame> |
||
2040 | |||
2041 | <!-- Classic Button --> |
||
2042 | <Button name="SCTOptionsFrame_Misc22" inherits="SCTProfileButtonTemplate"> |
||
2043 | <Anchors> |
||
2044 | <Anchor point="TOP" relativeTo="SCTOptions_BuiltInConfigFrame" relativePoint="TOP"> |
||
2045 | <Offset> |
||
2046 | <AbsDimension x="0" y="-35"/> |
||
2047 | </Offset> |
||
2048 | </Anchor> |
||
2049 | </Anchors> |
||
2050 | <Scripts> |
||
2051 | <OnClick> |
||
2052 | SCTOptions_SaveLoadFrame:Hide() |
||
2053 | SCT:CopyProfile(SCT.db.profile, SCT:GetClassicConfig()); |
||
2054 | </OnClick> |
||
2055 | </Scripts> |
||
2056 | </Button> |
||
2057 | |||
2058 | <!-- Performance Button --> |
||
2059 | <Button name="SCTOptionsFrame_Misc23" inherits="SCTProfileButtonTemplate"> |
||
2060 | <Anchors> |
||
2061 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Misc22" relativePoint="BOTTOM"/> |
||
2062 | </Anchors> |
||
2063 | <Scripts> |
||
2064 | <OnClick> |
||
2065 | SCTOptions_SaveLoadFrame:Hide() |
||
2066 | SCT:CopyProfile(SCT.db.profile, SCT:GetPerformanceConfig()); |
||
2067 | </OnClick> |
||
2068 | </Scripts> |
||
2069 | </Button> |
||
2070 | |||
2071 | <!-- Split Button --> |
||
2072 | <Button name="SCTOptionsFrame_Misc24" inherits="SCTProfileButtonTemplate"> |
||
2073 | <Anchors> |
||
2074 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Misc23" relativePoint="BOTTOM"/> |
||
2075 | </Anchors> |
||
2076 | <Scripts> |
||
2077 | <OnClick> |
||
2078 | SCTOptions_SaveLoadFrame:Hide() |
||
2079 | SCT:CopyProfile(SCT.db.profile, SCT:GetSplitConfig()); |
||
2080 | </OnClick> |
||
2081 | </Scripts> |
||
2082 | </Button> |
||
2083 | |||
2084 | <!-- Split SCTD Button --> |
||
2085 | <Button name="SCTOptionsFrame_Misc27" inherits="SCTProfileButtonTemplate"> |
||
2086 | <Anchors> |
||
2087 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Misc24" relativePoint="BOTTOM"/> |
||
2088 | </Anchors> |
||
2089 | <Scripts> |
||
2090 | <OnClick> |
||
2091 | SCTOptions_SaveLoadFrame:Hide() |
||
2092 | SCT:CopyProfile(SCT.db.profile, SCT:GetSplitSCTDConfig()); |
||
2093 | </OnClick> |
||
2094 | </Scripts> |
||
2095 | </Button> |
||
2096 | |||
2097 | <!-- Grayhoof Button --> |
||
2098 | <Button name="SCTOptionsFrame_Misc25" inherits="SCTProfileButtonTemplate"> |
||
2099 | <Anchors> |
||
2100 | <Anchor point="TOP" relativeTo="SCTOptionsFrame_Misc27" relativePoint="BOTTOM"/> |
||
2101 | </Anchors> |
||
2102 | <Scripts> |
||
2103 | <OnClick> |
||
2104 | SCTOptions_SaveLoadFrame:Hide() |
||
2105 | SCT:CopyProfile(SCT.db.profile, SCT:GetGrayhoofConfig()); |
||
2106 | </OnClick> |
||
2107 | </Scripts> |
||
2108 | </Button> |
||
2109 | </Frames> |
||
2110 | </Frame> |
||
2111 | </Ui> |