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

	<!-- ##################################################################################################################################### -->
	<!-- # TARGET/ENEMY CONFIG                                                                                                               # -->
	<!-- ##################################################################################################################################### -->

	<!-- ===== The Color Assign frame ==================================================================================================== -->
	<Frame name="CHH_TargetColorAssignFrameTemplate" inherits="CHH_FrameBoxTemplate" virtual="true">
		<Anchors>
			<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
				<Offset>
					<AbsDimension x="10" y="-300"/>
				</Offset>
			</Anchor>
			<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
				<Offset>
					<AbsDimension x="-10" y="10"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Scripts>
			<OnLoad>
				getglobal(this:GetName()..'TitleText'):SetText( CHHT_TARGET_COLORS );
				this:SetBackdropBorderColor(0.4, 0.4, 0.4);
				this:SetBackdropColor(0.15, 0.15, 0.15);
			</OnLoad>
		</Scripts>
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentPlayerMyText" inherits="GameFontNormal" justifyH="RIGHT" text="CHHT_TARGET_PLAYER_TARGET">
					<Anchors>
						<Anchor point="TOPRIGHT" relativePoint="TOP">
							<Offset>
								<AbsDimension x="-200" y="-50" />
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="10" y="-75" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
				<FontString name="$parentParty1MyText" inherits="GameFontNormal" justifyH="RIGHT" text="CHHT_TARGET_PARTY1_TARGET">
					<Anchors>
						<Anchor point="TOPRIGHT" relativePoint="TOP">
							<Offset>
								<AbsDimension x="-200" y="-75" />
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="10" y="-100" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
				<FontString name="$parentParty2MyText" inherits="GameFontNormal" justifyH="RIGHT" text="CHHT_TARGET_PARTY2_TARGET">
					<Anchors>
						<Anchor point="TOPRIGHT" relativePoint="TOP">
							<Offset>
								<AbsDimension x="-200" y="-100" />
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="10" y="-125" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
				<FontString name="$parentParty3MyText" inherits="GameFontNormal" justifyH="RIGHT" text="CHHT_TARGET_PARTY3_TARGET">
					<Anchors>
						<Anchor point="TOPRIGHT" relativePoint="TOP">
							<Offset>
								<AbsDimension x="-200" y="-125" />
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="10" y="-150" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
				<FontString name="$parentParty4MyText" inherits="GameFontNormal" justifyH="RIGHT" text="CHHT_TARGET_PARTY4_TARGET">
					<Anchors>
						<Anchor point="TOPRIGHT" relativePoint="TOP">
							<Offset>
								<AbsDimension x="-200" y="-150" />
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="10" y="-175" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
				<FontString name="$parentPetMyText" inherits="GameFontNormal" justifyH="RIGHT" text="CHHT_TARGET_PET_TARGET">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOP">
							<Offset>
								<AbsDimension x="20" y="-50" />
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
							<Offset>
								<AbsDimension x="-200" y="-75" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
				<FontString name="$parentPartyPet1MyText" inherits="GameFontNormal" justifyH="RIGHT" text="CHHT_TARGET_PARTYPET1_TARGET">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOP">
							<Offset>
								<AbsDimension x="20" y="-75" />
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
							<Offset>
								<AbsDimension x="-200" y="-100" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
				<FontString name="$parentPartyPet2MyText" inherits="GameFontNormal" justifyH="RIGHT" text="CHHT_TARGET_PARTYPET2_TARGET">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOP">
							<Offset>
								<AbsDimension x="20" y="-100" />
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
							<Offset>
								<AbsDimension x="-200" y="-120" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
				<FontString name="$parentPartyPet3MyText" inherits="GameFontNormal" justifyH="RIGHT" text="CHHT_TARGET_PARTYPET3_TARGET">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOP">
							<Offset>
								<AbsDimension x="20" y="-125" />
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
							<Offset>
								<AbsDimension x="-200" y="-150" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
				<FontString name="$parentPartyPet4MyText" inherits="GameFontNormal" justifyH="RIGHT" text="CHHT_TARGET_PARTYPET4_TARGET">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOP">
							<Offset>
								<AbsDimension x="20" y="-150" />
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
							<Offset>
								<AbsDimension x="-200" y="-175" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Frame name="$parentPlayer" inherits="UIDropDownMenuTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentPlayerMyText" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="10" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Frame>
			<Frame name="$parentParty1" inherits="UIDropDownMenuTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentParty1MyText" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="10" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Frame>
			<Frame name="$parentParty2" inherits="UIDropDownMenuTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentParty2MyText" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="10" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Frame>
			<Frame name="$parentParty3" inherits="UIDropDownMenuTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentParty3MyText" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="10" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Frame>
			<Frame name="$parentParty4" inherits="UIDropDownMenuTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentParty4MyText" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="10" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Frame>
			<Frame name="$parentPet" inherits="UIDropDownMenuTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentPetMyText" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="10" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Frame>
			<Frame name="$parentPartyPet1" inherits="UIDropDownMenuTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentPartyPet1MyText" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="10" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Frame>
			<Frame name="$parentPartyPet2" inherits="UIDropDownMenuTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentPartyPet2MyText" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="10" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Frame>
			<Frame name="$parentPartyPet3" inherits="UIDropDownMenuTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentPartyPet3MyText" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="10" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Frame>
			<Frame name="$parentPartyPet4" inherits="UIDropDownMenuTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentPartyPet4MyText" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="10" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Frame>
		</Frames>
	</Frame>

        <!-- ===== The Enemy General frame ==================================================================================================== -->
	<Frame name="CHH_TargetGeneralFrameTemplate" inherits="CHH_FrameBoxTemplate" virtual="true">
		<Anchors>
			<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
				<Offset>
					<AbsDimension x="10" y="-10"/>
				</Offset>
			</Anchor>
			<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
				<Offset>
					<AbsDimension x="-10" y="40"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Scripts>
			<OnLoad>
				getglobal(this:GetName()..'TitleText'):SetText( CHHT_TARGET_OPTIONS );
				this:SetBackdropBorderColor(0.4, 0.4, 0.4);
				this:SetBackdropColor(0.15, 0.15, 0.15);
			</OnLoad>
		</Scripts>
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentTargetingMyText" inherits="GameFontNormal" justifyH="RIGHT" text="CHHT_TARGET_TARGETING">
					<Anchors>
						<Anchor point="TOPRIGHT" relativePoint="TOP">
							<Offset>
								<AbsDimension x="-10" y="-50" />
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="10" y="-75" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Frame name="$parentTargeting" inherits="HintDropDownMenuTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentTargetingMyText" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="10" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintDropDownLoad( 'targetingMode', CHH_EnemyTargetingModeOptions );
					</OnLoad>
				</Scripts>
			</Frame>
			<CheckButton name="$parentShowLevelDiff" inherits="HintOptionsCheckButtonTemplate" checked="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-70" />
						</Offset>
						
					</Anchor>
				</Anchors>
				<Layers>
					<Layer>
	                			<FontString name="$parentName" inherits="GameFontNormal" text="CHHT_TARGET_SHOW_LEVEL_DIFF">
	                 				<Anchors>
	                    					<Anchor point="LEFT" relativePoint="RIGHT" />
       							</Anchors>
							<Color r="1" g="1" b="1" />
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						CHH_HintOptionCheckBoxLoad( 'showLevelDiff' );
					</OnLoad>
				</Scripts>
			</CheckButton>
			<CheckButton name="$parentShowMana" inherits="HintOptionsCheckButtonTemplate" checked="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-100" />
						</Offset>
						
					</Anchor>
				</Anchors>
				<Layers>
					<Layer>
						<FontString name="$parentName" inherits="GameFontNormal" text="CHHT_TARGET_SHOW_MANA">
	                 				<Anchors>
	                    					<Anchor point="LEFT" relativePoint="RIGHT" />
       							</Anchors>
							<Color r="1" g="1" b="1" />
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						CHH_HintOptionCheckBoxLoad( 'showEnemyMana' );
					</OnLoad>
				</Scripts>
			</CheckButton>
			<CheckButton name="$parentShowRage" inherits="HintOptionsCheckButtonTemplate" checked="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-130" />
						</Offset>
						
					</Anchor>
				</Anchors>
				<Layers>
					<Layer>
	                			<FontString name="$parentName" inherits="GameFontNormal" text="CHHT_TARGET_SHOW_RAGE">
	                 				<Anchors>
	                    					<Anchor point="LEFT" relativePoint="RIGHT" />
       							</Anchors>
							<Color r="1" g="1" b="1" />
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						CHH_HintOptionCheckBoxLoad( 'showEnemyRage' );
					</OnLoad>
				</Scripts>
			</CheckButton>
			<CheckButton name="$parentShowEnergy" inherits="HintOptionsCheckButtonTemplate" checked="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-160" />
						</Offset>
						
					</Anchor>
				</Anchors>
				<Layers>
					<Layer>
	                			<FontString name="$parentName" inherits="GameFontNormal" text="CHHT_TARGET_SHOW_ENERGY">
	                 				<Anchors>
	                    					<Anchor point="LEFT" relativePoint="RIGHT" />
       							</Anchors>
							<Color r="1" g="1" b="1" />
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						CHH_HintOptionCheckBoxLoad( 'showEnemyEnergy' );
					</OnLoad>
				</Scripts>
			</CheckButton>
			<CheckButton name="$parentShowFocus" inherits="HintOptionsCheckButtonTemplate" checked="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-190" />
						</Offset>
						
					</Anchor>
				</Anchors>
				<Layers>
					<Layer>
						<FontString name="$parentName" inherits="GameFontNormal" text="CHHT_TARGET_SHOW_FOCUS">
	                 				<Anchors>
	                    					<Anchor point="LEFT" relativePoint="RIGHT" />
       							</Anchors>
							<Color r="1" g="1" b="1" />
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						CHH_HintOptionCheckBoxLoad( 'showEnemyFocus' );
					</OnLoad>
				</Scripts>
			</CheckButton>
			<CheckButton name="$parentCastOnCharmed" inherits="HintOptionsCheckButtonTemplate" checked="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-220" />
						</Offset>
						
					</Anchor>
				</Anchors>
				<Layers>
					<Layer>
						<FontString name="$parentName" inherits="GameFontNormal" text="CHHT_TARGET_CAST_ON_CHARMED">
	                 				<Anchors>
	                    					<Anchor point="LEFT" relativePoint="RIGHT" />
       							</Anchors>
							<Color r="1" g="1" b="1" />
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						CHH_HintOptionCheckBoxLoad( 'castOnCharmedEnemy' );
					</OnLoad>
				</Scripts>
			</CheckButton>
			<Frame name="$parentColorAssign" inherits="CHH_TargetColorAssignFrameTemplate" />
		</Frames>
	</Frame>

        <!-- ===== The target config ================================================================================== -->
	<Frame name="CHH_TargetTemplate" hidden="true" virtual="true">
		<Anchors>
			<Anchor point="TOPLEFT" relativePoint="TOPLEFT" />
			<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" />
		</Anchors>
		<Frames>
			<Frame name="$parentGeneral" inherits="CHH_TargetGeneralFrameTemplate" hidden="true" />
			<Frame name="$parentAction" inherits="CHH_ActionFrameTemplate" hidden="true" />

			<Button name="$parentPage1Button" inherits="OptionsButtonTemplate" text="CHHT_TARGET_PAGE1">
				<Anchors>
					<Anchor point="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="20" y="16"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						CHH_TargetInit( 1 );
					</OnClick>
				</Scripts>
			</Button>
			<Button name="$parentPage2Button" inherits="OptionsButtonTemplate" text="CHHT_TARGET_PAGE2">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentPage1Button" relativePoint="RIGHT" />
				</Anchors>
				<Scripts>
					<OnClick>
						CHH_TargetSpellAssignInit( 1 );
					</OnClick>
				</Scripts>
			</Button>
			<Button name="$parentPage3Button" inherits="OptionsButtonTemplate" text="CHHT_TARGET_PAGE3">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentPage2Button" relativePoint="RIGHT" />
				</Anchors>
				<Scripts>
					<OnClick>
						CHH_TargetSpellAssignInit( 2 );
					</OnClick>
				</Scripts>
			</Button>
			<Button name="$parentPage4Button" inherits="OptionsButtonTemplate" text="CHHT_TARGET_PAGE4">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentPage3Button" relativePoint="RIGHT" />
				</Anchors>
				<Scripts>
					<OnClick>
						CHH_TargetSpellAssignInit( 3 );
					</OnClick>
				</Scripts>
			</Button>
			<Button name="$parentResetButton" inherits="OptionsButtonTemplate" text="CHHT_LABEL_DEFAULTS">
				<Anchors>
					<Anchor point="BOTTOMRIGHT">
						<Offset>
							<AbsDimension x="-20" y="16"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						CHH_TargetResetDefaults();
					</OnClick>
				</Scripts>
			</Button>
			<Frame name="$parentShapeshiftForm" inherits="UIDropDownMenuTemplate">
				<Anchors>
					<Anchor point="RIGHT" relativeTo="$parentResetButton" relativePoint="LEFT">
						<Offset>
							<AbsDimension x="-120" y="-3"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Frame>
		</Frames>
	</Frame>

</Ui>
