<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="TheBurningTrade.lua"/>
	<Script file="TradeLog.lua"/>
	<CheckButton name="TBTButtonTemplate" inherits="SecureActionButtonTemplate" virtual="true">
		<DisabledTexture file="Interface\PetPaperDollFrame\UI-PetFrame-Slots-Mounts">
			<TexCoords left="0.203125" right="0.765625" top="0.203125" bottom="0.7625625"/>
		</DisabledTexture>
		<HighlightTexture name="$parentHighlight" file="Interface\Buttons\ButtonHilight-Round" alphaMode="ADD"/>
		<CheckedTexture file="Interface\Buttons\CheckButtonHilight" alphaMode="ADD"/>
	</CheckButton>
	<Frame name="TBTFrame">
		<Scripts>
			<OnLoad>
				self:RegisterEvent("ADDON_LOADED")
				TradeLog_OnLoad(self);
			</OnLoad>
			<OnEvent>
				TBTFrame_OnEvent(self, event, ...);
				TradeLog_OnEvent(self, event, ...);
			</OnEvent>
		</Scripts>
	</Frame>
	<GameTooltip name="TBTTooltip" frameStrata="TOOLTIP" hidden="true" parent="UIParent" inherits="GameTooltipTemplate">
	</GameTooltip>
	<Frame name= "TBTPortalPanel" hidden="true" parent="TradeFrame">
		<Size>
			<AbsDimension x="130" y="130"/>
		</Size>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture file="Interface\AddOns\TheBurningTrade\icons\1.tga">
					<Size x="130" y="130"/>
					<Anchors>
						<Anchor point="CENTER"/>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Scripts>
			<OnEnter>
				TradeFramePlayerSpell3Button.stats='showed'
			</OnEnter>
			<OnLeave>
				TradeFramePlayerSpell3Button.stats='left'
				TradeFramePlayerSpell3Button.lefttime=0
			</OnLeave>
		</Scripts>
	</Frame>
</Ui>