mirror of
https://github.com/PastaStomp/OctoAuctionatorPlus.git
synced 2026-11-18 14:54:45 +00:00
Clicking Cancel Auctions on the Listings tab now opens a small
dialog ("Number to cancel:", pre-filled with the row's actual count)
instead of immediately cancelling every matching auction. OK cancels
only the requested number via the existing confirmed cancel walker
(which already supports stopping early once a target count is
reached); Cancel closes the dialog with no action.
Introduced Atr_CancelAuctionsMatching as the shared entry point for
both this new flow and the pre-existing unprompted undercut-cancel
path (Atr_CancelAuction_ByIndex, still called by index elsewhere),
rather than changing that function's existing contract.
The dialog is positioned at the Auction House frame's bottom-right
corner, set dynamically in Lua right before showing it rather than
via a static XML anchor - referencing AuctionFrame by name directly
in the XML anchor turned out to risk breaking parsing of the rest of
the file if Blizzard's Auction UI addon hadn't loaded AuctionFrame
yet by the time this file's XML was parsed.
Also: EditBox has no Enable()/Disable() on this client - discovered
while building the (since removed) "cancel all" checkbox's disable
behavior for the count field.
1409 lines
58 KiB
XML
1409 lines
58 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/">
|
|
|
|
|
|
<!-- Frame to handle all core events -->
|
|
<Frame name="Atr_core">
|
|
<Scripts>
|
|
<OnLoad>
|
|
Atr_RegisterEvents(this);
|
|
|
|
this.TimeSinceLastUpdate = 0;
|
|
</OnLoad>
|
|
<OnUpdate>
|
|
Atr_OnUpdate(this, arg1);
|
|
</OnUpdate>
|
|
<OnEvent>
|
|
Atr_EventHandler();
|
|
</OnEvent>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
|
|
|
|
<Frame name="Atr_Error_Frame" toplevel="true" parent="UIParent" enableMouse="true" frameStrata="FULLSCREEN_DIALOG" hidden="true">
|
|
<Size><AbsDimension x="340" y="160" /></Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="290" y="-190"/></Offset></Anchor></Anchors>
|
|
|
|
<Backdrop bgFile="Interface\MERCHANTFRAME\UI-BuyBack-TopLeft" edgeFile="Interface\DialogFrame\UI-DialogBox-Border">
|
|
<BackgroundInsets><AbsInset left="2" right="0" top="2" bottom="2"/></BackgroundInsets>
|
|
<TileSize><AbsValue val="256"/></TileSize>
|
|
<EdgeSize><AbsValue val="32"/></EdgeSize>
|
|
</Backdrop>
|
|
|
|
<Scripts>
|
|
<OnLoad>
|
|
this:SetBackdropColor(0.3, 0.3, 0.7);
|
|
</OnLoad>
|
|
<OnShow>
|
|
if (this.withMask) then
|
|
Atr_Mask:Show();
|
|
end
|
|
</OnShow>
|
|
<OnHide>
|
|
if (this.withMask) then
|
|
Atr_Mask:Hide();
|
|
this.withMask = nil;
|
|
end
|
|
</OnHide>
|
|
</Scripts>
|
|
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString inherits="GameFontNormal" name="Atr_Error_Text">
|
|
<Anchors><Anchor point="CENTER"><Offset><AbsDimension y="20"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
|
|
<Frames>
|
|
<Button inherits="UIPanelButtonTemplate" text="OKAY">
|
|
<Size><AbsDimension x="60" y="22"/></Size>
|
|
<Anchors><Anchor point="BOTTOM"><Offset><AbsDimension y="20"/></Offset></Anchor></Anchors>
|
|
<Scripts><OnClick>Atr_Error_Frame:Hide();</OnClick></Scripts>
|
|
</Button>
|
|
</Frames>
|
|
|
|
</Frame>
|
|
|
|
|
|
|
|
<Frame name="Atr_Confirm_Frame" toplevel="true" parent="UIParent" enableMouse="true" frameStrata="DIALOG" hidden="true">
|
|
<Size><AbsDimension x="300" y="150" /></Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="290" y="-190"/></Offset></Anchor></Anchors>
|
|
|
|
<Backdrop bgFile="Interface\MERCHANTFRAME\UI-BuyBack-TopLeft" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
|
|
<BackgroundInsets><AbsInset left="2" right="0" top="2" bottom="2"/></BackgroundInsets>
|
|
<TileSize><AbsValue val="256"/></TileSize>
|
|
<EdgeSize><AbsValue val="32"/></EdgeSize>
|
|
</Backdrop>
|
|
|
|
<Scripts>
|
|
<OnLoad>
|
|
this:SetBackdropColor(0.3, 0.3, 0.7);
|
|
</OnLoad>
|
|
<OnShow>
|
|
Atr_Mask:Show();
|
|
</OnShow>
|
|
<OnHide>
|
|
Atr_Mask:Hide();
|
|
</OnHide>
|
|
</Scripts>
|
|
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString inherits="GameFontNormal" name="Atr_Confirm_Text" spacing="3">
|
|
<Anchors><Anchor point="CENTER"><Offset><AbsDimension y="20"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
|
|
<Frames>
|
|
<Button name="Atr_Confirm_Cancel" inherits="UIPanelButtonTemplate" text="CANCEL">
|
|
<Size><AbsDimension x="60" y="22"/></Size>
|
|
<Anchors><Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-30" y="20"/></Offset></Anchor></Anchors>
|
|
<Scripts><OnClick>Atr_Confirm_No();</OnClick></Scripts>
|
|
</Button>
|
|
<Button inherits="UIPanelButtonTemplate" text="OKAY">
|
|
<Size><AbsDimension x="60" y="22"/></Size>
|
|
<Anchors><Anchor point="RIGHT" relativeTo="Atr_Confirm_Cancel" relativePoint="LEFT"><Offset><AbsDimension x="-10"/></Offset></Anchor></Anchors>
|
|
<Scripts><OnClick>Atr_Confirm_Yes();</OnClick></Scripts>
|
|
</Button>
|
|
</Frames>
|
|
|
|
</Frame>
|
|
|
|
<!-- The clickable column heading template -->
|
|
|
|
<Button name="Atr_Col_Heading_Template" virtual="true">
|
|
<ButtonText name="$parentText">
|
|
<Anchors>
|
|
<Anchor point="LEFT">
|
|
<Offset><AbsDimension x="8" y="0"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</ButtonText>
|
|
<NormalFont inherits="GameFontHighlightSmall"/>
|
|
<NormalTexture name="$parentArrow" file="Interface\Buttons\UI-SortArrow">
|
|
<Size><AbsDimension x="9" y="8"/></Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parentText" relativePoint="RIGHT">
|
|
<Offset><AbsDimension x="3" y="-1"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.5625" top="0" bottom="1.0"/>
|
|
</NormalTexture>
|
|
<HighlightTexture file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD">
|
|
<Size><AbsDimension x="5" y="24"/></Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
|
<Anchor point="RIGHT"><Offset><AbsDimension x="4" y="0"/></Offset></Anchor>
|
|
</Anchors>
|
|
</HighlightTexture>
|
|
</Button>
|
|
|
|
<!-- The Standard Auctionator Dialog template -->
|
|
|
|
<Frame name="AuctionatorDialog" virtual="true">
|
|
|
|
<Backdrop bgFile="Interface\CharacterFrame\UI-Party-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
|
|
<BackgroundInsets><AbsInset left="11" right="12" top="12" bottom="11"/></BackgroundInsets>
|
|
<TileSize><AbsValue val="32"/></TileSize>
|
|
<EdgeSize><AbsValue val="32"/></EdgeSize>
|
|
</Backdrop>
|
|
|
|
<Scripts>
|
|
<OnShow>
|
|
if (AuctionFrame and AuctionFrame:IsShown()) then Atr_Mask:Show(); end;
|
|
</OnShow>
|
|
<OnHide>
|
|
if (AuctionFrame and AuctionFrame:IsShown()) then Atr_Mask:Hide(); end;
|
|
</OnHide>
|
|
</Scripts>
|
|
|
|
</Frame>
|
|
|
|
|
|
|
|
<Font name="AtrFontOrange" inherits="GameFontNormalSmall" virtual="true">
|
|
<Color r="1" g="0.5" b="0.25"/>
|
|
</Font>
|
|
|
|
<Frame name="Atr_Mask" toplevel="true" parent="UIParent" enableMouse="true" hidden="true">
|
|
<Size><AbsDimension x="820" y="450" /></Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="12" y="-115"/></Offset></Anchor></Anchors>
|
|
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" tile="true">
|
|
<TileSize><AbsValue val="16"/></TileSize>
|
|
</Backdrop>
|
|
|
|
<Scripts>
|
|
<OnLoad>
|
|
this:SetBackdropColor(0.2, 0.2, 0.2);
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
|
|
<Button name="AuctionatorEntryTemplate" virtual="true" hidden="true">
|
|
<Size><AbsDimension x="584" y="16" /></Size>
|
|
<Frames>
|
|
<Frame>
|
|
<Size><AbsDimension x="120" y="16" /></Size>
|
|
<Anchors><Anchor point="LEFT"><Offset><AbsDimension x="22" y="0"/></Offset></Anchor></Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString name="$parent_PerItem_Text" inherits="GameFontDarkGraySmall" justifyH="RIGHT">
|
|
<Anchors><Anchor point="RIGHT"><Offset><AbsDimension y="1" x="-16"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Frame name="$parent_PerItem_Price" inherits="SmallMoneyFrameTemplate">
|
|
<Anchors><Anchor point="RIGHT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.small = 1;
|
|
MoneyFrame_SetType("AUCTION");
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame>
|
|
<Size><AbsDimension x="240" y="16" /></Size>
|
|
<Anchors><Anchor point="LEFT"><Offset><AbsDimension x="167" y="0"/></Offset></Anchor></Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString name="$parent_EntryText" inherits="GameFontHighlightSmall" justifyH="LEFT"/>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
|
|
|
|
<Frame>
|
|
<Size><AbsDimension x="120" y="16" /></Size>
|
|
<Anchors><Anchor point="LEFT"><Offset><AbsDimension x="440" y="0"/></Offset></Anchor></Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString name="$parent_StackPrice" inherits="GameFontHighlightSmall" justifyH="RIGHT"/>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
|
|
</Frames>
|
|
|
|
<HighlightTexture file="Interface\HelpFrame\HelpFrameButton-Highlight" alphaMode="ADD">
|
|
<TexCoords left="0.035" right="0.04" top="0.2" bottom="0.25"/>
|
|
</HighlightTexture>
|
|
<Scripts>
|
|
<OnClick>
|
|
Atr_EntryOnClick();
|
|
</OnClick>
|
|
<OnEnter>Atr_ShowLineTooltip(this)</OnEnter>
|
|
<OnLeave>Atr_HideLineTooltip()</OnLeave>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
|
|
<Font name="Atr_UCCountFont" inherits="NumberFontNormalSmall" virtual="true">
|
|
<FontHeight><AbsValue val="10"/></FontHeight>
|
|
<Color r="1" g="1" b="1"/>
|
|
</Font>
|
|
|
|
<Button name="Atr_HEntryTemplate" virtual="true" hidden="true">
|
|
<Size><AbsDimension x="174" y="32" /></Size> <!-- actual height/position is set per-redraw; see Atr_DisplayHlist / Atr_SList:DisplayX -->
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_ItemIcon" hidden="true">
|
|
<Size><AbsDimension x="26" y="26" /></Size>
|
|
<Anchors><Anchor point="LEFT"><Offset><AbsDimension x="2" y="1"/></Offset></Anchor></Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="ARTWORK">
|
|
<!-- a strictly higher named layer than ItemIcon's BACKGROUND, so this is guaranteed to
|
|
draw on top of it - same-layer sibling order apparently isn't reliable on this
|
|
client, which was very likely the real cause of the "missing icon" issue all along -->
|
|
<Texture name="$parent_UCOverlay" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_ItemIcon" relativePoint="TOPLEFT"/>
|
|
<Anchor point="BOTTOMRIGHT" relativeTo="$parent_ItemIcon" relativePoint="BOTTOMRIGHT"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<FontString name="$parent_ItemCount" inherits="Atr_UCCountFont" justifyH="RIGHT" justifyV="BOTTOM" hidden="true">
|
|
<Anchors><Anchor point="BOTTOMRIGHT" relativeTo="$parent_ItemIcon" relativePoint="BOTTOMRIGHT"/></Anchors>
|
|
</FontString>
|
|
<FontString name="$parent_EntryText" inherits="GameFontHighlightSmall" justifyH="LEFT" justifyV="MIDDLE">
|
|
<Size><AbsDimension x="174" y="32" /></Size>
|
|
<Anchors><Anchor point="LEFT"><Offset><AbsDimension x="2" y="0"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<!-- strictly above ARTWORK (where UCOverlay lives), so this badge is guaranteed to
|
|
draw on top of the color wash instead of leaving it to unreliable same-layer order -->
|
|
<Texture name="$parent_UCIcon" hidden="true">
|
|
<Size><AbsDimension x="12" y="12" /></Size>
|
|
<Anchors><Anchor point="BOTTOMLEFT" relativeTo="$parent_ItemIcon" relativePoint="BOTTOMLEFT"/></Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
|
|
<HighlightTexture file="Interface\HelpFrame\HelpFrameButton-Highlight" alphaMode="ADD">
|
|
<TexCoords left="0.05" right="0.07" top="0.1" bottom="0.5"/>
|
|
</HighlightTexture>
|
|
<Scripts>
|
|
<OnClick>
|
|
Atr_HEntryOnClick();
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
|
|
|
|
<Frame name="Atr_Sell_Template" virtual="true">
|
|
<Size>
|
|
<AbsDimension x="548" y="447"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="210" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString name="AuctionatorTitle" inherits="GameFontNormal">
|
|
<Anchors><Anchor point="TOP"><Offset><AbsDimension x="-100" y="-18"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
|
|
<FontString name="AuctionatorMessageFrame" inherits="GameFontNormal">
|
|
<Anchors><Anchor point="CENTER" relativeTo="Atr_Hlist"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
|
|
<FontString name="AuctionatorMessage2Frame" inherits="GameFontNormal" justifyH="CENTER" justifyV="MIDDLE">
|
|
<Size><AbsDimension y="100"/></Size>
|
|
<Anchors><Anchor point="TOP"><Offset><AbsDimension x="8" y="-90"/></Offset></Anchor></Anchors>
|
|
<Color r="0.1" g="1.0" b="0.1"/>
|
|
</FontString>
|
|
|
|
<FontString name="Atr_Recommend_Text" inherits="GameFontNormal" text="Recommended buyout price">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="77" y="-98"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
|
|
<!-- "Scanning auctions: page X / Y" - shown at a fixed spot in the top-right while a
|
|
search is in progress, instead of taking over AuctionatorMessage2Frame (which
|
|
used to hide the whole recommend header while scanning) -->
|
|
<FontString name="Atr_ScanProgress_Text" inherits="GameFontNormalSmall" text="" hidden="true" justifyH="RIGHT">
|
|
<Anchors><Anchor point="TOPRIGHT"><Offset><AbsDimension x="-20" y="-96"/></Offset></Anchor></Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0"/>
|
|
</FontString>
|
|
|
|
<FontString name="Atr_RecommendPerStack_Text" inherits="GameFontHighlightSmall" text="per stack">
|
|
<Anchors><Anchor point="TOPLEFT" relativeTo="Atr_Recommend_Text"><Offset><AbsDimension x="112" y="-28"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
|
|
<FontString name="Atr_RecommendPerItem_Text" inherits="GameFontHighlightSmall" text="per item">
|
|
<Anchors><Anchor point="TOPLEFT" relativeTo="Atr_Recommend_Text"><Offset><AbsDimension x="112" y="-51"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
|
|
<FontString name="Atr_RecommendDeposit_Text" inherits="GameFontHighlightSmall" justifyH="RIGHT" hidden="true">
|
|
<Anchors><Anchor point="TOPRIGHT"><Offset><AbsDimension x="-124" y="-126"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
|
|
</Layers>
|
|
|
|
|
|
|
|
<Frames>
|
|
|
|
|
|
<Frame name="Atr_DropDown1" inherits="UIDropDownMenuTemplate">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="-170" y="-49"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnLoad> Atr_DropDown1_OnLoad(this); </OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<Frame name="Atr_DropDownSL" inherits="UIDropDownMenuTemplate">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="-190" y="-49"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnLoad> Atr_DropDownSL_OnLoad(this); </OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<!--
|
|
<Backdrop bgFile="Interface\CharacterFrame\UI-Party-Background" tile="true">
|
|
<BackgroundInsets><AbsInset left="0" right="-24" top="0" bottom="0"/></BackgroundInsets>
|
|
<TileSize><AbsValue val="256"/></TileSize>
|
|
</Backdrop>
|
|
-->
|
|
|
|
<Button name="Atr_CheckActiveButton" inherits="UIPanelButtonTemplate" text="Check for Undercuts">
|
|
<Size><AbsDimension x="165" y="20"/> </Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="-195" y="-413"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnClick>Atr_CheckActive_OnClick(false);</OnClick>
|
|
</Scripts>
|
|
<NormalFont inherits="GameFontNormalSmall"/>
|
|
<HighlightFont inherits="GameFontHighlightSmall"/>
|
|
<DisabledFont inherits="GameFontDisableSmall"/>
|
|
</Button>
|
|
|
|
<!--
|
|
<Button name="Atr_CancelAllUndercutsButton" inherits="UIPanelButtonTemplate" text="Cancel All Undercuts">
|
|
<Size><AbsDimension x="165" y="20"/> </Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="-413"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnClick>Atr_Cancel_Undercuts_OnClick();</OnClick>
|
|
</Scripts>
|
|
<NormalFont inherits="GameFontNormalSmall"/>
|
|
<HighlightFont inherits="GameFontHighlightSmall"/>
|
|
<DisabledFont inherits="GameFontDisableSmall"/>
|
|
</Button>
|
|
-->
|
|
|
|
|
|
<EditBox name="Atr_Search_Box" autoFocus="false" inherits="InputBoxTemplate">
|
|
<Size><AbsDimension x="260" y="20"/></Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="20" y="-45"/></Offset></Anchor></Anchors>
|
|
<FontString inherits="ChatFontNormal" bytes="64"/>
|
|
|
|
<Scripts>
|
|
<OnEnterPressed>
|
|
Atr_Search_Onclick();
|
|
this:ClearFocus();
|
|
</OnEnterPressed>
|
|
<OnCharComposition>
|
|
Atr_Item_Autocomplete(this);
|
|
</OnCharComposition>
|
|
<OnChar>Atr_Item_Autocomplete(this);</OnChar>
|
|
<OnEscapePressed>
|
|
this:ClearFocus();
|
|
</OnEscapePressed>
|
|
<OnShow>
|
|
this:SetFocus();
|
|
</OnShow>
|
|
</Scripts>
|
|
|
|
</EditBox>
|
|
|
|
<Button name="Atr_Search_Button" text="Search" inherits="UIPanelButtonTemplate" >
|
|
<Size><AbsDimension x="80" y="22"/> </Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="Atr_Search_Box" relativePoint="RIGHT">
|
|
<Offset><AbsDimension x="15" y="0"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
Atr_Search_Onclick();
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Button name="Auctionator1Button" inherits="UIPanelButtonTemplate" text="Options">
|
|
<Size><AbsDimension x="90" y="18"/> </Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="Atr_Search_Button" relativePoint="RIGHT">
|
|
<Offset><AbsDimension x="145" y="0"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
Atr_ShowOptions();
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalFont inherits="GameFontNormalSmall"/>
|
|
<HighlightFont inherits="GameFontHighlightSmall"/>
|
|
<DisabledFont inherits="GameFontDisableSmall"/>
|
|
</Button>
|
|
|
|
<Button name="Atr_FullScanButton" inherits="UIPanelButtonTemplate" text="Full Scan">
|
|
<Size><AbsDimension x="74" y="18"/> </Size>
|
|
<Anchors><Anchor point="RIGHT" relativeTo="Auctionator1Button" relativePoint="LEFT"><Offset><AbsDimension x="-2" y="0"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnClick>Atr_ShowFullScanFrame();</OnClick>
|
|
</Scripts>
|
|
<NormalFont inherits="GameFontNormalSmall"/>
|
|
<HighlightFont inherits="GameFontHighlightSmall"/>
|
|
<DisabledFont inherits="GameFontDisableSmall"/>
|
|
</Button>
|
|
|
|
|
|
<ScrollFrame name="Atr_Hlist_ScrollFrame" inherits="FauxScrollFrameTemplate" hidden="true">
|
|
<Size><AbsDimension x="170" y="335"/></Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="-193" y="-75"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnVerticalScroll>
|
|
Atr_Hlist_OnVerticalScroll();
|
|
</OnVerticalScroll>
|
|
</Scripts>
|
|
</ScrollFrame>
|
|
|
|
<Frame name="Atr_Hlist" hidden="true">
|
|
<Size><AbsDimension x="170" y="335"/></Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="-193" y="-75"/></Offset></Anchor></Anchors>
|
|
<Backdrop bgFile="Interface\CharacterFrame\UI-Party-Background" tile="true">
|
|
<BackgroundInsets><AbsInset left="0" right="-24" top="0" bottom="0"/></BackgroundInsets>
|
|
<TileSize><AbsValue val="256"/></TileSize>
|
|
</Backdrop>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<Texture file="Interface\Tooltips\UI-Tooltip-Border">
|
|
<Size><AbsDimension x="5"/></Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"><Offset><AbsDimension x="174" y="0"/></Offset></Anchor>
|
|
<Anchor point="BOTTOM"><Offset><AbsDimension y="0"/></Offset></Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0.15" right="0.25" top="0" bottom="1"/>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
|
|
<Frame name="Atr_SellControls" hidden="true">
|
|
<Size><AbsDimension x="170" y="460"/></Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="-193" y="-75"/></Offset></Anchor></Anchors>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
|
|
<FontString inherits="GameFontHighlightSmall" text="Sell">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="93" y="18"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
|
|
<FontString name="Atr_StartingPriceText" inherits="GameFontHighlightSmall" text="Starting Price (Bids)">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="13" y="-95"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
|
|
<FontString name="Atr_StackPriceText" inherits="GameFontHighlightSmall" text="Buyout Price">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="10" y="-141"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
|
|
<FontString name="Atr_Batch_Stacksize_Text" inherits="GameFontNormal" text="stacks of" justifyH="CENTER">
|
|
<Size><AbsDimension x="82" y="22"/></Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="55" y="-204"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
|
|
<FontString name="Atr_Duration_Text" inherits="GameFontHighlightSmall" text="Duration">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="10" y="-272"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
|
|
<FontString name="Atr_Deposit_Text" inherits="GameFontHighlightSmall" text="">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="10" y="-341"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
|
|
</Layer>
|
|
</Layers>
|
|
|
|
<Frames>
|
|
<Button name="$parent_Tex">
|
|
<Size><AbsDimension x="37" y="37"/></Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="11" y="-23"/></Offset></Anchor></Anchors>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<FontString name="$parentName" inherits="GameFontNormal">
|
|
<Size><AbsDimension x="124" y="30"/></Size>
|
|
<Anchors><Anchor point="TOPLEFT" relativePoint="TOPRIGHT"><Offset><AbsDimension x="5" y="0"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
|
|
<FontString name="$parentCount" inherits="NumberFontNormal" justifyH="RIGHT" hidden="true">
|
|
<Anchors><Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-5" y="2"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this:RegisterEvent("NEW_AUCTION_UPDATE");
|
|
this:RegisterForDrag("LeftButton");
|
|
</OnLoad>
|
|
<OnEvent>Atr_SellItemButton_OnEvent(this, event);</OnEvent>
|
|
<OnClick>Atr_SellItemButton_OnClick(this, arg1);</OnClick>
|
|
<OnDragStart>Atr_SellItemButton_OnClick(this, "LeftButton");</OnDragStart>
|
|
<OnReceiveDrag>Atr_SellItemButton_OnClick(this, "LeftButton");</OnReceiveDrag>
|
|
<OnEnter>Atr_ShowRecTooltip(this);</OnEnter>
|
|
<OnLeave>Atr_HideRecTooltip();</OnLeave>
|
|
</Scripts>
|
|
<HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Square"/>
|
|
</Button>
|
|
|
|
<Frame name="Atr_StackPrice" inherits="MoneyInputFrameTemplate">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="Atr_StackPriceText" relativePoint="BOTTOMLEFT">
|
|
<Offset><AbsDimension x="8" y="-2"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
MoneyInputFrame_SetOnvalueChangedFunc(this, Atr_StackPriceChangedFunc);
|
|
Atr_StackPriceGold:SetJustifyH("CENTER");
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<Frame name="Atr_StartingPrice" inherits="MoneyInputFrameTemplate">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="Atr_StartingPriceText" relativePoint="BOTTOMLEFT">
|
|
<Offset><AbsDimension x="5" y="-2"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
Atr_StartingPriceGold:SetJustifyH("CENTER");
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<CheckButton name="Atr_PricePerItemCheck" inherits="UICheckButtonTemplate" hidden="true">
|
|
<Size><AbsDimension x="24" y="24"/></Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="12" y="-70"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Text"):SetText(ZT("Price per item"));
|
|
</OnLoad>
|
|
<OnClick>Atr_PricePerItemCheck_OnClick();</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
|
|
<EditBox name="Atr_Batch_NumAuctions" autoFocus="false" numeric="true" inherits="InputBoxTemplate">
|
|
<Size><AbsDimension x="40" y="20"/></Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="Atr_Batch_Stacksize_Text">
|
|
<Offset><AbsDimension x="-37" y="0"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<FontString inherits="ChatFontNormal" bytes="64" justifyH="CENTER" />
|
|
<Scripts>
|
|
<OnTextChanged> Atr_NumAuctionsChangedFunc() </OnTextChanged>
|
|
<OnTabPressed> Atr_Batch_Stacksize:SetFocus() </OnTabPressed>
|
|
</Scripts>
|
|
</EditBox>
|
|
|
|
|
|
<EditBox name="Atr_Batch_Stacksize" autoFocus="false" numeric="true" inherits="InputBoxTemplate">
|
|
<Size><AbsDimension x="40" y="20"/></Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="Atr_Batch_Stacksize_Text">
|
|
<Offset><AbsDimension x="84" y="0"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<FontString inherits="ChatFontNormal" bytes="64" justifyH="CENTER" />
|
|
<Scripts>
|
|
<OnTextChanged> Atr_StackSizeChangedFunc() </OnTextChanged>
|
|
<OnTabPressed> Atr_Batch_NumAuctions:SetFocus() </OnTabPressed>
|
|
</Scripts>
|
|
</EditBox>
|
|
|
|
<Button name="Atr_Batch_MaxAuctions_Text" inherits="UIPanelButtonTemplate">
|
|
<Size><AbsDimension x="60" y="16"/></Size>
|
|
<Anchors><Anchor point="TOP" relativeTo="Atr_Batch_NumAuctions" relativePoint="BOTTOM"><Offset><AbsDimension x="0" y="-2"/></Offset></Anchor></Anchors>
|
|
<NormalFont inherits="GameFontNormalSmall"/>
|
|
<HighlightFont inherits="GameFontHighlightSmall"/>
|
|
<DisabledFont inherits="GameFontDisableSmall"/>
|
|
<Scripts>
|
|
<OnClick>Atr_MaxNumAuctions_OnClick();</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Button name="Atr_Batch_MaxStacksize_Text" inherits="UIPanelButtonTemplate">
|
|
<Size><AbsDimension x="60" y="16"/></Size>
|
|
<Anchors><Anchor point="TOP" relativeTo="Atr_Batch_Stacksize" relativePoint="BOTTOM"><Offset><AbsDimension x="0" y="-2"/></Offset></Anchor></Anchors>
|
|
<NormalFont inherits="GameFontNormalSmall"/>
|
|
<HighlightFont inherits="GameFontHighlightSmall"/>
|
|
<DisabledFont inherits="GameFontDisableSmall"/>
|
|
<Scripts>
|
|
<OnClick>Atr_MaxStacksize_OnClick();</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Button name="Atr_CreateAuctionButton" inherits="UIPanelButtonTemplate" text="Create Auction" disabled="true">
|
|
<Size><AbsDimension x="185" y="30"/> </Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="3" y="-297"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
Atr_CreateAuction_OnClick();
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Frame name="Atr_Duration" inherits="UIDropDownMenuTemplate">
|
|
<Anchors><Anchor point="TOPLEFT" relativeTo="Atr_Duration_Text"><Offset><AbsDimension x="32" y="7"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnLoad>Atr_Duration_OnLoad(this);</OnLoad>
|
|
<OnShow>Atr_Duration_OnShow(this);</OnShow>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<Frame name="Atr_Hilite1" hidden="true">
|
|
<Size><AbsDimension x="804" y="340" /></Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"><Offset><AbsDimension x="2" y="3"/></Offset></Anchor>
|
|
</Anchors>
|
|
|
|
<Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border">
|
|
<EdgeSize>
|
|
<AbsValue val="16"/>
|
|
</EdgeSize>
|
|
</Backdrop>
|
|
</Frame>
|
|
|
|
<!-- covers the entire Sell pane so a dragged item can be dropped anywhere on it,
|
|
but stays mouse-transparent (toggled every frame in Atr_OnUpdate) whenever
|
|
nothing's actually being dragged, so it never blocks the normal
|
|
buttons/inputs underneath it -->
|
|
<Button name="Atr_SellDropZone">
|
|
<Size><AbsDimension x="804" y="340" /></Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"><Offset><AbsDimension x="2" y="3"/></Offset></Anchor>
|
|
</Anchors>
|
|
|
|
<Scripts>
|
|
<OnLoad>
|
|
this:RegisterForDrag("LeftButton");
|
|
this:EnableMouse(false);
|
|
</OnLoad>
|
|
<OnClick> Atr_OnDropItem(); Atr_Hilite1:Hide(); </OnClick>
|
|
<OnReceiveDrag> Atr_OnDropItem(); Atr_Hilite1:Hide(); </OnReceiveDrag>
|
|
<OnEnter>
|
|
if (CursorHasItem()) then
|
|
Atr_Hilite1:Show();
|
|
end;
|
|
</OnEnter>
|
|
<OnLeave>
|
|
Atr_Hilite1:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
|
|
</Button>
|
|
|
|
</Frames>
|
|
</Frame>
|
|
|
|
|
|
<!--
|
|
<Button inherits="UIPanelButtonTemplate" text="T1" disabled="true">
|
|
<Size><AbsDimension x="30" y="20"/> </Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="-5" y="-412"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnClick>Atr_Test1()</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Button inherits="UIPanelButtonTemplate" text="T2" disabled="true">
|
|
<Size><AbsDimension x="30" y="20"/> </Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="25" y="-412"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnClick>Atr_Test2()</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Button inherits="UIPanelButtonTemplate" text="T3" disabled="true">
|
|
<Size><AbsDimension x="30" y="20"/> </Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="55" y="-412"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnClick>Atr_Test3()</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
-->
|
|
|
|
|
|
<Button name="Atr_RecommendItem_Tex">
|
|
<Size><AbsDimension x="37" y="37"/></Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="24" y="-87"/></Offset></Anchor></Anchors>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<FontString name="$parentCount" inherits="NumberFontNormal" justifyH="RIGHT" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-5" y="2"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnEnter>Atr_ShowRecTooltip();</OnEnter>
|
|
<OnLeave>Atr_HideRecTooltip();</OnLeave>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Button name="Atr_AddToSListButton" inherits="UIPanelButtonTemplate" text="Add Item To List" disabled="true">
|
|
<Size><AbsDimension x="195" y="20"/> </Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="-195" y="-329"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnClick>Atr_AddToSListOnClick();</OnClick>
|
|
</Scripts>
|
|
<NormalFont inherits="GameFontNormalSmall"/>
|
|
<HighlightFont inherits="GameFontHighlightSmall"/>
|
|
<DisabledFont inherits="GameFontDisableSmall"/>
|
|
</Button>
|
|
|
|
<Button name="Atr_RemFromSListButton" inherits="UIPanelButtonTemplate" text="Remove Item From List" disabled="true">
|
|
<Size><AbsDimension x="195" y="20"/> </Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="-195" y="-349"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnClick>Atr_RemFromSListOnClick();</OnClick>
|
|
</Scripts>
|
|
<NormalFont inherits="GameFontNormalSmall"/>
|
|
<HighlightFont inherits="GameFontHighlightSmall"/>
|
|
<DisabledFont inherits="GameFontDisableSmall"/>
|
|
</Button>
|
|
|
|
|
|
<Button name="Atr_DelSListButton" inherits="UIPanelButtonTemplate" text="Delete Shopping List" disabled="true">
|
|
<Size><AbsDimension x="195" y="20"/> </Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="-195" y="-369"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnClick>Atr_DelSList_OnClick();</OnClick>
|
|
</Scripts>
|
|
<NormalFont inherits="GameFontNormalSmall"/>
|
|
<HighlightFont inherits="GameFontHighlightSmall"/>
|
|
<DisabledFont inherits="GameFontDisableSmall"/>
|
|
</Button>
|
|
|
|
|
|
<Button name="Atr_NewSListButton" inherits="UIPanelButtonTemplate" text="New Shopping List">
|
|
<Size><AbsDimension x="195" y="20"/> </Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="-195" y="-389"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnClick>Atr_NewSlist_OnClick();</OnClick>
|
|
</Scripts>
|
|
<NormalFont inherits="GameFontNormalSmall"/>
|
|
<HighlightFont inherits="GameFontHighlightSmall"/>
|
|
<DisabledFont inherits="GameFontDisableSmall"/>
|
|
</Button>
|
|
|
|
|
|
|
|
<Frame>
|
|
<Size><AbsDimension x="120" y="20" /></Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="Atr_Recommend_Text">
|
|
<Offset><AbsDimension x="-8" y="-24"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Frames>
|
|
<Frame name="Atr_RecommendPerStack_Price" inherits="SmallMoneyFrameTemplate">
|
|
<Size><AbsDimension x="120" y="16" /></Size>
|
|
<Anchors><Anchor point="RIGHT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor></Anchors>
|
|
<Scripts><OnLoad>AuctionatorMoneyFrame_OnLoad();</OnLoad></Scripts>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame>
|
|
<Size><AbsDimension x="120" y="20" /></Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="Atr_Recommend_Text">
|
|
<Offset><AbsDimension x="-8" y="-46"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Frames>
|
|
<Frame name="Atr_RecommendPerItem_Price" inherits="SmallMoneyFrameTemplate">
|
|
<Size><AbsDimension x="120" y="16" /></Size>
|
|
<Anchors><Anchor point="RIGHT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor></Anchors>
|
|
<Scripts><OnLoad>AuctionatorMoneyFrame_OnLoad();</OnLoad></Scripts>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="Atr_RecommendDeposit_Price" inherits="SmallMoneyFrameTemplate" hidden="true">
|
|
<Size><AbsDimension x="120" y="16" /></Size>
|
|
<Anchors><Anchor point="TOPRIGHT"><Offset><AbsDimension x="-20" y="-123"/></Offset></Anchor></Anchors>
|
|
<Scripts><OnLoad>AuctionatorMoneyFrame_OnLoad();</OnLoad></Scripts>
|
|
</Frame>
|
|
|
|
|
|
|
|
<Button name="AuctionatorCloseButton" inherits="UIPanelButtonTemplate" text="CLOSE">
|
|
<Size><AbsDimension x="80" y="22"/></Size>
|
|
<Anchors><Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT"><Offset><AbsDimension x="66" y="14"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnClick>HideUIPanel(this:GetParent():GetParent());</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Button name="Atr_CancelSelectionButton" inherits="UIPanelButtonTemplate" text="Cancel Auctions">
|
|
<Size><AbsDimension x="113" y="22"/> </Size>
|
|
<Anchors><Anchor point="RIGHT" relativeTo="AuctionatorCloseButton" relativePoint="LEFT"><Offset><AbsDimension x="2" y="0"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
Atr_CancelSelection_OnClick();
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalFont inherits="GameFontNormalSmall"/>
|
|
<HighlightFont inherits="GameFontHighlightSmall"/>
|
|
<DisabledFont inherits="GameFontDisableSmall"/>
|
|
</Button>
|
|
|
|
<Button name="Atr_Buy1_Button" text="Buy" inherits="UIPanelButtonTemplate" >
|
|
<Size><AbsDimension x="90" y="22"/> </Size>
|
|
<Anchors><Anchor point="RIGHT" relativeTo="Atr_CancelSelectionButton" relativePoint="LEFT"><Offset><AbsDimension x="4" y="0"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnClick>Atr_Buy1_Onclick();</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
|
|
<ScrollFrame name="AuctionatorScrollFrame" inherits="FauxScrollFrameTemplate">
|
|
<Size><AbsDimension x="588" y="196"/></Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="-213"/></Offset></Anchor></Anchors>
|
|
|
|
<Scripts>
|
|
<OnVerticalScroll>
|
|
FauxScrollFrame_OnVerticalScroll(16, Atr_RedisplayAuctions);
|
|
</OnVerticalScroll>
|
|
</Scripts>
|
|
</ScrollFrame>
|
|
|
|
|
|
|
|
<Button name="AuctionatorEntry1" inherits="AuctionatorEntryTemplate">
|
|
<Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorScrollFrame" relativePoint="TOPLEFT"><Offset><AbsDimension x="8" y="0"/></Offset></Anchor></Anchors>
|
|
</Button>
|
|
<Button name="AuctionatorEntry2" inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry1" relativePoint="BOTTOMLEFT"/></Anchors></Button>
|
|
<Button name="AuctionatorEntry3" inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry2" relativePoint="BOTTOMLEFT"/></Anchors></Button>
|
|
<Button name="AuctionatorEntry4" inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry3" relativePoint="BOTTOMLEFT"/></Anchors></Button>
|
|
<Button name="AuctionatorEntry5" inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry4" relativePoint="BOTTOMLEFT"/></Anchors></Button>
|
|
<Button name="AuctionatorEntry6" inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry5" relativePoint="BOTTOMLEFT"/></Anchors></Button>
|
|
<Button name="AuctionatorEntry7" inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry6" relativePoint="BOTTOMLEFT"/></Anchors></Button>
|
|
<Button name="AuctionatorEntry8" inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry7" relativePoint="BOTTOMLEFT"/></Anchors></Button>
|
|
<Button name="AuctionatorEntry9" inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry8" relativePoint="BOTTOMLEFT"/></Anchors></Button>
|
|
<Button name="AuctionatorEntry10" inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry9" relativePoint="BOTTOMLEFT"/></Anchors></Button>
|
|
<Button name="AuctionatorEntry11" inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry10" relativePoint="BOTTOMLEFT"/></Anchors></Button>
|
|
<Button name="AuctionatorEntry12" inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry11" relativePoint="BOTTOMLEFT"/></Anchors></Button>
|
|
<Button name="AuctionatorEntry13" inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry12" relativePoint="BOTTOMLEFT"/></Anchors></Button>
|
|
<Button name="AuctionatorEntry14" inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry13" relativePoint="BOTTOMLEFT"/></Anchors></Button>
|
|
<Button name="AuctionatorEntry15" inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry14" relativePoint="BOTTOMLEFT"/></Anchors></Button>
|
|
|
|
<Frame name="Atr_HeadingsBar">
|
|
<Size><AbsDimension x="605" y="64"/></Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="6" y="-163"/></Offset></Anchor></Anchors>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
|
|
<Texture name="$parentMiddle" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame">
|
|
<Size><AbsDimension x="605" y="64"/></Size>
|
|
<TexCoords left="0.1953125" right="0.8046875" top="0" bottom="1"/>
|
|
</Texture>
|
|
|
|
<FontString name="Atr_Col1_Heading" inherits="GameFontHighlightSmall" text="Item Price" hidden="true" justifyH="CENTER">
|
|
<Size><AbsDimension x="100"/></Size>
|
|
<Anchors><Anchor point="LEFT" relativePoint="LEFT" relativeTo="$parentMiddle"><Offset><AbsDimension x="40" y="1"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
|
|
<FontString name="Atr_Col3_Heading" inherits="GameFontHighlightSmall" text="Current Auctions" hidden="true">
|
|
<Anchors><Anchor point="LEFT" relativePoint="LEFT" relativeTo="$parentMiddle"><Offset><AbsDimension x="175" y="1"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
|
|
<FontString name="Atr_Col4_Heading" inherits="GameFontHighlightSmall" text="Total Price" hidden="true">
|
|
<Anchors><Anchor point="LEFT" relativePoint="LEFT" relativeTo="$parentMiddle"><Offset><AbsDimension x="500" y="1"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
|
|
<Frames>
|
|
<Button name="Atr_Back_Button" text="Back" inherits="UIPanelButtonTemplate" hidden="true">
|
|
<Size><AbsDimension x="70" y="18"/></Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="8" y="5"/></Offset></Anchor></Anchors>
|
|
<Scripts><OnClick>Atr_Onclick_Back()</OnClick></Scripts>
|
|
<NormalFont inherits="GameFontNormalSmall"/>
|
|
<HighlightFont inherits="GameFontHighlightSmall"/>
|
|
<DisabledFont inherits="GameFontDisableSmall"/>
|
|
</Button>
|
|
|
|
<Button name="Atr_Col1_Heading_Button" text="Lowest Price" inherits="Atr_Col_Heading_Template" hidden="true">
|
|
<Size><AbsDimension x="100" y="20"/></Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="46" y="-21"/></Offset></Anchor></Anchors>
|
|
<Scripts><OnClick>Atr_Onclick_Col1()</OnClick></Scripts>
|
|
</Button>
|
|
|
|
<Button name="Atr_Col3_Heading_Button" text="Item Name" inherits="Atr_Col_Heading_Template" hidden="true">
|
|
<Size><AbsDimension x="108" y="20"/></Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="172" y="-21"/></Offset></Anchor></Anchors>
|
|
<Scripts><OnClick>Atr_Onclick_Col3()</OnClick></Scripts>
|
|
</Button>
|
|
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="Atr_ListTabs" hidden="true">
|
|
<Size><AbsDimension x="250" y="40"/></Size>
|
|
<Anchors><Anchor point="BOTTOMRIGHT" relativeTo="Atr_HeadingsBar" relativePoint="TOPRIGHT"><Offset><AbsDimension x="0" y="-22"/></Offset></Anchor></Anchors>
|
|
|
|
<Frames>
|
|
<Button name="$parentTab3" inherits="TabButtonTemplate" id="3" text="Other">
|
|
<Anchors><Anchor point="BOTTOMRIGHT" ><Offset><AbsDimension x="-8" y="0"/></Offset></Anchor></Anchors>
|
|
<Scripts><OnClick>PanelTemplates_SetTab(Atr_ListTabs, 3);Atr_ShowWhichRB(3);</OnClick></Scripts>
|
|
</Button>
|
|
<Button name="$parentTab2" inherits="TabButtonTemplate" id="2" text="Past">
|
|
<Anchors><Anchor point="RIGHT" relativeTo="$parentTab3" relativePoint="LEFT"><Offset><AbsDimension x="-2" y="0"/></Offset></Anchor></Anchors>
|
|
<Scripts><OnClick>PanelTemplates_SetTab(Atr_ListTabs, 2);Atr_ShowWhichRB(2);</OnClick></Scripts>
|
|
</Button>
|
|
<Button name="$parentTab1" inherits="TabButtonTemplate" id="1" text="Current">
|
|
<Anchors><Anchor point="RIGHT" relativeTo="$parentTab2" relativePoint="LEFT"><Offset><AbsDimension x="-2" y="0"/></Offset></Anchor></Anchors>
|
|
<Scripts><OnClick>PanelTemplates_SetTab(Atr_ListTabs, 1);Atr_ShowWhichRB(1);</OnClick></Scripts>
|
|
</Button>
|
|
</Frames>
|
|
<Scripts>
|
|
<OnLoad>
|
|
PanelTemplates_SetNumTabs(Atr_ListTabs, 3);
|
|
PanelTemplates_SetTab(Atr_ListTabs, 1);
|
|
</OnLoad>
|
|
<OnShow>
|
|
PlaySound("UChatScrollButton");
|
|
PanelTemplates_SetTab(Atr_ListTabs, 1);
|
|
</OnShow>
|
|
<OnHide>
|
|
PlaySound("UChatScrollButton");
|
|
</OnHide>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
|
|
</Frames>
|
|
</Frame>
|
|
|
|
|
|
|
|
<!-- Buy Confirmation screen -->
|
|
|
|
<Frame name="Atr_Buy_Confirm_Frame" inherits="AuctionatorDialog" toplevel="true" parent="UIParent" frameStrata="FULLSCREEN_DIALOG" enableMouse="true" hidden="true">
|
|
<Size><AbsDimension x="390" y="180" /></Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="270" y="-290"/></Offset></Anchor></Anchors>
|
|
|
|
<Scripts>
|
|
<OnUpdate>
|
|
Atr_Buy_Confirm_Update();
|
|
</OnUpdate>
|
|
</Scripts>
|
|
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString name="Atr_Buy_Confirm_ItemName" inherits="GameFontNormal">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="40" y="-34"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
|
|
<Frames>
|
|
|
|
<Frame name="Atr_Buy_Part1">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"> <Offset><AbsDimension x="0" y="0" /></Offset></Anchor>
|
|
<Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="0" y="40"/></Offset></Anchor>
|
|
</Anchors>
|
|
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString name="Atr_Buy_Confirm_Text1" inherits="GameFontNormal" text="Buy">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="70" y="-79"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
|
|
<FontString name="Atr_Buy_Confirm_Max_Text" inherits="GameFontDarkGraySmall">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="110" y="-97"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
|
|
<FontString name="Atr_Buy_Confirm_Text2" inherits="GameFontNormal" text="stacks for:">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="160" y="-79"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
|
|
<Frames>
|
|
<Frame name="Atr_Buy_Confirm_TotalPrice" inherits="SmallMoneyFrameTemplate">
|
|
<Size><AbsDimension x="125" y="16" /></Size>
|
|
<Anchors><Anchor point="TOPLEFT" relativeTo="Atr_Buy_Confirm_Text1"><Offset><AbsDimension x="160" y="2"/></Offset></Anchor></Anchors>
|
|
<Scripts><OnLoad>AuctionatorMoneyFrame_OnLoad();</OnLoad></Scripts>
|
|
</Frame>
|
|
|
|
|
|
<EditBox name="Atr_Buy_Confirm_Numstacks" autoFocus="false" numeric="true" inherits="InputBoxTemplate">
|
|
<Size><AbsDimension x="40" y="20"/></Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="Atr_Buy_Confirm_Text1">
|
|
<Offset><AbsDimension x="40" y="4"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<FontString inherits="ChatFontNormal" bytes="64" justifyH="CENTER" />
|
|
</EditBox>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="Atr_Buy_Part2">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"> <Offset><AbsDimension x="0" y="0" /></Offset></Anchor>
|
|
<Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="0" y="40"/></Offset></Anchor>
|
|
</Anchors>
|
|
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString name="Atr_Buy_Continue_Text" inherits="GameFontNormal">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="60" y="-79"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
|
|
<Button name="Atr_Buy_Confirm_CancelBut" inherits="UIPanelButtonTemplate" text="CANCEL">
|
|
<Size><AbsDimension x="80" y="22"/></Size>
|
|
<Anchors><Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-20" y="25"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
Atr_Buy_Cancel();
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Button name="Atr_Buy_Confirm_OKBut" inherits="UIPanelButtonTemplate" text="Buy">
|
|
<Size><AbsDimension x="80" y="22"/></Size>
|
|
<Anchors><Anchor point="RIGHT" relativeTo="Atr_Buy_Confirm_CancelBut" relativePoint="LEFT"><Offset><AbsDimension x="-10"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
Atr_Buy_Confirm_OK();
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
|
|
<!-- Check Active screen -->
|
|
|
|
<Frame name="Atr_CheckActives_Frame" inherits="AuctionatorDialog" toplevel="true" parent="UIParent" frameStrata="FULLSCREEN_DIALOG" enableMouse="true" hidden="true">
|
|
<Size><AbsDimension x="320" y="190" /></Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="70" y="-300"/></Offset></Anchor></Anchors>
|
|
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString inherits="GameFontNormal" text="Automatically cancel all of your auctions|n|nthat are not the lowest priced?">
|
|
<Size><AbsDimension x="310" y="50"/></Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="5" y="-34"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
|
|
<Frames>
|
|
<Button inherits="UIPanelButtonTemplate" text="Yes, cancel them">
|
|
<Size><AbsDimension x="210" y="22"/></Size>
|
|
<Anchors><Anchor point="BOTTOM"><Offset><AbsDimension y="65"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnClick>Atr_Cancel_Undercuts_OnClick();</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Button inherits="UIPanelButtonTemplate" text="No, leave them">
|
|
<Size><AbsDimension x="210" y="22"/></Size>
|
|
<Anchors><Anchor point="BOTTOM"><Offset><AbsDimension y="30"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnClick>Atr_CheckActives_Frame:Hide();</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<!-- Confirm Cancel Auction screen -->
|
|
|
|
<Frame name="Atr_CancelAuction_Confirm_Frame" inherits="AuctionatorDialog" toplevel="true" parent="UIParent" enableMouse="true" frameStrata="DIALOG" hidden="true">
|
|
<Size><AbsDimension x="340" y="115" /></Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="40" y="-390"/></Offset></Anchor></Anchors>
|
|
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString inherits="GameFontNormal" name="$parent_text" spacing="3" text="Really cancel?">
|
|
<Anchors><Anchor point="CENTER"><Offset><AbsDimension y="10"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
|
|
<Frames>
|
|
<Button inherits="UIPanelButtonTemplate" text="Leave it">
|
|
<Size><AbsDimension x="60" y="22"/></Size>
|
|
<Anchors><Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-50" y="16"/></Offset></Anchor></Anchors>
|
|
<Scripts><OnClick>Atr_CancelUndercut_Confirm(false);</OnClick></Scripts>
|
|
</Button>
|
|
<Button inherits="UIPanelButtonTemplate" text="Cancel My Auction">
|
|
<Size><AbsDimension x="60" y="22"/></Size>
|
|
<Anchors><Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-150" y="16"/></Offset></Anchor></Anchors>
|
|
<Scripts><OnClick>Atr_CancelUndercut_Confirm(true);</OnClick></Scripts>
|
|
</Button>
|
|
</Frames>
|
|
|
|
</Frame>
|
|
|
|
|
|
<!-- Cancel Auction Count dialog -->
|
|
|
|
<Frame name="Atr_CancelCountFrame" inherits="AuctionatorDialog" toplevel="true" parent="UIParent" enableMouse="true" frameStrata="DIALOG" hidden="true">
|
|
<Size><AbsDimension x="260" y="120" /></Size>
|
|
<!-- anchored dynamically in Lua (Atr_CancelSelection_OnClick), relative to AuctionFrame,
|
|
right before showing - AuctionFrame may not exist yet when this XML first parses, so
|
|
a static relativeTo="AuctionFrame" anchor here can't be trusted to resolve -->
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="40" y="-390"/></Offset></Anchor></Anchors>
|
|
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString inherits="GameFontNormal" text="Cancel how many auctions?">
|
|
<Anchors><Anchor point="TOP"><Offset><AbsDimension y="-16"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
<FontString name="Atr_CancelCount_Label" inherits="GameFontHighlight" text="Number to cancel:">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="20" y="-56"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
|
|
<Frames>
|
|
|
|
<EditBox name="Atr_CancelCount_Box" autoFocus="false" numeric="true" inherits="InputBoxTemplate">
|
|
<Size><AbsDimension x="50" y="20"/></Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="Atr_CancelCount_Label" relativePoint="RIGHT">
|
|
<Offset><AbsDimension x="8" y="0"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<FontString inherits="ChatFontNormal" bytes="8" justifyH="CENTER" />
|
|
<Scripts>
|
|
<OnEscapePressed>this:ClearFocus();</OnEscapePressed>
|
|
<OnEnterPressed>Atr_CancelCount_OnClick();</OnEnterPressed>
|
|
</Scripts>
|
|
</EditBox>
|
|
|
|
<Button name="Atr_CancelCount_OKButton" inherits="UIPanelButtonTemplate" text="OK">
|
|
<Size><AbsDimension x="70" y="22"/></Size>
|
|
<Anchors><Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-20" y="16"/></Offset></Anchor></Anchors>
|
|
<Scripts><OnClick>Atr_CancelCount_OnClick();</OnClick></Scripts>
|
|
</Button>
|
|
|
|
<Button inherits="UIPanelButtonTemplate" text="Cancel">
|
|
<Size><AbsDimension x="70" y="22"/></Size>
|
|
<Anchors><Anchor point="RIGHT" relativeTo="Atr_CancelCount_OKButton" relativePoint="LEFT"><Offset><AbsDimension x="-4" y="0"/></Offset></Anchor></Anchors>
|
|
<Scripts><OnClick>Atr_CancelCountFrame:Hide();</OnClick></Scripts>
|
|
</Button>
|
|
|
|
</Frames>
|
|
|
|
</Frame>
|
|
|
|
|
|
<!-- -->
|
|
|
|
<Font name="GameFontLightGraySmall" inherits="GameFontNormalSmall" virtual="true">
|
|
<Color r="0.8" g="0.8" b="0.8"/>
|
|
</Font>
|
|
|
|
|
|
<Frame name="Atr_FullScanFrame" inherits="AuctionatorDialog" toplevel="true" parent="UIParent" frameStrata="DIALOG" enableMouse="true" hidden="true">
|
|
<Size><AbsDimension x="460" y="420" /></Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="220" y="-130"/></Offset></Anchor></Anchors>
|
|
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<Texture file="Interface\DialogFrame\UI-DialogBox-Header">
|
|
<Size><AbsDimension x="310" y="64"/></Size>
|
|
<Anchors><Anchor point="TOP"><Offset><AbsDimension x="0" y="12"/></Offset></Anchor></Anchors>
|
|
</Texture>
|
|
<FontString inherits="GameFontNormal" text="Full Scan">
|
|
<Anchors><Anchor point="TOP"><Offset><AbsDimension x="0" y="-2"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
<FontString name="Atr_FullScanNextLabel" inherits="GameFontNormal" text="Next scan allowed:">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="27" y="-55"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
<FontString name="Atr_FullScanNext" inherits="GameFontHighlight">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="150" y="-55"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
<FontString name="Atr_FullScanDBwhenLabel" inherits="GameFontNormal" text="Last scan:">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="27" y="-80"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
<FontString name="Atr_FullScanDBwhen" inherits="GameFontHighlight">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="150" y="-80"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
<FontString name="Atr_FullScanDBsizeLabel" inherits="GameFontNormal" text="Items in database:">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="27" y="-105"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
<FontString name="Atr_FullScanDBsize" inherits="GameFontHighlight">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="150" y="-105"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
<FontString name="Atr_FullScanMinLevelLabel" inherits="GameFontNormal" text="Only scan this and higher:">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="27" y="-130"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
<FontString name="Atr_FullScanStatus" inherits="GameFontNormal" text="">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="27" y="-165"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
<FontString name="Atr_FullScanLinkLabel" inherits="GameFontNormal" text="Link you can copy:">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="27" y="-350"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
|
|
</Layers>
|
|
|
|
<Frames>
|
|
|
|
<Frame name="Atr_scanLevelDD" inherits="UIDropDownMenuTemplate">
|
|
<Size><AbsDimension x="280" y="22" /></Size>
|
|
<Anchors><Anchor point="LEFT" relativeTo="Atr_FullScanMinLevelLabel" relativePoint="RIGHT"><Offset><AbsDimension x="-10" y="-2"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
UIDropDownMenu_Initialize(this, Atr_scanLevelDD_Initialize);
|
|
UIDropDownMenu_SetSelectedValue(Atr_scanLevelDD, 1);
|
|
UIDropDownMenu_JustifyText ("LEFT", Atr_scanLevelDD);
|
|
</OnLoad>
|
|
<OnEnter> Atr_scanLevelDD_showTip(this); </OnEnter>
|
|
<OnLeave> GameTooltip:Hide(); </OnLeave>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<Button name="Atr_FullScanDone" inherits="UIPanelButtonTemplate" text="Done">
|
|
<Size><AbsDimension x="80" y="22"/> </Size>
|
|
<Anchors><Anchor point="TOPRIGHT"><Offset><AbsDimension x="-30" y="-165"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
Atr_FullScanFrame:Hide();
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Button name="Atr_FullScanStartButton" inherits="UIPanelButtonTemplate" text="Start Scanning">
|
|
<Size><AbsDimension x="120" y="22"/> </Size>
|
|
<Anchors><Anchor point="RIGHT" relativeTo="Atr_FullScanDone" relativePoint="LEFT"><Offset><AbsDimension x="-4" y="0"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
Atr_FullScanStart();
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<SimpleHTML name="Atr_FullScanHTML">
|
|
<Size><AbsDimension x="405" y="300" /></Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="27" y="-200"/></Offset></Anchor></Anchors>
|
|
<FontString inherits="GameFontLightGraySmall"/>
|
|
<FontStringHeader1 inherits="GameFontNormal"/>
|
|
</SimpleHTML>
|
|
|
|
<!-- WoW can't open external links from in-game, so this is the usual addon workaround:
|
|
a read-only EditBox showing just the URL, so the player can click in, Ctrl+A,
|
|
Ctrl+C it out to paste into a real browser themselves -->
|
|
<EditBox name="Atr_FullScanLinkBox" autoFocus="false">
|
|
<Size><AbsDimension x="380" y="20"/></Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="27" y="-365"/></Offset></Anchor></Anchors>
|
|
<FontString inherits="ChatFontNormal"/>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this:SetText ("https://github.com/brues-code/AuctionQueryThrottle");
|
|
</OnLoad>
|
|
<OnEditFocusGained>
|
|
this:HighlightText();
|
|
</OnEditFocusGained>
|
|
<OnEscapePressed>
|
|
this:ClearFocus();
|
|
</OnEscapePressed>
|
|
<OnTextChanged>
|
|
Atr_FullScanLinkBox_OnTextChanged();
|
|
</OnTextChanged>
|
|
</Scripts>
|
|
</EditBox>
|
|
|
|
<Frame name="Atr_FullScanResults" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"><Offset><AbsDimension y="-220" x="70"/></Offset></Anchor>
|
|
<Anchor point="BOTTOMRIGHT"><Offset><AbsDimension y="30" x="-70"/></Offset></Anchor>
|
|
</Anchors>
|
|
|
|
<Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border">
|
|
<EdgeSize><AbsValue val="16"/></EdgeSize>
|
|
</Backdrop>
|
|
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
|
|
<FontString name="Atr_FSR_scanned_text" inherits="GameFontNormal" text="Auctions scanned:">
|
|
<Anchors><Anchor point="TOPRIGHT"><Offset><AbsDimension x="-170" y="-40"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
|
|
<FontString name="Atr_FSR_scanned_count" inherits="GameFontHighlight" text="">
|
|
<Anchors><Anchor point="LEFT" relativeTo="Atr_FSR_scanned_text" relativePoint="RIGHT"><Offset><AbsDimension x="15"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
|
|
<FontString name="Atr_FSR_added_text" inherits="GameFontNormal" text="Items added:">
|
|
<Anchors><Anchor point="TOPRIGHT"><Offset><AbsDimension x="-170" y="-65"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
|
|
<FontString name="Atr_FSR_added_count" inherits="GameFontHighlight">
|
|
<Anchors><Anchor point="LEFT" relativeTo="Atr_FSR_added_text" relativePoint="RIGHT"><Offset><AbsDimension x="15"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
|
|
<FontString name="Atr_FSR_updated_text" inherits="GameFontNormal" text="Items updated:">
|
|
<Anchors><Anchor point="TOPRIGHT"><Offset><AbsDimension x="-170" y="-90"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
|
|
<FontString name="Atr_FSR_updated_count" inherits="GameFontHighlight">
|
|
<Anchors><Anchor point="LEFT" relativeTo="Atr_FSR_updated_text" relativePoint="RIGHT"><Offset><AbsDimension x="15"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
|
|
<FontString name="Atr_FSR_ignored_text" inherits="GameFontNormal" text="Items ignored:">
|
|
<Anchors><Anchor point="TOPRIGHT"><Offset><AbsDimension x="-170" y="-115"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
|
|
<FontString name="Atr_FSR_ignored_count" inherits="GameFontHighlight">
|
|
<Anchors><Anchor point="LEFT" relativeTo="Atr_FSR_ignored_text" relativePoint="RIGHT"><Offset><AbsDimension x="15"/></Offset></Anchor></Anchors>
|
|
</FontString>
|
|
|
|
</Layer>
|
|
</Layers>
|
|
|
|
|
|
</Frame>
|
|
|
|
</Frames>
|
|
|
|
</Frame>
|
|
|
|
|
|
|
|
|
|
|
|
</Ui>
|