<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">
	<Script file="Perl_Config_Party_Target.lua"/>


	<Frame name="Perl_Config_Party_Target_Frame" frameStrata="DIALOG" hidden="true" enableMouse="true">
		<Size>
			<AbsDimension x="600" y="380"/>
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="Perl_Config_Frame">
				<Offset>
					<AbsDimension x="0" y="-120"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Layers>
			<Layer level="ARTWORK">
				<Texture name="Perl_Config_Party_Target_Header" file="Interface\DialogFrame\UI-DialogBox-Header">
					<Size>
						<AbsDimension x="256" y="64"/>
					</Size>
					<Anchors>
						<Anchor point="TOP">
							<Offset>
								<AbsDimension x="0" y="12"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<FontString inherits="GameFontNormal" text="PERL_LOCALIZED_CONFIG_PARTYTARGET">
					<Anchors>
						<Anchor point="TOP" relativeTo="Perl_Config_Party_Target_Header">
							<Offset>
								<AbsDimension x="0" y="-14"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="$parent_Misc_Text" inherits="GameFontNormal" text="PERL_LOCALIZED_CONFIG_MISC">
					<Anchors>
						<Anchor point="LEFT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="20" y="-30"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="$parent_Transparency_Text" inherits="GameFontNormal" text="PERL_LOCALIZED_CONFIG_TRANSPARENCY">
					<Anchors>
						<Anchor point="LEFT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="350" y="-30"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="$parent_Scaling_Text" inherits="GameFontNormal" text="PERL_LOCALIZED_CONFIG_SCALING">
					<Anchors>
						<Anchor point="LEFT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="20" y="-325"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>

		<Frames>
			<CheckButton name="$parent_CheckButton6" inherits="UICheckButtonTemplate" id="6">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Misc_Text">
						<Offset>
							<AbsDimension  x="20" y="-20"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_PARTYTARGET_ENABLE);
					</OnLoad>
					<OnClick>
						Perl_Config_Party_Target_Enabled_Update();
					</OnClick>
				</Scripts>
			</CheckButton>

			<CheckButton name="$parent_CheckButton7" inherits="UICheckButtonTemplate" id="7">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton6">
						<Offset>
							<AbsDimension  x="0" y="-20"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_HIDDEN_IN_RAID);
					</OnLoad>
					<OnClick>
						Perl_Config_Party_Target_Hidden_In_Raid_Update();
					</OnClick>
				</Scripts>
			</CheckButton>

			<CheckButton name="$parent_CheckButton5" inherits="UICheckButtonTemplate" id="5">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton7">
						<Offset>
							<AbsDimension  x="0" y="-20"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_CLASS_COLORED_NAMES);
					</OnLoad>
					<OnClick>
						Perl_Config_Party_Target_Class_Colored_Names_Update();
					</OnClick>
				</Scripts>
			</CheckButton>

			<CheckButton name="$parent_CheckButton4" inherits="UICheckButtonTemplate" id="4">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton5">
						<Offset>
							<AbsDimension  x="0" y="-20"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_HIDE_POWER_BARS);
					</OnLoad>
					<OnClick>
						Perl_Config_Party_Target_Hide_Power_Bars_Update();
					</OnClick>
				</Scripts>
			</CheckButton>

			<CheckButton name="$parent_CheckButton3" inherits="UICheckButtonTemplate" id="3">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton4">
						<Offset>
							<AbsDimension x="0" y="-20"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_MOBHEALTH);
					</OnLoad>
					<OnClick>
						Perl_Config_Party_Target_MobHealth_Update();
					</OnClick>
				</Scripts>
			</CheckButton>

			<CheckButton name="$parent_CheckButton1" inherits="UICheckButtonTemplate" id="1">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton3">
						<Offset>
							<AbsDimension x="0" y="-20"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_PARTYTARGET_LOCK);
					</OnLoad>
					<OnClick>
						Perl_Config_Party_Target_Lock_Update();
					</OnClick>
				</Scripts>
			</CheckButton>

			<Button name="$parent_Button1" inherits="UIPanelButtonTemplate" text="PERL_LOCALIZED_CONFIG_RESET_FRAMES">
				<Size>
					<AbsDimension x="150" y="22"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Transparency_Text">
						<Offset>
							<AbsDimension x="0" y="-70"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						Perl_Party_Target_Allign();
					</OnClick>
				</Scripts>
			</Button>

			<Slider name="$parent_Slider1" inherits="OptionsSliderTemplate" minValue="1" maxValue="149" valueStep="1">
				<Size>
					<AbsDimension x="200" y="15"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Scaling_Text">
						<Offset>
							<AbsDimension x="20" y="-20"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnValueChanged>
						getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
						Perl_Config_Party_Target_Set_Scale(getglobal(this:GetName()):GetValue());
					</OnValueChanged>
				</Scripts>
			</Slider>

			<CheckButton name="$parent_CheckButton2" inherits="UICheckButtonTemplate" id="2">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_Slider1">
						<Offset>
							<AbsDimension x="20" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_SCALING_SET_CURRENT);
					</OnLoad>
					<OnClick>
						Perl_Config_Party_Target_Set_Scale();
					</OnClick>
				</Scripts>
			</CheckButton>

			<Slider name="$parent_Slider2" inherits="OptionsSliderTemplate" minValue="0" maxValue="100" valueStep="1">
				<Size>
					<AbsDimension x="200" y="15"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Transparency_Text">
						<Offset>
							<AbsDimension x="20" y="-20"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnValueChanged>
						getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
						Perl_Config_Party_Target_Set_Transparency(getglobal(this:GetName()):GetValue());
					</OnValueChanged>
				</Scripts>
			</Slider>
		</Frames>

	</Frame>
</Ui>