<!-- Options Pane Definition -->

<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/">

	<!-- LOAD OPTION FRAME (HIDDEN) -->
	<Frame name="SCTDOptions" parent="SCTOptions" hidden="true" >
		<Size>
			<AbsDimension x="450" y="302"/>
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT" relativeTo="SCTOptions" relativePoint="TOPLEFT">
				<Offset>
            <AbsDimension x="0" y="-2"/>
        </Offset>
      </Anchor>
		</Anchors>
		<Frames>
			<Frame enableMouse="true">
				<Size>
					<AbsDimension x="450" y="302"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT"/>
				</Anchors>
				<Layers>
					<Layer>
		        <FontString name="SCTOptionsFrame_Misc101" inherits="GameFontHighlight">
		            <Anchors>
		                <Anchor point="TOP">
		                    <Offset>
		                        <AbsDimension x="0" y="-5"/>
		                    </Offset>
		                </Anchor>
		            </Anchors>
		        </FontString>
					</Layer>
				</Layers>
				<Frames>

					<CheckButton name="SCTOptionsFrame_CheckButton101" inherits="SCTCheckTemplate">
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="10" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
					</CheckButton>

					<Button name="SCTOptionsFrame_Misc104" inherits="SCTButtonTemplate">
						<Size>
							<AbsDimension x="110" y="21"/>
						</Size>
						<Anchors>
							<Anchor point="TOP" relativePoint="TOP">
								<Offset>
									<AbsDimension x="-125" y="-25" />
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								SCTD:OptionFrameTabClick(self);
							</OnClick>
						</Scripts>
					</Button>

					<Button name="SCTOptionsFrame_Misc105" inherits="SCTButtonTemplate">
						<Size>
							<AbsDimension x="110" y="21"/>
						</Size>
						<Anchors>
							<Anchor point="TOP" relativePoint="TOP">
								<Offset>
									<AbsDimension x="0" y="-25" />
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								SCTD:OptionFrameTabClick(self);
							</OnClick>
						</Scripts>
					</Button>

					<Button name="SCTOptionsFrame_Misc106" inherits="SCTButtonTemplate">
						<Size>
							<AbsDimension x="110" y="21"/>
						</Size>
						<Anchors>
							<Anchor point="TOP" relativePoint="TOP">
								<Offset>
									<AbsDimension x="125" y="-25" />
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								SCT_EXAMPLETEXT:Show();
								SCTaniExampleData1:SetTextColor(1, 1, 1);
								SCTaniExampleData2:SetTextColor(1, 1, 1);
								SCTMsgExample1:SetTextColor(1, 1, 1);
								SCTD:OptionFrameTabClick(self);
							</OnClick>
						</Scripts>
					</Button>

					<Frame name="SCTDOptions_EventsFrame" hidden="true">
						<Size>
							<AbsDimension x="450" y="305"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativePoint="TOPLEFT"/>
						</Anchors>
						<Frames>


							<Frame name="SCTOptionsFrame101" inherits="SCTEventOptionTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
										<Offset>
											<AbsDimension x="40" y="-30" />
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										SCTOptionsFrame101_RadioFrame1Button:Hide();
										SCTOptionsFrame101_RadioFrame2Button:Hide();
										SCTOptionsFrame101_RadioMsgButton:Hide();
										SCTOptionsFrame101_CritCheckButton:Hide();
										SCTOptionsFrame101_CheckButton:SetPoint("LEFT", "SCTOptionsFrame101_ColorSwatch", "RIGHT", 0,0);
									</OnLoad>
								</Scripts>
							</Frame>

							<Frame name="SCTOptionsFrame102" inherits="SCTEventOptionTemplate">
								<Anchors>
									<Anchor point="LEFT" relativeTo="SCTOptionsFrame101" relativePoint="LEFT">
										<Offset>
											<AbsDimension x="0" y="-27" />
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										SCTOptionsFrame102_RadioFrame1Button:Hide();
										SCTOptionsFrame102_RadioFrame2Button:Hide();
										SCTOptionsFrame102_RadioMsgButton:Hide();
										SCTOptionsFrame102_CritCheckButton:Hide();
										SCTOptionsFrame102_CheckButton:SetPoint("LEFT", "SCTOptionsFrame102_ColorSwatch", "RIGHT", 0,0);
									</OnLoad>
								</Scripts>
							</Frame>

							<Frame name="SCTOptionsFrame103" inherits="SCTEventOptionTemplate">
								<Anchors>
									<Anchor point="LEFT" relativeTo="SCTOptionsFrame102" relativePoint="LEFT">
										<Offset>
											<AbsDimension x="0" y="-27" />
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										SCTOptionsFrame103_RadioFrame1Button:Hide();
										SCTOptionsFrame103_RadioFrame2Button:Hide();
										SCTOptionsFrame103_RadioMsgButton:Hide();
										SCTOptionsFrame103_CritCheckButton:Hide();
										SCTOptionsFrame103_CheckButton:SetPoint("LEFT", "SCTOptionsFrame103_ColorSwatch", "RIGHT", 0,0);
									</OnLoad>
								</Scripts>
							</Frame>

							<Frame name="SCTOptionsFrame106" inherits="SCTEventOptionTemplate">
								<Anchors>
									<Anchor point="LEFT" relativeTo="SCTOptionsFrame103" relativePoint="LEFT">
										<Offset>
											<AbsDimension x="0" y="-27" />
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										SCTOptionsFrame106_RadioFrame1Button:Hide();
										SCTOptionsFrame106_RadioFrame2Button:Hide();
										SCTOptionsFrame106_RadioMsgButton:Hide();
										SCTOptionsFrame106_CritCheckButton:Hide();
										SCTOptionsFrame106_CheckButton:SetPoint("LEFT", "SCTOptionsFrame106_ColorSwatch", "RIGHT", 0,0);
									</OnLoad>
								</Scripts>
							</Frame>

							<Frame name="SCTOptionsFrame104" inherits="SCTEventOptionTemplate">
								<Anchors>
									<Anchor point="LEFT" relativeTo="SCTOptionsFrame106" relativePoint="LEFT">
										<Offset>
											<AbsDimension x="0" y="-27" />
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										SCTOptionsFrame104_RadioFrame1Button:Hide();
										SCTOptionsFrame104_RadioFrame2Button:Hide();
										SCTOptionsFrame104_RadioMsgButton:Hide();
										SCTOptionsFrame104_CritCheckButton:Hide();
										SCTOptionsFrame104_CheckButton:SetPoint("LEFT", "SCTOptionsFrame104_ColorSwatch", "RIGHT", 0,0);
									</OnLoad>
								</Scripts>
							</Frame>

							<Frame name="SCTOptionsFrame105" inherits="SCTEventOptionTemplate">
								<Anchors>
									<Anchor point="LEFT" relativeTo="SCTOptionsFrame104" relativePoint="LEFT">
										<Offset>
											<AbsDimension x="0" y="-27" />
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										SCTOptionsFrame105_RadioFrame1Button:Hide();
										SCTOptionsFrame105_RadioFrame2Button:Hide();
										SCTOptionsFrame105_RadioMsgButton:Hide();
										SCTOptionsFrame105_CritCheckButton:Hide();
										SCTOptionsFrame105_CheckButton:SetPoint("LEFT", "SCTOptionsFrame105_ColorSwatch", "RIGHT", 0,0);
									</OnLoad>
								</Scripts>
							</Frame>

							<Frame name="SCTOptionsFrame107" inherits="SCTEventOptionTemplate">
								<Anchors>
									<Anchor point="LEFT" relativeTo="SCTOptionsFrame105" relativePoint="LEFT">
										<Offset>
											<AbsDimension x="0" y="-27" />
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										SCTOptionsFrame107_RadioFrame1Button:Hide();
										SCTOptionsFrame107_RadioFrame2Button:Hide();
										SCTOptionsFrame107_RadioMsgButton:Hide();
										SCTOptionsFrame107_CritCheckButton:Hide();
										SCTOptionsFrame107_CheckButton:SetPoint("LEFT", "SCTOptionsFrame107_ColorSwatch", "RIGHT", 0,0);
									</OnLoad>
								</Scripts>
							</Frame>

							<CheckButton name="SCTOptionsFrame_CheckButton111" inherits="SCTCheckTemplate">
								<Anchors>
									<Anchor point="LEFT" relativeTo="SCTOptionsFrame107" relativePoint="left">
										<Offset>
											<AbsDimension x="15" y="-30" />
										</Offset>
									</Anchor>
								</Anchors>
							</CheckButton>

						</Frames>
					</Frame>

					<Frame name="SCTDOptions_DisplayFrame" hidden="true">
						<Size>
							<AbsDimension x="450" y="305"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativePoint="TOPLEFT"/>
						</Anchors>
						<Frames>
							<CheckButton name="SCTOptionsFrame_CheckButton105" inherits="SCTCheckTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
										<Offset>
											<AbsDimension x="40" y="-30" />
										</Offset>
									</Anchor>
								</Anchors>
							</CheckButton>

							<CheckButton name="SCTOptionsFrame_CheckButton103" inherits="SCTCheckTemplate">
								<Anchors>
									<Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton105" relativePoint="left">
										<Offset>
											<AbsDimension x="0" y="-25" />
										</Offset>
									</Anchor>
								</Anchors>
							</CheckButton>

							<CheckButton name="SCTOptionsFrame_CheckButton112" inherits="SCTCheckTemplate">
								<Anchors>
									<Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton103" relativePoint="left">
										<Offset>
											<AbsDimension x="0" y="-25" />
										</Offset>
									</Anchor>
								</Anchors>
							</CheckButton>

							<CheckButton name="SCTOptionsFrame_CheckButton104" inherits="SCTCheckTemplate">
								<Anchors>
									<Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton112" relativePoint="left">
										<Offset>
											<AbsDimension x="0" y="-25" />
										</Offset>
									</Anchor>
								</Anchors>
							</CheckButton>

							<CheckButton name="SCTOptionsFrame_CheckButton114" inherits="SCTCheckTemplate">
								<Anchors>
									<Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton104" relativePoint="left">
										<Offset>
											<AbsDimension x="0" y="-25" />
										</Offset>
									</Anchor>
								</Anchors>
							</CheckButton>

							<CheckButton name="SCTOptionsFrame_CheckButton115" inherits="SCTCheckTemplate" hidden="true">
								<Anchors>
									<Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton114" relativePoint="left">
										<Offset>
											<AbsDimension x="0" y="-25" />
										</Offset>
									</Anchor>
								</Anchors>
							</CheckButton>

							<CheckButton name="SCTOptionsFrame_CheckButton106" inherits="SCTCheckTemplate">
								<Anchors>
									<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
										<Offset>
											<AbsDimension x="-185" y="-30" />
										</Offset>
									</Anchor>
								</Anchors>
							</CheckButton>

							<CheckButton name="SCTOptionsFrame_CheckButton108" inherits="SCTCheckTemplate">
								<Anchors>
									<Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton106" relativePoint="left">
										<Offset>
											<AbsDimension x="0" y="-25" />
										</Offset>
									</Anchor>
								</Anchors>
							</CheckButton>

							<CheckButton name="SCTOptionsFrame_CheckButton102" inherits="SCTCheckTemplate">
								<Anchors>
									<Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton108" relativePoint="left">
										<Offset>
											<AbsDimension x="0" y="-25" />
										</Offset>
									</Anchor>
								</Anchors>
							</CheckButton>

							<CheckButton name="SCTOptionsFrame_CheckButton107" inherits="SCTCheckTemplate">
								<Anchors>
									<Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton102" relativePoint="left">
										<Offset>
											<AbsDimension x="0" y="-25" />
										</Offset>
									</Anchor>
								</Anchors>
							</CheckButton>

							<CheckButton name="SCTOptionsFrame_CheckButton109" inherits="SCTCheckTemplate">
								<Anchors>
									<Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton107" relativePoint="left">
										<Offset>
											<AbsDimension x="0" y="-25" />
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnClick>
										if ( self:GetChecked() ) then
											PlaySound("igMainMenuOptionCheckBoxOff");
											SCTD:EnableNameplate();
										else
											PlaySound("igMainMenuOptionCheckBoxOn");
											SCTD:DisableNameplate();
										end
										SCT:OptionsCheckButtonOnClick(self);
									</OnClick>
								</Scripts>
							</CheckButton>

							<Frame name="SCTOptionsFrame_Slider107" inherits="SCTSliderEditTemplate">
								<Anchors>
									<Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton115" relativePoint="left">
										<Offset>
											<AbsDimension x="10" y="-30" />
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>
						</Frames>
					</Frame>

					<Frame name="SCTDOptions_FrameFrame" hidden="true">
						<Size>
							<AbsDimension x="450" y="305"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativePoint="TOPLEFT"/>
						</Anchors>
						<Frames>
							<Frame name="SCTOptionsFrame_Slider104" inherits="SCTSliderTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
										<Offset>
											<AbsDimension x="40" y="-30" />
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>

							<Frame name="SCTOptionsFrame_Slider103" inherits="SCTSliderTemplate" hidden="false">
								<Anchors>
									<Anchor point="TOP" relativeTo="SCTOptionsFrame_Slider104" relativePoint="BOTTOM">
										<Offset>
											<AbsDimension x="0" y="-25" />
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>

							<Frame name="SCTOptionsFrame_Slider105" inherits="SCTSliderTemplate" hidden="false">
								<Anchors>
									<Anchor point="TOP" relativeTo="SCTOptionsFrame_Slider104" relativePoint="BOTTOM">
										<Offset>
											<AbsDimension x="0" y="-25" />
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>

							<Frame name="SCTOptionsFrame_Slider101" inherits="SCTSliderEditTemplate">
								<Anchors>
									<Anchor point="TOP" relativeTo="SCTOptionsFrame_Slider103" relativePoint="BOTTOM">
										<Offset>
											<AbsDimension x="0" y="-25" />
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>

							<Frame name="SCTOptionsFrame_Slider102" inherits="SCTSliderEditTemplate">
								<Anchors>
									<Anchor point="TOP" relativeTo="SCTOptionsFrame_Slider101" relativePoint="BOTTOM">
										<Offset>
											<AbsDimension x="0" y="-25" />
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>

							<Frame name="SCTOptionsFrame_Selection105" inherits="SCTDropdownTemplate" hidden="false">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SCTOptionsFrame_Slider102" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="-20" y="-25"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>

							<Frame name="SCTOptionsFrame_Selection106" inherits="SCTDropdownTemplate" hidden="false">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SCTOptionsFrame_Selection105" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-7"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>

							<Frame name="SCTOptionsFrame_Selection101" inherits="SCTDropdownTemplate">
								<Anchors>
    							<Anchor point="TOPLEFT" relativeTo="SCTOptionsFrame_Slider104" relativePoint="TOPRIGHT">
    								<Offset>
    									<AbsDimension x="40" y="0" />
    								</Offset>
    							</Anchor>
    						</Anchors>
							</Frame>

							<Frame name="SCTOptionsFrame_Selection102" inherits="SCTDropdownTemplate">
								<Anchors>
									<Anchor point="TOP" relativeTo="SCTOptionsFrame_Selection101" relativePoint="BOTTOM">
										<Offset>
											<AbsDimension x="0" y="-8"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>

							<CheckButton name="SCTOptionsFrame_CheckButton110" inherits="SCTCheckTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SCTOptionsFrame_Selection102" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="12" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnClick>
										SCT:OptionsCheckButtonOnClick(self);
										SCTD:SetAnimationOptions(self);
									</OnClick>
								</Scripts>
							</CheckButton>

							<Frame name="SCTOptionsFrame_Selection103" inherits="SCTDropdownTemplate" hidden="false">
								<Anchors>
									<Anchor point="TOP" relativeTo="SCTOptionsFrame_Selection102" relativePoint="BOTTOM">
										<Offset>
											<AbsDimension x="0" y="-48"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>

							<Frame name="SCTOptionsFrame_Selection104" inherits="SCTDropdownTemplate" hidden="false">
								<Anchors>
									<Anchor point="TOP" relativeTo="SCTOptionsFrame_Selection103" relativePoint="BOTTOM">
										<Offset>
											<AbsDimension x="0" y="-10"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>

							<CheckButton name="SCTOptionsFrame_CheckButton113" inherits="SCTCheckTemplate" hidden="false">
								<Anchors>
									<Anchor point="TOP" relativeTo="SCTOptionsFrame_Selection103" relativePoint="BOTTOM">
										<Offset>
											<AbsDimension x="-35" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
							</CheckButton>

							<Frame name="SCTOptionsFrame_Slider106" inherits="SCTSliderEditTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SCTOptionsFrame_CheckButton113" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="5" y="-10" />
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>

							<Frame name="SCTDAnimationSubFrame" hidden="false">
								<Backdrop bgFile="Interface\ChatFrame\ChatFrameBackground" edgeFile="Interface\ChatFrame\ChatFrameBackground" tile="false">
									<BackgroundInsets>
										<AbsInset left="0" right="0" top="0" bottom="0" />
									</BackgroundInsets>
									<EdgeSize>
										<AbsValue val="1" />
									</EdgeSize>
								</Backdrop>
								<Size>
									<AbsDimension x="200" y="165"/>
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SCTOptionsFrame_Selection103" relativePoint="TOPLEFT">
										<Offset>
											<AbsDimension x="10" y="15"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										self:SetBackdropColor(.06,.06,.06,.8);
										self:SetBackdropBorderColor(.2,.2,.2,.8);
									</OnLoad>
								</Scripts>
							</Frame>
						</Frames>
						<Scripts>
							<OnShow>
								SCTD:SetAnimationOptions(SCTOptionsFrame_CheckButton110);
								SCT:ShowExample(self);
								SCTD_EXAMPLEMSG:Show();
							</OnShow>
							<OnHide>
								SCT_EXAMPLETEXT:Hide();
								SCTD_EXAMPLEMSG:Hide();
							</OnHide>
						</Scripts>
					</Frame>

				</Frames>
			</Frame>
		</Frames>
	</Frame>

	<!-- Example MSG Frame  -->
	<Frame name="SCTD_EXAMPLEMSG" toplevel="true" frameStrata="DIALOG" hidden="true" parent="UIParent">
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="SCTDMsgExample1" inherits="MasterFont" font="Fonts\FRIZQT__.TTF" justifyH="CENTER" outline="NORMAL">
					<FontHeight>
						<AbsValue val="20"/>
					</FontHeight>
				</FontString>
			</Layer>
		</Layers>
	</Frame>
</Ui>