<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="Watch.lua"/>

	<Frame name="CPStatusTrackingBarTemplate" frameStrata="MEDIUM" enableMouse="true" hidden="true" virtual="true">
		<Size x="804" y="11"/>
		<Frames>
			<StatusBar parentKey="StatusBar" drawLayer="BORDER" inherits="AnimatedStatusBarTemplate" mixin="CPTextStatusBarMixin">
				<Size x="804" y="10"/>
				<Anchors>
					<Anchor point="RIGHT" x="0" y="0"/>
				</Anchors>
				<BarTexture parentKey="BarTexture" file="Interface\TargetingFrame\UI-StatusBar"/>
				<BarColor r="0.58" g="0.0" b="0.55"/>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture parentKey="Background">
							<Color r="0.0" g="0.0" b="0.0" a="0.9"/>
						</Texture>
					</Layer>
					<Layer level="BACKGROUND" textureSubLevel="1">
						<Texture parentKey="Underlay" hidden="true" file="Interface\TargetingFrame\UI-StatusBar">
							<Color r=".502" g=".443" b=".278" />
						</Texture>
					</Layer>
					<Layer level="ARTWORK" textureSubLevel="-1">
						<Texture parentKey="Overlay" hidden="true" atlas="XPBarAnim-OrangeGain" alphaMode="ADD">
							<Color r=".901" g=".8" b=".601" />
						</Texture>
					</Layer>
				</Layers>
			</StatusBar>
			<Frame parentKey="OverlayFrame" frameStrata="HIGH" setAllPoints="true">
				<Layers>
					<Layer level="ARTWORK" textureSubLevel="5">
						<FontString parentKey="Text" inherits="TextStatusBarText" hidden="true">
							<Anchors>
								<Anchor point="CENTER" relativeKey="$parent.StatusBar" relativePoint="CENTER" x="0" y="1"/>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
			</Frame>
		</Frames>
	</Frame>

	<Frame name="CPReputationStatusBarTemplate" inherits="CPStatusTrackingBarTemplate" mixin="CPReputationBarMixin" virtual="true">
		<Scripts>
			<OnLoad method="OnLoad"/>
			<OnEvent method="OnEvent"/>
			<OnShow method="OnShow"/>
			<OnEnter method="OnEnter"/>
			<OnLeave method="OnLeave"/> 
		</Scripts>
	</Frame>

	<Frame name="CPExpStatusBarTemplate" useParentLevel="true" inherits="CPStatusTrackingBarTemplate" hidden="true" mixin="CPExpBarMixin" virtual="true">
		<Size x="804" y="11"/>
		<Layers>
			<Layer level="BACKGROUND" textureSubLevel="-1">
				<Texture parentKey="ExhaustionLevelFillBar" file="Interface\AddOns\ConsolePort_Bar\Textures\XPBar">
					<Size x="0" y="14"/>
					<Anchors>
						<Anchor point="TOPLEFT" y="0"/>
					</Anchors>
					<TexCoords left="0" right="0.75" top="1" bottom="0"/>
					<Color r="1.0" g="1.0" b="1.0" a="1.0"/>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<Button parentKey="ExhaustionTick" hidden="true" frameStrata="HIGH" mixin="CPExhaustionTickMixin">
				<Size x="32" y="40"/>
				<Anchors>
					<Anchor point="CENTER" relativeKey="$parent.ExhaustionLevelFillBar" relativePoint="RIGHT"/>
				</Anchors>
				<Scripts>
					<OnLoad method="OnLoad"/>
					<OnEvent method="OnEvent"/>
					<OnEnter method="ExhaustionToolTipText"/>
					<OnLeave function="GameTooltip_Hide"/>
				</Scripts>
				<NormalTexture parentKey="Normal" file="Interface\MainMenuBar\UI-ExhaustionTickNormal"/>
				<HighlightTexture parentKey="Highlight" file="Interface\MainMenuBar\UI-ExhaustionTickHighlight" alphaMode="ADD"/>
			</Button>
			<Button parentKey="CurrentXPTick" frameStrata="HIGH">
				<Size x="32" y="40"/>
				<Anchors>
					<Anchor point="CENTER" relativeKey="$parent.StatusBar.BarTexture" relativePoint="RIGHT"/>
				</Anchors>
				<Scripts>
					<OnEnter>
						CPExhaustionTickMixin.ExhaustionToolTipText()
					</OnEnter>
				</Scripts>
				<NormalTexture parentKey="Normal" file="Interface\MainMenuBar\UI-ExhaustionTickNormal"/>
				<HighlightTexture parentKey="Highlight" file="Interface\MainMenuBar\UI-ExhaustionTickHighlight" alphaMode="ADD"/>
			</Button>
		</Frames>
		<Scripts>
			<OnLoad method="OnLoad"/>
			<OnEvent method="OnEvent"/>
			<OnShow method="OnShow"/>
			<OnEnter method="OnEnter"/>
			<OnLeave method="OnLeave"/>
			<OnUpdate method="OnUpdate"/>
		</Scripts>
	</Frame>

	<Frame name="CPWatchBarContainer" frameStrata="LOW" mixin="CPWatchBarContainerMixin" virtual="true">
		<Size x="800" y="16"/>
		<Anchors>
			<Anchor point="BOTTOM"/>
		</Anchors>
		<KeyValues>
			<KeyValue key="endCapWidth" value="4" type="number"/>
			<KeyValue key="smallBarSeparatorWidth" value="24" type="number"/>
			<KeyValue key="largeBarSeparatorWidth" value="30" type="number"/>
		</KeyValues>
		<Scripts>
			<OnLoad method="OnLoad"/>
			<OnShow method="OnShow"/>
			<OnEvent method="OnEvent"/>
		</Scripts>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture parentKey="BGLeft">
					<Anchors>
						<Anchor point="TOPLEFT" x="0" y="0"/>
						<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOM"/>
					</Anchors>
					<Color r="0.0" g="0.0" b="0.0" a="1"/>
					<Gradient orientation="HORIZONTAL">
						<MinColor r="0" g="0" b="0" a="0"/>
						<MaxColor r="0" g="0" b="0" a="1"/>
					</Gradient>
				</Texture>
				<Texture parentKey="BGRight">
					<Anchors>
						<Anchor point="TOPRIGHT" x="0" y="0"/>
						<Anchor point="BOTTOMLEFT" relativePoint="BOTTOM"/>
					</Anchors>
					<Color r="0.0" g="0.0" b="0.0" a="1"/>
					<Gradient orientation="HORIZONTAL">
						<MinColor r="0" g="0" b="0" a="1"/>
						<MaxColor r="0" g="0" b="0" a="0"/>
					</Gradient>
				</Texture>	
			</Layer>
			<Layer level="OVERLAY">
				<Texture parentKey="SingleBarLarge" hidden="true">
					<Size x="804" y="14"/>
					<Anchors>
						<Anchor point="CENTER"/>
					</Anchors>
				</Texture>
				<Texture parentKey="SingleBarLargeUpper" hidden="true">
					<Size x="804" y="14"/>
					<Anchors>
						<Anchor point="TOP" relativeKey="$parent.SingleBarLarge" y="9"/>
					</Anchors>
				</Texture>
				<Texture parentKey="SingleBarSmall" hidden="true">
					<Size x="550" y="14"/>
					<Anchors>
						<Anchor point="CENTER"/>
					</Anchors>
				</Texture> 
				<Texture parentKey="SingleBarSmallUpper" hidden="true">
					<Size x="550" y="14"/>
					<Anchors>
						<Anchor point="TOP" relativeKey="$parent.SingleBarSmall" y="9"/>
					</Anchors>
				</Texture> 
			</Layer>
		</Layers>
	</Frame>

</Ui>