<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/..\FrameXML\UI.xsd">

	<Frame name="NecrosisButtonMenu" frameStrata="DIALOG" movable="false" enableMouse="true" parent="NecrosisGeneralFrame">
		<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 level="ARTWORK">
				<FontString name="NecrosisShowFirestone_Option" inherits="GameFontNormalSmall">
					<Color r="1.0" g="1.0" b="1.0" a="1"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
							<Offset>
								<AbsDimension x="60" y="-40"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="NecrosisShowSpellstone_Option" inherits="GameFontNormalSmall">
					<Color r="1.0" g="1.0" b="1.0" a="1"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
							<Offset>
								<AbsDimension x="60" y="-60"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="NecrosisShowHealthStone_Option" inherits="GameFontNormalSmall">
					<Color r="1.0" g="1.0" b="1.0" a="1"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
							<Offset>
								<AbsDimension x="60" y="-80"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="NecrosisShowSoulstone_Option" inherits="GameFontNormalSmall">
					<Color r="1.0" g="1.0" b="1.0" a="1"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
							<Offset>
								<AbsDimension x="60" y="-100"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="NecrosisShowMount_Option" inherits="GameFontNormalSmall">
					<Color r="1.0" g="1.0" b="1.0" a="1"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
							<Offset>
								<AbsDimension x="60" y="-140"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="NecrosisShowBuffMenu_Option" inherits="GameFontNormalSmall">
					<Color r="1.0" g="1.0" b="1.0" a="1"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
							<Offset>
								<AbsDimension x="60" y="-120"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="NecrosisShowPetMenu_Option" inherits="GameFontNormalSmall">
					<Color r="1.0" g="1.0" b="1.0" a="1"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
							<Offset>
								<AbsDimension x="60" y="-160"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>	
			</Layer>
		</Layers>
		<Frames>
			<CheckButton name="NecrosisShowFirestone_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
				<Size>
					<AbsDimension x="24" y="24"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
						<Offset>
							<AbsDimension x="30" y="-35"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if (this:GetChecked()) then
							NecrosisConfig.StonePosition[1] = true;
							ShowUIPanel(NecrosisFirestoneButton);
						else
							NecrosisConfig.StonePosition[1] = false;
						end
						Necrosis_UpdateButtonsScale();
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="NecrosisShowSpellstone_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
				<Size>
					<AbsDimension x="24" y="24"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
						<Offset>
							<AbsDimension x="30" y="-55"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if (this:GetChecked()) then
							NecrosisConfig.StonePosition[2] = true;
							ShowUIPanel(NecrosisSpellstoneButton);
						else
							NecrosisConfig.StonePosition[2] = false;
						end
						Necrosis_UpdateButtonsScale();
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="NecrosisShowHealthStone_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
				<Size>
					<AbsDimension x="24" y="24"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
						<Offset>
							<AbsDimension x="30" y="-75"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if (this:GetChecked()) then
							NecrosisConfig.StonePosition[3] = true;
							ShowUIPanel(NecrosisHealthstoneButton);
						else
							NecrosisConfig.StonePosition[3] = false;
						end
						Necrosis_UpdateButtonsScale();
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="NecrosisShowSoulstone_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
				<Size>
					<AbsDimension x="24" y="24"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
						<Offset>
							<AbsDimension x="30" y="-95"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if (this:GetChecked()) then
							NecrosisConfig.StonePosition[4] = true;
							ShowUIPanel(NecrosisSoulstoneButton);
						else
							NecrosisConfig.StonePosition[4] = false;
						end
						Necrosis_UpdateButtonsScale();
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="NecrosisShowBuffMenu_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
				<Size>
					<AbsDimension x="24" y="24"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
						<Offset>
							<AbsDimension x="30" y="-115"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if (this:GetChecked()) then
							NecrosisConfig.StonePosition[5] = true;
							ShowUIPanel(NecrosisBuffMenuButton);
						else
							NecrosisConfig.StonePosition[5] = false;
							HideUIPanel(NecrosisBuffMenuButton);
						end
						Necrosis_UpdateButtonsScale();
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="NecrosisShowMount_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
				<Size>
					<AbsDimension x="24" y="24"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
						<Offset>
							<AbsDimension x="30" y="-135"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if (this:GetChecked()) then
							NecrosisConfig.StonePosition[6] = true;
							ShowUIPanel(NecrosisMountButton);
						else
							NecrosisConfig.StonePosition[6] = false;
							HideUIPanel(NecrosisMountButton);
						end
						Necrosis_UpdateButtonsScale();
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="NecrosisShowPetMenu_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
				<Size>
					<AbsDimension x="24" y="24"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
						<Offset>
							<AbsDimension x="30" y="-155"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if (this:GetChecked()) then
							NecrosisConfig.StonePosition[7] = true;
							ShowUIPanel(NecrosisPetMenuButton);
						else
							NecrosisConfig.StonePosition[7] = false;
							HideUIPanel(NecrosisPetMenuButton);
						end
						Necrosis_UpdateButtonsScale();
					</OnClick>
				</Scripts>
			</CheckButton>
		</Frames>
     		<Scripts>
        		<OnLoad>
				HideUIPanel(NecrosisButtonMenu);
			</OnLoad>
		</Scripts>
	</Frame>
</Ui>
