test
This commit is contained in:
@@ -80,7 +80,7 @@ function AuctionatorBuyBuySelectedButton_OnClick()
|
|||||||
processScanResults(data)
|
processScanResults(data)
|
||||||
Auctionator_Buy_ScrollbarUpdate()
|
Auctionator_Buy_ScrollbarUpdate()
|
||||||
AuctionatorBuySearchButton:Enable()
|
AuctionatorBuySearchButton:Enable()
|
||||||
Auctionator_Buy_ShowReport(false, orderedCount, purchasedCount)
|
Auctionator_Buy_ShowReport(true, orderedCount, purchasedCount)
|
||||||
end,
|
end,
|
||||||
onAbort = function()
|
onAbort = function()
|
||||||
AuctionatorBuySearchButton:Enable()
|
AuctionatorBuySearchButton:Enable()
|
||||||
@@ -202,14 +202,12 @@ function Auctionator_Buy_ScrollbarUpdate()
|
|||||||
|
|
||||||
AuctionatorBuyReportHTML:SetText("<html><body>"
|
AuctionatorBuyReportHTML:SetText("<html><body>"
|
||||||
.."<h1>Auctionator Buy Report</h1><br/>"
|
.."<h1>Auctionator Buy Report</h1><br/>"
|
||||||
.."<h1>Status:"..(completed and "Completed" or "Aborted").."</h1><br/>"
|
.."<h1>Status: "..(completed and "Completed" or "Aborted").."</h1><br/>"
|
||||||
.."<p>"
|
.."<p>"
|
||||||
..string.format("%i out of the %i ordered auctions have been purchased", purchasedCount, orderedCount)
|
..string.format("%i out of the %i ordered auctions have been purchased", purchasedCount, orderedCount)
|
||||||
.."</p>"
|
.."</p>"
|
||||||
.."</body></html>")
|
.."</body></html>")
|
||||||
|
|
||||||
AuctionatorBuyReportHTML:SetSpacing(3)
|
AuctionatorBuyReportHTML:SetSpacing(3)
|
||||||
|
|
||||||
AuctionatorBuyAuthorText:SetText("Author: "..AuctionatorAuthor)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -236,7 +236,7 @@
|
|||||||
</Frame>
|
</Frame>
|
||||||
|
|
||||||
<Frame name="AuctionatorBuyReport" frameStrata="FULLSCREEN_DIALOG" toplevel="true" parent="UIParent" enableMouse="true" hidden="true">
|
<Frame name="AuctionatorBuyReport" frameStrata="FULLSCREEN_DIALOG" toplevel="true" parent="UIParent" enableMouse="true" hidden="true">
|
||||||
<Size><AbsDimension x="300" y="300" /></Size>
|
<Size><AbsDimension x="400" y="180" /></Size>
|
||||||
<Anchors><Anchor point="TOP"><Offset><AbsDimension x="0" y="-90"/></Offset></Anchor></Anchors>
|
<Anchors><Anchor point="TOP"><Offset><AbsDimension x="0" y="-90"/></Offset></Anchor></Anchors>
|
||||||
|
|
||||||
<Backdrop bgFile="Interface\CharacterFrame\UI-Party-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
|
<Backdrop bgFile="Interface\CharacterFrame\UI-Party-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
|
||||||
@@ -245,20 +245,7 @@
|
|||||||
<EdgeSize><AbsValue val="32"/></EdgeSize>
|
<EdgeSize><AbsValue val="32"/></EdgeSize>
|
||||||
</Backdrop>
|
</Backdrop>
|
||||||
|
|
||||||
<Layers>
|
|
||||||
<Layer level="BACKGROUND">
|
|
||||||
<FontString name="AuctionatorBuyAuthorText" inherits="GameFontDisableSmall" justifyH="LEFT" justifyV="TOP">
|
|
||||||
<Anchors>
|
|
||||||
<Anchor point="BOTTOMLEFT">
|
|
||||||
<Offset><AbsDimension x="30" y="20"/></Offset>
|
|
||||||
</Anchor>
|
|
||||||
</Anchors>
|
|
||||||
</FontString>
|
|
||||||
</Layer>
|
|
||||||
</Layers>
|
|
||||||
|
|
||||||
<Frames>
|
<Frames>
|
||||||
|
|
||||||
<SimpleHTML name="AuctionatorBuyReportHTML">
|
<SimpleHTML name="AuctionatorBuyReportHTML">
|
||||||
<Size><AbsDimension x="420" y="420" /></Size>
|
<Size><AbsDimension x="420" y="420" /></Size>
|
||||||
<Anchors>
|
<Anchors>
|
||||||
@@ -277,7 +264,6 @@
|
|||||||
</OnClick>
|
</OnClick>
|
||||||
</Scripts>
|
</Scripts>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
</Frames>
|
</Frames>
|
||||||
</Frame>
|
</Frame>
|
||||||
</Ui>
|
</Ui>
|
||||||
Reference in New Issue
Block a user