<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="CPUISimpleLootButtonTemplate" inherits="CPUIActionButtonTemplate" virtual="true">
		<Size x="52" y="52"/>
		<HitRectInsets>
			<AbsInset left="0" right="-250" top="0" bottom="0"/>
		</HitRectInsets>
		<Layers>
			<Layer level="OVERLAY">
				<Texture name="$parentIconQuestTexture" parentKey="QuestTexture" file="Interface\AddOns\ConsolePort\Textures\QuestButton">
					<Size x="50" y="50"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="-16" y="16"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="ARTWORK">
				<Texture name="$parentNameFrame" parentKey="NameFrame" file="Interface\LevelUp\MinorTalents.blp">
					<Size x="300" y="50"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="10" y="-1"/>
					</Anchors>
					<TexCoords left="0.001953125" right="0.818359375" bottom="0.6660" top="0.794921875"/>
				</Texture>
				<FontString name="$parentText" parentKey="Text" inherits="GameFontNormal" justifyH="LEFT">
					<Size x="200" y="38"/>
					<Anchors>
						<Anchor point="LEFT" relativePoint="RIGHT" x="8" y="0"/>
					</Anchors>
				</FontString>
			</Layer>
			<Layer level="HIGHLIGHT">
				<Texture parentKey="BannerHighlight" file="Interface\PVPFrame\PvPMegaQueue" alphaMode="ADD">
					<TexCoords left="0.00195313" right="0.63867188" top="0.70703125" bottom="0.76757813"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeKey="$parent.NameFrame" relativePoint="TOPLEFT" x="25" y="-2"/>
						<Anchor point="BOTTOMRIGHT" relativeKey="$parent.NameFrame" relativePoint="BOTTOMRIGHT" x="-25" y="2"/>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>
				self:RegisterForClicks("LeftButtonUp", "RightButtonUp");
				self:RegisterForDrag("LeftButton");
			</OnLoad>
			<OnUpdate>
				if ( GameTooltip:IsOwned(self) ) then
					self:OnEnter();
				end
				CursorOnUpdate(self);
			</OnUpdate>
		</Scripts>
	</Button>

	<Script file="LootButton.lua"/>
	<Script file="Logic.lua"/>
	<Script file="Frame.lua"/>
</Ui>
