GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(TOKEN_BUYOUT_PRICE_UPDATES, nil, nil, nil, nil, true); GameTooltip:Show(); function BrowseWowTokenResults_Update() BrowseWowTokenResults:Show(); FauxScrollFrame_Update(BrowseScrollFrame, 0, NUM_BROWSE_TO_DISPLAY, AUCTIONS_BUTTON_HEIGHT); local marketPrice; if (WowToken_IsWowTokenAuctionDialogShown()) then marketPrice = C_WowTokenPublic.GetGuaranteedPrice(); else marketPrice = C_WowTokenPublic.GetCurrentMarketPrice(); end BrowseWowTokenResults:Show(); local itemName, _, itemQuality, _, _, _, _, _, _, itemTexture = GetItemInfo(WOW_TOKEN_ITEM_ID); if itemName then BrowseWowTokenResults.Token.Icon:SetTexture(itemTexture) BrowseWowTokenResults.Token.Name:SetText(itemName); BrowseWowTokenResults.Token.Name:SetTextColor(ITEM_QUALITY_COLORS[itemQuality].r, ITEM_QUALITY_COLORS[itemQuality].g, ITEM_QUALITY_COLORS[itemQuality].b); BrowseWowTokenResults.BuyoutPrice:SetText(GetMoneyString(marketPrice, true)); if (GetMoney() < marketPrice) then BrowseWowTokenResults.Buyout:SetEnabled(false); else BrowseWowTokenResults.Buyout:SetEnabled(true); end end end