<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">
	<Button name="ElkBuffBar_BuffButtonTemplate" virtual="true">
		<Size>
			<AbsDimension x="250" y="20"/>
		</Size>
		<!-- Background to color according to helpful/harmful  edgeFile="Interface\Tooltips\UI-Tooltip-Border"-->
		<Backdrop name="$parentBackdrop" bgFile="Interface\Tooltips\UI-Tooltip-Background" tile="true" />
		<Layers>
			<Layer level="ARTWORK">
				<Texture name="$parentIcon">
					<Size>
						<AbsDimension x="20" y="20"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" />
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="OVERLAY">
				<FontString name="$parentCount" inherits="NumberFontNormal">
					<Anchors>
						<Anchor point="BOTTOMRIGHT" relativeTo="$parentIcon" relativePoint="BOTTOMRIGHT">
							<Offset>
								<AbsDimension x="-2" y="2"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<Texture name="$parentDebuffBorder" file="Interface\Buttons\UI-Debuff-Overlays">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentIcon" />
						<Anchor point="BOTTOMRIGHT" relativeTo="$parentIcon" />
					</Anchors>
					<TexCoords left="0.296875" right="0.5703125" top="0" bottom="0.515625"/>
				</Texture>	
				<Texture name="$parentTEnchBorder" file="Interface\Buttons\UI-TempEnchant-Border">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentIcon" />
						<Anchor point="BOTTOMRIGHT" relativeTo="$parentIcon" />
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<StatusBar name="$parentTimeBar" drawLayer="BACKGROUND">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="0"/>
						</Offset>
					</Anchor>
					<Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT" />
				</Anchors>
				<BarTexture file="Interface\AddOns\ElkBuffBar\BarTexture.tga" />
				<BarColor r="0.5" g="0.5" b="1"/>
			</StatusBar>
			<Frame>
				<Layers>
					<Layer level="OVERLAY">
						<FontString name="$parentDescribeText" inherits="GameFontNormal" justifyH="LEFT">
							<Anchors>
								<Anchor point="LEFT">
									<Offset>
										<AbsDimension x="2" y="0"/>
									</Offset>
								</Anchor>
								<Anchor point="RIGHT">
									<Offset>
										<AbsDimension x="-35" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="$parentDurationText" inherits="GameFontNormal" justifyH="RIGHT">
							<Anchors>
								<Anchor point="RIGHT">
									<Offset>
										<AbsDimension x="-2" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentTimeBar" relativePoint="TOPLEFT" />
					<Anchor point="BOTTOMRIGHT" relativeTo="$parentTimeBar" relativePoint="BOTTOMRIGHT" />
				</Anchors>
			</Frame>
		</Frames>
	</Button>

	<Frame name="ElkBuffBarFrame" frameStrata="LOW" enableMouse="true" movable="true" clampToScreen="true" parent="UIParent">
	</Frame>

	 <GameTooltip name="ElkBuffTooltip" hidden="true" parent="WorldFrame" inherits="GameTooltipTemplate">
		<Scripts>
			<OnLoad>
				this:SetOwner(WorldFrame, "ANCHOR_NONE");
			</OnLoad>
		</Scripts>
	</GameTooltip>
</Ui>