<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="TitanXPBar.lua"/>
	<Frame parent="UIParent">
		<Frames>
			<Button name="TitanPanelXPBarButton" inherits="TitanPanelTextTemplate" frameStrata="FULLSCREEN" toplevel="true">
				<Scripts>
					<OnLoad>
						TitanPanelXPBarButton_OnLoad()
						TitanPanelButton_OnLoad()
					</OnLoad>
					<OnClick>
						TitanPanelButton_OnClick(arg1);
						TitanPanelXPBarButton_OnClick();
					</OnClick>
					<OnEvent>
						TitanPanelXPBarButton_OnEvent(event)
					</OnEvent>
					<OnHide>
						XPStatus:Hide()
					</OnHide>
				</Scripts>
			</Button>	
		</Frames>
	</Frame>

	<Frame name="XPBar" toplevel="true" frameStrata="HIGH" parent="UIParent" movable="true">
		<Size>
			<AbsDimension x="185" y="20"/>
		</Size>
		<Anchors>
			<Anchor point="CENTER" relativeTo="TitanXPBar" relativePoint="CENTER">
				<Offset>
					<AbsDimension x="0" y="0"/>
				</Offset>
			</Anchor>
		</Anchors>
		<TitleRegion setAllPoints="true"/>
		<Frames>
			<StatusBar name="XPStatus" drawLayer="artwork" frameStrata="HIGH" minValue="0" maxValue="1" defaultValue="1" parent="XPBar">
				<Size>
					<AbsDimension x="185" y="15"/>
				</Size>
				<Anchors>
					<Anchor point="bottomleft" relativeto="TitanPanelXPBarButton">
						<Offset>
							<AbsDimension x="0" y="-18"/>
						</Offset>
					</Anchor>
				</Anchors>
				<BarTexture file="Interface\Addons\TitanXPBar\Images\statusbar"/>
				<BarColor r="0.0" g="1.0" b="0.0"/>
			</StatusBar>
			<StatusBar name="XPBG" drawLayer="ARTWORK" frameStrata="LOW" minValue="0" maxValue="1" defaultValue="1" parent="XPStatus">
				<Size>
					<AbsDimension x="185" y="15"/>
				</Size>
				<Anchors>
					<Anchor point="bottomleft" relativeto="TitanPanelXPBarButton">
						<Offset>
							<AbsDimension x="0" y="-18"/>
						</Offset>
					</Anchor>
				</Anchors>
				<BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
				<BarColor r="0.0" g="0.0" b="0.0" a="0.35" />
			</StatusBar>
		            
		
		</Frames>
	</Frame>






</Ui>