AuctionLite-classic/BuyFrame.xml

1220 lignes
33 KiB
XML

<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">
<Frame name="BuyExpandTemplate" hidden="false" virtual="true">
<Size>
<AbsDimension x="777" y="21"/>
</Size>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parentText" inherits="GameFontHighlightSmall" justifyH="RIGHT">
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="200" y="-7"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="$parentMoneyFrame" inherits="SmallMoneyFrameTemplate">
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="360" y="-5"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
SmallMoneyFrame_OnLoad(self);
MoneyFrame_SetType(self, "AUCTION");
</OnLoad>
</Scripts>
</Frame>
</Frames>
</Frame>
<Button name="BuyButtonTemplate" hidden="false" virtual="true">
<Size>
<AbsDimension x="777" y="21"/>
</Size>
<Frames>
<Frame name="$parentDetail">
<Size>
<AbsDimension x="777" y="21"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString name="$parentCount" inherits="GameFontNormal" justifyH="CENTER">
<Size>
<AbsDimension x="43" y="18"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentName" inherits="GameFontNormal" justifyH="LEFT">
<Size>
<AbsDimension x="200" y="18"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="43" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentPlus" inherits="GameFontNormal" justifyH="LEFT" text="+">
<Size>
<AbsDimension x="0" y="18"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentName">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Color r="1.0" g="0.0" b="0.0" a="1.0"/>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="$parentBidEachFrame" inherits="SmallMoneyFrameTemplate">
<Anchors>
<Anchor point="RIGHT">
<Offset>
<AbsDimension x="-395" y="2"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
SmallMoneyFrame_OnLoad(self);
MoneyFrame_SetType(self, "AUCTION");
</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentBidFrame" inherits="SmallMoneyFrameTemplate">
<Anchors>
<Anchor point="RIGHT">
<Offset>
<AbsDimension x="-260" y="2"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
SmallMoneyFrame_OnLoad(self);
MoneyFrame_SetType(self, "AUCTION");
</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentBuyoutEachFrame" inherits="SmallMoneyFrameTemplate">
<Anchors>
<Anchor point="RIGHT">
<Offset>
<AbsDimension x="-125" y="2"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
SmallMoneyFrame_OnLoad(self);
MoneyFrame_SetType(self, "AUCTION");
</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentBuyoutFrame" inherits="SmallMoneyFrameTemplate">
<Anchors>
<Anchor point="RIGHT">
<Offset>
<AbsDimension x="10" y="2"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
SmallMoneyFrame_OnLoad(self);
MoneyFrame_SetType(self, "AUCTION");
</OnLoad>
</Scripts>
</Frame>
</Frames>
</Frame>
<Frame name="$parentSummary">
<Size>
<AbsDimension x="777" y="21"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString name="$parentName" inherits="GameFontNormal" justifyH="LEFT">
<Size>
<AbsDimension x="300" y="18"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="21" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentPlus" inherits="GameFontNormal" justifyH="LEFT" text="+">
<Size>
<AbsDimension x="0" y="18"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentName">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Color r="1.0" g="0.0" b="0.0" a="1.0"/>
</FontString>
<FontString name="$parentListings" inherits="GameFontNormal" justifyH="RIGHT">
<Size>
<AbsDimension x="60" y="18"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-360" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentItems" inherits="GameFontNormal" justifyH="RIGHT">
<Size>
<AbsDimension x="60" y="18"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-290" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="$parentStarButton">
<Size>
<AbsDimension x="21" y="21"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="2"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AuctionLite:FavoritesButton_OnClick(self:GetParent():GetParent():GetID());
</OnClick>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-CheckBox-Check" alphaMode="ADD">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Color r="1.0" g="1.0" b="1.0" a="0.2"/>
</NormalTexture>
<HighlightTexture file="Interface\Buttons\UI-CheckBox-Check" alphaMode="ADD">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</HighlightTexture>
</Button>
<Frame name="$parentHistPriceFrame" inherits="SmallMoneyFrameTemplate">
<Anchors>
<Anchor point="RIGHT">
<Offset>
<AbsDimension x="10" y="2"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
SmallMoneyFrame_OnLoad(self);
MoneyFrame_SetType(self, "AUCTION");
</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentMarketPriceFrame" inherits="SmallMoneyFrameTemplate">
<Anchors>
<Anchor point="RIGHT">
<Offset>
<AbsDimension x="-125" y="2"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
SmallMoneyFrame_OnLoad(self);
MoneyFrame_SetType(self, "AUCTION");
</OnLoad>
</Scripts>
</Frame>
</Frames>
</Frame>
</Frames>
<Scripts>
<OnLoad>
self.UpdateTooltip =
function() AuctionLite:BuyButton_OnEnter(self) end;
self:RegisterForClicks("LeftButtonUp", "RightButtonUp");
</OnLoad>
<OnEnter>
AuctionLite:BuyButton_OnEnter(self);
</OnEnter>
<OnLeave>
AuctionLite:BuyButton_OnLeave(self);
</OnLeave>
<OnClick>
AuctionLite:BuyButton_OnClick(self:GetID(), button);
</OnClick>
</Scripts>
<NormalTexture name="$parentWarning" file="Interface\HelpFrame\HelpFrameButton-Highlight" alphaMode="ADD">
<Size>
<AbsDimension x="777" y="18"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="1.0" top="0" bottom="0.578125"/>
<Color r="1.0" g="0.0" b="0.0" a="0.0"/>
</NormalTexture>
<HighlightTexture name="$parentHighlight" file="Interface\HelpFrame\HelpFrameButton-Highlight" alphaMode="ADD">
<Size>
<AbsDimension x="777" y="18"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="1.0" top="0" bottom="0.578125"/>
</HighlightTexture>
</Button>
<Frame name="AuctionFrameBuy" hidden="true">
<Size>
<AbsDimension x="758" y="447"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString name="BuyTitle" inherits="GameFontNormal" text="AuctionLite - Buy">
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-18"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<Layer level="ARTWORK">
<FontString name="BuyNameText" inherits="GameFontHighlightSmall" text="Name">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="80" y="-39"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="BuyQuantityText" inherits="GameFontHighlightSmall" text="Qty">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BuyNameText">
<Offset>
<AbsDimension x="325" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="BuyXText" inherits="GameFontHighlightSmall" text="x">
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="BuyQuantityText">
<Offset>
<AbsDimension x="-15" y="-17"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="BuyMessageText" inherits="GameFontNormal" justifyH="CENTER">
<Anchors>
<Anchor point="CENTER" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="425" y="-150"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="BuyStatus">
<Size>
<AbsDimension x="160" y="200"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="335" y="-170"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="BuyStatusText" inherits="GameFontNormal" justifyH="RIGHT" text="Searching:">
<Anchors>
<Anchor point="LEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="BuyStatusData" inherits="GameFontHighlight">
<Anchors>
<Anchor point="LEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="130" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="BuyElapsedText" inherits="GameFontNormal" justifyH="RIGHT" text="Time Elapsed:">
<Anchors>
<Anchor point="LEFT" relativeTo="BuyStatusText">
<Offset>
<AbsDimension x="0" y="-30"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="BuyElapsedData" inherits="GameFontHighlight">
<Anchors>
<Anchor point="LEFT" relativeTo="BuyStatusData">
<Offset>
<AbsDimension x="0" y="-30"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="BuyRemainingText" inherits="GameFontNormal" justifyH="RIGHT" text="Time Remaining:">
<Anchors>
<Anchor point="LEFT" relativeTo="BuyElapsedText">
<Offset>
<AbsDimension x="0" y="-20"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="BuyRemainingData" inherits="GameFontHighlight">
<Anchors>
<Anchor point="LEFT" relativeTo="BuyElapsedData">
<Offset>
<AbsDimension x="0" y="-20"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="BuyCancelSearchButton" inherits="UIPanelButtonTemplate" text="Cancel">
<Size>
<AbsDimension x="80" y="22"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AuctionLite:BuyCancelSearchButton_OnClick();
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
<Frame name="BuyExpand">
<Size>
<AbsDimension x="740" y="21"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="21" y="-75"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString name="BuyBatchText" inherits="GameFontHighlightSmall">
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="300" y="10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="BuyExpand1" inherits="BuyExpandTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Frame name="BuyExpand2" inherits="BuyExpandTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BuyExpand1" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Frame name="BuyExpand3" inherits="BuyExpandTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BuyExpand2" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Frame name="BuyExpand4" inherits="BuyExpandTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BuyExpand3" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Button name="BuyApproveButton" inherits="UIPanelButtonTemplate" text="Approve">
<Size>
<AbsDimension x="80" y="22"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="70" y="10"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AuctionLite:BuyApproveButton_OnClick();
</OnClick>
</Scripts>
</Button>
<Button name="BuyCancelPurchaseButton" inherits="UIPanelButtonTemplate" text="Cancel">
<Size>
<AbsDimension x="80" y="22"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BuyApproveButton" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AuctionLite:BuyCancelPurchaseButton_OnClick();
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
<Frame name="BuySummaryHeader">
<Size>
<AbsDimension x="777" y="21"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BuyExpand" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="21"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<Button name="BuyItemSummaryButton" inherits="SortButtonLeftTemplate">
<Size>
<AbsDimension x="125" y="21"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="21" y="1"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AuctionLite:SummarySortButton_OnClick("ItemSummary");
</OnClick>
</Scripts>
</Button>
<Button name="BuyHistoricalButton" inherits="SortButtonRightTemplate">
<Size>
<AbsDimension x="125" y="21"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-5" y="1"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AuctionLite:SummarySortButton_OnClick("Historical");
</OnClick>
</Scripts>
</Button>
<Button name="BuyMarketButton" inherits="SortButtonRightTemplate">
<Size>
<AbsDimension x="125" y="21"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="BuyHistoricalButton" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="-10" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AuctionLite:SummarySortButton_OnClick("Market");
</OnClick>
</Scripts>
</Button>
<Button name="BuyItemsButton" inherits="SortButtonRightTemplate">
<Size>
<AbsDimension x="60" y="21"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="BuyMarketButton" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="-25" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AuctionLite:SummarySortButton_OnClick("Items");
</OnClick>
</Scripts>
</Button>
<Button name="BuyListingsButton" inherits="SortButtonRightTemplate">
<Size>
<AbsDimension x="60" y="21"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="BuyItemsButton" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="-10" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AuctionLite:SummarySortButton_OnClick("Listings");
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
<Frame name="BuyHeader">
<Size>
<AbsDimension x="777" y="21"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BuyExpand" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="21"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<Button name="BuyItemButton" inherits="SortButtonLeftTemplate">
<Size>
<AbsDimension x="125" y="21"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="43" y="1"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AuctionLite:DetailSortButton_OnClick("Item");
</OnClick>
</Scripts>
</Button>
<Button name="BuyBuyoutAllButton" inherits="SortButtonRightTemplate">
<Size>
<AbsDimension x="125" y="21"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-5" y="1"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AuctionLite:DetailSortButton_OnClick("BuyoutAll");
</OnClick>
</Scripts>
</Button>
<Button name="BuyBuyoutEachButton" inherits="SortButtonRightTemplate">
<Size>
<AbsDimension x="125" y="21"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="BuyBuyoutAllButton" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="-10" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AuctionLite:DetailSortButton_OnClick("BuyoutEach");
</OnClick>
</Scripts>
</Button>
<Button name="BuyBidAllButton" inherits="SortButtonRightTemplate">
<Size>
<AbsDimension x="125" y="21"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="BuyBuyoutEachButton" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="-10" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AuctionLite:DetailSortButton_OnClick("BidAll");
</OnClick>
</Scripts>
</Button>
<Button name="BuyBidEachButton" inherits="SortButtonRightTemplate">
<Size>
<AbsDimension x="125" y="21"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="BuyBidAllButton" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="-10" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AuctionLite:DetailSortButton_OnClick("BidEach");
</OnClick>
</Scripts>
</Button>
<Button name="BuySummaryButton" inherits="UIPanelButtonTemplate">
<Size>
<AbsDimension x="22" y="22"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AuctionLite:BuySummaryButton_OnClick();
</OnClick>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up"/>
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down"/>
<DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Disabled"/>
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
</Button>
</Frames>
</Frame>
<EditBox name="BuyName" autoFocus="false" inherits="InputBoxTemplate" bytes="64">
<Size>
<AbsDimension x="300" y="16"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BuyNameText" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="3" y="-2"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnTabPressed>
BuyQuantity:SetFocus();
</OnTabPressed>
<OnEnterPressed>
if self:GetText() ~= "" then
AuctionLite:AuctionFrameBuy_Search();
self:ClearFocus();
end
</OnEnterPressed>
</Scripts>
<FontString inherits="ChatFontNormal"/>
</EditBox>
<EditBox name="BuyQuantity" numeric="true" autoFocus="false" inherits="InputBoxTemplate" bytes="64">
<Size>
<AbsDimension x="50" y="16"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BuyQuantityText" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="3" y="-2"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnTabPressed>
BuyName:SetFocus();
</OnTabPressed>
<OnEnterPressed>
if self:GetText() ~= "" then
AuctionLite:AuctionFrameBuy_Search();
self:ClearFocus();
end
</OnEnterPressed>
</Scripts>
<FontString inherits="ChatFontNormal"/>
</EditBox>
<Button name="BuyAdvancedButton">
<Size>
<AbsDimension x="24" y="24"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="60" y="-44"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AuctionLite:BuyAdvancedButton_OnClick();
</OnClick>
</Scripts>
<Layers>
<Layer level="ARTWORK">
<FontString name="BuyAdvancedText" inherits="GameFontNormal" text="Advanced" justifyH="RIGHT">
<Anchors>
<Anchor point="RIGHT" relativePoint="LEFT">
<Offset>
<AbsDimension x="-3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Up">
<Size>
<AbsDimension x="24" y="24"/>
</Size>
<Anchors>
<Anchor point="RIGHT"/>
</Anchors>
</NormalTexture>
<PushedTexture name="$parentPushedTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Down">
<Size>
<AbsDimension x="24" y="24"/>
</Size>
<Anchors>
<Anchor point="RIGHT"/>
</Anchors>
</PushedTexture>
<DisabledTexture name="$parentDisabledTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Disabled">
<Size>
<AbsDimension x="24" y="24"/>
</Size>
<Anchors>
<Anchor point="RIGHT"/>
</Anchors>
</DisabledTexture>
<HighlightTexture name="$parentHighlightTexture" file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
<Size>
<AbsDimension x="24" y="24"/>
</Size>
<Anchors>
<Anchor point="RIGHT"/>
</Anchors>
</HighlightTexture>
</Button>
<Frame name="BuyAdvancedDropDown" inherits="UIDropDownMenuTemplate" id="1" hidden="true">
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="BuyAdvancedButton">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Button name="BuyScanButton" inherits="UIPanelButtonTemplate" text="Full Scan">
<Size>
<AbsDimension x="95" y="22"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-85" y="-44"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AuctionLite:StartFullScan();
</OnClick>
</Scripts>
</Button>
<Button name="BuySearchButton" inherits="UIPanelButtonTemplate" text="Search">
<Size>
<AbsDimension x="95" y="22"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="BuyScanButton" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="-10" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AuctionLite:AuctionFrameBuy_Search();
</OnClick>
<OnEnter>
local L = LibStub("AceLocale-3.0"):GetLocale("AuctionLite", false)
GameTooltip_SetDefaultAnchor(GameTooltip, self)
GameTooltip:AddLine(L["Search"], HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b, false)
GameTooltip:AddLine(L["Shift-click to search for the exact name. Normal click to perform a regular search."],
NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, true)
GameTooltip:Show()
</OnEnter>
<OnLeave>
GameTooltip:Hide()
</OnLeave>
</Scripts>
</Button>
<ScrollFrame name="BuyScrollFrame" inherits="FauxScrollFrameTemplate">
<Size>
<AbsDimension x="625" y="335"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="40" y="-74"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Size>
<AbsDimension x="31" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-2" y="5"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
</Texture>
<Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Size>
<AbsDimension x="31" y="106"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-2" y="-2"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnVerticalScroll>
FauxScrollFrame_OnVerticalScroll(
self, offset, BuyButton1:GetHeight(),
function() AuctionLite:AuctionFrameBuy_Update() end);
</OnVerticalScroll>
</Scripts>
</ScrollFrame>
<Button name="BuyButton1" inherits="BuyButtonTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BuyHeader" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="BuyButton2" inherits="BuyButtonTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BuyButton1" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="BuyButton3" inherits="BuyButtonTemplate" id="3">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BuyButton2" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="BuyButton4" inherits="BuyButtonTemplate" id="4">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BuyButton3" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="BuyButton5" inherits="BuyButtonTemplate" id="5">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BuyButton4" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="BuyButton6" inherits="BuyButtonTemplate" id="6">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BuyButton5" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="BuyButton7" inherits="BuyButtonTemplate" id="7">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BuyButton6" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="BuyButton8" inherits="BuyButtonTemplate" id="8">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BuyButton7" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="BuyButton9" inherits="BuyButtonTemplate" id="9">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BuyButton8" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="BuyButton10" inherits="BuyButtonTemplate" id="10">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BuyButton9" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="BuyButton11" inherits="BuyButtonTemplate" id="11">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BuyButton10" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="BuyButton12" inherits="BuyButtonTemplate" id="12">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BuyButton11" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="BuyButton13" inherits="BuyButtonTemplate" id="13">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BuyButton12" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="BuyButton14" inherits="BuyButtonTemplate" id="14">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BuyButton13" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="BuyButton15" inherits="BuyButtonTemplate" id="15">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BuyButton14" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="BuyCancelAuctionButton" inherits="UIPanelButtonTemplate" text="Cancel">
<Size>
<AbsDimension x="80" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="66" y="14"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AuctionLite:BuyCancelAuctionButton_OnClick();
</OnClick>
<OnEnter>
AuctionLite:BuyCancelAuctionButton_OnEnter(self);
</OnEnter>
<OnLeave>
AuctionLite:BuyCancelAuctionButton_OnLeave(self);
</OnLeave>
</Scripts>
</Button>
<Button name="BuyBuyoutButton" inherits="UIPanelButtonTemplate" text="BUYOUT">
<Size>
<AbsDimension x="80" y="22"/>
</Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="BuyCancelAuctionButton" relativePoint="LEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AuctionLite:BuyBuyoutButton_OnClick();
</OnClick>
</Scripts>
</Button>
<Button name="BuyBidButton" inherits="UIPanelButtonTemplate" text="BID">
<Size>
<AbsDimension x="80" y="22"/>
</Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="BuyBuyoutButton" relativePoint="LEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AuctionLite:BuyBidButton_OnClick();
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnUpdate>
AuctionLite:AuctionFrameBuy_OnUpdate();
</OnUpdate>
</Scripts>
</Frame>
</Ui>