<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_BlackMarketUI.lua"/>
<!--
<Button name="BlackMarketColumnButtonTemplate" virtual="true">
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentLeft" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
<Size x="5" y="19"/>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<TexCoords left="0" right="0.078125" top="0" bottom="0.59375"/>
</Texture>
<Texture name="$parentRight" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
<Size x="4" y="19"/>
<Anchors>
<Anchor point="TOPRIGHT"/>
</Anchors>
<TexCoords left="0.90625" right="0.96875" top="0" bottom="0.59375"/>
</Texture>
<Texture name="$parentMiddle" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
<Size x="10" y="19"/>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
<Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"/>
</Anchors>
<TexCoords left="0.078125" right="0.90625" top="0" bottom="0.59375"/>
</Texture>
</Layer>
</Layers>
<ButtonText name="$parentText">
<Anchors>
<Anchor point="LEFT" x="8" y="0"/>
</Anchors>
</ButtonText>
<NormalFont style="GameFontHighlightSmall"/>
<NormalTexture name="$parentArrow" file="Interface\Buttons\UI-SortArrow">
<Size x="9" y="8"/>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentText" relativePoint="RIGHT" x="3" y="-2"/>
</Anchors>
<TexCoords left="0" right="0.5625" top="0" bottom="1.0"/>
</NormalTexture>
<HighlightTexture file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD">
<Size x="5" y="24"/>
<Anchors>
<Anchor point="LEFT" x="0" y="0"/>
<Anchor point="RIGHT" x="4" y="0"/>
</Anchors>
</HighlightTexture>
</Button>
-->
<Frame name="BlackMarketColumnButtonTemplate" virtual="true">
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="Left" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
<Size x="5" y="19"/>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<TexCoords left="0" right="0.078125" top="0" bottom="0.59375"/>
</Texture>
<Texture parentKey="Right" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
<Size x="4" y="19"/>
<Anchors>
<Anchor point="TOPRIGHT"/>
</Anchors>
<TexCoords left="0.90625" right="0.96875" top="0" bottom="0.59375"/>
</Texture>
<Texture parentKey="Middle" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
<Size x="10" y="19"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.Left" relativePoint="RIGHT"/>
<Anchor point="RIGHT" relativeKey="$parent.Right" relativePoint="LEFT"/>
</Anchors>
<TexCoords left="0.078125" right="0.90625" top="0" bottom="0.59375"/>
</Texture>
<FontString parentKey="Name" inherits="GameFontHighlightSmall" justifyH="LEFT">
<Anchors>
<Anchor point="TOP" x="0" y="-5"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<Button name="BlackMarketItemTemplate" virtual="true">
<Size x="570" y="37"/>
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="Left" file="Interface\AuctionFrame\UI-AuctionItemNameFrame">
<Size x="10" y="32"/>
<Anchors>
<Anchor point="LEFT" x="34" y="2"/>
</Anchors>
<TexCoords left="0" right="0.078125" top="0" bottom="1.0"/>
</Texture>
<Texture parentKey="Right" file="Interface\AuctionFrame\UI-AuctionItemNameFrame">
<Size x="10" y="32"/>
<Anchors>
<Anchor point="RIGHT" x="0" y="2"/>
</Anchors>
<TexCoords left="0.75" right="0.828125" top="0" bottom="1.0"/>
</Texture>
<Texture file="Interface\AuctionFrame\UI-AuctionItemNameFrame">
<Size x="10" y="32"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.Left" relativePoint="RIGHT" x="0" y="0"/>
<Anchor point="RIGHT" relativeKey="$parent.Right" relativePoint="LEFT" x="0" y="0"/>
</Anchors>
<TexCoords left="0.078125" right="0.75" top="0" bottom="1.0"/>
</Texture>
<FontString parentKey="Name" inherits="GameFontNormal" justifyH="LEFT">
<Size x="160" y="32"/>
<Anchors>
<Anchor point="TOPLEFT" x="41" y="0"/>
</Anchors>
</FontString>
<FontString parentKey="Level" inherits="GameFontHighlightSmall">
<Size x="32" y="32"/>
<Anchors>
<Anchor point="TOPLEFT" x="200" y="0"/>
</Anchors>
</FontString>
<FontString parentKey="Type" inherits="GameFontHighlightSmall">
<Size x="75" y="32"/>
<Anchors>
<Anchor point="TOPLEFT" x="238" y="0"/>
</Anchors>
</FontString>
<FontString parentKey="Seller" inherits="GameFontHighlightSmall">
<Size x="75" y="32"/>
<Anchors>
<Anchor point="TOPLEFT" x="410" y="0"/>
</Anchors>
</FontString>
<FontString parentKey="YourBid" inherits="GameFontNormalSmall" justifyH="RIGHT" hidden="true" text="BLACK_MARKET_YOUR_BID">
<Size x="75" y="0"/>
<Anchors>
<Anchor point="TOPRIGHT" x="-6" y="0"/>
</Anchors>
</FontString>
</Layer>
<Layer level="OVERLAY">
<Texture file="Interface\HelpFrame\HelpFrameButton-Highlight" alphaMode="ADD" parentKey="Selection">
<Anchors>
<Anchor point="TOPLEFT" x="33" y="0"/>
<Anchor point="BOTTOMRIGHT" x="0" y="4"/>
</Anchors>
<TexCoords left="0" right="1.0" top="0" bottom="0.578125"/>
</Texture>
</Layer>
</Layers>
<Frames>
<Button parentKey="Item">
<Size x="32" y="32"/>
<Anchors>
<Anchor point="TOPLEFT" x="0" y="0"/>
</Anchors>
<Layers>
<Layer level="BORDER">
<Texture parentKey="IconTexture"/>
<FontString parentKey="Count" inherits="NumberFontNormal" justifyH="RIGHT" hidden="true">
<Anchors>
<Anchor point="BOTTOMRIGHT" x="-5" y="2"/>
</Anchors>
</FontString>
<FontString parentKey="Stock" inherits="NumberFontNormalYellow" justifyH="LEFT" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" x="0" y="-2"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnEnter>
local parent = self:GetParent();
parent:LockHighlight();
if ( parent.itemLink ) then
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetHyperlink(parent.itemLink);
else
GameTooltip:Hide();
end
</OnEnter>
<OnLeave>
local parent = self:GetParent();
parent:UnlockHighlight();
GameTooltip:Hide();
</OnLeave>
<OnClick>
if ( IsModifiedClick() ) then
HandleModifiedItemClick(self:GetParent().itemLink);
else
BlackMarketItem_OnClick(self:GetParent(), button, down);
end
</OnClick>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-Quickslot2">
<Size x="60" y="60"/>
<Anchors>
<Anchor point="CENTER" x="0" y="0"/>
</Anchors>
</NormalTexture>
<PushedTexture file="Interface\Buttons\UI-Quickslot-Depress"/>
<HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD"/>
</Button>
<Button parentKey="TimeLeft" enableMouse="true">
<Size x="75" y="32"/>
<Anchors>
<Anchor point="TOPLEFT" x="327" y="0"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString parentKey="Text" inherits="GameFontHighlightSmall">
<Size x="75" y="32"/>
<Anchors>
<Anchor point="TOP"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnEnter>
local parent = self:GetParent();
parent:LockHighlight();
if ( self.tooltip ) then
GameTooltip:SetOwner(self, "ANCHOR_TOP");
GameTooltip:SetText(self.tooltip);
end
</OnEnter>
<OnLeave>
local parent = self:GetParent();
parent:UnlockHighlight();
GameTooltip:Hide();
</OnLeave>
<OnClick>
if ( IsModifiedClick() ) then
HandleModifiedItemClick(self:GetParent().itemLink);
else
BlackMarketItem_OnClick(self:GetParent(), button, down);
end
</OnClick>
</Scripts>
</Button>
<Frame parentkey="CurrentBid" name="$parentCurrentBidMoneyFrame" inherits="SmallMoneyFrameTemplate">
<Anchors>
<Anchor point="RIGHT" x="6" y="-2"/>
</Anchors>
<Scripts>
<OnLoad>
SmallMoneyFrame_OnLoad(self);
MoneyFrame_SetType(self, "BLACKMARKET");
</OnLoad>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnClick>
if ( IsModifiedClick() ) then
HandleModifiedItemClick(self.itemLink);
else
BlackMarketItem_OnClick(self, button, down);
end
</OnClick>
</Scripts>
<HighlightTexture file="Interface\QuestFrame\UI-QuestLogTitleHighlight" alphaMode="ADD" alpha="0.8">
<Anchors>
<Anchor point="TOPLEFT" x="33" y="0"/>
<Anchor point="BOTTOMRIGHT" x="0" y="5"/>
</Anchors>
<Color r="0.243" g="0.570" b="1"/>
</HighlightTexture>
</Button>
<Texture name="_WoodFrameTile-Top" file="Interface\BlackMarket\_WoodFrame-TileHorizontal" virtual="true" horizTile="true" >
<Size x="256" y="28"/>
<TexCoords left="0.00000000" right="1.00000000" top="0.01562500" bottom="0.45312500"/>
</Texture>
<Texture name="_WoodFrameTile-Bottom" file="Interface\BlackMarket\_WoodFrame-TileHorizontal" virtual="true" horizTile="true" >
<Size x="256" y="28"/>
<TexCoords left="0.00000000" right="1.00000000" top="0.48437500" bottom="0.92187500"/>
</Texture>
<Texture name="!WoodFrameTile-Left" file="Interface\BlackMarket\!WoodFrame-TileVertical" virtual="true" vertTile="true" >
<Size x="28" y="256"/>
<TexCoords left="0.01562500" right="0.45312500" top="0.00000000" bottom="1.00000000"/>
</Texture>
<Texture name="!WoodFrameTile-Right" file="Interface\BlackMarket\!WoodFrame-TileVertical" virtual="true" vertTile="true" >
<Size x="28" y="256"/>
<TexCoords left="0.48437500" right="0.92187500" top="0.00000000" bottom="1.00000000"/>
</Texture>
<Frame name="WoodFrameTemplate" inherits="BaseBasicFrameTemplate" virtual="true">
<Layers>
<Layer level="BACKGROUND" textureSubLevel="-2">
<Texture name="$parentBg" file="Interface\BlackMarket\BlackMarketBackground-Tile" horizTile="true" vertTile="true">
<Anchors>
<Anchor point="TOPLEFT" x="2" y="-21"/>
<Anchor point="BOTTOMRIGHT" x="-2" y="2"/>
</Anchors>
</Texture>
<Texture name="$parentTitleBg" inherits="_WoodFrameTile-Top">
<Anchors>
<Anchor point="TOPLEFT" x="2" y="-3"/>
<Anchor point="TOPRIGHT" x="-25" y="-3"/>
</Anchors>
</Texture>
</Layer>
<Layer level="BACKGROUND">
<Texture parentKey="TopTileStreaks" inherits="_UI-Frame-TopTileStreaks">
<Anchors>
<Anchor point="TOPLEFT" x="0" y="-21"/>
<Anchor point="TOPRIGHT" x="-2" y="-21"/>
</Anchors>
</Texture>
</Layer>
<Layer level="BORDER" textureSubLevel="-1">
<Texture parentKey="WoodInsetTopLeftCorner" file="Interface\BlackMarket\WoodFrameCorner-BotLeft">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.TopLeftCorner" relativePoint="BOTTOMLEFT" x="4" y="8"/>
</Anchors>
<TexCoords left="0" right="0.78125" top="0.984375" bottom="0.234375"/>
</Texture>
<Texture parentKey="WoodInsetTopRightCorner" file="Interface\BlackMarket\WoodFrameCorner-BotRight">
<Anchors>
<Anchor point="TOPRIGHT" relativeKey="$parent.TopRightCorner" relativePoint="BOTTOMRIGHT" x="-2" y="10"/>
</Anchors>
<TexCoords left="0.1023622" right="0.9921875" top="0.9921875" bottom="0.1023622"/>
</Texture>
<Texture parentKey="WoodInsetBotLeftCorner" file="Interface\BlackMarket\WoodFrameCorner-BotLeft">
<Anchors>
<Anchor point="BOTTOMLEFT" relativeKey="$parent.BotLeftCorner" x="4" y="4"/>
</Anchors>
<TexCoords left="0" right="0.78125" top="0.234375" bottom="0.984375"/>
</Texture>
<Texture parentKey="WoodInsetBotRightCorner" file="Interface\BlackMarket\WoodFrameCorner-BotRight">
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.BotRightCorner" x="-2" y="6"/>
</Anchors>
<TexCoords left="0.1023622" right="0.9921875" top="0.1023622" bottom="0.9921875"/>
</Texture>
</Layer>
<Layer level="BORDER" textureSubLevel="-2">
<Texture parentKey="BottomBorder" inherits="_WoodFrameTile-Bottom">
<Anchors>
<Anchor point="BOTTOMLEFT" relativeKey="$parent.WoodInsetBotLeftCorner" x="0" y="4"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.WoodInsetBotRightCorner" x="0" y="4"/>
</Anchors>
</Texture>
<Texture parentKey="LeftBorder" inherits="!WoodFrameTile-Left">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.WoodInsetTopLeftCorner" x="2" y="0"/>
<Anchor point="BOTTOMLEFT" relativeKey="$parent.WoodInsetBotLeftCorner" x="2" y="0"/>
</Anchors>
</Texture>
<Texture parentKey="RightBorder" inherits="!WoodFrameTile-Right">
<Anchors>
<Anchor point="TOPRIGHT" relativeKey="$parent.WoodInsetTopRightCorner" x="-2" y="0"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.WoodInsetBotRightCorner" x="-2" y="0"/>
</Anchors>
</Texture>
</Layer>
</Layers>
</Frame>
<Frame name="BlackMarketFrame" inherits="WoodFrameTemplate" toplevel="true" parent="UIParent" hidden="true" enableMouse="true">
<Size x="890" y="504"/>
<Layers>
<Layer level="BACKGROUND" textureSubLevel="-1">
<Texture file="Interface\BlackMarket\HotItemBanner">
<Anchors>
<Anchor point="TOPRIGHT" x="-18" y="-32"/>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY" textureSubLevel="1">
<Texture file="Interface\BlackMarket\BlackMarketSign">
<Anchors>
<Anchor point="TOP" x="-2" y="32"/>
</Anchors>
</Texture>
<FontString inherits="GameFontNormal" justifyH="CENTER" justifyV="MIDDLE" text="BLACK_MARKET_TITLE">
<Anchors>
<Anchor point="TOP" x="0" y="0"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<!-- <Frame parentKey="TopSearch">
<Size x="750" y="52"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.TopLeftCorner" x="40" y="-45"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString parentKey="SearchNameText" inherits="GameFontHighlightSmall" text="NAME">
<Anchors>
<Anchor point="TOPLEFT" x="2" y="0"/>
</Anchors>
</FontString>
<FontString parentKey="SearchLevelText" inherits="GameFontHighlightSmall" text="LEVEL_RANGE">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.SearchNameText" x="166" y="0"/>
</Anchors>
</FontString>
<FontString parentKey="SearchRarity" inherits="GameFontHighlightSmall" text="RARITY">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.SearchLevelText" x="94" y="0"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<EditBox parentKey="SearchName" autoFocus="false" inherits="InputBoxTemplate">
<Size x="140" y="16"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.SearchNameText" relativePoint="BOTTOMLEFT" x="3" y="-6"/>
</Anchors>
<Scripts>
<OnTabPressed>
if ( IsShiftKeyDown() ) then
self.GetParent().SearchMaxLevel:SetFocus();
else
self.GetParent().SearchMinLevel:SetFocus();
end
</OnTabPressed>
<OnEnterPressed>
self:ClearFocus();
</OnEnterPressed>
</Scripts>
<FontString inherits="ChatFontNormal" bytes="64"/>
</EditBox>
<EditBox parentKey="SearchMinLevel" name="BlackMarketMinLevel" letters="2" numeric="true" autoFocus="false" inherits="InputBoxTemplate">
<Size x="25" y="16"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.SearchLevelText" relativePoint="BOTTOMLEFT" x="6" y="-6"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString inherits="GameFontHighlightSmall" text="-">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" x="0" y="1"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnTabPressed>
if ( IsShiftKeyDown() ) then
self.GetParent().SearchName:SetFocus();
else
self.GetParent().SearchMaxLevel:SetFocus();
end
</OnTabPressed>
<OnEnterPressed function="EditBox_ClearFocus"/>
</Scripts>
</EditBox>
<EditBox parentKey="SearchMaxLevel" name="BlackMarketMaxLevel" letters="2" numeric="true" autoFocus="false" inherits="InputBoxTemplate">
<Size x="25" y="16"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.SearchMinLevel" relativePoint="RIGHT" x="12" y="0"/>
</Anchors>
<Scripts>
<OnTabPressed>
if ( IsShiftKeyDown() ) then
self.GetParent().SearchMinLevel:SetFocus();
else
self.GetParent().SearchName:SetFocus();
end
</OnTabPressed>
<OnEnterPressed function="EditBox_ClearFocus"/>
</Scripts>
</EditBox>
<Frame parentKey="RarityDropDown" name="BlackMarket_RarityDropDown" inherits="UIDropDownMenuTemplate" id="1">
<Size x="24" y="24"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.SearchRarity" relativePoint="BOTTOMLEFT" x="-20" y="0"/>
</Anchors>
<Scripts>
<OnLoad function="BlackMarket_RarityDropDown_OnLoad"/>
<OnShow function="BlackMarket_RarityDropDown_OnLoad"/>
</Scripts>
</Frame>
<CheckButton parentKey="IsUsableCheckButton" name="BlackMarket_IsUsableCheckBox" inherits="UICheckButtonTemplate">
<Size x="24" y="24"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.SearchRarity" relativePoint="RIGHT" x="96" y="-9"/>
</Anchors>
<Scripts>
<OnLoad>
self.text:SetFontObject("GameFontHighlightSmall");
self.text:SetText(USABLE_ITEMS);
</OnLoad>
<OnClick>
PlaySound("igMainMenuOptionCheckBoxOn");
</OnClick>
</Scripts>
</CheckButton>
<CheckButton parentKey="ShowOnPlayerCheckButton" name="BlackMarket_ShowOnPlayerCheckBox" inherits="UICheckButtonTemplate">
<Size x="24" y="24"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.IsUsableCheckButton" relativePoint="BOTTOMLEFT" x="0" y="2"/>
</Anchors>
<Scripts>
<OnLoad>
self.text:SetFontObject("GameFontHighlightSmall");
self.text:SetText(DISPLAY_ON_CHARACTER);
</OnLoad>
<OnShow>
self:SetChecked(GetCVarBool("auctionDisplayOnCharacter"));
</OnShow>
<OnClick>
PlaySound("igMainMenuOptionCheckBoxOn");
SetCVar("auctionDisplayOnCharacter", self:GetChecked());
</OnClick>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_LEFT");
GameTooltip:SetText(DISPLAY_ON_CHAR_TOOLTIP, nil, nil, nil, nil, 1);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</CheckButton>
<Button parentKey="SearchButton" inherits="UIPanelButtonTemplate" text="SEARCH">
<Size x="80" y="22"/>
<Anchors>
<Anchor point="TOPRIGHT" x="3" y="-2"/>
</Anchors>
<Scripts>
<OnClick function="BlackMarket_Search_OnClick"/>
</Scripts>
</Button>
<Button parentKey="PrevPageButton">
<Size x="32" y="32"/>
<Anchors>
<Anchor point="TOPRIGHT" relativeKey="$parent.SearchButton" relativePoint="BOTTOMLEFT" x="0" y="-5"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString inherits="GameFontHighlightSmall" justifyH="LEFT" text="PREV">
<Size x="60" y="10"/>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnClick>
PlaySound("igMainMenuOptionCheckBoxOn");
</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>
<Button parentKey="BrowseNextPageButton">
<Size x="32" y="32"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.SearchButton" relativePoint="BOTTOMRIGHT" x="0" y="-5"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString inherits="GameFontHighlightSmall" justifyH="RIGHT" text="NEXT">
<Size x="60" y="10"/>
<Anchors>
<Anchor point="RIGHT" relativePoint="LEFT"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnClick>
PlaySound("igMainMenuOptionCheckBoxOn");
</OnClick>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
<DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Disabled"/>
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
</Button>
</Frames>
</Frame>
-->
<Frame parentKey="HotDeal">
<Size x="212" y="270"/>
<Anchors>
<Anchor point="TOPRIGHT" relativeKey="$parent.TopRightCorner" x="-33" y="-122"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<!--
<Texture setAllPoints="true">
<Color r="0" g="0" b="0" a="0.75"/>
</Texture>
-->
<FontString parentKey="Title" inherits="QuestFont_Super_Huge" justifyH="CENTER" text="HOT_ITEM">
<Anchors>
<Anchor point="TOP" x="0" y="-10"/>
</Anchors>
</FontString>
<Texture parentKey="Left" file="Interface\AuctionFrame\UI-AuctionItemNameFrame">
<Size x="10" y="32"/>
<Anchors>
<Anchor point="TOPLEFT" x="47" y="-60"/>
</Anchors>
<TexCoords left="0" right="0.078125" top="0" bottom="1.0"/>
</Texture>
<Texture parentKey="Right" file="Interface\AuctionFrame\UI-AuctionItemNameFrame">
<Size x="10" y="32"/>
<Anchors>
<Anchor point="TOPRIGHT" x="-15" y="-60"/>
</Anchors>
<TexCoords left="0.75" right="0.828125" top="0" bottom="1.0"/>
</Texture>
<Texture file="Interface\AuctionFrame\UI-AuctionItemNameFrame">
<Size x="10" y="32"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.Left" relativePoint="RIGHT" x="0" y="0"/>
<Anchor point="RIGHT" relativeKey="$parent.Right" relativePoint="LEFT" x="0" y="0"/>
</Anchors>
<TexCoords left="0.078125" right="0.75" top="0" bottom="1.0"/>
</Texture>
<FontString parentKey="Name" inherits="GameFontNormal" justifyH="LEFT" justifyV="MIDDLE">
<Size x="150" y="32"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.Left" x="5" y="0"/>
</Anchors>
</FontString>
<FontString parentKey="Level" inherits="GameFontHighlightCenter">
<Size x="32" y="0"/>
<Anchors>
<Anchor point="TOP" relativeKey="$parent.Left" relativePoint="BOTTOMLEFT" x="-15" y="-1"/>
</Anchors>
</FontString>
<FontString parentKey="Type" inherits="GameFontHighlightLeft">
<Size x="150" y="0"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.Left" relativePoint="BOTTOMLEFT" x="5" y="-1"/>
</Anchors>
</FontString>
<FontString parentKey="SellerTAG" inherits="GameFontHighlightCenter" text="HOT_ITEM_SELLER">
<Size x="125" y="0"/>
<Anchors>
<Anchor point="TOP" x="0" y="-130"/>
</Anchors>
</FontString>
<FontString parentKey="Seller" inherits="GameFontHighlightCenter">
<Size x="200" y="0"/>
<Anchors>
<Anchor point="TOP" relativeKey="$parent.SellerTAG" relativePoint="BOTTOM" x="0" y="-5"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button parentKey="Item">
<Size x="32" y="32"/>
<Anchors>
<Anchor point="TOPLEFT" x="15" y="-60"/>
</Anchors>
<Layers>
<Layer level="BORDER">
<Texture parentKey="IconTexture"/>
<FontString parentKey="Count" inherits="NumberFontNormal" justifyH="RIGHT" hidden="true">
<Anchors>
<Anchor point="BOTTOMRIGHT" x="-5" y="2"/>
</Anchors>
</FontString>
<FontString parentKey="Stock" inherits="NumberFontNormalYellow" justifyH="LEFT" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" x="0" y="-2"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnEnter>
local parent = self:GetParent();
if ( parent.itemLink ) then
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetHyperlink(parent.itemLink);
else
GameTooltip:Hide();
end
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
<OnClick>
if ( IsModifiedClick() ) then
HandleModifiedItemClick(self:GetParent().itemLink);
end
</OnClick>
</Scripts>
</Button>
<Frame parentKey="TimeLeft" enableMouse="true">
<Size x="200" y="20"/>
<Anchors>
<Anchor point="TOP" x="0" y="-180"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString parentKey="Text" inherits="GameFontHighlightSmall">
<Anchors>
<Anchor point="TOP"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnEnter>
if ( self.tooltip ) then
GameTooltip:SetOwner(self, "ANCHOR_TOP");
GameTooltip:SetText(self.tooltip);
end
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Frame>
<Button parentKey="BidButton" inherits="UIPanelButtonTemplate" text="BID">
<Size x="80" y="22"/>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeKey="$parent.TimeLeft" relativePoint="BOTTOM" x="0" y="-20"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString parentKey="YourBid" inherits="GameFontNormalSmall" justifyH="CENTER" hidden="true" text="BLACK_MARKET_YOUR_BID">
<Size x="75" y="0"/>
<Anchors>
<Anchor point="TOP" relativePoint="BOTTOMLEFT" x="0" y="-5"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnClick function="BlackMarketHotItemBid_OnClick"/>
</Scripts>
</Button>
<Frame name="BlackMarketHotItemBidPrice" inherits="MoneyInputFrameTemplate">
<Size x="80" y="22"/>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.BidButton" relativePoint="BOTTOMLEFT" x="0" y="0"/>
</Anchors>
</Frame>
</Frames>
</Frame>
<Frame parentKey="ColumnName" inherits="BlackMarketColumnButtonTemplate">
<Size x="214" y="19"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.TopLeftCorner" relativePoint="BOTTOMLEFT" x="32" y="-20"/>
</Anchors>
<Scripts>
<OnLoad>
self.Name:SetPoint("TOPLEFT", 10, -5);
self.Name:SetText(NAME);
</OnLoad>
</Scripts>
</Frame>
<Frame parentKey="ColumnLevel" inherits="BlackMarketColumnButtonTemplate">
<Size x="30" y="19"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.ColumnName" relativePoint="RIGHT" x="-2" y="0"/>
</Anchors>
<Scripts>
<OnLoad>
self.Name:SetText(REQ_LEVEL_ABBR);
self.Name:SetPoint("TOPLEFT", 5, -5);
</OnLoad>
</Scripts>
</Frame>
<Frame parentKey="ColumnType" inherits="BlackMarketColumnButtonTemplate">
<Size x="91" y="19"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.ColumnLevel" relativePoint="RIGHT" x="-2" y="0"/>
</Anchors>
<Scripts>
<OnLoad>
self.Name:SetText(TYPE);
</OnLoad>
</Scripts>
</Frame>
<Frame parentKey="ColumnDuration" inherits="BlackMarketColumnButtonTemplate">
<Size x="91" y="19"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.ColumnType" relativePoint="RIGHT" x="-2" y="0"/>
</Anchors>
<Scripts>
<OnLoad>
self.Name:SetText(CLOSES_IN);
</OnLoad>
</Scripts>
</Frame>
<Frame parentKey="ColumnHighBidder" inherits="BlackMarketColumnButtonTemplate">
<Size x="76" y="19"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.ColumnDuration" relativePoint="RIGHT" x="-2" y="0"/>
</Anchors>
<Scripts>
<OnLoad>
self.Name:SetText(AUCTION_CREATOR);
</OnLoad>
</Scripts>
</Frame>
<Frame parentKey="ColumnCurrentBid" inherits="BlackMarketColumnButtonTemplate">
<Size x="90" y="19"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.ColumnHighBidder" relativePoint="RIGHT" x="-2" y="0"/>
</Anchors>
<Scripts>
<OnLoad>
self.Name:SetText(CURRENT_BID);
</OnLoad>
</Scripts>
</Frame>
<Frame parentKey="Inset" inherits="InsetFrameTemplate2">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.ColumnName" relativePoint="BOTTOMLEFT" x="0" y="0"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.ColumnCurrentBid" relativePoint="BOTTOMRIGHT" x="26" y="-408"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture setAllPoints="true">
<Color r="0" g="0" b="0" a="0.5"/>
</Texture>
</Layer>
<Layer level="OVERLAY">
<FontString parentKey="NoItems" inherits="QuestFont_Super_Huge" justifyH="CENTER" hidden="true" text="BLACK_MARKET_NO_ITEMS">
<Anchors>
<Anchor point="TOP" x="" y="-20"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<ScrollFrame name="BlackMarketScrollFrame" inherits="MinimalHybridScrollFrameTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.Inset" x="6" y="-7"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.Inset" relativePoint="BOTTOMRIGHT" x="-27" y="7"/>
</Anchors>
</ScrollFrame>
<Frame parentKey="MoneyFrameBorder" inherits="ThinGoldEdgeTemplate">
<Size x="145" y="20"/>
<Anchors>
<Anchor point="BOTTOMLEFT" x="27" y="4"/>
</Anchors>
</Frame>
<Frame name="BlackMarketMoneyFrame" inherits="SmallMoneyFrameTemplate">
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.MoneyFrameBorder" relativePoint="BOTTOMRIGHT" x="8" y="2"/>
</Anchors>
<Scripts>
<OnLoad>
SmallMoneyFrame_OnLoad(self);
MoneyFrame_SetType(self, "PLAYER");
MoneyFrame_SetMaxDisplayWidth(self, 168);
</OnLoad>
</Scripts>
</Frame>
<Button parentKey="BidButton" inherits="UIPanelButtonTemplate" text="BID">
<Size x="80" y="22"/>
<Anchors>
<Anchor point="BOTTOMRIGHT" x="-255" y="2"/>
</Anchors>
<Scripts>
<OnClick function="BlackMarketBid_OnClick"/>
</Scripts>
</Button>
<Frame name="BlackMarketBidPrice" inherits="MoneyInputFrameTemplate">
<Size x="100" y="20"/>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.BidButton" relativePoint="BOTTOMLEFT" x="0" y="0"/>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<FontString inherits="GameFontHighlightSmall" text="BID" justifyH="RIGHT">
<Anchors>
<Anchor point="RIGHT" relativeTo="$parent" relativePoint="LEFT" x="-10" y="0"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
</Frames>
<Scripts>
<OnLoad function="BlackMarketFrame_OnLoad"/>
<OnEvent function="BlackMarketFrame_OnEvent"/>
<OnShow function="BlackMarketFrame_OnShow"/>
<OnHide function="BlackMarketFrame_OnHide"/>
</Scripts>
</Frame>
</Ui>