<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/
C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
	<Frame name="SatrinaBuffFrameOptions" frameStrata="MEDIUM" toplevel="true" parent="UIParent" hidden="true">
		<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
			<BackgroundInsets>
				<AbsInset left="0" right="0" top="0" bottom="0"/>
			</BackgroundInsets>
			<TileSize>
				<AbsValue val="32"/>
			</TileSize>
			<EdgeSize>
				<AbsValue val="1"/>
			</EdgeSize>
		</Backdrop>
		<Size>
				<AbsDimension x="450" y="450"/>
		</Size>
		<Anchors>
				<Anchor point="CENTER">
					<Offset>
						<AbsDimension x="0" y="-5"/>
					</Offset>
				</Anchor>
		</Anchors>
		<Frames>
			<Slider name="SatrinaBuffScaleSlider" inherits="OptionsSliderTemplate">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="0" y="-10"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Slider>
			<Slider name="SatrinaDebuffScaleSlider" inherits="OptionsSliderTemplate">
				<Anchors>
					<Anchor point="TOP">
						<Offset>
							<AbsDimension x="0" y="-10"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Slider>
			<Slider name="SatrinaEnchantScaleSlider" inherits="OptionsSliderTemplate">
				<Anchors>
					<Anchor point="TOPRIGHT">
						<Offset>
							<AbsDimension x="0" y="-10"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Slider>

			<Slider name="SatrinaBuffTextSlider" inherits="OptionsSliderTemplate">
				<Anchors>
					<Anchor point="TOP" relativeTo="SatrinaBuffScaleSlider" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="-20"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Slider>
			<Slider name="SatrinaDebuffTextSlider" inherits="OptionsSliderTemplate">
				<Anchors>
					<Anchor point="TOP" relativeTo="SatrinaDebuffScaleSlider" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="-20"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Slider>
			<Slider name="SatrinaEnchantTextSlider" inherits="OptionsSliderTemplate">
				<Anchors>
					<Anchor point="TOP" relativeTo="SatrinaEnchantScaleSlider" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="-20"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Slider>

			<Slider name="SatrinaBuffOpacitySlider" inherits="OptionsSliderTemplate">
				<Anchors>
					<Anchor point="TOP" relativeTo="SatrinaBuffTextSlider" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="-20"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Slider>
			<Slider name="SatrinaDebuffOpacitySlider" inherits="OptionsSliderTemplate">
				<Anchors>
					<Anchor point="TOP" relativeTo="SatrinaDebuffTextSlider" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="-20"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Slider>
			<Slider name="SatrinaEnchantOpacitySlider" inherits="OptionsSliderTemplate">
				<Anchors>
					<Anchor point="TOP" relativeTo="SatrinaEnchantTextSlider" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="-20"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Slider>

			<Slider name="SatrinaBuffSpacingSlider" inherits="OptionsSliderTemplate">
				<Anchors>
					<Anchor point="TOP" relativeTo="SatrinaBuffOpacitySlider" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="-20"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Slider>
			<Slider name="SatrinaDebuffSpacingSlider" inherits="OptionsSliderTemplate">
				<Anchors>
					<Anchor point="TOP" relativeTo="SatrinaDebuffOpacitySlider" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="-20"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Slider>
			<Slider name="SatrinaEnchantSpacingSlider" inherits="OptionsSliderTemplate">
				<Anchors>
					<Anchor point="TOP" relativeTo="SatrinaEnchantOpacitySlider" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="-20"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Slider>

			<CheckButton name="SatrinaBuffHorizontalCheckButton" inherits="OptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="SatrinaBuffSpacingSlider" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="-15"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						SatrinaBuffFrame_BuffHorizontal()
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="SatrinaBuffReverseCheckButton" inherits="OptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="SatrinaBuffHorizontalCheckButton" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="5"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						SatrinaBuffFrame_ReverseBuffs()
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="SatrinaBuffBottomCheckButton" inherits="OptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="SatrinaBuffReverseCheckButton" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="5"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						SatrinaBuffFrame_BottomBuffs()
					</OnClick>
				</Scripts>
			</CheckButton>
			<Slider name="SatrinaBuffCountSlider" inherits="OptionsSliderTemplate">
				<Anchors>
					<Anchor point="TOP" relativeTo="SatrinaBuffBottomCheckButton" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="55" y="-10"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Slider>

			<CheckButton name="SatrinaDebuffHorizontalCheckButton" inherits="OptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="SatrinaDebuffSpacingSlider" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="-15"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						SatrinaBuffFrame_DebuffHorizontal()
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="SatrinaDebuffReverseCheckButton" inherits="OptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="SatrinaDebuffHorizontalCheckButton" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="5"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						SatrinaBuffFrame_ReverseDebuffs()
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="SatrinaDebuffBottomCheckButton" inherits="OptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="SatrinaDebuffReverseCheckButton" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="5"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						SatrinaBuffFrame_BottomDebuffs()
					</OnClick>
				</Scripts>
			</CheckButton>
			<Slider name="SatrinaDebuffCountSlider" inherits="OptionsSliderTemplate">
				<Anchors>
					<Anchor point="TOP" relativeTo="SatrinaDebuffBottomCheckButton" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="55" y="-10"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Slider>


			<CheckButton name="SatrinaBuffFrameVerticalEnchantCheckButton" inherits="OptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="SatrinaEnchantOpacitySlider" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="-10" y="-50"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						SatrinaBuffFrame_VerticalEnchants()
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="SatrinaBuffTimerStyleButton" inherits="OptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="SatrinaBuffFrameVerticalEnchantCheckButton" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="5"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						SatrinaBuffFrame_TimerStyle()
					</OnClick>
				</Scripts>
			</CheckButton>

			<CheckButton name="SatrinaBuffFrameTextWarningCheckButton" inherits="OptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="TOP" relativeTo="SatrinaBuffReverseCheckButton" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="-60"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						SatrinaBuffFrame_TextWarning()
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="SatrinaBuffFrameSoundWarningCheckButton" inherits="OptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="SatrinaBuffFrameTextWarningCheckButton" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="130" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						SatrinaBuffFrame_SoundWarning()
					</OnClick>
				</Scripts>
			</CheckButton>
			<Frame name="SatrinaBuffFrameSoundWarningDropDown" inherits="UIDropDownMenuTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="SatrinaBuffFrameSoundWarningCheckButton" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="100" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<FontString name="$parentLabel" inherits="GameFontNormalSmall">
							<Anchors>
								<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
									<Offset>
										<AbsDimension x="21" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
			</Frame>

			<CheckButton name="SatrinaBuffFrameLongBuffCheckButton" inherits="OptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="TOP" relativeTo="SatrinaBuffFrameTextWarningCheckButton" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="-5"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						SatrinaBuffFrame_LongBuff()
					</OnClick>
				</Scripts>
			</CheckButton>
			<Frame name="SatrinaBuffFrameLongBuffDropDown" inherits="UIDropDownMenuTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="SatrinaBuffFrameLongBuffCheckButton" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="120" y="-5"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<FontString name="$parentLabel" inherits="GameFontNormalSmall">
							<Anchors>
								<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
									<Offset>
										<AbsDimension x="21" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
			</Frame>

			<Button name="SatrinaBuffFrameCountColour">
				<Size>
					<AbsDimension x="22" y="22"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="SatrinaBuffFrameLongBuffCheckButton" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="5" y="-5"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture name="$parentSwatch">
							<Size>
								<AbsDimension x="20" y="20"/>
							</Size>
							<Anchors>
								<Anchor point="CENTER">
									<Offset>
										<AbsDimension x="0" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
							<Color r="1.0" g="1.0" b="1.0"/>
						</Texture>
						<FontString name="$parentLabel" inherits="GameFontNormalSmall" justifyH="LEFT">
							<Anchors>
								<Anchor point="LEFT" relativeTo="$parentSwatch" relativePoint="RIGHT">
									<Offset>
										<AbsDimension x="3" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnClick>
						SatrinaBuffFrame_ColorPicker(this:GetParent())
					</OnClick>
					<OnEnter>
						SatrinaBuffFrameCountColourSwatch:SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b)
					</OnEnter>
					<OnLeave>
						SatrinaBuffFrameCountColourSwatch:SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b)
					</OnLeave>
				</Scripts>
				<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch"/>
			</Button>

