<Ui xmlns="http://www.blizzard.com/wow/ui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<Frame name="NecrosisTimerMenu" hidden="true" parent="NecrosisGeneralFrame" movable="false" frameStrata="DIALOG" enableMouse="true">
		<Size>
			<AbsDimension x="350" y="452" />
		</Size>
		<Anchors>
			<Anchor point="BOTTOMLEFT" relativeTo="NecrosisGeneralFrame" />
		</Anchors>
		<HitRectInsets>
			<AbsInset left="0" right="35" top="0" bottom="75" />
		</HitRectInsets>
		<Layers>
			<Layer>
				<FontString name="NecrosisShowSpellTimers_Option" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="NecrosisTimerMenu">
							<Offset>
								<AbsDimension x="60" y="-40" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
				<FontString name="NecrosisSTimer_Option" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="NecrosisTimerMenu">
							<Offset>
								<AbsDimension x="60" y="-60" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
				<FontString name="NecrosisGraphicalTimer_Section" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="NecrosisTimerMenu">
							<Offset>
								<AbsDimension x="30" y="-95" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="0.5" b="1" />
				</FontString>
				<FontString name="NecrosisGraphicalTimer_Option" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="NecrosisTimerMenu">
							<Offset>
								<AbsDimension x="60" y="-115" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
				<FontString name="NecrosisTimerColor_Option" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="NecrosisTimerMenu">
							<Offset>
								<AbsDimension x="60" y="-135" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
				<FontString name="NecrosisTimerDirection_Option" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="NecrosisTimerMenu">
							<Offset>
								<AbsDimension x="60" y="-155" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<CheckButton name="NecrosisShowSpellTimers_Button" inherits="UICheckButtonTemplate" enableMouse="true">
				<Size>
					<AbsDimension x="24" y="24" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="NecrosisTimerMenu">
						<Offset>
							<AbsDimension x="30" y="-35" />
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if (this:GetChecked()) then
							NecrosisConfig.ShowSpellTimers = true
						else
							NecrosisConfig.ShowSpellTimers = false
						end
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="NecrosisSTimer_Button" inherits="UICheckButtonTemplate" enableMouse="true">
				<Size>
					<AbsDimension x="24" y="24" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="NecrosisTimerMenu">
						<Offset>
							<AbsDimension x="30" y="-55" />
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if (this:GetChecked()) then
							NecrosisConfig.SpellTimerPos = -1
							NecrosisConfig.SpellTimerJust = "RIGHT"
							AnchorSpellTimerTooltip = "ANCHOR_LEFT"
						else
							NecrosisConfig.SpellTimerPos = 1
							NecrosisConfig.SpellTimerJust = "LEFT"
							AnchorSpellTimerTooltip = "ANCHOR_RIGHT"
						end
						NecrosisListSpells:ClearAllPoints()
						NecrosisListSpells:SetJustifyH(NecrosisConfig.SpellTimerJust)
						NecrosisListSpells:SetPoint("TOP"..NecrosisConfig.SpellTimerJust, "NecrosisSpellTimerButton", "CENTER", NecrosisConfig.SpellTimerPos * 23, 10)
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="NecrosisGraphicalTimer_Button" inherits="UICheckButtonTemplate" enableMouse="true">
				<Size>
					<AbsDimension x="24" y="24" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="NecrosisTimerMenu">
						<Offset>
							<AbsDimension x="30" y="-110" />
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						NecrosisConfig.Graphical = this:GetChecked()
						Necrosis_HideGraphTimer()
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="NecrosisTimerColor_Button" inherits="UICheckButtonTemplate" enableMouse="true">
				<Size>
					<AbsDimension x="24" y="24" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="NecrosisTimerMenu">
						<Offset>
							<AbsDimension x="30" y="-130" />
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						NecrosisConfig.Yellow = not this:GetChecked()
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="NecrosisTimerDirection_Button" inherits="UICheckButtonTemplate" enableMouse="true">
				<Size>
					<AbsDimension x="24" y="24" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="NecrosisTimerMenu">
						<Offset>
							<AbsDimension x="30" y="-150" />
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if (this:GetChecked()) then
							NecrosisConfig.SensListe = -1
						else
							NecrosisConfig.SensListe = 1
						end
					</OnClick>
				</Scripts>
			</CheckButton>
		</Frames>
	</Frame>
</Ui>
