<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="StufBuffTemplate" inherits="SecureActionButtonTemplate" toplevel="true" virtual="true">
		<Size x="10" y="10"/>
		<Attributes>
			<Attribute name="type" value="cancelaura"/>
		</Attributes>
		<Scripts>
			<OnLoad>
				self:RegisterForClicks("RightButtonUp")
				self:SetBackdrop({ bgFile = "Interface\\Tooltips\\UI-Tooltip-Background", tile = true, tileSize = 16, })
				self:SetBackdropColor(1, 0, 0, 0)
			</OnLoad>
			<OnEnter>
				local buff = Stuf.units.player.buffgroup[self:GetID()]
				if buff and buff:GetScript("OnEnter") then
					buff:GetScript("OnEnter")(buff)
				end
				self:SetBackdropColor(1, 0, 0, 0.7)
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide()
				self:SetBackdropColor(1, 0, 0, 0)
			</OnLeave>
		</Scripts>
	</Button>
	<Cooldown name="StufAuraCooldown" drawEdge="true" inherits="CooldownFrameTemplate" virtual="true"/>
</Ui>