<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="UndressButton.lua"/>
	<Button name="DressUpFrameUndressButton" parent="DressUpFrame" inherits="UIPanelButtonTemplate" text="Undress">
		<Size>
			<AbsDimension x="80" y="22"/>
		</Size>
		<Anchors>
			<Anchor point="RIGHT" relativeTo="DressUpFrameResetButton" relativePoint="LEFT">
				<Offset>
					<AbsDimension x="0" y="0"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Scripts>
			<OnLoad>
				UBLoad();
			</OnLoad>
			<OnEvent>
				UBEvent();
			</OnEvent>
			<OnClick>
				DressUpModel:Undress();
				PlaySound("gsTitleOptionOK");
			</OnClick>
		</Scripts>
	</Button>
	<Button name="DressUpFrameDressTargetButton" parent="DressUpFrame" inherits="UIPanelButtonTemplate" text="Target">
		<Size>
			<AbsDimension x="80" y="22"/>
		</Size>
		<Anchors>
			<Anchor point="RIGHT" relativeTo="DressUpFrameUndressButton" relativePoint="LEFT">
				<Offset>
					<AbsDimension x="0" y="0"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Scripts>
			<OnShow>
				UBReset();
			</OnShow>
			<OnClick>
				UBDressUpTarget();
			</OnClick>
		</Scripts>
	</Button>
	<Button name="AuctionDressUpFrameUndressButton" parent="AuctionDressUpModel" inherits="UIPanelButtonTemplate" text="Undress">
		<Size>
			<AbsDimension x="70" y="22"/>
		</Size>
		<Anchors>
			<Anchor point="BOTTOM" relativeTo="AuctionDressUpFrameResetButton" relativePoint="TOP">
				<Offset>
					<AbsDimension x="0" y="2"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Scripts>
			<OnClick>
				AuctionDressUpModel:Undress();
				PlaySound("gsTitleOptionOK");
			</OnClick>
		</Scripts>
	</Button>
	<Button name="AuctionDressUpFrameUndressResetButton" parent="AuctionDressUpModel" inherits="UIPanelButtonTemplate" text="Undress">
		<Size>
			<AbsDimension x="80" y="22"/>
		</Size>
		<Scripts>
			<OnClick>
				AuctionDressUpModel:Undress();
				PlaySound("gsTitleOptionOK");
			</OnClick>
		</Scripts>
	</Button>
</Ui>