<!--
			<Button name="SatrinaBuffFrameCountBackdropColour">
				<Size>
					<AbsDimension x="22" y="22"/>
				</Size>
				<Anchors>
					<Anchor point="LEFT" relativeTo="SatrinaBuffFrameCountColour" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="180" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture name="$parentSwatch">
							<Size>
								<AbsDimension x="20" y="20"/>
							</Size>
							<Anchors>
								<Anchor point="CENTER">
									<Offset>
										<AbsDimension x="0" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
							<Color r="1.0" g="1.0" b="1.0"/>
						</Texture>
						<FontString name="$parentLabel" inherits="GameFontNormalSmall">
							<Anchors>
								<Anchor point="LEFT" relativeTo="$parentSwatch" relativePoint="RIGHT">
									<Offset>
										<AbsDimension x="3" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnClick> 
						SatrinaBuffFrame_BackdropColorPicker(this:GetParent())
					</OnClick>
					<OnEnter>
						SatrinaBuffFrameCountColourSwatch:SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b)
					</OnEnter>
					<OnLeave>
						SatrinaBuffFrameCountColourSwatch:SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b)
					</OnLeave>
				</Scripts>
				<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch"/>
			</Button>
-->
			<Button name="SatrinaBuffFrameOptionsCloseButton" inherits="GameMenuButtonTemplate">
				<Size>
					<AbsDimension x="48" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="BOTTOMRIGHT">
						<Offset>
							<AbsDimension x="-6" y="5"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						SatrinaBuffFrame_CloseOptions()
					</OnClick>
				</Scripts>
			</Button>

			<Button name="SatrinaBuffFrameHomeButton" inherits="GameMenuButtonTemplate">
				<Size>
					<AbsDimension x="48" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="RIGHT" relativeTo="SatrinaBuffFrameOptionsCloseButton" relativePoint="LEFT">
						<Offset>
							<AbsDimension x="-6" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						SatrinaBuffFrame_SlashCommands("home")
					</OnClick>
				</Scripts>
			</Button>

			<CheckButton name="SatrinaBuffFrameAddonMenuCheckButton" inherits="OptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="2" y="40"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						SatrinaBuffFrame_AddonMenu()
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="SatrinaBuffFrameUIScaleCheckButton" inherits="OptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="SatrinaBuffFrameAddonMenuCheckButton" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="130" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						SatrinaBuffFrame_UIScale()
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="SatrinaBuffFrameSixteenBuffsCheckButton" inherits="OptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="SatrinaBuffFrameUIScaleCheckButton" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="110" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						SatrinaBuffFrame_SixteenBuffs()
					</OnClick>
				</Scripts>
			</CheckButton>

		</Frames>

		<Layers>
			<Layer level="OVERLAY">
				<FontString name="SatrinaBuffFrameOptionsVersionString" inherits="GameFontNormal" justifyH="LEFT">
					<Size>
						<AbsDimension x="200" y="16"/>
					</Size>
					<Anchors>
						<Anchor point="BOTTOMLEFT">
							<Offset>
								<AbsDimension x="2" y="2"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Scripts>
			<OnUpdate>
				SatrinaBuffFrame_OnOptionsUpdate(arg1)
			</OnUpdate>
		</Scripts>
	</Frame>

</Ui>
