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

	<Button name="TitanPanelBarButtonHiderTemplate" frameStrata="BACKGROUND" toplevel="true" movable="true" parent="UIParent" virtual="true">
		<Size>
			<AbsDimension x="2560" y="24"/>
		</Size>
		<Scripts>
			<OnUpdate>
				TitanPanelBarButtonHider_OnUpdate(arg1);
			</OnUpdate>
			<OnEnter>
				TitanPanelBarButtonHider_OnEnter(this:GetName());
			</OnEnter>
			<OnLeave>
				TitanPanelBarButtonHider_OnLeave(this:GetName());
			</OnLeave>
		</Scripts>
	</Button>

	<Button name="TitanPanelBarButtonHider" inherits="TitanPanelBarButtonHiderTemplate" hidden="false">
		<Anchors>
			<Anchor point="TOPLEFT" relativeTo="UIParent" relativePoint="TOPLEFT">
				<Offset>
					<AbsDimension x="0" y="0"/>
				</Offset>
			</Anchor>
		</Anchors>
	</Button>

	<Button name="TitanPanelAuxBarButtonHider" inherits="TitanPanelBarButtonHiderTemplate" hidden="false">
		<Anchors>
			<Anchor point="BOTTOMLEFT" relativeTo="UIParent" relativePoint="BOTTOMLEFT">
				<Offset>
					<AbsDimension x="0" y="0"/>
				</Offset>
			</Anchor>
		</Anchors>
	</Button>

	<Button name="TitanPanelBarButton" frameStrata="FULLSCREEN" parent="UIParent">	
		<Anchors>
			<Anchor point="TOPLEFT" relativeTo="UIParent" relativePoint="TOPLEFT">
				<Offset>
					<AbsDimension x="0" y="0"/>
				</Offset>
			</Anchor>
			<Anchor point="BOTTOMRIGHT" relativeTo="UIParent" relativePoint="TOPRIGHT">
				<Offset>
					<AbsDimension x="0" y="-24"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="TitanPanelBackground0">
					<Size>
						<AbsDimension x="256" y="32"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBarButton" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="-1" y="1"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>								
				<Texture name="TitanPanelBackground1">
					<Size>
						<AbsDimension x="256" y="32"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackground0" relativePoint="TOPRIGHT" />
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackground2">
					<Size>
						<AbsDimension x="256" y="32"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackground1" relativePoint="TOPRIGHT" />
					</Anchors>
				</Texture>								
				<Texture name="TitanPanelBackground3">
					<Size>
						<AbsDimension x="256" y="32"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackground2" relativePoint="TOPRIGHT" />
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackground4">
					<Size>
						<AbsDimension x="256" y="32"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackground3" relativePoint="TOPRIGHT" />
					</Anchors>
				</Texture>								
				<Texture name="TitanPanelBackground5">
					<Size>
						<AbsDimension x="256" y="32"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackground4" relativePoint="TOPRIGHT" />
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackground6">
					<Size>
						<AbsDimension x="256" y="32"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackground5" relativePoint="TOPRIGHT" />
					</Anchors>
				</Texture>								
				<Texture name="TitanPanelBackground7">
					<Size>
						<AbsDimension x="256" y="32"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackground6" relativePoint="TOPRIGHT" />
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackground8">
					<Size>
						<AbsDimension x="256" y="32"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackground7" relativePoint="TOPRIGHT" />
					</Anchors>
				</Texture>								
				<Texture name="TitanPanelBackground9">
					<Size>
						<AbsDimension x="256" y="32"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackground8" relativePoint="TOPRIGHT" />
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackground10">
					<Size>
						<AbsDimension x="256" y="32"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackground9" relativePoint="TOPRIGHT" />
					</Anchors>
				</Texture>								
				<Texture name="TitanPanelBackground11">
					<Size>
						<AbsDimension x="256" y="32"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackground10" relativePoint="TOPRIGHT" />
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackground12">
					<Size>
						<AbsDimension x="256" y="30"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackground0">
							<Offset>
								<AbsDimension x="0" y="-25"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackground13">
					<Size>
						<AbsDimension x="256" y="30"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackground12" relativePoint="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackground14">
					<Size>
						<AbsDimension x="256" y="30"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackground13" relativePoint="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackground15">
					<Size>
						<AbsDimension x="256" y="30"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackground14" relativePoint="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackground16">
					<Size>
						<AbsDimension x="256" y="30"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackground15" relativePoint="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackground17">
					<Size>
						<AbsDimension x="256" y="30"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackground16" relativePoint="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackground18">
					<Size>
						<AbsDimension x="256" y="30"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackground17" relativePoint="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackground19">
					<Size>
						<AbsDimension x="256" y="30"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackground18" relativePoint="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackground20">
					<Size>
						<AbsDimension x="256" y="30"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackground19" relativePoint="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackground21">
					<Size>
						<AbsDimension x="256" y="30"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackground20" relativePoint="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackground22">
					<Size>
						<AbsDimension x="256" y="30"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackground21" relativePoint="TOPRIGHT"/>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<Frame name="$parentRightClickMenu" inherits="UIDropDownMenuTemplate" hidden="true">
				<Scripts>
					<OnLoad>
						this:RegisterEvent("VARIABLES_LOADED");
					</OnLoad>
					<OnEvent>
						TitanRightClickMenu_OnLoad();
					</OnEvent>
				</Scripts>
			</Frame>
		</Frames>
		<Scripts>
			<OnLoad>
				TitanPanelBarButton_OnLoad();
			</OnLoad>
			<OnUpdate>
				TitanPanelBarButton_OnUpdate(arg1);
			</OnUpdate>
			<OnEvent>
				TitanPanelBarButton_OnEvent(this:GetName());
			</OnEvent>
			<OnClick>
				TitanPanelBarButton_OnClick(arg1);
			</OnClick>
		</Scripts>
	</Button>
	<Button name="TitanPanelAuxBarButton" frameStrata="FULLSCREEN" parent="UIParent">	
		<Anchors>
			<Anchor point="TOPLEFT" relativeTo="UIParent" relativePoint="TOPLEFT">
				<Offset>
					<AbsDimension x="0" y="0"/>
				</Offset>
			</Anchor>
			<Anchor point="BOTTOMRIGHT" relativeTo="UIParent" relativePoint="TOPRIGHT">
				<Offset>
					<AbsDimension x="0" y="-24"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="TitanPanelBackgroundAux0">
					<Size>
						<AbsDimension x="256" y="32"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelAuxBarButton" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="-1" y="1"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>								
				<Texture name="TitanPanelBackgroundAux1">
					<Size>
						<AbsDimension x="256" y="32"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackgroundAux0" relativePoint="TOPRIGHT" />
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackgroundAux2">
					<Size>
						<AbsDimension x="256" y="32"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackgroundAux1" relativePoint="TOPRIGHT" />
					</Anchors>
				</Texture>								
				<Texture name="TitanPanelBackgroundAux3">
					<Size>
						<AbsDimension x="256" y="32"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackgroundAux2" relativePoint="TOPRIGHT" />
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackgroundAux4">
					<Size>
						<AbsDimension x="256" y="32"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackgroundAux3" relativePoint="TOPRIGHT" />
					</Anchors>
				</Texture>								
				<Texture name="TitanPanelBackgroundAux5">
					<Size>
						<AbsDimension x="256" y="32"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackgroundAux4" relativePoint="TOPRIGHT" />
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackgroundAux6">
					<Size>
						<AbsDimension x="256" y="32"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackgroundAux5" relativePoint="TOPRIGHT" />
					</Anchors>
				</Texture>								
				<Texture name="TitanPanelBackgroundAux7">
					<Size>
						<AbsDimension x="256" y="32"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackgroundAux6" relativePoint="TOPRIGHT" />
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackgroundAux8">
					<Size>
						<AbsDimension x="256" y="32"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackgroundAux7" relativePoint="TOPRIGHT" />
					</Anchors>
				</Texture>								
				<Texture name="TitanPanelBackgroundAux9">
					<Size>
						<AbsDimension x="256" y="32"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackgroundAux8" relativePoint="TOPRIGHT" />
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackgroundAux10">
					<Size>
						<AbsDimension x="256" y="32"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackgroundAux9" relativePoint="TOPRIGHT" />
					</Anchors>
				</Texture>								
				<Texture name="TitanPanelBackgroundAux11">
					<Size>
						<AbsDimension x="256" y="32"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackgroundAux10" relativePoint="TOPRIGHT" />
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackgroundAux12">
					<Size>
						<AbsDimension x="256" y="30"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackgroundAux0">
							<Offset>
								<AbsDimension x="0" y="23"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackgroundAux13">
					<Size>
						<AbsDimension x="256" y="30"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackgroundAux12" relativePoint="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackgroundAux14">
					<Size>
						<AbsDimension x="256" y="30"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackgroundAux13" relativePoint="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackgroundAux15">
					<Size>
						<AbsDimension x="256" y="30"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackgroundAux14" relativePoint="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackgroundAux16">
					<Size>
						<AbsDimension x="256" y="30"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackgroundAux15" relativePoint="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackgroundAux17">
					<Size>
						<AbsDimension x="256" y="30"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackgroundAux16" relativePoint="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackgroundAux18">
					<Size>
						<AbsDimension x="256" y="30"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackgroundAux17" relativePoint="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackgroundAux19">
					<Size>
						<AbsDimension x="256" y="30"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackgroundAux18" relativePoint="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackgroundAux20">
					<Size>
						<AbsDimension x="256" y="30"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackgroundAux19" relativePoint="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackgroundAux21">
					<Size>
						<AbsDimension x="256" y="30"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackgroundAux20" relativePoint="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="TitanPanelBackgroundAux22">
					<Size>
						<AbsDimension x="256" y="30"/>
					</Size>					
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="TitanPanelBackgroundAux21" relativePoint="TOPRIGHT"/>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<Frame name="$parentRightClickMenu" inherits="UIDropDownMenuTemplate" hidden="true">
				<Scripts>
					<OnLoad>
						this:RegisterEvent("VARIABLES_LOADED");
					</OnLoad>
					<OnEvent>
						TitanRightClickMenu_OnLoad();
					</OnEvent>
				</Scripts>
			</Frame>
		</Frames>
		<Scripts>
			<OnLoad>
				TitanPanelBarButton_OnLoad();
			</OnLoad>
			<OnEvent>
				TitanPanelBarButton_OnEvent(this:GetName());
			</OnEvent>
			<OnClick>
				TitanPanelBarButton_OnClick(arg1);
			</OnClick>
		</Scripts>
	</Button>

</Ui>