<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="Blizzard_AuctionDressUp.lua"/>
<Frame name="AuctionDressUpFrame" toplevel="true" parent="UIParent" enableMouse="true" hidden="true">
<Size>
<AbsDimension x="187" y="389"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="AuctionFrame" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-2" y="-28"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="AuctionDressUpFrameTop" file="Interface\AuctionFrame\AuctionHouseDressUpFrame-Top">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
<Texture file="Interface\AuctionFrame\AuctionHouseDressUpFrame-Bottom">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="AuctionDressUpFrameTop" relativePoint="BOTTOMLEFT"/>
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture name="AuctionDressUpBackgroundTop">
<Size>
<AbsDimension x="171" y="282"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="5" y="-14"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.61" top="0" bottom="1.0"/>
</Texture>
<Texture name="AuctionDressUpBackgroundBot">
<Size>
<AbsDimension x="171" y="83"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="AuctionDressUpBackgroundTop" relativePoint="BOTTOMLEFT"/>
</Anchors>
<TexCoords left="0" right="0.61" top="0" bottom="0.588"/>
</Texture>
</Layer>
</Layers>
<Frames>
<DressUpModel name="AuctionDressUpModel" scale="1.0">
<Size>
<AbsDimension x="172" y="400"/>
</Size>
<Anchors>
<Anchor point="BOTTOM">
<Offset>
<AbsDimension x="-3" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
Model_OnLoad(self);
</OnLoad>
<OnUpdate>
Model_OnUpdate(self, elapsed);
</OnUpdate>
</Scripts>
<Frames>
<Button name="AuctionDressUpModelRotateLeftButton">
<Size>
<AbsDimension x="35" y="35"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="AuctionDressUpFrame">
<Offset>
<AbsDimension x="3" y="-15"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
self:RegisterForClicks("LeftButtonDown", "LeftButtonUp");
</OnLoad>
<OnClick>
Model_RotateLeft(self:GetParent());
</OnClick>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-RotationLeft-Button-Up"/>
<PushedTexture file="Interface\Buttons\UI-RotationLeft-Button-Down"/>
<HighlightTexture file="Interface\Buttons\ButtonHilight-Round" alphaMode="ADD"/>
</Button>
<Button name="AuctionDressUpModelRotateRightButton">
<Size>
<AbsDimension x="35" y="35"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="AuctionDressUpModelRotateLeftButton" relativePoint="TOPRIGHT"/>
</Anchors>
<Scripts>
<OnLoad>
self:RegisterForClicks("LeftButtonDown", "LeftButtonUp");
</OnLoad>
<OnClick>
Model_RotateRight(self:GetParent());
</OnClick>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-RotationRight-Button-Up"/>
<PushedTexture file="Interface\Buttons\UI-RotationRight-Button-Down"/>
<HighlightTexture file="Interface\Buttons\ButtonHilight-Round" alphaMode="ADD"/>
</Button>
<Button name="AuctionDressUpFrameResetButton" inherits="UIPanelButtonTemplate" text="RESET">
<Size>
<AbsDimension x="80" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOM">
<Offset>
<AbsDimension x="0" y="40"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AuctionDressUpModel:Dress();
PlaySound("gsTitleOptionOK");
</OnClick>
</Scripts>
</Button>
<Button name="AuctionDressUpFrameCloseButton" inherits="UIPanelCloseButton">
<Anchors>
<Anchor point="CENTER" relativeTo="AuctionDressUpFrame" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-15" y="-16"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture file="Interface\AuctionFrame\AuctionHouseDressUpFrame-Corner">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="AuctionDressUpFrame">
<Offset>
<AbsDimension x="-5" y="-5"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnClick>
HideUIPanel(self:GetParent():GetParent());
</OnClick>
</Scripts>
</Button>
</Frames>
</DressUpModel>
</Frames>
<Scripts>
<OnLoad>
SetAuctionDressUpBackground();
</OnLoad>
<OnShow>
AuctionDressUpFrame_OnShow(self);
</OnShow>
<OnHide>
AuctionDressUpFrame_OnHide(self);
</OnHide>
</Scripts>
</Frame>
</Ui>